[master] Transfer leadership on shutdown

avoid https://github.com/hashicorp/raft/issues/472 at regular stop master
do stress test

make hashicorp_raft

for i in {1..100}; do sleep 2; docker exec -it seaweedfs_master2_1 kill -s HUP 1; docker exec -it seaweedfs_master1_1 kill -s HUP 1;docker exec -it seaweedfs_master0_1 kill -s HUP 1;done

Stop leader docker stop seaweedfs_master2_1

https://github.com/hashicorp/raft/issues/472 did not reproduce locally
seaweedfs_master2_1 exited with code 0
master0_1  | 2022-10-06T10:47:33.537Z [WARN]  raft: heartbeat timeout reached, starting election: last-leader-addr=master2:9335 last-leader-id=
master1_1  | 2022-10-06T10:47:33.545Z [WARN]  raft: rejecting vote request since we have a leader: from=master0:9333 leader=master2:9335 leader-id=""
master0_1  | 2022-10-06T10:47:33.665Z [ERROR] raft: failed to make requestVote RPC: target="{Voter master2:9335 master2:19335}" error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\"" term=89
master1_1  | 2022-10-06T10:47:33.925Z [WARN]  raft: heartbeat timeout reached, starting election: last-leader-addr=master2:9335 last-leader-id=
master1_1  | 2022-10-06T10:47:33.944Z [ERROR] raft: failed to make requestVote RPC: target="{Voter master2:9335 master2:19335}" error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\"" term=89
master0_1  | I1006 10:47:34.214459 masterclient.go:171 .master masterClient Connecting to master master1:9334
master0_1  | I1006 10:47:34.218053 masterclient.go:196 .master masterClient Connected to master1:9334
master1_1  | I1006 10:47:34.218239 masterclient.go:171 .master masterClient Connecting to master master1:9334
master1_1  | I1006 10:47:34.221881 masterclient.go:196 .master masterClient Connected to master1:9334
volume3_1  | I1006 10:47:38.207343 volume_grpc_client_to_master.go:109 Heartbeat to: master0:9333
volume1_1  | I1006 10:47:38.207693 volume_grpc_client_to_master.go:109 Heartbeat to: master0:9333
volume2_1  | I1006 10:47:38.207694 volume_grpc_client_to_master.go:109 Heartbeat to: master1:9334
master0_1  | 2022-10-06T10:47:49.596Z [WARN]  raft: Election timeout reached, restarting election
master0_1  | I1006 10:47:49.616603 master_server.go:198 is leader true change event: master2:9335 => master0:9333
master0_1  | 2022-10-06T10:47:49.738Z [ERROR] raft: failed to make requestVote RPC: target="{Voter master2:9335 master2:19335}" error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\"" term=90
master0_1  | 2022-10-06T10:47:49.738Z [ERROR] raft: failed to heartbeat to: peer=master2:19335 backoff time=10ms error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:49.738Z [ERROR] raft: failed to appendEntries to: peer="{Voter master2:9335 master2:19335}" error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:49.749Z [ERROR] raft: failed to appendEntries to: peer="{Voter master2:9335 master2:19335}" error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:49.816Z [ERROR] raft: failed to heartbeat to: peer=master2:19335 backoff time=10ms error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:49.816Z [ERROR] raft: failed to appendEntries to: peer="{Voter master2:9335 master2:19335}" error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:49.887Z [ERROR] raft: failed to heartbeat to: peer=master2:19335 backoff time=10ms error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:49.925Z [ERROR] raft: failed to appendEntries to: peer="{Voter master2:9335 master2:19335}" error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:49.936Z [ERROR] raft: failed to heartbeat to: peer=master2:19335 backoff time=20ms error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:49.980Z [WARN]  raft: failed to contact: server-id=master2:9335 time=364.367415ms
master0_1  | 2022-10-06T10:47:50.006Z [ERROR] raft: failed to heartbeat to: peer=master2:19335 backoff time=40ms error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:50.065Z [ERROR] raft: failed to appendEntries to: peer="{Voter master2:9335 master2:19335}" error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:50.088Z [ERROR] raft: failed to heartbeat to: peer=master2:19335 backoff time=80ms error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:50.213Z [ERROR] raft: failed to appendEntries to: peer="{Voter master2:9335 master2:19335}" error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:50.215Z [ERROR] raft: failed to heartbeat to: peer=master2:19335 backoff time=160ms error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:50.328Z [WARN]  raft: failed to contact: server-id=master2:9335 time=711.584405ms
master0_1  | 2022-10-06T10:47:50.424Z [ERROR] raft: failed to heartbeat to: peer=master2:19335 backoff time=178.32769ms error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:50.439Z [ERROR] raft: failed to appendEntries to: peer="{Voter master2:9335 master2:19335}" error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:50.647Z [ERROR] raft: failed to heartbeat to: peer=master2:19335 backoff time=178.32769ms error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:50.668Z [WARN]  raft: failed to contact: server-id=master2:9335 time=1.051900637s
master0_1  | 2022-10-06T10:47:50.826Z [ERROR] raft: failed to appendEntries to: peer="{Voter master2:9335 master2:19335}" error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:50.889Z [ERROR] raft: failed to heartbeat to: peer=master2:19335 backoff time=178.32769ms error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:51.139Z [ERROR] raft: failed to heartbeat to: peer=master2:19335 backoff time=178.32769ms error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:51.367Z [ERROR] raft: failed to heartbeat to: peer=master2:19335 backoff time=178.32769ms error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:51.550Z [ERROR] raft: failed to appendEntries to: peer="{Voter master2:9335 master2:19335}" error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:51.592Z [ERROR] raft: failed to heartbeat to: peer=master2:19335 backoff time=178.32769ms error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:51.827Z [ERROR] raft: failed to heartbeat to: peer=master2:19335 backoff time=178.32769ms error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master0_1  | 2022-10-06T10:47:52.042Z [ERROR] raft: failed to heartbeat to: peer=master2:19335 backoff time=178.32769ms error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host\""
master1_1  | I1006 10:47:52.216114 masterclient.go:266 updateVidMap ignore short heartbeat: volume_location:{}
master1_1  | I1006 10:47:52.216617 masterclient.go:223 .master masterClient failed to receive from master1:9334: EOF
filer_1    | I1006 10:47:52.216409 masterclient.go:266 updateVidMap ignore short heartbeat: volume_location:{}
filer_1    | I1006 10:47:52.217605 masterclient.go:223 .filer masterClient failed to receive from master0:9333: EOF
master1_1  | I1006 10:47:52.218915 masterclient.go:259 .master masterClient failed to connect with master master1:9334: EOF
master1_1  | I1006 10:47:52.219077 masterclient.go:171 .master masterClient Connecting to master master0:9333
master0_1  | I1006 10:47:52.216463 masterclient.go:266 updateVidMap ignore short heartbeat: volume_location:{}
master0_1  | I1006 10:47:52.217022 masterclient.go:223 .master masterClient failed to receive from master1:9334: EOF
master0_1  | I1006 10:47:52.217688 masterclient.go:259 .master masterClient failed to connect with master master1:9334: EOF
master0_1  | I1006 10:47:52.217948 masterclient.go:171 .master masterClient Connecting to master master2:9335
filer_1    | I1006 10:47:52.223914 masterclient.go:208 master master1:9334 redirected to leader master0:9333
master1_1  | I1006 10:47:52.224895 masterclient.go:196 .master masterClient Connected to master0:9333
master0_1  | I1006 10:47:52.225895 master_grpc_server.go:347 + client .master@master1:9334
master0_1  | I1006 10:47:52.227714 master_grpc_server.go:347 + client .filer@<IP_ADDRESS>:8888
master1_1  | I1006 10:47:52.228496 masterclient.go:245 + .filer <IP_ADDRESS>:8888 leader:true
master0_1  | I1006 10:47:52.231733 masterclient.go:179 .master masterClient failed to keep connected to master2:9335: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host"
master0_1  | I1006 10:47:52.231769 masterclient.go:259 .master masterClient failed to connect with master master2:9335: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: lookup master2 on <IP_ADDRESS>:53: no such host"
master0_1  | I1006 10:47:52.231777 masterclient.go:171 .master masterClient Connecting to master master0:9333
master0_1  | I1006 10:47:52.233270 masterclient.go:196 .master masterClient Connected to master0:9333
master0_1  | I1006 10:47:52.233910 master_grpc_server.go:347 + client .master@master0:9333
filer_1    | I1006 10:47:52.234611 masterclient.go:245 + .master master0:9333 leader:false
master1_1  | I1006 10:47:52.234695 masterclient.go:245 + .master master0:9333 leader:false

