Failed to rotate certificates: can't find old certificates, requeuing

Rancher Server Setup

Rancher version:2.5.8
Installation option (Docker install/Helm Chart):Docker install

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):

Proxy/Cert Details:

Information about the Cluster

Kubernetes version:v1.19.4
Cluster Type (Local/Downstream):Local

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider):

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

If custom, define the set of permissions:
Admin

Describe the bug

when i   rotate certificates
2022/03/04 04:29:01 [INFO] [hosts] Cleaning up host [<IP_ADDRESS>]
2022/03/04 04:29:01 [INFO] [hosts] Cleaning up host [<IP_ADDRESS>]
2022/03/04 04:29:01 [INFO] [hosts] Cleaning up host [<IP_ADDRESS>]
2022/03/04 04:29:01 [INFO] [hosts] Running cleaner container on host [<IP_ADDRESS>]
2022/03/04 04:29:01 [INFO] [hosts] Cleaning up host [<IP_ADDRESS>]
2022/03/04 04:29:01 [INFO] [hosts] Running cleaner container on host [<IP_ADDRESS>]
2022/03/04 04:29:01 [INFO] [hosts] Cleaning up host [<IP_ADDRESS>]
2022/03/04 04:29:01 [INFO] [hosts] Cleaning up host [<IP_ADDRESS>]
2022/03/04 04:29:01 [INFO] [hosts] Running cleaner container on host [<IP_ADDRESS>]
2022/03/04 04:29:01 [INFO] Image [rancher/rke-tools:v0.1.66] exists on host [<IP_ADDRESS>]
2022/03/04 04:29:01 [INFO] Image [rancher/rke-tools:v0.1.66] exists on host [<IP_ADDRESS>]
2022/03/04 04:29:01 [INFO] Image [rancher/rke-tools:v0.1.66] exists on host [<IP_ADDRESS>]
2022/03/04 04:29:01 [INFO] Starting container [kube-cleaner] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:01 [INFO] Starting container [kube-cleaner] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:01 [INFO] Starting container [kube-cleaner] on host [<IP_ADDRESS>], try #1
E0304 04:29:01.737695      30 leaderelection.go:325] error retrieving resource lock kube-system/cloud-controller-manager: endpoints "cloud-controller-manager" is forbidden: User "k3s-cloud-controller-manager" cannot get resource "endpoints" in API group "" in the namespace "kube-system"
2022/03/04 04:29:01 [INFO] [kube-cleaner] Successfully started [kube-cleaner] container on host [<IP_ADDRESS>]
2022/03/04 04:29:01 [INFO] Waiting for [kube-cleaner] container to exit on host [<IP_ADDRESS>]
2022/03/04 04:29:01 [INFO] Container [kube-cleaner] is still running on host [<IP_ADDRESS>]: stderr: [], stdout: []
2022/03/04 04:29:02 [INFO] [kube-cleaner] Successfully started [kube-cleaner] container on host [<IP_ADDRESS>]
2022/03/04 04:29:02 [INFO] Waiting for [kube-cleaner] container to exit on host [<IP_ADDRESS>]
2022/03/04 04:29:02 [INFO] [kube-cleaner] Successfully started [kube-cleaner] container on host [<IP_ADDRESS>]
2022/03/04 04:29:02 [INFO] Waiting for [kube-cleaner] container to exit on host [<IP_ADDRESS>]
2022/03/04 04:29:02 [INFO] Container [kube-cleaner] is still running on host [<IP_ADDRESS>]: stderr: [], stdout: []
2022/03/04 04:29:02 [INFO] Container [kube-cleaner] is still running on host [<IP_ADDRESS>]: stderr: [find: /etc/kubernetes/.tmp: Resource busy
], stdout: []
2022/03/04 04:29:02 [INFO] Waiting for [kube-cleaner] container to exit on host [<IP_ADDRESS>]
2022/03/04 04:29:02 [INFO] [hosts] Removing cleaner container on host [<IP_ADDRESS>]
2022/03/04 04:29:02 [INFO] Removing container [kube-cleaner] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:02 [INFO] [hosts] Removing dead container logs on host [<IP_ADDRESS>]
2022/03/04 04:29:02 [INFO] Image [rancher/rke-tools:v0.1.66] exists on host [<IP_ADDRESS>]
2022/03/04 04:29:03 [INFO] Waiting for [kube-cleaner] container to exit on host [<IP_ADDRESS>]
2022/03/04 04:29:03 [INFO] Waiting for [kube-cleaner] container to exit on host [<IP_ADDRESS>]
2022/03/04 04:29:03 [INFO] [hosts] Removing cleaner container on host [<IP_ADDRESS>]
2022/03/04 04:29:03 [INFO] Removing container [kube-cleaner] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:03 [INFO] [hosts] Removing cleaner container on host [<IP_ADDRESS>]
2022/03/04 04:29:03 [INFO] Removing container [kube-cleaner] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:03 [INFO] [hosts] Removing dead container logs on host [<IP_ADDRESS>]
2022/03/04 04:29:03 [INFO] Image [rancher/rke-tools:v0.1.66] exists on host [<IP_ADDRESS>]
2022/03/04 04:29:03 [INFO] [hosts] Removing dead container logs on host [<IP_ADDRESS>]
2022/03/04 04:29:03 [INFO] Image [rancher/rke-tools:v0.1.66] exists on host [<IP_ADDRESS>]
2022/03/04 04:29:03 [INFO] Starting container [rke-log-cleaner] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:03 [INFO] Starting container [rke-log-cleaner] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:03 [INFO] Starting container [rke-log-cleaner] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:03 [INFO] [cleanup] Successfully started [rke-log-cleaner] container on host [<IP_ADDRESS>]
2022/03/04 04:29:03 [INFO] Removing container [rke-log-cleaner] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:03 [INFO] [cleanup] Successfully started [rke-log-cleaner] container on host [<IP_ADDRESS>]
2022/03/04 04:29:03 [INFO] Removing container [rke-log-cleaner] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:03 [INFO] [cleanup] Successfully started [rke-log-cleaner] container on host [<IP_ADDRESS>]
2022/03/04 04:29:03 [INFO] Removing container [rke-log-cleaner] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:03 [INFO] [remove/rke-log-cleaner] Successfully removed container on host [<IP_ADDRESS>]
2022/03/04 04:29:03 [INFO] [hosts] Successfully cleaned up host [<IP_ADDRESS>]
2022/03/04 04:29:04 [INFO] [remove/rke-log-cleaner] Successfully removed container on host [<IP_ADDRESS>]
2022/03/04 04:29:04 [INFO] [hosts] Successfully cleaned up host [<IP_ADDRESS>]
2022/03/04 04:29:04 [INFO] [remove/rke-log-cleaner] Successfully removed container on host [<IP_ADDRESS>]
2022/03/04 04:29:04 [INFO] [hosts] Successfully cleaned up host [<IP_ADDRESS>]
2022/03/04 04:29:04 [INFO] [etcd] Restoring [c-gmgd5-rl-d69kl_2022-03-01T11:18:44Z] snapshot on etcd host [<IP_ADDRESS>]
2022/03/04 04:29:04 [INFO] Image [rancher/coreos-etcd:v3.4.13-rancher1] exists on host [<IP_ADDRESS>]
2022/03/04 04:29:04 [INFO] Starting container [etcd-restore] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:04 [INFO] [etcd] Successfully started [etcd-restore] container on host [<IP_ADDRESS>]
2022/03/04 04:29:04 [INFO] Waiting for [etcd-restore] container to exit on host [<IP_ADDRESS>]
2022/03/04 04:29:04 [INFO] Container [etcd-restore] is still running on host [<IP_ADDRESS>]: stderr: [], stdout: []
E0304 04:29:04.603776      30 leaderelection.go:325] error retrieving resource lock kube-system/cloud-controller-manager: endpoints "cloud-controller-manager" is forbidden: User "k3s-cloud-controller-manager" cannot get resource "endpoints" in API group "" in the namespace "kube-system"
2022/03/04 04:29:05 [INFO] Waiting for [etcd-restore] container to exit on host [<IP_ADDRESS>]
2022/03/04 04:29:05 [INFO] Removing container [etcd-restore] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:05 [INFO] [etcd] Removing snapshot [c-gmgd5-rl-d69kl_2022-03-01T11:18:44Z] from host [<IP_ADDRESS>]
2022/03/04 04:29:05 [INFO] Image [rancher/rke-tools:v0.1.74] exists on host [<IP_ADDRESS>]
2022/03/04 04:29:05 [INFO] Starting container [etcd-remove-snapshot] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:06 [INFO] [etcd] Successfully started [etcd-remove-snapshot] container on host [<IP_ADDRESS>]
2022/03/04 04:29:06 [INFO] Waiting for [etcd-remove-snapshot] container to exit on host [<IP_ADDRESS>]
2022/03/04 04:29:06 [INFO] Container [etcd-remove-snapshot] is still running on host [<IP_ADDRESS>]: stderr: [], stdout: []
2022/03/04 04:29:07 [INFO] Waiting for [etcd-remove-snapshot] container to exit on host [<IP_ADDRESS>]
2022/03/04 04:29:07 [INFO] Removing container [etcd-remove-snapshot] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:07 [INFO] [etcd] Restoring [c-gmgd5-rl-d69kl_2022-03-01T11:18:44Z] snapshot on etcd host [<IP_ADDRESS>]
2022/03/04 04:29:07 [INFO] Image [rancher/coreos-etcd:v3.4.13-rancher1] exists on host [<IP_ADDRESS>]
2022/03/04 04:29:07 [INFO] Starting container [etcd-restore] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:07 [INFO] [etcd] Successfully started [etcd-restore] container on host [<IP_ADDRESS>]
2022/03/04 04:29:07 [INFO] Waiting for [etcd-restore] container to exit on host [<IP_ADDRESS>]
2022/03/04 04:29:07 [INFO] Container [etcd-restore] is still running on host [<IP_ADDRESS>]: stderr: [], stdout: []
E0304 04:29:08.699355      30 leaderelection.go:325] error retrieving resource lock kube-system/cloud-controller-manager: endpoints "cloud-controller-manager" is forbidden: User "k3s-cloud-controller-manager" cannot get resource "endpoints" in API group "" in the namespace "kube-system"
2022/03/04 04:29:08 [INFO] Waiting for [etcd-restore] container to exit on host [<IP_ADDRESS>]
2022/03/04 04:29:08 [INFO] Container [etcd-restore] is still running on host [<IP_ADDRESS>]: stderr: [{"level":"info","ts":1646368148.9020076,"caller":"snapshot/v3_snapshot.go:309","msg":"restored snapshot","path":"/opt/rke/etcd-snapshots/c-gmgd5-rl-d69kl_2022-03-01T11:18:44Z","wal-dir":"/opt/rke/etcd-snapshots-restore/member/wal","data-dir":"/opt/rke/etcd-snapshots-restore/","snap-dir":"/opt/rke/etcd-snapshots-restore/member/snap"}
], stdout: []
2022/03/04 04:29:09 [INFO] Waiting for [etcd-restore] container to exit on host [<IP_ADDRESS>]
2022/03/04 04:29:09 [INFO] Container [etcd-restore] is still running on host [<IP_ADDRESS>]: stderr: [{"level":"info","ts":1646368148.9020076,"caller":"snapshot/v3_snapshot.go:309","msg":"restored snapshot","path":"/opt/rke/etcd-snapshots/c-gmgd5-rl-d69kl_2022-03-01T11:18:44Z","wal-dir":"/opt/rke/etcd-snapshots-restore/member/wal","data-dir":"/opt/rke/etcd-snapshots-restore/","snap-dir":"/opt/rke/etcd-snapshots-restore/member/snap"}
], stdout: []
2022/03/04 04:29:10 [INFO] Waiting for [etcd-restore] container to exit on host [<IP_ADDRESS>]
2022/03/04 04:29:10 [INFO] Removing container [etcd-restore] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:10 [INFO] [etcd] Removing snapshot [c-gmgd5-rl-d69kl_2022-03-01T11:18:44Z] from host [<IP_ADDRESS>]
2022/03/04 04:29:10 [INFO] Image [rancher/rke-tools:v0.1.74] exists on host [<IP_ADDRESS>]
E0304 04:29:11.031431      30 leaderelection.go:325] error retrieving resource lock kube-system/cloud-controller-manager: endpoints "cloud-controller-manager" is forbidden: User "k3s-cloud-controller-manager" cannot get resource "endpoints" in API group "" in the namespace "kube-system"
2022/03/04 04:29:11 [INFO] Starting container [etcd-remove-snapshot] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:11 [INFO] [etcd] Successfully started [etcd-remove-snapshot] container on host [<IP_ADDRESS>]
2022/03/04 04:29:11 [INFO] Waiting for [etcd-remove-snapshot] container to exit on host [<IP_ADDRESS>]
2022/03/04 04:29:11 [INFO] Container [etcd-remove-snapshot] is still running on host [<IP_ADDRESS>]: stderr: [], stdout: []
2022/03/04 04:29:12 [INFO] Waiting for [etcd-remove-snapshot] container to exit on host [<IP_ADDRESS>]
2022/03/04 04:29:12 [INFO] Removing container [etcd-remove-snapshot] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:12 [INFO] [etcd] Restoring [c-gmgd5-rl-d69kl_2022-03-01T11:18:44Z] snapshot on etcd host [<IP_ADDRESS>]
2022/03/04 04:29:12 [INFO] Image [rancher/coreos-etcd:v3.4.13-rancher1] exists on host [<IP_ADDRESS>]
2022/03/04 04:29:13 [INFO] Starting container [etcd-restore] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:13 [INFO] [etcd] Successfully started [etcd-restore] container on host [<IP_ADDRESS>]
2022/03/04 04:29:13 [INFO] Waiting for [etcd-restore] container to exit on host [<IP_ADDRESS>]
2022/03/04 04:29:13 [INFO] Container [etcd-restore] is still running on host [<IP_ADDRESS>]: stderr: [], stdout: []
E0304 04:29:14.256098      30 leaderelection.go:325] error retrieving resource lock kube-system/cloud-controller-manager: endpoints "cloud-controller-manager" is forbidden: User "k3s-cloud-controller-manager" cannot get resource "endpoints" in API group "" in the namespace "kube-system"
2022/03/04 04:29:14 [INFO] Waiting for [etcd-restore] container to exit on host [<IP_ADDRESS>]
2022/03/04 04:29:14 [INFO] Removing container [etcd-restore] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:14 [INFO] [etcd] Removing snapshot [c-gmgd5-rl-d69kl_2022-03-01T11:18:44Z] from host [<IP_ADDRESS>]
2022/03/04 04:29:14 [INFO] Image [rancher/rke-tools:v0.1.74] exists on host [<IP_ADDRESS>]
2022/03/04 04:29:14 [INFO] Starting container [etcd-remove-snapshot] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:15 [INFO] [etcd] Successfully started [etcd-remove-snapshot] container on host [<IP_ADDRESS>]
2022/03/04 04:29:15 [INFO] Waiting for [etcd-remove-snapshot] container to exit on host [<IP_ADDRESS>]
2022/03/04 04:29:15 [INFO] Container [etcd-remove-snapshot] is still running on host [<IP_ADDRESS>]: stderr: [], stdout: []
I0304 04:29:16.211032      30 topology_manager.go:221] [topologymanager] RemoveContainer - Container ID: 46f5a693bba770d4e7603ece3e0b9225257eec6379e405591e1ae6d21a0890b9
2022/03/04 04:29:16 [INFO] Waiting for [etcd-remove-snapshot] container to exit on host [<IP_ADDRESS>]
2022/03/04 04:29:16 [INFO] Removing container [etcd-remove-snapshot] on host [<IP_ADDRESS>], try #1
2022/03/04 04:29:16 [INFO] Initiating Kubernetes cluster
2022/03/04 04:29:16 [INFO] Rotating Kubernetes cluster certificates
2022/03/04 04:29:16 [INFO] kontainerdriver rancherkubernetesengine stopped
2022/03/04 04:29:16 [ERROR] error syncing 'c-gmgd5': handler cluster-deploy: Get "https://<IP_ADDRESS>:6443/apis/apps/v1/namespaces/cattle-system/daemonsets/cattle-node-agent": dial tcp <IP_ADDRESS>:6443: connect: connection refused, handler cluster-provisioner-controller: Failed to rotate certificates: can't find old certificates, requeuing

