Pods stuck on "node affinity conflict"

Hello
I really don't know if its a kubernetes bug, topolvm bug, or  miss-configurations, I investigated and still investigating this issue, I would like to know whats is missing out, if there are any
The problem:
My pods stuck on Pending state and when I describing the pod, I get this event:
2 node(s) had volume node affinity conflict
This is happening on one of the nodes - called nuc01 (Means that all pods that have pvc on that node report this)
Reproduce:
Shutdown ungracefully nodes each node at a time, multiple cycles
Information's that might help for traceability:
Cluster setup
3 control planes nodes master-master
topolvm 0.5.3
kubernetes 1.18.8
Cluster Provisioned with kubeadm
OS: Ubuntu 20.04.1 LTS
I have made described on all of the corresponding objects of one pod, the information are below:
Describes

Describe node nuc01
vostro@dev101:~$ kubectl describe node nuc01
Name:               nuc01
Roles:              master
Labels:             beta.kubernetes.io/arch=amd64
                    beta.kubernetes.io/os=linux
                    kubernetes.io/arch=amd64
                    kubernetes.io/hostname=nuc01
                    kubernetes.io/os=linux
                    node-role.kubernetes.io/master=
                    topology.topolvm.cybozu.com/node=nuc01
Annotations:        capacity.topolvm.cybozu.com/00default:<PHONE_NUMBER>60
                    capacity.topolvm.cybozu.com/ssd:<PHONE_NUMBER>60
                    csi.volume.kubernetes.io/nodeid: {"topolvm.cybozu.com":"nuc01"}
                    kubeadm.alpha.kubernetes.io/cri-socket: /var/run/dockershim.sock
                    node.alpha.kubernetes.io/ttl: 0
                    projectcalico.org/IPv4Address: <IP_ADDRESS>/24
                    projectcalico.org/IPv4IPIPTunnelAddr: <IP_ADDRESS>
                    volumes.kubernetes.io/controller-managed-attach-detach: true
CreationTimestamp:  Fri, 28 Aug 2020 11:45:31 +0300
Taints:             <none>
Unschedulable:      false
Lease:
  HolderIdentity:  nuc01
  AcquireTime:     <unset>
  RenewTime:       Sat, 29 Aug 2020 13:49:41 +0300
Conditions:
  Type                          Status  LastHeartbeatTime                 LastTransitionTime                Reason                          Message
  ----                          ------  -----------------                 ------------------                ------                          -------
  KernelDeadlock                False   Sat, 29 Aug 2020 13:46:28 +0300   Fri, 28 Aug 2020 23:59:54 +0300   KernelHasNoDeadlock             kernel has no deadlock
  ReadonlyFilesystem            False   Sat, 29 Aug 2020 13:46:28 +0300   Fri, 28 Aug 2020 23:59:54 +0300   FilesystemIsNotReadOnly         Filesystem is not read-only
  FrequentUnregisterNetDevice   False   Sat, 29 Aug 2020 13:46:28 +0300   Fri, 28 Aug 2020 23:59:54 +0300   NoFrequentUnregisterNetDevice   node is functioning properly
  CorruptDockerOverlay2         False   Sat, 29 Aug 2020 13:46:28 +0300   Fri, 28 Aug 2020 23:59:54 +0300   NoCorruptDockerOverlay2         docker overlay2 is functioning properly
  FrequentKubeletRestart        False   Sat, 29 Aug 2020 13:46:28 +0300   Fri, 28 Aug 2020 23:59:54 +0300   NoFrequentKubeletRestart        kubelet is functioning properly
  FrequentDockerRestart         False   Sat, 29 Aug 2020 13:46:28 +0300   Fri, 28 Aug 2020 23:59:54 +0300   NoFrequentDockerRestart         docker is functioning properly
  FrequentContainerdRestart     False   Sat, 29 Aug 2020 13:46:28 +0300   Fri, 28 Aug 2020 23:59:54 +0300   NoFrequentContainerdRestart     containerd is functioning properly
  NetworkUnavailable            False   Fri, 28 Aug 2020 23:59:54 +0300   Fri, 28 Aug 2020 23:59:54 +0300   CalicoIsUp                      Calico is running on this node
  MemoryPressure                False   Sat, 29 Aug 2020 13:44:56 +0300   Fri, 28 Aug 2020 23:59:02 +0300   KubeletHasSufficientMemory      kubelet has sufficient memory available
  DiskPressure                  False   Sat, 29 Aug 2020 13:44:56 +0300   Fri, 28 Aug 2020 23:59:02 +0300   KubeletHasNoDiskPressure        kubelet has no disk pressure
  PIDPressure                   False   Sat, 29 Aug 2020 13:44:56 +0300   Fri, 28 Aug 2020 23:59:02 +0300   KubeletHasSufficientPID         kubelet has sufficient PID available
  Ready                         True    Sat, 29 Aug 2020 13:44:56 +0300   Fri, 28 Aug 2020 23:59:06 +0300   KubeletReady                    kubelet is posting ready status. AppArmor enabled
Addresses:
  InternalIP:  <IP_ADDRESS>
  Hostname:    nuc01
Capacity:
  cpu:                12
  ephemeral-storage:  153769424Ki
  hugepages-1Gi:      0
  hugepages-2Mi:      0
  memory:             32593340Ki
  pods:               110
Allocatable:
  cpu:                12
  ephemeral-storage:<PHONE_NUMBER>24
  hugepages-1Gi:      0
  hugepages-2Mi:      0
  memory:             32490940Ki
  pods:               110
System Info:
  Machine ID:                 60c94f077f9145b694677094bbfbf491
  System UUID:                3214261f-3ee2-1169-841c-1c697a63a2c2
  Boot ID:                    8ba2fc88-878a-485b-adcc-de5b626f3396
  Kernel Version:             5.4.0-42-generic
  OS Image:                   Ubuntu 20.04.1 LTS
  Operating System:           linux
  Architecture:               amd64
  Container Runtime Version:  docker://19.3.12
  Kubelet Version:            v1.18.8
  Kube-Proxy Version:         v1.18.8
Non-terminated Pods:          (43 in total)
  Namespace                   Name                                                  CPU Requests  CPU Limits   Memory Requests  Memory Limits  AGE
  ---------                   ----                                                  ------------  ----------   ---------------  -------------  ---
  efk                         cerebro-7c9fffcb6-pl48c                               100m (0%)     500m (4%)    200Mi (0%)       1Gi (3%)       49m
  efk                         elasticsearch-master-1                                100m (0%)     3 (25%)      2Gi (6%)         3Gi (9%)       9h
  efk                         fluentd-elasticsearch-2ff56                           200m (1%)     2 (16%)      512Mi (1%)       2Gi (6%)       25h
  efk                         kibana-kibana-6d4d866f95-rfh5z                        100m (0%)     1 (8%)       500Mi (1%)       2Gi (6%)       61m
  efk                         minio-0                                               0 (0%)        0 (0%)       250Mi (0%)       2Gi (6%)       46m
  kube-system                 alertmanager-prometheus-operator-alertmanager-0       100m (0%)     100m (0%)    225Mi (0%)       25Mi (0%)      25h
  kube-system                 calico-kube-controllers-854c58bf56-jjcb9              0 (0%)        0 (0%)       0 (0%)           0 (0%)         26h
  kube-system                 calico-node-xbfth                                     250m (2%)     0 (0%)       0 (0%)           0 (0%)         26h
  kube-system                 coredns-66bff467f8-82mxl                              100m (0%)     0 (0%)       70Mi (0%)        170Mi (0%)     26h
  kube-system                 coredns-66bff467f8-wzzpg                              100m (0%)     0 (0%)       70Mi (0%)        170Mi (0%)     26h
  kube-system                 etcd-nuc01                                            0 (0%)        0 (0%)       0 (0%)           0 (0%)         26h
  kube-system                 haproxy-nuc01                                         0 (0%)        0 (0%)       0 (0%)           0 (0%)         26h
  kube-system                 keepalived-nuc01                                      0 (0%)        0 (0%)       0 (0%)           0 (0%)         26h
  kube-system                 kube-apiserver-nuc01                                  250m (2%)     0 (0%)       0 (0%)           0 (0%)         17h
  kube-system                 kube-controller-manager-nuc01                         200m (1%)     0 (0%)       0 (0%)           0 (0%)         17h
  kube-system                 kube-proxy-s8xr7                                      0 (0%)        0 (0%)       0 (0%)           0 (0%)         26h
  kube-system                 kube-scheduler-nuc01                                  100m (0%)     0 (0%)       0 (0%)           0 (0%)         26h
  kube-system                 metrics-server-5d45c79797-7mdp4                       50m (0%)      1 (8%)       64Mi (0%)        128Mi (0%)     25h
  kube-system                 node-problem-detector-jdpj9                           0 (0%)        0 (0%)       0 (0%)           0 (0%)         25h
  kube-system                 prometheus-operator-grafana-7d7468d4fb-kwbkg          0 (0%)        0 (0%)       0 (0%)           0 (0%)         25h
  kube-system                 prometheus-operator-prometheus-node-exporter-2m2w9    0 (0%)        0 (0%)       0 (0%)           0 (0%)         25h
  kube-system                 prometheus-prometheus-operator-prometheus-0           200m (1%)     200m (1%)    50Mi (0%)        50Mi (0%)      25h
  kubernetes-dashboard        kubernetes-dashboard-996455bf8-cj5ln                  100m (0%)     300m (2%)    114Mi (0%)       384Mi (1%)     25h
  metallb-system              speaker-798kg                                         100m (0%)     100m (0%)    100Mi (0%)       100Mi (0%)     25h
  nextcloud                   haproxy-79c45cff5c-brhm5                              100m (0%)     2 (16%)      50Mi (0%)        200Mi (0%)     10h
  nextcloud                   mysqldump-dataaccess-54bd94fb47-9tvv2                 0 (0%)        0 (0%)       0 (0%)           0 (0%)         10h
  nextcloud                   percona-toolkit-54b7589c5d-4255l                      100m (0%)     250m (2%)    128Mi (0%)       256Mi (0%)     10h
  nextcloud                   redis-redis-ha-haproxy-657dd6cc46-jhlcj               100m (0%)     2 (16%)      200Mi (0%)       1Gi (3%)       39m
  nginx-ingress               nginx-ingress-controller-54945f96ff-tbcbb             150m (1%)     4100m (34%)  750Mi (2%)       1300Mi (4%)    25h
  nginx-ingress               nginx-ingress-default-backend-c89dcfb68-9qq54         50m (0%)      200m (1%)    64Mi (0%)        256Mi (0%)     25h
  nginx-ingress               nginx-ingress-default-backend-c89dcfb68-vm4gb         50m (0%)      200m (1%)    64Mi (0%)        256Mi (0%)     25h
  nginx                       nginx-7f4587d4fd-p9zc2                                100m (0%)     4 (33%)      300Mi (0%)       2Gi (6%)       61m
  opentracing                 jaeger-operator-jaeger-collector-7cdd7f79c9-hgbnl     100m (0%)     500m (4%)    200Mi (0%)       512Mi (1%)     56m
  opentracing                 jaeger-operator-jaeger-query-5544b86f48-fk2m2         100m (0%)     200m (1%)    128Mi (0%)       256Mi (0%)     25h
  topolvm-system              controller-65dbcb6d55-7b4xb                           0 (0%)        0 (0%)       0 (0%)           0 (0%)         25h
  topolvm-system              node-8slbg                                            0 (0%)        0 (0%)       0 (0%)           0 (0%)         25h
  topolvm-system              topolvm-scheduler-g8sfx                               0 (0%)        0 (0%)       0 (0%)           0 (0%)         25h
  weave                       weave-scope-agent-p5x9j                               100m (0%)     0 (0%)       100Mi (0%)       2000Mi (6%)    25h
  weave                       weave-scope-app-bc7444d59-bvvjc                       0 (0%)        0 (0%)       0 (0%)           0 (0%)         25h
  weave                       weave-scope-cluster-agent-5c5dcc8cb-cgzh5             25m (0%)      0 (0%)       80Mi (0%)        2000Mi (6%)    25h
  zigi-test                   haproxy-79c45cff5c-srd7x                              100m (0%)     2 (16%)      50Mi (0%)        200Mi (0%)     13h
  zigi-test                   percona-xtradb-cluster-pxc-1                          100m (0%)     4 (33%)      500Mi (1%)       4Gi (12%)      13h
  zigi-test                   zigi-server-cf4b4bd5b-55qtp                           100m (0%)     4 (33%)      300Mi (0%)       2Gi (6%)       13h