try two:
seaweedfs_master1_1 exited with code 0
master0_1  | 2022-10-06T13:34:32.097Z [WARN]  raft: heartbeat timeout reached, starting election: last-leader-addr=master1:9334 last-leader-id=
master0_1  | 2022-10-06T13:34:32.097Z [INFO]  raft: entering candidate state: node="Node at master0:9333 [Candidate]" term=105
master0_1  | 2022-10-06T13:34:32.100Z [DEBUG] raft: asking for vote: term=105 from=master2:9335 address=master2:19335
master0_1  | 2022-10-06T13:34:32.100Z [DEBUG] raft: voting for self: term=105 id=master0:9333
master2_1  | 2022-10-06T13:34:32.104Z [WARN]  raft: rejecting vote request since we have a leader: from=master0:9333 leader=master1:9334 leader-id=""
master0_1  | 2022-10-06T13:34:32.108Z [DEBUG] raft: asking for vote: term=105 from=master1:9334 address=master1:19334
master0_1  | 2022-10-06T13:34:32.108Z [DEBUG] raft: calculated votes needed: needed=2 term=105
master0_1  | 2022-10-06T13:34:32.109Z [DEBUG] raft: vote granted: from=master0:9333 term=105 tally=1
master0_1  | 2022-10-06T13:34:32.277Z [ERROR] raft: failed to make requestVote RPC: target="{Voter master1:9334 master1:19334}" error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master1 on <IP_ADDRESS>:53: no such host\"" term=105
master2_1  | 2022-10-06T13:34:32.528Z [WARN]  raft: heartbeat timeout reached, starting election: last-leader-addr=master1:9334 last-leader-id=
master2_1  | 2022-10-06T13:34:32.528Z [INFO]  raft: entering candidate state: node="Node at master2:9335 [Candidate]" term=105
master2_1  | 2022-10-06T13:34:32.533Z [DEBUG] raft: voting for self: term=105 id=master2:9335
master2_1  | 2022-10-06T13:34:32.541Z [DEBUG] raft: asking for vote: term=105 from=master0:9333 address=master0:19333
master2_1  | 2022-10-06T13:34:32.541Z [DEBUG] raft: asking for vote: term=105 from=master1:9334 address=master1:19334
master2_1  | 2022-10-06T13:34:32.541Z [DEBUG] raft: calculated votes needed: needed=2 term=105
master2_1  | 2022-10-06T13:34:32.541Z [DEBUG] raft: vote granted: from=master2:9335 term=105 tally=1
master0_1  | 2022-10-06T13:34:32.542Z [INFO]  raft: duplicate requestVote for same term: term=105
master2_1  | 2022-10-06T13:34:32.551Z [ERROR] raft: failed to make requestVote RPC: target="{Voter master1:9334 master1:19334}" error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master1 on <IP_ADDRESS>:53: no such host\"" term=105
master0_1  | I1006 13:34:32.702825 masterclient.go:171 .master masterClient Connecting to master master2:9335
master0_1  | I1006 13:34:32.707440 masterclient.go:196 .master masterClient Connected to master2:9335
master2_1  | I1006 13:34:32.714279 masterclient.go:171 .master masterClient Connecting to master master0:9333
master2_1  | I1006 13:34:32.717516 masterclient.go:196 .master masterClient Connected to master0:9333
master2_1  | I1006 13:34:33.202449 raft_hashicorp.go:179 Showing peers known by Node at master2:9335 [Candidate]:
master2_1  | [{Suffrage:Voter ID:master2:9335 Address:master2:19335} {Suffrage:Voter ID:master0:9333 Address:master0:19333} {Suffrage:Voter ID:master1:9334 Address:master1:19334}]
master0_1  | I1006 13:34:34.151373 raft_hashicorp.go:179 Showing peers known by Node at master0:9333 [Candidate]:
master0_1  | [{Suffrage:Voter ID:master2:9335 Address:master2:19335} {Suffrage:Voter ID:master0:9333 Address:master0:19333} {Suffrage:Voter ID:master1:9334 Address:master1:19334}]
master2_1  | I1006 13:34:36.507948 raft_hashicorp.go:179 Showing peers known by Node at master2:9335 [Candidate]:
master2_1  | [{Suffrage:Voter ID:master2:9335 Address:master2:19335} {Suffrage:Voter ID:master0:9333 Address:master0:19333} {Suffrage:Voter ID:master1:9334 Address:master1:19334}]
volume2_1  | I1006 13:34:36.687071 volume_grpc_client_to_master.go:109 Heartbeat to: master2:9335
volume1_1  | I1006 13:34:36.688755 volume_grpc_client_to_master.go:109 Heartbeat to: master2:9335
volume3_1  | I1006 13:34:36.690319 volume_grpc_client_to_master.go:109 Heartbeat to: master2:9335
master0_1  | I1006 13:34:37.766294 raft_hashicorp.go:179 Showing peers known by Node at master0:9333 [Candidate]:
master0_1  | [{Suffrage:Voter ID:master2:9335 Address:master2:19335} {Suffrage:Voter ID:master0:9333 Address:master0:19333} {Suffrage:Voter ID:master1:9334 Address:master1:19334}]
master2_1  | I1006 13:34:39.815239 raft_hashicorp.go:179 Showing peers known by Node at master2:9335 [Candidate]:
master2_1  | [{Suffrage:Voter ID:master2:9335 Address:master2:19335} {Suffrage:Voter ID:master0:9333 Address:master0:19333} {Suffrage:Voter ID:master1:9334 Address:master1:19334}]
master0_1  | I1006 13:34:41.350958 raft_hashicorp.go:179 Showing peers known by Node at master0:9333 [Candidate]:
master0_1  | [{Suffrage:Voter ID:master2:9335 Address:master2:19335} {Suffrage:Voter ID:master0:9333 Address:master0:19333} {Suffrage:Voter ID:master1:9334 Address:master1:19334}]
master2_1  | I1006 13:34:43.083547 raft_hashicorp.go:179 Showing peers known by Node at master2:9335 [Candidate]:
master2_1  | [{Suffrage:Voter ID:master2:9335 Address:master2:19335} {Suffrage:Voter ID:master0:9333 Address:master0:19333} {Suffrage:Voter ID:master1:9334 Address:master1:19334}]
master2_1  | 2022-10-06T13:34:44.409Z [WARN]  raft: Election timeout reached, restarting election
master2_1  | 2022-10-06T13:34:44.409Z [INFO]  raft: entering candidate state: node="Node at master2:9335 [Candidate]" term=106
master2_1  | 2022-10-06T13:34:44.413Z [DEBUG] raft: voting for self: term=106 id=master2:9335
master0_1  | 2022-10-06T13:34:44.422Z [DEBUG] raft: lost leadership because received a requestVote with a newer term
master2_1  | 2022-10-06T13:34:44.421Z [DEBUG] raft: asking for vote: term=106 from=master0:9333 address=master0:19333
master2_1  | 2022-10-06T13:34:44.421Z [DEBUG] raft: asking for vote: term=106 from=master1:9334 address=master1:19334
master2_1  | 2022-10-06T13:34:44.421Z [DEBUG] raft: calculated votes needed: needed=2 term=106
master2_1  | 2022-10-06T13:34:44.422Z [DEBUG] raft: vote granted: from=master2:9335 term=106 tally=1
master2_1  | 2022-10-06T13:34:44.435Z [ERROR] raft: failed to make requestVote RPC: target="{Voter master1:9334 master1:19334}" error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master1 on <IP_ADDRESS>:53: no such host\"" term=106
master2_1  | 2022-10-06T13:34:44.439Z [DEBUG] raft: vote granted: from=master0:9333 term=106 tally=2
master2_1  | 2022-10-06T13:34:44.439Z [INFO]  raft: election won: term=106 tally=2
master2_1  | 2022-10-06T13:34:44.439Z [INFO]  raft: entering leader state: leader="Node at master2:9335 [Leader]"
master2_1  | 2022-10-06T13:34:44.439Z [INFO]  raft: added peer, starting replication: peer=master0:9333
master2_1  | 2022-10-06T13:34:44.439Z [INFO]  raft: added peer, starting replication: peer=master1:9334
master2_1  | 2022-10-06T13:34:44.443Z [ERROR] raft: failed to appendEntries to: peer="{Voter master1:9334 master1:19334}" error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup master1 on <IP_ADDRESS>:53: no such host\""
master2_1  | 2022-10-06T13:34:44.443Z [INFO]  raft: pipelining replication: peer="{Voter master0:9333 master0:19333}"
master0_1  | 2022-10-06T13:34:44.438Z [INFO]  raft: entering follower state: follower="Node at master0:9333 [Follower]" leader-address= leader-id=


Customize Tables: Sub-tables should only contain fields from the objects in the sub-array

