2024-10-30 08:08:07.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:08:07.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[2.038ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:08:07.086','2024-10-29 08:08:07.085',101)
2024-10-30 08:08:07.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:08:07.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:08:20.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:08:20.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[0.823ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:08:20.381','2024-10-29 08:08:20.38',101)
2024-10-30 08:08:20.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:08:20.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:08:46.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:08:46.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[0.503ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:08:46.428','2024-10-29 08:08:46.427',101)
2024-10-30 08:08:46.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:08:46.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:09:38.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:09:38.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[0.394ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:09:38.11','2024-10-29 08:09:38.109',101)
2024-10-30 08:09:38.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:09:38.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:19.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:10:19.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[0.326ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:10:19.825','2024-10-29 08:10:19.824',101)
2024-10-30 08:10:19.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:19.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:20.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:10:20.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[0.963ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:10:20.468','2024-10-29 08:10:20.467',101)
2024-10-30 08:10:20.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:20.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:21.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:10:21.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[0.827ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:10:21.241','2024-10-29 08:10:21.24',101)
2024-10-30 08:10:21.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:21.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:22.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:10:22.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[0.475ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:10:22.185','2024-10-29 08:10:22.184',101)
2024-10-30 08:10:22.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:22.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:23.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:10:23.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[0.888ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:10:23.495','2024-10-29 08:10:23.493',101)
2024-10-30 08:10:23.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:23.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:25.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:10:25.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[0.403ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:10:25.574','2024-10-29 08:10:25.572',101)
2024-10-30 08:10:25.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:25.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:29.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:10:29.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[0.843ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:10:29.264','2024-10-29 08:10:29.262',101)
2024-10-30 08:10:29.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:29.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:36.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:10:36.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[0.528ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:10:36.237','2024-10-29 08:10:36.235',101)
2024-10-30 08:10:36.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:36.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:42.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:10:42.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[0.832ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:10:42.385','2024-10-29 08:10:42.383',101)
2024-10-30 08:10:42.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:42.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:43.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:10:43.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[0.509ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:10:43.103','2024-10-29 08:10:43.101',101)
2024-10-30 08:10:43.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:43.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:43.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:10:43.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[0.489ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:10:43.791','2024-10-29 08:10:43.79',101)
2024-10-30 08:10:43.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:43.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:44.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:10:44.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[0.925ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:10:44.767','2024-10-29 08:10:44.766',101)
2024-10-30 08:10:44.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:44.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:45.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:10:46.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[1.706ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:10:46.026','2024-10-29 08:10:46.025',101)
2024-10-30 08:10:46.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:46.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:48.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:10:48.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[1.266ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:10:48.181','2024-10-29 08:10:48.179',101)
2024-10-30 08:10:48.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:48.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:51.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:10:51.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[0.182ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:10:51.864','2024-10-29 08:10:51.864',101)
2024-10-30 08:10:51.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:51.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:58.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:10:58.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[0.662ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:10:58.759','2024-10-29 08:10:58.758',101)
2024-10-30 08:10:58.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:10:58.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:11:12.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:11:12.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[0.490ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:11:12.162','2024-10-29 08:11:12.161',101)
2024-10-30 08:11:12.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:11:12.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:11:38.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:11:38.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[0.658ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:11:38.418','2024-10-29 08:11:38.417',101)
2024-10-30 08:11:38.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:11:38.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:12:30.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:12:30.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[0.503ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:12:30.095','2024-10-29 08:12:30.094',101)
2024-10-30 08:12:30.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:12:30.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:13:30.10308 INFO main.go:98 Starting to read config file: /home/admin/configs/config.yml
2024-10-30 08:13:30.10308 INFO logger.go:167 /root/project/pkg/broker/storage/session.go:116 Error 1054: Unknown column 'expired_at' in 'field list'
[0.476ms] [rows:0] INSERT INTO `locks` (`owner`,`updated_at`,`expired_at`,`id`) VALUES ('','2024-10-30 08:13:30.56','2024-10-29 08:13:30.559',101)
2024-10-30 08:13:30.10308 ERROR storage.go:146 failed to check distributed lock for owner 6f9358094161:Error 1054: Unknown column 'expired_at' in 'field list'
2024-10-30 08:13:30.10308 FATAL main.go:175 Failed to create app: failed to create jobwatcher: fail to start scheduled jobs: fail to create distributed elector: fail to create distributed locker 101: failed to check distributed lock:Error 1054: Unknown column 'expired_at' in 'field list'

下面是我登陆mysql后进行授权的过程
mysql> SELECT user, host FROM mysql.user WHERE user='root';
+------+-----------+
| user | host      |
+------+-----------+
| root | %         |
| root | localhost |
+------+-----------+
2 rows in set (0.00 sec)

mysql> CREATE USER<EMAIL_ADDRESS>Query OK, 0 rows affected (0.02 sec)

mysql> ALTER USER<EMAIL_ADDRESS>IDENTIFIED BY 'ewKhgJF5MwGyO';
Query OK, 0 rows affected (0.00 sec)

mysql> GRANT ALL PRIVILEGES ON *.* TO<EMAIL_ADDRESS>WITH GRANT OPTION;
Query OK, 0 rows affected (0.01 sec)

mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)

mysql> SELECT user, host FROM mysql.user WHERE user='root';
+------+-----------------+
| user | host            |
+------+-----------------+
| root | %               |
| root | <IP_ADDRESS> |
| root | localhost       |
+------+-----------------+
3 rows in set (0.00 sec)

重启broker后马上就掉了
zhuang@zhuang-virtual-machine:~/workplace/scql/examples/p2p-tutorial$ docker restart p2p-tutorial-broker_alice-1
p2p-tutorial-broker_alice-1
zhuang@zhuang-virtual-machine:~/workplace/scql/examples/p2p-tutorial$ docker ps
CONTAINER ID   IMAGE                    COMMAND                   CREATED          STATUS                          PORTS                                                  NAMES
d98106383f43   mysql                    "docker-entrypoint.s…"   15 minutes ago   Up 15 minutes                   <IP_ADDRESS>:3306->3306/tcp, :::3306->3306/tcp, 33060/tcp   p2p-tutorial-mysql-1
6f9358094161   secretflow/scql:latest   "/home/admin/bin/bro…"   25 minutes ago   Up Less than a second           <IP_ADDRESS>:8081->8080/tcp, [::]:8081->8080/tcp            p2p-tutorial-broker_alice-1
4c47d79e30e0   secretflow/scql:latest   "/home/admin/bin/bro…"   25 minutes ago   Restarting (1) 47 seconds ago                                                          p2p-tutorial-broker_bob-1
8fa3b494efc1   secretflow/scql:latest   "/home/admin/bin/scq…"   20 hours ago     Up 8 minutes                                                                           p2p-tutorial-engine_alice-1
b06d42443412   secretflow/scql:latest   "/home/admin/bin/scq…"   20 hours ago     Up 20 hours                                                                            p2p-tutorial-engine_bob-1
zhuang@zhuang-virtual-machine:~/workplace/scql/examples/p2p-tutorial$ docker ps
CONTAINER ID   IMAGE                    COMMAND                   CREATED          STATUS                                  PORTS                                                  NAMES
d98106383f43   mysql                    "docker-entrypoint.s…"   15 minutes ago   Up 15 minutes                           <IP_ADDRESS>:3306->3306/tcp, :::3306->3306/tcp, 33060/tcp   p2p-tutorial-mysql-1
6f9358094161   secretflow/scql:latest   "/home/admin/bin/bro…"   25 minutes ago   Restarting (1) Less than a second ago                                                          p2p-tutorial-broker_alice-1
4c47d79e30e0   secretflow/scql:latest   "/home/admin/bin/bro…"   25 minutes ago   Restarting (1) 49 seconds ago                                                                  p2p-tutorial-broker_bob-1
8fa3b494efc1   secretflow/scql:latest   "/home/admin/bin/scq…"   20 hours ago     Up 8 minutes                                                                                p2p-tutorial-engine_alice-1
b06d42443412   secretflow/scql:latest   "/home/admin/bin/scq…"   20 hours ago     Up 20 hours

初始化数据这一步做了吗

你好，我是在一台机器上部署的，参考的是 https://www.secretflow.org.cn/zh-CN/docs/scql/0.9.1b1/intro/p2p-tutorial 里的教程。没有执行多机部署给出的步骤。这两个对应的sql文件我看都在/home/zhuang/workplace/scql/examples/p2p-tutorial/mysql/initdb/alice_init.sql下有。

你好，我是在一台机器上部署的，参考的是 https://www.secretflow.org.cn/zh-CN/docs/scql/0.9.1b1/intro/p2p-tutorial 里的教程。没有执行多机部署给出的步骤。这两个对应的sql文件我看都在/home/zhuang/workplace/scql/examples/p2p-tutorial/mysql/initdb/alice_init.sql下有。

你查一下brokeralice  & brokerabob  中的locks表结构
SHOW COLUMNS FROM locks

mysql> SHOW DATABASES;
+--------------------+
| Database           |
+--------------------+
| alice              |
| bob                |
| brokeralice        |
| brokerbob          |
| information_schema |
| mysql              |
| performance_schema |
| sys                |
+--------------------+
8 rows in set (0.00 sec)

mysql> SHOW COLUMNS FROM brokeralice.locks;
+------------+-------------+------+-----+---------+----------------+
| Field      | Type        | Null | Key | Default | Extra          |
+------------+-------------+------+-----+---------+----------------+
| id         | tinyint     | NO   | PRI | NULL    | auto_increment |
| owner      | varchar(64) | YES  |     | NULL    |                |
| updated_at | datetime(3) | YES  |     | NULL    |                |
+------------+-------------+------+-----+---------+----------------+
3 rows in set (0.01 sec)

mysql> SHOW COLUMNS FROM brokerbob.locks;
+------------+-------------+------+-----+---------+----------------+
| Field      | Type        | Null | Key | Default | Extra          |
+------------+-------------+------+-----+---------+----------------+
| id         | tinyint     | NO   | PRI | NULL    | auto_increment |
| owner      | varchar(64) | YES  |     | NULL    |                |
| updated_at | datetime(3) | YES  |     | NULL    |                |
+------------+-------------+------+-----+---------+----------------+
3 rows in set (0.01 sec)

你的镜像版本和代码版本不一致https://github.com/secretflow/scql/blob/0.9.1b1/examples/p2p-tutorial/mysql/initdb/broker_init_alice.sql
你参照这几个sql文件修改一下数据库表的配置

感谢~，我修改了sql文件，现在容器可以正常启动了，我按着接教程继续执行到./brokerctl get project --host http://localhost:8081时报错了，好像protobuf版本不一致导致的。这是不是也是因为镜像版本和代码版本不一致导致的。。。我下载的代码版本是vldb2024那条分支的。我改修改哪里呢
zhuang@zhuang-virtual-machine:~/workplace/scql$ docker ps
CONTAINER ID   IMAGE                    COMMAND                   CREATED          STATUS          PORTS                                                  NAMES
9679f61d5e31   mysql                    "docker-entrypoint.s…"   20 minutes ago   Up 20 minutes   <IP_ADDRESS>:3306->3306/tcp, :::3306->3306/tcp, 33060/tcp   p2p-tutorial-mysql-1
328ea787231c   secretflow/scql:latest   "/home/admin/bin/scq…"   20 minutes ago   Up 20 minutes                                                          p2p-tutorial-engine_bob-1
eb007098a0d3   secretflow/scql:latest   "/home/admin/bin/bro…"   20 minutes ago   Up 19 minutes   <IP_ADDRESS>:8082->8080/tcp, [::]:8082->8080/tcp            p2p-tutorial-broker_bob-1
7fe1fc1d6af5   secretflow/scql:latest   "/home/admin/bin/scq…"   20 minutes ago   Up 20 minutes                                                          p2p-tutorial-engine_alice-1
03799f100b98   secretflow/scql:latest   "/home/admin/bin/bro…"   20 minutes ago   Up 19 minutes   <IP_ADDRESS>:8081->8080/tcp, [::]:8081->8080/tcp            p2p-tutorial-broker_alice-1
zhuang@zhuang-virtual-machine:~/workplace/scql$ ./brokerctl get project --host http://localhost:8081
Error: GetProject: failed to call listing project service: got unexpected error="proto: (line 1:1411): unknown field "group_by_threshold"" while unmarshal proto from content={"status":{"code":0, "message":"list projects succeed", "details":[]}, "projects":[{"project_id":"demo", "name":"", "description":"", "conf":{"spu_runtime_cfg":{"protocol":"SEMI2K", "field":"FM64", "fxp_fraction_bits":"0", "max_concurrency":0, "enable_action_trace":false, "enable_type_checker":false, "enable_pphlo_trace":false, "enable_runtime_snapshot":false, "snapshot_dump_dir":"", "enable_pphlo_profile":false, "enable_hal_profile":false, "public_random_seed":"0", "share_max_chunk_size":"0", "fxp_div_goldschmidt_iters":"0", "fxp_exp_mode":"EXP_DEFAULT", "fxp_exp_iters":"0", "fxp_log_mode":"LOG_DEFAULT", "fxp_log_iters":"0", "fxp_log_orders":"0", "sigmoid_mode":"SIGMOID_DEFAULT", "enable_lower_accuracy_rsqrt":false, "sine_cosine_iters":"0", "beaver_type":"TrustedFirstParty", "ttp_beaver_config":null, "cheetah_2pc_config":null, "trunc_allow_msb_error":false, "experimental_disable_mmul_split":false, "experimental_enable_inter_op_par":false, "experimental_enable_intra_op_par":false, "exp
Usage:
  brokerctl get {project|table [NAME1 [,NAME2]]|ccl|invitation|result} [flags]

Flags:
  -h, --help             help for get
      --job-id string    when get result, you must specify the job-id obtained after successfully creating the job
      --parties string   when get ccl, you can specify parties in format 'NAME [, NAME]', e.g: 'alice, bob'
      --tables string    when get ccl, you can specify tables in format 'NAME [, NAME]', e.g: 'ta, tb'

Global Flags:
      --host string         host to access broker, e.g: http://localhost:8080
      --project-id string   unique identifier for project
      --timeout int         timeout seconds for http requests to broker (default 1)

感谢~，我修改了sql文件，现在容器可以正常启动了，我按着接教程继续执行到./brokerctl get project --host http://localhost:8081时报错了，好像protobuf版本不一致导致的。这是不是也是因为镜像版本和代码版本不一致导致的。。。我下载的代码版本是vldb2024那条分支的。我改修改哪里呢
zhuang@zhuang-virtual-machine:~/workplace/scql$ docker ps
CONTAINER ID   IMAGE                    COMMAND                   CREATED          STATUS          PORTS                                                  NAMES
9679f61d5e31   mysql                    "docker-entrypoint.s…"   20 minutes ago   Up 20 minutes   <IP_ADDRESS>:3306->3306/tcp, :::3306->3306/tcp, 33060/tcp   p2p-tutorial-mysql-1
328ea787231c   secretflow/scql:latest   "/home/admin/bin/scq…"   20 minutes ago   Up 20 minutes                                                          p2p-tutorial-engine_bob-1
eb007098a0d3   secretflow/scql:latest   "/home/admin/bin/bro…"   20 minutes ago   Up 19 minutes   <IP_ADDRESS>:8082->8080/tcp, [::]:8082->8080/tcp            p2p-tutorial-broker_bob-1
7fe1fc1d6af5   secretflow/scql:latest   "/home/admin/bin/scq…"   20 minutes ago   Up 20 minutes                                                          p2p-tutorial-engine_alice-1
03799f100b98   secretflow/scql:latest   "/home/admin/bin/bro…"   20 minutes ago   Up 19 minutes   <IP_ADDRESS>:8081->8080/tcp, [::]:8081->8080/tcp            p2p-tutorial-broker_alice-1
zhuang@zhuang-virtual-machine:~/workplace/scql$ ./brokerctl get project --host http://localhost:8081
Error: GetProject: failed to call listing project service: got unexpected error="proto: (line 1:1411): unknown field "group_by_threshold"" while unmarshal proto from content={"status":{"code":0, "message":"list projects succeed", "details":[]}, "projects":[{"project_id":"demo", "name":"", "description":"", "conf":{"spu_runtime_cfg":{"protocol":"SEMI2K", "field":"FM64", "fxp_fraction_bits":"0", "max_concurrency":0, "enable_action_trace":false, "enable_type_checker":false, "enable_pphlo_trace":false, "enable_runtime_snapshot":false, "snapshot_dump_dir":"", "enable_pphlo_profile":false, "enable_hal_profile":false, "public_random_seed":"0", "share_max_chunk_size":"0", "fxp_div_goldschmidt_iters":"0", "fxp_exp_mode":"EXP_DEFAULT", "fxp_exp_iters":"0", "fxp_log_mode":"LOG_DEFAULT", "fxp_log_iters":"0", "fxp_log_orders":"0", "sigmoid_mode":"SIGMOID_DEFAULT", "enable_lower_accuracy_rsqrt":false, "sine_cosine_iters":"0", "beaver_type":"TrustedFirstParty", "ttp_beaver_config":null, "cheetah_2pc_config":null, "trunc_allow_msb_error":false, "experimental_disable_mmul_split":false, "experimental_enable_inter_op_par":false, "experimental_enable_intra_op_par":false, "exp
Usage:
  brokerctl get {project|table [NAME1 [,NAME2]]|ccl|invitation|result} [flags]

Flags:
  -h, --help             help for get
      --job-id string    when get result, you must specify the job-id obtained after successfully creating the job
      --parties string   when get ccl, you can specify parties in format 'NAME [, NAME]', e.g: 'alice, bob'
      --tables string    when get ccl, you can specify tables in format 'NAME [, NAME]', e.g: 'ta, tb'

Global Flags:
      --host string         host to access broker, e.g: http://localhost:8080
      --project-id string   unique identifier for project
      --timeout int         timeout seconds for http requests to broker (default 1)

建议使用tag版本和文档版本一致即可。


Filter group problems with server side rendering non-JS fallbacks

Filter groups are missing their padding when JavaScript doesn't load:

And the collapseByDefault option for filter groups works with JS enabled/loaded. However, is JavaScript doesn't load, then it still collapses but can never be expanded so those checkboxes are unusable:

There are a few ways we could solve the second issue:

only honour collapseByDefault client-side e.g. after componentDidMount or useEffect, but this will cause a layout shift
use anchors from the group to the options, and use :target in CSS to expand the group
use a details element

Picked up by @lizaadebowale in testing for the guidance/advice list


Question Survey (Google form)

Objective:

Get feedback on AAD
replaces existing function

Strategy:

Use a google form to collect simple feed back about AAD
Model form on the SF feedback page http://goo.gl/forms/sD3lniSd4b
post url to form here for developer https://goo.gl/forms/KWU663uQiAXT5Y6o1

Do you want feedback on what questions to include on this survey? Here's my thought:

How did you hear about AAD?  (Check all that apply - I like doing my part to protect the Lower Grand River Watershed, I want to keep my neighborhood looking clean, I want to reduce flooding on my street, Someone (like a teacher) told me I should,  Other)
How likely are you to recommend Adopt a Drain to a friend, neighbor, or colleague?

Seems like we have at least two themes

Feedback about the app: Report an Issue or a way to improve adopt-a-drain
Feedback about the user:  Marketing Survey

Feedback about the user would be more valuable to us as an organization, in hopes that feedback about the app would be given to us via the contact email listed in the app.


Implement a report form for proposals

Part of https://github.com/snapshot-labs/snapshot/issues/3724
Problem
We have identified a need for a mechanism that allows users to report problematic proposals on our platform. This will help maintain a safe and secure environment, enabling us to take appropriate action against proposals that violate our guidelines or negatively impact user experience.
Proposed Solution
We propose implementing a report form for users to submit information about problematic proposals. This form should be user-friendly, concise, and gather essential information for admins or moderators to review and take necessary action.
Specifications
Form Title: "Submit a Proposal Report"
Form Fields:

Reporter's Information (Optional):

Email address (for follow-up or verification purposes)

Proposal Information:

Proposal URLs

Reason for Reporting:

A dropdown menu or checkboxes for users to select the primary reason for reporting, such as:

Scam
Spam
Offensive content
Duplicate proposal
Other (with a text box to specify)

Optional Detailed Description:

A text box for users to provide additional context, examples, or evidence supporting their report.

Optional Attachment(s):

Allow users to attach relevant files, such as screenshots or documents, to support their report.

Additional Considerations

Determine whether the form should be integrated within Snapshot's UI or implemented as an external form (e.g., Tally), considering factors such as user experience, development time, and maintenance.
Ensure that submitted reports are submitted for review through a dedicated channel (e.g., #reports) on the our internal Discord.

Next Steps

[x] Refine the form's specifications and decide on the implementation approach, choosing between an integrated UI form or an external solution (e.g., Tally).
[x] Add a "Report Proposal" button to the proposal page dropdown menu, allowing users to easily access the report form.
[x] Integrate form submissions with the #reports channel on Discord to ensure efficient communication of reports.
[ ] Gather user feedback on the report form's functionality and user experience, and make necessary improvements based on their input.

@zzuziak any idea how we can gather feedback on the reporting?


support for inline codelens

Currently, codelens are only line "headers". In practice, several examples show that such text decoration can also be pretty useful inline, between two characters. For example, IntelliJ (and soon Eclipse IDE) allow to show the parameter name on ambiguous methods.
CodeLens should be allowed to receive as parameter a text position (line/column) where to be inserted, and in case column is missing, it could default to current behaviour which is about making a line header.

rust-analyzer has an issue for figuring out how to upstream their version of this.

IMHO I think https://github.com/microsoft/language-server-protocol/issues/745 should be more generic than Codelens only.

I will fold this with https://github.com/microsoft/language-server-protocol/issues/956


Python LightGBMError: Cannot change bin_construct_sample_cnt after constructed Dataset handle.

Description
The code is as follows.
train_features = train_features.to_numpy()
test_features = test_features.to_numpy()
train_set = lgb.Dataset(train_features, label = train_labels)
test_set = lgb.Dataset(test_features, label = test_labels)
hyperparameters = model.get_params()
cv_results = lgb.cv(hyperparameters, train_set, num_boost_round = 10000, nfold = 5, metrics = 'auc',
           early_stopping_rounds = 100, verbose_eval = False, seed = 42)

Thanks for using LightGBM!
Unfortunately, this is not enough information for maintainers to help you. Please provide a minimal, reproducible example that produces the error you're facing.
Please also provide the information you were asked for when you clicked "New Issue", like:

operating system
version of Python
version of LightGBM (commit hash if you installed it from source)
how you installed LightGBM


choosing route, choosing new country - refresh not working

See this gif
Reproduced issue several times with different countries.
Does not seem to be working properly.
Tested with Firefox 73.0 (64-bit) - Mozilla Firefox for Ubuntu Canonical 1.0.

argh that's a bad one 🤦♂  thanks for the detailed issue I'll fix it quickly 🙇♀

ok this should be fixed! the route was well set to null but instantly reverted to the previous value because I had forgotten to remove the route from the query param in the url.
There is an other issue about preserving the selected country better #12 but it's not really a bug as this one was.
thanks for reporting 👍

argh that's a bad one man_facepalming thanks for the detailed issue I'll fix it quickly bowing_woman

No worries. Very excited about your website concept. Let me know if you ever want to discuss ideas for expanding the concept! Good luck and keep working hard :)


Question: Am I using the weights correctly?

I have ranks that inherit permissions from other ranks.  At the lowest level there is a group that does a blanket remove of some permissions, some things that are set to true by default by the specific plugin they belong to so I have to set them as false.
I have created a group which does this with a weight of 1.  It is a parent group to the lowest rank.  The problem I am having is that the ranks above it that have groups that turn these permissions back on with a weight of 3 are not actually turning them on.  The group with a weight of 1 is keeping them turned off.
Here's an example.
DummyRank1

DummyRank2

DummyGroup1

DummyGroup2

Even though DummyGroup1 is weighted to lower than DummyGroup2, being rank2 still returns false for permission.killeverything.
If I remove the weight from the rank group, the issue still pops up, except if I use this on the lower weighted group: permission.* false and this on the higher weighted group: permission.killeverything true it seems to work.  But specifying a permission is a little iffy on putting it back to true.  Sometimes it does it, sometimes it does not do it.  Case in point with essentials.warp.
Adding essentials.warp false to the lower weight but essentials.warp true to the higher weight does not reenable it.
Am I not using this correctly?

Which groups is the user added to?
Weights are checked in order of inheritance, meaning if a user has DummyRank1 and DummyRank2, the order those will be inherited in is undefined.
If DummyRank1 is first, the order would be:

DummyRank1

DummyGroup1

DummyRank2

DummyGroup2
DummyGroup1 (ignored a second time)

If DummyRank2 is first, the order would be:

DummyRank2

DummyGroup2
DummyGroup1

DummyRank1

DummyGroup1 (ignored a second time)

In the first example, permission.killeverything would be false (DummyGroup1 is inherited first), but would be true in the second example, as DummyGroup2 is inherited first.
Hopefully that makes sense


Update application chart to override default service port

Verified fixed in v1.8.0-rc1 - report https://github.com/epinio/epinio/pull/2150#issuecomment-1523599816


Release for ROS noetic

Hello, could you please make a release for ROS Noetic (and Ubuntu 20.04)?

The package seems to be Python3 compatible as I've used the package in Python3.8 ROS Noetic without any modifications.

I'll get to it asap.

Released ros_numpy (https://github.com/ros/rosdistro/pull/26793). Closing this issue.


Add echo.Binder implementation

Now you cannot bind data with echo framework, but adding Binder interface implementation this will be possible
https://echo.labstack.com/docs/binding#custom-binding

Well, Binder was not the interface to implement, it was TextUnmarshaler.


Clear Instructions for Running Eval & Sample Inference

Hello,
I think the instructions for running the eval e.g., for nyudepthv2 should be clearly stated. This is what I have to do myself for running eval on NYUv2:
After generating the .json file via generate_json_NYUDepthV2.py in NLSPN code, the generated .json file needs to be placed in nyudepthv2 data repo.
That path then needs to be updated in /SparseDC/configs/paths/default.yaml  and then the eval runs. However, It is running several experiments (different sparsity patterns + different random seeds for generating sparsity) at once and for the full dataset which takes quite a lot of time.
May be there should be a standalone file that runs these experiment on a subset or on a single image from the dataset to show visual results instead of preparing logs for the whole dataset. That could also give an opportunity to interested readers to evaluate on different test sets or their sample images. May be a simple example without relying on Hydra?
Thanks!

@TouqeerAhmad, thank you again. I will add the sample Inference code next month. Please be patient.


Refresh indicator hidden when using embed tab bar

So when using an embed tab bar controller the refresh indicator seems to be hidden is there anyway to resolve this?

Hi Tundsdev, did you try it on real device? I was having same issue on simulator but it actually showed up in real device.


.Net: Document how to pass correlation IDs in Semantic Kernel

Add a means of attaching developer defined properties to a prompt. These properties should follow the prompt, and be accessible, throughout the SK call stack (eg. in a custom backend or connector).
The scenario that drives this request is implementation of a correlation ID so that prompt requests can be traced and timed to measure performance. Simply adding a correlation ID to prompts may be sufficient to implement the perf scenario; however, it's believed there are other scenarios that need different types of associated properties or objects. A more robust implementation may be a developer accessible property bag that follows prompts.

Updating this issue to capture the need to document how to achieve this scenario.

All .Net issues prior to 1-Dec-2023 are being closed. Please re-open, if this issue is still relevant to the .Net Semantic Kernel 1.x release. In the future all issues that are inactive for more than 90 days will be labelled as 'stale' and closed 14 days later.


fix: authority works the same in host and client

This is the same commits that were previously merged and rolled back.
This is rebased to master.  We need to test it to figure out what was the problem with usurvival.

we need to do smaller commits and test each one. can't roll back again.

I am not sure if you are serious,  there are 16 commits there,  How can I possibly make them smaller?

yes, let's do one after another. see our google doc.
first one missing is: "refactor: remove special case for host mode"
no need to do this together with auth stuff

Everything has been merged


Use root device attach time instead of launch time to get EC2 instance age

Describe the bug
Currently, the launch time is used to determine the age of the EC2 instance, but this value is reset when someone restarts the instance allowing users to indefinitely keep an instance from being cleaned up.
To Reproduce

Launch an EC2 instance
Make note of the launch time
Stop and start the instance
The launch time is updated to when the instance was started

Expected behavior
I looked into this and it seems like looking at the root volume attach time is the best way to determine the actual age of an instance.

Thanks for raising this @atqhg23. Really interesting discovery. Let me look into it and see what the best approach would be.

The issue with using the root volume attach time is that the root volume can be replaced which would return the wrong time if it had been replaced.
I checked with AWS on this, and it seems like the best approach would be to use the attach time of the instance's primary ENI since the primary ENI cannot de detached or deleted until the EC2 instance is deleted as well. The primary ENI can be identified by looking at the DeviceIndex, the primary ENI will always have the DeviceIndex set to 0.

Thanks for that info @atqhg23. I've made the change within https://github.com/servian/aws-auto-cleanup/tree/better-ec2-launch-time
Mind testing it out for me? 😄

Will do, thanks!

This worked! Thanks again for the help


Implement #435 - Rename validation report

Summary:
This PR provides support to rename the validation report as the feed_info.feed_publisher_name + _ + timestamp + file extension (.json or .pb).
Expected behavior:
1. Validation report as .json:
Validation reports should no longer be named results.json. Instead the name of said file should be feed_info.feed_publisher_name + _ timestamp(at the time of validation in America/Montreal timezone) +.json.
If feed_info.txt is not provided then the name of the validation report is limited to the timestamp at the moment of validation in America/Montreal timezone.
Sample filename: after validating MBTA's GTFS archive on 2020-10-20 at 09:07:48 (America/Montreal timezone), the validation report will be named as follows MBTA_2020-10-20 09/07/48.442365.json
2. Validation report as .pb:
Validation reports should no longer be named  1.pb /  2.pb/ ... / n.pb . Instead the same of said file should be feed_info.feed_publisher_name + _ + timestamp (at the time of validation in America/Montreal timezone) + - + fileCounter + .pb.
If feed_info.txt is not provided then the name of the validation reports are limited to: _ + timestamp (at the moment of validation in America/Montreal timezone) + filecounter + .pb
Sample filenames: after validating MBTA's GTFS archive on 2020-10-20 at 09:07:48 (America/Montreal timezone), the validation reports will be named as follows

MBTA_2020-10-20 09/07/48.442365-1.pb
MBTA_2020-10-20 09/07/48.442365-2.pb
...
MBTA_2020-10-20 09/07/48.442365-n.pb

Please make sure these boxes are checked before submitting your pull request - thanks!

[x] Run the unit tests with gradle test to make sure you didn't break anything
[x] Format the title like "Fix #<issue_number> - " (for example - "Fix #1111 - Check for null value before using field")
[x] Linked all relevant issues
[x] Include screenshot(s) showing how this pull request works and fixes the issue(s)

This could be hardened by modifying the replace all regex to also replace those forbidden characters
{ '\\', '/', ':', '*', '?', '"', '<', '>', '|', '[', ']', '\'', ';',             '=', ',' }


router with https

Router doesn't support https at this moment
    /**
     * GET current full URL
     *
     * @return string
     */
    protected function getCurrentUrl()
    {
        return "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
    }

https://github.com/im4aLL/roolith-router/blob/4d00f2a06bf9adf5dcb2cc0b428c1e5e0916e727/src/Request.php#L90

resolved


No scanning data received

I am working with the pioneer lx robot, which has an embedded computer running Ubuntu 12.04, and it has ros hydro installed. I am trying to run rplidar launch file with "roslaunch rplidar_ros rplidar.launch", but I am not getting the Health Status, instead I just get: "Error. unexpected error, code: 800080001"
I tried running the launch file on Ubuntu 14.04 in another computer (with ROS indigo) and I can get the scanning data without problems.

I ever works well at ubuntu 12.04 hydro with raspberry pi.  I can't  locate your problem through your error message , You can try to check the power of USB if it works at embedded computer .

Hi,
First, thanks for your time, answering my issue.
I was checking the power of the USB port, but it seems to be working fine, because the engine is running. Now, I am getting this when I run the launch file.
process[rplidarNode-1]: started with pid [3939]
RPLIDAR running on ROS package rplidar_ros
SDK Version: 1.5.7
And when I run this line:
$ rostopic echo /scan
I don't get any data
Thanks.
Sergio Sierra

Do you set the authority of usb:    sudo chmod a+rwx /dev/ttyUSB***
you can test it using linux-driver-test in the SDK at first.  such as simple_grabber (rplidar_sdk_v1.5.7\sdk\app\simple_grabber)

Paste the message   :      ls -l /dev/ttyUSB*
the output message :    roslaunch rplidar_ros    rplidar.launch

I did set the authority of the usb port, using the udev rules provided in the package. It has all of the permissions and still not working.

which version of rplidar (A1 / A2)?  I suggest that you support power to the motor of rpliadr by alone  in the embedded computer system.

Do you solve your problem? I close it, I will reopen it if you still have any question.


On iOS, positionX: 'center' doesn't work correctly.

The notification starts all the way left and transitions to the correct final center position rather than starting there.

Safari on mac OSX has the same issue.
As far as I can tell Safari is implying that the starting position for a fixed element is 0px for transitions, even if css has not specifically defined it at 0px.

Just submitted https://github.com/alexcrack/angular-ui-notification/pull/76.  Which should also fix iOS Safari as well.

Fixed by 8ce8ecfd60dd527282dacfb3e069b04afe43d0f4

Great, thanks! Can we expect a new release in NPM soon too?

Yes.


Doesn't work for project files that aren't in a saved solution

The code looks for a solution file as a reference location to look for resource files. If there is no solution file (such as when opening a proj file directly) it doesn't load any resource files.
In such a scenario it should used the project file location as the root folder to search for resource files.

found and implemented as part of the work for #31


@typedef is not visible outside of CommonJS module

Types that are defined inside a CommonJS module with @typedef are not visible outside of that module. This short example demonstrates the issue.
a.js
/**@typedef{{
  one: string,
  two: number
}}*/
var MyObject;
/**@const*/
exports.MyObject = MyObject;

b.js
var a = require("./a");

/**@type{!a.MyObject}*/
var b = { one: "hello", two: 3};

output
$ java -jar compiler.jar --process_common_js_modules --entry_point b --js_output_file out.js \
    --jscomp_error checkTypes a.js b.js
b.js:3: ERROR - Bad type annotation. Unknown type a.MyObject
/**@type{!a.MyObject}*/
          ^

1 error(s), 0 warning(s)

A workaround is to copy the @typedef to all the modules that use it.

Could you try using a @record type for MyObject and see if that works?

Yes, that works. This is a.js with @record syntax. It's verbose but it works.
a.js
/**@record*/
function MyObject() {}
/** @type {string} */
MyObject.prototype.one;
/** @type {number} */
MyObject.prototype.two;
/**@const*/
exports.MyObject = MyObject;

So I can switch to that for the structs. That leaves the places where @typedef is used for arrays and objects with specific types such as Array.<!MyType>.

That leaves the places where @typedef is used for arrays and objects with specific types such as Array.<!MyType>

I'm also curious about this. Have there been any updates to allow cross-module typedef references for CommonJS?


How to deal with browser?

I’m using transliteration with ember-browserify and it is breaking since upgrading to 1.5.x from 1.2.x by loading the bower .js file instead of npm module file. All started happening because the introduced the ‘browser’ entry in package.json as a parallel build routine to build its client-side version.
I’m new to these tools, so this is what I could grap: Browserify uses browser as alternative to main entry when reading package.json. So it’s misleading browserify to load the client-side version which loads a lot of .json files that would require its own pile of hacks to get into my build.
It should be possible to change the main entry point by other means but it looks like you had your own problems with that and ember-cli and non-default main.
It makes me a little lost: is transliteration stepping over browserify’s toe reusing the ‘browser’ attribute; is it something usual? Is it me that am using the wrong tools and don’t know how to config those right? Should transliterate add a index.js at root level just for ember-cli users? That’s too much macroeconomics for me! Give some light!

I'm not seeing a browser field entry in the current version of https://github.com/andyhu/transliteration/blob/master/package.json ... am I misunderstanding what you're asking?

It's fixed. Transliteration had it wrong.


In App messaging won't compile with Cloud Firestore

Android device: Pixel 2 XL
Android OS version: 9.0
Google Play Services version: 4.0.0
Firebase/Play Services SDK version: 17.1.0

Describe the problem:
On adding the In-App dependency with Cloud Firestore, the project doesn't build with the following error :
Error: Program type already present: com.google.a.a.a.a.zza

Steps to reproduce:
Add the dependencies for Cloud Firestore and In-App Messaging.
implementation 'com.google.firebase:firebase-inappmessaging-display:17.0.0'
implementation 'com.google.firebase:firebase-firestore:17.1.0'

Expected Results:
The project should build as expected.
Additional info:
Firebase Plugin version : 1.1.5

@the-dagger yeah this is a known issue :-/ we're working on it!  Nothing you can do besides downgrading Firestore (which may work by luck) or waiting for our next patch release.

Got it, thanks for the heads up!

17.0.1 has been released and should solve this!

Awesome!
Best,
Harshit Dwivedi
https://harshit.app
https://mailtrack.io/trace/link/4eb378ec1ae620fd5d6f83cf2283823aced9cfd9?url=https%3A%2F%2Fharshit.app&userId=531655&signature=6dbe406ad00a4786
On Fri, Aug 24, 2018 at 12:56 AM, Sam Stern<EMAIL_ADDRESS>wrote:

17.0.1 has been released and should solve this!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://mailtrack.io/trace/link/1a73db27c4deaf5d9bc8b413bc7a28f3d21bcb57?url=https%3A%2F%2Fgithub.com%2Ffirebase%2Fquickstart-android%2Fissues%2F608%23issuecomment-415541048&userId=531655&signature=c5fb4129cf325830,
or mute the thread
https://mailtrack.io/trace/link/4877337b24d83bcdddcdb8369c83b65013d3e24c?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGQtljyk-L4OaSlEMJbZ8GMYG36zvo6Qks5uTwHTgaJpZM4WIBbC&userId=531655&signature=bea891ef633d8c8e
.


add leading 0 to nbs

This helps order the notebooks

Changing the file names requires updates in quite a few different places. Since this PR ran into conflicts, I'll close it for now, but we can revisit the sort order again later.


Add possibility to use http2 preface with https connection

Motivation:
Add the possibility to use http2 preface with HTTPS connection for cases when the server does not support ALPN negotiation
Modifications:

HttpClientPipelineConfigurator will try connecting with HTTP/2 Preface when the option is enabled and downgrade to HTTP/1 if the server does not support it.
Changed HttpSession.retryWithH1C to HttpSession.retryWith method that receives with which SessionProtocol to retry
Changed HttpSessionHandler to comply with HttpSession change

Result:

Closes #4702
Users can use the HTTP/2 Preface option for secure connections

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

Hey, thanks a lot for your PR. I think it makes sense to add a way to deal with an HTTP/2 server that doesn't support ALPN. However, it'd be nice if this new behavior is enabled only when a user explicitly tells so. Currently, useHttp2Preface is true by default, which means the server that explicitly told the client that it doesn't support HTTP/2 will get HTTP/2 connection preface.
Therefore, could you add adding a new option to ClientFactoryOptions for this behavior? e.g. ClientFactoryOptions.USE_HTTP2_WITHOUT_ALPN (disabled by default)
I also would like to ask the following changes:

There are two ways to start an HTTP/2 connection - 1) HTTP/2 connection preface and 2) HTTP/1-to-2 upgrade request. Your PR supports only the former. Could you also handle the case (2) when useHttp2Preface is false?

Could you add a test case for the new option? It should test the following 4 scenarios:

HTTP/2 server without ALPN
HTTP/1-only server without ALPN

useHttp2Preface = true(Connection preface)
✔
✔*

useHttp2Preface = false(Upgrade request)
✔
✔*

*: Also make sure SessionProtocolNegotiationCache is updated accordingly.

Wanted to clarify, so I can reuse the Upgrade logic from:
https://github.com/line/armeria/blob/master/core/src/main/java/com/linecorp/armeria/client/HttpClientPipelineConfigurator.java#L313
And extract it to some upgrade method and same for this:
https://github.com/line/armeria/blob/master/core/src/main/java/com/linecorp/armeria/client/HttpClientPipelineConfigurator.java#L295
So the solution will look somewhat like this:

So the solution will look somewhat like this:

I think the code you shared looks similar to how I imagined it 👍

Committed the USE_HTTP2_WITHOUT_ALPN option support and now is time to deal with test cases for it. Is there some similar test case that I could look into? If not I guess I need to start the server with tlsSelfSigned and mock io.netty.handler.ssl.SslHandler#applicationProtocol on the client to simulate negotiation failure. Any thoughts on this?

Is there some similar test case that I could look into?

You can build a simple HTTP/2 over TLS server using the combination of NettyServerExtension,  SelfSignedCertificateExtension and SimpleH2CServerHandler. A SniHandler and ApplicationProtocolNegotiationHandler need to be prepended to SimpleH2CServerHandler.
For example:
@RegisterExtension
static SelfSignedCertificateExtension ssc = new SelfSignedCertificateExtension();

@RegisterExtension
static NettyServerExtension h2Server = new NettyServerExtension() {
    @Override
    protected void configure(Channel ch) throws Exception {

        final SslContext sslContext = SslContextBuilder
                .forServer(ssc.privateKey(), ssc.certificate())
                .build();
        ch.pipeline().addLast(new SniHandler(new DomainWildcardMappingBuilder<>(sslContext).build()));
        ch.pipeline().addLast(new ApplicationProtocolNegotiationHandler("???") {

            @Override
            protected void configurePipeline(ChannelHandlerContext ctx, String protocol) throws Exception {
                ctx.pipeline().addLast(new H2ConnectionHandlerBuilder().build());
            }
        });
    }
};

class H2ConnectionHandler extends SimpleH2CServerHandler {
    H2ConnectionHandler(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder,
                        Http2Settings initialSettings) {
        super(decoder, encoder, initialSettings);
    }
}

class H2ConnectionHandlerBuilder
        extends AbstractHttp2ConnectionHandlerBuilder<H2ConnectionHandler, H2ConnectionHandlerBuilder> {

    @Override
    protected H2ConnectionHandler build() {
        return super.build();
    }

    @Override
    protected H2ConnectionHandler build(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder,
                                        Http2Settings initialSettings) throws Exception {
        final H2ConnectionHandler handler = new H2ConnectionHandler(decoder, encoder,
                                                                    initialSettings);
        frameListener(handler);
        return handler;
    }
}
}

Do you have any ideas? Currently stuck on it(

A channelActive event makes UpgradeRequestHandler send OPTIONS * HTTP/1.1.
https://github.com/line/armeria/blob/f2da76b695592a74c766e629faea33ebe629401e/core/src/main/java/com/linecorp/armeria/client/HttpClientPipelineConfigurator.java#L426-L432
It is working for HTTP since UpgradeRequestHandler is added before a channel gets active.
However, UpgradeRequestHandler is added after the TLS handshake for HTTPS, so UpgradeRequestHandler can't get a channelActive event. As a workaround, we can use handlerAdded() event for HTTPS.

The server we're trying to test should actually not support ALPN, so it's probably better assuming that you write a plaintext HTTP/2 server that supports upgrade requests, and then insert an SslHandler in the beginning of Netty pipeline, with ALPN disabled. You probably might want to check how we implemented plaintext HTTP in HttpServerPipelineConfigurator..?

Do you have any ideas? Currently stuck on it(

A channelActive event makes UpgradeRequestHandler send OPTIONS * HTTP/1.1.
https://github.com/line/armeria/blob/f2da76b695592a74c766e629faea33ebe629401e/core/src/main/java/com/linecorp/armeria/client/HttpClientPipelineConfigurator.java#L426-L432
It is working for HTTP since UpgradeRequestHandler is added before a channel gets active.
However, UpgradeRequestHandler is added after the TLS handshake for HTTPS, so UpgradeRequestHandler can't get a channelActive event. As a workaround, we can use handlerAdded() event for HTTPS.

Yes, this worked, thanks, but making working test was not an easy challenge for me) It looks weird but this works:
class H2ConnectionHandler extends SimpleH2CServerHandler {
    protected final Http2Connection.PropertyKey streamKey;
    private final Http2Connection.PropertyKey upgradeKey;
    private final InboundHttpToHttp2Adapter adapter;

    H2ConnectionHandler(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder,
                        Http2Settings initialSettings) {
        super(decoder, encoder, initialSettings);
        streamKey = connection().newKey();
        upgradeKey = connection().newKey();
        adapter = new InboundHttpToHttp2Adapter(connection(), this);
    }

    @Override
    public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception {
        super.userEventTriggered(ctx, evt);
        if(evt instanceof UpgradeEvent) {
            UpgradeEvent upgrade = (UpgradeEvent) evt;
            try {
                ctx.fireUserEventTriggered(upgrade.retain());
                Http2Stream stream = connection().stream(HTTP_UPGRADE_STREAM_ID);
                upgrade.upgradeRequest().headers().setInt(HttpConversionUtil.ExtensionHeaderNames.STREAM_ID.text(), HTTP_UPGRADE_STREAM_ID);
                stream.setProperty(upgradeKey, true);
                adapter.channelRead(ctx, upgrade.upgradeRequest().retain());
            } finally {
                upgrade.release();
            }
        }
    }
}

Is there any simpler way to achieve this or this is good enough for this test case?

As Trustin said, a pipeline customer would be a simple solution to set up a test server. #4710
It would not take a long time to fix #4710. How about continuing your work when #4710 is handled? We are working on it ASAP.

Understood! Good, then I`ll wait for it, thanks for the clarification.

Gentle ping @0lejk4 😉

Sorry for inconvenience, I am really sorry I couldn't help you in time. I see that you are finishing this on your own. Still glad this feature is coming to life, thank you for your work guys!

Thanks, @0lejk4 for adding this feature. 🙇


Enhance ensemble

This branch has some major changes I've worked out over the past several months.  (The initial commit times are about a month after I started working on this branch.)   I stress that time because there is a good chance it will break something that has evolved since I forked this branch in early September.  The main changes are:

We had a stub for a gap-handling version of TimeSeries  called TimeSeriesWGaps in the C++ API since the earliest versions of MsPASS.  By that I mean we had include files but no implementation of the API we defined.   I implemented that feature.
There is a new C++ test program for TimeSeriesWGaps that is as complete as I could make it.
The main purpose of this exercise was creation of a single function I called TimeIntervalReader.   The concept is something heavily used in Antelope that Danny Harvey always called his "station-channel-time" read library.  It is intended as a low-level reader for large, continuous data sets commonly stored as day files in miniseed directories.   Once an index was built this reader could be used to read data in a common time range specified by a start and end time.

Known deficiencies:

The TimeSeriesWGaps object does not have a pickle interface defined.   I did that because I am not sure we should encourage use of the C++ objects directly in python.
I did nothing to enable the test of the C++ test program for TimeSeriesWGaps.   If it isn't automatic it won't be run in the testing here on github.
What is here will not yet work on wf_miniseed data because I haven't yet fixed the problem where posting endtime was disabled in the miniseed indexer.   Once I verify this passes github tests that will need to be fixed before this branch is merged.
I forgot to run black on the new python code so expect a ton of format errors.

From the deficiencies it should be clear this is mostly pushed now for testing and for discussion within the group.

Codecov Report

Merging #359 (d02a411) into master (c9206a4) will increase coverage by 0.62%.
The diff coverage is 71.01%.

@@            Coverage Diff             @@
##           master     #359      +/-   ##
==========================================
+ Coverage   52.84%   53.46%   +0.62%
==========================================
  Files         127      136       +9
  Lines       19179    19843     +664
==========================================
+ Hits        10135    10609     +474
- Misses       9044     9234     +190

Impacted Files
Coverage Δ

cxx/include/mspass/seismic/TimeSeries.h
76.47% <ø> (ø)

cxx/python/algorithms/amplitudes_py.cc
79.16% <ø> (ø)

python/mspasspy/db/database.py
79.89% <ø> (ø)

cxx/src/lib/algorithms/splicing.cc
51.61% <51.61%> (ø)

cxx/python/algorithms/basic_py.cc
84.26% <57.14%> (-1.12%)
:arrow_down:

cxx/src/lib/seismic/TimeSeriesWGaps.cc
64.63% <64.63%> (ø)

python/mspasspy/algorithms/window.py
56.42% <70.21%> (+3.79%)
:arrow_up:

cxx/src/lib/seismic/DataGap.cc
78.26% <78.26%> (ø)

python/mspasspy/db/ensembles.py
85.32% <85.32%> (ø)

cxx/python/seismic/seismic_py.cc
91.85% <89.47%> (-0.09%)
:arrow_down:

... and 9 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Closing it due to overflow of automated review messages. Please open a new PR to be merged.


Navbar: add $navbar-nav-link-padding-y

Is it an idea to add $navbar-nav-link-padding-y to the navbar links?
_navbar.scss currently only sets the x-padding:
https://github.com/twbs/bootstrap/blob/a194abbb5aaa999f5c0eba4bba4f7aff6ab2d0ad/scss/_navbar.scss#L165-L168
The y-padding is currently inherited from _nav.scss:
https://github.com/twbs/bootstrap/blob/a194abbb5aaa999f5c0eba4bba4f7aff6ab2d0ad/scss/_nav.scss#L14-L26
Thanks!

Because the value is inherited, we don't need to reset it again in the navbar styles unless we're overriding it. We go back and forth on this in Bootstrap, but the .nav base class is definitely geared towards inheritance.


Change keyboard color?

How can I change the color of the keyboard from light to dark? Thanks.

There needs to be a public property for setting UITextInputTraits, in this case:
textfield.keyboardAppearance = UIKeyboardAppearance.dark

You can apply these changes and create a new pull request, otherwise I'll do it in the next couple of days when I have time, maybe even tomorrow.
cheers

You can use the latest version 1.1.1 now and use the keyboardAppearance property.


Update for Adobe Photoshop and AfterEffects

Both have moved from plugin to native support

Looks like the Windows version of Hugo puts out different line endings. Try diff ignoring whitespace and line endings. Notice the generator changed from "Hugo -- gohugo.io" to "Hugo"

Hmm. I think instead of altering the rendered html on the gh-page branch, you should adjust docs/site/homepage/data/en/supported_apps.yml on the main branch.
I believe if we merge a change to that file, the relevant site-building gh workflow will trigger.

We don't have auto-generation set up for the website. You do have to commit to the gh-pages branch separately, for now.
Time permitting, I'd love to get an action set up that does this auto-magically, for sure.
Super weird about the white space - I work on a Mac. If I get some time (likely won't be till this weekend) I can give it a spin and confirm suspicions.

Ah, my mistake!
Still, we need to make sure the change is reflected in supported_apps.yml in the main branch, or these changes will be lost the next time we rebuild the site...

@zachlewis we thought alike. Turns out there's one more step. And it was documented. https://github.com/AcademySoftwareFoundation/OpenColorIO/tree/main/docs/site#building-the-static-website

lol dammit zach!

Time permitting, I'd love to get an action set up that does this auto-magically, for sure.

Alright, I've submitted PR #2098, which should hopefully do exactly this.
Merging that PR should itself invoke a rebuild and republish of the site, which should effectively reproduce the exact changes made here.
(FWIW, rebuilding the site with the latest version of Hugo seems to elicit the same differences we're seeing in here, whether invoked on a Mac locally or via an Ubuntu GH runner. I think the line-ending changes etc. are explained by the fact that the site was last built with Hugo 1.11 vs the current 1.39)

@zachlewis I guess we still need this pushed or do you want to try pushing something trivial and see if the supported apps section changes?

Ah, thanks for reminding me -- immediately after merging #2098, the new site-build-and-deploy workflow properly triggered and built; but the workflow itself didn't have the necessary permissions to do the actual publishing. We noted this briefly in our last TSC, but I forgot to follow up with Doug.
Basically, we need to either relax permissions for pushing to the gh-pages branch, mess around with creating a workflow-specific Personal Access Token, or by adjusting our settings to use a GH workflow directly as the means for deploying the site (instead of updating a gh-pages branch). In any case, something I need to look more into elsewhere.
In the mean time, though, I think we agreed we'd be totally fine with merging your PR just to get the page updated already!
(We appreciate your patience)
@doug-walker / @carolalynn what do you guys think? Merge this sucker?


Solved issue #667 . Made Bubble Burst Game responsive and increase the size of bubbles

Description
Made Bubble Burst Game responsive and increase the size of bubbles
Fixes:  #667

Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] I have made this from my own
[ ] I have taken help from some online resourses
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

Hey @VidhiBhatt01 , I have pushed the index file also in the PR .


CHOOSECOLOR structure is just .... completely missing

🛑 IMPORTANT: You can get your feedback addressed faster if you use the comment section for the article in which you encountered a problem.
Link to article:
https://docs.microsoft.com/en-us/windows/desktop/api/Commdlg/ns-commdlg-tagchoosecolora
Problem:
It doesn't exist. What happened to the documentation for this structure?

TVITEM is also missing.

Thanks for reporting documentation issues. These two issues are related to the way that we name files in our new content management system, which was modified slightly since these pages were initially published. Also, in our new system, the ANSI (*A) and Unicode (*W) APIs are documented separately. The reference pages for these pages are here:
https://docs.microsoft.com/en-us/windows/win32/api/commdlg/ns-commdlg-choosecolora~r1
https://docs.microsoft.com/en-us/windows/win32/api/commctrl/ns-commctrl-tvitema
I hope that the search engines will reindex these pages so that you can find these new URLs with search. As a stop-gap, you can view all APIs in a header just by navigating to the page for the header - which is just the URL up until the last forward slash:
https://docs.microsoft.com/en-us/windows/win32/api/commdlg
I will continue to investigate this issue and see if there's anything we can do to help users find these pages better. Thanks again for your feedback.

Instead of hoping that search engines reindex these pages, there are a few tasks that could be done to help ease the transition:

Update links in other articles to point to the location of the moved pages.
Add redirects from the old pages to the new pages.
Update your own search tool in MSDN so that it puts exact article name matches at the top of the search results.

As a stop-gap, I will continue to use the offline "MSDN Library for Visual Studio 2008" that you forgot to delete from the Microsoft website.


Also print functions for which there's no stack usage information (?)

I believe all Rust code can be statically analyzed by LLVM because we there's no way to use alloca in (pure) Rust so all Rust functions appear in the output of stack-sizes.
But there's no stack usage information for symbols invoked via FFI. Should those also be printed in the output of stack-sizes but with a question mark (?) under the "stack" column?

no longer applies as tools have been removed


possible to suppress the access log by route ?

unclear to me if its possible to suppress access logging in the /healthcheck_envoy route below
static_resources:
  listeners:
  - name: listener_0
    address:
      socket_address: { address: <IP_ADDRESS>, port_value: 443 }
    filter_chains:
    - filters:
      - name: envoy.http_connection_manager
        config:
          access_log:
          - name: envoy.file_access_log
            config:
              path: "/dev/stdout"
          upgrade_configs:
          - upgrade_type: websocket
          stat_prefix: ingress_http
          codec_type: AUTO
          route_config:
            name: proxy_route
            virtual_hosts:
            - name: prokeep_dev
              domains: ["*"]
              routes:
              - match: { prefix: "/healthcheck-envoy" }
                direct_response:
                  status: 200
              - match: { prefix: "/" }
                route: { cluster: cloudfront }
          http_filters:
          - name: envoy.router
      tls_context:
        common_tls_context:
          tls_certificates:
            - certificate_chain:
                filename: "/etc/ssl/fullchain.pem"
              private_key:
                filename: "/etc/ssl/privkey.pem"

  clusters:
  - name: cloudfront
    type: STRICT_DNS
    dns_lookup_family: V4_ONLY
    connect_timeout: 10s
    lb_policy: ROUND_ROBIN
    hosts: [{ socket_address: { address: XXX.cloudfront.net, port_value: 80 }}]

You could use the header filter and use the path header to filter out based on the path header.

You could use the header filter and use the path header to filter out based on the path header.

I have the same question, is the filter used to filter or filter OUT log lines?

hi, @yongzhang  can you provide a bit more info on how you solved it?

hi, @yongzhang can you provide a bit more info on how you solved it? I want to use accesslog.v3.AccessLog

Here's the example:
                          access_log:
                          - name: envoy.access_loggers.stdout
                            filter:
                              header_filter:
                                header:
                                  name: ":path"
                                  string_match:
                                    exact: "/healthcheck"
                                  invert_match: true
                            typed_config:
                              "@type": type.googleapis.com/envoy.extensions.access_loggers.stream.v3.StdoutAccessLog

@yongzhang i'm getting ERROR can't unmarshal Any nested proto type.googleapis.com/envoy.extensions.access_loggers.stream.v3.StdoutAccessLog: unknown field "filter" in envoy.extensions.access_loggers.stream.v3.StdoutAccessLog

Can you paste your full config here?

I'm adding access log filter inside envoyfilter
`apiVersion: networking.istio.io/v1alpha3 kind: EnvoyFilter metadata: annotations: meta. helm.sh/release-name: envoyfilter meta.helm.sh/release-namespace: namespace creationTimestamp: "2023-08-12T05:24:24Z" generation: 12 labels: app.kubernetes.io/managed-by: Helm name: ext-authz namespace: istio-system resourceVersion: "26544328" uid: 2915c605-7684-40a4-8a32-df002db40d1c spec: configPatches:

applyTo: HTTP_FILTER
match:
context: GATEWAY
listener:
filterChain:
filter:
name: envoy.http_connection_manager
subFilter:
name: envoy.router
patch:
operation: INSERT_BEFORE
value:
name: envoy.access_loggers.stdout
typed_config:
'@type': type.googleapis.com/envoy.extensions.access_loggers.stream.v3.StdoutAccessLog
filter:
header_filter:
header:
invert_match: true
name: :path
string_match:
exact: /bundle/bundle.tar.gz`

Sorry I can't read your config without code block 😃
From your error msg, it seems like you're missing indentations somewhere.

I'm adding access log filter inside envoyfilter
`apiVersion: networking.istio.io/v1alpha3 kind: EnvoyFilter metadata: annotations: meta. helm.sh/release-name: envoyfilter meta.helm.sh/release-namespace: namespace creationTimestamp: "2023-08-12T05:24:24Z" generation: 12 labels: app.kubernetes.io/managed-by: Helm name: ext-authz namespace: istio-system resourceVersion: "26544328" uid: 2915c605-7684-40a4-8a32-df002db40d1c spec: configPatches:

applyTo: HTTP_FILTER
match:
context: GATEWAY
listener:
filterChain:
filter:
name: envoy.http_connection_manager
subFilter:
name: envoy.router
patch:
operation: INSERT_BEFORE
value:
name: envoy.access_loggers.stdout
typed_config:
'@type': type.googleapis.com/envoy.extensions.access_loggers.stream.v3.StdoutAccessLog
filter:
header_filter:
header:
invert_match: true
name: :path
string_match:
exact: /bundle/bundle.tar.gz`

Sorry I can't read your config without code block smiley From your error msg, it seems like you're missing indentations somewhere.

please check above code block i have fixed thanks

name: envoy.access_loggers.stdout
typed_config:
'@type': type.googleapis.com/envoy.extensions.access_loggers.stream.v3.StdoutAccessLog
filter:
header_filter:
header:
invert_match: true
name: :path
string_match:
exact: /bundle/bundle.tar.gz

ok so this issue should be obvious, filter is not a field of typed_config, you should change it like this:
        name: envoy.access_loggers.stdout
        typed_config:
          '@type': type.googleapis.com/envoy.extensions.access_loggers.stream.v3.StdoutAccessLog
        filter:
          header_filter:
            header:
              invert_match: true
              name: :path
              string_match:
                exact: /bundle/bundle.tar.gz

it's not working I'm still seeing " /bundle/bundle.tar.gz" in my access logs.
but one more thing I'm seeing a warning message as well
Warning: Envoy filter: unknown field "filter" in envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter
envoyfilter.networking.istio.io/ext-authz edited

it's not working I'm still seeing " /bundle/bundle.tar.gz" in my access logs. but one more thing I'm seeing a warning message as well
Warning: Envoy filter: unknown field "filter" in envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter
envoyfilter.networking.istio.io/ext-authz edited

I'm not quite familiar with istio, but from your config above, I guess you're pathing to the wrong place, access_log is a field of HttpConnectionManager typed config,  not its http_filters. I think you'd better ask in istio community for help.


Migrate Table Filtering to Lit

[ ] Convert JS to Lit
[ ] Convert CSS to be extendable
[ ] Create description page

Implemented in https://github.com/YuraVolk/Js-Library/commit/89391dce9d00f47c8f9b51c39ceee0f4b7c4a1de.


Convince Dean to withdraw from firmware.

As long as you keep treating me the way you do, I'll keep coming back. Get rid of Dean.

This is not a positive contribution.  It is not an issue with the code to be addressed, or indeed any kind of issue that can be acted upon.
It is instead just plain toxic behaviour, and unwelcome.


[WIP] Add DeferredWidget

This widget is originally from Flutter Gallery https://github.com/flutter/gallery/blob/master/lib/deferred_widget.dart
This elevates this widget to the framework in order to create a default safe way to handle loading deferred libs. Manually handling loadLibrary calls has potential to attempt to access a widget before it is loaded, whereas this widget prevents this from happening.

FutureBuilder actually provides similar functionality: https://api.flutter.dev/flutter/widgets/FutureBuilder-class.html
Closing in preference for FutureBuilder


closing window gives crash warning

windows 10
start vscode 7e57
in the task bar, right click and chose 'Close window'

:skull: A message pops up says the window has crashed

@jrieken this was with a bad electron update, but good find, I will track it on my todo list for updating electron.


Fabric 1.20.1 Crash

This issue occurs when only Valkyrien Skies and addons are installed and no other mods

[X] I have tested this issue and it occurs when no other mods are installed

Minecraft Version
1.20.1
Mod Loader
Fabric
Issue description
Crash on startup.
Issue reproduction
Fabric 1.20.1 loader; only mods installed are VS, VS Additions, Fabric API, and Create Fabric
Logs
crash report.txt

I think I forgot to include mixin squared💀

Fixed in latest build (not released yet)
shuangfas mistakenly added remap=false on some mixins, now remove them


bump to v3.0.0

 This release is not backwards compatible!
Release Notes

Updated devDependency for patternfly to 3.0.0

Enhancements
These changes are not backwards compatible!
The following directive name changes have been made:
'pf-utilization-chart' changed to 'pf-utlization-trend-chart'
'pf-simple-filter' changed to 'pf-filter'
'pf-simple-filter-results' changed to 'pf-filter-results'
'pf-notification' changed to 'pf-inline-notification'
'pf-simple-sort' changed to 'pf-sort'
'pf-data-list' changed to 'pf-list-view'
'pf-data-tiles' changed to 'pf-card-view'
CSS selectors have also been changed from pf- to -pf to be
more inline with PatternFly conventions.

LGTM


Fix pane event not triggered #113

Fix pane event not triggered #113

This looks good !

Can you squash to a unique commit maybe?


Plugin parameter configurations do not support more than 3 layers of nesting

Hello!
My schema file is as follows:
local typedefs = require "kong.db.schema.typedefs"
local child_elements_contion = {
type = "record",
fields = {
{ mark_key = { type = "string" }, },
{ mark_key_index = { type = "number", default = 1 }, },
{ mark_key_value = { type = "string" }, },
{ mark_type = { type = "string" ,  one_of = { "path", "query", "header", "body" },}, },
{ mark_method = { type = "string",one_of = { "start_with", "end_with", "contain", "regex" }, }, },
},
}
local child_child_elements_relation = {
type = "record",
--required = true,
fields = {
{ condition = { type = "array", default = {}, elements = child_elements_contion, }, },
{ relationship = { type = "string" , default = "AND" ,one_of = { "AND", "NOR", "NOT" },}, },
},
}
local child_elements_relation = {
type = "record",
--required = true,
fields = {
{ condition = { type = "array", default = {}, elements = child_elements_contion, }, },
{ ralation = { type = "array", default = {}, elements = child_child_elements_relation, }, },
{ relationship = { type = "string" , default = "AND" ,one_of = { "AND", "NOR", "NOT" },}, },
},
}
local elements_record = {
type = "record",
fields = {
{ condition = { type = "array", default = {}, elements = child_elements_contion, }, },
{ ralation = { type = "array", default = {}, elements = child_elements_relation, }, },
{ relationship = { type = "string" , default = "AND" ,one_of = { "AND", "NOR", "NOT" },}, },
{ ip = { type = "string" }, },
{ port = { type = "number"}, },
{ upstream = { type = "string" }, },
},
}
local mark_array = {
type = "array",
default = {},
elements = elements_record,
}
return {
name = "mark-route",
fields = {
{ config = {
type = "record",
fields = {
{ mark_number = { type = "number", default = 0 }, },
{ mark = mark_array,  },
{ timestamp = { type = "number" ,default = 0}, },
},
}, },
},
}
An error occurred when I set the parameters as follows:
config.mark[1].ralation[1].condition[1].mark_key = 3
Error is as follows:
2019/05/31 14:19:56 [error] 6350#0: *12665 [lua] init.lua:161: handle_error(): /usr/local/share/lua/5.1/lapis/request.lua:291: attempt to index local 'curr' (a string value)
Can you help me solve this problem?

Success when I set the parameters as follows:
config.mark[1].condition[1].mark_key = 3
Is it not supported to parse more than 3 levels of nesting?

It looks like the Lapis bug I reported in January 2018 ;-):
https://github.com/leafo/lapis/issues/598
Or perhaps a new error related to it. Let me check if I can upgrade our Lapis dependency as that is fixed in 1.7.0.

Thank you for your reply and look forward to having this problem solved

Hi @ccjinghang,
We recently released Kong 1.3.0rc1 which contains a possible fix for your issue (note that @bungle was not able to reproduce it even before the upgrade, though).
Could you please try your plugin in 1.3.0rc1?

Sorry,late reply.
After my verification, the bug was fixed. @kikito


Add script to observe pod phase of all pods

The newly added "check_openshift_project_pod_phase" script computes
statistics on the number of pods in each possible phase (pending,
running, etc.), globally across the cluster as well as per project. For
each metric a warning and critical limit can be set.

LGTM


Autohide Cairo menu bar.

Is your feature request related to a problem? Please describe.
While scrolling using a precision synaptic touchpad, the Cairo menu bar is observed to be flickered. Also, some app does not properly align under Cairo menu bar.

Image chromium edge dev mode.
Describe the solution you'd like
Autohide Cairo menubar could solve the above problem
Thanks

+1 for being able to hide the menubar

Is the issue causing the overlap resolved now? I cannot reproduce.
For auto hide menu bar, that will be covered under #120.

The flickering and overlapping issue is resolved. thanks

Closing as duplicate of #120


docs(hpa): fix typo in 1.23 blog announcement

Minor typo correction to the Kubernetes 1.23 release announcement blog on the HorizontalPodAutoscaler section.

/lgtm
/approve


float vs numpy.ndarray inheritance

Hi @dnwillia @seanpearsonuk @ansaboutin
@ansaboutin and I were discussing few points related to  float vs numpy.ndarray inheritance.
We can convert single value to a numpy array.
>>> import numpy as np
>>> value = 10
>>> np_value = np.asarray(value).view()         # convert to an array of a single element
>>> np_value
array(10)
>>> np_float = np_value.astype(float)            # convert to float
>>> np_float
array(10.)

So it gives following behavior.
>>> values = [10, 11, 12]
>>> np_values = np.asarray(values).view()
>>> np_values
array([10, 11, 12])
>>> np_floats = np_values.astype(float)
>>> np_floats
array([10., 11., 12.])

comparison of 2 arrays gives following output.
>>> [10.0, 11.0, 12.0] == np_floats
array([ True,  True,  True])
>>> np.asarray([10.0, 11.0, 12.0]).view() == np_floats
array([ True,  True,  True])
>>> np_floats == np_floats
array([ True,  True,  True])
>>> np.asarray([10.0, 11.0, 12.0]).view() > np_floats
array([False, False, False])

We can compare single float value with np.array of a single value.
>>> 10.0 == np_float
True

So we can use np.all() to be consitent with current float inheritance behavior of comparison operator.
>>> np.all(np.asarray([10.0, 11.0, 12.0]).view() > np_floats)
False
>>> np.all(np.asarray([10.0, 11.0, 12.0]).view() ==  np_floats)
True

We can remove float inheritance by converting single value to numpy array of single value internally.
current float inheritance behavior is consistent with behavior of a numpy array of a single element.
10.0 + 10.0 = 20.0   (current float inheritance)
>>> np_float + np_float           #  np.array inheritance for an array of a single value
20.0
>>> np_float * np_float
100.0

We can do all arithmetic operations and return SI results by maintaining an array of SI values.
>>> np_floats + np_floats
array([20., 22., 24.])
>>> np_floats * np_floats
array([100., 121., 144.])

Key points -

We can use numpy.ndarray inheritance instead of float inheritance (probably we can remove it ?) and can maintain SI value array for arithmetic operators.

We can return np.all() for comparison operators.

------------------------------------------------------
Q1) How do we want to represent comparison operator result out of following 2 outputs ?
>>> np.asarray([10.0, 11.0, 12.0]).view() > np_floats
array([False, False, False])

OR
>>> np.all(np.asarray([10.0, 11.0, 12.0]).view() > np_floats)
False

------------------------------------------------------
Q2) Do we want to keep float inheritance ? (If we are missing any important point here )
float(Quantity) -> SI value
Please share your views. Thank you.

@hpohekar Regarding this issue there was also #146 so probably this discussion is related.
I think what we want is to not depend on numpy.ndarray but support that it can be passed as a value to Quantity. This would mean not deriving from numpy.ndarray directly as doing that would introduce a dependency on NumPy which should be avoided (eg: pint has no such dependency).
Supporting numpy and not depending on it probably means using duck typing instead? As Sean says in #146, this would mean using explicit methods and reproducing the interface:
Python 3.11.2 (v3.11.2:878ead1ac1, Feb  7 2023, 10:02:41) [Clang 13.0.0 (clang-13<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> dir(float)
['__abs__', '__add__', '__bool__', '__ceil__', '__class__', '__delattr__', '__dir__', '__divmod__', '__doc__', '__eq__', '__float__', '__floor__', '__floordiv__', '__format__', '__ge__', '__getattribute__', '__getformat__', '__getnewargs__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__int__', '__le__', '__lt__', '__mod__', '__mul__', '__ne__', '__neg__', '__new__', '__pos__', '__pow__', '__radd__', '__rdivmod__', '__reduce__', '__reduce_ex__', '__repr__', '__rfloordiv__', '__rmod__', '__rmul__', '__round__', '__rpow__', '__rsub__', '__rtruediv__', '__setattr__', '__sizeof__', '__str__', '__sub__', '__subclasshook__', '__truediv__', '__trunc__', 'as_integer_ratio', 'conjugate', 'fromhex', 'hex', 'imag', 'is_integer', 'real']

I think that's what he means by explicit methods.

I see. I was not aware about #146 while writing this discussion.
@dnwillia-work Yes, I agree. We should not introduce a dependency on NumPy.
Right, we can follow Sean's suggestion, we can use duck typing approach.
Thank you.

@hpohekar thanks for the useful discussion points nonethless.


[Bug]: Fractionis not breaking some blocks.

General Info

[X] I am running a modpack
[X] I can reproduce this issue consistently in single-player
[ ] I can reproduce this issue consistently in multi-player
[X] I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
[ ] I am crashing and can provide my crash report(s)
[X] I am using the latest version of the mod

Forge version
40.2.1
Minecraft version
1.18.2
Mod version
1.18.2-0.2.3
Java version
1.8.0_51 (i think this is it, im using the bundled version with the mc launcher)
Issue Description
Fractionis is not able to break any material with a mining level of 1 or higher. It is able to break dirt and wood with ease, but is unable to break stone, cobblestone, etc. This includes when I am at max level.
Speaking of wood, it is only able to break logs. Wooden products such as doors, planks and stairs cannot be broken using fractionis.
While I have selected "running a modpack", this issue is reproducible in a fresh install with only the mod (and Patchouli).
Additional Information
No response

Disingenuous to say that fractionis is not breaking blocks, as it implies that fractionis does not break any block, which is not the case. Title amended.

I've added new words in 1.19.2 which can increase the power of fractionis


Question about USE_ROAD_PLANE

Does anybody achieve equal performance to that in readme.md with USE_ROAD_PLANE=False?
According to my reproducing experiment, the performance drops about 4~5 mAP with USE_ROAD_PLANE=False.

Did you end up running it a few more times? Is it possible to reproduce expected performance without road plane?


Add more verbose logging to TS Server web calls

This adds additional logging for the fs calls in TS Server web to help track down performance issues

Fixed merge conflict. The build failure looks unrelated (electron download error)


ls: if acl are used, show the + in the perms

Tested by tests/mkdir/p-acl.sh

fails because we are doing much more getxattr (22 instead of 3)

I think it is now good
I can see that the line is covered (setfacl is installed on the runners by default)
https://app.codecov.io/gh/uutils/coreutils/pull/5816/blob/src/uu/ls/src/ls.rs#L2625

and I realized that GNU isn't testing this. So, I added a test upstream:
https://github.com/coreutils/coreutils/commit/b09dc6306e7affaf002f67350b9787c550ddb5c2

I don't know whether you have seen it: some tests fail on Android because of the "+" in the output.

I missed it, thanks :)

Needs a rebase :|


test: fix test_close_accept flakiness on Centos5

It is not guaranteed which stream will read the data first.
This test is failing in Jenkins with this error:
`tcp_close_accept` failed: exit code 6
Output from process `tcp_close_accept`:
Assertion failed in test/test-tcp-close-accept.c on line 88: stream == (uv_stream_t*) &tcp_incoming[0]

LGTM.  CI: https://ci.nodejs.org/job/libuv-test-commit/15/

Failing on a different place now: in a call to uv_close :(. I'll try to add some debug logs to find out what's going on.

PR updated with a fix

CI: https://ci.nodejs.org/job/libuv-test-commit/16/

PR updated. I think it should work now (can't reproduce the error locally). Thanks!

CI: https://ci.nodejs.org/job/libuv-test-commit/17/

LGTM with a small comment.

Comment updated. Thanks

LGTM

Sorry for the delay! Landed in 51d660d, thanks Santi!


Gavin changes

Adding documentation changes.

Mind solving the merge conflict by pulling the most updated dev first?