Training people segmentation

When I run the launcher.sh in people_learning folder, showing that "module 'IoU3Criterion' not found".
There may be some files missing ?

Sorry, that was due to a wrong version of load_everything.lua, which tried to load unnecessary modules. I have now replaced it.

@bernard24 thx, another one should be replaced seems to be nn.MatchCriterion2 in the code.
Now could you provide the _GT_list.txt  _GT_class.txt, images etc to make the code runnable ?

Thanks @Liu0329. You can download datasets at e.g:
http://mscoco.org/dataset/#download and
http://host.robots.ox.ac.uk/pascal/VOC/voc2012/#devkit
I have added a data_utils directory in people_learning with matlab code for formatting ground truth and creating the txt files. Adapting it to other datasets should require minor changes.

Thanks @bernard24. Now I have both datasets. But I have trouble of getting the binary mask of coco images, though I know how to use its API. Another problem is in 'format_instance_labels.m'
list_file = 'ImageSets/Segmentation/train.txt';
...
object_im = imread(['SegmentationObject/', tline(1:end-1), '.png']);
class_im = imread(['SegmentationClass/', tline(1:end-1), '.png']);

Can you give the 'list_file' and the lists of 'SegmentationObject' imgs and 'SegmentationClass' imgs ?

The previous script was targeting Pascal VOC. I have added a new script that helps formatting the COCO dataset as Pascal VOC. Hope it helps.

Thanks @bernard24  Now I am using coco images to train from scratch (with pretrained fcn8_1 and fcn8_2). Based on your paper and code, only fcn8_1 layers should be fixed, other layers should be finetuned. But when I train the network, the memory is out. Since I turn on the learn_shall_we_stop.  I am using titan X. So how did you solve that ?

That is strange. I did not have any problems even when learning all components. I did not do anything special, other than checking that the GPU was not running anything else, since this may take ~11GB.
Have you tried running RIS_infer.ipynb? If so, do you have memory problems with that?

@bernard24  RIS_infer is OK. Now I reduce the time length.

@Liu0329
Did you  finetuned on the coco_fcn_8_1.model the author provided , or you trained from scratch?

@brisker finetuned


feat: Added extension for alternative zone_id's for SAN's

Description
This is a proposed change to keep backwards compatibility while providing functionality to allow subject alternative names to optionally include a different Route53 Zone ID (if not provided assume var.zone_id)
Motivation and Context
Resolves: https://github.com/terraform-aws-modules/terraform-aws-acm/issues/21
This is an alternative approach to https://github.com/terraform-aws-modules/terraform-aws-acm/pull/91 but to keep extra data objects outside of the module.
This implementation doesnt use data route53 calls and keeps provider & terraform version backwards compatibility while using explicit configuration for the SAN you wish to handle differently.
Breaking Changes
Should be fully backwards compatible.
The try() calls allow both old (strings) and alternative (map) representations of each SAN element.
How Has This Been Tested?

