text:
Detect clock skew vs the master or some other central source

The master depends on itself having a similar view of time as the Nodes, and the controller manager will not properly roll out deployments if the node and master clocks are skewed.  We should figure out a way of detecting this condition.

Ref https://github.com/kubernetes/kubernetes/issues/29229

The clock skew issue should have been handled in https://github.com/kubernetes/kubernetes/issues/6159.
It is really hard for the node problem detector to detect the clock skew. It has to do similar thing with what ntpd does. :)

authors: Random-Liu janetkuo pwittrock

repo: kubernetes/node-problem-detector


text:
update go version in go.mod

Update go version from 1.22.3 to 1.22.

/close

source: gharchive/pull-request

license_type: permissive

license_source: github-api


text:
Is this outdated?

I can't for the life of me get this working. I can't even get it to build. So I assume I need godep since I see a Godep directory. (also tried using dep ensure)
I've cloned sample-controller. I change to the sample-controller directory. My GOPATH=/path/to/sample-controller.
`
$pwd
/devel/kubernetes/sample-controller
$go version
go version go1.11.5 darwin/amd64
$godep version
godep v80 (darwin/amd64/go1.11.5)
/devel/kubernetes/sample-controller $godep get
godep: [WARNING]: godep should only be used inside a valid go package directory and .
godep: [WARNING]: may not function correctly. You are probably outside of your $GOPATH.
godep: [WARNING]:	Current Directory: /devel/kubernetes/sample-controller .
godep: [WARNING]:	$GOPATH: /devel/kubernetes/sample-controller .
godep: Unable to find SrcRoot for package .
$echo $GOPATH
/devel/kubernetes/sample-controller
`
What am I doing wrong here. Sorry new to go and its tools.

https://github.com/tools/godep is not https://github.com/golang/dep
They are different tools so maybe try dep instead and try to no use gomodules?

Use "go get k8s.io/sample-controller"

This is not outdated, it works even with the instructions on master. :)
Instructions on using this with go modules can be found here: https://github.com/kubernetes/kubernetes/pull/79081

source: gharchive/issue

authors: codesnk gugahoi nikhita rhugga

repo: kubernetes/sample-controller

license_source: bigquery


text:
Update ci dependencies

Remove golang 1.18 and add golang 1.20
Bump golangci-lint to 1.51.2
/kind cleanup
NONE

/assign @thockin @dims

/approve
/lgtm

@dims fixed now, was the gofmt change on comments,

authors: aojea dims

repo: kubernetes/utils


text:
Translate tutorials/clusters/apparmor in Korean

This is a...

[X] Feature Request
[ ] Bug Report

Problem:
No tutorials/clusters/apparmor.md in Korean
Proposed Solution:
Translate tutorials/clusters/apparmor.md in Korean
Page to Update:
https://kubernetes.io/ko/docs/tutorials/clusters/apparmor/

/language ko

/remove-lifecycle stale

/close

authors: gochist yoonian

repo: kubernetes/website


text:
remove "extra indent" es lang page

This is a Bug Report
Problem:

Proposed Solution:
remove 1-e br like en version
Page to Update:
https://kubernetes.io/es/#video
/language es
/assign
/area web-development

/close


text:
[zh] Will localize blog/_posts/2023-03-01-introducing-kwok/index.md

I would like to localize this kwok blog into zh-cn. To avoid any conflict, this issue is opened.
/assign
/language zh

/triage accepted

authors: mengjiao-liu windsonsea


text:
Link to kubernetes api reference 1.28 does not work

In new (k8s 1.28 updated) API Overview documentation page: the link Kubernetes API reference given in the third paragraph does not work.
(the bug is really about that link not working; the URL looks ok but it is some days I am getting a 404)

In new (k8s 1.28 updated) API Overview documentation page: the link Kubernetes API reference given in the third paragraph does not work.
(the bug is really about that link not working; the URL looks ok but it is some days I am getting a 404)

#42588

The link to "NetworkPolicy" on https://kubernetes.io/docs/concepts/services-networking/network-policies/ suffers the same fate.

authors: ADITYADAS1999 antaloala werdnum


text:
Debugging DNS Resolution - "Are DNS endpoints exposed?" section uses kube-dns as example instead of coredns

The documentation in that section (https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/#are-dns-endpoints-exposed) tells the user to query for core-dns
kubectl get endpoints kube-dns --namespace=kube-system

But currenty, it appears that the endpoint name is coredns.
$ kubectl get endpoints  --namespace=kube-system

Has output
NAME      ENDPOINTS                                                     AGE
coredns   10.233.71.21:53,10.233.75.15:53,10.233.71.21:53 + 3 more...   17d

Hmm, this may vary. How did you deploy your cluster? On a basic kind deployment, it does still use the kube-dns name:
$ k get endpoints -A
NAMESPACE     NAME         ENDPOINTS                                               AGE
default       kubernetes   172.18.0.2:6443                                         52s
kube-system   kube-dns     10.244.0.2:53,10.244.0.4:53,10.244.0.2:53 + 3 more...   35s

/sig network

authors: Aaina26 KrappRamiro stmcginnis


text:
zh-trans: add etcd.md

zh-trans: add etcd.md

/assign @lichuqiang


text:
Updated Adform logo

Updated Adform logo on case studies page.

/approve


text:
Update the parallel-processing-expansion.md task file to bring it inl…

…ine with style guidline
This PR brings  https://kubernetes.io/docs/tasks/job/parallel-processing-expansion/ in line with the style guide (also removed extra spaces

/assign @cody-clark

Fixes one task mentioned in #12740

any help here with reviewing please ?

reduced the scope as per @zacharysarah comment made on another PR
everything else will follow in a different PR

/assign @zparnold
/unassign @cody-clark

/lgtm
/approve


text:
Added source location for kube-up.sh

https://kubernetes.io/docs/tasks/tools/install-kubectl/#verifying-kubectl-configuration
In the above section, kube-up.sh doesn't have any reference to the source file. Added the github location for this file.

/approve

Thanks @hpandeycodeit!
/lgtm
/approve

@remyleone Can you check the french content?

@raelga LGTM

/approve
(from the EN side)

authors: hpandeycodeit mkorbi raelga remyleone zparnold


text:
translate pods.md  and init-containers.md for branch release-1.16

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Remember to delete this note before submitting your pull request.
For pull requests on 1.17 Features: set Milestone to 1.17 and Base Branch to dev-1.17
For pull requests on Chinese localization, set Base Branch to release-1.16
Feel free to ask questions in #kubernetes-docs-zh
For pull requests on Korean Localization: set Base Branch to dev-1.16-ko.<latest team milestone>
If you need Help on editing and submitting pull requests, visit:
https://kubernetes.io/docs/contribute/start/#improve-existing-content.
If you need Help on choosing which branch to use, visit:
https://kubernetes.io/docs/contribute/start#choose-which-git-branch-to-use.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

/assign @dchen1107

/assign markthink

/assign @lichuqiang

/lgtm
/approve

authors: lichuqiang liufangwai


text:
Fix possible typo logs files -> log files

I think the correct sentence is :
The current backend implementations include logging of files and webhooks.
and not
The current backend implementations include logs files and webhooks.
But I might be wrong / interpreting it incorrectly.

/check-cla

@aneesh-joshi Any issue while signing the CLA?

@aneesh-joshi I'm going to close this PR for now, feel free to open once you get the email situation / CLA resolved.
https://git.k8s.io/community/CLA.md#the-contributor-license-agreement
Let me know if you have any questions!
/close

authors: RA489 aneesh-joshi jimangel savitharaghunathan


text:
Remove duplicate bracket

Removes a duplicate bracket.

I'm not willing to disclose my full personal details in order to sign the CLA. So feel free to close this PR or add the change yourself.

Hi @jaylinski Thanks for letting me know. Per your request I will close the PR

/assign

authors: bradtopol jaylinski


text:
Update zh trans falco.md

Update zh trans falco.md

/hold
I'm not sure we want to keep  this.
Will propose a removal of the related content and seek comments from the community.

See: #22313

Since we have removed the English content, we should actively close this PR. Thanks @jiazxjason and sorry about not merging this.

/close

The better idea for future translation might be raising an issue first and tag tengqm for review before the actual translation work. :)

authors: chenrui333 jiazxjason tengqm


text:
Remove CI/CD Pipeline section in content/it/docs/tutorials/_index.md

Part of #23167 for IT

/kind cleanup

/assign @fabriziopandini


text:
Translate reference/glossary/persistent-volume.md in Korean

from #25339

@santachopa 기여 감사합니다! :)
1.20 release day is coming up in a few days: Tue December 8th (Exact time is still being discussed, my best guess would be early morning PST)

현재 1.20의 릴리스 작업에 따라서, k/website PR은 모두 프리즈되어 있습니다.
1.20의 릴리스까지 한글화 작업도 잠시 프리즈하였습니다.
dev-1.20-ko.1 은 1.20의 릴리스 이후에 생성 및 공지하도록 하겠습니다!
해당 PR은 dev-1.20-ko.1 생성 후, 리뷰를 진행하겠습니다. 감사합니다!!

@santachopa 기여 감사합니다! :)
1.20 release day is coming up in a few days: Tue December 8th (Exact time is still being discussed, my best guess would be early morning PST)

현재 1.20의 릴리스 작업에 따라서, k/website PR은 모두 프리즈되어 있습니다.
1.20의 릴리스까지 한글화 작업도 잠시 프리즈하였습니다.
dev-1.20-ko.1 은 1.20의 릴리스 이후에 생성 및 공지하도록 하겠습니다!
해당 PR은 dev-1.20-ko.1 생성 후, 리뷰를 진행하겠습니다. 감사합니다!!

안녕하세요. 제가 릴리즈 일정을 확인하지 않았었네요. 알려주셔서 감사합니다!

@santachopa 기여 감사합니다! :)
1.20 release day is coming up in a few days: Tue December 8th (Exact time is still being discussed, my best guess would be early morning PST)

현재 1.20의 릴리스 작업에 따라서, k/website PR은 모두 프리즈되어 있습니다.
1.20의 릴리스까지 한글화 작업도 잠시 프리즈하였습니다.
dev-1.20-ko.1 은 1.20의 릴리스 이후에 생성 및 공지하도록 하겠습니다!
해당 PR은 dev-1.20-ko.1 생성 후, 리뷰를 진행하겠습니다. 감사합니다!!

그러고보니 브랜치도 바꿔야겠네요. 신규 브랜치가 만들어지면 PR을 새롭게 진행 하는게 좋겠죠?

@santachopa dev-1.20-ko.1 브랜치가 생성되었습니다.. ^^
https://github.com/kubernetes/website/issues/25520
리베이스를 위해서 PR을 다시 오픈할 필요는 없습니다.. ^^
문제가 발생하는 경우에만 편의를 위해서 PR을 다시 오픈하는 것으로 가이드하고 있습니다.
--
로컬의 해당 작업 브랜치에서 우선 Rebase를 dev-1.20-ko.1 브랜치로 수행하시고,
해당 한글화 문서의 영어 원문 문서에 변경이 있는지 확인을 하고, 원문이 변경된 경우에는 그에 따라 한글화를 추가로 진행합니다.
작업 및 커밋 후, 신규 커밋을 푸시하시고,
마지막으로 GitHub PR 상에서 (target) base 브랜치를 dev-1.19-ko.6 를 dev-1.20-ko.1  로 변경해주시면 되겠습니다.
(PR의 Title 옆에 Edit 버튼 누르면 나오는 메뉴)

/assign

@santachopa 안녕하세요. 브랜치를 변경해주시면 리뷰를 시작하겠습니다.
/milestone dev-1.20-ko.1