Here, the tables are identical. (Note: This particular screenshot also has the issue in #99.)

Also, after a split, the sub-array's columns should not be in the parent table.

Fixed here


SSH not working on remote server (using ssh connection manager)

When I ssh to a remote server using the connections manager and then try to ssh form that server to another the console just hangs and is completely unresponsive ctrl+c doesn't do anything. When I ssh directly from a tab (not using the connection manager) it works perfectly.
The use case I have is at work I have a development vm and I want to use ssh keys to push and pull from github but currently can't when I use the connection manager.

Hi,
There is the same issue for me. When I connect to a remote server via connection manager, and then ssh to another server, then console is unresponsive.

I'm having this issue too. I've noticed that certain prompts cause Terminus to completely hang. Not sure what's going on.

I'm having this issue too. I don't know what it is.Other ssh tools are normally connectable, but using terminus cannot be used on the command line.

I have this exact same issue as well. Any attempt to SSH from the remote machine. Weirdly, it was working prior to about 30 minutes ago and suddenly I have this problem.

Still present for me also in 1.0.1

@Eugeny I don't see the issue since the version 1.0.73. Thanks!

I am new to Terminus, and this is also an issue I'm experiencing. git pull on a remote server (via ssh) causes the session to become unresponsive. v1.0.77

+1 V1.0.103 whenever I do git pull or git fetch my sessions becomes unresponsive

Appears to still be present in version 1.0.108. The error message associated with the issue in devtools lists it as:
events.js:187 Uncaught Error: write EPIPE
at afterWriteDispatched (internal/stream_base_commons.js:150)
at writeGeneric (internal/stream_base_commons.js:141)
at Socket._writeGeneric (net.js:770)
at Socket._write (net.js:782)
at doWrite (_stream_writable.js:431)
at writeOrBuffer (_stream_writable.js:415)
at Socket.Writable.write (_stream_writable.js:305)
at Socket.Writable.end (_stream_writable.js:594)
at Socket.end (net.js:574)
at PageantSock.write (agent.js:407)
at Channel.eval (agent.js:323)
at Channel.emit (events.js:210)
at addChunk (_stream_readable.js:308)
at readableAddChunk (_stream_readable.js:289)
at Channel.Readable.push (_stream_readable.js:223)
at SSH2Stream.eval (Channel.js:167)
at SSH2Stream.emit (events.js:210)
at parsePacket (ssh.js:3191)
at SSH2Stream._transform (ssh.js:701)
at SSH2Stream.Transform._read (_stream_transform.js:189)
at SSH2Stream._read (ssh.js:253)
at SSH2Stream.Transform._write (_stream_transform.js:177)
at doWrite (_stream_writable.js:431)
at writeOrBuffer (_stream_writable.js:415)
at SSH2Stream.Writable.write (_stream_writable.js:305)
at Socket.ondata (_stream_readable.js:726)
at Socket.emit (events.js:210)
at addChunk (_stream_readable.js:308)
at readableAddChunk (_stream_readable.js:289)
at Socket.Readable.push (_stream_readable.js:223)
at TCP.onStreamRead (internal/stream_base_commons.js:182)


python311Packages.adafruit-pureio: 1.1.10 -> 1.1.11

Changelog: https://github.com/adafruit/Adafruit_Python_PureIO/releases/tag/1.1.11
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 234246 run on x86_64-linux 1

2 packages built:

python310Packages.adafruit-pureio
python311Packages.adafruit-pureio


Roll engine eec36a8d4f6d..3fb5d855f228 (1 commits)

git@github.com:flutter/engine.git/compare/eec36a8d4f6d...3fb5d855f228
git log eec36a8d4f6d..3fb5d855f228 --no-merges --oneline
2019-11-10<EMAIL_ADDRESS>Roll fuchsia/sdk/core/mac-amd64 from xC_an... to 4JJNo... (flutter/engine#13773)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5374514849906688 , https://cirrus-ci.com/task/5163408617373696 , https://cirrus-ci.com/task/6078202291683328 , https://cirrus-ci.com/task/5937464803328000

Commit queue failed; closing this roll.


broken code in exp_mpi mode

just so we don't forget about this: this looks fishy, but can't curently look at it!
/home/wald/Projects/ospray/modules/DPRT/DPRT.cpp(82): warning #1011: missing return statement at end of non-void function "ospray::dprt::DPRTRenderer::beginFrame"
virtual void *beginFrame(FrameBuffer *fb) {};
^
/home/wald/Projects/ospray/modules/DPRT/DPRT.cpp(142): warning #1011: missing return statement at end of non-void function "ospray::dprt::DPRTRenderer::renderFrame"
}
^

This looks like code you have in a module. Please re-open and update if you find in OSPRay itself.


fix: remove course name from the syllabi lookup

just removes the course name from the url when looking up past syllabi

This change is

Do we want to include the instructor name in the lookup?

Do we want to include the instructor name in the lookup?

I think it's not supposed to be professor specific and just course specific based

Do we want to include the instructor name in the lookup?

I think it's not supposed to be professor specific, just course specific based

Supposed to as in based on what Isaiah or someone else said in the past? Professors have different syllabi.

Do we want to include the instructor name in the lookup?

I think it's not supposed to be professor specific, just course specific based

Supposed to as in based on what Isaiah or someone else said in the past? Professors have different syllabi.

Maybe we should account for the instructor in the lookup. Take PED 106C Weight Training w RICH, GEOFF for example: Without accounting for the instructor, you just see all the courses and have too look for Geoff Rich. Including instructor will take you straight to Geoff Rich's syllabi. Some instructors have different syllabi.

Account for the instructor


Skeletal Grunt

Sketatal Grunts summoned for Fel Horde do not count as Undead ,

@Technopig1992 So, either I forgot to make them Undead when I made this ability, or someone intentionally changed them to non-Undead to deal with some ability interaction or another.
Either way I'll fix it, because undead units not being Undead is not valid!


Refactor Pynecil client to enhance documentation and error handling

Updated Pynecil class docstring to include attributes description.
Improved connect method docstring to clarify connection management.
Enhanced get_device_info and get_settings method docstrings with detailed explanations and notes.
Modified read and write methods to include more informative error logging.
Added docstring for decode_live_data with detailed description of returned LiveDataResponse attributes.
Updated docstring for clip function to provide clearer explanation of its behavior.
Improved encode_int function docstring with more explicit parameter description.
Updated encode_lang_code function docstring to specify hashing method.
Added docstring to decode_lang_code function to clarify return values and handling.
Improved CommunicationError class with docstrings for init and str methods.

@coderabbitai review

Codecov Report
Attention: Patch coverage is 0% with 13 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (a556e03) to head (b81bd31).

Files
Patch %
Lines

pynecil/client.py
0.00%
8 Missing :warning:

pynecil/exceptions.py
0.00%
5 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@          Coverage Diff          @@
##            main      #2   +/-   ##
=====================================
  Coverage   0.00%   0.00%
=====================================
  Files          5       5
  Lines        346     354    +8
=====================================
- Misses       346     354    +8

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@coderabbitai please write pytest unit tests for the client.py file


[Off-canvas] Force-Top doesn't work

According to the docs data-force-top is set to true by default which will Force the page to scroll to top on open..
This doesn't work. It was working prior to 6.2 but appears to be broken in 6.2.

Documentation example works as expected: http://codepen.io/anon/pen/ZWbwgE?editors=1100

@Deckluhm - Actually, it works in Chrome and Edge (both latest versions) but not Firefox (v45). Firefox appears to be broken.

This is still present in 6.2.1 for firefox.

Instead of $('body').scrollTop(0); it should read $('html,body').scrollTop(0); in foundation.offcanvas.js on line 157 because Firefox and IE place the overflow at the <html> level (unless otherwise specified) whereas Safari, Chrome, Opera place it at the <body> level.

Off canvas has been completely reworked for 6.3 and this issue should now be solved.
Release candidate is out today, with the full release scheduled for the 15th December.
Closing this, but if you still have issues with 6.3 please re-open.


KAFKA-6145: Pt. 5 Implement high availability assignment

WIP: still filling in all tests

test this please

test this please

test this please

Test failure got a bit buried:
org.apache.kafka.streams.integration.QueryableStateIntegrationTest.concurrentAccesses failed, log available in<EMAIL_ADDRESS>
org.apache.kafka.streams.integration.QueryableStateIntegrationTest > concurrentAccesses FAILED
    java.lang.AssertionError: Did not receive all 48 records from topic output-concurrent-2 within 120000 ms
    Expected: is a value equal to or greater than <48>
         but: <0> was less than <48>
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
        at org.apache.kafka.streams.integration.utils.IntegrationTestUtils.lambda$waitUntilMinValuesRecordsReceived$6(IntegrationTestUtils.java:691)
        at org.apache.kafka.test.TestUtils.retryOnExceptionWithTimeout(TestUtils.java:415)
        at org.apache.kafka.test.TestUtils.retryOnExceptionWithTimeout(TestUtils.java:383)
        at org.apache.kafka.streams.integration.utils.IntegrationTestUtils.waitUntilMinValuesRecordsReceived(IntegrationTestUtils.java:687)
        at org.apache.kafka.streams.integration.QueryableStateIntegrationTest.waitUntilAtLeastNumRecordProcessed(QueryableStateIntegrationTest.java:1199)
        at org.apache.kafka.streams.integration.QueryableStateIntegrationTest.concurrentAccesses(QueryableStateIntegrationTest.java:649)

retest this please

Test this please

System test run: https://jenkins.confluent.io/job/system-test-kafka-branch-builder/3870/

System tests passed

https://builds.apache.org/job/kafka-pr-jdk11-scala2.13/5565/
and
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/1546/
were aborted
Retest this please

Here's the passing system test report:
http://confluent-kafka-branch-builder-system-test-results.s3-us-west-2.amazonaws.com/2020-04-01--001.1585786456--ableegoldman--KIP-441-implement-assignment-algorithm--f473f60/report.html
Since Jenkins is apparently not working, I ran: clean systemTestLibs :streams:test :streams:test-utils:test and got BUILD SUCCESSFUL in 12m 39s, so I will proceed to merge this PR.


Can't run "hugo new" because empty archetypes/default.md file

I set in my config file :
theme = "hugo-zen"

And now when I run hugo new <something_new> I have :
ERROR: 2016/02/18 Error processing archetype file: <path_to_my_project>/themes/hugo-zen/archetypes/default.md
ERROR: 2016/02/18 Unable to Cast <nil> to map[string]interface{}

To be able to run the command I had to remove the file default.md. Now it uses the default one from Hugo and I can create new content.
Is it ok to think we should remove this file from the project ? And maybe just keep an empty .gitkeep file in the archetypes directory if needed.
Thanks

Thank you for your reporting!
I removed default.md from hugo-zen, and push it.

Thank you ! :smiley:


Can't find any devices..

OK so I am new to this so apologies if I have missed something simple.

I have an Alexa and a single solitary Philips Hue lightbulb, no bridge.
I have installed Ubuntu 16.04 updated and installed default-jre and jdk.
I have created a directory called data
I have run java -jar ha-bridge-3.5.1.jar and no errors
I can access the webserver on my laptop and it loads HQ bridge

What's next?  Should devices magically appear or am I missing some hardware, software or configuration?
Thanks

This does not replace a Philips hue hub as it is designed to control other devices via the Hue API. It is not related to Philps in anyway. You will need to buy a Philps Hue Hub to control your light bulb.

@bwssytems, this has come up a few times now, I wonder if adding another bold disclaimer to the README is in order?  Something like:
NOTE: This software does not control Philips Hue devices directly. A physical Philips Hue Bridge is required for that, by which the ha-bridge can then proxy all of your real Hue bridges behind this bridge.

Yep, will add that too.


Notification using generics

Feature request: upgrade type Notification to use generics instead of interface{}.

Done that in generics branch.


Pass-through cli parameters to coffin templates. fixes #1

changed name to @ARGV and merged
Thanks!


Export usernames

Hi,
Is it possible to export displayed usernames (together with telegram id's)?
Thanks,

Hi @crayxt ,
It's quite easy to do it by modifying a couple of lines of an exporter class (text, jsonl or csv). You can get user id from msg.sender_id.
For example for the text exporter it'd be something like
 msg_dump_str = '[{}-{:02d}-{:02d} {:02d}:{:02d}] ID={} {}{} {}: {}'.format(
     msg.date.year, msg.date.month, msg.date.day,
     msg.date.hour, msg.date.minute, msg.id, "RE_ID=%s " % re_id if re_id else "",
     name, getattr(msg, "sender_id", None) ,self._py_encode_basestring(content))

Hi @Kosat thanks for your reply and example code, will try to do that!


Fix some pylint findings

Fix some pylint findings:

Don't shadow ordinal function
More descriptive variable name: u -> unit
Remove unnecessary elif and else after return: less certain about some of these, but I think it reduces complexity of some quite deeply nested code

Fix tests:

Add missing assert to test
Remove redundant comparison

Codecov Report

Merging #42 (8402a81) into main (5dc4b82) will decrease coverage by 1.60%.
The diff coverage is 97.82%.

@@            Coverage Diff             @@
##             main      #42      +/-   ##
==========================================
- Coverage   99.12%   97.52%   -1.61%
==========================================
  Files           9        9
  Lines         686      686
==========================================
- Hits          680      669      -11
- Misses          6       17      +11

Flag
Coverage Δ

macos-latest
?

ubuntu-latest
97.52% <97.82%> (+0.14%)
:arrow_up:

windows-latest
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/humanize/number.py
96.89% <93.75%> (ø)

src/humanize/filesize.py
100.00% <100.00%> (ø)

src/humanize/time.py
100.00% <100.00%> (+0.46%)
:arrow_up:

tests/test_i18n.py
87.50% <100.00%> (-12.50%)
:arrow_down:

tests/test_time.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


multi token rewards

AC:

farm bot is able to reinvest rewards for farms where multiple tokens are given out as rewards

#9


dioxus-cli, web example, no CSS

Problem
I created example web app with dioxus-cli with vanilla css.
I followed this doc: https://dioxuslabs.com/learn/0.5/getting_started
Web app builds properly but there is no CSS on website.
Steps To Reproduce
Steps to reproduce the behavior:

cargo install dioxus-cli
dx new (Web, Vanilla css, Dioxus router, name: test)
cd test
dx serve

Expected behavior
CSS format website properly
Screenshots

Environment:

Dioxus version:  v0.5.7
Rust version:    stable-x86_64-pc-windows-msvc , rustc 1.82.0 (f6e511eec 2024-10-15)
OS info:         windows
App platform:    web

Questionnaire

Oh!
I was just about to post an issue on this. Something seems to be broken with CSS + dioxus in general.
This problem also happens on fullstack, and isn't specific to the test application.
Changing the style field (e.g. style = ["/assets/main.css"] or style = ["./assets/main.css"]) in Dioxus.toml does not fix this either.

I have also met with this problem.
The main branch build of dioxus-cli seems to fix this:

run cargo install --git https://github.com/DioxusLabs/dioxus dioxus-cli
run again dx new -- creates another template with dioxus 0.6.0-alpha.5
edit style = ["assets/main.css"]

After release v0.6.1 web example and CSS works properly:
cargo binstall dioxus-cli --version 0.6.1 --force

The assets in the template work on web and desktop. The template imports assets using the document::* element which work across all platforms.
edit `style = ["assets/main.css"]`
... but it only fixes this for web, not for desktop

The web.resource.style field in the Dioxus.toml is only used in the web build. The new document::Link element works across all platforms


Added zgrab bot

Added zgrab bot.
User-Agent string is e.g. "User-Agent: Mozilla/5.0 zgrab/0.x"
For more infomation see: https://github.com/zmap/zgrab
Usage of this bot is unknown, request come from random dialup IPs.

Coverage remained the same at 99.976% when pulling e4ba946ad8ea9b69665751c1ba3fea08bd122f14 on Scre13:master into 9c6ad8eadc23294b1c66d92876c11f13c5d4cf48 on WhichBrowser:master.

My apologies for not responding earlier. If a PR change the detection, it also need to be accompanied with tests. That way we can ensure that the change will keep working in the future.

@NielsLeenheer can you write one or provide example. The PR is getting stale and its a dependency issue as we use this library elsewhere and I was helping to patch.

I will try and finish this off and it can be linked to github issue: https://github.com/WhichBrowser/Parser-PHP/issues/486


tilelive-pgquery

Try tilelive-pgquery
https://github.com/nyurik/tilelive-pgquery
https://github.com/openmaptiles/openmaptiles-tools#generate-sql-code-to-create-mvt-tiles-directly-by-postgis

Tilelive is now removed.


Fit non-regular against key population logit model

Need to do something to correct the locations that are included in the model (and the time/survey issue).

I've fit this. Perhaps it could be improved somehow but that can be a different issue.


Travis, meet tox. Tox, meet travis

Configures Travis to run our python test suite, after all of the gulp stuff

Tests pass!

This change shouldn't be needed, gulp test:unit runs tox tests --> https://github.com/cfpb/cfgov-refresh/blob/flapjack/gulp/tasks/test.js#L229
Actual command to run here --> https://github.com/cfpb/cfgov-refresh/blob/flapjack/gulp/tasks/test.js#L48-L57

Ah, interesting-- It might be worth pulling them apart at some point, so that they can run in parallel, but that'd be a whole different PR. Thanks!

Gulp and child.spawn is asynchronous so they should currently have some parallelization capability.

They thing I've seen (but haven't dug in to how to actually do), is have different sorts of tests running as different separate Travis builds, so we could, say, tell at a glance whether it's a Django error or part of the front end build (or a code quality metric, or some other sort of test we might run)

Or, if we take advantage of tox's ability to test against a matrix of Python and Django versions, those could all show up a distinct builds, and pass or fail independently.

Like this:


Change the dashboard to use flask

I think we need to just move the dashboard to the microsoft/responsible-ai-toolbox repository now


Setting up redirects

@thrau @lukqw The redirects are completed. Wrote a dirty script if you are looking to use something to test: https://gist.github.com/HarshCasper/fed44e7c3a61853a13342e671833e642


LFS-877: When clicking (+) on a subject chart, don't allow the creation of new subjects that are not descendants of the current subject

This PR restricts the ability to create subjects of subject types that are not descendents of the currently viewed subject. E.g. you can no longer create a Patient or a Tumour from the tumour chart, only TumourRegions.
To test: Create a bunch of different forms from different patient/tumour/tumour region charts. You should no longer be able to create any subject that is not a child of the currently-selected chart.

Problem found:

create tumor region  P1/T1/R1
create a new patient P2
while on the patient p2 chart click on the(+)button
select Somatic Variants option
select subject dialog opens -> click on NEW SUBJECT button
click on tumor region -> type the name -> click on CONTINUE
Select parent Tumor for new Tumor region dialog opens and shows P1/T1 which is wrong - the dialog should only offer tumors that are associated with P2


Testing framework usability improvements

Following this conversation: https://quarkusio.zulipchat.com/#narrow/stream/187030-users/topic/quarkus-github-app

Mark the mocked GH client as offline.
Forward errors from the event handler to the testing thread.
Raise errors when some mocks are not configured (missing when(mock.someMethod()).then...). => Removed, see conversation below

So, yeah... exceptions are now thrown when there are missing mock behaviors, and that's the case in quarkus-bot. We need to update the tests there.
The alternative is to let mocks return some default value (e.g. null, an empty list, ...), which is the default behavior in Mockito. But then I can no longer give users a heads-up about missing mock behaviors...

Converting to drat while I'm waiting for some feedback. I'm really not sure the last commit is such a good idea...

I think people will understand by themselves what's going wrong. At least that's my understanding. Probably better than having to mock a ton of things you don't use? Or is it less bad than what it looks?
Another option would be to have simple warnings. But again, we need to be sure that it really adds value.

Yes, I think you're right. People will just have to guess that an NPE in tests involving mocks propably means there was something wrong in their mocking.
I removed the last commit. The remaining changes should be safe, and improve the situation anyway, since we now throw the exception from the event handler directly in the testing thread (instead of just logging a warning...).

Looks like tests are passing. Ready for review :)