[X] I have tested and validated these changes using one or more of the provided examples/* projects

Tested with DNS example and created a DNS example for multiple Route53 zones which was also tested with the below combinations:

TF0.12.26 & Provider 2.53
TF1.0.10 & Provider 3.71

Hi @antonbabenko , don't wana pressure/rush anything. just commenting to keep the bot from closing :)

Would be great to get this across.
@ZeePal  it seems there are some conflicts I guess meanwhile you can try and solve them?
Please Mr Bot don't close this PR

@FabioAntunes srry for the delay, git conflict resolved. be kind for a little longer Mr Bot.

Mr bot, don't

Mr bot, stop trying to close this.

Can this be reopened?


[CORE] Use PriorityQueue to hold task resource

What changes were proposed in this pull request?
This pr uses PriorityQueue to replace java.util.HashMap[Long, java.util.List[TaskResource]]() to simplify the code. And changes priority from long to int, as it seems the int type is enough.
How was this patch tested?
PASS CI

@zhztheplayer  thank you for review, merging to main branch

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_2992_time.csv
log/native_master_09_03_2023_bfa0d89f2_time.csv
difference
percentage

q1
44.09
43.51
-0.580
98.68%

q2
24.71
24.52
-0.194
99.22%

q3
37.61
36.96
-0.645
98.28%

q4
41.72
41.79
0.070
100.17%

q5
69.18
69.61
0.426
100.62%

q6
6.65
6.64
-0.007
99.90%

q7
86.34
83.68
-2.663
96.92%

q8
79.36
80.40
1.038
101.31%

q9
115.64
117.81
2.164
101.87%

q10
48.90
45.77
-3.126
93.61%

q11
19.55
19.08
-0.470
97.59%

q12
26.07
25.00
-1.068
95.90%

q13
50.31
49.28
-1.028
97.96%

q14
15.18
19.60
4.421
129.13%

q15
28.57
30.68
2.112
107.39%

q16
16.05
16.03
-0.016
99.90%

q17
119.30
119.63
0.321
100.27%

q18
161.78
164.99
3.210
101.98%

q19
12.11
13.93
1.811
114.95%

q20
26.85
38.74
11.882
144.24%

q21
235.97
249.00
13.025
105.52%

q22
15.37
15.62
0.250
101.63%

total
1281.31
1312.25
30.934
102.41%


Occasional spike in API calls related to either host server downtime or network condition

There have been several occasions where I've busted the API limit for some reason.
I'm running on a lightweight VPS running out of Atlanta. They were recently hit with a fairly nasty and successful DDOS resulting in system downtime and slow network response. It resulted in hitting 14 and 11 calls per minute. Back in June I somehow managed to hit some crazy number of calls and had my key suspended for a day.
None of this is a big deal, but I don't know if you had seen similar issues on occasion. I don't know if the slow network response had resulted in several instances of the cron job running simultaneously. I don't know if it makes sense to add a check to the beginning of the script to check to see if the previous job had completed.

Sorry, I haven't seen this before.  I'm in the process of setting up my own
PWS that will post to WU so won't be using the script anymore.  Feel free
to fork and modify.  Best of luck.
On Tue, Aug 9, 2016 at 3:45 PM, Jeremiah Engelman<EMAIL_ADDRESS>wrote:

There have been several occasions where I've busted the API limit for some
reason.
I'm running on a lightweight VPS running out of Atlanta. They were
recently hit with a fairly nasty and successful DDOS resulting in system
downtime and slow network response. It resulted in hitting 14 and 11 calls
per minute. Back in June I somehow managed to hit some crazy number of
calls and had my key suspended for a day.
None of this is a big deal, but I don't know if you had seen similar
issues on occasion. I don't know if the slow network response had resulted
in several instances of the cron job running simultaneously. I don't know
if it makes sense to add a check to the beginning of the script to check to
see if the previous job had completed.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/johnny2678/wupws/issues/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/AH1sX_37fiIha7_WRObYGGnOp2aEDfiGks5qeNjfgaJpZM4JgctK
.

Thanks. Will do. Thanks for doing the heavy lifting and giving me a head start.


Vulnerability fix for GoV0

Task name: GoV0
Description: Latest vulnerability fix for task GoV0
Documentation changes required: (Y/N)
Added unit tests: (Y/N)
Attached related issue: (Y/N) https://dev.azure.com/mseng/PipelineTools/_componentGovernance/184/alert/79428?typeId=12858
Checklist:

[x] Task version was bumped - please check instruction how to do it
[x] Checked that applied changes work as expected
[x] node make.js build --task GoV0
[x] node make.js test --task GoV0

/azp run

/azp run

/azp run


No cgroup filesystem mounted on /sys/fs/cgroup

What happened:
We have several instances where the /sys/fs/cgroup mount mysteriously disappeared. This does not only happen on Garden Linux but with other linux distributions as well (with slightly older systemd and kernel).
What you expected to happen:
I don't expect this to happen.
How to reproduce it (as minimally and precisely as possible):
We have seen roughly 3 instances of this last week. We don't know how to reproduce it or what causes it.
Anything else we need to know:
Garden Linux 184.0 on AWS and GCP.
These are some symptoms that we saw so far:
$ systemd-cgls
Failed to get root control group path.
No cgroup filesystem mounted on /sys/fs/cgroup
Failed to list cgroup tree: No medium found

The nodes appear healthy but all hell breaks loose on the Kubernetes notes, see output
$ k -n kube-system get po calico-node-pc7l9 -o yaml

status:
  conditions:
  - lastProbeTime: null
    lastTransitionTime: "2021-06-21T06:11:23Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2021-06-21T06:10:37Z"
    message: 'containers with unready status: [calico-node]'
    reason: ContainersNotReady
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2021-06-21T06:10:37Z"
    message: 'containers with unready status: [calico-node]'
    reason: ContainersNotReady
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2021-06-21T06:10:37Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: docker://392b39106489f59c36ee7a71da89dffaf744a76dc09e7d7fa79ccc66b88618b4
    image: eu.gcr.io/sap-se-gcr-k8s-public/docker_io/calico/node@sha256:b0997b0a69657aa70da903c3f6c88adb6bd517a78c2adc3e7174a3f94f212375
    imageID: docker-pullable://eu.gcr.io/sap-se-gcr-k8s-public/docker_io/calico/node@sha256:b0997b0a69657aa70da903c3f6c88adb6bd517a78c2adc3e7174a3f94f212375
    lastState:
      terminated:
        containerID: docker://392b39106489f59c36ee7a71da89dffaf744a76dc09e7d7fa79ccc66b88618b4
        exitCode: 128
        finishedAt: "2021-06-21T06:11:29Z"
        message: 'OCI runtime create failed: container_linux.go:370: starting container
          process caused: process_linux.go:459: container init caused: rootfs_linux.go:117:
          jailing process inside rootfs caused: pivot_root invalid argument: unknown'
        reason: ContainerCannotRun
        startedAt: "2021-06-21T06:11:29Z"
    name: calico-node
    ready: false
    restartCount: 0
    started: false
    state:
      waiting:
        message: 'failed to start container "392b39106489f59c36ee7a71da89dffaf744a76dc09e7d7fa79ccc66b88618b4":
          Error response from daemon: OCI runtime create failed: container_linux.go:370:
          starting container process caused: process_linux.go:459: container init
          caused: rootfs_linux.go:117: jailing process inside rootfs caused: pivot_root
          invalid argument: unknown'
        reason: RunContainerError
  hostIP: <IP_ADDRESS>
  initContainerStatuses:
  - containerID: docker://5168fdf5831aa9b299a95c3fdc0a0bc91a2374b56fc4ffd956607c172f86b665
    image: eu.gcr.io/sap-se-gcr-k8s-public/docker_io/calico/cni@sha256:4ca9a473d78e4d06ca7871c7c926cc8a8dd9a181fd87aee89a791db831045f8f
    imageID: docker-pullable://eu.gcr.io/sap-se-gcr-k8s-public/docker_io/calico/cni@sha256:4ca9a473d78e4d06ca7871c7c926cc8a8dd9a181fd87aee89a791db831045f8f
    lastState: {}
    name: install-cni
    ready: true
    restartCount: 0
    state:
      terminated:
        containerID: docker://5168fdf5831aa9b299a95c3fdc0a0bc91a2374b56fc4ffd956607c172f86b665
        exitCode: 0
        finishedAt: "2021-06-21T06:10:49Z"
        reason: Completed
        startedAt: "2021-06-21T06:10:47Z"
  - containerID: docker://4d906f875fdefa08127c98d9676b2dc9eec432a66d07b9aece1d84c9f77ab1b3
    image: eu.gcr.io/sap-se-gcr-k8s-public/docker_io/calico/pod2daemon-flexvol@sha256:1160693a7dfbb8c4512faff9007cc879a65824dc0f05fbb2bc4acc1b4ba225a4
    imageID: docker-pullable://eu.gcr.io/sap-se-gcr-k8s-public/docker_io/calico/pod2daemon-flexvol@sha256:1160693a7dfbb8c4512faff9007cc879a65824dc0f05fbb2bc4acc1b4ba225a4
    lastState: {}
    name: flexvol-driver
    ready: true
    restartCount: 0
    state:
      terminated:
        containerID: docker://4d906f875fdefa08127c98d9676b2dc9eec432a66d07b9aece1d84c9f77ab1b3
        exitCode: 0
        finishedAt: "2021-06-21T06:11:10Z"
        reason: Completed
        startedAt: "2021-06-21T06:11:10Z"
  - containerID: docker://c9841568f73149a8ce90a99a1c66cbb658f05ac7579251a730f05294d44dd4d1
    image: sha256:dfd78094c8f5fcf8b698da3e9d1032cc7e76f2c28642802b48c221d676f32625
    imageID: docker-pullable://eu.gcr.io/sap-se-gcr-k8s-public/docker_io/calico/pod2daemon-flexvol@sha256:1160693a7dfbb8c4512faff9007cc879a65824dc0f05fbb2bc4acc1b4ba225a4
    lastState: {}
    name: install-cni-check
    ready: true
    restartCount: 0
    state:
      terminated:
        containerID: docker://c9841568f73149a8ce90a99a1c66cbb658f05ac7579251a730f05294d44dd4d1
        exitCode: 0
        finishedAt: "2021-06-21T06:11:16Z"
        reason: Completed
        startedAt: "2021-06-21T06:11:16Z"
  phase: Running
  podIP: <IP_ADDRESS>
  podIPs:
  - ip: <IP_ADDRESS>
  qosClass: Burstable
  startTime: "2021-06-21T06:10:37Z"

$ cat /etc/os-release
PRETTY_NAME="Garden Linux 184.0"
NAME="Debian GNU/Linux"
ID=debian
HOME_URL="https://gardenlinux.io/"
SUPPORT_URL="https://github.com/gardenlinux/gardenlinux"
BUG_REPORT_URL="https://github.com/gardenlinux/gardenlinux/issues"
GARDENLINUX_FEATURES=base,aws,_nopkg,_prod,_readonly,_slim,base,cloud,gardener,server
GARDENLINUX_VERSION=184.0
GARDENLINUX_COMMIT_ID=e5a1576deded4cb778b178ed279c38138e384f63
VERSION_CODENAME=bullseye

On a healthy node (this is expected):
# cat /etc/mtab | grep cgroup
tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,size=4096k,nr_inodes=1024,mode=755 0 0
cgroup2 /sys/fs/cgroup/unified cgroup2 rw,nosuid,nodev,noexec,relatime 0 0
cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd 0 0
cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0
cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0
cgroup /sys/fs/cgroup/rdma cgroup rw,nosuid,nodev,noexec,relatime,rdma 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
tmpfs /var/lib/docker/overlay2/fc4fae65544160cc1f9696e11d7d36adaac1ce6d1b51605454ff30f2591f5678/merged/sys/fs/cgroup tmpfs rw,nosuid,nodev,noexec,relatime,mode=755 0 0
cgroup /var/lib/docker/overlay2/fc4fae65544160cc1f9696e11d7d36adaac1ce6d1b51605454ff30f2591f5678/merged/sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd 0 0
cgroup /var/lib/docker/overlay2/fc4fae65544160cc1f9696e11d7d36adaac1ce6d1b51605454ff30f2591f5678/merged/sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
cgroup /var/lib/docker/overlay2/fc4fae65544160cc1f9696e11d7d36adaac1ce6d1b51605454ff30f2591f5678/merged/sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
cgroup /var/lib/docker/overlay2/fc4fae65544160cc1f9696e11d7d36adaac1ce6d1b51605454ff30f2591f5678/merged/sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0
cgroup /var/lib/docker/overlay2/fc4fae65544160cc1f9696e11d7d36adaac1ce6d1b51605454ff30f2591f5678/merged/sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
cgroup /var/lib/docker/overlay2/fc4fae65544160cc1f9696e11d7d36adaac1ce6d1b51605454ff30f2591f5678/merged/sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
cgroup /var/lib/docker/overlay2/fc4fae65544160cc1f9696e11d7d36adaac1ce6d1b51605454ff30f2591f5678/merged/sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cgroup /var/lib/docker/overlay2/fc4fae65544160cc1f9696e11d7d36adaac1ce6d1b51605454ff30f2591f5678/merged/sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0
cgroup /var/lib/docker/overlay2/fc4fae65544160cc1f9696e11d7d36adaac1ce6d1b51605454ff30f2591f5678/merged/sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0
cgroup /var/lib/docker/overlay2/fc4fae65544160cc1f9696e11d7d36adaac1ce6d1b51605454ff30f2591f5678/merged/sys/fs/cgroup/rdma cgroup rw,nosuid,nodev,noexec,relatime,rdma 0 0
cgroup /var/lib/docker/overlay2/fc4fae65544160cc1f9696e11d7d36adaac1ce6d1b51605454ff30f2591f5678/merged/sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0

On the problematic Node:
# cat /etc/mtab | grep cgroup
#

We have looked at some logs and saw the following:

The problem appeared shortly after the node was instantiated and started. We don't know whether it would happen after a reboot.
It is our understanding that systemd mounts cgroupfs. We however don't see that in the logs but assume this from code analysis.
There is no indication that the cgroupfs has been forcefully unmounted. In any case this would be difficult as it is quite "busy"
Initially the cgroupsfs is mounted, kubelet reports it and docker does not complain

2021-06-24T10:27:35.140171+00:00 localhost kubelet[4059]: I0624 10:27:35.139795    4059 fs.go:126] Filesystem partitions: map[/dev/sda3:{mountpoint:/boot major:8 minor:3 fsType:xfs blockSize:0} /dev/sda4:{mountpoint:/ major:8 minor:4 fsType:xfs blockSize:0} /dev/shm:{mountpoint:/dev/shm major:0 minor:23 fsType:tmpfs blockSize:0} /run:{mountpoint:/run major:0 minor:25 fsType:tmpfs blockSize:0} /sys/fs/cgroup:{mountpoint:/sys/fs/cgroup major:0 minor:26 fsType:tmpfs blockSize:0} /var/lib/docker/containers/4ecf6fc8f8b7bff1d44df7151f04a9f39de32b6d91d2921802ff6160c255a499/mounts/secrets:{mountpoint:/var/lib/docker/containers/4ecf6fc8f8b7bff1d44df7151f04a9f39de32b6d91d2921802ff6160c255a499/mounts/secrets major:0 minor:46 fsType:tmpfs blockSize:0} overlay_0-45:{mountpoint:/var/lib/docker/overlay2/a56c52bc81fd9af461a004cd7f997accbaefc3010714d9a50292528572a0e9d0/merged major:0 minor:45 fsType:overlay blockSize:0}]

Environment:

This is the result of the analysis done so far. We have not been able to pin down the root cause for this behavior but have some leads to work on.
So far we have seen this issue with various versions:

Linux kernel 5.3 and 5.4
Docker 19 and Docker 20
Kubernetes 18 and 19

We have seen the issue roughly 4 times in 2 weeks. We were able to secure a disk snapshot of a broken node but unfortunately some important logs had been overwritten so that this yielded very little additional information. While this problem renders a node unusable it is reported healthy by the kubelet so manual intervention is required to recover it. In addition we also think that there are a number of unreported cases.
There is absolutely no evidence in any log that a component forcefully unmounted the /sys/fs/cgroup file system.
This is what we have considered and investigated so far:
(1) Early restart of the kubelet
During node startup the kubelet is restarted while starting up for the first time. This is due to a bug between Gardener and the OS extensions (same issue for Garden Linux and SuSE) - systemd initialization is done twice.
While this is awkward, we see the possibility that this causes the issue as low (e.g. due to a race condition or incomplete cleanup). The double restart issue will be fixed.
(2) Kubelet uses cgroupfs as cgroup driver
This proposal states that in systemd systems (like Garden Linux and SuSE) cgroup management should be done by systemd and not cgroupfs as we do it in Gardener.
While this is awkward and may lead to subtle issues, we consider it unlikely to be the root cause of the issue.
(3) Deployed content
We see that the issue shows up during initial startup of the node while system containers are being started. We looked at the containers and the calico-node container is the only container where the content would be able to unmount the cgroup filesystem due to the following configuration in the calico-node container (and only in this one):
  volumes:
  - hostPath:
      path: /sys/fs/
      type: DirectoryOrCreate
    name: sysfs

and
    volumeMounts:
    - mountPath: /sys/fs/
      mountPropagation: Bidirectional
      name: sysfs

We validated that with the bidirectional mount the cgroup file system can be unmounted. This is not possible in a privileged container without that mount.
It is suspicious that in all cases that we were able to investigate the calico-node init containers completed successfully but the calico-node container did not. In one instance it started but failed after 2 seconds.
We have done some source code analysis and we did not find any evidence that some piece of code in calico is responsible for the unmount operation. Unfortunately we were not be able to collect logs that could either prove nor disprove this.
Gardener currently does not make use of the eBPF features of Calico which is the reason for the bidirectional mount. We have therefore made the recommendation to remove the mount and disable eBPF.
(4) Kubelet
The kubelet can trigger an unmount operation that would cause this issue. The Kubelet source code shows that unmount operations are logged with a log level that would show up in the system log. We did not find such log messages in our logs and therefore consider the kubelet to be an unlikely cause.
(5) Docker Container Runtime
The container runtime has ample code that unmounts file systems. No investigation has been done so far as we consider the container runtime as an unlikely cause for the issue.
(6) Linux Kernel Issue
Based on discussions with a Linux Kernel developer we consider it unlikely that this is a kernel issue. We have seen this issue with quite different kernels.
Next Steps
All mitigations will take time and we will not be able to learn immediately whether they will resolve the issue. This said, we did not find a likely root cause for the isusue so far.
1. Unmount Tracing
We will investigate means to trace unmount operations and to add some functionality during early startup that should show the source of such unmount operation.
2. Follow up on Detected issues
We will follow up on the following:

Restart of the kubelet during the early boot process
Change from croupfs to systemd for cgroup management
Remvoe the bidirectional mount from Calico

One thing one could do (as pointed out by @waldiTM) would be to use auditd to monitor/log mounts/unmounts, this might shed some light on this (but could also lead to non-negligible additional logging due to containers (bind-)mounting so many things these days), see https://www.thegeekdiary.com/how-to-monitor-the-mounting-umounting-of-mount-points-using-auditd-on-centos-rhel-67/

Removal of the bidirectional mount in gardener calico network extension: https://github.com/gardener/gardener-extension-networking-calico/pull/102

We have worked on the following:
If we are in a situation with a missing cgroup mount a systemctl daemon-reexec will remount the cgroup directory but not all the controllers. This does not work as a remedy. In one instance a reboot of a broken node was successful: the node came up and joined the cluster. We have drafted a script that will be added to he Garden Linux extension. This will

check once per second for a missing /var/fs/cgroup for the first ten minutes after startup
in case of a missing cgroup directory it will save forensic information and reboot

We ran this manually and could identify the container that triggered the unmount operation based on the forensic information.

We will wait for the result of gardener/gardener-extension-networking-calico#102 before we put the remedy described in the previous comment into action.

It appears that gardener/gardener-extension-networking-calico#102 has resolved the issue. We therefore consider this not to be a Garden Linux issue.


Add new user type (Documentation)

this is great e-commerce application from django, but many standard code from django framework has been gone (changing) for example when i use admin/, i got template error and i was curious bout this. Hence of that i search the problem and i was got the django framework has been changing. So how to give user new user type (user group) in this apps or is there documentation bout this allauth?

@GembeJr Thank you for your time spent on evaluating Saleor. I am not quite sure what you're asking about however. Saleor does not have Django Admin enabled by default. We provide a custom dashboard built specially with e-commerce in mind and if you wish to use Django's basic Admin panel you'll need to enable it separately (you'll find the exact steps in Django docs).


Reloading the page logouts the account

I am using the docker version, and when logged in to http://host:3000 (without reverse proxy) everything works but if I refresh the page, I have to re-login. Is this expected?

I'll take a look today, apologies for the delay, I didn't get a notification

Seems to be keeping me logged in fine @Entheologian, what does your docker compose file look like and what OS + Browser are you running?

Sorry for late reply!
I updated and tried again, but same issue. I tried with two desktop browsers (chromium and brave) and also on android brave browser, but all three do the same so far when I refresh the page (bring me back to the login page).
docker-compose.yml:
version: "3"
services:
    db:
        image: mongo
        restart: always
        environment:
            - MONGO_INITDB_ROOT_USERNAME=admin
            - MONGO_INITDB_ROOT_PASSWORD=secret_password
        volumes:
            - ./db:/data/db

    lynx:
        image: jackbailey/lynx
        restart: always
        ports:
            - 3000:3000
        depends_on:
            - db
        environment:
            - NODE_ENV=production
            - DB_USER=admin
            - DB_PASSWORD=secret_password
            - JWT_KEY="xxxxxxx--obfuscated--xxxxxx="
            - URL_LENGTH=8
            - URL_SET=standard
            - URL_ONLY_UNIQUE=false
            - HOME_REDIRECT=/dash/overview
            - FORCE_FRONTEND_REDIRECT=false
            - ENABLE_REGISTRATION=true # First registration will always be allowed
            - DOMAIN=http://docker
            - DEMO=false

            ## DO NOT CHANGE THESE:
            - DB_HOST=db
            - DB_PORT=27017

Is there anything in the browser's console after refreshing? I'm thinking it might be a cookie issue maybe

For more detail, this is what it shows when expanded:
GET http://docker:3000/api/auth/me 401 (Unauthorized) account-aeec9fd0.js:1
fetch	@	account-aeec9fd0.js:1
(anonymous)	@	preload-helper-e8887c78.js:1
getAccount	@	account-aeec9fd0.js:1
(anonymous)	@	preload-helper-e8887c78.js:1
(anonymous)	@	index-759e6933.js:1
(anonymous)	@	index-759e6933.js:1
(anonymous)	@	index-759e6933.js:1
(anonymous)	@	index-759e6933.js:1
Promise.then (async)
(anonymous)	@	index-759e6933.js:1
Ut	@	index-759e6933.js:1
(anonymous)	@	index-759e6933.js:1
Promise.then (async)
I	@	index-759e6933.js:1
x	@	index-759e6933.js:1
b	@	index-759e6933.js:1
install	@	index-759e6933.js:1
use	@	preload-helper-e8887c78.js:1
(anonymous)	@	index-759e6933.js:760

Is there anything in the console when you log in?

I tried it again just now and this is what I see on the console after login (refresh kicks me out, but nothing in console after):

[...]
lynx_1  | Listening on port 3000
lynx_1  | Backend started!

After login:

db_1    | {"t":{"$date":"2023-03-29T09:38:29.555+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"<IP_ADDRESS>:52006","uuid":"c5151c0d-b0e4-46b1-b2bc-3b125e7a6cca","connectionId":5,"connectionCount":5}}
db_1    | {"t":{"$date":"2023-03-29T09:38:29.558+00:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn5","msg":"client metadata","attr":{"remote":"<IP_ADDRESS>:52006","client":"conn5","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.12.1"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.10.0-21-amd64"},"platform":"Node.js v18.14.2, LE (unified)","version":"4.12.1|6.8.0"}}}

Okay nothing in the server's console is good at least.
Try turning on recording mode on the browser console so you can see what it logs incase it refreshes

When I load the browser console and hit refresh, I see this again but using another test host:
GET http://bete.home.lan:4000/api/auth/me 401 (Unauthorized)

After you type in your details and click login is there anything? I'm thinking there might be an issue with the cookie being set

After I login, no errors or anything... All looks good, until I hit refresh then I am back at the login prompt. =(

Managed to recreate this using my LAN ip, I'll let you know when I fix it

Cool, now I'm not alone anymore.. lol.

I did a docker pruning of everything to clean up, re-pulled and re-started but same issue.
As for cloning and building, I can clone it but I am not sure of the docker build steps to do that. If you want me to try this way instead (clone & build), then I'll gladly give that a try too, but just need the build steps, ie make build?

I did a docker pruning of everything to clean up, re-pulled and re-started but same issue.

I haven't added these changes to the dockerhub image yet
I did a docker pruning of everything to clean up, re-pulled and re-started but same issue.

then I'll gladly give that a try too, but just need the build steps, ie make build?

Sure, you should just need to:
Clone the repo:
git clone https://github.com/JackBailey/Lynx

Navigate into the directory
cd Lynx

Switch to the http-cookie branch
git switch http-cookie

Edit the docker-compose.yml to your liking but replace image: jackbailey/lynx with: build: .
Then start it:
docker compose up --force-recreate --build

This should work

I haven't added these changes to the dockerhub image yet
Ahhhh, that's why. =)

Here's my modified test docker-compose.yml file:
version: "3"
services:
    db:
        image: mongo
        restart: always
        environment:
            - MONGO_INITDB_ROOT_USERNAME=admin
            - MONGO_INITDB_ROOT_PASSWORD=pass123
        volumes:
            - ./db:/data/db
        networks:
            - lynx

    lynx:
        #image: jackbailey/lynx
        build: .
        restart: always
        ports:
            - 4000:3000
        depends_on:
            - db
        environment:
            - NODE_ENV=production
            - DB_USER=admin
            - DB_PASSWORD=pass123
            - JWT_KEY="SJfYoO7K4hgFrZK0K2TTEvF1pQ41+RXawE4auhXx5iw="
            - URL_LENGTH=8
            - URL_SET=standard
            - URL_ONLY_UNIQUE=false
            - HOME_REDIRECT=/dash/overview
            - FORCE_FRONTEND_REDIRECT=false
            - ENABLE_REGISTRATION=false # First registration will always be allowed
            - DOMAIN=http://bete.home.lan
            - DEMO=false

            ## DO NOT CHANGE THESE:
            - DB_HOST=db
            - DB_PORT=27017
        networks:
            - lynx

networks:
  lynx:
    external: true

When I fired it up, I see this in the logs:
lynx_1  | Couldn't connect to database!
lynx_1  | MongoServerError: Authentication failed.
lynx_1  |     at Connection.onMessage (/app/node_modules/mongodb/lib/cmap/connection.js:230:30)
lynx_1  |     at MessageStream.<anonymous> (/app/node_modules/mongodb/lib/cmap/connection.js:61:60)
lynx_1  |     at MessageStream.emit (node:events:513:28)
lynx_1  |     at processIncomingData (/app/node_modules/mongodb/lib/cmap/message_stream.js:125:16)
lynx_1  |     at MessageStream._write (/app/node_modules/mongodb/lib/cmap/message_stream.js:33:9)
lynx_1  |     at writeOrBuffer (node:internal/streams/writable:392:12)
lynx_1  |     at _write (node:internal/streams/writable:333:10)
lynx_1  |     at Writable.write (node:internal/streams/writable:337:10)
lynx_1  |     at Socket.ondata (node:internal/streams/readable:766:22)
lynx_1  |     at Socket.emit (node:events:513:28) {
lynx_1  |   ok: 0,
lynx_1  |   code: 18,
lynx_1  |   codeName: 'AuthenticationFailed',
lynx_1  |   connectionGeneration: 0,
lynx_1  |   [Symbol(errorLabels)]: Set(2) { 'HandshakeError', 'ResetPool' }
lynx_1  | }

You shouldn't need the custom lynx network I don't think.
If you do want to use it though for some reason set a container_name for the db to lynx-db and change lynx's DB_HOST to lynx-db

Also you left your JWT key in your config so change that if you're exposing this :)

I am still relatively new to docker but the reason I had to put the network there was a workaround because I was getting these alerts, unless there's a better way to manage a profusion of services in Docker?
ERROR: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network

I changed the file as you suggested, added a container_name and defined that as the DB host, but same issue. I then stopped another service (to free a network), removed my network entries and reverted back to the config without those network portions I added, but still same issue:
lynx_1  | Couldn't connect to database!
lynx_1  | MongoServerError: Authentication failed.
lynx_1  |     at Connection.onMessage (/app/node_modules/mongodb/lib/cmap/connection.js:230:30)
lynx_1  |     at MessageStream.<anonymous> (/app/node_modules/mongodb/lib/cmap/connection.js:61:60)
lynx_1  |     at MessageStream.emit (node:events:513:28)
lynx_1  |     at processIncomingData (/app/node_modules/mongodb/lib/cmap/message_stream.js:125:16)
lynx_1  |     at MessageStream._write (/app/node_modules/mongodb/lib/cmap/message_stream.js:33:9)
lynx_1  |     at writeOrBuffer (node:internal/streams/writable:392:12)
lynx_1  |     at _write (node:internal/streams/writable:333:10)
lynx_1  |     at Writable.write (node:internal/streams/writable:337:10)
lynx_1  |     at Socket.ondata (node:internal/streams/readable:766:22)
lynx_1  |     at Socket.emit (node:events:513:28) {
lynx_1  |   ok: 0,
lynx_1  |   code: 18,
lynx_1  |   codeName: 'AuthenticationFailed',
lynx_1  |   connectionGeneration: 0,
lynx_1  |   [Symbol(errorLabels)]: Set(2) { 'HandshakeError', 'ResetPool' }
lynx_1  | }

The JWT key is only temporary, for testing and will be changed along with the password.  =)

What does your config look like now?

version: "3"
services:
    db:
        image: mongo
          #container_name: lynx-db
        restart: always
        environment:
            - MONGO_INITDB_ROOT_USERNAME=admin
            - MONGO_INITDB_ROOT_PASSWORD=pass123
        volumes:
            - ./db:/data/db
              #        networks:
              #            - lynx

    lynx:
        #image: jackbailey/lynx
        build: .
        restart: always
        ports:
            - 4000:3000
        depends_on:
            - db
        environment:
            - NODE_ENV=production
            - DB_USER=admin
            - DB_PASSWORD=pass123
            - JWT_KEY="SJfYoO7K4hgFrZK0K2TTEvF1pQ41+RXawE4auhXx5iw="
            - URL_LENGTH=8
            - URL_SET=standard
            - URL_ONLY_UNIQUE=false
            - HOME_REDIRECT=/dash/overview
            - FORCE_FRONTEND_REDIRECT=false
            - ENABLE_REGISTRATION=false # First registration will always be allowed
            - DOMAIN=http://bete.home.lan
            - DEMO=false

            ## DO NOT CHANGE THESE:
            - DB_HOST=db
              #- DB_HOST=lynx-db
            - DB_PORT=27017
              #        networks:
              #            - lynx

              #networks:
              #  lynx:
              #    external: true

Try either:
Uncomment your host_db line, networks and your db's container_name line
Or
Uncomment your host_db line and set it to db

The DB_HOST is already set to db and if I un-comment the network lines, container_name and change db_host to lynx-db, I get the same results.

The host is Debian 11.6 and it's running 44 webapps at the moment and I have tried pruning the networks but they're all in use so it won't remove those, which is why I had to create new networks and add some services onto those networks.
I tried your docker-compse.yml and same issue:
lynx_1  | Couldn't connect to database!
lynx_1  | MongoServerError: Authentication failed.
lynx_1  |     at Connection.onMessage (/app/node_modules/mongodb/lib/cmap/connection.js:230:30)
lynx_1  |     at MessageStream.<anonymous> (/app/node_modules/mongodb/lib/cmap/connection.js:61:60)
lynx_1  |     at MessageStream.emit (node:events:513:28)
lynx_1  |     at processIncomingData (/app/node_modules/mongodb/lib/cmap/message_stream.js:125:16)
lynx_1  |     at MessageStream._write (/app/node_modules/mongodb/lib/cmap/message_stream.js:33:9)
lynx_1  |     at writeOrBuffer (node:internal/streams/writable:392:12)
lynx_1  |     at _write (node:internal/streams/writable:333:10)
lynx_1  |     at Writable.write (node:internal/streams/writable:337:10)
lynx_1  |     at Socket.ondata (node:internal/streams/readable:766:22)
lynx_1  |     at Socket.emit (node:events:513:28) {
lynx_1  |   ok: 0,
lynx_1  |   code: 18,
lynx_1  |   codeName: 'AuthenticationFailed',
lynx_1  |   connectionGeneration: 0,
lynx_1  |   [Symbol(errorLabels)]: Set(2) { 'HandshakeError', 'ResetPool' }
lynx_1  | }

What then tried was connecting to the DB, but it's not accepting this username/password:
root@12bcb39abd39:/# mongosh -u admin -p pass123
Current Mongosh Log ID: 6426a2713528f4cb944641dc
Connecting to:          mongodb://<credentials>@<IP_ADDRESS>:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+1.8.0
MongoServerError: Authentication failed.

I does accept without a username/password:
root@12bcb39abd39:/# mongosh
Current Mongosh Log ID: 6426a27ea246d51a66747c45
Connecting to:          mongodb://<IP_ADDRESS>:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+1.8.0
Using MongoDB:          6.0.5
Using Mongosh:          1.8.0

For mongosh info see: https://docs.mongodb.com/mongodb-shell/

test>

So then if I set the docker-compse.yml with blank values (as was the case after the build) and trying to start it, shows this:
lynx_1  | Couldn't connect to database!
lynx_1  | MongoParseError: URI contained empty userinfo section
lynx_1  |     at new ConnectionString (/app/node_modules/mongodb-connection-string-url/lib/index.js:111:27)
lynx_1  |     at parseOptions (/app/node_modules/mongodb/lib/connection_string.js:200:17)
lynx_1  |     at new MongoClient (/app/node_modules/mongodb/lib/mongo_client.js:45:63)
lynx_1  |     at /app/node_modules/mongoose/lib/connection.js:802:16
lynx_1  |     at new Promise (<anonymous>)
lynx_1  |     at Connection.openUri (/app/node_modules/mongoose/lib/connection.js:799:19)
lynx_1  |     at /app/node_modules/mongoose/lib/index.js:417:10
lynx_1  |     at /app/node_modules/mongoose/lib/helpers/promiseOrCallback.js:41:5
lynx_1  |     at new Promise (<anonymous>)
lynx_1  |     at promiseOrCallback (/app/node_modules/mongoose/lib/helpers/promiseOrCallback.js:40:10)

That's when I run with this config:
version: "3"
services:
    db:
        image: mongo
        restart: always
        environment:
            - MONGO_INITDB_ROOT_USERNAME=
            - MONGO_INITDB_ROOT_PASSWORD=
        volumes:
            - ./db:/data/db
    lynx:
        #image: jackbailey/lynx
        build: .
        restart: always
        ports:
            - 4000:3000
        depends_on:
            - db
        environment:
            - NODE_ENV=production
            - DB_USER=
            - DB_PASSWORD=
            - JWT_KEY="SJfYoO7K4hgFrZK0K2TTEvF1pQ41+RXawE4auhXx5iw="
            - URL_LENGTH=8
            - URL_SET=standard
            - URL_ONLY_UNIQUE=false
            - HOME_REDIRECT=/dash/overview
            - FORCE_FRONTEND_REDIRECT=false
            - ENABLE_REGISTRATION=false # First registration will always be allowed
            - DOMAIN=http://bete.home.lan
            - DEMO=false

            ## DO NOT CHANGE THESE:
            - DB_HOST=db
            - DB_PORT=27017

Then I tried with just username admin (both entries with blank passwords) and that didn't work either:
Attaching to lynx_db_1, lynx_lynx_1
db_1    |
db_1    | error: missing 'MONGO_INITDB_ROOT_USERNAME' or 'MONGO_INITDB_ROOT_PASSWORD'
db_1    |        both must be specified for a user to be created
db_1    |
lynx_db_1 exited with code 1
db_1    |
db_1    | error: missing 'MONGO_INITDB_ROOT_USERNAME' or 'MONGO_INITDB_ROOT_PASSWORD'
db_1    |        both must be specified for a user to be created
db_1    |
db_1    |
db_1    | error: missing 'MONGO_INITDB_ROOT_USERNAME' or 'MONGO_INITDB_ROOT_PASSWORD'
db_1    |        both must be specified for a user to be created
db_1    |
lynx_db_1 exited with code 1

Try stopping the database, deleting the ./db folder and recreate it with a username and password specified for both db and lynx. Set the username and password to something good as I think mongo is a pain with updating credentials through docker sometimes

Ah ha! Ok, so I deleted the db directory, set the passwords, re-started and it's able to authenticate to the DB now... but when I create the first user, then login as that user it says (at the login page, below the login button) "Logged in!" but now it stays at the login page where as before it would log me in, then log me out on refresh.
If I refresh the page (after entering the username/password) and it says logged in (still at the login page), refresh and its' asking me again to login.

Oh and the browser console shows this:

GET http://bete.home.lan:4000/api/auth/me 400 (Bad Request) account-004fb512.js:1

Hm right okay, that's progress at least.
I'll take a look

I did the rebuild, added USE_HTTPS=false to lynx's environment but so far, same issue.

Did you re-pull the repo?

This time I removed it completely, re-started all the steps and... it works. This is awesome!
Thanks so much for your time and for this great project.

@Entheologian I've now merged it so you should be good to set it back to image: jackbailey/lynx in a few minutes

Fantabulous!


ReuseTab of the same type

Bug Report or Feature Request (mark with an x)

[ ] Bug report -> please search issues before submitting
[ x ] Feature request
[ ] Documentation issue or request

Reproduction link

Steps to reproduce

What is expected?

How to add several ReuseTab of the same type? Example I have a client list and I would like to create several Tab for each client that I am touching.

What is actually happening?

Currently update ReuseTab (Customer 'X')

Environment

ng-alain version: 0.6.7
Angular version: 5.0.0
Browser:
- [ X ] Chrome (desktop)
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX

pls upgrade @delon/* libs to laster version.

Thank you! I'm ready 0.8.0, but I still can not create multiple tabs (customer/: id), customer/1, customer/2, customer/3 ...

you can add reuse property in router config, abort more information go to ng-alain.com

Wow so cool, u r amazing 👍 🙂


Test change

Making sure I'm got appropriate permissions, etc to post changes to my doc that was just moved over from the main azure repo

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/vdc/networking-virtual-datacenter.md
:white_check_mark:Succeeded
View

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

yep! - anyone can open a PR


customizable Label Sizes (e.g. for Box2D labels)

Hi,
Thanks a lot for the super useful visualizer. I might be stupid but could not find how to increase the size of the labels or a way to add a Text into Boxes2D. Is it possible?

Thanks for filing the issue! Customizing the size of the label isn't possible yet sadly. It for sure though is a kind of customization we'd like to have both on a per space view and even per logged label basis
(Just for the unlikely case that the issue you're facing is overall too small text size: you can zoom the entire application using ctrl/cmd + '+')

Thank you for your answer. Ok,  is it possible to add text to an image?

sadly not something we support yet either. The easiest workaround I can think of is to log a single point with a label and set the point's radius to 0. That way you get a label you can put anywhere you want

Made a few more notes now on this in

#4266

Related to #4451, it would be nice if label size could also be set in scene units and UI points similar to points and lines, such that the label takes negligible space when zoomed out, but becomes readable when zoomed in.


Fix map change sync status

Codecov Report

Merging #176 (59014f5) into master (d51af8c) will increase coverage by 0.00%.
The diff coverage is 4.34%.

@@           Coverage Diff           @@
##           master     #176   +/-   ##
=======================================
  Coverage   25.01%   25.01%
=======================================
  Files          66       66
  Lines       15036    15033    -3
  Branches      249      249
=======================================
  Hits         3761     3761
+ Misses      11026    11023    -3
  Partials      249      249

Impacted Files
Coverage Δ

src/clj/skylobby/server.clj
5.33% <0.00%> (ø)

src/clj/spring_lobby/client/handler.clj
38.00% <0.00%> (ø)

src/clj/spring_lobby.clj
11.03% <5.88%> (+<0.01%)
:arrow_up:

Continue to review full report at Codecov.

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


CSS State Selector

[x] Switch to using CSS state selector from attribute selector, except with multiple elements with IDs
[x] Update demo to match with new changes
[x] Update docs
[x] Bump version

Wasn't expecting comments, but very much appreciate them @keithamus and @mxdvl!


Test the install rule

While working on #345 I risk accidentally breaking the install rule on Linux/Mac OS X.
Our CI instances seem to be fast enough to afford running the install rule after the test build, and then testing the installed binary.

Update: currently I test this daily in default mode on my http://hadrian-status-dev.zhenzhang.me. I don't think that add CI support for this is easy, considering recent timeouts, but that is certainly a goal.

@izgzhen Thanks! Can we set it up, so it sends a notification if the previously successful built got broken?

Can we set it up, so it sends a notification if the previously successful built got broken?

I think this is possible. However, currently I maintained a staging branch on my GitHub namespace, and this build bot will only pull from that branch. The motivation is to only pull in new changes that at least won't break simpler CIs we are currently using.
The build is run on a daily basis, since it can't afford a full build per commit now.
Despite all these, it is a good idea to let it send some notification if there is any bad thing that happened.

Yes, I currently get pretty quick feedback if my commit breaks Linux or OS X build, but it's difficult to make sure I haven't broken installation on these platforms. I could of course keep looking this up on the Hadrian Wall website, but I keep forgetting :)

We no longer have the install rule, so closing.


Remove Dropwizard's Jackson dependency on Logback

In the move to allow users plug in custom logging implementations except Logback, we should make all Logback dependencies in Dropwizard optional. Currently, our Jackson mapper is dependent on Logback for
deserializing logging Level in the configuration. It's forces every Dropwizard app to have a runtime dependency on Logback. To avoid this we could remove Level deserializers and move converting a string text level to Logback's level to DefaultLoggingFactory. Since DefaultLoggingFactory can be replaced by ÈxternalLoggingFactory this allows users to run Dropwizard app without a Logback dependency.

Ah, I forgot about threshold in AbstractAppenderFactory, but we can't change its type because it's protected and part of the public API.

Coverage decreased (-0.001%) to 85.195% when pulling 26e2133ba505b7640eaaeab10d6d6cd205eaee6b on remove_logback_from_jackson into b15b6eeca32678e5685d5b6e453c17647950cc6f on master.

Coverage increased (+0.03%) to 85.222% when pulling 26e2133ba505b7640eaaeab10d6d6cd205eaee6b on remove_logback_from_jackson into b15b6eeca32678e5685d5b6e453c17647950cc6f on master.

@arteam this good to merge?

I guess this should be good to merge. The issue was reported by @jsauvain in #1900 and the change in the pull requests should fix it. My biggest concert is that we have to change the public API which could break third-party appenders. I had a look at them and most of them use threshold variable directly or don't use at all.
I am leaning to merge this MR and cut a release candidate. In case this change breaks something important, we can revert it.

This change is missing in the 1.2.x line. Hit this issue when trying to use this feature on 1.2.0 bits published to maven central.

@swagle Nope, the commit (c28ca30d400bf50a9b93209a7887a20b68a4c209) is also part of Dropwizard 1.2.0.

Hi @joschi, you are right the patch is present, this breaks at io.dropwizard.Application#bootstrapLogLevel

For those who experience this issue, you should override bootstrapLogging() and then bootstrapLogLevel(Level) won't be invoked.
public class ExampleApplication extends Application<ExampleConfiguration> {

    @Override
    protected void bootstrapLogging() {
    }

    @Override
    public void run(ExampleConfiguration exampleConfiguration, Environment environment) throws Exception {
        LoggerFactory.getLogger(ExampleApplication.class).info("Test: {}", exampleConfiguration.getTest());
    }

    public static void main(String[] args) throws Exception {
        new ExampleApplication().run(args);
    }
}

I must be missing something because I just pulled down 1.2.0 from Maven Central today in eager anticipation of this PR, and the source code for Application.java has import ch.qos.logback.classic.Level; and APIs that reference Level thus triggering indirect class not found compilation errors when I try to use Log4j.
The SHA1 of the sources.jar I pulled down for core is 2c35bff8aeb55631cfd21cbe9c021c4d60b9e4df

Yes, the import is still there, but the JVM lazily initializes classes and methods lazily, so if you override the bootstrapLogging method in the Application class (which invokes the bootstrapLogLevel method=, your application should successfully load.
I created a simple demo for a Dropwizard app with log4j 2: https://github.com/arteam/dropwizard-nologback

So, to be more precise, you are correct in that I can get a clean compile with javac (specifically mvn clean compile). However, my IDE (specifically Eclipse) is fooled (or too smart for its own good, depending on how you look at it). See:

That prevents me from running my service through the IDE.
Thank you for the demo app! A skeleton app is worth a thousand words.

I found that there are further magic incantations needed which are described at https://www.dropwizard.io/1.3.5/docs/manual/core.html#logging.


Verification functions publicly exposed

Description

The core verification functions are private right now, so we should expose these as a library.

Made obsolete by code cleanup


MBL-1635: Mock data to real data, and cleanup

📲 What
Small, mostly cosmetic cleanup for PPO

Fix broken backing details page not loading
Fix total alerts (0) showing when refreshing PPO screen
Disable confirm address button when users address is null

All other cleanup is in separate tickets
🤔 Why
Cleanup cleanup
📋 QA
This will be tricky to test, and will require mock data. You can modify the ppo card factory and hardcode these cards into the graphql transformer function:
Testing backing details page:

Add a mock card to the ppo list created in the graphql transformer function
In the field for backing details url, you can use your own or this url "/projects/grimacecards/monochrome-muse-playing-cards/backing/details"
Tapping on project title area of card should open a webview and load the backing details page
Tapping "edit" on a confirm address or survey card should open a webview and load the backing details page

Testing total alerts heading

When you have no alerts, visit the PPO page and swipe to refresh. You should not see the total alerts heading appear

Testing edit address button disabled

Create a confirm address card with the PPOCardFactory, but leave the address field null. Add this to the ppo screen list in the graphql transformer function
Go to the PPO screen, it should not display an address, and the edit button should be disabled and not clickable.

Story 📖
MBL-1635: Mock data to real data, and cleanup](https://kickstarter.atlassian.net/browse/MBL-1635)

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 67.58%. Comparing base (7d505bf) to head (861d1bf).

Files
Patch %
Lines

...arter/services/transformers/GraphQLTransformers.kt
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2099      +/-   ##
============================================
- Coverage     67.58%   67.58%   -0.01%
  Complexity     2128     2128
============================================
  Files           363      363
  Lines         22129    22130       +1
  Branches       3108     3109       +1
============================================
  Hits          14956    14956
- Misses         5531     5532       +1
  Partials       1642     1642

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


Small changes latin

Move Paragraph and Section symbols to Latin_Plus, to preserve kernel as the most minimalist set possible.
@vv-monsalve I think this was your initial proposal, do you still agree?

friendly ping @vv-monsalve
I have hesitation in putting section and paragraph into Latin Core instead of Latin Plus since these are used in legal documents.
But I am definitely in favour of removing them from Kernel.

friendly ping @vv-monsalve

Hi, thanks for the ping, I didn't receive the first notification.
I don't recall proposing to move Paragraph but Section. Although from your comment about legal documents, perhaps it would be needed to leave them both in the Latin Core.
In that case, it would be nice to include them in some learn section in the GF-guide about their design as they tend to be of low quality. We've talked about this for a few characters now. Maybe it could be at least a list with links to keep it simple.

But I am definitely in favour of removing them from Kernel.

Agree


paginate with filter not working

hy infernobass7, I have read from https://laracasts.com/discuss/channels/vue/vuejs-how-to-make-pagination-with-limiter-and-range and you say "My component has the root object handle the filtering of the items."  but if I'm implementation your code it's not working ..
please check this out https://jsfiddle.net/badvz/xakvbzur/6/
thanks

Hello @badrusalsyihab,
Thank you for your comments. There was a couple of things that I noticed. The count was set to 1, which meant one per page. Also, limitBy and filterBy are order specific. So limiting the filtering means it will only filter the limited snippet. Also, you may wish to set name that you are binding to to null or an empty string in data.
Here is my edits: https://jsfiddle.net/xakvbzur/8/


setUp and tearDown can't be async

The AsyncTestCase assumes that only methods named test_* can be async, which isn't necessarily a valid assumption. This restriction should be removed, since you already test if the given function is a coroutine.

Async setUp/tearDown approach would make a bit complicated - cop/mock more with the unittest's internals. In the Python 3.8 and newer consider to use the unittest.IsolatedAsyncioTestCase. Builtin unittest module is now asyncio-featured and it's happened to have requested feature..


[storage-blob] renames LeaseClient to BlobLeaseClient

Resolves #8110

Can one of the admins verify this patch?


Fix databoost

Fixed an issue that databoost is not passed.

/gcbrun

I am going to merge the change. Please let me know if you have comments.


Feature idea - help customers get read access to their relevant grafana dashboards

@scottyhq asked in a support ticket about providing access to a grafana:

Is it easy to give hub admins access to grafana https://grafana.uwhackweeks.2i2c.cloud/login ?

Thinking about this in the most general case where we can have different ways for users to authenticate themselves, I see some options.
For customers with dedicated clusters:

We configure one additional user besides the admin user and the user created to update the grafana dashboards, and let that user have just read access to the instance. Then, we share those credentials with the community representatives to handle as they please.
We let Grafana work against the production JupyterHub as an identity provider

For customers with shared clusters:
0. First of all, I'm really not sure here because we have a shared grafana instance accessing several different data sources and providing a bit more dashboards etc.

I think maybe its reasonable to configure one additional user per hub, and a set of permissions for that user to have readonly access to the relevant prometheus data source.
I don't think its reasonable to setup auth against all of the jupyterhub's and even if we do, the permissions granted should depend on what hub you authed against etc.

Investigative work needed

Can we via REST API and/or configuration add a user to Grafana? I think yes, because I think @GeorgianaElena has done that already.
Can we via REST API and/or configuration make a user be granted permissions to a specific data source, so that a dropdown list will only include the datasources that the user has permissions to? Below is an example of a dropdownlist.

I think there are a few related, possibly duplicate?, issues:

https://github.com/2i2c-org/infrastructure/issues/1850
https://github.com/2i2c-org/infrastructure/issues/1827
https://github.com/2i2c-org/infrastructure/issues/1570

Yes, I think this conversation is already captured in other issues, so let's close this one. Feel free to reopen if you disagree.


My project need your help

Hi wongfei
My name is Anski, I am running a mobile game on ue4, and also need to apply mediapipe on it.
May I have your direct contact, so I can talk to you directly?
I really need your help, and consult.
many thanks!!!!

hello, for now mobile is not supported, don't have compatible hardware and can't afford man-hours to make it alive, sorry


Launching wt.exe with administrator rights fails

Unable to launch wt.exe with administrator rights. WindowsTerminal.exe works instead.

Environment
Windows build number: version 1909 build SO 18363.1440
Windows Terminal version (if applicable): 1.6.10571.0

Steps to reproduce
*Open Windows Terminal's folder C:\Program  Files\WindowsApps\Microsoft.WindowsTerminal_1.6.10571.0_x64__8wekyb3d8bbwe and try launching wt.exe with administrator rights
*This can also be done by searching wt in Cortana

Expected behavior
Launch terminal with administration rights

Actual behavior
Throws the error Windows cannot access the specified device, path, or file

You shouldn't be touching that version of wt.exe. That's the place the store laid the files down on disk and has all sorts of special permissions. Does launching %userprofile%\AppData\Local\Microsoft\WindowsApps\wt.exe as admin work?

Does launching %userprofile%\AppData\Local\Microsoft\WindowsApps\wt.exe as admin work?

@zadjii-msft No, it throws the same error.

I have just updated Windows: not sure if it is related to this, but now it seems working.


Algorithms do not perform well for large model

Hi @Zielon thanks for you share this amazing code for mesh simplification. For my test it works well on small model, but for large model the result seem not very well. Can you help me see where is the problem?
cmd line: ./main --in ~/data/qslim/test.ply --out ~/data/qslim/simply.ply -f -a 7.5 -c 2 -t 4 -r 8
test_data
[WARN] Forced to overwrite existing mesh '/home/ubuntu/data/qslim/simply.ply'.
[INFO] INPUT MESH
    Faces: 1629384
    Vertices: 1979108
[START] Simplification has begun...
[INFO] ---> Iteration = 1        | step =         24.742% | original = 75.258% | error level = 0.0000327680 | time = 162.63s
[INFO] ---> Iteration = 2        | step =         18.321% | original = 61.470% | error level = 0.0000327680 | time = 113.76s
[INFO] ---> Iteration = 3        | step =          9.769% | original = 55.465% | error level = 0.0001746928 | time = 91.54s
[INFO] ---> Iteration = 4        | step =          3.523% | original = 53.511% | error level = 0.0006857004 | time = 82.57s
[INFO] ---> Iteration = 5        | step =          1.567% | original = 52.672% | error level = 0.0021788900 | time = 79.64s
[INFO] ---> Iteration = 6        | step =          1.132% | original = 52.076% | error level = 0.0059316416 | time = 77.94s
[INFO] ---> Iteration = 7        | step =          1.254% | original = 51.423% | error level = 0.0143489070 | time = 76.57s
[INFO] ---> Iteration = 8        | step =          1.571% | original = 50.616% | error level = 0.0316227766 | time = 76.50s
[INFO] ---> Iteration = 9        | step =          1.992% | original = 49.607% | error level = 0.0646316344 | time = 74.25s
[INFO] ---> Iteration = 10       | step =          2.351% | original = 48.441% | error level = 0.1241250240 | time = 70.37s
[INFO] ---> Iteration = 11       | step =          2.706% | original = 47.130% | error level = 0.2262429955 | time = 67.37s
[INFO] ---> Iteration = 12       | step =          2.935% | original = 45.747% | error level = 0.3944212159 | time = 62.12s
[INFO] ---> Iteration = 13       | step =          3.145% | original = 44.308% | error level = 0.6617355139 | time = 57.60s
[INFO] ---> Iteration = 14       | step =          3.322% | original = 42.837% | error level = 1.0737418240 | time = 53.19s
[INFO] ---> Iteration = 15       | step =          3.469% | original = 41.351% | error level = 1.6918696911 | time = 49.12s
[INFO] ---> Iteration = 16       | step =          3.527% | original = 39.892% | error level = 2.5974296172 | time = 44.51s
[INFO] ---> Iteration = 17       | step =          3.504% | original = 38.494% | error level = 3.8962965788 | time = 40.46s
[INFO] ---> Iteration = 18       | step =          3.421% | original = 37.178% | error level = 5.7243340224 | time = 36.61s
[INFO] ---> Iteration = 19       | step =          3.197% | original = 35.989% | error level = 8.2536245725 | time = 32.49s
[INFO] ---> Iteration = 20       | step =          2.895% | original = 34.947% | error level = 11.6995755485 | time = 28.99s
[END] Simplification of vertices = 65.05%
[INFO] OUTPUT MESH
    Faces: 251707
    Vertices: 691645
[INFO] Mesh has been saved in [/home/ubuntu/data/qslim/simply.ply]

input_mesh

output_mesh

Hello, I would experiment with hyper-parameters, for instance -a and others as well, including normals, color etc. The mesh which you shown seems to have irregular resolution and some degenerated faces, that could also influence the performance.

Hello @Zielon thanks for you reply. For my view, Looks like there is a problem with the triangulation after simplification. Because  this model after simplification, I found that the vertices were almost right, but the faces were not quite right. -。-

If you have time feel free to create a PR to fix it. Thank you!


Initial Infrastructure for Staging environment

Staging environment is not complete but this is the initial infrastructure. Main parts:

Common: Resources common to both Staging and Production environments (e.g. Bastion server, KeyPair). The security_group in here will likely change - "staging" sg currently mimics the VPC default.
Staging: Staging specific resources. Currently Fargate ECS service for iiif-builder app and an RDS instance alongside ELB.
Modules: These will be reusable across envs. Not generally a fan of 'modules within modules' but the ECS module calls out to the terraform-aws-ecs-service module.

You should be able to pull the subnets/vpc_id out of the shared state now, but that's for later.


Question regarding packages as sub-generators

The documentation for v1 has a section about sub-generators, explaining their usage, more specifically, in two different manners, being them, as a path to the generator, or a package:
module.exports = {
  subGenerators: [
    {
      name: 'foo',
      // A path to the generator, relative to the saofile
      generator: './generators/foo'
    },
    {
      name: 'bar',
      // Or use a package, like `sao-bar` here
      // It's also resolved relative to the saofile
      generator: 'sao-bar'
    }
  ]
}

From where exactly the package is retrieved? i'm not sure if it's from npm, or from the filesystem, also, does it works with monorepos?

it follows the same rule of the cli pattern, sao ./foo will fetch the generator from the local folder ./foo, sao nm will instead use sao-npm the npm package.

but in this case the npm package is resolved from the file system, relative to the saofile instead of downloading from npm.

Got it, thank you for the quick response and the great work you're doing with SAO, just discovered the project and it's already my favorite option for project scaffolding :)


chore(main): release release-please-action 1.2.0

:robot: I have created a release beep boop
1.2.0 (2023-01-16)
Features

Initial eslint-config (1d65102)
update eslint-config-vue (22c55c5)
完善 typescript eslint配置 (4fa12bc)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/fearclear/eslint-config/releases/tag/release-please-action-v1.2.0 :sunflower:


Problem about  the environment

Good work!
when I run    conda env create -f environment.yml
it has some mistakes, I think maybe you can update it.

hi, @Stitchsong
I have updated env.yml file. in this new file, i try to install all package from conda.
i can still use the old yml file on my end, though it has many things from pip.


chore: Updating placeholder of input field on invite modal used on edit & deployed app

Description

Updating placeholder of input field on invite modal used on edit & deployed app

Fixes #
Type of change

Updating placeholder

How Has This Been Tested?

Works as expected now.

Manual

Checklist:
Dev activity

[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
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/ok-to-test sha=4f17e16

/ok-to-test sha=4f17e16

/ok-to-test sha=f5e29da


Is there any version without wearable needed?

Hi there!
First of all, nice app!
I would like to ask you if you've implemented or is possible to implement another version of this app so no wearable is needed by the user. What I would like to do is to use my mobile phone as A security key by itself instead of having a SmartWatch paired with it and having the SmartWatch as Security Key.
Is it possible ?

I am actually working on a version of WearAuthn for phones.
Unfortunately, many phone vendors don't implement the required Bluetooth HID API. If your phone is a OnePlus, Nokia, Motorola or Xiaomi, it is likely that it won't be supported. Google Pixels should eventually be supported though.

@FabianHenneke  would it be possible then to use the NFC protocol instead of the Bluetooth HID API ?

NFC is much simpler and should work on every phone with Google Pay support.
May I ask what your use case for an NFC security key on a phone looks like? Are you using two phones and would like to use one as the security key for the other? Without Bluetooth, this could really be the only thing a phone app would be useful for.

Well, what I was trying to do was the following case : I wanted to use my smartphone as a physical FIDO2 security Key.
For example, some online services such as Microsoft.com, github.com etc. allow to use FIDO2 Security Keys to log-in and authenticate in your account. So after buying an NFC Reader and connecting it on my pc, I wanted instead of buying a FIDO2 NFC Security key, turn and use my Smartphone as FIDO2 Security Key.

I don't know whether Windows 10 supports FIDO security keys connected via NFC readers, but other desktop platforms mostly don't. Since an NFC reader is not that cheap and USB FIDO2 security keys can be purchased for less than 25$, this approach may even be more costly.
I cannot promise that I will finish a phone version in the near future, but will keep you updated on any progress you make.

I think some laptops hebbe nfc built in. That's also what some key manufacturers are showing when you have to tap the NFC key to the laptop. Haven't seen it yet tho.

Hi @FabianHenneke !
At first, thank you for making this project open-source, it is a great inspiration.
I was reading your discussion with @kyriakopoulosd here and also here: https://github.com/Trojan295/android-webauthn-token/issues/4. So I saw your comment about the restricted access to  the FIDO UUIDs and also the limited Bluetooth HID API support. So after all, I would like to ask, if it is possible to create an Android app, which one would be recognized as Bluetooth security key by Chrome browser running on my desktop (Mac OS X/Windows).

I was reading your discussion with @kyriakopoulosd here and also here: Trojan295/android-webauthn-token#4. So I saw your comment about the restricted access to the FIDO UUIDs and also the limited Bluetooth HID API support. So after all, I would like to ask, if it is possible to create an Android app, which one would be recognized as Bluetooth security key by Chrome browser running on my desktop (Mac OS X/Windows).

@mrGabodroid What I know can be done:

Emulating a USB security key via Bluetooth HID is possible on Wear OS (that's WearAuthn) and phones with Bluetooth HID support (like the Pixels).
Implementing a proper BLE security key requires the BLUETOOTH_PRIVILEGED permission on recent devices and thus requires either rooting your phone or finding an old one that does not yet have this restriction.

Unfortunately, it seems that an actual BLE security key from a third party cannot be realized on Android currently.

I have learned of an app that offers WearAuthn's functionality for phones: https://www.wiokey.de/en/


New release for bower

Bower seems to use github releases, so last version of slip is referenced by commit #37916eab5acc2e663c5d9ce9cce5486709feab91. But there are new commits with many fixes and improvements after this commit.
Can you please release new version of slip. Let's say 1.3.0? Thanks.

OK, I've created a tag


Align gpfdist sink with GPDB5

GPDB 5 doesn't support external error tables anymore: https://gpdb.docs.pivotal.io/500/relnotes/GPDB_500_README.html#topic_nyg_nv4_l1b
To be compliant with GPDB5 the LOG ERROS INTO error_table clause has to be replaced by just LOG ERRORS.
Note: this change will be also backward compatible with GPDB4

Fixed extra space problem with integration tests.
Squashed/merged per https://github.com/spring-cloud-stream-app-starters/gpfdist/commit/7cf5d58aa97b1684371642325b5e38d0c7e1f8d4.


Dockerize services

This is built off of PR #22, with a variety of changes and additions. After waiting for feedback from ylambda regarding pulling my changes into their PR for several months, I decided to open a PR of my own in hopes our changes will be merged.
All services required to run a server, outside of DNS and a relay, are covered

Switch to Alpine based images

They're usually smaller and rarely any harder to work with

Split dependency fetching and building to separate images

While probably not very important for REON, it can help reduce the number of layers and result in smaller images
Also has the benefit of allowing more things to be parallelized if using docker buildx

Allow specifying location of config.json in node programs via a new -c argument
Partial support for setting config options via environment variables

Only works with the mail and mysql containers right now, but it's a start
An example.env was added with the mysql options
See mail/entrypoint.sh for a full set of options

Adds image to handle processing of cron jobs

Hi, just a random passersby who built a couple Pico Mobile Adapters. I'd been trying to figure out how to get REON going. I had it working well enough to get to an error while Pokemon Crystal tries to get the room data for the Battle Tower. Tried your setup, same thing; sorry if this isn't the best place for this, but I'm curious if anyone could enlighten me as to how exactly the Battle Tower stuff fits together. I haven't had time to dive in and read much of the source myself yet. It seems like the index.js node script in the battle-tower folder inserts trainer data into the SQL database, rather than generating the *.cgb files the game is looking for. I'm assuming the download PHP script is responsible for grabbing the data from the database and returning .cgbs to the client(?) or something like that, but that's probably wrong (like I said, haven't delved into source yet).
More relevant to this PR, just in case this isn't known, I'm unable to get the add_user.php functionality to work on a fresh setup:
vpots@loda64:~/proj/reon-docker/reon$ sudo docker compose exec -w /var/www/reon/web/scripts web php add_user.php

Warning: Trying to access array offset on null in /var/www/reon/web/classes/DBUtil.php on line 11

Warning: Trying to access array offset on null in /var/www/reon/web/classes/DBUtil.php on line 11

Warning: Trying to access array offset on null in /var/www/reon/web/classes/DBUtil.php on line 11

Warning: Trying to access array offset on null in /var/www/reon/web/classes/DBUtil.php on line 11

Fatal error: Uncaught mysqli_sql_exception: No such file or directory in /var/www/reon/web/classes/DBUtil.php:11
Stack trace:
#0 /var/www/reon/web/classes/DBUtil.php(11): mysqli->__construct(NULL, NULL, Object(SensitiveParameterValue), NULL)
#1 /var/www/reon/web/classes/DBUtil.php(16): DBUtil->__construct()
#2 /var/www/reon/web/scripts/add_user.php(6): DBUtil::getInstance()
#3 /var/www/reon/web/scripts/add_user.php(46): main()
#4 {main}
  thrown in /var/www/reon/web/classes/DBUtil.php on line 11

Just in case: for me, add_user.php doesn't seem to work with a fresh deployment:
Warning: Trying to access array offset on null in /var/www/reon/web/classes/DBUtil.php on line 11

Warning: Trying to access array offset on null in /var/www/reon/web/classes/DBUtil.php on line 11

Warning: Trying to access array offset on null in /var/www/reon/web/classes/DBUtil.php on line 11

Warning: Trying to access array offset on null in /var/www/reon/web/classes/DBUtil.php on line 11

Fatal error: Uncaught mysqli_sql_exception: No such file or directory in /var/www/reon/web/classes/DBUtil.php:11
Stack trace:
#0 /var/www/reon/web/classes/DBUtil.php(11): mysqli->__construct(NULL, NULL, Object(SensitiveParameterValue), NULL)
#1 /var/www/reon/web/classes/DBUtil.php(16): DBUtil->__construct()
#2 /var/www/reon/web/scripts/add_user.php(6): DBUtil::getInstance()
#3 /var/www/reon/web/scripts/add_user.php(46): main()
#4 {main}
  thrown in /var/www/reon/web/classes/DBUtil.php on line 11

config.json:
{
        "hostname": "gameboy.datacenter.ne.jp";
        "email_domain": "gameboy.datacenter.ne.jp",
        "email_domain_dion": "cool.dion.ne.jp",
        "mysql_host": "db",
        "mysql_user": "reon",
        "mysql_password": "password",
        "mysql_database": "db",
        "amoj_regist": "h200"
}

(gameboy.datacenter.ne.jp is resolvable).

Are you using the full docker compose exec -w /var/www/reon/web/scripts web php add_user.php command or are you running add_user.php on it's own outside of the container?

I'm running the full docker command.

https://github.com/user-attachments/assets/ba2b3e54-5b05-489e-9ed0-2fc72523b90e
Here's a short screen capture.

That screen cap helps a bit. I've updated the README to include a missing step that's likely the cause of your issues.

Now though, I get an error about db not being resolvable. I know this isn't handling DNS yet, so is it assumed that you have that in your external DNS setup already or is that supposed to be working as is?

The db name is internal to docker and should automatically be handled by compose. The DNS service is used to direct the adapter to the REON services. The dummy-servers project has python DNS server you can modify for that aspect.
I would highly recommend joining the REON Discord server if you haven't already. The project isn't in a public-ready state yet and there are a few things you'll want to do after getting the containers working properly in order to actually use it.


App 79/call before js module fix

I wasn't able to reproduce this crash when running on Degbu & Release mode, but because of the crash report I was able to add a fix according to this issue: https://github.com/OneSignal/react-native-onesignal/issues/877

please rebase to v3.2


Annotation problem of a method

HI，I found that there is a problem with the comment of selectList (String statement) in sqlsession
I think there is no parameter
 /**
   * Retrieve a list of mapped objects from the statement key and parameter.
   * @param <E> the returned list element type
   * @param statement Unique identifier matching the statement to use.
   * @return List of mapped object
   */
  <E> List<E> selectList(String statement);