Allocated resources:
  (Total limits may be over 100 percent, i.e., overcommitted.)
  Resource           Requests      Limits
  --------           --------      ------
  cpu                3325m (27%)   31650m (263%)
  memory             7117Mi (22%)  27719Mi (87%)
  ephemeral-storage  0 (0%)        0 (0%)
  hugepages-1Gi      0 (0%)        0 (0%)
  hugepages-2Mi      0 (0%)        0 (0%)
Events:              <none>

Described pod
vostro@dev101:~/code/kfirfer/nextcloud$ kubectl describe po percona-xtradb-cluster-pxc-0
Name:           percona-xtradb-cluster-pxc-0
Namespace:      nextcloud
Priority:       0
Node:           <none>
Labels:         app=percona-xtradb-cluster-pxc
                chart=percona-xtradb-cluster-1.0.5
                controller-revision-hash=percona-xtradb-cluster-pxc-678cc6b597
                heritage=Helm
                release=percona-xtradb-cluster
                statefulset.kubernetes.io/pod-name=percona-xtradb-cluster-pxc-0
Annotations:    <none>
Status:         Pending
IP:
IPs:            <none>
Controlled By:  StatefulSet/percona-xtradb-cluster-pxc
Containers:
  database:
    Image:       percona/percona-xtradb-cluster:8.0.19-10.1
    Ports:       3306/TCP, 4567/TCP, 4568/TCP, 4444/TCP
    Host Ports:  0/TCP, 0/TCP, 0/TCP, 0/TCP
    Command:
      /bin/bash
      /startup-scripts/entrypoint.sh
    Limits:
      cpu:     5
      memory:  5Gi
    Requests:
      cpu:      100m
      memory:   500Mi
    Readiness:  exec [mysql --defaults-extra-file=/root/.my.cnf -h <IP_ADDRESS> -e SELECT 1] delay=30s timeout=2s period=10s #success=1 #failure=3
    Environment:
      MYSQL_ROOT_PASSWORD:  <set to the key 'mysql-root-password' in secret 'percona-xtradb-cluster-pxc'>  Optional: false
      MYSQL_PASSWORD:       <set to the key 'mysql-password' in secret 'percona-xtradb-cluster-pxc'>       Optional: false
      XTRABACKUP_PASSWORD:  <set to the key 'xtrabackup-password' in secret 'percona-xtradb-cluster-pxc'>  Optional: false
      MYSQL_USER:
      MYSQL_DATABASE:
      ALLOW_ROOT_FROM:      %
      CLUSTER_NAME:         percona-xtradb-cluster-pxc
      SHORT_CLUSTER_NAME:   percona-xtradb-cluster-pxc
      K8S_SERVICE_NAME:     percona-xtradb-cluster-pxc-repl
      PXC_STRICT_MODE:      PERMISSIVE
      DEBUG:                true
    Mounts:
      /cert from certificates (rw)
      /etc/mysql/conf.d from mysql-config-files (rw)
      /root from slash-root (rw)
      /startup-scripts from mysql-startup-scripts (rw)
      /var/lib/mysql from mysql-data (rw)
      /var/log from var-log (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-7rwpd (ro)
  logs:
    Image:      busybox:1.25.0
    Port:       <none>
    Host Port:  <none>
    Command:
      /bin/sh
      -c
      echo "touch logs"
      touch /var/log/mysqld.log
      echo "finish touch logs"
      tail -f /var/log/mysqld.log

    Environment:  <none>
    Mounts:
      /var/log from var-log (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-7rwpd (ro)
  healthcheck:
    Image:      kfirfer/python:latest
    Port:       8081/TCP
    Host Port:  0/TCP
    Command:
      /bin/sh
      -c
      python /startup-scripts/mysql_health_check.py

    Environment:
      MYSQL_ROOT_PASSWORD:  <set to the key 'mysql-root-password' in secret 'percona-xtradb-cluster-pxc'>  Optional: false
    Mounts:
      /startup-scripts from mysql-startup-scripts (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-7rwpd (ro)
  pmm-client:
    Image:      perconalab/pmm-client:202008162048
    Port:       <none>
    Host Port:  <none>
    Command:
      /bin/bash
      -c
      pmm-agent setup --force --config-file=/usr/local/percona/pmm2/config/pmm-agent.yaml
      pmm-agent --config-file=/usr/local/percona/pmm2/config/pmm-agent.yaml &
      while true
      do
      (pmm-admin add mysql --query-source=slowlog --username=$DB_USER --password=$DB_PASSWORD && sleep infinity) || (echo "sleeping for 2 seconds" && sleep 2)
      done

    Environment:
      PMM_AGENT_SERVER_ADDRESS:       pmm-server:4431
      PMM_AGENT_SERVER_USERNAME:      admin
      PMM_AGENT_SERVER_PASSWORD:      admin
      DB_TYPE:                        mysql
      DB_PORT:                        3306
      DB_USER:                        root
      PMM_AGENT_SERVER_INSECURE_TLS:  true
      DB_PASSWORD:                    <set to the key 'mysql-root-password' in secret 'percona-xtradb-cluster-pxc'>  Optional: false
    Mounts:
      /tmp/startup-scripts from mysql-startup-scripts (rw)
      /usr/local/percona/pmm2/config from pmm-config (rw)
      /var/log from var-log (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-7rwpd (ro)
Conditions:
  Type           Status
  PodScheduled   False
Volumes:
  mysql-data:
    Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
    ClaimName:  mysql-data-percona-xtradb-cluster-pxc-0
    ReadOnly:   false
  pmm-config:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
    SizeLimit:  <unset>
  slash-root:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
    SizeLimit:  <unset>
  var-log:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
    SizeLimit:  <unset>
  mysql-config-files:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      percona-xtradb-cluster-pxc-config-files
    Optional:  false
  mysql-startup-scripts:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      percona-xtradb-cluster-pxc-startup-scripts
    Optional:  false
  certificates:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  mysql-ssl-certs
    Optional:    false
  default-token-7rwpd:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-7rwpd
    Optional:    false
QoS Class:       Burstable
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 30s
                 node.kubernetes.io/unreachable:NoExecute for 30s
Events:
  Type     Reason            Age        From               Message
  ----     ------            ----       ----               -------
  Warning  FailedScheduling  <unknown>  default-scheduler  0/3 nodes are available: 1 node(s) didn't match pod affinity/anti-affinity, 1 node(s) didn't satisfy existing pods anti-affinity rules, 2 node(s) had volume node affinity conflict.
  Warning  FailedScheduling  <unknown>  default-scheduler  0/3 nodes are available: 1 node(s) didn't match pod affinity/anti-affinity, 1 node(s) didn't satisfy existing pods anti-affinity rules, 2 node(s) had volume node affinity conflict.

The result of kubectl get node -oyaml.
The result of kubectl get pod -oyaml <the problematic pod>
The result of kubectl get pvc -oyaml of all PVCs that are provisioned by TopoLVM
The result of kubectl get pv -oyaml of all PVs corresponding to the above-mentioned PVCs.
The more precise steps to reproduce, if possible. For example, as follows.

Start all nodes A, B, and C.
Deploy a pod that consumes a PVC provisioned by TopoLVM, in node C (nuc01, in this case?).
Force reset node C.
Especially we couldn't interpret the meaning of "Shutdown ungracefully nodes each node at a time, multiple cycles"
in detail.

The probability of this problem. Is this problem reproducible at all times?

Hi @llamerada-jp
I restarted the node nuc01 machine and the problem gone..
About shutdown ungracefully, means that I have powered off the power cable / networking cable, then plugin, waited to the node to becomes fully ready, and shutdown another node, and so forth
The problem didn't reproducible all times, I did a lot of shutdowns to encountered it
When I will encounter this problem again, I will post a new issue with all of the details you mentioned above


Quotes aren't changed

Even if my tslint.json contains
        "quotemark": [
            true,
            "double"
        ],

tsfmt doesn't change a single quote to a double quote

sounds good.
but tsfmt is wrapper of TypeScript Language Service.
I don't do that. sorry.

@matteosuppo and @vvakame - are you aware of a request to add the option to set the preferred quotemark (single or double) in ts.FormatCodeOptions?  I couldn't find one here: https://github.com/Microsoft/TypeScript/issues?utf8=✓&q=is%3Aissue FormatCodeOptions and wanted to check with you before creating such a feature request.

I'm not aware of anything like that.

ping ... maybe I'm basically missing something else. but is this still valid. because I got the issue in my neovim-setup that when I neoformat with tsfmt I don't get the double quotes replaced by single quotes.
though the linter is showing errors, so nvim is picking the linting up.
don't know, maybe it's something else ... just, ping ...


Doxygen 1.9.3 not avialable due to SHA mismatch in CI

[x] I read the conda-forge documentation and could not find the solution for my problem there.

Issue:
The CI for this feedstock failed after merging #25 due to a SHA mismatch:
RuntimeError: SHA256 mismatch: 'eeee71516ddb0d8c057480c2fcd094e63b639146d09ba70b6fd013ca48a25b6a' != 'adcd968e10f27a15c956aaad86f544174f0e3d2d26d8d978929513ceeb09c19d'

Maybe this was because the src file was altered afterwards as stated here:

The latest version of doxygen is 1.9.3 (release date 31 december 2021, updated 3th of January 2022).

Even if the conda package failed for Windows, I think we can close this issue thanks to #30


feat: prototype of new API using requests as builders

This is a prototype of the new API that Kenny, Nate and I have been discussing. In this model we define a Request and a Response struct for each API. The Request structs can be used as builders, to support optional arguments and future additions to the API. The CacheClient exposes the simplest possible syntax for each API, with no optional arguments provide, and implements that by instantiating one of the Request structs.
The Request trait requires each Request type to implement a send function, to do the work of sending the request. This will allow us to keep the logic for the implementation details of each API in its own struct, rather than having all of the implementations live direction in CacheClient.
CacheClient also provides a send_request fn that can be called directly, accepting a Request type as an argument. This is the lower-level API that callers will use if they need to specify any of the optional arguments for any given request.

Note that since we needed to rename SimpleCacheClient to CacheClient on our way to 1.0 anyway, I decided that in this PR I would just introduce a new CacheClient and start fleshing out the new API there. Once we get aligned on a few APIs there, we can start migrating things over, and just delete SimpleCacheClient when we're done. Might make it a little easier to keep track of things that need to be migrated/moved as we go.


View embedding interpolation implementation

Thanks for your awesome implementation for DreamFusion! I find that you have implemented most tricks mentioned in the DreamFusion paper. Howerer, the view interpolation trick seems to be missing in your code. I am wondering that adding view prompt interpolation may partly solve the Jenus problem. Further, I notice a recent paper which can be referred to: https://arxiv.org/pdf/2304.04968.pdf.

@zhuole1025 Hi, I implemented a naive view feature interpolation in the latest code: https://github.com/ashawkey/stable-dreamfusion/blob/main/nerf/utils.py#L442
I have read the paper too, but it requires about 2x diffusion computation (to calculate extra negative prompts) per step, so currently I haven't implemented it.


explicitly pass in names for delayed functions

tl;dr I want to pass the uniquely identifying name of delayed function instead of having it automatically generated via a hash of the function and arguments.
I'm using delayed to build workflows.  The result of a function that I'm delaying depends on some but not all of its arguments.  For example, a function which performs a parallel reduction might have a num_workers argument that doesn't affect the output.  Right now, delayed hashes it anyways and forces re-computation.  I want to avoid that.
The real use-case is a bit more complicated: I'm making some system calls from within the delayed functions that run simulations on supercomputers.  This calculations are very expensive, so I want a bit more control over which tasks are considered to have the same output.
The behavior I'm looking for is here, but it doesn't work: the names in the dask are still of the form <function name>-<hash of something>.  Tracing the code I get lost in DelayedLeaf, which seems to ignore its name argument.

You can provide the name yourself explicitly using the dask_key_name kwarg:
In [105]: foo
Out[105]: Delayed('fooeda225def65bca4b5be25f9f12f1bbaa')

In [106]: foo(1, 2, 3)
Out[106]: Delayed('foo-2b595b88120141ef301c7ccab85a386b')

In [107]: foo(1, 2, 3, dask_key_name='foo')
Out[107]: Delayed('foo')

Is that an acceptable solution here?

When does that kwarg need to be passed?  How does that differ from the intended behavior of the name argument to delayed?

The name kwarg sets the name in the underlying graph for the object being wrapped. The dask_key_name kwarg sets the key name for the result of a __call__ on a delayed object. The following might clarify things:
In [112]: def foo(a, b, c=0):
   .....:     return a + b + c
   .....:

In [113]: dfoo = delayed(foo, name='foo', pure=True)

In [114]: dfoo
Out[114]: Delayed('foo')

In [115]: dfoo(1, 2, c=3)
Out[115]: Delayed('foo-7012413eafb786ebcdd430865623469c')

In [116]: dfoo(1, 2, c=3, dask_key_name='foo_called')
Out[116]: Delayed('foo_called')

Yeah, that works and makes sense.  I think its the currying that threw me off.
Could dask_key_name get promoted to the docs?  This is really helpful functionality.

Good point. Adding.


(DONT MERGE YET) Split analytics extension's customevents to smaller schemas

This PR links to the issue #257
@kstreeter @trieloff @lrosenthol @cmathis
Please review. Need to split customevents to smaller schemas for tooling and user/developer friendly.

Close as not needed anymore


preference numbers, not OP_TRUE/OP_FALSE

For the reverse mapping when translating from byte to ASM.
Not a breaking change?

Published as v1.4.1


JSON does not have functions.

JSON does not have functions.
func      : _.isFunction,
f         : _.isFunction,    // alias for func

Is this a JavaScript object validator, or a JSON validator?

Probably a validator for objects that are parsed from JSON. The JSON and JS objects are confused often for each other in this context.

I agree. It does not apply to JSON. This validator is mainly to validate the custom validators recursively.


Unable to cast object of type 'ShapeCrawler.Drawing.LayoutPicture' to type 'ShapeCrawler.IPicture'

If the picture is from masterSlide,then the type of shape is ShapeCrawler.Drawing.LayoutPicture. It's internal class,and It have not implement the interface ShapeCrawler.IPicture,Then I can't find a way to get the image,Can you support this?

Hi. Thank you for the issue report. I was able to reproduce the issue. Fixing...

Hi. Thank you for the issue report. I was able to reproduce the issue. Fixing...

Hi.Thank you for quick reply.I saw you already fix it in #230.
I have another problem now,how can i got the extension of these images?
Can you public the file name,or give an extension-name?


add dev workflow images for local debug and test

add dev workflow images for local debug and test, so you can publish images in your personal GitHub repository to avoid publishing them in the central repository

What type of PR is this?

/kind feature
What does this PR do?

@duanmengkk @ONE7live @OrangeBao
Which issue(s) does this PR fix?

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

/lgtm

/approve


Horizontal Error Bars

Hi,
I love gramm and have been using it for a while now.
Do you plan to add the possibility to plot horizontal errorbars at the same time as vertical ones? Or if it is somehow possible currently, could you tell me how?
Cheers,
Will

Thank you for the suggestion, this is not something that is possible currently.


Upload blocked why ?

I try to upload a video. Can you tell me what is blocking the upload, it's annoying to find yourself blocked without knowing why.
Usually it's because of a special character in the URL bar but here I don't understand why.
It would be simpler to have an explanatory error message so as not to get stuck.

Please email us at<EMAIL_ADDRESS>with details of your issue if you're still having it.

Hi the details, it's a bug I encouter with the upload box. I clear the app dowload and retry the same way and it's working. But if you insert in your code an Error message when you don't fill out the fields correctly to upload, this would help a lot. Rather than being stuck with no way out, pressing an upload button that doesn't want to execute. The reason is often, as I wrote previously, to have used a special character or a space in the U.R.L or title creation bar, but you have to understand it for yourself without an explanatory error message. Just fix it for a better user experience.


Code review & Bug fix

Let us review the entire code base and fix all the issues before we kick off M4 development.

pallet_roles

[ ] TotalMembers should be increased if and only if the account approval is successful.

pallet_housing_fund

[ ] Clearly define the use of MinContribution
In the current implementation, it works as the minimum amount per contribution.

[ ] Declare MinContribution as a constant.
Regarding the future development for the front-end UI, we should be able to fetch the value of MinContribuiton from the runtime.

[ ] MaxFundContribution is not used.

pallet_onboarding

[ ] PropoosalFee

How is it used in the pallet?
https://github.com/Fair-Squares/fair-squares/blob/5ac0058e3b2b302493d781ae99722f8c7e0fcf35/pallets/onboarding/src/lib.rs#L464-L466

ProposalFee configuration in the runtime
https://github.com/Fair-Squares/fair-squares/blob/5ac0058e3b2b302493d781ae99722f8c7e0fcf35/runtime/src/lib.rs#L799

pallet_roles

[ ]  TotalMembers should be increased if and only if the account approval is successful.
https://github.com/Fair-Squares/fair-squares/blob/5ac0058e3b2b302493d781ae99722f8c7e0fcf35/pallets/roles/src/lib.rs#L269-L270

https://github.com/Fair-Squares/fair-squares/pull/195

pallet_onboarding

[x]  PropoosalFee
How is it used in the pallet?
https://github.com/Fair-Squares/fair-squares/blob/5ac0058e3b2b302493d781ae99722f8c7e0fcf35/pallets/onboarding/src/lib.rs#L464-L466
ProposalFee configuration in the runtime
https://github.com/Fair-Squares/fair-squares/blob/5ac0058e3b2b302493d781ae99722f8c7e0fcf35/runtime/src/lib.rs#L799

I remembered this one. I first went with a fixed fee of 50$, but after discussion with the team, we decided to go with  percentage of the proposal price. the proposalFee is therefore supposed to be a percentage that we can adjust in the runtime. I did the necessary corrections an it is now a 10% fee.


IOError: [Errno 24] Too many open files

When implemented for a large stream of data to send, the script crashes with "IOError: [Errno 24] Too many open files".
Method of implementation is:
def SendSong(bytes):
speed = 2500000
print("Sending packets . . . ")
while(len(bytes) > 0):
if(len(bytes) > 4096):
SPI_sendPackets(bytes[:4096], speed)
bytes_read = bytes[4097:]
else:
SPI_sendPackets(bytes_read, speed)
bytes_read = list()
def SPI_sendPackets(listOfPackets, speed):
spi = spidev.SpiDev()
spi.open(0,0)
spi.max_speed_hz = speed
spi.xfer2(listOfPackets)

The problem is you are calling open from within SPI_sendPackets and not closing it.  Doing this many times over and over gives you the error message you are seeing, "Too many open files."
You shouldn't be opening and closing spidev for every transfer.  Just create a spi object somewhere toward the beginning of your code and only call open on it once.  Then just pass the spi object to SPI_sendPackets and you should be fine.
It looks like you have one other error in your code.  bytes[:4096] will give you bytes 0-4095 (the first 4096 bytes), but bytes[4097:] will skip byte 4096 and give you bytes 4097 to the end of the list.  I'm not sure you meant to skip that byte.

Hello,
Thank you for your fast response and assistance. I am embarrassed I made such an amateur mistake!
Have a great day.
Cheers,
Cody
////////////////////////////////////////////
Cody L. Allen
Purdue University
College of Engineering
ECESS Vice President
Mobile:<PHONE_NUMBER>
////////////////////////////////////////////
Sent from my iPhone

On Oct 6, 2015, at 4:42 PM, doceme<EMAIL_ADDRESS>wrote:
The problem is you are calling open from within SPI_sendPackets and not closing it. Doing this many times over and over gives you the error message you are seeing, "Too many open files."
You shouldn't be opening and closing spidev for every transfer. Just create a spi object somewhere toward the beginning of your code and only call open on it once. Then just pass the spi object to SPI_sendPackets and you should be fine.
It looks like you have one other error in your code. bytes[:4096] will give you bytes 0-4095 (the first 4096 bytes), but bytes[4097:] will skip byte 4096 and give you bytes 4097 to the end of the list. I'm not sure you meant to skip that byte.
—
Reply to this email directly or view it on GitHub.

No problem. Happy to help. I'm sure I've done worse many times. That's why I love open source.

The problem is you are calling open from within SPI_sendPackets and not closing it. Doing this many times over and over gives you the error message you are seeing, "Too many open files."
You shouldn't be opening and closing spidev for every transfer. Just create a spi object somewhere toward the beginning of your code and only call open on it once. Then just pass the spi object to SPI_sendPackets and you should be fine.
It looks like you have one other error in your code. bytes[:4096] will give you bytes 0-4095 (the first 4096 bytes), but bytes[4097:] will skip byte 4096 and give you bytes 4097 to the end of the list. I'm not sure you meant to skip that byte.

Sir, I am Getting Same Issue But With MFRC522 Library Which Uses Spidev. And I am Not been able to solve This.


Tabs in stead of spaces?

All the spaces in the snippets are converted to tabs! It would be nice if the snippets could see the difference between tabs and spaces!
I put tab size on 4 so you can clearly see what i mean.

Hi dude! The snippets would be converted to tabs if the editor is using tab for indentation.
I know there are some issues about indentation, but would you mind to check your indentation setting (bottom-right corner)?

yeah i know its because my settings are set to tabs and that was my point.. In my opinion spaces in the snippets need to stay spaces regardless of your indent settings! :)
Dont know anything about making extensions for brackets but maybe you could force the indentation to be tabs in the edit snippet input field. You could then save the snippets with proper tabs and spaces.
If a user has his indent setting to be spaces and the snippets has tabs, the tabs get converted into spaces! :)
I changed my tab settings to spaces (for other reasons..) so i dont really care to much about this issue anymore but might be worth changing for ther people that do use tabs! :)

spaces in the snippets need to stay spaces regardless of your indent settings

Well some dudes say that snippets should follow the indent settings lol, and I'm working on it.
Maybe I should give an option for it, convert or not.

yeah of course the snippets should follow your indent settings but the way you are implementing it now is that if your indent setting is set to tabs, every space gets converted to a tab which is not what people want (at least, i imagine its not what they want... :p )
The snippets should know the difference between a space and a tab and display them accordingly (if your settings is set to spaces, the tabs get converted to spaces. But if your indent is tabs, tabs get dipslayed as tabs and spaces as spaces..) But ill let you work on it and see the result afterwards! :D

@0phoff Every space gets converted to a tab? Maybe you should try the new version just released today ^^

I would also like to see spaces stay as spaces and tabs stay as tabs in the snippets. I prefer tabs for indentation but when I am doing documentation the standard notation for a Doc comment is:
/**
 * Documentation here...
 */

The leading space in front of each of the star characters is used to make sure all the stars line up for aesthetic reasons and also doc compilers expect this formatting.
As a sub note I am having trouble using snippets for comments. The tab ${1:documentation} is rendered literally... so I cant tab to it.


Dask.Visualize ignoring engine setting

Hello guys!
I am running some codes on a jupiter notebook remote server. As I can´t install graphviz, I am trying to use ipycytoscape to renderize the visualize results.
If I run a example code, it does create an html file containing the visualization
import dask
import dask.array as da

with dask.config.set({"visualization.engine": "cytoscape"}):
    x = da.ones((15, 15), chunks=(5, 5))
    y = x + x.T
    y.visualize()

So far, no issue.
But as soon as I tries do display my real dask.dataframe graphs, it ignores the parameters and tries to use graphviz
import dask
df = dask.dataframe.read_parquet(path= 'Temp/', dtype_backend='pyarrow')
with dask.config.set({"visualization.engine": "cytoscape"}):
    df.visualize()

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
File /projeto/libs/lib/python3.11/site-packages/dask/utils.py:327, in import_required(mod_name, error_msg)
    326 try:
--> 327     return import_module(mod_name)
    328 except ImportError as e:

File /usr/local/lib/python3.11/importlib/__init__.py:126, in import_module(name, package)
    125         level += 1
--> 126 return _bootstrap._gcd_import(name[level:], package, level)

File <frozen importlib._bootstrap>:1206, in _gcd_import(name, package, level)

File <frozen importlib._bootstrap>:1178, in _find_and_load(name, import_)

File <frozen importlib._bootstrap>:1142, in _find_and_load_unlocked(name, import_)

ModuleNotFoundError: No module named 'graphviz'

The above exception was the direct cause of the following exception:

RuntimeError                              Traceback (most recent call last)
Cell In[26], line 6
      4 df = dd.read_parquet(path= 'Temp/', dtype_backend='pyarrow')
      5 with dask.config.set({"visualization.engine": "cytoscape"}):
----> 6     df.visualize()

File /projeto/libs/lib/python3.11/site-packages/dask_expr/_collection.py:643, in FrameBase.visualize(self, tasks, **kwargs)
    641 if tasks:
    642     return super().visualize(**kwargs)
--> 643 return self.expr.visualize(**kwargs)

File /projeto/libs/lib/python3.11/site-packages/dask_expr/_core.py:715, in Expr.visualize(self, filename, format, **kwargs)
    697 """
    698 Visualize the expression graph.
    699 Requires ``graphviz`` to be installed.
   (...)
    711    Additional keyword arguments to forward to ``to_graphviz``.
    712 """
    713 from dask.dot import graphviz_to_file
--> 715 g = self._to_graphviz(**kwargs)
    716 graphviz_to_file(g, filename, format)
    717 return g

File /projeto/libs/lib/python3.11/site-packages/dask_expr/_core.py:631, in Expr._to_graphviz(self, rankdir, graph_attr, node_attr, edge_attr, **kwargs)
    621 def _to_graphviz(
    622     self,
    623     rankdir="BT",
   (...)
    627     **kwargs,
    628 ):
    629     from dask.dot import label, name
--> 631     graphviz = import_required(
    632         "graphviz",
    633         "Drawing dask graphs with the graphviz visualization engine requires the `graphviz` "
    634         "python library and the `graphviz` system library.\n\n"
    635         "Please either conda or pip install as follows:\n\n"
    636         "  conda install python-graphviz     # either conda install\n"
    637         "  python -m pip install graphviz    # or pip install and follow installation instructions",
    638     )
    640     graph_attr = graph_attr or {}
    641     node_attr = node_attr or {}

File /projeto/libs/lib/python3.11/site-packages/dask/utils.py:329, in import_required(mod_name, error_msg)
    327     return import_module(mod_name)
    328 except ImportError as e:
--> 329     raise RuntimeError(error_msg) from e

RuntimeError: Drawing dask graphs with the graphviz visualization engine requires the `graphviz` python library and the `graphviz` system library.

Please either conda or pip install as follows:

  conda install python-graphviz     # either conda install
  python -m pip install graphviz    # or pip install and follow installation instructions

Am I doing anythong wrong?
Environment:

Dask version: 2024.10.0
Python version: 3.11.9
Install method (conda, pip, source): PIP

Thanks for the issue @frbelotto - I can reproduce the problem with dask.dataframe as well.

If I can also reproduce the problem, could I be assigned this bug @rjzamora ? Thanks!

If I can also reproduce the problem, could I be assigned this bug

Sounds good @JP-sDEV - Thanks!

Hi @JP-sDEV are you still working on this issue? If not can I be assigned this bug?

@rjzamora Is this issue still open. Can I work on this issue ?

Can I work on this issue ?

Sounds good. I believe it's still open - Thanks @hemantgarg26!

Hi, I am new here, and I have been studying your problem.
I noticed that you are trying to visualize two different classes: an array (which works as expected) and a dataframe (which is the issue).
The .visualize() method for the dataframe has an optional parameter called tasks, which is False by default. If we set it to True, we go through the same method that the array uses.
 Code
import dask

df = dask.dataframe.read_parquet(path='<path>', dtype_backend='pyarrow')
dask.config.set({'visualization.engine': 'cytoscape'})
df.visualize(tasks=True)

Is this the expected behavior, or do we need to create a new method to visualize expression graphs from dataframes with Cytoscape?


ARKit example should not manually reproject things across 3D<>2D views

Rerun does that!
But I'm guessing this is going to require blueprint queries possibly?
Can maybe tackle this at the same time as #3382 for ARKit.

can't do this as part of  #3382 since as you say it requires blueprint, otherwise you don't get to see boxes out of the box (heh)


Sorbet Ruby setup fails due to frozen Gemfile.lock when updating gems in the /updater directory

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
bundler
Package manager version
No response
Language version
No response
Manifest location and content before the Dependabot update
No response
dependabot.yml content
No response
Updated dependency
No response
What you expected to see, versus what you actually saw
When Dependabot attempts to update gems in the /updater directory, the Sorbet job fails because the gem.lock file in the project's root directory becomes outdated and does not reflect the changes made to the /updater directory's gem.lock file.
The Sorbet setup should complete successfully, updating the Gemfile.lock to reflect the changes made to the gem dependencies in the /updater directory's Gemfile. But fails with the following error message:
Run `bundle install` elsewhere and add the updated Gemfile to version control.
If this is a development machine, remove the Gemfile.lock freeze by running
`bundle config set frozen false`.
Error: The process '/opt/hostedtoolcache/Ruby/3.1.4/x64/bin/bundle' failed with exit code 1

Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
Related PR
https://github.com/dependabot/dependabot-core/pull/9520
Failing workflow action
https://github.com/dependabot/dependabot-core/actions/runs/8756996358/job/24038649196
Smallest manifest that reproduces the issue
No response

Thanks, yeah ideally we'd not have a weird setup with a top-level Gemfile.lock and dependencies pulled in from common both there and in updater, but until we sort that out having something in CI automate it is preferable over us having to manually run bundle from the top-level project to update the lockfile


Extend interior mutability (e.g. Cell) for better composition with other types.

A couple of ideas were outlined in this reddit comment.

Implementing the API for Cell<Rc<T>> and Cell<Vec<T>>: requires a lot of unsafe.

There might be a way to provide mutable access to the contents of Cell via Cell::with_mut(|mut_ref| {...}) and have the compiler prove that the closure cannot reach the Cell::with_mut entry point, but it's not something we can express right now.

Turning &mut T into multiple aliases with Cell semantics:

impl<T: Copy> Cell<T> {
    fn from_mut(x: &mut T) -> &Cell<T> {
        unsafe { mem::transmute(x) }
    }
}

I am not certain this is UB-free, but if it isn't, I still expect @glaebhoerl's CellRef<'a, T> suggestion to work.
cc @nikomatsakis

Hm, would it work to make Cell depend on a unsafe trait SelfSafe that is implemented for all Copy types but that can also be implemented for custom ones?
struct Cell<T: CellSafe> { ... }

unsafe trait CellSafe { }

impl<T: Copy> CellSafe for T {}

impl CellSafe for SomeNonCopyType {}

set, replace and perhaps a few other operations are valid for any T - even if destructors can do something unsafe, you just need to put a new value in and drop the old one outside of the Cell.
So I assume you are talking abput get and Clone: the unsafe trait would work there, yes, and it would enable the use of Cell<Rc<T>>.
However, to fully implement an API for Cell<Vec<T>> where T: CellSafe, you would need unsafe code for each method. And that's just one type, it won't really scale.
Implementing a "never calls Cell::with_mut" check in the compiler does not seem particularly hard, but I'm not sure how you would pass a function as a type parameter of a trait. typeof?

@eddyb So I came back here from the other thread and I think still don't really understand the with_mut idea, and might benefit from having it spelled out more explicitly. What's the type signature? Something like fn with_mut<T, U>(&Cell<T>, FnOnce(&mut T) -> U) -> U? Isn't that plainly UB what with the other reference to the Cell aliasing the &mut into it?

@glaebhoerl sorry, I have no idea how I missed your comment here.
Yes, that signature is correct, if you add the requirement that the closure cannot possibly call with_mut (e.g. any indirect calls would be outright disallowed).
That means the &Cell<T> reference is harmless (assuming all exposed accesses go through with_mut), not unlike &RefCell<T> when holding a &mut T to its contents. In that case, re-entrance is prevented at runtime (further borrows fail while the mutable one is active).

It's not just with_mut, but calling back into set/swap could also violate memory safety. Not sure about get, not as directly in that case, but it would sure violate the "&muts aren't aliased" guarantee, who knows what the optimizer might do...

@glaebhoerl set, swap and get would all go through with_mut, sorry that wasn't very clear.
For this to work, with_mut has to be the one and only access of the embedded UnsafeCell.

I like the idea of
    fn from_mut(x: &mut T) -> &Cell<T> {
        unsafe { mem::transmute(x) }
    }

Can we clarify whether that transmute is UB?
I think currently rust doesn't guarantee that the transmute is valid ("struct layout is unspecified" and all).
Note that similar transmutes of questionable validity already appear in a few places in libstd (e.g. impl Deref for CString transmutes from &[u8] to &CStr).
It would be nice to officially have a rule that it's valid to transmute from &T to &S, and from &mut T to &mut S given struct S { single_member: T }.
I'm not sure if this rule is currently valid, particularly in the mutable case.
This rule would imply it's OK to transmute &mut T -> &mut UnsafeCell<T> -> &mut Cell<T> -> &Cell<T> (at least within libcore where we know how UnsafeCell and Cell are implemented).


No Release file for Ubuntu 24.04 LTS

Description
I want to install CouchDB on a Ubuntu Server 24.04 LTS and followed the offical docs here: CouchDB docs
But when update the repositores with sudo apt update, I get the following error messages.
Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease
Ign:5 https://apache.jfrog.io/artifactory/couchdb-deb noble InRelease
Err:6 https://apache.jfrog.io/artifactory/couchdb-deb noble Release
  404   [IP: <IP_ADDRESS> 443]
Reading package lists... Done
E: The repository 'https://apache.jfrog.io/artifactory/couchdb-deb noble Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Steps to Reproduce
Fresh installation of Ubuntu Server 24.04 LTS
sudo apt update
sudo apt upgrade

Enabling the Apache CouchDB package repository
sudo apt install -y curl apt-transport-https gnupg
curl https://couchdb.apache.org/repo/keys.asc | gpg --dearmor | sudo tee /usr/share/keyrings/couchdb-archive-keyring.gpg >/dev/null 2>&1
source /etc/os-release
echo "deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ ${VERSION_CODENAME} main" | sudo tee /etc/apt/sources.list.d/couchdb.list >/dev/null
sudo apt update

Expected Behaviour
Update repositories und install CouchDB after enabling the Apache CouchDB package repository
Your Environment
Hardware: Raspberry Pi 3B
OS: Ubuntu Server 24.04 LTS

CouchDB version used: latest
Browser name and version: -
Operating system and version: Ubuntu Server 24.04 LTS

Hi,
Ubuntu 24.04 LTS isn't listed under the convenience binary packages section in our docs, so you get the error message you encountered. I think and hope that this will be done in the near future.
In the meantime you could use the Snap package or build CouchDB on your Raspi by yourself.

@aklehm Docs does not explicitly explain that you have to either set this env variable or replace ${VERSION_CODENAME} to a OS version code name, in my case it was "bookworm" for Debian.
Try running "lsb_release -cs". If you get a correct code name you could do:
echo "deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ ${lsb_release -cs} main" | sudo tee /etc/apt/sources.list.d/couchdb.list >/dev/null

But if you've run the command already fix the issue by manually editing /etc/apt/sources.list.d/couchdb.list

Is there an ETA for adding a convenience package for Ubuntu 24.04 LTS?

Is the "not-a-bug" tag what is stopping this getting sorted?
We want to use the official package on Ubuntu24.04 LTS, but can't.
We tried using the "jammy" version with:
echo "deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ jammy main" | sudo tee /etc/apt/sources.list.d/couchdb.list >/dev/null
But that gives:
The following packages have unmet dependencies:
 couchdb : Depends: libmozjs-78-0 (>= 78.15.0) but it is not installable
      Depends: libicu70 (>= 70.1-1~) but it is not installable


Bug - verbose flag doesn't work.

This is on OSX, python 2.7.12.  zsh
actual
$ ptw -v
Locating inifile...

[Thu Jul 26 21:09:09 2018] Running: py.test
====================================================== test session starts =======================================================
platform darwin -- Python 2.7.12, pytest-3.6.3, py-1.5.4, pluggy-0.6.0
rootdir: /Users/bswift/src/aws/testproj, inifile: setup.cfg
collected 3 items

tests/unit/steps/test_sample.py ...                                                                                [100%]

==================================================== 3 passed in 0.07 seconds ====================================================

expected
~
tests/unit/steps/test_sample.py::Testsample::test_codebuild_should_add_stage PASSED
tests/unit/steps/test_sample.py::Testsample::test_pipeline_has_two_stages PASSED
tests/unit/steps/test_sample.py::Testsample::test_pipeline_records_metadata PASSED

==================================================== 3 passed in 0.07 seconds ====================================================

Based on expected output, I believe you want to pass -v to pytest by putting it after -- in the arguments list.
Arguments before -- are used by pytest-watch, arguments after are passed along to pytest.
ptw -- -v

Example with "double verbose" (full diffs) and "exit on first error"
(pytest-watch itself does not have an -x argument, and does not appear to support multiple verbose flags. pytest supports both)
ptw -- -vvx


An error occurring when using the StepLR scheduler on the FOLD3D dataset

Hi, thank you for your amazing work!
I tried to reproduce the GearNet results on Fold3D dataset, I followed the original .yaml file in which the StepLR scheduler was specified. However, there was an error occurring when using the scheduler as follows, I would like to ask what causes this, thank you!
15:28:38   #train: 12312, #valid: 736, #test: 718
Traceback (most recent call last):
File "script/downstream.py", line 74, in
solver, scheduler = util.build_downstream_solver(cfg, dataset)
File "/GearNet-new/util.py", line 121, in build_downstream_solver
scheduler = core.Configurable.load_config_dict(cfg.scheduler)
File "/torchdrug/lib/python3.8/site-packages/torchdrug/core/core.py", line 269, in load_config_dict
return cls(**new_config)
File "/torchdrug/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/torchdrug/lib/python3.8/site-packages/torchdrug/core/core.py", line 288, in wrapper
return init(self, *args, **kwargs)
File "/torchdrug/lib/python3.8/site-packages/torch/optim/lr_scheduler.py", line 367, in init
super(StepLR, self).init(optimizer, last_epoch, verbose)
File "/torchdrug/lib/python3.8/site-packages/torch/optim/lr_scheduler.py", line 367, in init
super(StepLR, self).init(optimizer, last_epoch, verbose)
File "/torchdrug/lib/python3.8/site-packages/torch/optim/lr_scheduler.py", line 367, in init
super(StepLR, self).init(optimizer, last_epoch, verbose)
[Previous line repeated 991 more times]
RecursionError: maximum recursion depth exceeded while calling a Python object

Hi, sorry for the inconvience. Actually, this is a bug in TorchDrug when reloading the scheduler. This has been fixed in https://github.com/DeepGraphLearning/torchdrug/commit/4ea99a04e258689f944804df091b209bfebea138. Could you try to install the TorchDrug library from the source code and see whether this can be fixed?

Thank you. Seems that the issue has been solved.


Tablet/mobile style issues

Catch-all for style issues deemed minor enough that they weren't required for closing the other style tickets.

Mobile:

Collections tiles not aligned correctly--left margin is too tight, right margin is too wide.

The advisory board heading on the contributor page is smaller than individual contributor titles which is jarring to me because I know it's supposed to be a section heading; likely confusing to others. In the design it looks like it is the same size and there is more space above it.

need to re-evaluate how many of these are still a problem.

@mnaydan do you have a sense of how many of these were captured by the more specific issues we're testing now? it seems like at least 5, 6, 8, 9, 10 for mobile and 2 for tablet are mentioned specifically in other issues.
some of them might no longer be issues as well, not sure

For mobile
1 is still a problem (collections tiles not centered on main page) but not important enough to me if you don't have time
2 I don't care about anymore
3 is still a discrepancy b/w the designs and prod but I don't care about fixing it
4 is fixed
5 and 6 are captured in other user stories
7 is so minor I don't care
8 is captured in another user story (and fixed)
9-10 are captured in other user stories
I don't have my tablet with me to check. Will get back to you on this.

altered the font size slightly for these cards so hopefully they should all now fit - I realized there are collections in here that I don't have locally to test with because they were created recently, hence the discrepancy

All solved I believe - unless @mnaydan  still cares to fix 1,2 and 7?


handle symfony 5.3 deprecations

closes https://github.com/1up-lab/OneupUploaderBundle/issues/407

@bytehead failing tests look unrelated

But somehow sf5 related 🙃

They fail exactly the same way on master too. The only thing I found is that the annotation_reader service should be defined by the FrameworkBundle, but that's already there, so no idea. I guess I'll leave that up to you.

It is somehow related to Symfony 5.3, it works on 5.2

@keksa can you rebase on master?

@bytehead done

Thank you @keksa 🙏

https://github.com/1up-lab/OneupUploaderBundle/releases/tag/3.1.3


Figure out how to build WPF using same dotnet SDK and Arcade tooling as other repos in the VMR.

Right now WPF requires use of desktop msbuild due to the use of vcxprojs. This is unfortunate because that means that wpf will not use the same SDK to build as the rest of the stack, and won't actually use the newly updated arcade SDK to build, due to the fact that the SDK resolvers are installed alongside .NET.
One option might be to just build the vcxproj's with desktop msbuild first, then use the desired SDK for the rest? thunk to desktop msbuild when building vcxproj's?
Anyways, we need a better story here. A lot of repos do have some level of native code, but it's dealt with via CMake, for instance.

Also note that WPF has custom logic for package ref support for vcxproj that involves dynamically creating csproj's on the fly and building them.

@mmitche do we have a similar issue for the vcxproj projects in dotnet/aspnetcore, or are those being handled in a separate manner?

@mmitche do we have a similar issue for the vcxproj projects in dotnet/aspnetcore, or are those being handled in a separate manner?

I'm not sure. @wtgodbe may know what the state is. My hunch is that if that native code is being used on Linux, it;s already been dealt with in aspnetcore.

AFAIK, we build the native components in a separate step using desktop msbuild, and we only build them on Windows.

I think we can use desktop msbuild on Windows if need be, it would just be good if it shelled out to desktop msbuild where necessary, from the primary dotnet build command invocation, rather than requiring desktop msbuild from the root. That ensures we can force use of the same .NET SDK across all repos.

We should include the WPF developers in the conversation here as any solution to this will seriously change the WPF build
cc: @dotnet/wpf-developers

We talked during the weekly sync and decided to try the "MSBuild resolvers dir override directory" env vars:

DOTNET_MSBUILD_SDK_RESOLVER_SDKS_DIR
DOTNET_MSBUILD_SDK_RESOLVER_SDKS_VER

We'll build a separate folder of the desktop SDK resolvers + our custom resolver for the Arcade SDK. This will allow us to use the live-built Arcade SDK without hacking apart the WPF build and trying to shoehorn it into using Core MSBuild on the .NET SDK (instead of the Desktop MSBuild).


Update MD file on new branch 2017-12-06_11-35-39

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


new test: k8s labels

Related: https://github.com/googleapis/python-logging/issues/397
GKE lets you view logs for each deployment. For this, it filters based on the labels.k8s-pod/app label. We should make sure this is captured consistently across all languages

Does Logging agent captures this label? If this label is part of the K8s resource definition I am afraid it might not be possible. We cannot assume that K8s API is accessible from a particular container. The best security practices for K8s strongly advise to block access to K8s API from containers that do not need it, making this requirement infeasible.
It would be great if we can discuss with metadata server team a possibility to publish some of the relevant pod info as a metadata. @simonz130 wdyt?

Like always, we should do our best to capture these fields on a best-effort basis, and fail gracefully if we can't. I'm not sure how difficult this field would be to populate, so we'll have to research it at some point.
I think you're right that the agent might populate the data for us though, which would make things simple when we default to structured logging


Improving enriching STO with dbpedia data

The improvement of rdfs:label and rdfs:comment is good for us
On top of that we should check what is convenient to map to the dbpedia ontology
Question, the abstract property

Should we include it or should we map it with a better name?

Unfortunately, I don't have any good suggestions about this issue. The property seem to carry a big ammount of information that can be useful. On the other hand, the difference between it and such properties as rdfs:comment and skos:definition is not always quite clear for me.

Since I can't think of any good arguments for or against the alternatives, I would rather prefer not to create an additional property in STO if there is no necessity.

Then we just add the abstract to our Knowledge Base (KB) as a DBPedia property.
Which other property from DBPedia can be of importance for enriching our KB?


Create sample app try it out screen

Create the try-it-out screen, based on the iOS sample app using material design components.
Include in this task the ViewModel and the related business logic.


Shapeless exercises

We need a set of exercises about Shapeless so we can show it on our Presentation Demo in TypeLevel Summit.
Having a set of 5 exercises is fair enough for the demo, we'll add more exercises in the future.

Currently blocked by #182

This should no longer be blocked by #182.

This was completed though more exercises will be welcome. Will create separate issues for those.


Support for not typed lists

List and Lists of other basic types are not being bind.
Only List are supported for now
(hay que meter una validacion si el tipo es primitivo)

duplicates #6

It was fixed on version #24 (0.1.16)


Help Installing Plugin

Describe Your Problem:
 Preface this by saying I am new to HB. I have attempted to install this plugin on a raspberry pi 4. The HB interface is saying it is installed successfully and showing it in my configuration, but it is not showing in my logs. During install, I am seeing errors flash, but not sure how to capture what they are (install window on HB goes by so fast and can’t find records afterwards). What could I try differently to successfully install the plugin?
Logs:
Plug in not showing in logs

Plugin Config:
            "batteryThreshold": 20,
            "debug": true,
            "platform": "GoveeHomebridgePlugin"

Screenshots:

Environment:

Plugin Version: 1.0.5
Homebridge Version: 1.1.7
Node.js Version: 14.15.3
NPM Version: v6.14.10
Operating System: Raspbian

Please disregard. I’m sorry, as I’m reading and learning I think I figured it out. I need to have a way for the Bluetooth communication to work. I’m slowly learning all of this! Saw the prerequisites here and will try to follow the instructions properly. Sorry again!

Please disregard. I’m sorry, as I’m reading and learning I think I figured it out. I need to have a way for the Bluetooth communication to work. I’m slowly learning all of this! Saw the prerequisites here and will try to follow the instructions properly. Sorry again!


Fix Wagtail 2.0 Paths

While upgrading some plugins to Wagtail 2.0, I accidentally run the wagtail updatemodulepaths against my virtual environment and realised that some files were updated too.
Also for some reasons, wagtail/wagtailsearch/tests/test_page_search.py ended up not being moved to wagtail/search.
Edit: Also used grep -RF --exclude-dir=releases wagtail.wagtail ./docs/ to check the documentation.

Thanks @loicteixeira!


debian: add support for Debian testing and unstable

This allows proper service and port management of hosts using unreleased
versions of Debian, which were being identified as pre-v8 and thus not
using systemd/ss properly.

Thanks for your contribution.
Please ignore the fails of checks. I'll check them.

Released as v2.82.24.


inculdeInResultSet for ManagedRelationship

Hi
I have following code
var query = new Query<City>()
      ..matchOn.country.includeInResultSet = true;

return new Response.ok(await query.fetchOne());

it returns me
 {"error":"Attempting to access matcher on RelationshipInverse country on _City. Assign this value to whereRelatedByValue instead."}
Off topic: I think is a good feature to can filter in multiple levels like
var query = new Query<Route>()
      ..matchOn.startCity.country = whereRelatedByValue(1);
// or
var query = new Query<Route>()
      ..matchOn.end.country.name = whereEqualTo('Anglia');

    return new Response.ok(await query.fetchOne());

Agreed, and this will make its way into the ORM soon. We just finished up an OAuth2.0 refactor, now working on deployment tools and next up is this kind of stuff for the ORM.

This is now resolved in 2.0.


Thread of Hope Crimson Jewel

How can I adjust the radius?

Only affects Passives in Very Large Ring

You can either edit the text on an existing jewel, or use the unique item selector. The unique item selector will have a combo box with the radius options.

You can either edit the text on an existing jewel, or use the unique item selector. The unique item selector will have a combo box with the radius options.

What should i do now?

⚰ rip


Poedit does not recognize Geez Script punctuation.

Poedit does not recognize Geez Script punctuation.

Here is their differences.

Punctuation Name
Punctuation (en)
Geez Script(ti, am)

section mark

፠

full stop
.
።

comma
,
፣

semicolon
;
፤

colon
:
፥

preface colon

፦

question mark
?
፧

paragraph separator

፨

https://en.wikipedia.org/wiki/Geʽez_script#Punctuation
https://lexilogos.com/keyboard/tigrinya.htm

Can you please provide sample PO file?

it seem GitHub does not support po file to be upload here.
here is a copy of the file you can look at.
msgid ""
msgstr ""
"Project-Id-Version: sample po\n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: ti_ER\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Poedit 3.0.1\n"

msgid "Hello."
msgstr "ሰላም።"

msgid "How are you?"
msgstr "ከመይ ኣለኻ፧"

msgid "Thank you."
msgstr "የቐንየለይ።"

Thanks!


Use subprocess to obtain correct site_packages #20

I ran into issue #20 because I have vim compiled with python 2 but I want to use syntax checking (via syntastic #15) and autocompletion (via YouCompleteMe). This code limits the PYTHONPATH mangling to just the cwd plus the site_packages that would be appended to sys.path if the environment where activated using the default interpreter for that environment. On my box, I get results for syntastic with flake8 and YouCompleteMe. I expect that this will also solve the problem for Python3 virtualenvs with neocomplete or other plugins.

I'm sorry, but I really dislike the idea of invoking a shell command like this, and I'm not sure what this is supposed to solve.


Prereq Instructions for IAM out-of-date

Describe the bug
https://cdkworkshop.com/15-prerequisites/200-account.html#administrator-user
Administrator User Instructions to set up Programmatic Access are out-of-date with the new AWS Console experience.
Expected Behavior
Create the IAM user first, then after creation choose from several access key options.
Current Behavior
Go to the AWS IAM console and create a new user.
Type a name for your user (e.g. cdk-workshop) and choose “Programmatic access”.
Reproduction Steps
https://cdkworkshop.com/15-prerequisites/200-account.html#administrator-user
Possible Solution
Modify instructions to match the new console experience:
Create the IAM user first, then after creation choose from several access key options.
Additional Information/Context
No response
CDK CLI Version
No response
Section
prerequisites 200-account.html administrator-user
Browser
Chrome
Language
All

Thanks for reporting the issue. We will roll out a fix soon.


Multiple VestaCP-niiknow Instances on one VPS with one IP

Hi,
how would I solve this issue of having multiple seperate instances of dockerized vesta on one VPS?
I want to limit RAM and CPU through Docker for each user who will get one of the installation.
Best
Micha

To do something like that, you can try looking at dokku; but you should build your own Vesta docker image.  My image just have too much stuff in there to be efficient for dokku.  You almost don't need VestaCP at that point.
Due to IP and ports limitation, the best way to do it is at the Vesta code level. But unlike cPanel, VestaCP currently does not have this kind of support natively.  It is also out of the scope of this project.

Thank you very much!
What stuff should I leave out for dokku so my image would be efficient?
What do you mean by: "You almost don't need VestaCP at that point."?
Does dokku have a panel that I can use to easily make RAM/CPU/Bandwidth-separated Wordpress Instances?
The part about IP/Port limitations I do not understand.

What stuff should I leave out for dokku so my image would be efficient?
A lot of it.  Pretty much just bare VestaCP.

What do you mean by: "You almost don't need VestaCP at that point."?
See my explanation in IP/Port limitations.

Does dokku have a panel that I can use to easily make RAM/CPU/Bandwidth-separated Wordpress Instances?
dokku basically proxy the front-end with nginx to your backend docker.   All your RAM/CPU is set in docker https://docs.docker.com/engine/admin/resource_constraints/.  Bandwidth is set in VestaCP.

IP/Port limitations.
VestaCP is not only a webserver.  You also have DNS, email, and all sort of other things that requires specific port to be available.  Your single IP limitation would become an issue, especially more complicated when SSL is involved.

At this point, it's either VestaCP does it natively in code or you implement your own proxy base on host header.  Example: https://github.com/dlundquist/sniproxy

Also, why can't you just use one VPS?  It's pretty cheap @ $5/month: https://www.linode.com/pricing

Hi,
thank you again for you great answers!
I found a host where they give you an unbeliavable amount of resources for not too much but also not so little that it will fit for my smaller plans.
And I thought a containerized layer will also maybe give more security...
But you are right I should keep it more simple.
Maybe I'll look into dokku more.


Support other entities other than light (e.g. climate)

Is your feature request related to a problem? Please describe.
I'd love to use this card to set the target temperature of a Thermostat
Describe the solution you'd like
Creating a big-slider for a Thermostat would allow controlling the target temperature.
Extra point if the current temperature could be shown on the right side.
Describe alternatives you've considered
I tried using Bubble Card button, but it somehow gets confused and the value changes constantly.
Also tried using the Slider Entity Row card, but it is not as good looking as Big Slider Card, and functionality is limited as well.
Additional context
I understand a better solution could be a fork of this particular project for other domains like climate. However the logic could be implemented pretty easily by checking the domain of the entity being controlled. For Light, it would control the brightness attribute. For Climate it would control the temperature attribute. Other domains could easily be supported as well.
Allowing a secondary info (true/false) could work similarly. For Light it would show nothing probably. For Climate it could show the Current Temperature attribute.
If you agree, I could even contribute to the project and try to implement it myself.

The best I could achieve was using the Slider Button Card:
    type: custom:slider-button-card
    entity: climate.trv_loft_bedroom
    name: Loft Bedroom
    compact: true
    show_name: true
    show_state: true
    show_attribute: true
    attribute: current_temperature
    slider:
      background: gradient
      show_track: true
      toggle_on_click: false
      show_attribute: false
      direction: left-right
      use_percentage_bg_opacity: true
      use_state_color: true
      force_square: false
    icon:
      show: true
      icon: mdi:radiator
      use_state_color: true
      tap_action:
        action: more-info
    action_button:
      show: false
    card_mod:
      style: |
        .text {
          display: inline-flex !important;
          width: calc(100% - 2em) !important;
          max-width: calc(100% - 2.5em) !important;
        }
        .oneliner {
          flex-grow: 1 !important;
          width: auto !important;
          max-width: 100% !important;
          display: flex;
          justify-content: end;
        }

I'd prefer to use your card instead.

+1 on this. See there’s a bunch of open similar requests, whereof one was resolved(?) but then seem to have been reverted.
I’m looking specifically for volume_level myself:)