To Reproduce
After my webhook certificate expired I didn't check the documentation and rotate certificates by mistake
Result
All the etcd's hanged, rejoining the etcd's also failed, and the cluster is inaccessible
Expected Result

stop rotate certificates or rotate certificates success
Screenshots

Additional context

I have the same problem.How to solve this problem


Order of installed versions when running nvm list

My Environment

[ ] Windows 7 or below (not truly supported due to EOL - see wiki for details)

[ ] Windows 8

[ ] Windows 8.1

[x] Windows 10

[ ] Windows 10 IoT Core

[ ] Windows Server 2012

[ ] Windows Server 2012 R2

[ ] Windows Server 2016

[x] My Windows installation is non-English.

I have already...

[x] read the README to be aware of npm gotchas & antivirus issues.
[x] reviewed the wiki to make sure my issue hasn't already been resolved.
[x] verified I'm using an account with administrative privileges.
[x] searched the issues (open and closed) to make sure this isn't a duplicate.
[x] made sure this isn't a question about how to use NVM for Windows, since gitter is used for questions and comments.

My issue is related to (check only those which apply):

[ ] settings.txt
[ ] proxy support
[ ] 32 or 64 bit support

Expected Behavior
When I use the command nvm list I expect to have the installed versions sorted from more recent to the past ones.
For example:
  * 6.10.1 (Currently using 64-bit executable)
    6.10.0
    6.9.2
    6.9.1
    6.8.0
    5.12.0
    4.2.3

Actual Behavior
What I actually get is:
    6.9.2
    6.9.1
    6.8.0
  * 6.10.1 (Currently using 64-bit executable)
    6.10.0
    5.12.0
    4.2.3

Steps to reproduce the problem:

Install, for example, versions 6.9.2, 6.10.1 and 5.12.0
Run nvm list

Seems like the versions are ordered alphabetically, and not with the SEMVER logic.

Does this always happen, or does the list change when you run nvm ls multiple times?

Seems to happen always, just tried and always got the same error.

OK - this is definitely strange. I've marked it for further exploration.

Same thing for me:
    6.9.4
    6.5.0
    5.9.1
    4.4.5
    0.8.0
    0.7.0
    0.10.32
  * 0.10.12 (Currently using 64-bit executable)

Still having the issue:

Updated from version 1.1.3 just installing and overwritting.

I found the culprit and fixed it, as shown below. However; since I just released 1.1.5 a few hours ago (and since this is not a critical issue), I will wait until the next release to publish it.

In the meantime, it is available in the master branch.

Cool! :)


Reorg on last block of voting cycle causes inconsistent state for expiring proposals

Some proposal state changes cannot be reversed when invalidating a block. Reversing a proposal state change that was originally :

from ACCEPTED -> EXPIRED will change it to NIL instead. This proposal could possibly be reaccepted locally by the node.
from ACCEPTED -> PENDING_VOTING_PREQ will be stuck as PENDING_VOTING_PREQ. The payment requests will persist even if invalidating the block they were created.

It does not affect payment requests because they only ever transition from NIL to the other states.
Replication steps on regtest:

Create proposal and accept it.
(Optionally) create a payment request for this proposal.
Let the proposal expire.
Move to the end of the voting cycle
Invalidate the blocks at the end of the voting cycle.

In main.cpp CountVotes(), I think these conditional statements at lines 3994 and 4085 will never be entered:
                if((!prequest.IsExpired() && prequest.fState == CFund::EXPIRED) ||
                        (!prequest.IsRejected() && prequest.fState == CFund::REJECTED)){
                    prequest.fState = CFund::NIL;
                    prequest.blockhash = uint256();
                    fUpdate = true;
                }
                if(!prequest.IsAccepted() && prequest.fState == CFund::ACCEPTED) {
                    prequest.fState = CFund::NIL;
                    prequest.blockhash = uint256();
                    fUpdate = true;
                }

                if((!proposal.IsExpired(pindexNew->GetBlockTime()) && (proposal.fState == CFund::EXPIRED || proposal.fState == CFund::PENDING_VOTING_PREQ)) ||
                   (!proposal.IsRejected() && proposal.fState == CFund::REJECTED)){
                    proposal.fState = CFund::NIL;
                    proposal.blockhash = uint256();
                    fUpdate = true;
                }
                if(!proposal.IsAccepted() && (proposal.fState == CFund::ACCEPTED || proposal.fState == CFund::PENDING_FUNDS)) {
                    proposal.fState = CFund::NIL;
                    proposal.blockhash = uint256();
                    fUpdate = true;
                }

If a proposal/preq has fState == EXPIRED, it also triggers IsExpired().
If a proposal/preq has fState == ACCEPTED or fState == REJECTED, it has recorded nVotesYes and nVotesNo to get to this state. So they will always trigger IsAccepted() and IsRejected() respectively. The only time they do not trigger IsAccepted() or IsRejected() is midway through or at the start of a voting cycle.
This branch is only entered in the last block of each voting cycle, i.e. (nHeight + 1) % nBlocksPerVotingCycle == 0, so we never reach these statements midway through or at the start of a voting cycle.
When invalidating a block, we only enter these conditional statements in CountVotes() when disconnecting the last block of each voting cycle, i.e. when (nHeight) % nBlocksPerVotingCycle == 0 because CountVotes() is called on pindexDelete->pprev which triggers (nHeight + 1) % nBlocksPerVotingCycle == 0. So when invalidating blocks, I think CountVotes() does not ever update the fState.