Hi @xbcrh , Thanks for your reporting!


[docker]vcpkg install returns "A suitable version of git was not found (required v2.7.4)"

Describe the bug
After a fresh install of vcpkg I run ./vcpkg install boost and get the following output:
A suitable version of git was not found (required v2.7.4) and unable to automatically download a portable one. Please install a newer version of git.

My git version is fine:
bash-4.2# git --version
git version 2.23.1

The actual problem appears to be that no URL is provided for a git tool download in the scripts/vcpkgTools.xml file and since I am not using the -useSystemBinaries when bootstrapping it never attempts my local git version in toolsrc/src/vcpkg/tools.cpp because the git provider has no fallback.
Given vcpkg itself is downloaded using git could we not at least have a fallback to the git in path? The version check would still take place. This may make sense to add as a generic fallback to all of the providers in the case a local version cannot be downloaded.
I've temporarily fudged this by running the following command:
sed -i 's/get_path(paths, GitProvider())/{\"git\", \"0\"}/g' toolsrc/src/vcpkg/tools.cpp

which forces the use of my local git version.
Environment

OS: Amazon Linux 2 (RHEL 7 equivalent)
Compiler: GNU 7.3.1

To Reproduce
Steps to reproduce the behavior:

git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg integrate install
./vcpkg install boost
See error