@santachopa dev-1.20-ko.1 브랜치가 생성되었습니다.. ^^
#25520
리베이스를 위해서 PR을 다시 오픈할 필요는 없습니다.. ^^
문제가 발생하는 경우에만 편의를 위해서 PR을 다시 오픈하는 것으로 가이드하고 있습니다.
--
로컬의 해당 작업 브랜치에서 우선 Rebase를 dev-1.20-ko.1 브랜치로 수행하시고,
해당 한글화 문서의 영어 원문 문서에 변경이 있는지 확인을 하고, 원문이 변경된 경우에는 그에 따라 한글화를 추가로 진행합니다.
작업 및 커밋 후, 신규 커밋을 푸시하시고,
마지막으로 GitHub PR 상에서 (target) base 브랜치를 dev-1.19-ko.6 를 dev-1.20-ko.1 로 변경해주시면 되겠습니다.
(PR의 Title 옆에 Edit 버튼 누르면 나오는 메뉴)

안녕하세요 알려주셔서 감사합니다
Git rebase 명령어에 익숙하지 않아서 편한 방법으로 하려고 했었어요^^;
알려주신 방법으로 시도 해보고 혹시나 막히게 되면 도움을 부탁드려보겠습니다
감사합니다

안녕하세요. Rebase후 dev-1.20-ko.1 branch로 PR을 변경했습니다.
처음해본 명령어라서 혹시 실수 하지는 않았나 걱정스럽네요.
추가 작업이 필요한 경우 말씀 해주시면 얼른 처리하도록 하겠습니다.
감사합니다.

@yoonian 님, 리뷰를 부탁드립니다. 급하게 부탁드려 죄송합니다.
/unassign
/assign @yoonian

@santachopa 자연스럽게 수정해보았습니다.

안녕하세요. 소중한 리뷰 의견 감사드립니다. 한건 한건 꼼꼼히 읽어보고 반영하도록 하겠습니다.

@yoonian 안녕하세요. 주신 의견을 반영 하였습니다. 짧은 문서에서도 문장 하나 번역하기가 이렇게 힘드네요. 도움 주셔서 다시 한번 감사드립니다.

/lgtm

/approve

authors: gochist santachopa seokho-son yoonian


text:
[en]Fix layout of  custom-resource-definition-versioning.md

In the localization of Chinese documents, I found the problem of the level of English documents.
content/en/docs/tasks/debug/debug-application/determine-reason-pod-failure.md

/approve
@yanrongshi This fix is good, but you have to resolve the conflicts.

The preview looks bad for your information: https://deploy-preview-36606--kubernetes-io-main-staging.netlify.app/docs/tasks/debug/debug-application/determine-reason-pod-failure/

@yanrongshi This PR has some rebase issues to be resolved.
/approve cancel

authors: tengqm windsonsea yanrongshi


text:
[en] fix misplaced quotation mark in multi-tenancy page

Fixes a misplaced and miss-formatted quotation mark in the multi-tenancy page.
Reference: https://kubernetes.io/docs/concepts/security/multi-tenancy/#multiple-customers