The only place where fStates are updated for invalidating a block are in DisconnectTip() lines 3688 and 3706:
           if(prequest.blockhash == pindexDelete->GetBlockHash()) {
                prequest.blockhash = uint256();
                prequest.fState = CFund::NIL;

           if(proposal.blockhash == pindexDelete->GetBlockHash()) {
                proposal.blockhash = uint256();
                proposal.fState = CFund::NIL;

Which are invoked on (nHeight + 1) % nBlocksPerVotingCycle == 0 because these blocks are where blockhash is recorded.
This means invalidating a block which is prequest.blockhash or proposal.blockhash will change the fState to NIL. For proposals with fState == PENDING_VOTIING_PREQ, it will not be changed to NIL in DisconnectTip() because the proposal.blockhash recorded is from when the proposal was first accepted.  I think fStates will not be changed any other way when invalidating a block.

Same issue for proposals which transition from:

PENDING_FUNDS -> ACCEPTED
PENDING_VOTING_PREQ -> EXPIRED

Trying to reverse these transitions will set the fState to NIL.

@marcus290 is this still an issue?

@aguycalled is this still an issue on 5.0? I'm assuming no 👍

its fixed


[ESM] Convert most of test-folder to use standard modules

Edit: To my surprise, this actually seems to work :-)

/botio test

Looks good!


Nuki Opener options: ledEnabled, buttonEnabled, soundLevel not working

Recent user of this nuki_hub development (a great one, indeed!) and really excited with my new Opener, this, and its HA integration without Nuki Bridge!
Raised this case because although I can see the nukiopener/configuration/buttonEnabled, nukiopener/configuration/ledEnabled and nukiopener/configuration/soundLevel topics they don't seem to work:

If using App I enable/disable the opener LED, its status is not updated into MQTT. The other way around also happens: If I toggle the HA led_enabled switch, nothing happens neither in the Opener nor the App
Similarly with soundLevel: no matter at which level I set the sound slider in the app, it isn't synched with MQTT topic
Finally, regarding the 'buttonEnabled' option I'm not quite sure which are its expected values. In the App I could set different options depending on 1x (singleButtonPressAction) or 2x (doubleButtonPressAction) button press

So, I'm just wondering: Are those topics expected to be working (thus I'm facing a bug) or maybe they are still work in progress and it is the expected behaviour?
I've seen this api web https://api.nuki.io/#/Smartlock/SmartlockOpenerAdvancedConfigResource_post_post
and those parameters (and others, like enable/disable the doorbell supression, the electricStrikeDelay) seem to be suitable to be modified somehow. But not sure if this development uses that Nuki Web API or another method to communicate with the Opener.
Thank you in advance

Hi,
Those nodes represent what is referred to as "Configuration" in the API. If you update them from one device (e. g. Smartphone), other devices (e. g. NUKI Hub) don't know that these values have changed. There's no mechanism (unlike for the  lockstate) to notify other devices that there was a configuration change. NUKI Hub polls the configuration in intervals, you can configure the interval under "Advanced NUKI Configuration", "Query interval configuration".
So if you set the interval for example to 30 minutes, in the worst case it can take 30 minutes for NUKI Hubs to update those nodes if you've updated the configuration via the smartphone.
I'm not sure about buttonEnabled. The API documentation only specifies it as a boolean value, on or off, I'd need to further investigate this (see https://developer.nuki.io/page/nuki-opener-api-1/7/). This could also be a copy/paste error, because the documentation has been copied from the smartlock docs, and some things haven't been updated properly.
Making the doorbell suppression configurable via MQTT is actually a good idea, I'll look into it.

Thank you very much for the explanation. Really appreciated!! 🙌
I didn't know the synchronization APP <-> MQTT was based on a polling process. Reduced the "Query interval configuration" to 5 minutes and I'm able to see the changes done in the app (the sound level) reflected in MQTT/HA and viceversa (enable LED through MQTT/APP and eventually it is reflected in the app too).
It will be really appreciated if new functions available in the app (configuration of button, doorbell supression, opening delay...) will be available in the future. If tested will be needed, I can help on that if needed :-)


fix(roof_removal): roof removed in camelot castle

Closes https://github.com/runelite/runelite/issues/14160
Roof added in overrides.jsonc

Added in 5723c397a74a2c3c2d4108e97c4b2ec8a9c211c4


Connection issue to redis deployed in k8s

Summary
Connection issue to redis deployed in k8s.
Relevant information
I have setup a redis-sentinel database using bitnami/redis helm chart. However, on connecting to it, it always say plugin health check failed. No helpful logs as well to debug this issue.

Hello @benjie91. Thank you for submitting the issue.
You should be able to see the connection errors in the grafana log:
grafana    | t=2020-08-13T05:55:52+0000 lvl=eror msg="Metric request error" logger=context userId=0 orgId=1 uname= error="rpc error: code = Unknown desc = dial tcp <IP_ADDRESS>:6379: connect: connection refused" remote_addr=<IP_ADDRESS>

Have you tried to connect to Sentinel port 26379 or to Redis port 6379? Datasource supports only Redis connection. Sentinel and Cluster API will be introduced in upcoming versions.

Yep I had checked the log messages and it mentioned:
... uname=admin error="Failed to check plugin health: Health check failed"
My connection string is as follow: redis://xxx-redis-master-0.conan-redis-headless.xxx.svc.cluster.local:26379/0
I have also tried the redis port but the result is still the same.
If you need more info, my grafana instance is also deployed on kubernetes and they are able to talk to each other as I tried pinging the redis url too from the grafana instance. Other things that I have tried include portforwarding the redis port to my local computer and using localhost to connect too in case the connection is made from my computer instead of the server.

@benjie91 Port 26379 is Sentinel port and it's not supported in the current version.
Sometimes, Grafana after failed health-check got stuck and may not accept the new URL parameter. Could you please try recreate Datasource as redis://xxx-redis-master-0.conan-redis-headless.xxx.svc.cluster.local:6379/0 and check the log files.
Is it the correct link I can follow to install and try the bitnami/Redis helm chart? https://docs.bitnami.com/tutorials/deploy-redis-sentinel-production-cluster/.
Also, just want to confirm that your are using Grafana 7.X.

Yes! You can follow that link. I have tried connecting directly to the master redis which is 6379 and the log message is still the same as before.

@benjie91 Thank you. I will follow the link and will try to reproduce tomorrow.

Hello @benjie91. I was able to successfully connect to Redis port 6379 when forwarded port using this command
kubectl port-forward svc/SVC-NAME PORT:PORT

Did you provide a password when configured Data source? There was no correct error message displayed when the PING command failed, which is now fixed in master. You can try to build datasource following https://github.com/RedisTimeSeries/grafana-redis-datasource/blob/master/BUILD.md instructions to see if master will work for you. Meanwhile, I will add Sentinel support.

I was able to resolve the issue. It was not related to the connection but rather because when I copied the plugin into the grafana plugin directory, I did not change the permission the redis driver to executable. It took a while for me to troubleshoot.
chmod +x redis-datasource_linux_amd64
Thanks for your help and great work. Let's close the issue! =)

@benjie91 Thank you for the update.
I will keep it open to add Sentinel support in the upcoming version.

@benjie91 Sentinel supported in the upcoming version 1.2.0 and it's available to test in master.
Please follow BUILD instruction if you would like to try it.


Select date via the slot id instead of relying on submitted date string

This commit selects the correct date via the submitted slot id instead of the submitted date.
One thing I've noticed by making this change is that it means if a date is selected without a slot on that day being selected, it will assume nothing has been selected and revert to the first available date/timeslot.
@Mark-H what is your preferred behaviour for this? (I'm undecided so far...)
If a date is selected without a timeslot, should it select the first timeslot on that particular day,
OR should it require a timeslot be selected no matter what and show some kind of a validation notice to the customer?
Issue #7

I'm okay with requiring a time slot. The point of #7 was that some design choices may result in only the slot being submitted, not the date, so both that use case and the default use case where both are submitted are unaffected. The only affected use case is selecting a date but no slot or a slot from an other date which was invalid before and happy to have that be invalid in the future.

Ah so I think I misunderstood slightly...
This shouldn't be a problem then, as there wouldn't be a date to select in the first place. Clicking on the slot will automatically get the correct date with this change. And I'm about to push through a commit that also keeps the original behaviour if there is a date submitted.


Use th-abstraction

I've switched over a bunch of Template Haskell-heavy libraries recently to depend on th-abstraction, which takes care of the fiddly details of reifying datatypes across multiple versions of GHCs. generic-deriving would also benefit from this, so let's do so.

Fun fact: while in the process of working on this, I discovered a th-abstraction bug: https://github.com/glguy/th-abstraction/issues/46


Use of Route Guards as opposed to in-component Redirects

I'm submitting a
(Check one with "x" from given options)

[ ] Bug report
[x] Feature request

Current behavior

The project allows user to navigate to protected routes and then Redirects to appropriate route based on authentication status.
Expected behavior

The project should make use of Route Guards using CanActivate. This way we will follow the DRY principle of coding

I will like to work on the issue along with the Lazy Loading Modules issue I created @vkartik97 @RishabhJain2018 @Ram81 @yashdusing @Sanji515


Add sqliteshim package

This PR adds sqliteshim package that selects SQLite driver implementation (currently either modernc.org/sqlite or github.com/mattn/go-sqlite3) based on the CGO_ENABLED/GOOS/GOARCH target.

Looks pretty good overall - thanks :+1:

:+1: I will update tests and docs to use the shim. Thanks!

@vmihailenco thanks! I’m already working on tests to use both shim and modernc directly, as well as some minor improvements to cleanup (e.g. asserting no errors in db.Close).

Okay, please pull latest changes so there are no conflicts :)


Yarn Application submitted CDCSOURCE task, connection refused: hadoop01:8083

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
1、Flink配置文件中已经添加rest.bind-port，AM还是去连接rest.port的8083端口，导致应用启动失败。

2、如果将rest.bind-port去掉，AM能连接8083端口成功，应用成功但是solt没有创建，Dinky日志提示No Flink task found, try again in 2 seconds.....
3、Dinky0.7.5+Flink1.16.2+Yarn Application 是成功， Dinky1.0.0.RC+Flink1.17.2或 Flink1.16.2+Yarn Appliction均失败
What you expected to happen
1
How to reproduce
1
Anything else
No response
Version
1.0.0
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

please try 1.0.0.rc3


add no-strict option to install and compile commands

As a follow-up of #3383 a no-strict mode should be added to all commands that currently go through the check path. The name of the option will be --no-deps-check.
When set, the environment check should not result in a failure, only a warning.
It should also be added as an option in the project metadata file.
A non exhaustive list of commands that need to support this:

[ ] inmanta compile
[ ] inmanta export
[ ] inmanta project install
[ ] inmanta project update
[ ] inmanta module install

The option should be clearly documented, including a statement that this might break the behavior of modules. Additionally, suggest using the option when env.check fails.

This ticket is subject to minor change until we've fully decided how to handle these strict checks. If you pick this up, make sure to ask about it on Slack before implementing any details.


fixed issue 130

fixes #130

Coverage increased (+0.4%) to 66.043% when pulling 99cba180c446c6e9dc92c96ebf12b0aa41941535 on retortwm:eh/fix-missing-word into ca4cce167f1613c8a8e8c08283267a3d1758fb37 on Smithay:master.

Thanks!


Use bevy_athmosphere for skydome

https://github.com/JonahPlusPlus/bevy_atmosphere
Blocked by WebGPU stabiliziation because of compute shaders. It would be weird to have a different skydome in Wasm vs native right now.

Edit: Wasm is now irrelevant


Modus Content tree -  Adding a child dynamically does not show expand arrow on the Parent tree item

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have read the contributing guidelines

Describe the issue
Using the example code from the Storybook page for the Actions bar (in plain javascript), with some modifications, dynamically adding a new child item under a node without children does not show the expand arrow immediately.

Identified by Natalia Alegria
Reduced test cases
No response
What operating system(s) are you seeing the problem on?
No response
What browser(s) are you seeing the problem on?
No response
What is the issue regarding ?
@trimble-oss/modus-web-components
What version of npm package are you using ?
No response
Priority
High
What product/project are you using Modus Components for ?
modus
What is your team/division name ?
modus
Are you willing to contribute ?
None
Are you using Modus Web Components in production ?
No response

When we create a child under a component which is a parent the new item comes under this
but when we create it along side a child it is another item under the same branch
Isn't this the expected way?
https://github.com/trimble-oss/modus-web-components/assets/122255626/dfb746c7-5448-4250-b2fa-f1c04bab45b5

Can we get a code snippet that adds the new item as a child instead of a sibling so we can verify how its currently working in this regard?  Possibly a code pen, but can just be pasted here as an example script.