Expected behavior
Boost libraries should install
Failure logs
The following packages will be built and installed:
    boost[core]:x64-linux
  * boost-accumulators[core]:x64-linux
  * boost-algorithm[core]:x64-linux
  * boost-align[core]:x64-linux
  * boost-any[core]:x64-linux
  * boost-array[core]:x64-linux
  * boost-asio[core]:x64-linux
  * boost-assert[core]:x64-linux
  * boost-assign[core]:x64-linux
  * boost-atomic[core]:x64-linux
  * boost-beast[core]:x64-linux
  * boost-bimap[core]:x64-linux
  * boost-bind[core]:x64-linux
  * boost-build[core]:x64-linux
  * boost-callable-traits[core]:x64-linux
  * boost-chrono[core]:x64-linux
  * boost-circular-buffer[core]:x64-linux
  * boost-compatibility[core]:x64-linux
  * boost-compute[core]:x64-linux
  * boost-concept-check[core]:x64-linux
  * boost-config[core]:x64-linux
  * boost-container[core]:x64-linux
  * boost-container-hash[core]:x64-linux
  * boost-context[core]:x64-linux
  * boost-contract[core]:x64-linux
  * boost-conversion[core]:x64-linux
  * boost-convert[core]:x64-linux
  * boost-core[core]:x64-linux
  * boost-coroutine[core]:x64-linux
  * boost-coroutine2[core]:x64-linux
  * boost-crc[core]:x64-linux
  * boost-date-time[core]:x64-linux
  * boost-detail[core]:x64-linux
  * boost-disjoint-sets[core]:x64-linux
  * boost-dll[core]:x64-linux
  * boost-dynamic-bitset[core]:x64-linux
  * boost-endian[core]:x64-linux
  * boost-exception[core]:x64-linux
  * boost-filesystem[core]:x64-linux
  * boost-flyweight[core]:x64-linux
  * boost-foreach[core]:x64-linux
  * boost-format[core]:x64-linux
  * boost-function[core]:x64-linux
  * boost-function-types[core]:x64-linux
  * boost-functional[core]:x64-linux
  * boost-fusion[core]:x64-linux
  * boost-geometry[core]:x64-linux
  * boost-gil[core]:x64-linux
  * boost-graph[core]:x64-linux
  * boost-graph-parallel[core]:x64-linux
  * boost-hana[core]:x64-linux
  * boost-heap[core]:x64-linux
  * boost-histogram[core]:x64-linux
  * boost-hof[core]:x64-linux
  * boost-icl[core]:x64-linux
  * boost-integer[core]:x64-linux
  * boost-interprocess[core]:x64-linux
  * boost-interval[core]:x64-linux
  * boost-intrusive[core]:x64-linux
  * boost-io[core]:x64-linux
  * boost-iostreams[core]:x64-linux
  * boost-iterator[core]:x64-linux
  * boost-lambda[core]:x64-linux
  * boost-lexical-cast[core]:x64-linux
  * boost-local-function[core]:x64-linux
  * boost-locale[core]:x64-linux
  * boost-lockfree[core]:x64-linux
  * boost-log[core]:x64-linux
  * boost-logic[core]:x64-linux
  * boost-math[core]:x64-linux
  * boost-metaparse[core]:x64-linux
  * boost-modular-build-helper[core]:x64-linux
  * boost-move[core]:x64-linux
  * boost-mp11[core]:x64-linux
  * boost-mpl[core]:x64-linux
  * boost-msm[core]:x64-linux
  * boost-multi-array[core]:x64-linux
  * boost-multi-index[core]:x64-linux
  * boost-multiprecision[core]:x64-linux
  * boost-numeric-conversion[core]:x64-linux
  * boost-odeint[core]:x64-linux
  * boost-optional[core]:x64-linux
  * boost-outcome[core]:x64-linux
  * boost-parameter[core]:x64-linux
  * boost-phoenix[core]:x64-linux
  * boost-poly-collection[core]:x64-linux
  * boost-polygon[core]:x64-linux
  * boost-pool[core]:x64-linux
  * boost-predef[core]:x64-linux
  * boost-preprocessor[core]:x64-linux
  * boost-process[core]:x64-linux
  * boost-program-options[core]:x64-linux
  * boost-property-map[core]:x64-linux
  * boost-property-tree[core]:x64-linux
  * boost-proto[core]:x64-linux
  * boost-ptr-container[core]:x64-linux
  * boost-qvm[core]:x64-linux
  * boost-random[core]:x64-linux
  * boost-range[core]:x64-linux
  * boost-ratio[core]:x64-linux
  * boost-rational[core]:x64-linux
  * boost-regex[core]:x64-linux
  * boost-safe-numerics[core]:x64-linux
  * boost-scope-exit[core]:x64-linux
  * boost-serialization[core]:x64-linux
  * boost-signals2[core]:x64-linux
  * boost-smart-ptr[core]:x64-linux
  * boost-sort[core]:x64-linux
  * boost-spirit[core]:x64-linux
  * boost-stacktrace[core]:x64-linux
  * boost-statechart[core]:x64-linux
  * boost-static-assert[core]:x64-linux
  * boost-system[core]:x64-linux
  * boost-test[core]:x64-linux
  * boost-thread[core]:x64-linux
  * boost-throw-exception[core]:x64-linux
  * boost-timer[core]:x64-linux
  * boost-tokenizer[core]:x64-linux
  * boost-tti[core]:x64-linux
  * boost-tuple[core]:x64-linux
  * boost-type-erasure[core]:x64-linux
  * boost-type-index[core]:x64-linux
  * boost-type-traits[core]:x64-linux
  * boost-typeof[core]:x64-linux
  * boost-ublas[core]:x64-linux
  * boost-units[core]:x64-linux
  * boost-unordered[core]:x64-linux
  * boost-utility[core]:x64-linux
  * boost-uuid[core]:x64-linux
  * boost-variant[core]:x64-linux
  * boost-variant2[core]:x64-linux
  * boost-vcpkg-helpers[core]:x64-linux
  * boost-vmd[core]:x64-linux
  * boost-wave[core]:x64-linux
  * boost-winapi[core]:x64-linux
  * boost-xpressive[core]:x64-linux
  * boost-yap[core]:x64-linux
  * bzip2[core]:x64-linux
  * libiconv[core]:x64-linux
  * liblzma[core]:x64-linux
  * openssl[core]:x64-linux
  * openssl-unix[core]:x64-linux
  * zlib[core]:x64-linux
  * zstd[core]:x64-linux