+1 as well, personally would love to use this to control the speed of my fan


Refactor api call for blueprints page

blueprint contents can be done with a single api call with blueprint names passed in a comma separated list (/blueprints/info)

Currently we only fetch the contents when we view/edit a single blueprint. We do not need to fetch the contents for multiple blueprints at the same time.


update cri defaulting

What this PR does / why we need it:
Since k8s versions below 1.24 supports docker, there is no need to default cri to containerd when users decides to use docker
Which issue(s) this PR fixes (optional, in fixes #<issue number> format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Optional Release Note:

None

/lgtm cancel
to prevent retests

/override pull-machine-controller-e2e-vsphere
/lgtm

/override pull-machine-controller-e2e-vsphere-resource-pool


[SPARK-34701][SQL] Introduce AnalysisOnlyCommand that allows its children to be removed once the command is marked as analyzed.

What changes were proposed in this pull request?

This PR proposes to introduce the AnalysisOnlyCommand trait such that a command that extends this trait can have its children only analyzed, but not optimized. There is a corresponding analysis rule HandleAnalysisOnlyCommand that marks the command as analyzed after all other analysis rules are run.
This can be useful if a logical plan has children where they need to be only analyzed, but not optimized - e.g., CREATE VIEW or CACHE TABLE AS. This also addresses the issue found in #31933.
This PR also updates CreateViewCommand and CacheTableAsSelect to use the new trait / rule such that their children are only analyzed.
Why are the changes needed?

To address the issue where the plan is unnecessarily re-analyzed in CreateViewCommand.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Existing tests should cover the changes.

Test build #136830 has started for PR 32032 at commit b98c15c.

Test build #136830 has finished for PR 32032 at commit b98c15c.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136830/

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41411/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41411/

Test build #136833 has started for PR 32032 at commit 43f70b2.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41413/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41413/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41413/

Test build #136833 has finished for PR 32032 at commit 43f70b2.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136833/

Test build #136840 has started for PR 32032 at commit 12fdbe9.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41418/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41418/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41418/

Actually, I need to do the transformation (removing children) after checkAnalysis.

Test build #136843 has started for PR 32032 at commit e6e9061.

Test build #136840 has finished for PR 32032 at commit 12fdbe9.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136840/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41421/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41421/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41421/

Test build #136843 has finished for PR 32032 at commit e6e9061.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136843/

@cloud-fan I created an alternate solution to this #32041. Please let me know which approach makes more sense. Thanks!

Test build #136992 has started for PR 32032 at commit acb74a1.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41569/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41569/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41569/

Test build #136992 has finished for PR 32032 at commit acb74a1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136992/

Test build #137046 has started for PR 32032 at commit b78cfdb.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41621/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41621/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41621/

Test build #137056 has started for PR 32032 at commit 594981a.

Test build #137046 has finished for PR 32032 at commit b78cfdb.

This patch passes all tests.
This patch does not merge cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137046/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41634/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41634/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41634/

Test build #137056 has finished for PR 32032 at commit 594981a.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137056/

retest this please

Test build #137086 has started for PR 32032 at commit 594981a.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41664/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41664/

Test build #137145 has started for PR 32032 at commit 0ab3653.

Test build #137146 has started for PR 32032 at commit 7823044.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41724/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41724/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41725/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41725/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41724/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41725/

@cloud-fan I had to resolve the conflict and override withNewChildrenInternal. Please check one more time. Thanks!

Test build #137150 has started for PR 32032 at commit 445e1f9.

BTW, I think we can also migrate CacheTable and UncacheTable to use AnalysisOnlyCommand. I will address these as a follow up.

Test build #137146 has finished for PR 32032 at commit 7823044.

This patch passes all tests.
This patch does not merge cleanly.
This patch adds no public classes.

Test build #137145 has finished for PR 32032 at commit 0ab3653.

This patch passes all tests.
This patch does not merge cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137145/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137146/

Test build #137150 has finished for PR 32032 at commit 445e1f9.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class KnownFloatingPointNormalized(child: Expression) extends TaggingExpression
case class Acos(child: Expression) extends UnaryMathExpression(math.acos, \"ACOS\")
case class Asin(child: Expression) extends UnaryMathExpression(math.asin, \"ASIN\")
case class Atan(child: Expression) extends UnaryMathExpression(math.atan, \"ATAN\")
case class Cbrt(child: Expression) extends UnaryMathExpression(math.cbrt, \"CBRT\")
case class Cos(child: Expression) extends UnaryMathExpression(math.cos, \"COS\")
case class Cosh(child: Expression) extends UnaryMathExpression(math.cosh, \"COSH\")
case class Log10(child: Expression) extends UnaryLogExpression(StrictMath.log10, \"LOG10\")
case class Signum(child: Expression) extends UnaryMathExpression(math.signum, \"SIGNUM\")
case class Sin(child: Expression) extends UnaryMathExpression(math.sin, \"SIN\")
case class Sinh(child: Expression) extends UnaryMathExpression(math.sinh, \"SINH\")
case class Sqrt(child: Expression) extends UnaryMathExpression(math.sqrt, \"SQRT\")
case class Tan(child: Expression) extends UnaryMathExpression(math.tan, \"TAN\")
case class Tanh(child: Expression) extends UnaryMathExpression(math.tanh, \"TANH\")
case class DeleteAction(condition: Option[Expression]) extends MergeAction
case class UpdateStarAction(condition: Option[Expression]) extends MergeAction
case class InsertStarAction(condition: Option[Expression]) extends MergeAction
case class RefreshTable(child: LogicalPlan) extends UnaryCommand
case class CommentOnNamespace(child: LogicalPlan, comment: String) extends UnaryCommand
case class CommentOnTable(child: LogicalPlan, comment: String) extends UnaryCommand
case class RefreshFunction(child: LogicalPlan) extends UnaryCommand
case class DescribeFunction(child: LogicalPlan, isExtended: Boolean) extends UnaryCommand
case class RecoverPartitions(child: LogicalPlan) extends UnaryCommand
case class SetCommand(kv: Option[(String, Option[String])])
case class ResetCommand(config: Option[String]) extends LeafRunnableCommand with IgnoreCachedData
case class AddJarCommand(path: String) extends LeafRunnableCommand
case class AddFileCommand(path: String) extends LeafRunnableCommand
case class AddArchiveCommand(path: String) extends LeafRunnableCommand
case class ListFilesCommand(files: Seq[String] = Seq.empty[String]) extends LeafRunnableCommand
case class ListJarsCommand(jars: Seq[String] = Seq.empty[String]) extends LeafRunnableCommand
case class ListArchivesCommand(archives: Seq[String] = Seq.empty[String])
abstract class DescribeCommandBase extends LeafRunnableCommand
case class LocalLimitExec(limit: Int, child: SparkPlan) extends BaseLimitExec

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137150/

Test build #137322 has started for PR 32032 at commit 111ef8b.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41902/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41902/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41902/

Test build #137322 has finished for PR 32032 at commit 111ef8b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

thanks, merging to master!

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137322/


Using an alternative atlas

Hello, It was a real pleasure working with this tool, I just have one question, how can we adjust it to use another atlas for labeling, I have done my analysis with the FSL Harvard Oxford (164 region), and I want to use the same atlas for labeling, could you please guide me through this?

Hi, to handle 164 ROIs, you will need to create a new dictionary for the idx_to_label parameter and an (n, 3)-sized list of lists/tuples for the coords parameter.
For instance, if the 0th ROI had the "FP" label (MNI coordinate: [0, 68, 6]) and the 1st ROI had the "IFG" label (coordinate: [44, 32, 0]), then your dictionary would start:
idx_to_label = {0: 'FP', 1: 'IFG'}
coords = [[0, 68, 6], [44, 32, 0]]

You would need to expand this for all 164 ROIs or so (i.e., make a dictionary of length 164 and a list of length 164). The first example in the README shows this process going up to 8 ROIs.
However, just a heads-up: The Harvard-Oxford atlas contains 69 labels for cortical and subcortical areas, right? If so, I'm not sure if you'd be able to fit them all neatly on the chord diagram (i.e., if you're plotting 69 segments, then each one would be tiny and there wouldn't be any space for the text).

Dear Mr. Bogdan,
I hope this email finds you well. Firstly, I want to extend my heartfelt
gratitude for your prompt and thorough response, as well as for taking the
time to assist me with this matter. Your guidance has been invaluable, and
I truly appreciate your support.
I understand from your instructions that creating a new dictionary for the
idx_to_label parameter and generating an (n, 3)-sized list of lists/tuples
for the coords parameter is the recommended approach for handling multiple
ROIs. Your example was clear and concise, and I will certainly proceed with
implementing it accordingly.
However, I wanted to inquire about the possibility of modifying the code to
accommodate our own atlas file, similar to how it interacts with the Yeo
atlas. While I understand that the package is designed for the Yeo atlas, I
was curious if there might be a feasible way to adapt the code to work with
our specific atlas.
Do you believe it would be feasible to customize the code in such a manner,
or do you still recommend proceeding with manually developing the
dictionary as per your initial guidance?
Once again, thank you immensely for your assistance and for shedding light
on this matter. I look forward to your insights and guidance.
Warm regards,
Mohammad Hossein
On Sun, Feb 18, 2024 at 7:54 PM Paul Bogdan @.***>
wrote:

Hi, to handle 164 ROIs, you will need to create a new dictionary for the
idx_to_label parameter and an (n, 3)-sized list of lists/tuples for the
coords parameter.
For instance, if the 0th ROI had the "FP" label (MNI coordinate: [0, 68,
6]) and the 1st ROI had the "IFG" label (coordinate: [44, 32, 0]), then
your dictionary would start:
idx_to_label = {0: 'FP', 1: 'IFG'}coords = [[0, 68, 6], [44, 32, 0]]
You would need to expand this for all 164 ROIs or so (i.e., make a
dictionary of length 164 and a list of length 164). The first example in
the README shows this process going up to 8 ROIs.
However, just a heads-up: The Harvard-Oxford atlas contains 69 labels for
cortical and subcortical areas, right? If so, I'm not sure if you'd be able
to fit them all neatly on the chord diagram (i.e., if you're plotting 69
segments, then each one would be tiny and there wouldn't be any space for
the text).
—
Reply to this email directly, view it on GitHub
https://github.com/paulcbogdan/NiChord/issues/2#issuecomment-1951376400,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGHX2MBSN4R5ZMZRECKRY5DYUITMRAVCNFSM6AAAAABDODBMFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJRGM3TMNBQGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Sorry for this much slower response! I think you should just pursue the dictionary route. This is certainly the easiest way to accomplish what you seem to be looking for.
I'm not sure what you mean by adapting the code to work with the atlas you are using. The only change that I could see would be adapting get_idx_to_label to accept a different atlas argument. It currently only has the yeo atlas setup for it. However, this could be changed to have other atlases built in. If you end up doing this and you want to incorporate another atlas in the code, please let me know. I would happily pull such a change, but I don't have time to work on something like this myself right now (particularly, as the dictionary route is always there, so this type of modification isn't essential).


Change provider naming from asf to v2

Adjust provider naming for S3 and Lambda from asf to v2 in line with:

https://github.com/localstack/localstack/pull/7648
https://github.com/localstack/localstack/pull/7625

Add a Makefile to automate common commands

Minor suggestion (removing v2_pro), otherwise LGTM 👍
Will be pretty short-lived but still good to get it out now 😁

yup, just wanted to get a consistent change with S3 out and rename the page before opening the big service-specific v2 release PR


Test Scenario for Ding

First make sure you read the test guidelines here: https://github.com/Wiredcraft/test-pm
This task will be followed up asynchronously over a few days and should not take more than two hours in total.
Project Introduction
You have been assigned as project manager for a project for the client Hodor Corp (your client stakeholder is Harry). The outcome of this project will be a website which allows a user to sign up, and log-in to a system that gives them stock market information. The system as a whole is expected in 5 weeks.
Project Details
The work has been divided into two parts:
• the backend and frontend for login and signup - This will be handled by Wiredcraft completely
• the backend and frontend for stock information which will be provided by a separate company Frodo Labs, you will need to interface with Frank, their project manager, to coordinate as they are building this system from scratch for Hodor Corp.
The specific requirements for the registration have been decided as Username, Password and Email address fields. The login will be based on username. And after sign up the stock market information system expects to receive the Username and Email so they can customise the information.
In your team you have:
• A designer who can make mockups and flow diagrams of the login and once confirmed, implement the frontend
• A developer who can implement the backend and help out integrating the login frontend
• A dev-ops engineer who can set up the servers and take care of deployment.
Your Task
The first step of this task is for you to provide the following:
• Clarify the requirements and provide your understanding of the final scope for Wiredcraft's work.
• An initial project plan including:

A work breakdown for Wiredcraft's integration with Frodo labs up to the final delivery
a rough timeline of what you think needs to happen in this project and deliverables. You can use the methodology of your choice for this plan,
Outline the project phases you would have and what should be delivered at each phase.
The plan can be a few paragraphs of text and the timeline can also be made using Github markdown by outlining what needs to be done during each week.
A rough outline of the process you would use for the day-to-day organisation of the development team and a short overview of how you would manage the communication flows internally and externally.

You can also kick off with any questions to multiple people in one GitHub comment, I will answer likewise and bring up more cases to test your communication skills as we go along:
(Assume you have already been introduced to the client (@hcharry111) and stock market service vendor (@flfrank222) ) and you can @myteam333 for questions to your development team)
e.g.
@flfrank222 - Hi there, can I confirm with you the requirements for ...
@hcharry111 - I heard from FLFrank222 that they need to have xxx, does that mean we need to change ....
@myteam333 - I'm not clear on how xxx could work, can you tell me more about it?
@mpathiuk - For the test, I don't understand what you mean by xxx ...

Closing as incomplete.


Windows 10 VMs can't change resolution

Windows 10 currently boots with a basic (read EFI-based) graphics driver, which can't change resolution, see: https://bugzilla.redhat.com/show_bug.cgi?id=1540818
Switching to -vga qxl and then installing drivers atop the basic display works.

This isn't the major deal that it was, as the Win10 VMs have gone back to MBR booting, however switching to qxl by default, with a --no-virtio option to switch to std/pcnet.