Thanks, I will merge this and have a look at the additional beans issue tomorrow.

Thanks!


HAL_OPTIONS_START_TOKEN should be '{?' or '{&'

When dealing with partially filled in links by means of backend, the START token is '{&' instead of '{?'.
This does not allow filling in this link with the params by name because the START token is defined as '{?'.
Example relative link: /api?export=shape{&filter}

Hello @SBylemans, thank you for opening the issue. It makes complete sense to use & instead of ? inside URL with prefilled query string.
Could you please include some link to a documentation describing this behaviour before we implement it?

Hey @just-paja
The specification can be found here: https://tools.ietf.org/html/rfc6570#section-3.2.9.
The different expressions in templated url's can be found here: https://tools.ietf.org/html/rfc6570#section-2.2
When you wanna be completely in line with the spec, it should also be possible to resolve path parameters...

When you wanna be completely in line with the spec, it should also be possible to resolve path parameters...

Yes, that is a good point. I must confess, that I never studied the spec. However, to be completely honest, I never required anything but the query parameters.
I created the functionality and tested it in bddf802, that should cover what is needed, If you need any more help, feel free to open/reopen issues or Pull Requests.

Will do, thanks for the quick service ;)


Prevent compiler warning about writing to an object with no trivial copy-assignment

Fix sparetable part of #149.
The warnings are caused by differences between google::has_trivial_copy * google::has_trivial_destructor and std::is_trivially_copyable * std::is_trivially_destructible, henceforth referred to as google trivial and standard trivial.
In particularly, this causes warning in time_hash_map.cc because

If T and U are google trivial, pair<T, U> is also google trivial. However, pair is not standard trivial.
HashObject is declared to be google trivial in time_hash_map.cc explicitly even though it implements custom copy constructor and copy assignment.

This PR prevents the warnings by casting pointers to void* first before memcpy. This is fine as long as a google trivial type is really trivially copyable and destructible.

@Dekken Would you please have a look at this and consider merging it?


Onboarding - App tracking page

Onboarding - App tracking page
Goal: To inform users about our data tracking and security policies
Tasks:

Create an app tracking onboarding page
Include details on our data tracking policy (or lack thereof), data security measures, and advertisement policy

Acceptance Criteria:
The app tracking onboarding page should clearly communicate our data tracking, security, and advertisement policies to the user.

This was added to Onboarding page in deliverable-6 which is in a PR to main


add --no-alias to bin/setup

if you install git-up in a folder in $PATH you don't need to setup an alias
eg:
curl -sSL https://raw.githubusercontent.com/ezweb/git-up/master/bin/setup | sudo sh -s -- --install-dir /usr/local/bin/ --no-alias

Before to do that, testing must be done to check that "git-up" script works fine from outside $GIT_DIR directory. When called from an alias, it's always in the good directory.

I've checked, git-up script does nothing but sshing or git commands, so it just works fine :)


Why I can change a private value out module

Originally reported on CodePlex  by : greatim
module K1Dialog =
let mutable private Frames = 0

module test =
    let test =
        K1Dialog.Frames <- 1

This was fixed with the PR private val fix


About loss_function

Hi! Thank you for your great work! 🤗
I have a question when I train the 3D model on the Atrial dataset with the script train_sup_XNet3d.py.
There was an exception:

Then I checked the corresponding tensors in loss_function.py.
For forward(self, output, target) in class DiceLoss(nn.Module) :
def forward(self, output, target):
        # preds, target = tuple(inputs)
        # inputs = tuple(list(preds) + [target])
        if self.aux:
            return self._aux_forward(output, target)
        else:
            valid_mask = (target != self.ignore_index).long()
            target_one_hot = F.one_hot(torch.clamp_min(target, 0))

            return self._base_forward(output, target_one_hot, valid_mask)

The shape of output is torch.Size([1, 2, 96, 96, 80]), however the shape of target_one_hot is torch.Size([1, 96, 96, 80, 256]). There is only 0 and 255 in target, should the target be 1?

In order to facilitate the visualization of segmentation masks, the foreground in the dataset is generally marked as 255. During training, we should convert 255 to 1, that is, foreground = 1, background = 0.


Add Theano to the deep learning layer

This requires us to switch to the devel branch of the Nvidia
Dockerfile as well.

@ymt123 Could you take a look and merge if it looks OK?

It looks like the error is a network thing:
Exception:
Traceback (most recent call last):
  File "/opt/conda/lib/python3.5/site-packages/pip/_vendor/requests/packages/urllib3/response.py", line 232, in _error_catcher
    yield
  File "/opt/conda/lib/python3.5/site-packages/pip/_vendor/requests/packages/urllib3/response.py", line 314, in read
    data = self._fp.read(amt)
  File "/opt/conda/lib/python3.5/http/client.py", line 448, in read
    n = self.readinto(b)
  File "/opt/conda/lib/python3.5/http/client.py", line 488, in readinto
    n = self.fp.readinto(b)
  File "/opt/conda/lib/python3.5/socket.py", line 575, in readinto
    return self._sock.recv_into(b)
  File "/opt/conda/lib/python3.5/ssl.py", line 929, in recv_into
    return self.read(nbytes, buffer)
  File "/opt/conda/lib/python3.5/ssl.py", line 791, in read
    return self._sslobj.read(len, buffer)
  File "/opt/conda/lib/python3.5/ssl.py", line 575, in read
    v = self._sslobj.read(len, buffer)