Additional packages (*) will be modified to complete this operation.
Starting package 1/144: boost-vcpkg-helpers:x64-linux
Building package boost-vcpkg-helpers[core]:x64-linux...
A suitable version of git was not found (required v2.7.4) and unable to automatically download a portable one. Please install a newer version of git.

Additional context
I have successfully used vcpkg on other Amazon Linux distro's without issue when using the -useSystemBinaries when bootstrapping.

Hi @PhoebeHui  @LilyWangL,
I debugged this last night and have updated the issue with more clarity and a temporary fix via a text replace in the tools.cpp.

Hi @armitagemderivitec, thanks for posting this issue. I can't reproduce this issue on my Linux. Could you please provide your temporary fix steps? Thanks!

Hi @LilyWangL,
The fix is as follows which was included above:
sed -i 's/get_path(paths, GitProvider())/{\"git\", \"0\"}/g' toolsrc/src/vcpkg/tools.cpp

which just replaces get_path(paths, GitProvider()) with {"git", "0"} which makes it like think the useSystemBinaries flag was passed in the bootstrap.
Are you passing the useSystemBinaries on bootstrap?

@LilyWangL if you are familiar with docker you can create the exact image of the server I am using with the following commands:
git clone https://github.com/aws/aws-codebuild-docker-images.git
cd aws-codebuild-docker-images
cd al2/x86_64/standard/2.0
docker build -t aws/codebuild/amazonlinux2-x86_64-standard:2.0 .
docker run -it --entrypoint sh aws/codebuild/amazonlinux2-x86_64-standard:2.0 -c bash