@onlydole Thank you for explaining this interesting English feature. TIL. Follow up question: is the type of quotation mark also correct (I changed ” to ")?

Howdy, @oscr - happy to help!
For the quote styling, my preference would be the " version and to have matching quote styles, so that would be worth changing.

Thank you, @oscr!
/lgtm

authors: onlydole oscr


text:
[zh] sync source-ip.md

Localize a svg
Add some blank lines between code and para

content/zh-cn/docs/tutorials/services/source-ip.md

See preview please.

/lgtm
/approve

authors: tengqm windsonsea


text:
Update encryption-at-rest task page

These changes are split out from PR #33285

List available API encryption providers

The heading makes it clear you have a choice as a cluster operator about which to use
Provide better context about which to pick

Promote creating the encryption configuration file to have its own page heading (and section)

/lgtm

/approve

authors: reylejano sftim tengqm


text:
Issue 43256 - Changes to consolidate and streamline Kubernetes basics tutorials to avoid redundancy and confusion

This PR tries to fix https://github.com/kubernetes/website/issues/43256
Made the following changes:

On the page Using Minikube to Create a Cluster removed the link to Using kubectl to Create a Deployment.
This is done as the Hello Minikube page already refers to Using kubectl to Create a Deployment.

On the Hello Minikube page, added a note to highlight that only the minikube installation step from minikube start should be carried out before returning to the steps on this page.

Added a short Conclusion to make it clear to the readers that the Hello Minikube page describes just the basic aspects of the minikube local setup, and now they are in a great position to continue with the rest of the topics.

Suggestions and feedback are welcome.
Best Regards,
Aditya

/retest

@adityasamant25 We do occasionally see Netlify build failures due to timeouts. Could you try to trigger the build again by pushing an empty commit using git commit --amend --no-edit && git push --force-with-lease

/retitle Improve user guidance in Kubernetes basics tutorials

@dipesh-rawat Pushing an empty commit helped pass the build. Thanks for the tip.

Once this PR has been reviewed and has the lgtm label, please assign nate-double-u for approval.

As mentioned above, assigning nate-double-u for approval.
/assign nate-double-u

@nate-double-u Could you take a look for approval please?


text:
kubeadm: add note in the PublicKeysECDSA feature gate

Add note about that in the PublicKeysECDSA section of the kubeadm init doc.
xref https://github.com/kubernetes/website/issues/46799

/triage duplicate
Duplicate PR of #46855

@SequoiaGod,
It seems you opened 2 PRs( #46855 and #46856 ) with addressing same changes of issue #46799
Just FYI, one PR is enough to address an issue, no need multiple PR to propose the same changes.

@SequoiaGod, It seems you opened 2 PRs( #46855 and #46856 ) with addressing same changes of issue #46799 Just FYI, one PR is enough to address an issue, no need multiple PR to propose the same changes.

Hi @T-Lakshmi,
In the description of https://github.com/kubernetes/website/issues/46799 issue, it seems like I need to create a PR for each dev.26 to dev.29 branch.

@SequoiaGod,
My bad, i just differentiated the branch.
Thanks.
/remove-triage duplicate

My bad, i just now differentiated the branch.
Thanks.

That's not a problem at all. Thank you for your reviewing.

authors: SequoiaGod T-Lakshmi


text:
[zh] Sync cluster-administration/system-metrics.md

Update zh text:
content/zh-cn/docs/concepts/cluster-administration/system-metrics.md

/approve

/lgtm

authors: asa3311 tengqm windsonsea


text:
fix double bullet styling

fix double bullet styling.
There is sass code, but I seemed to edit the CSS directly from that moment, so I edited the CSS directly.

sample preview
corresponding original page

/assign @zacharysarah

/unassign
/assign @steveperry-53

/hold
@cstoku Thank for your pull request. We don't wan to accept this, because we have chosen a different approach to fixing the double bullet problem in page TOCs. See #9149. The fix involves putting topics into the proper templates. We done all the topic under Tasks, Tutorials, and Concepts, but we haven't yet done the topics under Setup.

/cc @mistyhacks

Thanks, @cstoku and @steveperry-53. Closing this PR.

authors: cstoku steveperry-53 zacharysarah


text:
Intranet k8s

My K8S is an intranet. I tried to download the Docker image required by Kubeshark in advance, and then run Kubeshark. But I found in the log that it still pulls the image from the network. Is there a solution?

Looking at the source code you can find some references to the helm chart, so I guess the following should work for the backend:
helm repo add mizu https://static.up9.com/mizu/helm
helm show values mizu/up9mizu
helm template mizu/up9mizu --set container.baseRepo=toto.com

For the hub, I am not able to find how to change the image pulled by the kubeshark tap command.
Displaying the default config with kubeshark config did not help.
Maybe installing the backend via the helm chart, and the then editing the hub pod yaml will do the trick.
Too bad this is not documented, the project looks awesome.

@jbertozzi can you read this thread and see if this is a duplicate: https://github.com/kubeshark/kubeshark/issues/1256
Thanks!

Starting V38+, please take a look here: https://docs.kubeshark.co/en/config#private-docker-registry
Let us know if that doesn't work.

Everything works as expected using a private registry, thank you!

authors: YueChuang alongir jbertozzi

repo: kubeshark/kubeshark


text:
Title: Connection Issues and Invalid Reference Errors in Kubeshark

Deployment on Kubespray Cluster
Description:
I am currently deploying Kubeshark in a Kubespray cluster consisting of 2 worker nodes and 1 master node, running Debian. The installation was done via Helm with the following command:
helm install kubeshark kubeshark/kubeshark -n kubeshark --create-namespace --set tap.release.namespace=kubeshark
Only the necessary ports have been opened, and no special configurations have been made. Despite this, I am encountering issues related to connection refused errors and invalid references.
Here are some sample log messages illustrating these issues:
Set targeted pods request: error="Post "http://127.0.0.1:8897/pods/set-targeted\": dial tcp 127.0.0.1:8897: connect: connection refused"
error="Put "http://127.0.0.1:8897/scripts/env\": dial tcp 127.0.0.1:8897: connect: connection refused"
error="invalid reference "kubeshark/worker:docker.io/kubeshark/worker:latest""
Environment:
Kubernetes cluster set up using Kubespray
2 worker nodes, 1 master node
Debian OS
Kubeshark installed via Helm
No special configurations have been applied
Steps Taken to Resolve:
I have tried looking into these errors but I'm currently unable to determine their cause or how to solve them. The ports required for Kubeshark have been opened and the Helm installation command appears to be correct based on the documentation.
Request:
I would greatly appreciate any insights or advice on how to address these issues. Could you please guide me on how I can resolve these connection and invalid reference errors and get Kubeshark running properly on my cluster?
Thank you for your time.
here are screenshots from the logs:
Hub:

worker:

frontend:

the frontend looks like:

@modigithub your browser (front-end) is unable to connect to Hub probably because it's inaccessible.
Create two port-forwards:
kubectl port-forward service/kubeshark-hub 8898:80 & \
kubectl port-forward service/kubeshark-front 8899:80 &

then open the UI:
xdg-open http://localhost:8899  # Linux
open http://localhost:8899      # macOS

Alternatively use the proxy command:
kubeshark proxy

Thank you once again for your support, @mertyildiran.
I wanted to provide some more context about my cluster configuration. I am currently initiating Kubeshark via the command line interface, which retrieves information through kube-proxy. I've adjusted the config in .kubeshark and changed the namespace to kubeshark.
My setup consists of 3 servers and due to their configuration, I cannot access them via localhost. I can only access them through serverIP:port. I'm not sure how to approach the situation under this constraint. Here are the service:

Its only a test-server and will be removed afert i understand the problem.
From this point i can open the page:

Here is the port-forward for testing:

and here is the log:

you can see the pods are running:

Moreover, I'd like to mention that the script you suggested (xdg-open http://localhost:8899) seems to not work in my environment because it's a console-only environment. Here is the error I received when trying to run it:
css
Copy code
root@SrvModiVersionControl:~# xdg-open http://localhost:8899
/usr/bin/xdg-open: 882: www-browser: not found
/usr/bin/xdg-open: 882: links2: not found
/usr/bin/xdg-open: 882: elinks: not found
/usr/bin/xdg-open: 882: links: not found
/usr/bin/xdg-open: 882: lynx: not found
/usr/bin/xdg-open: 882: w3m: not found
xdg-open: no method available for opening 'http://localhost:8899'
Given this, I am hoping for further guidance. How should I adjust my approach under these conditions?
Thank you very much for your ongoing help and patience. I'm looking forward to your response.

i have exactly same issue, k8s deployed via kubeadm on centos stream, and kubeshark deployed via helm.
Only after running "kubectl port-forward" command it start to work, without it - nothing appears.
How to make this solution more permanent rather running it each time?

Dear @mertyildiran,
Firstly, I appreciate the quick response and guidance that you have provided so far. Despite the efforts, I'm still facing some issues that I believe require further clarification.
One of the issues that remain unresolved is related to the docker errors I'm experiencing. Specifically, I keep encountering an error stating "invalid reference 'kubeshark/worker:docker.io/kubeshark/worker:latest'". Would you be able to provide any insights on why this error is happening and how to mitigate it?
Additionally, the port 8897 seems to be causing some trouble. As you may see in the logs I have provided, there are several connection refused errors associated with this port. This happens despite the fact that the services associated with ports 8898 and 8899 have been successfully established as ClusterIPs and are publicly accessible. I'm not sure why the setup for port 8897 should be any different or more problematic. Any advice or guidance on this matter would be greatly appreciated.

here are my kubeshark services:

Again, I want to express my gratitude for your assistance and patience in helping me navigate through these issues. I hope that with your expertise, I will be able to successfully deploy Kubeshark in my Kubespray cluster.
Thank you and looking forward to your response.
Best regards,
Christoph Höhensteiger

Dear @mertyildiran,
Firstly, I appreciate the quick response and guidance that you have provided so far. Despite the efforts, I'm still facing some issues that I believe require further clarification.
One of the issues that remain unresolved is related to the docker errors I'm experiencing. Specifically, I keep encountering an error stating "invalid reference 'kubeshark/worker:docker.io/kubeshark/worker:latest'". Would you be able to provide any insights on why this error is happening and how to mitigate it?
Additionally, the port 8897 seems to be causing some trouble. As you may see in the logs I have provided, there are several connection refused errors associated with this port. This happens despite the fact that the services associated with ports 8898 and 8899 have been successfully established as ClusterIPs and are publicly accessible. I'm not sure why the setup for port 8897 should be any different or more problematic. Any advice or guidance on this matter would be greatly appreciated.
here are my kubeshark services:
Again, I want to express my gratitude for your assistance and patience in helping me navigate through these issues. I hope that with your expertise, I will be able to successfully deploy Kubeshark in my Kubespray cluster.
Thank you and looking forward to your response.
Best regards, Christoph Höhensteiger

The errors about failed HTTP requests there related to a temporary state. The default worker address is 127.0.0.1:8897 which is not the fact inside a Kubernetes cluster. The Hub asynchronously detects the Kubeshark workers that are deployed into the cluster and adds them to a list which represents the state.
The Hub rejects connecting to the workers that are unauthentic meaning that the worker images comes from a source other than docker.io/kubeshark/worker:latest. It does that by checking against the Image ID / digest of the worker container. At this moment the digest has to be 755997cf15082314a770491143f444cecc3f6c3e26331448a0d5284530da0df1. The errors starting with invalid reference are related to this check. Did you alter the field tap.docker.registry in the config? Are you trying to work with a custom build image or are the images mirrored and digest is altered somehow?

The check explained above is a security measure against in cluster spoofing.

Could you please share the network tab of your browser? Such that I can see what requests to the Hub returned what HTTP status codes?

Dear Mr. Mertyildiran,
Firstly, I would like to express my deep gratitude for your continuous support and instructive directions. Your guidance has been greatly beneficial for me in understanding and tackling the complexities of the project at hand.
To help you understand the situation better, I have reset everything and reproduced the steps.
Firstly, I input the command kubeshark config -r, then adjusted the file so that the namespace runs on Kubeshark.

Secondly, I executed kubeshark tab -n modi. These are the only steps I have performed.

I am also curious to know whether the two services that I have created on port 8899 and 8898 are necessary or not. I eagerly await your expert advice on this matter.

To give you an overview, two errors appear on the browser's network. Here are the details of these errors:
Request URL: http://159.69.35.83:8898/pods/targeted?refresh-token=
Referrer Policy: strict-origin-when-cross-origin
Authorization:
Referrer: http://159.69.35.83:31007/
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Request URL: https://api.descope.com/v1/auth/refresh

Request method: POST
Status code: 400
Remote Address: 104.18.26.223:443
Referer: http://159.69.35.83:31007/

I hope that these details will provide you with a clear picture of the situation. I am confident that with your support, we can resolve this problem swiftly.
Thank you once again for your invaluable support.
Best regards,

@modigithub what is the IP 159.69.35.83? I guess the IP of the VPS that you're running the Kubeshark CLI. In that case use kubeshark tap --proxy-host 0.0.0.0 so both front-end and hub can be served to public, or;
I think 159.69.35.83:31007 is a result of you port-forwarding front-end. In that case, do the same thing for the kubeshark-hub service to like 159.69.35.83:31006 and set the tap.proxy.hub.port to 31006.
You shouldn't need to create any new services other than the services created by the Kubeshark CLI.

@modigithub what is the IP 159.69.35.83? I guess the IP of the VPS that you're running the Kubeshark CLI. In that case use kubeshark tap --proxy-host 0.0.0.0 so both front-end and hub can be served to public, or;
I think 159.69.35.83:31007 is a result of you port-forwarding front-end. In that case, do the same thing for the kubeshark-hub service to like 159.69.35.83:31006 and set the tap.proxy.hub.port to 31006.
You shouldn't need to create any new services other than the services created by the Kubeshark CLI.

authors: leonchik1976 mertyildiran modigithub


text:
New Validation tab

We will replace the current Validation panel with the new design from the image.
This panel should show all errors (OPA, schema validation) per file.

I think this panel will be more useful if it allows us to actually edit the files/resources in order to fix the errors.
What happens when you have an error selected and you just fixed it?

Trying to find the way to show validation levels

Pending on some refactoring being done before

@WitoDelnat @DzoQiEuoi We are building this in the core packet. We have an ETA of end of week, so we will be able to integrate it in the Cloud next week

Still missing the editor on the right

@WitoDelnat @DzoQiEuoi the PR has been merged in desktop

authors: chargio devcatalin

repo: kubeshop/monokle

license: MIT


text:
Add registry option to the Bootable Volume create form

📝 Description
DOC: https://docs.google.com/document/d/1oETHC4UpRnEGFEdiezUxMLzpQagWXOYz0DBYro-XHB0/edit
Merge bootable volume  and DS modals

add the registry DS option

The automatic update checkbox that is in the design needs to be addressed a little bit more, but if necessary can be added afterward
🎥 Demo
Before

After

/lgtm

authors: metalice upalatucci

repo: kubevirt-ui/kubevirt-plugin


text:
CNV-37111: Adjust Bootable volumes list columns

📝 Description
Fixes:
https://issues.redhat.com/browse/CNV-37111
Adjust Bootable volumes list columns sizes to look better, more balanced, prevent Name column to take too much space, display Namespace column as expected (available only for All Projects project/namespace).
Note:
This PR/commit is just a partial fix for the provided jira bug. We still need to figure out how to make saving the settings from Manage columns for the specific user work as expected.
🎥 Demo
Before:
https://github.com/kubevirt-ui/kubevirt-plugin/assets/13417815/9227b7e1-816d-46c8-91e9-b8d8a4f5f953
After:
https://github.com/kubevirt-ui/kubevirt-plugin/assets/13417815/9da39a6a-b381-4365-9767-fcd5ebc99895

@avivtur @metalice @pcbailey @upalatucci @vojtechszocs please review

/lgtm

authors: hstastna pcbailey


text:
feat(CNV-40411): set default instancetype and preference labels

What this PR does / why we need it:
During execution of the disk-uploader, it should
be able to get the default-instancetype and
default-preference labels from the DV or PVC,
and set them in the newly created containerDisk
metadata afterwards.
Release note:

Set instancetype and preference on a newly created containerDisk before uploading it

/cc @ksimon1 @lyarwood

@ksimon1 @0xFelix @lyarwood Can you please review again? :)

@0xFelix This revision will apply key:value that you requested in your latest review. Can you please take a look?

I need to test this PR changes, and add unit tests after it. I'll mark it as draft at the moment.

This revision is a rebase to have unit tests in this PR.

This revision is have unit tests to test the GetLabelsFromExportSource() function from vmexport.go.

/retest

@0xFelix Resolved your last review in this revision.

/retest

/retest

/override ci/prow/win11-pipeline-example-test

/override ci/prow/win2k22-pipeline-example-test

failing tests are not related to this change.

/lgtm

repo: kubevirt/kubevirt-tekton-tasks


text:
Update cdi, kv

What this PR does / why we need it:
Update CDI and KV
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/test pull-kvp-functional-test

https://storage.googleapis.com/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt-velero-plugin/45/pull-kvp-functional-test/1504024106427748352/artifacts/pods/1_kvp-e2e-tests-8w67d_importer-test-dv-importer.log
sounds like https://github.com/kubevirt/containerized-data-importer/issues/2160

Yes, but this time is happens third time in a row in the same test.

Yes, but this time is happens third time in a row in the same test.

Think its related to CDI bump? maybe try bump to something more stable like 1.43.z?

Yes, but this time is happens third time in a row in the same test.

Think its related to CDI bump? maybe try bump to something more stable like 1.43.z?

I'll try 1.40 again

authors: akalenyu brybacki

repo: kubevirt/kubevirt-velero-plugin


text:
Support passing Multus network information to VM on creation

FEATURE REQUEST:
/kind enhancement
What happened:
Creation of a VM with multiple networks and static IP configuration is difficult (i.e. images that do not have DHCP). This use case is really running old VMs images that assume static configuration and yet must run in a DHCP only environment. The flow is as follows.

VMI is defined and pod scheduled.

NPWG compliant CNI plugin (e.g. multus) creates network interfaces and annotates pods with the IP address of the interfaces.

KubeVirt containers start and create VM.

VM initialises. At this point, it is necessary to access the VM and configure the static IP addresses that multus has assigned.

Note that the required network configuration might be more expansive than just IP address. For example, multus allows the creation of L2 devices, and it might be necessary to pass any or all of the annotation fields to the VM for it to use.
What you expected to happen:
Ideally the solution would be that cloud init is able to configure the static IP addresses. However, cloud init is defined in the VMI spec before the IP addresses are known. Possible ways of implementing the solution might be the following.

Support the Downward API, and allow the compute container to either mount the downwards API volume into the VM or pass contents as environment variables through cloud init. This feels like a relatively simple model.

Support having an init container that could use the Downward API to obtain the IP configuration and pass the information to the VM through a shared volume. This is plausible, but feels like it has more layers than the model above.

/reopen

/reopen
/cc @phoracek FYI

authors: plwhite poojaghumre xpivarc

repo: kubevirt/kubevirt


text:
KubeVirt Policies for API Priority and Fairness

/kind enhancement
This issue is to investigate whether it makes sense for KubeVirt to have it's own policies for API priority and fairness (APF).
https://kubernetes.io/docs/concepts/cluster-administration/flow-control/
API priority and fairness (APF) feature was introduced as alpha in kubernetes 1.18 and it’s beta in 1.20.  The API priority and fairness is used to protect the API server from being overwhelmed by a misbehaving service as well as to protect users, API calls, or controllers from each other.
APF comes with two APIs:

FlowControl - Defines what will be regulated by a PriorityLevelConfiguration
PriorityLevelConfiguration - Defines the number of outstanding requests, and limitations on the number of queued requests for a FlowControl.

Use cases for KubeVirt with APF:

Give KubeVirt's control plane traffic it's own priority queues, so it's only competing for api server attention with itself and not with non-control place traffic
To prevent KubeVirt controllers from harming each other

/remove-lifecycle rotten

/remove-lifecycle stale

Still experimenting on the right default policy.   So far I've seen some good results, but haven't had a chance to publish them yet.

I have some policies we've been testing internally in production that I'll raise at this week's SIG-scale

/remove-lifecycle rotten

/remove-lifecycle stale


text:
Take into account namespace memory limits when starting a Virtual Machine

What this PR does / why we need it:
This patch simply copies the relevant default namespace memory limits value to the Virtual Machine spec, if it hasn't been provided by the user.
This value is also being taken into account during the VM memory overhead calculation.
This is particularly useful for the users to see this value on the VM spec, when namespace defaults prevent the VM from starting.
Which issue(s) this PR fixes :
Fixes #970
Special notes for your reviewer:
Apparently, k8s allows setting multiple namespace defaults for the same value. Eventually, it applies the minimal value to the container.
Resource Limits
 Type       Resource  Min  Max  Default Request  Default Limit  Max Limit/Request Ratio
 ----       --------  ---  ---  ---------------  -------------  -----------------------
 Container  memory    -    -    32Mi             64Mi           -
 Container  memory    -    -    32Mi             32Mi           -
 Container  cpu       -    -    1                1              -

NONE

The latest uses a limitRanges informer and moves the handling to the presets controller.

set a VM requested memory bigger than cluster limit range and do not set a VM memory limit
I think in this case we will fail on the pod creation because a pod limit will be smaller than a pod requested memory.

Thanks!
Yea, exactly. It will fail. :)
The original issue was filed because the VM creation was failing, for above case, but the user couldn't see the reason (namespace limits applied) on the VM spec.
The user would only get a messages Invalid value: "64M": must be less than or equal to memory limit
We've  then agreed to express these limits in the VM spec too, so the user would see the applied limits.
Resources:
      Limits:
        Memory:  32Mi
      Requests:
        Memory:  64M

That's the reason why I didn't explicitly check that scenario. From my POV this PR is only about copying the limits to the VM spec and take it into account for overhead calculation ( which we previously missed).
I can probably add a functional test. Do you think it's necessary?

That's the reason why I didn't explicitly check that scenario. From my POV this PR is only about copying the limits to the VM spec and take it into account for overhead calculation ( which we previously missed).

If we want to limit this PR to just that, it is fine by me but then it fixes #970 only half. I would definitely expect that I can't even post such a VM, like I also can't post a Pod which violates that. We can solve it immediately be checking it in the validation webhook or defer it until we have #1278.

I've created a follow-up issue #1348 to completely reject the VM spec if the requested resources are higher than the namespace limits.

retest this please

authors: rmohr vladikr


text:
WIP Increase time to wait for kind clusters to be ready

Signed-off-by: Brian Carey bcarey@redhat.com
What this PR does / why we need it:
An issue appears when running some kind based lanes with podman. Using this PR for some testing.
https://github.com/kubevirt/project-infra/issues/2335
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
/cc none
Release note:

NONE

/close


text:
Improve VSOCK communication security by introducing built-in TLS connection blocks

What this PR does / why we need it:
Without additional validation, it is not possible for an agent in the guest to find out if a connection attempt comes from virt-handler, another privileged service, or from an unprivileged random user. This stems from the fact that while listening on ports <=1024 requires CAP_NET_BIND_SERVICE, connecting to port <=1024 does not require any privileges.
We pushed for example to containerd a change that any containerized workload can not do these types of connections without privileges, but a random logged in user to a node could still connect.
If an agent now provides an interface which allows for instance injecting public ssh keys, any random user could inject their keys into all VMs if they gain access to a node.
To prevent this  type of attack, the following improvments are introduced:

A virt-handler system grpc service is exposed by virt-handler on port 1.
This type of service requires CAP_NET_BIND_SERVICE, so arbitrary users can not provide this service
This system services exposes a CA method which allows clients to fetch the current kubevirt CA bundle
A tls parameter is added to the vsock-websocket  all to request a TLS encrypted connection over vsock
TLS encryption over virt-handler will be the default. If a custom encryption layer is going to be used the parameter can be set to false.
virt-handler will at least right now not attempt a server-certificate validation.

A vsock client can now:

expose a service on a port <=1024
fetch the current CA bundle from the system service on every connection attempt
and verify the certificate against that CA bundle

Given that both, client and server were as part of this authentication flow listening on a port <=1024 there is a pretty good guarantee that two services with CAP_NET_BIND_SERVICE (one from the node view, the other one from the guest OS view) are talking to each other. This makes it hard for arbitrary users to take such session over.
Finally an example guest agent is included, to demonstrate on how to implement this type of flow.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

Add basic TLS encryption support for vsock websocket connections

/cc @rthallisey
/cc @zhuchenwang

@zhuchenwang FYI, would be great if you could have a look.

/retest

@rthallisey happy if you can have another look.

Change lgtm.  Will add the label after a rebase.

/lgtm

/retest

/test  pull-kubevirt-e2e-k8s-1.24-sig-compute
unrelated flake

/check-dco
/approve

/retest

/test pull-kubevirt-e2e-k8s-1.24-sig-compute-root
failed on an unrelated flake.

authors: rmohr rthallisey


text:
[release-0.59] Set mem/cpu request and limits on hotplug attachment pod container to 1 to 1 ratio

What this PR does / why we need it:
Manual backport of #9312
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/lgtm
/approve

authors: awels mhenriks


text:
Fixing code block indents

Signed-off-by: Avital Pinnick apinnick@redhat.com

@sradco PR to fix code indents - ready for review.

repo: kubevirt/monitoring


text:
Double click needed for changing focused cells in tables

Reactabular always creates new element when value changes in the cell (React key doesn't help).
Buggy sequence:

edit row
focus text input
write value
click on different cell
onBlur sets react state
reactabular rerenders inputs and creates brand new elements and they do not get focus from the click

https://github.com/reactabular/reactabular/issues/346, probably will be fixed in reactabular 9

This could be fixed by remembering which cell is edited and capturing onClick events and using autofocus in our inputs. It is quite hacky and it would not be possible to use existing components much (like pf-react FormControl).
this approach is used in this repo: https://github.com/reactabular/react-edit/blob/master/src/input.js

/remove-lifecycle stale

repo: kubevirt/web-ui-components


text:
chore: Update go version to 1.18 at least

Is your feature request related to a problem?
As most of the Kubewarden dependent projects already on golang 1.18 and 1.19, we could probably bootstrap golang version for generator and generating objects to the 1.18 (1.19?)
Solution you'd like
Update golang to the 1.18(1.19?) and use github.com/deckarep/golang-set/v2 (refactoring with generics need to be implemented)
Alternatives you've considered
No response
Anything else?
No response

Sure, that looks good to me. Let me know if you want to work on that

Yes, working on it, but seems to we don't need to upgrade golang version for generating objects for now

authors: dmvolod flavio


text:
[2.0] Notify user when not able to fetch data from Velum API

We are regenerating Velum's certificate by adding the external
dashboard fqdn/ip to the Velum certificate. For this certificate
to be reloaded we are currently doing a docker restart on Velum
while the orchestration is being executed.
This has a bad effect on the user session as he/she is waiting
for the polling to finish. Without them noticing, the polling will
start failing as the certificate changed under them, and they need
to accept it, but ajax requests will just fail because of this.
With this patch we are notifying the user that the browser cannot
connect with Velum API and suggests he/she to try to reload the session.
Fixes bsc#1064641
(cherry picked from commit d531ee3fa4c883edee9163e9be5452dccc8bbf4c)

 Bug 1064641 - Velum polling breaks after clicking on "Bootstrap cluster"

repo: kubic-project/velum


text:
0.4.9 missing scipy import in timeseries/channel_ts.py

Windows Server 2022 Standard
Error from action runner, mth5 version 0.4.9:
natural_fields_lib\natural_fields\mt\util\mth5_helpers.py:300: in pack_runts_into_mth5
    run_group.from_runts(runts)  # FIXME: this is the slow line
C:\Users\DIASdeployment\miniforge3\envs\qamt_testing\lib\site-packages\mth5\groups\run.py:663: in from_runts
    ch = getattr(run_ts_obj, comp)
C:\Users\DIASdeployment\miniforge3\envs\qamt_testing\lib\site-packages\mth5\timeseries\run_ts.py:487: in __getattr__
    return ChannelTS(
C:\Users\DIASdeployment\miniforge3\envs\qamt_testing\lib\site-packages\mth5\timeseries\channel_ts.py:133: in __init__
    self.ts = data
C:\Users\DIASdeployment\miniforge3\envs\qamt_testing\lib\site-packages\mth5\timeseries\channel_ts.py:735: in ts
    self._update_xarray_metadata()
C:\Users\DIASdeployment\miniforge3\envs\qamt_testing\lib\site-packages\mth5\timeseries\channel_ts.py:804: in _update_xarray_metadata
    self.channel_metadata.time_period.start = self.start.iso_no_tz
C:\Users\DIASdeployment\miniforge3\envs\qamt_testing\lib\site-packages\mth5\timeseries\channel_ts.py:573: in channel_metadata
    ch_metadata.sample_rate = self.sample_rate
C:\Users\DIASdeployment\miniforge3\envs\qamt_testing\lib\site-packages\mth5\timeseries\channel_ts.py:932: in sample_rate
    self._sample_rate = self.compute_sample_rate()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <[NameError("name 'scipy' is not defined") raised in repr()] ChannelTS object at 0x2526559dab0>

    def compute_sample_rate(self):
        """
        Two cases, high_frequency (HF) data and not HF data.

        # Original comment about the HF case:
        Taking the median(diff(timestamps)) is more accurate for high sample rates, the way pandas.date_range
        rounds nanoseconds is not consistent between samples, therefore taking the median provides better results
        if the time series is long this can be inefficient so test first

        """
        if self.is_high_frequency():
            dt_array = np.diff(self.data_array.coords.indexes["time"])
>           best_dt, counts = scipy.stats.mode(dt_array)
E           NameError: name 'scipy' is not defined

C:\Users\DIASdeployment\miniforge3\envs\qamt_testing\lib\site-packages\mth5\timeseries\channel_ts.py:913: NameError

imports at top of script
# -*- coding: utf-8 -*-
"""
.. module:: timeseries
   :synopsis: Deal with MT time series

.. todo:: Check the conversion to netcdf.  There are some weird serializations of
lists and arrays that goes on, seems easiest to convert all lists to strings and then
convert them back if read in.

:copyright:
    Jared Peacock (jpeacock@usgs.gov)

:license:
    MIT
"""

# ==============================================================================
# Imports
# ==============================================================================
import inspect

import numpy as np
import pandas as pd
import xarray as xr
from loguru import logger
from scipy import signal

import mt_metadata.timeseries as metadata
from mt_metadata.timeseries.filters import ChannelResponse
from mt_metadata.utils.mttime import MTime
from mt_metadata.utils.list_dict import ListDict

from mth5.utils import fdsn_tools
from mth5.timeseries.ts_filters import RemoveInstrumentResponse
from mth5.timeseries.ts_helpers import (
    make_dt_coordinates,
    get_decimation_sample_rates,
)

from obspy.core import Trace

# =============================================================================
# make a dictionary of available metadata classes
# =============================================================================
meta_classes = dict(inspect.getmembers(metadata, inspect.isclass))

# ==============================================================================

fixed with PR #258


text:
Chapter6のスクレイピングのコードがうまく動作しませんでした

つまづいたところ

Chapter6のスクレイピングのコードがうまく動きませんでした。
以下のようにgetアクセスのprintまではできるのですが、画像のダウンロードまでには至りませんでした。

get: https://uta.pw/shodou/index.php?titles&show&title=%E6%B8%A9%E6%B3%89
...

解決した方法(?)

本家のサイトを確認して自分なりに手直ししてみたところ、想定した挙動になりましたので、ご確認いただければと思います。

修正した箇所
https://github.com/kujirahand/book-rust/blob/f5b6fbd28943e7c28e3cfdd3ed6ea48128689692/src/ch6/scraping_shodou/src/main.rs#L17-L20
変更後
    let url = format!(
        "{}/index.php?tag&show&name={}",
        shodou_url,
        urlencoding::encode(title));

ご報告と内容の修正候補をありがとうございました！！
ただ、すみません、書道のサイトに不具合があって、サイトの方がうまく動いていないようでした。
書道のサイトを修正しまして、現在、サンプルそのままでも動くようになっています。
お手数をおかけしました。
また、重ねて、ご報告ありがとうございました。

ありがとうございます。このIssueを閉じさせていただきます。
ご協力ありがとうございました。

早々のご対応ありがとうございます！

authors: kujirahand marumalo

repo: kujirahand/book-rust


text:
.geo file from MTEX2Gmsh

Hello, thanks for sharing. How do you get .geo file from MTEX2Gmsh? It seems MTEX2Gmsh is usually used to create mesh?

After you get the information of grains by the command

[grains,ebsd.grainId] = calcGrains(ebsd,'angle',5*degree);

Then you can get their geometry information and write them into .geo file by using

G=gmshGeo(grains);
savegeo(G,'grains.geo');

authors: kun-Jiang vvvvgit


text:
Data feeding into the CNN model should be normalised or not?

Hello there,
I have checked the notebook examples, such as the MNIST example. The test data set you feed into the CNN model is not normalised (it is still between o and 255). Does that mean the CNN model you loaded is trained using the not normalised data or in the library it has an implicit  normalised function? I have a model trained on the normalised data, so should I use the original test data or normalised data to feed to the normal?
Thanks
Yan

Hi @Yanjiayork, you are correct that the model that I loaded was not trained on normalized data. If you have a model trained on normalized data, you should definitely normalize the data when using your model.

Avanti

Hi Avanti,
Thank you very much. That is very helpful. I have another question is about calculating the contribution scores. I understand task_idx represents the index of the node in the output layer that we wish to compute scores. In my case, I only have one node, i.e. sigmoid. Does this mean the calculated contribution score is against whatever the output is? In other words,  the contribution score is not against class 0 or 1 specifically? If so, is it possible to know the contribution score against class 0 and against class 1 respectively without changing the output layer to 2 nodes?
Many thanks
Yan

Hi Yan,
A positive contribution to the logit of the sigmoid can be interpreted as a positive contribution to class 1 (which is equivalent to a negative contribution to class 0). Similarly, a negative contribution to the logit of the sigmoid can be interpreted as a positive contribution to class 0 (which is equivalent to a negative contribution to class 1). To see this mathematically, note the equivalence between a sigmoid and a two-class softmax:

For a sigmoid with a logit of x, the probability of class 1 is: 1/(1 + e^-x)
For a softmax where the logit for class 0 is x0 and the logit for class 1 is x1, the probability of class 1 is e^x1 / (e^x1 + e^x0)
Note that 1/(1 + e^-x) = (e^0 / (e^0 + e^-x)). Thus, a sigmoid with a logit of "x" is equivalent to a softmax where the logit for class 0 is -x and the logit for class 1 is "0".
Also note that (e^0 / (e^0 + e^-x)) = (e^x / (e^x + e^0)). Thus, a sigmoid with a logit of "x" is ALSO equivalent to a softmax where the logit for class 0 is "0" and the logit for class 1 is "x".

Does that make sense?

authors: AvantiShri Yanjiayork

repo: kundajelab/deeplift


text:
Adding Dice-Game

🎮 Game Request

It is a fun game built using tech stacks like HTML, CSS, and JavaScript.
The game uses javascript to roll the dice randomly and displays the result.

Point down the features
The game displays the results for two players. The one that wins gets the points.
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

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

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

authors: BhumicaPG kunjgit

repo: kunjgit/GameZone


text:
Whac-a-Rabit

🎮 Game Request
Game logic and basic description
Rabbit will pop up from one random hole at a time, we have to hammer on it.
Point down the features
Game points
1 point per hit of rabbit.
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

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

Hey @Ayushkumargit7! 🙂
It seems like you are not following proper guidelines !! 👀
Read documentation properly !!🙏
If you have any queries reach out to us on Discord🕹 .


text:
[New index page]:

🎮 Game Request
I would like to make index page more interactive with navbar.
Point down the features
Animated index page with navbar
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Bharatpathak08! 🙂
It seems like you are not following proper guidelines !! 👀
Read documentation properly !!🙏
If you have any queries reach out to us on Discord🕹 .

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

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

/assign


text:
Arrow strike

Issue #4052
Basic description
Arcane Archer is a captivating journey where players master the art of archery amidst mystical landscapes. With intuitive controls and magical abilities, players embark on quests, face mythical creatures, and compete in thrilling tournaments. Become a legend of the bow in Arcane Archer.

Checkpoint

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you @Nikuunj ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@kunjgit ohkk

@kunjgit

@kunjgit

@kunjgit

Please resolve merge conflicts in index old file

authors: Nikuunj ishita-43 kunjgit


text:
Final Issue resolved by arranging in proper order

PR Description 📜
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below
Fixes # <4099>

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[ ] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[ ] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[ ] I have added screenshot for website preview in assets/images
[ ] I have added entries for my game in main README.md
[ ] I have added README.md in my folder
[ ] I have added working video of the game in README.md (optional)
[ ] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @AkashKeote ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Hey @AkashKeote,
Please make sure to link the relevant issue using the appropriate syntax, such as "#issueNumber" 👀.
Follow the proper guideline and make a new PR again 😀.
Happy Hacking 💗

Thank you  @AkashKeote , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀

authors: AkashKeote kunjgit


text:
Added Hexsweep Game

PR Description 📜
Added Hexsweep Game
Fixes #4768

Mark the task you have completed ✅

[✅ ] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[✅ ] I have performed a self-review of my own code or work.
[✅ ] I have commented my code, particularly in hard-to-understand areas.
[✅ ] My changes generates no new warnings.
[✅ ] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
✅[ ] I have added screenshot for website preview in assets/images
[ ✅] I have added entries for my game in main README.md
[✅ ] I have added README.md in my folder
[✅ ] I have added working video of the game in README.md (optional)
[✅ ] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸
https://github.com/kunjgit/GameZone/assets/145869907/a52beb46-c821-4dfc-8147-df43bdc6cd4d

Thank you soo much for contributing to our repository 💗

Thank you @ananyag309 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@ishita-43 ma'am please have a check and let me know if any changes are required.

/assign

@kunjgit sir please merge it

Thank you  @ananyag309 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀

@kunjgit sir i have resolved the conflicts

Thank you  @ananyag309 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


text:
fix: stream instruction output in chunks of 3Mb

Description:
Previously we would try to send all of it at once as the max message size is inifnite. User would get something like -
Caused by: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (17391758 vs. 4194304)

Barnabas ran into it. I ran into it several times mostly with execs.
Is this change user facing?
YES

@tedim52 this might be something we want to take in consideration for your instruction "output streaming" feature you're working on.

@gbouv this is still in progress. need to fix a few new lines. Will tag you now but review when I ping y ou!

repo: kurtosis-tech/kurtosis


text:
Automate generating compatibility table for different logstash version

We need to automate proccess of finding compatible metrics for multiple versions of logstash. We need to:

create a development setup so that multiple logstash versions could be checked simultaneously
create a script that will check whether all metrics are working properly with given logstash version (some with be left blank on old logstash versions)
output table with metrics compatibility to a markdown file

Removing sweep labels, I will try to address this issue myself

Closing it for now, as I don't plan implementing it in nearest feature (see #161 for more info)
Feel free to reopen it if you plan to actually work on this issue

Duplicate of #88

repo: kuskoman/logstash-exporter


text:
コマンドモードで変換すると、おかしくなる。

環境

OS: Manjaro
terminal: kitty alacritty
neovim 0.5.0
denops-skkeleton.vim version: 3b9090e9b074ad949c756c3a64679a99a913ea4b

問題
translate.vimというプラグインで日本語から英語に変換している様子です。

詳しくは、上のGifの通りなのですが、

コマンドモードで変換を開始する。
カーソルの前に変換した文字が表示し、入力した文字を置き換えていく。
変換を始めるまでは、問題なく入力可能。
表示がおかしいだけで、入力内容は問題ない。実際、問題なく英語にも変換してくれている。

例外
ターミナルから起動したneovimは問題が発生しますが、GUIを使用した際は、上記の問題は起きていません。
現状確認しているGUIはneovideとneovim-gtkです。

ambiwidthかなと思い、手元のAlacrittyでset ambiwidth=doubleしてみた所再現しました。
Alacrittyはその辺りの扱いが苦手なのでターミナルではset ambiwidth=singleしてしまうか
markerHenkan及びmarkerHenkanSelectでマーカーの文字が変更できますのでそちらを変更してみて頂けないでしょうか。

ドキュメントに FAQ を用意して書いておくと良さそうに思います

ambiwidthかなと思い、手元のAlacrittyでset ambiwidth=doubleしてみた所再現しました。
Alacrittyはその辺りの扱いが苦手なのでターミナルではset ambiwidth=singleしてしまうか
markerHenkan及びmarkerHenkanSelectでマーカーの文字が変更できますのでそちらを変更してみて頂けないでしょうか。

set ambiwidth=singleにしたら解決しました。
ありがとうございます！

authors: Shougo kuuote yasunori-kirin0418

license: Zlib


text:
group by list no supported?

Look at the tow queries below:
kuzu> MATCH (p:Person{id: 2199023255557}), (f:Person{})
..>     where not p.id = f.id
..>     WITH p, f
..>     MATCH path = (p)-[e:Person_knows_Person*1..3]->(f)
..>     WITH min(length(e)) as distance, f
..> ORDER BY
..>     distance ASC,
..>     f.lastName ASC,
..>     f.id ASC
..> LIMIT 20
..> MATCH (f)-[:Person_isLocatedIn_Place]->(fCity{type: "City"})
..> OPTIONAL MATCH (f)-[:Person_studyAt_Organisation]-(uni:Organisation{type: "University"})-[:Organisation_isLocatedIn_Place]->(uniCity:Place{type: "City"})
..> WITH f, collect(uniCity) AS unis
..> OPTIONAL MATCH (f)-[:Person_workAt_Organisation]->(company:Organisation{type: "Company"})-[:Organisation_isLocatedIn_Place]->(companyCountry:Place{type: "Country"})
..> WITH f, collect(company) as comps
..> return f, comps
..> limit 2;
-----------------------------------------------------------------------------------------------------------------
| f                                                                                | comps                      |
-----------------------------------------------------------------------------------------------------------------
| {_ID: 4:117, _LABEL: Person, creationDate: 2010-04-11 10:00:08.297, deletionD... | [{, _LABEL: Organisation}] |
-----------------------------------------------------------------------------------------------------------------
| {_ID: 4:1303, _LABEL: Person, creationDate: 2012-03-12 17:58:49.605, deletion... | [{, _LABEL: Organisation}] |
-----------------------------------------------------------------------------------------------------------------
(2 tuples)
Time: 4.03ms (compiling), 36.01ms (executing)
kuzu> MATCH (p:Person{id: 2199023255557}), (f:Person{})
..>     where not p.id = f.id
..>     WITH p, f
..>     MATCH path = (p)-[e:Person_knows_Person*1..3]->(f)
..>     WITH min(length(e)) as distance, f
..> ORDER BY
..>     distance ASC,
..>     f.lastName ASC,
..>     f.id ASC
..> LIMIT 20
..> MATCH (f)-[:Person_isLocatedIn_Place]->(fCity{type: "City"})
..> OPTIONAL MATCH (f)-[:Person_studyAt_Organisation]-(uni:Organisation{type: "University"})-[:Organisation_isLocatedIn_Place]->(uniCity:Place{type: "City"})
..> WITH f, collect(uniCity) AS unis
..> OPTIONAL MATCH (f)-[:Person_workAt_Organisation]->(company:Organisation{type: "Company"})-[:Organisation_isLocatedIn_Place]->(companyCountry:Place{type: "Country"})
..> WITH f, unis, collect(company) as comps
..> return f, comps
..> limit 2;
Error: Runtime exception: Cannot compare data type VAR_LIST
kuzu>

kuzu report error Error: Runtime exception: Cannot compare data type VAR_LIST when I try to group by list. Is that no supported yet? Is it possible to do this in kuzu? If that's the case I might try to implement this feature.

Hi kikimo,
Unfortunately, we currently don't support hash operations on varList dataType, thus you can't groupby varList. However, the comparison between list datatype is supported.
I think implementing this in kuzu requires understanding of our aggregate hash table and factorizedTable structure.

@acquamarin thanks

authors: acquamarin kikimo

repo: kuzudb/kuzu


text:
Feature: Support More JSON functionalities as DuckDB

API
C++
Description
Right now we only support: Copy/Load from/to JSON with optional enforcing types, while duckdb support a JSON Data Type to be stored in a table and can be manipulated via database operations.
The DuckDB JSON reader take consider of compression format hive_partitioning options, and an auto_detect to turn on/off the auto-detect the names of the keys and data types of the values automatically.
The first step is to test the accuracy our auto type cast from JSON

Can first trying to port the JSON test cases from /duckdb/test/sql/json and /duckdb/data/json/ to kuzu and gradually enhance the auto type detection

The first thing to solve is the COPY TO JSON type casting, we have several known issues:

INT128 is casted to be NULL
Nested Structure randomly fail:

when doing COPY (load from "duckdb_nested_types.csv" return *) TO "./nested_types.json";, which contains such column as fixed_nested_int_array, list_of_fixed_int_array, with exactly the same content:
"[[4, 5, 6], [NULL, 2, 3], [4, 5, 6]]" ,  "[[4, 5, 6], [NULL, 2, 3], [4, 5, 6]]"
but the first one failed while the second one succeeded


text:
fix #362 dispatch LIST_INDEXES_AND_COLLECTION in mounted Treeview

Remove dispatch action in mounted Layout and add same action in mounted Treeview

Codecov Report

Merging #378 into 2.x will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              2.x     #378   +/-   ##
=======================================
  Coverage   85.89%   85.89%
=======================================
  Files          38       38
  Lines         723      723
=======================================
  Hits          621      621
  Misses        102      102

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 e9cf7f1...396c20c. Read the comment docs.

Can you help me understand what the problem was and how does this PR solve #362?

authors: Njuelle codecov-io scottinet

repo: kuzzleio/kuzzle-backoffice


text:
SKRAPS Wrong ABI and old Address

Why did again the old, bad pool request?

This wrong one by @gamalielhere https://github.com/nodermann/etherwallet/commit/82fec580e4ccbe8ef5f640b31e07c5762f1d2c2d#diff-baa3a63e2b08f0f9c9ce3129751f483e

@nodermann Thanks for the update. The PR you pulled up just added some contracts that were lost. I based it from version v3.20. Apologies for the inconvenience.

authors: gamalielhere nodermann

repo: kvhnuke/etherwallet

license: mit


text:
Anonymous bind

Hi,
thanks for your work. I want to use the ldap-server for an integration test. In our scenario the real ldap server allows an anonymous bind. Any ideas how I can tweak the ApacheDS to also allow anonymous binds?
This is what currently happens:
$ ldapsearch -v -x -H ldap://localhost:10389  ldap_initialize( ldap://localhost:10389/??base ) ldap_bind: Invalid credentials (49) 	additional info: INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user

The -a argument was added to support anonymous bind.

repo: kwart/ldap-server


text:
Add data from 2000 to 2032

2000年から2032年までのデータを追加しました。
1ヶ月に2回旧暦が変わるケースに対応しました。
ユニットテストも追加しました。

Pull requests from tototti.

authors: kyasusoft tototti

repo: kyasusoft/Rokuyo


text:
[BUG] ImportError: cannot import name 'create_base_retry_decorator' from 'langchain.llms.base'

Traceback (most recent call last):
File "D:\resumewebsite\functioncalling\swarms-master\vision.py", line 1, in
from swarms import QwenVLMultiModal
File "D:\resumewebsite\functioncalling\swarms-master\swarms_init_.py", line 6, in
from swarms.agents import *  # noqa: E402, F403
File "D:\resumewebsite\functioncalling\swarms-master\swarms\agents_init_.py", line 3, in
from swarms.agents.simple_agent import SimpleAgent
File "D:\resumewebsite\functioncalling\swarms-master\swarms\agents\simple_agent.py", line 2, in
from swarms.models.base_llm import AbstractLLM
File "D:\resumewebsite\functioncalling\swarms-master\swarms\models_init_.py", line 6, in
from swarms.models.openai_models import (
File "D:\resumewebsite\functioncalling\swarms-master\swarms\models\openai_models.py", line 26, in
from langchain.llms.base import BaseLLM, create_base_retry_decorator
ImportError: cannot import name 'create_base_retry_decorator' from 'langchain.llms.base' (C:\Users\Peyton\anaconda3\lib\site-packages\langchain\llms\base.py)

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

@peytontolbert try again when you have a chance by upgrading your swarms:
$ pip install -U swarms

@peytontolbert LMK if it's working pls

authors: kyegomez peytontolbert

repo: kyegomez/swarms


text:
Code not working

This code can't solve simple 24 games like: "4 4 6 8" Is the code working for anyone else?

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

@mtliou hey try again please, I just shipped a new update

Yeah idk what you're doing but it's not working... I've spent so much time on this but I'm now seeing all the negative comments regarding the code. Has it ever worked for anyone?
"2024-09-07T16:59:05.621977-0400 Finished DFS for state:
Your task: is to use 4 numbers and basic arithmetic operations (+-*/) to obtain 24 in 1 equation, return only the math
{
"final_thoughts": [
{
"thought": "One common set of numbers used in these types of problems is 8, 3, 3, and 1. Let's see if we can achieve 24 using these numbers: \(8 \\times (3 - (3 - 1)) = 8 \\times 1 = 8\), which doesn't work. Let's try another approach.\n\nAnother set is 8, 3, 2, and 1: \(8 \\times (3 - (2 - 1)) = 8 \\times 2 = 16\), which also doesn't work. However, using 8, 3, 2, and 1 but in a different operation: \((8 \\div (3 - 1)) \\times 3 = (8 \\div 2) \\times 3 = 4 \\times 3 = 12\), which still doesn't work. I need to re-evaluate my approach to achieve exactly 24.\n\nLet's try another set: 4, 4, 4, 1: \((4 + 4) \\times (4 - 1) = 8 \\times 3 = 24\). This seems to work.",
"evaluation": 0.9
},
{
"thought": "One possible solution using the numbers 8, 3, 3, and 1 is: \( (8 - 3) \times (3 + 1) = 24 \).",
"evaluation": 0.9
},
{
"thought": "To solve the problem of obtaining 24 using four numbers and basic arithmetic operations, I need to first identify the four numbers. Since the numbers are not provided, I will assume a common set of numbers often used in such puzzles, such as 1, 3, 4, and 6. The goal is to combine these numbers using addition, subtraction, multiplication, and division to reach exactly 24. A common solution for this set is: (6 / (1 - (3 / 4))) = 24. This equation uses division and subtraction to manipulate the numbers to achieve the target number.",
"evaluation": 0.9
},
{
"thought": "One possible equation using the numbers 8, 3, 3, and 1 to obtain 24 is: (8 / (3 - (1 / 3))) = 24. This involves dividing 8 by the result of the subtraction of 1/3 from 3, which simplifies to 24.",
"evaluation": 1.0
}
],
"pruned_branches": [],
"highest_rated_thought": {
"thought": "One possible equation using the numbers 8, 3, 3, and 1 to obtain 24 is: (8 / (3 - (1 / 3))) = 24. This involves dividing 8 by the result of the subtraction of 1/3 from 3, which simplifies to 24.",
"evaluation": 1.0
}
}"

Yeah idk what you're doing but it's not working... I've spent so much time on this but I'm now seeing all the negative comments regarding the code. Has it ever worked for anyone?
"2024-09-07T16:59:05.621977-0400 Finished DFS for state:
Your task: is to use 4 numbers and basic arithmetic operations (+-*/) to obtain 24 in 1 equation, return only the math
{
"final_thoughts": [

    {

        "thought": "One common set of numbers used in these types of problems is 8, 3, 3, and 1. Let's see if we can achieve 24 using these numbers: \\(8 \\\\times (3 - (3 - 1)) = 8 \\\\times 1 = 8\\), which doesn't work. Let's try another approach.\n\nAnother set is 8, 3, 2, and 1: \\(8 \\\\times (3 - (2 - 1)) = 8 \\\\times 2 = 16\\), which also doesn't work. However, using 8, 3, 2, and 1 but in a different operation: \\((8 \\\\div (3 - 1)) \\\\times 3 = (8 \\\\div 2) \\\\times 3 = 4 \\\\times 3 = 12\\), which still doesn't work. I need to re-evaluate my approach to achieve exactly 24.\\n\nLet's try another set: 4, 4, 4, 1: \\((4 + 4) \\\\times (4 - 1) = 8 \\\\times 3 = 24\\). This seems to work.",

        "evaluation": 0.9

    },

    {

        "thought": "One possible solution using the numbers 8, 3, 3, and 1 is: \\( (8 - 3) \\times (3 + 1) = 24 \\).",

        "evaluation": 0.9

    },

    {

        "thought": "To solve the problem of obtaining 24 using four numbers and basic arithmetic operations, I need to first identify the four numbers. Since the numbers are not provided, I will assume a common set of numbers often used in such puzzles, such as 1, 3, 4, and 6. The goal is to combine these numbers using addition, subtraction, multiplication, and division to reach exactly 24. A common solution for this set is: (6 / (1 - (3 / 4))) = 24. This equation uses division and subtraction to manipulate the numbers to achieve the target number.",

        "evaluation": 0.9

    },

    {

        "thought": "One possible equation using the numbers 8, 3, 3, and 1 to obtain 24 is: (8 / (3 - (1 / 3))) = 24. This involves dividing 8 by the result of the subtraction of 1/3 from 3, which simplifies to 24.",

        "evaluation": 1.0

    }

],

"pruned_branches": [],

"highest_rated_thought": {

    "thought": "One possible equation using the numbers 8, 3, 3, and 1 to obtain 24 is: (8 / (3 - (1 / 3))) = 24. This involves dividing 8 by the result of the subtraction of 1/3 from 3, which simplifies to 24.",

    "evaluation": 1.0

}

}"

What's not working? Can you be more specific? It seems to be working just fine???

authors: kyegomez moht355 mtliou

repo: kyegomez/tree-of-thoughts


text:
Frontend passing the uploaded image to the backend

Description
As a user, I want to upload a new image to the system, so that it can be later displayed and processed.
Reasons
We want to upload a new image to the system.
Acceptance Criteria

[ ] Upload button triggers image upload
[ ] Uploaded image is sent to the backend

Additional remarks

Image needs to be converted to base64
It can be any image, for now, we can use a static image
backend accepts JSON as an input

Integration with fake backend was done, but we are still waiting for our backend.

repo: kyma-incubator/Kyma-Showcase


text:
Set unlimited retries for Fluent Bit http output

Description
Fluent Bit's default settings make only one retry attempt on a retry-able output error. With our persistent buffer usage, more retries would be beneficial.
Changes proposed in this pull request:

Set retry_limit to no_limits for Fluent Bit http output
Do not collect logs from http-mockserver sample

Related issue(s)

https://github.com/kyma-project/kyma/issues/17113

/hold

/retest

authors: chrkl skhalash

repo: kyma-project/telemetry-manager


text:
MuReNNDirect downsampling issue

The downsampling operation in MuReNNDirect returns the low-pass output of the dual-tree complex wavelet transform, which interleaves the real and imaginary parts of a complex signal. This may introduce aliasing and destroy the shift-invariance property of the transform.
Some modifications to the downsampling process are needed to fix this issue. Potential solutions include:

Using only the real part of the downsampled signal.
Applying another modulus operation.
Using a another low-pass filter (which one to use?).

thank you for raising this issue
my suggestion is, following (3), to replace the current complex low-pass filter by its real part
and to (optionally) apply a ReLU to guarantee nonnegativity of the output

closed by #60

repo: kymatio/murenn


text:
feat(ShidokaIcon): replaced carbon icon to shidoka icon

Summary

Removed Icon component
Carbon Icon replaced with Shidoka icon
Added migration docs
Impacted Component List

Accordian
-Button with Icon
-Link with Icon
-Split Button & with Icon

ADO Story
TASK 1972305
Checklist

[x] Used Conventional Commit messages as outlined in the contributing guide.

[x] Noted breaking changes (if any).

[x] Documented/updated all props, events, slots, parts, etc with JSDoc.

[x] Ran the analyze command to update Storybook docs.

[ ] Added/updated Stories with controls to cover all variants.
[ ] Ran test locally to address any failures.
[ ] Added/updated the Figma link for the Story's Design tab.

Screenshot

Those icons are just meant to be examples, so I don't think they need to map 1:1. Maybe just use circle stroke and warning filled.

:tada: This PR is included in version 2.0.0-next.1 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


text:
[Fix] Augmented ActionBase from_dict to pass class kwargs

I had to augment how the class was  being instantiated since it was resulting in TypeError, it was assuming that the constructor was only taking a single argument, which was true for some actions like ActionSetQueue, ActionSetVlan, ActionPushVlan, and so on, but this premise doesn't hold true for some of the NoviAction* classes or any other that takes more args:
cls = <class 'napps.amlight.noviflow.of_core.v0x04.action.NoviActionSetBfdData'>, action_dict = {'action_type': 'set_bfd', 'interval': 5, 'keep_alive_timeout': 15, 'multiplier': 3, ...}

    @classmethod
    def from_dict(cls, action_dict):
        """Return an action instance from attributes in a dictionary."""
>       action = cls(None)
E       TypeError: __init__() missing 4 required positional arguments: 'my_disc', 'interval', 'multiplier', and 'keep_alive_timeout'

Heads up:
As it is, there's still an issue of schema validation, so it can still crash, but I suppose as we evolve the schema validation strategies we can also improve here to validate the expected arg types and values. Let me know if you want me to map an issue for this or if you have any other suggestion about how this should (or will) be handled.

thanks for your review, Antonio.


text:
fix: Check the actions field in flows when running a trace

Closes #61
Summary
Now, it is checked if actions is a field of the flow See link.
Local Tests
Now, when running Sdntrace in a switch that has a Flow without actions:
Create a flow for drop packets (no actions):
curl -X POST -H 'Content-type: application/json' -d '{"flows": [{"priority": 10, "match": {"in_port": 60, "dl_vlan": 777}}]}' http://127.0.0.1:8181/api/kytos/flow_manager/v2/flows/00:00:00:00:00:00:00:01

Run a trace:
curl -H 'Content-type: application/json' -X PUT http://127.0.0.1:8181/api/amlight/sdntrace_cp/trace -d '{"trace": {"switch": {"dpid": "00:00:00:00:00:00:00:01", "in_port": 60}, "eth": {"dl_type": 33024, "dl_vlan": 777}}}

Response:
{"result":[{"dpid":"00:00:00:00:00:00:00:01","out":null,"port":60,"time":"2023-02-06 13:27:59.390535","type":"starting","vlan":777}]}

@gretelliz It looks fine, but could you please add a test with a stored flow with no actions?

@ajoaoff, thank you. Sure, I'll do it.

@gretelliz thanks for updating the changelog, you ended up adding the information on section 2022.3.1, but this change landing on master is considered unreleased. Can you fix/move it please?

@viniarck, You are right, my bad.

@viniarck, You are right, my bad.

Looks good now, feel free to merge this once the e2e is also ready to land. Thanks.

authors: gretelliz viniarck


text:
회원가입 시 프로필 이미지도 입력할 수 있도록 하기

https://firebase.google.com/docs/auth/web/manage-users?hl=ko&authuser=0
여기 참고하면 될듯

[ ] 프로필 편집 버튼을 눌렀을 때 편집하는 페이지로 넘어가도록 코드 짜기
[ ] 프로필 편집 페이지에 이미지 프로필 이미지 업로드 기능 넣기
[ ] 이미지 카드, 프로필 페이지에 이미지 src 추가하기


text:
无法导出 'GUEST_VIEW_MANAGER_CALL': Error: Invalid print parameters: scale is outside of [0.1 - 2]

第一次能导出，之后就不能导出了，看了下日志，堆栈如下
Error: Error invoking remote method 'GUEST_VIEW_MANAGER_CALL': Error: Invalid print parameters: scale is outside of [0.1 - 2] range
at t.ipcRendererInternal.invoke (node:electron/js2c/renderer_init:2:11899)
at async BetterExportPdfPlugin.exportToPDF (plugin:better-export-pdf:20236:18)
at async ExportConfigModal.eval [as callback] (plugin:better-export-pdf:20141:17)
at async eval (plugin:better-export-pdf:20593:9)

看报错，是否设置 scale 值了？

整个插件机制进行了重构，同时增加了导出预览功能，可以尝试新版本是否还有此问题


text:
drop_blocks() - add a copy flag

This flag dictates whether or not the underlying data of the input TensorBlocks (and Gradients) should be copied for the returned TensorMap.
Setting to False, the the new TensorMap is constructed with a reference to the original data. This of course could be unsafe if the user manipulates via one reference and unknowingly changes the other. However, the advantage for the careful user is that a large increase in memory usage is not created.
Default value is set to False.
Also done in this PR (and not in a separate one, for no good reason) was a removal of the test class in the test script unique_metadata.py

:books: Documentation preview :books:: https://equistore--248.org.readthedocs.build/en/248/

After discussion with @Luthaf , the default flag has been changed to False

repo: lab-cosmo/equistore


text:
ASE calculator reuse

It might be a good idea to return the same values for the energy/forces if the configuration hasn't changed since the last calculation of the ASE calculator. According to ChatGPT, many ASE calculators do this

Yes, as far as I know this is expected behaviour. ASE supplies some functionality for this in https://gitlab.com/ase/ase/-/blob/master/ase/calculators/calculator.py?ref_type=heads#L84. Here's what I did for GLP: https://github.com/sirmarcel/glp/blob/f9406c75d577d1702d2d98cf1b07f5317776fd43/glp/ase/calculator.py#L160

I though this was handled by ˋCaluculator.calculateˋ automatically, in particular through the ˋsystem_changes` parameter. You are saying we should handle this manually?

Okay, I've taken a look at the ase code -- as far as I can tell, the get_property method defined in the class that MetatensorCalculator inherits from (ase.calculators.calculator.Calculator) does this check, but the calculate method doesn't check it. So you need to decide if this is something you want do handle in calculate yourself or rely on ase to do it automatically. In what situation is this a problem?

Sorry, I'm not sure I was clear enough: I believe that currently, calling atoms.get_forces() or similar with the MetatensorCalculator attached will not trigger a recomputation because get_property already checks for changes and only triggers calculate if no change has occurred. So, two questions:

Did you notice that this it not the case and do you want to flag this as a problem with this issue?
Is this not the behaviour that you want? Should calculate separately check for changes?

If neither apply, I'd close this issue.

The caching seems to be working fine at ASE level, so there might be something else going on here
class CallsCounter(torch.nn.Module):
    def __init__(self):
        super().__init__()
        self.call_count = 0

    def forward(
        self,
        systems: List[System],
        outputs: Dict[str, ModelOutput],
        selected_atoms: Optional[Labels],
    ) -> Dict[str, TensorMap]:
        self.call_count += 1

        if "energy" not in outputs:
            return {}

        samples = Labels(
            ["structure"],
            torch.tensor([[s] for s in range(len(systems))], dtype=torch.int32),
        )
        block = TensorBlock(
            values=torch.zeros(len(systems), 1),
            samples=samples,
            components=[],
            properties=Labels(["energy"], torch.IntTensor([[0]])),
        )
        return {
            "energy": TensorMap(Labels(["_"], torch.IntTensor([[0]])), [block]),
        }

def test_caching(atoms):
    counter = CallsCounter()
    counter.train(False)

    capabilities = ModelCapabilities(
        length_unit="Angstrom",
        species=[28],
        outputs={
            "energy": ModelOutput(
                quantity="energy",
                unit="eV",
                per_atom=False,
                explicit_gradients=[],
            ),
        },
    )

    model = MetatensorAtomisticModel(counter, capabilities)

    atoms.calc = MetatensorCalculator(model)

    assert counter.call_count == 0
    atoms.get_potential_energy()
    assert counter.call_count == 1

    # Getting the energy again should not call the model again
    atoms.get_potential_energy()
    assert counter.call_count == 1

    atoms.get_kinetic_energy()
    assert counter.call_count == 1

    atoms.get_total_energy()
    assert counter.call_count == 1

So, this test passes? In that case, I'm not sure what the problem is...?

I would make a release following this wave of bug fixes, try to re-run an MD exercise, and see what happens

closing for now, we can re-open if there is still a bug

authors: Luthaf frostedoyster sirmarcel

repo: lab-cosmo/metatensor


text:
Support for nRF52 compilation

This PR will add support to compile for nRF52 using this "ancient" repo. This way you can create an app targeting SDK 11 (and probably even SDK 12) that can be compiled for both nRF51 and nRF52 using the same codebase. If you use the "simple_ble" library you can just target to SDK 11 and the same codebase will compile. However if you want to use the SDK 12 you will need to do some modifications since the SoftDevice for nRF52 and nRF51 are not quite the same (v3.0.0 vs v2.0.1).
The "full_adv" example has been tweaked to support compilation for both platforms.
This should fix the issue #44.

And I confirmed it works on nRF52s

authors: acalatrava brghena


text:
calico/node 起不来，进入容器内部无法访问

哪个命令或者组件
eg. calico
描述这个缺陷

重现步骤（如果有需要可以附加图片）
1.
...
测试结果
1.
2.
3.
期望结果

期望出现 xxx
前置条件: xxx
操作步骤:

xxx
xxx
预期结果:
xxx
xxx

运行环境

Kubernetes版本 :kube1.23.5.tar.gz

操作系统:  ubuntu 桌面版

运行模式:

集群规模:    1master 4node

附加说明: istio,dashboard ...

如果 是公有云服务器 请把主机dns 改成nameserver 8.8.8.8再重启coredns

如果 是公有云服务器 请把主机dns 改成nameserver 8.8.8.8再重启coredns

您看看下面的日志
kube-system_calico-node-g9vdp_calico-node.log
下面是网卡信息

如果 是公有云服务器 请把主机dns 改成nameserver 8.8.8.8再重启coredns

想问下，为什么不能用公有云服务器的dns呢？我也遇到一样的问题，在宿主机可以，在pod里面不行，换成8.8.8.8后在pod里面是可以的。

因为我们选的pod地址段与公有云内网DNS冲突。 但是pod如果选择172 192这些又非常容易与私网冲突，这个问题不好处理，只能手动改改了

authors: fanux huanghantao zLiangliangliang

repo: labring/sealos


text:
BUG: coreDNS start failed

Sealos Version
The main branch
How to reproduce the bug?
root@sealos-dev:/go/src/github.com/labring/sealos/bin/linux_arm64# kubectl logs -n kube-system        coredns-565d847f94-kc6kd
.:53
[INFO] plugin/reload: Running configuration SHA512 = 591cf328cccc12bc490481273e738df59329c62c0b729d94e8b61db9961c2fa5f046dd37f1cf888b953814040d180f52594972691cd6ff41be96639138a43908
CoreDNS-1.9.3
linux/arm64, go1.18.2, 45b0a11
[FATAL] plugin/loop: Loop (127.0.0.1:35908 -> :53) detected for zone ".", see https://coredns.io/plugins/loop#troubleshooting. Query: "HINFO 4060075194211761355.8439570687074282628."
What is the expected behavior?
No response
What do you see instead?
No response
Operating environment
ON multipass:

sealos run labring/kubernetes:v1.25.0 labring/helm:v3.8.2 labring/calico:v3.24.1 --single

coredns can't start:

root@sealos-dev:/go/src/github.com/labring/sealos/bin/linux_arm64# kubectl get pod -A
NAMESPACE          NAME                                       READY   STATUS             RESTARTS       AGE
calico-apiserver   calico-apiserver-5bd686f5bc-4p6nk          1/1     Running            0              7m42s
calico-apiserver   calico-apiserver-5bd686f5bc-ltmws          1/1     Running            0              7m42s
calico-system      calico-kube-controllers-85666c5b94-7fndw   1/1     Running            0              8m6s
calico-system      calico-node-g8smt                          1/1     Running            0              8m6s
calico-system      calico-typha-6cb748bd9f-htlnz              1/1     Running            0              8m6s
calico-system      csi-node-driver-rc8vg                      2/2     Running            0              7m55s
kube-system        coredns-565d847f94-4ffh5                   0/1     CrashLoopBackOff   6 (113s ago)   8m11s
kube-system        coredns-565d847f94-kc6kd                   0/1     CrashLoopBackOff   6 (2m ago)     8m11s

### Additional information

_No response_

#!/bin/bash
domain=$(cat /var/lib/sealos/data/default/rootfs/etc/registry.yml | grep domain | awk '{print $2}')
host=$(cat /etc/hosts | grep $domain | awk '{print $1}')

cat << EOF | kubectl apply -f -
apiVersion: v1
data:
  Corefile: |
    .:53 {
        errors
        health {
           lameduck 5s
        }
        hosts {
           $host $domain

           fallthrough
        }
        ready
        kubernetes cluster.local in-addr.arpa ip6.arpa {
           pods insecure
           fallthrough in-addr.arpa ip6.arpa
           ttl 30
        }
        prometheus :9153
        forward . 114.114.114.114 {
           max_concurrent 1000
        }
        cache 30
        loop
        reload
        loadbalance
    }
kind: ConfigMap
metadata:
  name: coredns
  namespace: kube-system
EOF
kubectl delete pod -n kube-system -l k8s-app=kube-dns

exec this script

The reason is?

 forward . 114.114.114.114 {
           max_concurrent 1000
        }

The main reason is that there are some problems with the local configuration.

authors: cuisongliu fanux


text:
sealos 安装报错

Detailed description of the question.
{"level":"error","ts":"2023-05-16T12:51:36.981+0800","msg":"\u001b[31mApplied to cluster error: failed to init exec auth.sh failed exit status 127\u001b[0m"}
Some reference materials you see.
No response

auth.sh 查看你的镜像和sealos的对应版本，如果用的kubernetes:v1.xx.x 这样的版本是需要升级sealos的。

authors: chenshanping cuisongliu


text:
sealos build on offline module is panic

go panic in sealos build on offline env

add build module ,at offline env can build this image.not pull image.

https://github.com/labring/sealos/blob/daed8109f93b4cfa9e34d1a1697ab894b3877895/pkg/registry/save.go#L109
maybe lock is die lock, so it is panic?


text:
Plugin not working on Meta Quest 3

Hello
I'm using this plugin inside an Unreal Engine project where I use an outlet component to send a simple message. Although it works in preview, the resulting apk installed in my Oculus Meta Quest 3 does not send any message. I want to specify that the Headset and the computer (where the inlet program is installed) are connected to the same network. Am I missing something? Does anyone faced the same issue with Meta Quest?
Thanks in advice

Does the app have the CHANGE_WIFI_MULTICAST_STATE permission?

@tstenner thanks for the response. I've just tried your solution enabling CHANGE_WIFI_MULTICAST_STATE. Unfortunately it does not change anything

Did you make changes to the plugin so that it can build for Android? At the moment, only Windows is supported.

No I didn't make any change, I've just imported the plugin in Unreal and then built the project for Android. So this Plugin does not support Android? Is there a way to make it work? Thanks

This plugin only supports Windows, but it could probably work with Android if you have a liblsl built for Android (which I don't think are part of the release pipeline? But not sure).
If you have that, then you can probably edit the plugin to add Android support ([0], [1]).
In the meantime, I find it really weird that Unreal lets you package an Android project that uses this plugin without failing.

Yes I ensure that the plugin is enabled in Plugins tab and the package process completes successfully. I'm using Unreal 5.3.2.
I'm already looking for liblsl (found here https://github.com/labstreaminglayer/liblsl-Android/tree/master), but for now I don't manage to build it (sorry but I'm not an Android Studio expert). In the links you provided it is reported that I need an *.so file to include, but I don't find any .so file inside liblsl repository

authors: DomCoccorese brifsttar tstenner


text:
Error in blending images tile is missing

Hey,
I'm calling Ashlar with a Python wrapper for a set of tiff files in a folder. It fails if one tile is missing.

Traceback (most recent call last):
File "C:\Users\ricardo.guerreiro\Experiments\24_stitching\run_ashlar.py", line 110, in
aligner0.run()
File "C:\Users\ricardo.guerreiro\Experiments\pipelines\ashlar\ashlar\reg.py", line 550, in run
self.make_thumbnail()
File "C:\Users\ricardo.guerreiro\Experiments\pipelines\ashlar\ashlar\reg.py", line 562, in make_thumbnail
self.reader.thumbnail = thumbnail.make_thumbnail(
File "C:\Users\ricardo.guerreiro\Experiments\pipelines\ashlar\ashlar\thumbnail.py", line 41, in make_thumbnail
utils.paste(mosaic, img_s, pos_s, utils.pastefunc_blend)
File "C:\Users\ricardo.guerreiro\Experiments\pipelines\ashlar\ashlar\utils.py", line 181, in paste
target_slice[:] = func(target_slice, img)
File "C:\Users\ricardo.guerreiro\Experiments\pipelines\ashlar\ashlar\utils.py", line 207, in pastefunc_blend
alpha[skimage.morphology.binary_dilation(img == 0)] = 1
IndexError: too many indices for array: array is 2-dimensional, but 3 were indexed

So my tiles now are in this disposition:
1_2_3_4
5___7_8
My tile 6 is missing, it could not be created.  Ashlar should have a mechanism of ignoring a missing tile and jumping to the next one.
This is the code I'm using:
    for i in range(3):
        readers.append(fileseries.FileSeriesReader(
            my_data_folder,
            pattern='my_images_*{series:1}.ome.tiff',
            overlap=0.01, #.1,
            width= len(rows),
            height=len(cols),
            layout='raster',
            direction='horizontal', )
        )

    aligner0 = reg.EdgeAligner(readers[0], channel=0,
                            filter_sigma=15, verbose=True)
    aligner0.run()

    mosaic_args = {}
    mosaic_args['verbose'] = True
    mosaic_args['flip_mosaic_y'] = False
    mosaic_args['channels'] = [20] #,22]
    aligners = []
    aligners.append(aligner0)

    mosaics = []
    for j in range(1, 2):
        aligners.append(
            reg.LayerAligner(readers[j], aligners[0], channel=j, filter_sigma=15, verbose=True)
        )
        aligners[j].run()

        mosaic = reg.Mosaic(
            aligners[j], aligners[0].mosaic_shape, **mosaic_args
        )
        mosaics.append(mosaic)
    ```

Yes, the fileseries reader is not fully ready for general use yet. Handling of missing tiles is one thing it could do better.

authors: ViriatoII jmuhlich

repo: labsyspharm/ashlar


text:
AWS - Add support to enable access logging for CloudTrail S3 bucket.

Best practice for S3 buckets is to enable access logging.  This is even something that Lacework itself will check for:
https://api.lacework.net/ui/documents/Lacework_S3_Rec.pdf#page=13

Closed by https://github.com/lacework/terraform-provisioning/pull/57

authors: TheAlanNix afiune

repo: lacework/terraform-provisioning


text:
Test GCP Modules using Google Folders

It has come to our attention that, trying to use our GCP modules inside Google Folders users are experiencing the following errors:
Error: Error when reading or editing Resource "storage bucket \"b/abc-lacework-bucket\"" with IAM Binding (Role "roles/storage.legacyBucketOwner"): Error retrieving IAM policy for storage bucket "b/abc-lacework-bucket": googleapi: Error 403: sean.carolan@lacework.net does not have storage.buckets.getIamPolicy access to the Google Cloud Storage bucket., forbidden

cc @scarolan @scottford-lw

As per @scarolan comment on Slack:

turns out we needed ‘Folder Admin’ to run this.

Let us spend some time checking this 👆🏽 and documenting it

Closed by https://github.com/lacework/terraform-gcp-audit-log/pull/68


text:
Volume slider.

Hey, great work on the rework. I just wanted to point out that there isn't any volume slider.

Hi, we did not have time to implement that and given that the user can control the volume through their hardware, this is something we may revisit in the near future.

authors: SreeChandan emmabostian

repo: ladybug-podcast/ladybug-website


text:
pulseaudio -k cannot be executed

The script only works if I enter the command "systemctl --user unmask pulseaudio.socket" an "systemctl --user start pulseaudio.service".
Otherwise, pulseaudio -k cannot be executed. This is necessary after each restart.
Is there an easy way to get everything back into the state. I'm using Debian testing here.

Well, as far as I know, even in bookworm pulseaudio is still the standard audio system.  This way it should be startet automatically with every fresh installation.
So I don't know why you had to unmask (make it able to start) pulseaudio (btw. the unit/service, not the socket!). Masked it in front?
After unmasking you should also "enable" the pulseaudio service to start after every reboot.
To get rid of the packet you installed via this scipt use "dpkg -r ".

installed packages are "libldac" and "pulseaudio-module-bluetooth"
might be you have to reinstall "pulseaudio-module-bluetooth" from the original repositories not to loose pulseaudio-bluetooth-support.

authors: koarlmichael lagerimsi-ds


text:
Add questions about the priority of the groups

Given three or four substructures of a molecule, ask the models to correctly identify the priority between the different substructures, similarly to the first step when naming a chiral center

This is an excellent idea! Also because it can be nicely ablated as the rules can be concisely stated!

authors: MrtinoRG kjappelbaum

repo: lamalab-org/chem-bench