ConnectionResetError: [Errno 104] Connection reset by peer```

I'll restart the build and see if it works this time.

Yup, just a network glitch, can we merge?


Cannot read property 'deps' of null

Version
1.0.0-beta.14
Reproduction link
https://codesandbox.io/s/1pm8pzxm4
Steps to reproduce
Open the test tab to see the failing test.
What is expected?
Using findAll with .at() to trigger a click
What is actually happening?
Test is failing with "Cannot read property 'deps' of null" message

I am storing open/close states in parent component and testing by triggering clicks in the scopedSlot component.

Also not sure why in the codesandbox example these aren't printed in the console, but on my local version my terminal is filled with these:
[Vue warn]: Unknown custom element: <v-card-title>

I can't see what is wrong with the way I have added Vuetify to the localVue and Vue instance. So any insights would be greatly appreciated.

The issue will be in either this file—https://github.com/vuejs/vue-test-utils/blob/dev/packages/test-utils/src/set-watchers-to-sync.js, or this file—https://github.com/vuejs/vue-test-utils/blob/dev/packages/test-utils/src/order-watchers.js

Thanks @eddyerburgh Is there a guide on getting the test utils running locally. I finally managed to get it to installed but getting lots of flow check errors when running the test suite. Wanted to get it to run locally before I looked into those files.
Maybe I am missing something from the setup, but I cloned and then installed, and it kept failing on the postinstall with a lerna failure. So I installed some deps to get passed that, but then running npm test just fails on flow check - Module not found: ...

You need to run lerna bootstrap in the root of the project, then yarn install in the root. I'll add a contributing guide soon.


feature: reduce meaningless output in CICD test

Feature Description
The current automatic test in CICD is outputing a line of text each time it's waiting for kubeflex to complete.  For example:
 Checking if a kubeflex kind instance already exists...
Or
Waiting for shared backend DB to become ready...
Proposed Solution
Pipe standard output to /dev/null for certain commands.
Want to contribute?

[X] I would like to work on this issue.

Additional Context
No response

See https://github.com/kubestellar/kubeflex/issues/173

This was "fixed" in PR #1565 but regressed back in PR #1572 since Mike is concerned about losing meaningful output from the kflex CLI.  Alternatives ways to handle this issue are by fixing the root issue in kubeflex or by optionally allow dumping of the output via a parameter.  Mike opened Issue #173 to handle so I am closing this issue.


Support for exporting pixel format and texture filter

For supporting the LibGDX format, it is necessary to be able to export the pixel format and texture filter options.
Currently you can select the pixel format but for the texture filter there is no UI control.

Hi what you mean? "texture filter"
Plz, ыhow me in the textures of the packer TexturePacker

Image format and pixel format are present.

Found: linear, nearest... etc.
You can add this to the UI? and create pull request

Image format and pixel format are present in the UI, yes. But how can I integrate them intomy custom export script?


Fix reading S3 SICD read with stride non-multiple of image size.

When reading the entire image of a S3 SICD that has an odd number of rows with stride of 2, I got an error.  The amount of data to be read was taking the output size and multiplying by the stride, but that's too much if the stride isn't a multiple of the input size.
sl = np.s_[0:101:2]
full_image = np.zeros((101, 100))
sub_image = full_image[sl, sl]
print(sub_image.shape[0] * sl.step)
print(sl.stop - sl.start)

  File "xxx", line 312, in read_chip
    return reader[r1_start:r1_stop:stride, r2_start:r2_stop:stride]
  File "/home/kjurka/git/kjurka/sarpy/sarpy/io/general/base.py", line 427, in __getitem__
    return self.__call__(*subscript, index=0, raw=raw, squeeze=squeeze)
  File "/home/kjurka/git/kjurka/sarpy/sarpy/io/general/base.py", line 411, in __call__
    return ds.read(subscript, squeeze=squeeze)
  File "/home/kjurka/git/kjurka/sarpy/sarpy/io/general/data_segment.py", line 623, in read
    raw_data = self.read_raw(raw_subscript, squeeze=False)
  File "/home/kjurka/git/kjurka/sarpy/sarpy/io/general/data_segment.py", line 2460, in read_raw
    raise ValueError(
ValueError: Tried to read 513984960 bytes of data, but received 513948456. The most likely reason for this is a malformed chipper, which attempts to read more data than the file contains

performing code review and testing

pr accepted


An improper shadow appears at the bottom of the CommandBarOverflowPresenter.

Describe the bug

An improper shadow appearance occurs at the bottom of the CommandBarOverflowPresenter when applying a background to the CommandBar.

<StackPanel Orientation="Vertical">
    <CommandBar DefaultLabelPosition="Right">
        <CommandBar.Style>
            <Style TargetType="CommandBar">
                <Setter Property="Background"
                    Value="YellowGreen" />
            </Style>
        </CommandBar.Style>
        <AppBarToggleButton Icon="Edit" FontSize="30" Label="Edit"/>
        <AppBarToggleButton Icon="Share" Label="Share"/>
        <CommandBar.SecondaryCommands>
            <AppBarButton Icon="Like" Label="Like" Click="AppBarButton_Click"/>
            <AppBarButton Icon="Dislike" Label="Dislike" Click="AppBarButton_Click"/>
        </CommandBar.SecondaryCommands>
    </CommandBar>
    <Border>
        <TextBlock Text="Notes Page"/>
    </Border>
</StackPanel>

Steps to reproduce the bug

Run the sample with above code snippet.
Open the CommandBarOverflowPresenter.

Expected behavior
No response
Screenshots

NuGet package version
WinUI 3 - Windows App SDK 1.5.5: 1.5.240627000
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response

<Style TargetType="CommandBar"> replaces the entire CommandBar theme with what you declare, which will cause problems like this.
<Style BasedOn="{StaticResource DefaultCommandBarStyle}" TargetType="CommandBar"> starts with the default and adds the changes you want to make.

@Tamilarasan-Paranthaman does @kmgallahan's suggestion make this issue go away ?

We are having the same issue with .NET Maui for Windows by default when adding the toolbar to the TopBar, Issues: 18258 & 19166
I tried adding this to a vanilla Maui project in the it's Windows App.Xaml file with no luck.
<Style BasedOn="{StaticResource DefaultCommandBarStyle}" TargetType="CommandBar">
Since it's coming up on a year soon without help or response from the MS Maui devs, do you guys have any insight on how to fix?

https://github.com/microsoft/microsoft-ui-xaml/blob/6b6cff9ac058bb290a664cd6cc1e6355d4be1aca/src/controls/dev/CommonStyles/CommandBar_themeresources.xaml#L883
From Maui user, I guess the problem is in this file. we need to set the height of "WindowedPopupPadding" not simply by binding, which adds unnecessary blank in the situation that there is already enough space.

Hi @ranjeshj, sorry for the late reply. I checked the suggestion, and it’s working as expected (the shadow is no longer showing). However, the CommandBar background color disappears when the overflow menu is opened. Also, the foreground color applied to the overflow icon is only applied during the initial load and is lost after hovering or opening the menu. Did I miss something or do something wrong?
 <CommandBar.Style>

     <Style BasedOn="{StaticResource DefaultCommandBarStyle}" TargetType="CommandBar">
         <Setter Property="Foreground" Value="Red"/>
         <Setter Property="Background" Value="YellowGreen" />
     </Style>
 </CommandBar.Style>
 <CommandBar.CommandBarOverflowPresenterStyle>

     <Style BasedOn="{StaticResource DefaultCommandBarOverflowPresenterStyle}"  TargetType="CommandBarOverflowPresenter">
         <Setter Property="Background" Value="Yellow"/>
     </Style>
 </CommandBar.CommandBarOverflowPresenterStyle>

https://github.com/user-attachments/assets/cb8deb44-497a-4354-b3f8-6639de55bcae

Per the default style:
    <Style x:Key="DefaultCommandBarStyle" TargetType="CommandBar">
        <Setter Property="Background" Value="{ThemeResource CommandBarBackground}" />
        <Setter Property="Foreground" Value="{ThemeResource CommandBarForeground}" />

    <Style x:Key="DefaultCommandBarOverflowPresenterStyle" TargetType="CommandBarOverflowPresenter">
        <Setter Property="Background" Value="{ThemeResource CommandBarOverflowPresenterBackground}" />
        <Setter Property="BorderBrush" Value="{ThemeResource CommandBarOverflowPresenterBorderBrush}" />

So just set the ThemeResource.


view_team.html Heatgrid not being hidden properly when there are no tags to render.

Issue was solved last week. Closing


Multi DB Connection Fixes

Fixes #127
Added Detection of user table name for foreign key constraints in migrations.

Thank you


Batch processing or batch erasure - which does 'flushed' mean?

Where is the problem?
https://docs.konghq.com/gateway/latest/kong-plugins/queue/#queue-flush-on-shutdown
What happened?
It is not clear whether flushed means sending the queue request to the upstream server or deleting the queue contents.
I need clarification on the meaning of flashed.
What did you expect to happen?
I expect queue requests to be deleted en masse, is that correct?
Code of Conduct and Community Expectations

[X] I agree to follow this project's Code of Conduct
[X] I agree to abide by the Community Expectations

For example, in PHP functions, the sending process is denoted as flush.
https://www.php.net/manual/en/function.ob-flush.php

@hanshuebner could you please help clarify the meaning of "flushed" in the context of plugin queues?


rsyslog on admin node creates /var/log/nodes/.log

The logging barclamp configures /etc/rsyslog.d/10-crowbar-server.conf on the admin node to contain:
# split remote logs by hostname
$template DynaFile,"/var/log/nodes/%HOSTNAME%.log"
*.* -?DynaFile

However at some point this results in /var/log/nodes/.log being created.

I think so too.


add tv shows to movie module

closes #186

Codecov Report
All modified lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files
Coverage Δ

src/modules/movie/MovieTest.cpp
100.00% <100.00%> (ø)

:loudspeaker: Thoughts on this report? Let us know!.


TVDB refiner pick wrong series

For the latest develop version (2.0-rc1)
For CSI tvdb refiner pick the wrong series.
subliminal.py --debug --legendastv pass user download -f -l pt-BR -p legendastv -m 97 CSI.S15E18.720p.HDTV.X264.DIMENSION.mkv
Collecting videos  [####################################]  100%  CSI.S15E18.720p.HDTV.X264.DIMENSION.mkvDEBUG:subliminal.cli:Collecting path CSI.S15E18.720p.HDTV.X264.DIMENSION.mkv
INFO:subliminal.core:Refining video with metadata
INFO:subliminal.core:Refining video with tvdb
INFO:subliminal.refiners.tvdb:Searching series 'CSI'
DEBUG:subliminal.refiners.tvdb:Found 9 results
DEBUG:subliminal.refiners.tvdb:Found result for original series without year
DEBUG:subliminal.refiners.tvdb:Found series {u'seriesId': u'', u'status': u'Continuing', u'added': u'2011-10-30 01:27:22', u'airsTime': u'20:00', u'network': u'TV Nova', u'rating': u'', u'overview': u'Crimi series inspired by real cases.', u'lastUpdated':<PHONE_NUMBER>, u'zap2itId': u'', u'seriesName': u'CSI Andel', u'siteRating': 6, u'firstAired': u'2008-09-01', u'addedBy': 8907, u'networkId': u'', u'genre': [u'Drama'], u'airsDayOfWeek': u'Monday', u'runtime': u'55', u'banner': u'graphical/253208-g.jpg', u'id': 253208, u'imdbId': u'tt1322074', u'aliases': []}
INFO:subliminal.refiners.tvdb:Getting series episode 15x18
WARNING:subliminal.refiners.tvdb:No results for episode

Later in the logs:
INFO:subliminal.providers.legendastv:Searching title u'csi andel'

What 's the good one on tvdb?

id = 72546

From the filename it's clear subliminal cannot find a clear match on tvdb for this. I think I can reject candidates based on a maximal Levenshtein distance which could be something like max(int(0.2*len(title)), 2)
So the match title cannot differ too much from the original title.
Levenshtein distance might not be best suited for that as I don't want words to differ, CSI cannot be CSA.
So maybe use the length of the intersection of the set of words in each titles.

Probably you have realised that tvdb response has an aliases key that has a list with all known aliases for that show. It's a perfect fit for this case.
The algorithm that you described could still be used to sort entries when there's no simple match with name or aliases

Please test with latest develop and clear cache. On second thought I think it's best not to do wild guesses and stick with exact matches. Trust the guess.


[SQL-DS-CACHE-47]Add plasma native get timeout

What changes were proposed in this pull request?
Add plasma native get timeout
How was this patch tested?
E2E

@jikunshang  Let's try this fix first.


Dumping fixture state to disk on error

First of all, I want to second https://github.com/onqtam/doctest/issues/437 :)
I have tests from which I'd like to dump some state to disk on error, e.g. a before/after plot.
I was wonder whether there's a 'clean/correct' way to do this under doctest.
I thought about 'hooking' test errors through the listener interface, but I need to get at the test fixture's data to be able to introspect it and plot it to disk, and I didn't see a clean way to do this without passing through globals.
What do you think?
Thanks!

Globals :)

alrighty, thanks :)

The way I have used to trigger a dump lazily on error is to (ab)use an INFO message (which only trigger when a following assert fails):
INFO("Saving data to ", dump_data({actual, expected}));
CHECK(error < 0.02);


PUT override not getting executed

I've been wracking my brain for hours, but can't figure this one out. I've added a simple override for both GET and PUT protocols that just print to the log and return undefined, to allow the default behavior. When I call http.get() this override is getting hit, but when I call http.put(), it is not.
There's not a lot of documentation around the requirements to hook this up correctly, aside from implementing a method with signature put(RequestInfo), and I'm not sure how else to debug why it's not getting called.
Link to my source. Pretty basic start of project. Just trying to update a single field on one of the two tables.

Never mind. Apparently I neglected to subscribe to the put() request, and it did nothing.


CNV-32074: Add Kubevirt live-migratable condition for HC and NP

What this PR does / why we need it:
Kubevirt VirtualMachines have the ability to live-migrate to another infra node without interruption or downtime, but that ability depends on various factors. This PR propagates the live-migratability condition from the KubevirtMachine to the NodePool and the HostedCluster associated with it, as a Condition.
depends on VMLiveMigratable condition on KubevirtMachine added at CAPI-K: https://github.com/kubernetes-sigs/cluster-api-provider-kubevirt/pull/291
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes # https://issues.redhat.com/browse/CNV-32074
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/hold
until https://github.com/kubernetes-sigs/cluster-api-provider-kubevirt/pull/291 is merged and is being consumed on hypershift.

the NodePool now has the condition in the following format:
  - lastTransitionTime: "2024-07-28T14:23:01Z"
    message: |
      3 of 3 machines are not live migratable
      Machine guest1-hhrbk-nds7q: DisksNotLiveMigratable: guest1-hhrbk-nds7q is not a live migratable machine: cannot migrate VMI: PVC guest1-hhrbk-nds7q-rhcos is not shared, live migration requires that all PVCs must be shared (using ReadWriteMany access mode)
      Machine guest1-hhrbk-t6897: DisksNotLiveMigratable: guest1-hhrbk-t6897 is not a live migratable machine: cannot migrate VMI: PVC guest1-hhrbk-t6897-rhcos is not shared, live migration requires that all PVCs must be shared (using ReadWriteMany access mode)
      Machine guest1-hhrbk-wn9br: DisksNotLiveMigratable: guest1-hhrbk-wn9br is not a live migratable machine: cannot migrate VMI: PVC guest1-hhrbk-wn9br-rhcos is not shared, live migration requires that all PVCs must be shared (using ReadWriteMany access mode)
    observedGeneration: 1
    reason: DisksNotLiveMigratable
    status: "False"
    type: KubeVirtNodesLiveMigratable

/retest

/unhold

/test unit


getRule returns Failrule with legit arguments

Hi, I have and issue in my code, which I am not able to reproduce yet.
I've debugged the code, but I am lacking knowledge to understand the problem.
My problem is that a call of
getRule(TAG myTopic.0.0)
returns FailRuleBit(2). If I remove a call to ^callstack that I have in my code before that, the issue disappears, so it seems to have something todo with the interaction between those too.
What I observed during debugging in static FunctionResult GetRuleCode(char* buffer):
if (dot && IsDigit(dot[1])) rule = GetRuleTag(topicid,id,arg2);
returns null.
I debugged this function a few levels and saw that:
 topicid = FindTopicIDByName(tag); returns 0
because
WORDP FindWord(const char* word, int len,uint64 caseAllowed)
returns and object where all 3 ids in x are 0.
Sorry for the complicated description, and I don't know how to proceed at this point

getRule(TAG myTopic.0.0)  --- offhand myTOpic is not the name of a topic.  ~myTOpic is

Sorry, I made this mistake by replacing my real topic name with this placeholder name. I have user the ~ in my code

the only interaction I can think of is if the factset from ^callstack was > 10,000, and thus overflowed. I have set a protection against that in the future, but that is unlikely your problem.

This simple test worked:
outputmacro: ^test2( ^ms $_t2 ^myv)
^callstack(@0)
$_x = getRule(TAG ~INTRODUCTIONS.0.0)
$_x
outputmacro: ^test( $_t1 $_t2 $_t3)
^test2($_t1 $_t2 $_t3)
topic: ~INTRODUCTIONS keep repeat (~emogoodbye ~emohello ~emohowzit name here )
t: Greetings
u: (test _*1 _*1 _*1) ^test(_0 _1 _2 )

After what felt like hundreds of hours of trying I finally managed to make a simple test for the issue.
It's a really weird one.
The issue occurs if you have a topic which topic name is generated with join. There has to be an uppercase letter in the 2nd argument. Then the error occurs if you execute ^callstack in this topic.
Execute test1 with the following code example:
If you comment out ^callstack it's working. If you bring it back the rule is aborting with fail.
topic:  ~anotherTopic[]
u: TESTRULE (test1)
    ^getRule(TAG ~anotherTopic.0.0)
    ^callstack(@3)
    ^getRule(TAG ~anotherTopic.0.0)

topic: ~test keep repeat[ test1 test2]
u: (test1) $$_topicName = ^join(~another Topic)
            ^respond($$_topicName)

The second getRule doesn't have to be in the same rule, it behaves the same everywhere in the code after ^callstack as long as you're in the same volley.

OK> very entertainig and I have fixed it.  Here is what happens:  Internally all functions and concept names are always stored in lower case. Script compiler does that. System dictionary assumes that. You synthesized a name which had mixed case but doesnt automatically go into the dictionary. But when you call callstack it tries to make a name for the facts and THAT stores it into the dictionary. Since the store routine "knows" all concept names are lower case, it doesnt check the casing and doesnt mark the word as having uppercase letters. So now you have 2 entries in the dictionary, one with mixed casing. Your call to getrule requests finding the topic. Getrule knows casing must be lowercase, so it takes your request and converts to lower case, then asks the dictionary for it. Dictionary first finds your mixed case entry and returns that. It is not a topic, hence getrule fails.  You can temporarily fix your code to not have uppercase in your topic names.  Next release will enforce rules better.

It was enough to use lowercase letters in my ^join, thank you very much Bruce :)


Raspberry Pi Garage Door Opener

Description:

This component integrates andrewshilliday's Raspberry Pi Garage Door Opener w/ Home Assistant. It allows you to monitor the status and open/close the garage door directly through the HA Dashboard.
Raspberry Pi project docs/setup guide available here: https://github.com/andrewshilliday/garage-door-controller. You must have andrewshilliday's Garage Door Opener setup and working before you setup this component.  Also you can continue to use the Garage Door Opener web portal alongside HA.
All coding for this component was done by Johann 'kellerza' Kellerman. I did all of the testing.
Related issue (if applicable): #
Few seconds delay before HA updates garage door status.
Need to test w/ multiple garage doors
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#
Example entry for configuration.yaml (if applicable):
garage_door:
  platform: raspberry
  url: http://IP-ADDRESS:8080/

Checklist:
If code communicates with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New files were added to .coveragerc.

Yes sir. Feel free to remove the Wink comments.

I am not a big fan of this platform. It adds a lot of complexity to do a very simple task: change GPIO pins.
You could implement the garage door abstract base class with the following code and we don't have to integrate with the garage door controller
https://github.com/andrewshilliday/garage-door-controller/blob/master/controller.py#L43-L77
# setup
        gpio.setup(self.relay_pin, gpio.OUT)
        gpio.setup(self.state_pin, gpio.IN, pull_up_down=gpio.PUD_UP)
        gpio.output(self.relay_pin, True)

# is closed
        gpio.input(self.state_pin) == 0

# toggle
        gpio.output(self.relay_pin, False)
        time.sleep(0.2)
        gpio.output(self.relay_pin, True)

Also, since it controls a relay which can be linked to anything, we should move this platform to be a switch platform.

@balloob If the garage door is on the same rpi it probably makes sense to implement it in HA, if its on a different rpi, probably not (or with multiple instances?)
Once you move this completely into HA you could probably implement with rpi_gpio switch, rpi_gpio binarysensor and a template-switch with a script as the action (on, delay, off). I'll see if I can do an example at some point
@sp1k3ster what happens if you power cycle your rpi currently? Guess it should be ok, but you don't want to accidentally open it

This should work in combination with https://github.com/home-assistant/home-assistant/pull/2242
binary_sensor:
  platform: rpi_gpio
  ports:
    11: GarageSensor
  pull_mode: "UP"
  bouncetime: 50
  invert_logic: false

switch:
  platform: rpi_gpio
  ports:
    12: GarageTrigger
  invert_logic: false

customize:
  scene.garagesensor:
    hidden: true
  scene.garagetrigger:
    hidden: true

switch 2:
  platform: template
  switches:
    garage:
      friendly_name: 'Garage Door'
      value_template: '{{ states.binary_sensor.garagesensor.state }}'
      turn_on:
        - service: switch.turn_off
          entity_id: switch.garagetrigger
        - delay: 00:00:01
        - service: switch.turn_on
          entity_id: switch.garagetrigger
      turn_off:
        - service: switch.turn_off
          entity_id: switch.garagetrigger
        - delay: 00:00:01
        - service: switch.turn_on
          entity_id: switch.garagetrigger

@balloob, was wondering if a garage_door template switch would add value, but that will just lead to duplication of the template switch code, so might be better to think about switches mimicking as other devices some more?
In the line of https://www.pivotaltracker.com/projects/1250084/stories/89890518
As a third option we could create a garage_door & light and possibly other platforms that takes as config switch names and then uses these switch's names to create new entities and hides the original switches.
I have this problem for a light/switch currently and the example above will have that for garage door/switch.
The config could be:
mimic:
   light:
      switch.switch1
   garage_door:
      switch.template1

or alternative config
light:
  platform: mimic
  entities:
    switch.switch1

garage_door:
  platform: mimic
  entities:
    switch.template1

@kellerza Rebooting RPi doesn't open/close the garage.

@balloob I wanted to let you know that I'm actually running HA and the actual Garage Door Opener on two separate devices. HA is running on a Ubuntu virtual machine on my home server and obviously the Garage Door Opener is running on a Raspberry Pi. I'm not sure if your recommendations would work for me...it looks it was intended for people running HA and Garage Door opener on same device.

@sp1k3ster I have the same setup, currently I have two Pis one for HA and one for the garage door. I am doing the opening and closing with a bash script (command_line switch) on the HA box that SSHs to the garage pi and executes a python script. This solution would be much cleaner then what I currently have set up.

You could easily setup two HA instances and have one call the other
On Mon, Jun 6, 2016, 12:15 William Scanlon<EMAIL_ADDRESS>wrote:

@sp1k3ster https://github.com/sp1k3ster I have the same setup,
currently I have two Pis one for HA and one for the garage door. I am doing
the opening and closing with a bash script (command_line switch) on the HA
box that SSHs to the garage pi and executes a python script. This solution
would be much cleaner then what I currently have set up.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/pull/2187#issuecomment-224058613,
or mute the thread
https://github.com/notifications/unsubscribe/ABYJ2pJIXdXrjfEYW9pJ5VN7QcLhF_gCks5qJHGtgaJpZM4IqxzE
.

Closing this in favor of #2369


Another Usability Issues List

Check new deploy VM form's narrative/help text against old UI's VM wizard; add help text to explain terms/sections
By default if the env is not SSL enabled, upload form fails with incorrect message for uploading template/iso/volume; Could we check if URL for upload template/iso/volume is valid and display suitable message?

With @davidjumani

With @Pearl1594

Not possible in javascript to check/validate a server/domain certificate (without using external service).


use of data-association-insertion-traversal option causes add link to fail without error

using the data-association-insertion-traversal option on link_to_add_association seems to cause the link to not function. I've tried it setting as a html option param and via jquery with the data set function,  and both seem to cause the link to fail. Link functions correctly when it is removed. This seems to be a bug introduced with 1.1.0 as the same link functioned correctly in the previous release.

I'm having the same problem too. I want to select the closest node (because I have a 3-level form) but 'association-insertion-traversal' doesn't seem to work at all. Any ideas?

Has this been fixed?

This is added in 2012. How come it's not fixed yet?

 Outrageous! Apparently it is easier to just complain about apparent bugs and lack of service then to actually fix this.
It is not fixed, for several reasons:

is it really broken? Note that if the selector does not find anything, it will seem broken, but the code is working. This does make it really hard to debug.
I never use this option, and I frankly do not like because it is not very intuitive. Traversal, from where? I once started a rewrite of this part, but then life and work happened, and I do not need it. So why bother?
This is open source, and apparently nobody really felt the urge to improve this for free

Since #355 offers a very versatile and imho more intuitive alternative this can be closed.


Update README.md

@Moazzem-Hossain-pixel Hi! Could you please let us know what this change is intended to do? I'm finding it hard to wrap my brain around it.

Assuming this was a mistake. Feel free to reopen @Moazzem-Hossain-pixel.

Thank you for contributing.


Todo left

We should work on that
https://github.com/nextcord/nextcord/blob/21fd80cadec4bc335704503241b7f876f89dc4d7/nextcord/interactions.py#L147

at a few other points there are also some left

can you explain why is it a data loss


People With Only Surnames includes people without surnames and lists them first

The org.gedantic.analyzer.impl.PeopleWithOnlySurnamesAnalyzer class is also susceptible to NullPointerExceptions when there's no basic name for a person

Released


Trying to upgrade a fresh install to craft4

Describe the bug
I'm trying to upgrade a fresh install off craft/vite to craft 4.
The update process results in the following error:
Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". You are running 8.0.13. in /var/www/project/cms/vendor/composer/platform_check.php on line 24 make: *** [craft] Error 255
To reproduce
Steps to reproduce the behaviour:
1 composer create-project nystudio107/craft craft4 --no-install
2 make dev
3 login http://localhost:8000/admin/ check update utility and clear cache
4 change composer.json to:
{   "minimum-stability": "beta",   "prefer-stable": true,   "require": {     "php": "^8.0.2",     "craftcms/cms": "^4.0.0",     "vlucas/phpdotenv": "^5.4.0",     "yiisoft/yii2-redis": "^2.0.6",     "nystudio107/craft-imageoptimize": "^4.0.0-beta.3",     "nystudio107/craft-fastcgicachebust": "^4.0.0-beta.1",     "nystudio107/craft-minify": "^4.0.0-beta.2",     "nystudio107/craft-typogrify": "^4.0.0",     "nystudio107/craft-retour": "^4.0.1",     "nystudio107/craft-seomatic": "^4.0.1",     "nystudio107/craft-templatecomments": "^4.0.0",     "nystudio107/craft-webperf": "^4.0.0-beta.3",     "nystudio107/craft-vite": "^4.0.0"   },
5 cd cms run composer update
6 update executed correctly with these last 5 lines:
`> Composer\Config::disableProcessTimeout