then in that shell:
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg integrate install
./vcpkg install boost
See error
Although the sed solution allowed me to continue I'm now hitting an error on any package with a patch:
Starting package 1/23: liblzma:x64-linux
Building package liblzma[core]:x64-linux...
-- Downloading https://github.com/xz-mirror/xz/archive/v5.2.4.tar.gz...
-- Extracting source /vcpkg/downloads/xz-mirror-xz-v5.2.4.tar.gz
-- Applying patch enable-uwp-builds.patch
CMake Error at scripts/cmake/vcpkg_apply_patches.cmake:52 (message):
  Applying patch failed.  Patch needs to be updated to work with source being
  used by vcpkg!
Call Stack (most recent call first):
  scripts/cmake/vcpkg_extract_source_archive_ex.cmake:134 (vcpkg_apply_patches)
  scripts/cmake/vcpkg_from_github.cmake:139 (vcpkg_extract_source_archive_ex)
  ports/liblzma/portfile.cmake:3 (vcpkg_from_github)
  scripts/ports.cmake:90 (include)

Error: Building package liblzma:x64-linux failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: liblzma:x64-linux
  Vcpkg version: 2020.02.04-unknownhash

Additionally, attach any relevant sections from the log files above.

so I assume git is still not being found correctly when this runs also.
I've since added cmake and ninja to the server manually and symlinked these to /usr/bin and although cmake, ninja and git can now be found in the path, when I pass -useSystemBinaries during bootstrap and try and run ./vcpkg install liblzma for example it, still downloads cmake, ninja and reports the git error  again as if the VCPKG_FORCE_SYSTEM_BINARIES environment variable is not there.
Any ideas?