Can we get a code snippet that adds the new item as a child instead of a sibling so we can verify how its currently working in this regard? Possibly a code pen, but can just be pasted here as an example script.

  addButton.addEventListener('buttonClick', () => {
      const nodeId =
        container.querySelectorAll('modus-tree-view-item').length + 1;
      const selectedItems = root.selectedItems;
      if (nodeId) {
        const selectedItemId =
          selectedItems && selectedItems.length > 0 ? selectedItems[0] : null;
        const selectedItemElement = querySelect(selectedItemId);
        const selectedItemParent = selectedItemElement?.parentElement;
        const newNode = document.createElement('modus-tree-view-item');
        newNode.nodeId = nodeId;
        newNode.editable = true;
        const insertParent = selectedItemParent || root;
        const insertBeforeElement =
          selectedItemElement || root.firstElementChild;
        insertBeforeElement.appendChild(newNode);
      }
    });

The code snippet in the storybook for adding a node does insertBefore to the parent node
insertParent.insertBefore(newNode, insertBeforeElement);
the other way to add it as a child is to use appendChild
insertBeforeElement.appendChild(newNode);
in that case the childNode or the new node is getting appended only if the selected node is a parent node already so we cannot convert a node who is not a parent before appending to a parent.
here is codepen to demonstrate the difference
https://codepen.io/Elisha-Sam-Peter-Prabhu/pen/RwmRrwY?editors=1111
(NOTE: The insertParent.insertBefore(newNode, insertBeforeElement); code is commented by default )

@ElishaSamPeterPrabhu Based on your codepen, seems the defect is that we aren't handling the addition of children properly.  That would be what needs to be fixed to resolve this ticket.  If adding a child, it should end up in a state that matches how it would be if it was originally defined that way.

@ElishaSamPeterPrabhu Based on your codepen, seems the defect is that we aren't handling the addition of children properly. That would be what needs to be fixed to resolve this ticket. If adding a child, it should end up in a state that matches how it would be if it was originally defined that way.

Yes, we don't support adding children to the items now.

To resolve, we need to handle a child being added to an item, and updating the parent correctly so they can expand/collapse.

Item has no children, child added, new parent now can expand/collapse
Item has children, all children removed, parent no longer can expand/collapse
Item has children, children added, parent is not affected.


DELIVERY-2627: Enhanced the Doctor CLI to extend the configuration of system catalog elements

Enhanced the Doctor CLI to extend the configuration of system catalog elements.
video: https://share.getcloudapp.com/wbuwzkdJ

@MohdRafiUddin Can you review this? Thanks

Can you add a unit test case for this?

NVM, I thought it's in doctor-core 👍


CLI crash

Describe the bug
The tsr fails after the install as per the instructions.
Your Example Website or App
http://icannotsinceits.cli
Steps to Reproduce the Bug or Issue
From my Vite project:  npx tsr
Expected behavior
A generated ./src/routeTree.gen.ts file.
Instead:
-> % npx tsr
/home/me/react/node_modules/.bin/tsr: 1: /bin: Permission denied
/home/me/react/node_modules/.bin/tsr: 2: README.md: not found
/home/me/react/node_modules/.bin/tsr: 3: README.md: not found
/home/me/react/node_modules/.bin/tsr: 4: Syntax error: "(" unexpected

Screenshots or Videos
No response
Platform

OS: Windows 10 + WSL2
Version: "@tanstack/router-cli": "^0.0.1-beta.29" (latest)

Additional context
Thanks for these great tools 👍 🙇

This may be related to this: https://superuser.com/questions/1445185/bad-permissions-for-sh

Closing it, can't reproduce


Missing Learn.md file

Add Learn.md file as instructed by Gssoc guidelines

Please assign me the issue @subinoybiswas under Gssoc


Incorrect code generated with building library and HMR is enabled

When creating a library using Webpack, the code generated without HMR is as follows -
/* 0 /
/**/ function(module, exports, webpack_require) {
module.exports = __webpack_require__(1);

/***/ },
But with HMR enabled, following code is generated -
/***/ function(module, exports, webpack_require) {
__webpack_require__(1);
__webpack_require__(2);
module.exports = __webpack_require__(75);

/***/ },
As you can see, in the later case module.exports is assigned value returned by HMR function instead of the entry point of the library. So empty object is always returned in this case.

Could you set up a minimal demonstration repo and link to that so it's possible to reproduce this?

I just realized that the problem was in my configuration. This is how I had setup entry in webpack.config.js -
entry :[
'./js/index.js',
webpack-dev-server/client?http://localhost:${serverPort}/,
'webpack/hot/dev-server',
],
This did not create any problems as long as I did not create library. But when I created the library, the last element entry was exported, which is dev-server and which does not export anything.
When I changed the order to -
entry :[
webpack-dev-server/client?http://localhost:${serverPort}/,
'webpack/hot/dev-server',
'./js/index.js',
],
exports from my library worked fine.
So this is not a bug in webpack. Sorry for reporting a false bug.


Updated README to save install to package.json

I updated the documentation to reflect how to save this properly.

Thanks for your PR 🙌

Small contribution, glad to see it pulled in. Could do more. Thinking about creating a couple codepins with examples of different examples.


app: Fix electron external link bug

Currently in the app on windows when application triggers page reload it opens a browser.
The reason is difference in forward and back slashes in the url.
in main.ts startUrl has forward slashes
but when page reloads, it requests a link with backward slashes.
Since windows handles forward slashes just fine, I added a replacement that changes to forward slashes.
Fixes https://github.com/headlamp-k8s/headlamp/issues/1990

Oh and the code that acutally opened the browser is in main.ts:574
    mainWindow.webContents.on('will-navigate', (event, url) => {
      if (url.startsWith(startUrl)) {
        return;
      }
      event.preventDefault();
      shell.openExternal(url);
    });


Each Icon has its JS file in production build?

Hi, I am using unplugin icons with a Sveltekit project. Just did a preview and noticed each icon has its own js file created. There are pages where I use like 50 icons, so that's 50 of these files. Is this the intended behavior?
import {s as u, q as o, r as c, H as v, u as d, b as f, l as w, f as h, v as m, i as x, n as g, w as _} from "./scheduler.C8pNHso9.js";
import {g as p} from "./spread.CN4WR7uZ.js";
import {S as B, i as H} from "./index.TZ6SeM_-.js";
function b(l) {
    let e, a, r = '<path fill="currentColor" d="m4.22 11.29l7.07-7.07a6.01 6.01 0 0 1 8.49 0c2.34 2.34 2.34 6.14 0 8.49l-7.07 7.07c-2.35 2.34-6.15 2.34-8.49 0a6.01 6.01 0 0 1 0-8.49m1.42 1.42a3.98 3.98 0 0 0-1.04 3.86l5.99-5.98l4.24 4.24l3.53-3.54a3.98 3.98 0 0 0 0-5.65a3.98 3.98 0 0 0-5.65 0z"/>', n = [{
        viewBox: "0 0 24 24"
    }, {
        width: "1.2em"
    }, {
        height: "1.2em"
    }, l[0]], i = {};
    for (let t = 0; t < n.length; t += 1)
        i = o(i, n[t]);
    return {
        c() {
            e = c("svg"),
            a = new v(!0),
            this.h()
        },
        l(t) {
            e = d(t, "svg", {
                viewBox: !0,
                width: !0,
                height: !0
            });
            var s = f(e);
            a = w(s, !0),
            s.forEach(h),
            this.h()
        },
        h() {
            a.a = null,
            m(e, i)
        },
        m(t, s) {
            x(t, e, s),
            a.m(r, e)
        },
        p(t, [s]) {
            m(e, i = p(n, [{
                viewBox: "0 0 24 24"
            }, {
                width: "1.2em"
            }, {
                height: "1.2em"
            }, s & 1 && t[0]]))
        },
        i: g,
        o: g,
        d(t) {
            t && h(e)
        }
    }
}
function q(l, e, a) {
    return l.$$set = r=>{
        a(0, e = o(o({}, e), _(r)))
    }
    ,
    e = _(e),
    [e]
}
class S extends B {
    constructor(e) {
        super(),
        H(this, e, q, b, u, {})
    }
}
export {S as P};

This is how I am importing them:
import MdiChevronRight from 'virtual:icons/mdi/chevron-right'

Originally posted by @galaczi in https://github.com/unplugin/unplugin-icons/discussions/372

Yes this is how it works. I would generally recommend CSS icons instead: https://antfu.me/posts/icons-in-pure-css


improve "error, bill bobbinson!" message?

I dropped these in so they'd be very obvious. They are indeed, but I thought while documenting #4 that they'd be a real pain to sort out if they were interleaved with output from multiple concurrent builds...

No longer relevant; these were in overrides which have now been successfully upstreamed to nixpkgs.


Unable to do pip install.

ERROR: Command errored out with exit status 128: git clone -q<EMAIL_ADDRESS>'C:\Users\ROHIT~1.SIN\AppData\Local\Temp\pip-install-i9wahwsy\universal-sentence-encoder' Check the logs for full command output.

I am getting this error whenever I try to install this using pip.

Hi @sourcecode369 can you provide:

the specific command you are giving pip
the logs output (you can use the option --log log.txt and then send the lines where it fails

Thanks

ERROR: Command errored out with exit status 128: git clone -q<EMAIL_ADDRESS>'C:\Users\ROHIT~1.SIN\AppData\Local\Temp\pip-install-x7suv_mn\universal-sentence-encoder' Check the logs for full command output.
I am getting this error, whichever command I try.

pip install https://github.com/MartinoMensio/spacy-universal-sentence-encoder-tfhub/releases/download/xx_use_lg-0.2.0/xx_use_lg-0.2.0.tar.gz#xx_use_lg-0.2.0

Hi @sourcecode369 ,
Probably you had some problems with git ssh cloning.  Since it requires setting up a public key, I switched the dependency of the models to https, so it should now work smoothly. Please run the command for the new release:
pip install https://github.com/MartinoMensio/spacy-universal-sentence-encoder-tfhub/releases/download/xx_use_lg-0.2.1/xx_use_lg-0.2.1.tar.gz\#xx_use_lg-0.2.1

And let me know if this solves your problem.
Martino

Closed because new versions have been released which fix the ssh cloning.


Add pg volume-expansion docs

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


SwitchNode not saving settings when exiting editor

Recently upgraded to V0.14.3 from the previous latest 0.13 latest on RPM based centos server
Switch node does not save any changes to rules when clicking 'Done' and exiting the editor.
The Number of rules are correct
first rule is blank (same as when node is first added)  will not remember any values
Additional rules will remember the values
with all rules the logical operator is always set to ==   if changes will reflect the change until the 'done' button is pushed

screenshot of correct settings before "done" is pushed
http://www.screencast.com/t/a1cLZ0geDLIf

screenshot of results after going back into edit the node after saving
http://www.screencast.com/t/1xYByZsP5x

I have the exact same issue.

What browser are you using? I cannot reproduce this on Chrome or Firefox.

Safari 9.1.1 on OS X 10.11.5 - apologies, I should have put this in the original ticket

Ah ha - Safari, aka, the one I always forget to test with. Yup, recreated it now. Thanks.

I just checked on Firefox and correct saved settings are there, so appears to be saving correctly, just not displaying them correctly on Safari.


ORC-1637: [C++] Port conan recipe from upstream conan center

What changes were proposed in this pull request?
Port conan recipe back from the conan center index.
Why are the changes needed?
To keep it in sync with the upstream.
How was this patch tested?
Tested it locally. This has been tested by the CIs of conan center index.
Was this patch authored or co-authored using generative AI tooling?
No.

Thanks @dongjoon-hyun for the quick review! I'll hold this until the upstream PR https://github.com/conan-io/conan-center-index/pull/22854 has been merged.

Update: upstream PR has been merged and now it is available at https://github.com/conan-io/conan-center-index/tree/master/recipes/orc/all

Feel free to land this whatever branches you need, @wgtmac .

Thanks @dongjoon-hyun! I've merged this and landed it to branch-2.0.


New Theme: Bleach

Theme submission
Link
https://github.com/digivend/bleach-theme
Checks

[x] Contains README.md describing the theme
[x] MIT License
[x] Has theme.toml
[x] all meta data added theme.toml
[x] Contains images/screenshot.png and images/tn.png
[x] Contains exampleSite folder

[x] https://example.com is set as baseURL in exampleSite/config.toml to avoid the abuse of unused domains

Hello @maddeye,
thank you for sharing this theme with the Hugo community.
After reviewing your theme I noticed some issues. To save both of us some time I send you a pull requests that fixes some issues that I had to fix in order to get your theme running. Once merged, your theme would be ready to be added.
With #547 custom content in the exampleSite folder will no longer be used. The content from gohugoio/hugoBasicExample will be used instead. Only the imprint and it's custom template would be a missing feature in the demo, but I guess this is only a minor issue for most users.
Furthermore, I made the logic for displaying content on the homepage a bit more flexible by using the mainSections variable. By default Hugo populates it with the section that have the most content files, i.e. posts. However, users can override this variable in the config file and can decide on the own what shall be included and what not. This way you don't enforce the hardcoded posts type for content.
Furthermore, I disabled the link to the imprint in the footer since this page will not be generated with the hugoBasicExample.
Last but not least I had to fix the formatting of the template logic in the head.html partial. Hugo / the template parser of the Go programming language doesn't seem to like linebreaks in {{ }} as shown here:
{{
  with .Site.Params.foo
}}
...

Hello @digitalcraftsman,
thanks for your fixes. I merged it just now!
In the future i will look more carefull on issues like this.

Your theme should appear soon on Hugo's theme site. Next, I'll promote your theme on Hugo's official Twitter account.


v1.0.0

Need to review docs/readme before merging. Is there anything hidden or spooky we need to know about prior to running a simple npm publish?

Coverage remained the same at 91.861% when pulling 32ed40cb1e50c0b4fd6f4abfb43b1086d282e609 on steveorsomethin:v1.0.0 into 6c973001c515cbc9955b5adc6fcec80c571ab4bf on Netflix:master.

Coverage remained the same at 91.969% when pulling 343de7c14667fdf9b599b97c8f793d857454bee6 on steveorsomethin:v1.0.0 into 63fc76868695d65ab86fc54c90630931cc85412e on Netflix:master.

Coverage decreased (-0.09%) to 91.883% when pulling 343de7c14667fdf9b599b97c8f793d857454bee6 on steveorsomethin:v1.0.0 into 63fc76868695d65ab86fc54c90630931cc85412e on Netflix:master.


A bug occurred when running the code for saycan task

Hi, thanks for your open source project!
The bug occurred when running the command "python predict.py --dataset_name saycan --split test --model_name text002_NL+SL". The below screenshot shows the error information:

I found that this bug is caused by the function "check_goals_equivalence" in the saycan_utils.py file. Could you give me some suggestions to fix this bug?
Thank you in advance!

Updating pddl from 0.1.0 to 0.2.0 can fix this bug.


[BUG]: Unable to mount ReadOnlyMany PVC using CSI driver for PowerFlex

Bug Description
Unable to mount ReadOnlyMany  PVC using CSI-PowerFlex
Error message
time="2024-10-21T09:51:06Z" level=info msg="mount command" args="-t ext4 -o ro /dev/scinib /var/lib/kubelet/plugins/vxflexos.emc.dell.com/disks/2b6e15c75b2ff90f-7ed828f900000025" cmd=mount
time="2024-10-21T09:51:06Z" level=error msg="mount Failed" args="-t ext4 -o ro /dev/scinib /var/lib/kubelet/plugins/vxflexos.emc.dell.com/disks/2b6e15c75b2ff90f-7ed828f900000025" cmd=mount error="exit status 32" output="mount: /var/lib/kubelet/plugins/vxflexos.emc.dell.com/disks/2b6e15c75b2ff90f-7ed828f900000025: wrong fs type, bad option, bad superblock on /dev/scinib, missing codepage or helper program, or other error.\n"

Logs
time="2024-11-04T11:07:43Z" level=info msg="attempting mount to private area" CSIRequestID=31 device=/dev/scinia id=6689fba68522eb0f-7840b2f70000001f privateMount=/var/lib/kubelet/plugins/vxflexos.emc.dell.com/disks/6689fba68522eb0f-7840b2f70000001f target="/var/lib/kubelet/pods/1e913e9d-6a8b-495d-8337-130b59a76d97/volumes/kubernetes.io~csi/k8s-891444da0e/mount" volumePath=/dev/scinia
time="2024-11-04T11:07:43Z" level=warning msg="Unable to check stat of file: /var/lib/kubelet/plugins/vxflexos.emc.dell.com/disks/6689fba68522eb0f-7840b2f70000001f with error: stat /var/lib/kubelet/plugins/vxflexos.emc.dell.com/disks/6689fba68522eb0f-7840b2f70000001f: no such file or directory"
time="2024-11-04T11:07:43Z" level=debug msg="created directory" path=/var/lib/kubelet/plugins/vxflexos.emc.dell.com/disks/6689fba68522eb0f-7840b2f70000001f
time="2024-11-04T11:07:43Z" level=info msg="mount command" args="-t ext4 -o ro /dev/scinia /var/lib/kubelet/plugins/vxflexos.emc.dell.com/disks/6689fba68522eb0f-7840b2f70000001f" cmd=mount
time="2024-11-04T11:07:43Z" level=error msg="mount Failed" args="-t ext4 -o ro /dev/scinia /var/lib/kubelet/plugins/vxflexos.emc.dell.com/disks/6689fba68522eb0f-7840b2f70000001f" cmd=mount error="exit status 32" output="mount: /var/lib/kubelet/plugins/vxflexos.emc.dell.com/disks/6689fba68522eb0f-7840b2f70000001f: wrong fs type, bad option, bad superblock on /dev/scinia, missing codepage or helper program, or other error.\n"
time="2024-11-04T11:07:43Z" level=info msg="Cleaning up private target" CSIRequestID=31 privTgt=/var/lib/kubelet/plugins/vxflexos.emc.dell.com/disks/6689fba68522eb0f-7840b2f70000001f
time="2024-11-04T11:07:43Z" level=info msg="/csi.v1.Node/NodePublishVolume: REP 0031: rpc error: code = Internal desc = error performing private mount: mount failed: exit status 32"
time="2024-11-04T11:07:43Z" level=info msg="mounting arguments: -t ext4 -o ro /dev/scinia /var/lib/kubelet/plugins/vxflexos.emc.dell.com/disks/6689fba68522eb0f-7840b2f70000001f"
time="2024-11-04T11:07:43Z" level=info msg="output: mount: /var/lib/kubelet/plugins/vxflexos.emc.dell.com/disks/6689fba68522eb0f-7840b2f70000001f: wrong fs type, bad option, bad superblock on /dev/scinia, missing codepage or helper program, or other error."

Screenshots
No response
Additional Environment Information
No response
Steps to Reproduce

Create Storage Class
Create ReadOnlyMany PVC

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
    name: pvol
spec:
    accessModes:
      - ReadOnlyMany
    volumeMode: Filesystem
    resources:
        requests:
            storage: 3Gi
    storageClassName: vxflexos

Create Pod to Consume PVC

apiVersion: v1
kind: Pod
metadata:
    name: test-pod
spec:
    containers:
      - name: test
        image: docker.io/centos:latest
        command: [ "/bin/sleep", "3600" ]
        volumeMounts:
          - mountPath: "/data0"
            name: pvol
    volumes:
      - name: pvol
        persistentVolumeClaim:
            claimName: pvol

Expected Behavior
Volume should successfully mount to pod and pod should be running state
CSM Driver(s)
CSI-PowerFlex
Installation Type
Helm/Operator
Container Storage Modules Enabled
No response
Container Orchestrator
OCP/K8s
Operating System
RHEL

link: 29684

Closing this issue because its expected for driver not to mount an empty read-only volume because ReadOnlyMany is intended for volumes with pre-existing data. It only makes sense to read from a volume containing data, so creating an empty read-only volume would simply waste storage space.

Clearing milesestone as this is expected behavior and no-change to the code


How do I move between the two windows?

If I do :split  and get two "windows" then I can move between them by doing CTRL+W but this doesn't seem to work in this case.
Sorry if this is very obvious but I'm relatively new to vim plugins.
thank you

found this response for any future me's who get stuck:

You are supposed to press <C->.

https://vi.stackexchange.com/questions/4919/exit-from-terminal-mode-in-neovim?newreg=5f28dd2145be4315a44ac44ad607c2ee


Implement RRF (Reciprocal rank fusion)

Implement into Lucene<EMAIL_ADDRESS>

See for example https://www.elastic.co/guide/en/elasticsearch/reference/current/rrf.html


GPU not working while training a new model in Colab

When I try to run the available Colab code from this (indexing and search) everything runs smoothly, the GPU also runs properly.
But when I try to train or fine-tune a new model in this colab for some reason the GPU is not working properly (only the RAM is working). Then what should I do?

@RayRama have you managed to run it?
I think the problem might be in Colab resourced allocation.


[Critical Bug] Stuck after uploading a picture

When you upload a picture with githawk, you‘re currently stucked and can‘t close the window.
iOS 13 Beta 4
Githawk 1.28 beta
Sent with GitHawk

Duplicate of #2785.

Oh yes sorry. Closed because of duplicate
Sent with GitHawk


Update engine and Mojo usage

@pylaligand

@tvolkert

This breaks the way we used to mock services.  Going to need some more thought.

is the travis failure real?

is the travis failure real?

Yes.  The mojo update breaks how we mock out Mojo services.  If it's getting in your way, feel free to revert the mojo roll in engine.git.  Otherwise, I'll work out a way to mock services with the new APIs.


Visualiser page error

I've got this sometime I think. Can you try "Ctrl+F5" or test with another browser?


Strip battletech registry data.

BattleTech is currently storing multiple megabyte keys in the registry. This has to go. It's related to analytics, so may be best to just nuke the analytics entirely.
Additionally, the registry data is a common reason people can't play vanilla battletech, due to corrupt data. Moving this to a file will provide users with a simpler cache cleaning method.

see https://github.com/BattletechModders/NewSaveFolder for save game folder redirection (was an ME feature that was extracted since it doesnt work for ModLoader)


Sorry for question Databinding and Viewmodel

How can I use databinding into viewmodel? I mean viewmodel as handler actions and change livedata in actions. Thanks for help.

Check out the basic sample.


map stall margin

Some designers use a stall margin calculated from map values (SMmap). When the PR scalar is not equal to 1 this creates a discrepancy between SMmap and the stall margin calculated with the performance values (SMavail).  T-MATS currently calculates SMavail.  Add in a map calculated SM to match with alternately defined SM.
Alter naming convention to be more intuitive.
SMavail -> SMWp  for stall margin constant flow, performance values
New output -> SMWm for stall margin constant flow, map values.

Updated 3/15/2016
4b111bd262f9d62aeb03a9d57ac011b8cd2c9c53


Screen sharing doesn't work with Teams and Telegram

Application version: 2.6.0
OS: Windows 10, Windows 11

I don't think that it is a certainly a bug. If you use electron with chromium, you just need to add an option to edit permissions for the application. In Chrome it looks like this:
chrome://flags/
chrome://flags/#enable-webrtc-pipewire-capturer = Enabled

It's not so easy. Sorry

#293

Ok, how about this:
Ensure that your BrowserWindow in Electron has WebRTC enabled. This can be done by setting the "webPreferences" option when creating a new BrowserWindow:
`const { app, BrowserWindow } = require('electron');
app.whenReady().then(() => {
const mainWindow = new BrowserWindow({
webPreferences: {
nodeIntegration: true,
webSecurity: false, // This might be necessary for accessing screen-sharing APIs
enableRemoteModule: true, // If using Electron 14 or later
},
});
// Load your application URL
mainWindow.loadURL('your_application_url');
});
`

@AutumnWohlen you are welcomed to introduce the PR


Move staticcheck step to lint job

Motivation
Quicktests recently have often timed out when they should pass or fail quickly to catch easy detectable mistakes (primarily formatting and dependency issues at the moment).
The staticcheck fits well into the lint job with the other linters invoked by golangci-lint (btw. shouldn't staticcheck already be called by golangci-lint? 🤔 ) If the lint job takes longer that's not a big deal; it runs in parallel to most other jobs and unittests take much longer anyway so the overall time for CI won't increase by this.
Changes

Move staticcheck from quicktests job to lint job.
Set new timeouts that should be long enough to avoid being triggered in a normal run.

Test Plan

TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[x] Update documentation as needed

DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

bors merge


the instructions do not work for me

My display is working
dmesg reveals :

hid-generic 0003:0EEF:0005.0001: hiddev0,hidraw0: USB HID v1.10 Device [RPI_TOUCH By ZH851] on usb-20980000.usb-1.2/input0

testing /dev/hidraw0 works fine :

    sudo xxd -c 22 /dev/hidraw0

shows the expected result upon touch.

I build and install tslib as per the instructions, all fine
running ts_test does not work :

    sudo TSLIB_CONFFILE=/etc/ts.conf TSLIB_FBDEVICE=/dev/fb0 ts_test

and yet nothing happens when I touch the screen.

The input device /dev/input/event0 is also non-reactive.

ts_test doesn't work, but touch.py does, so closing this.

Sorry for delay, but I used non-raspi tslib (I had to compile one myself...).
But if work for you then it's fine :)


Do we need to wrap AddEndpointsApiExplorer() and AddSwaggerGen() with IsDevelopment too?

Description
The documentation only wraps UseSwagger() and UseSwaggerUI() with IsDevelopment as follows.
if (app.Environment.IsDevelopment())
{
    app.UseSwagger();
    app.UseSwaggerUI();
}

I am wondering whether we also need to wrap AddEndpointsApiExplorer() and AddSwaggerGen() with IsDevelopment as follows?
if(builder.Environment.IsDevelopment())
{
    builder.Services.AddEndpointsApiExplorer();
    builder.Services.AddSwaggerGen();
}

Page URL
https://learn.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-swashbuckle?view=aspnetcore-8.0&tabs=visual-studio#add-and-configure-swagger-middleware
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/tutorials/getting-started-with-swashbuckle.md
Document ID
59222460-a971-e76e-4fe9-23d4d7d768ee
Article author
@zuckerthoben

Hello! Thanks for contacting us. This sounds like a general question about using ASP.NET Core. While we try to look at and respond to all issues, for questions like this we recommend posting to a community support group like Stack Overflow with the asp.net-core tag.

Stack Overflow
ASP.NET Core Slack
ASP.NET Gitter

Potential bugs in the ASP.NET Core framework and product feedback can be reported at dotnet/aspnetcore issues (include full repro steps and cross-link to a repro project in GH when appropriate). For Visual Studio, use the Report a Problem gesture or Suggest a Feature gesture within VS, which open internal issues for the VS team. For Visual Studio Code, you can open an issue at microsoft/vscode issues.


Windows Defender

After I ran the FLARE VM setup scripts on a new Windows 10 Enterprise VM, many of the malware samples under Practical Malware Analysis Labs / BinaryCollection got quarantined by Windows Defender.
It'd be nice to have the scripts automatically disable Windows Defender, or at least just add a reminder in the documentation about disabling it before running the install scripts.
Thanks, and thank you to the team for putting together a great, easy to setup Malware RE disto!

@anwilli5
Thank you for using Flare VM. Disabling Windows Defender has been mentioned in #8 among disabling other security features on windows. We are working on it.


The name Single User Mode is misleading, you should call it single user connection mode.

The name Single User Mode is misleading, you should call it single user connection mode.

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

ID: b67ab534-229d-f12a-6216-9550d790ea42
Version Independent ID: 529e1ec2-00c5-9c13-1a75-dfc183765aff
Content: Set a Database to Single-user Mode - SQL Server
Content Source: docs/relational-databases/databases/set-a-database-to-single-user-mode.md
Product: sql
GitHub Login: @stevestein
Microsoft Alias: sstein

@rafiksamman1982 Thank you for the suggestion.
Since the syntax for this mode uses the term SINGLE_USER adding the word "connection" might cause confusion for those looking on information to SINGLE_USER vs. 'MULTI_USER` settings, etc.
Please consider moving this issue to the SQL Server forums for product team feedback and further review.


STEP-12: Add controller, service and DTO's for "Lighting information"

Create controller, service and DTO's classes for "Lighting information"
Acceptance criteria:

Controller created
Service created
DTO's created

Implements in https://github.com/EllsaG/power-supply-design/pull/50 pull request.


[swift-runtime] Rename rt_swift_* to swift_rt_*. NFC

Swift uses rt_swift_* functions to call the Swift runtime without using dyld's stubs. These functions are renamed to swift_rt_* to reduce the namespace pollution.
rdar://28706212

@swift-ci Please smoke test

@gparker42 Greg, do you mind reviewing it? Is it what you asked for?

Looks good. I don't much care that the result is swift_rt_swift_whatever.


W-15081432-UpdateCODEOWNERS-23-dm

Writer's Quality Checklist
Before merging your PR, did you:

[ ] Run spell checker
[ ] Run link checker to check for broken xrefs
[ ] Check for orphan files
[ ] Perform a local build and do a final visual check of your content, including checking for:

Broken images
Dead links
Correct rendering of partials if they are used in your content
Formatting issues, such as:

Misnumbered ordered lists (steps) or incorrectly nested unordered lists
Messed up tables
Proper indentation
Correct header levels

[ ] Receive final review and signoff from:

Technical SME
Product Manager
Editor or peer reviewer
Reporter, if this content is in response to a reported issue (internal or external feedback)

[ ] If applicable, verify that the software actually got released

cla:missing error using my user @dmerlob


SecurityError IE11 canvas.toDataURL('image/png')

It works well in chrome and firefox,but in IE11, it throws an exception:SecurityError

Internet Explorer is not supported due to this behavior. I've pushed an update catches the exception.


Fix DLL export of new native operations on Windows

Basically add  __declspec(dllexport) attributes (via ND4J_EXPORT) wherever needed and comment out undefined functions to get nd4j-native with the new presets to build on Windows.

Mind cleaning this up? Can probably merge.


Added new publisher for azure blob storage

Added a python script to publish the universes from Azure blob storage

Of course! Count me in.


PyQt4 broken on Ubuntu

The PyQt4 implementation is broken on Ubuntu 14.04, but I don't necessarily think it's pyperclips fault:
~/ λ python3
Python 3.4.3 (default, Oct 14 2015, 20:28:29)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt4.QtGui import QApplication
>>> QApplication([]).clipboard().setText("test")
[1]    2441 segmentation fault (core dumped)  python3

Either way, I would really prefer it if xclip was prioritized over PyQt4, and/or being able to blacklist implementations in the preference list.

Getting the clipboard to work with PyQt4 on Ubuntu is going to require starting the event loop (e.g. app.exec_). I looked into a few courses of action like running processEvents after each operation, or performing the clipboard operations on another thread using postEvent (for an example, see https://github.com/autokey/autokey/blob/master/src/lib/scripting.py#L793) but wasn't able to find a satisfactory solution before giving up. Hopefully someone more familiar with PyQt on X11 can offer one but it doesn't look promising.

Hi there,
I encounter a similar issue when trying to run PyQt4 on ubuntu 16.04 native Python3.
Check that out (details printed out with the faulthandler):
~$ python3
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.

import faulthandler
faulthandler.enable()
import PyQt4.QtCore
Fatal Python error: Segmentation fault

Current thread 0x00007fd543ee2700 (most recent call first):
File "", line 222 in _call_with_frames_removed
File "", line 906 in create_module
File "", line 577 in module_from_spec
File "", line 666 in _load_unlocked
File "", line 958 in _find_and_load_unlocked
File "", line 969 in _find_and_load
File "", line 1 in
Segmentation fault (core dumped)
This error does not occur when doing the same import on Python2. I need to work with this very version of PyQt4 (4.x, not 5.x) because I need to use the QtCore module.
I am quite new to the tech world so this is very obscure to me, any help would be greatly appreciated :)
Cheers

Any update @chocolateboy ?


GDScript 2.0: Advanced exports don't work

Godot version
v4.0-alpha2
System information
Windows 10 64-bit, GPU: NVIDIA Geforce GTX 1650 Ti, CPU: AMD Ryzen 7 4800H
Issue description
I was doing some stuff in Godot 4 and I realize Advanced exports don't work. While @exports still work, advanced ones with _get_property_list don't. I have no idea why this happens so its probably a bug (unless they changed the syntax since the 4.0 documentation is even less helpful than the 3.x one). I made the code below in the Steps to reproduce section almost compatible with 3.x (You have to replace the first line with tool instead of @tool). And in 3.x it works perfectly.
Please Fix this bug.
Steps to reproduce

Add a Node
Attach a script to the Node
Paste in the following code:

@tool
extends Node

var rotate_enabled: bool = false

func _get_property_list() -> Array:
	var properties: Array = []
	properties.append({
		name = "Rotate",
		type = TYPE_NIL,
		hint_string = "rotate_",
		usage = PROPERTY_USAGE_GROUP | PROPERTY_USAGE_SCRIPT_VARIABLE,
	})
	properties.append({
		name = "rotate_enabled",
		type = TYPE_BOOL,
		usage = PROPERTY_USAGE_DEFAULT,
	})
	return properties

Click on the Node
You can't see any catogories

Minimal reproduction project
No response

Btw it seems that it works if you add a custom category first.
properties.append({
    name = "My Properties",
    type = TYPE_NIL,
    usage = PROPERTY_USAGE_CATEGORY,
})

# ... properties outside of group

properties.append({
    name = "My Group",
    type = TYPE_NIL,
    usage = PROPERTY_USAGE_GROUP,
})

# ... properties in your group

And order does matter.

The more I look at it the more I think my workaround is the appropriate approach.
In your example you are using _get_property_list to add a script variable with the same name as an existing one. The issue is that the var rotate_enabled: bool = false is actually read and parsed as a hidden property already so the second one that you add is ignored as long as it is on the same category level.
I don't see a nicer way of exposing this property that you add in a group except by defining a separate category.

Btw it seems that it works if you add a custom category first.

Thank you, this works. But it should still work without the catergory. But it seems like #58443 fixes this. Can't wait for this to get fixed!


Nested Transitions with tabs animates tabs

If I have nested transitions within tabs, the plugin animates the tabs as well.
Is it possible to adjust the fixedPixelsBottom to prevent this?
Tabs are quite a popular layout for apps, this is a bit of a non-starter for the plugin. Any ideas?

yes using fixedPixelsBottom you should be able to do that.

@shprink can I change it back and forth inside of the controllers?
I would like the pixelBottom to be 0 on some pages, and 44px on others.

Every state can have a different transition:
https://github.com/shprink/ionic-native-transitions#usage
Try a different fixedPixelsBottom  that way and let me know, I have never done that but I should work.

Works great, thanks!


Require psr/log: ^1.0

I don't see any sense of locking to <1.1.0 since it's not major version.
https://github.com/php-fig/log/compare/1.0.2...1.1.0 - no big changes (in fact none at all)
Problem 1
- Installation request for digilist/snakedumper ^0.2.0 -> satisfiable by digilist/snakedumper[v0.2].
- Conclusion: remove psr/log 1.1.0
- Conclusion: don't install psr/log 1.1.0
- digilist/snakedumper v0.2 requires psr/log ~1.0.0 -> satisfiable by psr/log[1.0.0, 1.0.1, 1.0.2].
- Can only install one of: psr/log[1.0.0, 1.1.0].
- Can only install one of: psr/log[1.0.1, 1.1.0].
- Can only install one of: psr/log[1.0.2, 1.1.0].
- Installation request for psr/log (locked at 1.1.0) -> satisfiable by psr/log[1.1.0].

Thank you!


Ubuntu (wsl1 & 2) doesn't support Cargo Build

Summary
user@DESKTOP-54YU45:/mnt/d/Blockchain/Solana/program-rust$ cargo build
Updating crates.io index
Unresolved Issues
Tried to use 'Cargo Build' in Ubuntu wsl on Windows rather than Ubuntu Native System.
But it seems not working properly...?
Future Extensions
No response
About tracking issues
No response

D:\Blockchain\Solana\program-rust>cargo build
Compiling proc-macro2 v1.0.30
Compiling unicode-xid v0.2.2
Compiling syn v1.0.80
Compiling serde_derive v1.0.130
Compiling serde v1.0.130
Compiling typenum v1.14.0
Compiling version_check v0.9.3
Compiling cfg-if v1.0.0
Compiling subtle v2.4.1
Compiling semver-parser v0.7.0
Compiling winapi v0.3.9
Compiling getrandom v0.1.16
Compiling crunchy v0.2.2
Compiling memchr v2.3.4
My Case://

I'm doing the majority of my development on WSL2 at the moment, so it works generally, leaving us to narrow down what is failing in your specific case.
Can you give more detail of what is happening.  Is it hanging while updating the index or something else?   You can see this by running wsl -l -v in a powershell prompt.
Which version of Ubuntu do you have?
Using win10, win11 or something else?

I'm doing the majority of my development on WSL2 at the moment, so it works generally, leaving us to narrow down what is failing in your specific case.
Can you give more detail of what is happening. Is it hanging while updating the index or something else? Can you run with -vv to see if we get extra information

Thanks for your reply.

Millucas as well.

"Not working properly" isn't exactly the most helpful description of the issue, can you tell how it doesn't work more specifically? Or is it just getting stuck at the index? Because that can take a while to download on slower internet connections. :P

I am going to close due to lack of a minimal set of steps to reproduce, and it has been inactive for a while. Feel free to open a new issue if there is any update. Thank you!


monitoring internal network IP exhaustion

This happens on S4L every week. The Network size is too small compared to the number of containers we need to run.
Possible solutions:

drain nodes before removing then [proper solution] @sanderegg
bigger [external] network managed manually
change docker swarm default subnets size
get rid of internal monitoring network

### Tasks
- [ ] https://github.com/ITISFoundation/osparc-simcore/issues/5827
- [ ] https://github.com/ITISFoundation/osparc-ops-environments/pull/674

all tasks implemented


genPrimOpCode output gets blurted to stdout

I just tried running hadrian sdist-ghc and found that this command and several others like it blurted a massive amount of output presumably destined for various generated files to stdout (or perhaps stderr, it's unclear):
/--------------------------------------------------------------------\
| Run GenPrimopCode (stage = Stage1, package = ghc-prim)             |
|      input: _build/stage1/compiler/primops.txt                     |
|  => output: _build/stage1/libraries/ghc-prim/GHC/PrimopWrappers.hs |
\--------------------------------------------------------------------/
{-# LANGUAGE MagicHash, NoImplicitPrelude, UnboxedTuples #-}
module GHC.PrimopWrappers where
import qualified GHC.Prim
import GHC.Tuple ()
import GHC.Prim (Char#, Int#, Word#, Float#, Double#, State#, MutableArray#, Array#, SmallMutableArray#, SmallArray#, MutableByteArray#, ByteArray#, Addr#, StablePtr#, MutableArrayArray#, ArrayArray#, MutVar#, RealWorld, TVar#, MVar#, ThreadId#, Weak#, StableName#, Compact#, BCO#)
{-# NOINLINE gtChar# #-}
gtChar# :: Char# -> Char# -> Int#
gtChar# a1 a2 = (GHC.Prim.gtChar#) a1 a2
...

Oh, I think I screwed up in a recent refactoring. This line is most probably to blame:
https://github.com/snowleopard/hadrian/blob/master/src/Util.hs#L79
I think the cmdEcho shouldn't be there.
@bgamari Can you check if this helps? Thanks!

Indeed that seems to have helped!

@bgamari Thanks, this should be fixed now.


YETUS-1030. Support linecomments in junit

Thanks for the review.  I totally get the tentative +1.  junit, as a format, is a mess. :frowning:


Show today method

I am new of SWIFT, thank your wonderful calendar. I want to know how to show today date and show the month of today instead of the startDate. Thanks you

calendarView.scrollToDate([theDateToStartWith])

Hi,
I put that code into viewDidLoad() method, but it give me a error "Expected expression in list of expression" and tell me I should add ',' to separator, what should I do for this error
Thank you.

Hi me again
I have fixed this problem, anyway thank you for provide a wonderful calendar :)

You are welcome.
Have a good day 🍻


How to update redux-persist data onDelete?

I create the data for the Table then I save it to Redux Persist Store. It displays correctly in the table. But when II delete the entry in the Table and refresh it, won´t update the Redux Persist Store. How to implement that?
Table
<MUIDataTable
              data={mydata}
              columns={columns}
              options={options}
            ></MUIDataTable>

The Reducer
const data = []
const meetingPushReducer = (state = data, action) => {
  console.log(data)
  switch (action.type) {
    case 'Push':
      return [...state, action.newItem]

    default:
      return state
  }
}

Adding the data to the Table
const setItem = function () {
    let newItem = [
      sessionStorage.getItem('1'),
      sessionStorage.getItem('2'),
      sessionStorage.getItem('3'),
      sessionStorage.getItem('4'),
      sessionStorage.getItem('5'),
      sessionStorage.getItem('6'),
      sessionStorage.getItem('7'),

    ]
    dispatch({ type: 'Push', newItem })
    dispatch(increment(1))
  }

See the onRowsDelete option. You can also create your own delete button for the toolbar and handle the update there.

Still don´t know how to do it.

If you create a codesandbox I can take a look.

I basically have only this. The problem is to select the deleted items (from the table) in redux-perist store and delete only these items.


JSON output format for SBOM validation

Currently the output is directly outputted to the terminal directly.
But if you can format the output in a json format ,it would be easy to identify the error and act according to every error cases.
If the sbom-utility cannot support any specific version ,we just want to warn the user that the SBOM validity scan is not supported.But if its an error in SBOM itself, we need to consider it as an issue.
A Sample:

validation : (true/false/not_supported)
Description : [no error/json format error/ schema error]
errorlist:
[ {
type : <>
description : <>
feild : <>
},
{
type : <>
description : <>
feild : <>
}]

It is just an example.Feel free to change the variables,format or even the whole structure as per the requirement.But it would be easy if you provide an efficient way to capture the result.

@MathewsSaiji1 Thanks for submitting this feature request. I will see if I have time to work on this for the next release.

Sure,happy to share my thoughts
From: Matt Rutkowski @.>
Date: Wednesday, 7 June 2023 at 7:59 PM
To: CycloneDX/sbom-utility @.>
Cc: Mathews Saiji1 @.>, Mention @.>
Subject: [EXTERNAL] Re: [CycloneDX/sbom-utility] JSON output format for SBOM validation (Issue #36)
@MathewsSaiji1 Thanks for submitting this feature request. I will see if I have time to work on this for the next release. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned. Message
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
@MathewsSaiji1https://github.com/MathewsSaiji1 Thanks for submitting this feature request. I will see if I have time to work on this for the next release.
—
Reply to this email directly, view it on GitHubhttps://github.com/CycloneDX/sbom-utility/issues/36#issuecomment-1580945198, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A5SHAME5FEPAOYVQ3UBO6I3XKCF23ANCNFSM6AAAAAAYVOOKDM.
You are receiving this because you were mentioned.Message ID: @.***>


Ship a yarn.lock - WIP

For #1551: Tried wrapping my head around this, and I'm stuck on how exactly we can generate a true lockfile since we're not testing a "released" version of react-scripts.
If anyone has a better grip on this than me, I'd love for you to set me straight!

@Timer @gaearon - this is for #1551. Any ideas? I started to look at it and then started to question how exactly we'd be able to generate a true lockfile referencing something that hasn't been released yet.

The yarn.lock will probably need to be handled completely by create-react-app (the CLI). We can probably generate one post-release and attach it to the release, then downloading it on app creation.
I don't think we can just toss it in template because it'd be outdated and not supported by older CLI versions (to update the versions for the release).

Ah okay - I think I get that.
So whoever is releasing it would generate the yarn.lock manually (post-npm run publish) and attach it to the Github release? Is there a good way to link to the downloads of the latest release on GitHub? The releases API is my guess.
Right now it publishes one after another, but I don't suppose there's a good way to release react-scripts and then stick a yarn.lock file in the CLI package before publishing it? That way it wouldn't have to go out and download something - it would already have it from the moment it gets published.

I'm not sure if lerna is pluggable enough to let us do that step without a release of create-react-app after normal release. I'm not sure which would be better. But ideally we'd have a postpublish script that does this automatically.

This is what I have so far. It's a little messy, but I'll clean it up. I think this is sort of what we were getting at, but let me know if you had a different vision for it.
If we're going to download a yarn.lock, we'll also want to download the package.json that goes with it, since we need to make sure what's in the yarn.lock satisfies what's in the package.json.

This might be a problem: https://github.com/yarnpkg/yarn/issues/1435#issuecomment-271383113

Looking at this more, and having sat on it for a while, I'm not sure exactly how we'd go about accomplishing this (even forgetting the optional dependency / platform issue - which is already or is about fixed, I think). Honestly, I think the complexity that it would add (assuming there was an acceptable way of doing it) wouldn't be worth the value added. It can be done, sure, but I don't see a simple solution that I feel comfortable with.
If someone has a specific vision and knows how to accomplish it, I think that would be great, but I don't see this as a good fit as I have it sketched out now. If y'all agree, we can close this. But, if you have some ideas let's talk about it.


Expand explanation of p-adics

The About p-adics page doesn't have much of an explanation. It could be greatly expanded.

Hi, as reader, need some reference about "Where does your notation come from?", and how to build it from mod operator... See https://math.stackexchange.com/q/4741143/70274


Maya: Remove hardcoded requirement for maya/ start for image file prefix

Brief description
This PR is to resolve #3872
This is just a code prototype - I haven't tested this. If someone could, that'd be very appreciated!
Description
This will remove the maya/ requirement from the file prefix and by default moves that behavior into the workspace.mel by adding it into the "images" file rule defining where Maya puts its renders.
Moving it there allowed less logic to be implemented, and also allowing the customization as described in #3872. To NOT render into a maya/ subfolder one would only need to set the "images" file rule to renders instead of renders/maya
Testing notes:

Launch Maya
Submit renders
Ensure renders end up in similar position as before - that is renders/maya/{scene}/{renderlayer}_{renderpass} or alike.

Seems like it gives error when validating the scene before publish of render to deadline

when tried to get rid of "maya/" to just : "//_" also doesnt work and gives different error:

Had another look - so this is what likely is the case:
The creation of a workspace.mel is only done in the code if the workspace.mel does not exist yet - otherwise it's skipped. As such, your workspace 'images' file rule is likely still set to the old setting of the previous workspace.mel definition.
However, a "repair" of the ValidateRenderImageRule plug-in with label Images File Rule (Workspace) should work. That should solve it for those scenes.
For new maya workspaces it should be correct by default.
I've merged with latest develop and removed a 'required prefix' which should allow users to keep the old settings as override on a project if they'd like.

Not sure it its the case because when I ve deleted the workspace.mel (backed up) new one was created at the launch but they were completely same...
however it works normally now...validating, Publish and renders sitting were they should.

Should I test other render prefix situation? or just the above one?
Let me know if not I will Review it as ok.
Thx

Should I test other render render prefixes situation? or just the above one?
Let me know
if not I will Review it as ok.

Please check within a workspace that was previously created before this PR - we'd want as little issues and interuption to existing users as possible. We don't want to break their projects in an annoying way. So at the very least that IF the change of settings requires a repair during validation then that message should be clear to the user AND the repair should work as expected.
Maybe it's also good - just to be sure to check a version with and without AOVs - and maybe with and without merge AOVs. (Just so we have spread a relatively wide testing net)

When testing with this OP Project Settings:

Seems ok too

Also tested with AOVs on and MergeAOV on/off.  All renders being in correct locations.


#1147 Fix switchTo to accept regex

update empty string check
add tests for regex switchTo
update wait for readystate to timeout on navigation timeout instead of default.

Fixes #1147

@NivedhaSenthil Thank you for contributing to taiko. Your pull request has been labeled as a release candidate 🎉🎉.
Merging this PR will trigger a release.
Please bump up the version as part of this PR.
Instructions to bump the version can found at CONTRIBUTING.md
If the CONTRIBUTING.md file does not exist or does not include instructions about bumping up the version, please looks previous commits in git history to see what changes need to be done.

This won't be needed. The verison is alread updated.


Adding new points to Path2D and undoing it breaks scene history

Tested versions
Regression from #86542
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; <IP_ADDRESS>33) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)
Issue description
When you add a new Path2D and add points to it and then undo it, the scene history breaks and you can't do anything until you reload the scene.
Steps to reproduce

Create new scene
Add Path2D
Ctrl + Click somewhere to add points
Undo
The scene is unusable

Minimal reproduction project (MRP)
N/A

I'm getting basically unusable Path2Ds in 4.3dev5, once I add a point to the path they go dead, ex can't add child nodes to Path2D

Not sure if I should make a new issue, but same bug is present in 4.3 stable if you add a point by clicking on the curve with the "select points" tool.

Not sure if I should make a new issue, but same bug is present in 4.3 stable if you add a point by clicking on the curve with the "select points" tool.

Please open a new issue for this, as the cause may be different.


Cannot set startTime on Safari-handled HLS content after loading it again

Have you read the FAQ and checked for duplicate open issues?
Yes, none found
What version of Shaka Player are you using?
3.3.4, 3.3.5
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from main?
Not tested
Are you using the demo app or your own custom app?
Custom App
If custom app, can you reproduce the issue using our demo app?
I guess it cannot be tested (see below for the reason).
What browser and OS are you using?
Safari 15, iOS 15 and MacOS 12.2.1 (see differences below)
For embedded devices (smart TVs, etc.), what model and firmware version are you using?

What are the manifest and license server URIs?

I don't know yet if I can provide one (cause they are owned by our client). I'll provide via mail if needed
What configuration are you using?  What is the output of player.getConfiguration()?

What did you do?

load a (clean for sure) HLS content with startTime not specified or to 0 and leave it go for a few seconds.
unload the content
load the content back again with a startTime

What did you expect to happen?
The content should start from the specified point
What actually happened?

Content starts again from 0

I've investigated a bit what is happening under the hood and it seems like there's kind of race condition issue that happens on Safari iOS but not on Safari MacOS.
My use case is what follows: we load a content and at a certain point we might have an AD midroll. Hence, we unload the content and give Video node control to our AD Provider's SDK.
Then, we give back Video node control to Shaka, by passing to it the latest currentTime as startTime in .load().
.load call is centralized such as:
await this.player.load(content.src, content.startPosition, content.mimeType);

But when this is executed on Safari iOS, the startTime is ignored. Deep diving inside shaka, I've found there's an utility, that is being used, shaka.media.SrcEqualsPlayhead, which gets created everytime the content is loaded.
This class owns these notable things:

Instance variable this.started_
onLoaded(), which gets executed when the media is in ready state and sets this.started_ to true.
setStartTime(startTime) method, which uses this.started_ to update the startTime

In player.js, onSrcEquals_ executes this:
this.playhead_ = new shaka.media.SrcEqualsPlayhead(mediaElement);

...

if (has.startTime != null) {
  this.playhead_.setStartTime(has.startTime);
}

and expects that onLoaded() in SrcEqualsPlayhead will get called asynchronously but it may happen (especially on iOS, but it happened once also on Mac) that the function is called before setStartTime could get called. Therefore startTime setting is ignored.
I guess that onLoaded() could be moved into a Promise that will always resolve asynchronously but I'm not very into the codebase, so I don't know if it could be the right solution.
I'm available for any clarification if needed.
Thank you!

Often you don't know if an event has already fired before you start listening for it.  With media lifecycle events, the readyState attribute tells you what stage you're in, so you can avoid this scenario.  To simplify that, we have the utility shaka.util.MediaReadyState.waitForReadyState().  It calls a callback when a certain ready state is reached.  If it has already been reached, it calls the callback right away.  Otherwise, it waits for the corresponding event.
In the case where the state has already been reached, perhaps the utility should call the callback asynchronously (after a Promise) instead of synchronously before returning.  I think that would solve it by deferring that callback until the next interpreter cycle.
An alternate fix could be to change the Playhead interface.  We could add a separate method to "start" any async or other actions, instead of those being done in the constructor.  Then Player would call the constructor, then setStartTime(), then call "go", or whatever would be an actual good name for the method.  That new method would start timers, event listeners, etc., after all other setup methods had been called.  This way, the timing would be more explicit.
@alexandercerutti, would you be willing to test patches/branches for me to make sure these proposed fixes work?  I don't have an iPhone or Mac available at home to test this.

Here are two possible fixes:

via Promise: https://github.com/joeyparrish/shaka-player/commit/c6d4ce915302f7eae779cf7be13adc650cec3bad
via new method: https://github.com/joeyparrish/shaka-player/commit/d9acbd58f8373b4423fa725443805e89f323626f

I expect both to work, but I think I prefer the addition of the new method.  If that fix works, I think that is the one I'd prefer to merge.

Hey @joeyparrish, thanks for your reply and your possible fixes!
I'm going to test them asap. I'm not quite sure if the best way to test them is by changing the compiled code or to recompile it from scratch and replace compiled.debug.js inside npm dependency in node_modules.
I'm not quite sure how to start in case of compilation. Is there any document I can refer to? I was looking in the repo but I wasn't able to find it. May I also propose to create a Github Wiki with documentation?

Documentation is built from the /docs/ folder and lives in https://shaka-player-demo.appspot.com/docs/api/
Compilation is documented briefly in https://shaka-player-demo.appspot.com/docs/api/tutorial-welcome.html
The short version is:
python build/all.py

Output goes to dist/
I hope that helps!

Thanks @joeyparrish!
I tried to compile both solutions (but yet I have to test them, I'll do as soon as my test iPhone will have enough charge 😝).
Promise solution built correctly, but the other one failed with this error:

I don't know, I was testing with my work custom application which compiles with Webpack 4. What's weird is that if I try to compile Promise fix, Webpack will output invalid characters:
u
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js")))ndefinedundefinedundefinedundefinedundefined

I don't actually know the reason.
I'll have to setup a custom project, hoping that this issue won't also happen in the next version with this fix (if you'll decide to use Promise version or if the issue will also happen with the other solution).

@joeyparrish can you review the last comment?

@joeyparrish do you have any news about this? This is blocking a more-than-actual production issue (and report) on our product. Should I open a Pull Request? I'd be happy to. If so, against which branch?

Any PR are welcome! Always against main branch! Thanks!

Oh, wait. Now I'm remembering: I wasn't able to test the second fix possibility. So I can open a PR for Promise fix only. I'm not sure this is actually okay as @joeyparrish expressed preference for the second solution.

@joeyparrish any news? What should be fixed on the second sample so it can be tested?

 We have a task open for this issue (even if I'll probably be able to test this again in September, when I'll get back from remote working). So, just to understand if it would be good to proceed with a PR with the promise solution. Just to remember you, I wasn't able to test the solution you preferred, maybe due to some kind of missing comment that I'm not quite sure how to fix.

@joeyparrish Can you review it again? if i remember correctly... you have two branches in your fork about this issue.

Hey @joeyparrish @avelad, I had the change to put again my hands on this and I tries to make things work. Now I'm of the idea that the "method way" @joeyparrish proposed is the best way.
I had to add a missing .ready() call in onSrcEquals method, but I'm not very sure this is the best place. I thing I'm going to open a PR with the fix to this (which includes what @joeyparrish did).


Something gone wrong

Description
I was exploring webpages on my browser when suddenly a message from the app appearred saying something unexpected happened.
Steps To Reproduce
Can't reproduce that
Expected behavior
I expect this message wont appear anymore
Files Version
Versione <IP_ADDRESS> OS Version: 10.0.19044.1706
Windows Version
Windows 10 21H2  Build: 19044.1706  Windows Feature Experience Pack 120.2212.4170.0
Relevant Assets/Logs
Can't provide them, the message vanished and i didn't had time to capture it

Thanks for the report. You can upload the debug logs. Open Files > Settings > About > Open log location and upload the two ".log" files here.
So did the app crash while it was in the background/not actively used?

Yes the App was in background, i was downloading something from my browser and it saved some files to the downoad folder
Here i upload the logs:
debug_fulltrust.log
debug.log
In addition I want to point out that the app is often slow in loading when opening a folder, it is not very responsive. Can anything be done to solve this problem?

Same thing for the responsiveness of the app .. it's slow at launch and when opening a folder within the window or going back to the previous one... (browsing folders)

Is this still an issue?

I'm pretty sure this is resolved in v2.3.


feat: Filt subresource in obs signer

https://support.huaweicloud.com/intl/en-us/api-obs/obs_04_0010.html
In OBS, we can only add specific subresource params in the CanonicalizedResource, and other params should be discarded.
e.g. For a list object request:

GET /?delimiter=/

The CanonicalizedResource is /bucket/, not /bucket/?delimiter=/, since delimiter is not a subresource.

Please add a new case like test_sign_with_subresource and test_sign_list_objects to make sure we implement correctly.