@php craft install/check && php craft clear-caches/all --interactive=0 || exit 0
Craft is not installed yet.
@php craft install/check && php craft up --interactive=0 || exit 0
Craft is not installed yet.`

7 cd to root and run make craft migrate/all:
Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". You are running 8.0.13. in /var/www/project/cms/vendor/composer/platform_check.php on line 24 make: *** [craft] Error 255
Expected behaviour
Expected the upgrade to run, as Craft 4 supposed to need a PHP version from 8.0.2. While version 8.0.13 is active.

Some version of something you're requiring is saying it needs PHP 8.1.0 or later. Craft CMS 4 only requires 8.0.2 or later, so it must be some other package.
This repo is based off of the same boilerplate, and works with Craft 4 without issue: https://github.com/nystudio107/devmode
In any event, I will update the boilerplate soon to use Craft 4 by default.

Clear. Looking forward to the update with Craft4.


Broken: Eager Loading of relationship(s)

Discussed in https://github.com/CodeDredd/pinia-orm/discussions/1451

Originally posted by adm-bome July  6, 2023
I could be mistaking here. but why when i do:
const withRelations = useRepo(Model).all() //expeted result: models without relations
const withoutRelations = useRepo(Model).withAll().all()  //expeted result: models with relations

After data was saved to the model. Relations are already populated even when starting a new query.
And i can't load realtions, that were never saved via a dataset. the inversed relation of a relation for example.
This is realy a pain, and in my oppinion a issue with a realy high fix level.
May also be related to issue #1447, because when not providing data an relation is still executed on saving.
Also mentiond in disscussion #1415

Hello @adm-bome ,
thanks for your ticket. But this is no issue. As mentioned in the docs: https://pinia-orm.codedredd.de/api/query/all
There is a bit notice:

The difference with the get is that this method will not process any query chain. It'll always retrieve all models.

This means that useRepo(Model).withAll().all() or even useRepo(Model).withAll().where('item', 'one').all() are the same if you use useRepo(Model).all()
For query chains please use get()


NPM error when upgrading to 2.2.1

Hey!
Thanks for all great features introduced in this version! But when I try to upgrade, o got this error:
npm ERR! Linux 4.4.9-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.4.3
npm ERR! npm  v2.15.1
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package<EMAIL_ADDRESS>does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>
npm ERR! Please include the following file with any support request:

Some last lines from log:
15743 info install<EMAIL_ADDRESS>15744 info postinstall<EMAIL_ADDRESS>15745 info install koel@
15746 info postinstall koel@
15747 verbose unsafe-perm in lifecycle true
15748 info prepublish koel@
15749 verbose validateInstall loading /var/www/koel/package.json for validation
15750 verbose stack Error: The package<EMAIL_ADDRESS>does not satisfy its siblings' peerDependencies requirements!
15750 verbose stack     at /usr/lib/node_modules/npm/lib/install.js:125:32
15750 verbose stack     at /usr/lib/node_modules/npm/lib/install.js:268:7
15750 verbose stack     at /usr/lib/node_modules/npm/node_modules/read-installed/read-installed.js:142:5
15750 verbose stack     at /usr/lib/node_modules/npm/node_modules/read-installed/read-installed.js:263:14
15750 verbose stack     at cb (/usr/lib/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)
15750 verbose stack     at /usr/lib/node_modules/npm/node_modules/read-installed/read-installed.js:263:14
15750 verbose stack     at cb (/usr/lib/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)
15750 verbose stack     at /usr/lib/node_modules/npm/node_modules/read-installed/read-installed.js:263:14
15750 verbose stack     at cb (/usr/lib/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)
15750 verbose stack     at /usr/lib/node_modules/npm/node_modules/read-installed/read-installed.js:263:14
15751 verbose cwd /var/www/koel
15752 error Linux 4.4.9-v7+
15753 error argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
15754 error node v4.4.3
15755 error npm  v2.15.1
15756 error code EPEERINVALID
15757 error peerinvalid The package<EMAIL_ADDRESS>does not satisfy its siblings' peerDependencies requirements!
15757 error peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>

I know you'll hate to hear this, but it works for me: npm v3.8.3, node v5.5.0. There's a npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed, but that's only a warning. Maybe rm -rf node_modules and try again?

Forgot to mention that all Travis tests passed: https://travis-ci.org/phanan/koel.


ps4 con....算了写中文。。。ps4手柄没法用

自从更新1.05之后的版本都是没法在steam版里用ps4手柄的，表现为按键完全没反应，但是游戏右下角又会跳出来识别出ps4手柄的提示的。。。
把补丁删了后，又可以用手柄了，所以肯定是补丁哪里冲突了
谁知道怎么解决么，或者写一下英文反应下，我英文实在太烂，只能看不能写。。。

ps4 gamepad is invalid!
After updating the game version 1.05,
Install the latest patch, enter the game will prompt that the handle has been inserted, but there is no response to the handle buttons!
Once the patch is uninstalled, it is normal!

My DS4 works fine for me with Cyberpunk 1.05 and 1.06 with DS4Windows and having Playstation Controller support enabled within Steam all paired with whatever was the latest release of CyberEngineTweaks at the time. I've been using it the virtual input patch set to false since I've never needed it.


Shutting down takes a long time after reloading the bot a couple of times

When I start it and then enter "rl" or "reload" 5+ times, then enter exit, it just freezes and doesn't really show it stopped in the console. The image shown below doesn't contain all of the times I hit reload.
System:
OS: 64bit Linux: Kubuntu 20.0.4
Memory: 12GB DDR4 Ram
Storage: 1TB HDD
CPU: i5 10210U 8 core/16 thread
GPU: Integrated (Intel, Unknown)

Fixed in latest pull request


[tabular] Add secondary_decision_thresholds to calibrate_decision_threshold

Issue #, if available:
Description of changes:
Adds secondary_decision_thresholds argument to decision threshold calibration.
This enables a 2nd-round fine-grained search of the optimal threshold.
In total this is 25% faster with 10x finer granularity than the previous implementation.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Previous CI Run
Current CI Run

botocore==1.34.90
botocore==1.34.91

mypy==1.9.0
mypy==1.10.0

referencing==0.34.0
referencing==0.35.0

langcodes==3.3.0
langcodes==3.4.0

boto3==1.34.90
boto3==1.34.91

botocore==1.34.90
botocore==1.34.91

mypy==1.9.0
mypy==1.10.0

referencing==0.34.0
referencing==0.35.0

langcodes==3.3.0
langcodes==3.4.0

boto3==1.34.90
boto3==1.34.91

-
marisa-trie==1.1.0

-
language_data==1.2.0


Invalid URL on manage.cubecoders.com

The Contact Us link links to the obsolete mcmyadmin website.
I think the href should be<EMAIL_ADDRESS>or some support page.

Well spotted, I'll take care of it.

No longer applies :)


challenges

Neural nets are naturally designed to handle vectors of numbers and has great success in 3 applications: speech, image and natural language. These 3 applications have one common thing: they are all very "raw" data with simple data structures: sequences of sound pressure(numbers), arrays of light intensities(numbers), sequences of words(special vectors). Natural language is very different from the other 2, as every word has its unique meaning.
Compare to these 3, graph has very complicated data structure and data types: node,  edges, relation, age, name...

These earlier observations don't make much sense anymore. Especially after #8 . The new observation about the blurring of attributes vs relations #2 has shown that the big 3 applications - speech, image, natural language processing - are just 3 special cases of more general attribute+relations combined model.

Real world networks contain biased data. Below are challenges and possible solutions:

challenge
solution

a fan gives more high ratings to the songs he likes than low ratings to the songs he dislikes
find data with ratings with randomly selected songs

a song is performed by a small number of singers(typically 1), and has negative relations with all other singers
get more ideas from NLP

if 2 people are friends, we know they want to be friends; but we don't know who don't want to be friends
generate synthesized negative training data


Intellisense fails when there is trailing text after the cursor.

E.g.
Console.WriteLine(|);

(where | is the cursor position)
This also affects the new snippet completions.

fixed by #154


docs: update documentation for hostd suppressions

@jeremylong wonder how I've managed to miss that in my update... thanks for catching the omission

@aikebah there are two locations in the gradle plugin documentation where the info is located - you had updated one of them.