use param for installing
export VCPKG_FORCE_SYSTEM_BINARIES=ON
and then error with git disappear

I solved this by adding the following to my Dockerfile:
ENV VCPKG_FORCE_SYSTEM_BINARIES="1"

@armitagemderivitec Please keep this issue open before we resolve it.
Thanks.

Currently working on it!

Not being in the office and having access to a windows or linux machine is making diagnosing this much harder.

I'm getting an error while trying to build the docker image; are there any other docker images that might work?

Thanks
Mike

Ah, I see... The issue is that amazonlinux doesn't contain which, and we depend on which to find the system-installed versions of programs. Dang.

Brilliant @strega-nil , thanks for fixing!

this still reproduces on Ubuntu 18.04 WSL. -useSystemBinaries won't work because cmake is too old.

@svorobiev try upgrading your vcpkg, https://github.com/microsoft/vcpkg/pull/13794 fixed an issue we had that happened earlier this morning.

Yes, this fixes the problem. Thank you!


Can't pass function arguments

For lists of things ideally you want to be able to pass parameters into python functions

Unfortunately, this is quite difficult to implement with the current state of code, as the functions are ran through the command line. I was thinking of doing something with pickled objects or the sorts, but I need to give it more thought. I'm currently aiming to add MacOS functionality next, but this is definitely on my list. I'll update this issue when I start working on it. Thanks for the feedback!

Hey man, firstly awesome project, I've been enjoying playing about with this. I'm fairly new to python and just learning. Is it possible to pass variables via the command line then input as argv[] to a function. I've been having trouble trying to get the command line to run another python script. On click I want to pass a flag that says "option selected" and then run a function, currently trying to implement a function so I can right click then copy the path of a file

Hello!  I could contribute with passing arguments. It seems to be very interesting issue :smiley:

Had another go tonight, it seems I can pass arguements in this way and using command to run another python script. My issue now is taking an input variable (the file path) from a file you have right clicked on, is there a way to input this?

@mateuszz0000 I would love any pull requests or any help with this project!

@malky25 Thanks for playing around with it; I understand your problem as I had the same exact issue in my file sorter implementation of this library. I think I've scrapped the idea for MacOS support right now and will actually start working on this solution now. If it helps, this resource helped me with the windows implementation (especially the %1 part).

If it's of any help, I was able to implement a really janky solution to having one extra argument by adding an "extra value" parameter to like every class I came across, and changing the create_file_select_command to look like https://i.imgur.com/dT7SJyh.png which worked for me

Thanks for the help! I took inspiration from your idea implementing this. Added c2c4b02


Measure test coverage

I'm not sure how good this idea is though, since not every getter/setter that works the same way needs to be tested.


Ajax call "error" response blocks the execution of Azure B2C

Hello,
I'm using an ajax call inside a Javascript in my selfasserted page. When this call returns an error (Bad Request, for example), then Azure basically stops as well.
In my page, I have a simple "checkbox" and this Ajax call replaces the text on this checkbox, like the example provided in this page. If the ajax call doesn't work, then the text on the checkbox stays as it was originally. But, if an error happens with the ajax, when I click to "continue" in my Azure page, I see a "bad request" in the console and Azure never finishes the "Please wait while we process your information."

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

ID: 818e437f-75d7-30f1-d6fe-e57288abbc54
Version Independent ID: 876c370e-e6f1-0e30-4ab7-e502643196bd
Content: JavaScript samples - Azure AD B2C
Content Source: articles/active-directory-b2c/javascript-samples.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

I'm closing this.
There was a problem with my JavaScript and that was holding up Azure.
It's fine now. I'm closing this thread.

@henriquebelotto Gald to know that you have self resolved and hence closed the issue. Thanks for the update.


Error in studio while editing embedded map of an edge

OrientDB Version: 2.18
Expected behavior
Edit and Save an Edge property in Studio should not raise an error.
Actual behavior
When saving the modification of an embedded property in studio an error pop with
OConcurrentModification ... because the version is not the latest ...
Value is updated on save but red flag is raised
Steps to reproduce
Edit an embedded map of an edge, not a Vertex in studio then save.

hi @Solido
do you edit the edge from the Graph Editor in the Edit Edge popup?

Hi @Solido
i was not able to reproduce it with 2.2.18.
How can i reproduce it?

Got it every time.
Try to create and edge with an empty embedded map while editing the input is
{
}
Add any entry and save, exception is throw

hi @Solido
which version of OrientDB 2.2.18?
Do you have in create or in update this error?
In Graph Editor ?

Well as is the description of the bug. 2.2.18 editing an edge that contains Embedded Map, edit the input text field. It can be empty or with previous data. Adding a key or modify, save -> red. Happen every time even after I rebuild the DB.

I'm getting the same error but on editing a vertex.
It happens on the default editor (not graph). When you click on a rid (eg. #21:0) and start editing, saving an embedded creates this error.


Error after upgrading to latest develop version

Just tried the latest develop version (upgrade and also a clean install)
Both show this error after login:
Call to undefined method Illuminate\Database\Query\Builder::dataCollection() (View: resources\views\activity\update-issue-tags.blade.php) (View: resources\views\activity\update-issue-tags.blade.php)

This should be fixed now. I accidentally removed the method dataCollection()

Thanks and closed.


Kitty

Yes, some of these are the default. This is just what I want when I'm done customizing.

Keyboard Shortcut
Function

Ctrl + Shift + T
Open new tab and switch to it

Ctrl + Shift + W
Close current tab and switch to previous tab

Ctrl + Shift + Page Up
Switch to previous tab

Ctrl + Shift + Page Down
Switch to next tab

Ctrl + Shift + C
Copy to clipboard

Ctrl + Shift + V
Paste from clipboard

Ctrl + Shift + U
Input Unicode character

Ctrl + Shift + E
Make visible links "clickable" via the keyboard

Tab functionality to be kept largely the same.
I want the window manager to handle window layout, not Kitty. Therefore, window keyboard shortcuts will be removed. I understand that windows are "per tab". Don't care. :)

Make this thing work properly with SSH for text editors and such.
alias ssh='TERM=xterm-256color ssh'


Wait for deployment unit start non blocking

@ibuildthecloud  @son
https://github.com/rancherio/rancher/issues/1011

LGTM

LGTM


I want dateicker only when icon is clicked but not when input is clicked

Here is my code

    <input type="text" class="form-control">

http://eonasdan.github.io/bootstrap-datetimepicker/#minimum-setup


[nrf temphack] Ensure that MCUBoot read buffers are word aligned

Since other flash drivers does not handle unaligned access yet, we
have to ensure that the read buffers are word aligned. We'll at most
throw away 6 bytes so I think it should be okei.
Signed-off-by: Sigvart Hovland<EMAIL_ADDRESS>

Some checks failed. Please fix and resubmit.
Gitlint issues
1: UC3 Title does not follow [subsystem]: [subject] (and should not start with literal subsys:): "[nrf temphack] Ensure that MCUBoot read buffers are word aligned"
Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages.

Bizarre.  My review did not include the comment I made at the code location, which was to the effect that there are upwards of 50 locations in mcuboot where a buffer is passed to flash_area_{read,write} that should be audited to ensure the buffers passed have 4-byte alignment.  Several do not.
The comment also said it was reasonable to leave it with this solution for now, and plan to either do a full assessment of mcuboot and mcumgr after the release, or complete the task of making sure Zephyr supports byte alignment for all flash API buffers, offsets, and sizes.

DNM while waiting for upmerge

Included in #104


[paddle] paddle model zoo should not have compile time dependency on opencv

Change-Id: I02b8596dc4bccc44b87fed2360567c4fad0c714f
Description
Brief description of what this PR is about

If this change is a backward incompatible change, why must this change be made?
Interesting edge cases to note here

Codecov Report

Merging #1785 (feb48a7) into master (bb5073f) will decrease coverage by 2.52%.
The diff coverage is 65.08%.

@@             Coverage Diff              @@
##             master    #1785      +/-   ##
============================================
- Coverage     72.08%   69.56%   -2.53%
- Complexity     5126     5489     +363
============================================
  Files           473      524      +51
  Lines         21970    24316    +2346
  Branches       2351     2644     +293
============================================
+ Hits          15838    16916    +1078
- Misses         4925     6089    +1164
- Partials       1207     1311     +104

Impacted Files
Coverage Δ

api/src/main/java/ai/djl/modality/cv/Image.java
69.23% <ø> (-4.11%)
:arrow_down:

...rc/main/java/ai/djl/modality/cv/MultiBoxPrior.java
76.00% <ø> (ø)

...rc/main/java/ai/djl/modality/cv/output/Joints.java
71.42% <ø> (ø)

.../main/java/ai/djl/modality/cv/output/Landmark.java
100.00% <ø> (ø)

...main/java/ai/djl/modality/cv/output/Rectangle.java
72.41% <0.00%> (ø)

...i/djl/modality/cv/translator/BigGANTranslator.java
21.42% <ø> (-5.24%)
:arrow_down:

...odality/cv/translator/BigGANTranslatorFactory.java
33.33% <0.00%> (+8.33%)
:arrow_up:

...nslator/InstanceSegmentationTranslatorFactory.java
14.28% <0.00%> (-3.90%)
:arrow_down:

.../cv/translator/SemanticSegmentationTranslator.java
0.00% <0.00%> (ø)

.../cv/translator/StyleTransferTranslatorFactory.java
40.00% <ø> (ø)

... and 414 more

Continue to review full report at Codecov.

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