f30: podman fails to start my toolbox containers

I had these toolbox containers for a while and they were working fine. Recently, I had to switch from rawhide to F30, for some unrelated issue. And now, the toolboxes fail to start.
This is with podman 1.4 in F30:
$ podman --log-level debug start fedora-toolbox-mclasen-30
INFO[0000] running as rootless
DEBU[0000] Initializing boltdb state at /var/home/mclasen/.local/share/containers/storage/libpod/bolt_state.db
DEBU[0000] Using graph driver overlay
DEBU[0000] Using graph root /var/home/mclasen/.local/share/containers/storage
DEBU[0000] Using run root /run/user/1000
DEBU[0000] Using static dir /var/home/mclasen/.local/share/containers/storage/libpod
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp
DEBU[0000] Using volume path /var/home/mclasen/.local/share/containers/storage/volumes
DEBU[0000] Set libpod namespace to ""
DEBU[0000] [graphdriver] trying provided driver "overlay"
DEBU[0000] overlay: mount_program=/usr/bin/fuse-overlayfs
DEBU[0000] backingFs=extfs, projectQuotaSupported=false, useNativeDiff=false, usingMetacopy=false
DEBU[0000] Initializing event backend journald
DEBU[0000] overlay: mount_data=lowerdir=/var/home/mclasen/.local/share/containers/storage/overlay/l/3Q23VHSYPTRCAOCQQNJ2LWMAIO:/var/home/mclasen/.local/share/containers/storage/overlay/l/CJLT4B66MFIDFGPA4VMHFWLLPP:/var/home/mclasen/.local/share/containers/storage/overlay/l/2BLCYUCG6LQGD2RFK3FXPXBFJA,upperdir=/var/home/mclasen/.local/share/containers/storage/overlay/0cb0c108d8d87ca235ceea1feb61878bbab45817e008e6e30c93c22f0e0a4827/diff,workdir=/var/home/mclasen/.local/share/containers/storage/overlay/0cb0c108d8d87ca235ceea1feb61878bbab45817e008e6e30c93c22f0e0a4827/work,context="system_u:object_r:container_file_t:s0:c373,c1001"
DEBU[0000] mounted container "3500dffd6f91012b2e510a24ed6b7bd9035f1d8587ad7777cae886837b41f89a" at "/var/home/mclasen/.local/share/containers/storage/overlay/0cb0c108d8d87ca235ceea1feb61878bbab45817e008e6e30c93c22f0e0a4827/merged"
DEBU[0000] Created root filesystem for container 3500dffd6f91012b2e510a24ed6b7bd9035f1d8587ad7777cae886837b41f89a at /var/home/mclasen/.local/share/containers/storage/overlay/0cb0c108d8d87ca235ceea1feb61878bbab45817e008e6e30c93c22f0e0a4827/merged
DEBU[0000] /etc/system-fips does not exist on host, not mounting FIPS mode secret
WARN[0000] User mount overriding libpod mount at "/dev/shm"
DEBU[0000] set root propagation to "rslave"
DEBU[0000] Created OCI spec for container 3500dffd6f91012b2e510a24ed6b7bd9035f1d8587ad7777cae886837b41f89a at /var/home/mclasen/.local/share/containers/storage/overlay-containers/3500dffd6f91012b2e510a24ed6b7bd9035f1d8587ad7777cae886837b41f89a/userdata/config.json
DEBU[0000] /usr/libexec/podman/conmon messages will be logged to syslog
DEBU[0000] running conmon: /usr/libexec/podman/conmon    args=[-c 3500dffd6f91012b2e510a24ed6b7bd9035f1d8587ad7777cae886837b41f89a -u 3500dffd6f91012b2e510a24ed6b7bd9035f1d8587ad7777cae886837b41f89a -n fedora-toolbox-mclasen-30 -r /usr/bin/runc -b /var/home/mclasen/.local/share/containers/storage/overlay-containers/3500dffd6f91012b2e510a24ed6b7bd9035f1d8587ad7777cae886837b41f89a/userdata -p /run/user/1000/overlay-containers/3500dffd6f91012b2e510a24ed6b7bd9035f1d8587ad7777cae886837b41f89a/userdata/pidfile --exit-dir /run/user/1000/libpod/tmp/exits --conmon-pidfile /var/home/mclasen/.local/share/containers/storage/overlay-containers/3500dffd6f91012b2e510a24ed6b7bd9035f1d8587ad7777cae886837b41f89a/userdata/conmon.pid --exit-command /usr/bin/podman --exit-command-arg --root --exit-command-arg /var/home/mclasen/.local/share/containers/storage --exit-command-arg --runroot --exit-command-arg /run/user/1000 --exit-command-arg --log-level --exit-command-arg error --exit-command-arg --cgroup-manager --exit-command-arg cgroupfs --exit-command-arg --tmpdir --exit-command-arg /run/user/1000/libpod/tmp --exit-command-arg --runtime --exit-command-arg runc --exit-command-arg --storage-driver --exit-command-arg overlay --exit-command-arg container --exit-command-arg cleanup --exit-command-arg 3500dffd6f91012b2e510a24ed6b7bd9035f1d8587ad7777cae886837b41f89a --socket-dir-path /run/user/1000/libpod/tmp/socket -l k8s-file:/var/home/mclasen/.local/share/containers/storage/overlay-containers/3500dffd6f91012b2e510a24ed6b7bd9035f1d8587ad7777cae886837b41f89a/userdata/ctr.log --log-level debug --syslog]
WARN[0000] Failed to add conmon to cgroupfs sandbox cgroup: mkdir /sys/fs/cgroup/systemd/libpod_parent: permission denied
[conmon:d]: failed to write to /proc/self/oom_score_adj: Permission denied

WARN[0000] no such directory for freezer.state
WARN[0000] no such directory for freezer.state
DEBU[0000] Cleaning up container 3500dffd6f91012b2e510a24ed6b7bd9035f1d8587ad7777cae886837b41f89a
DEBU[0000] Network is already cleaned up, skipping...
DEBU[0000] unmounted container "3500dffd6f91012b2e510a24ed6b7bd9035f1d8587ad7777cae886837b41f89a"
ERRO[0000] unable to start container "fedora-toolbox-mclasen-30": error reading container (probably exited) json message: EOF

Debarshi points out that
rm -rf ~/.local/share/containers/storage/overlay-containers/*/userdata/*

works around this breakage.

can you spot any other error message in the journal?  Seem like it is failing in runc

I see:
Jun 21 11:04:26 localhost.localdomain conmon[6312]: conmon 46aebaf6ade512d54033 <ndebug>: failed to write to /proc/self/oom_score_adj: Permission denied
Jun 21 11:04:26 localhost.localdomain kernel: SELinux: mount invalid.  Same superblock, different security settings for (dev mqueue, type mqueue)
Jun 21 11:04:26 localhost.localdomain conmon[6313]: conmon 46aebaf6ade512d54033 <ndebug>: container PID: 6324
Jun 21 11:04:26 localhost.localdomain conmon[6313]: conmon 46aebaf6ade512d54033 <ninfo>: attach sock path: /run/user/1000/libpod/tmp/socket/46aebaf6ade512d540334427598998bcef3c0dc47c075751427f915be035220a/attach
Jun 21 11:04:26 localhost.localdomain conmon[6313]: conmon 46aebaf6ade512d54033 <ninfo>: addr{sun_family=AF_UNIX, sun_path=/run/user/1000/libpod/tmp/socket/46aebaf6ade512d540334427598998bcef3c0dc47c075751427f915be035220a/attach}
Jun 21 11:04:26 localhost.localdomain conmon[6313]: conmon 46aebaf6ade512d54033 <error>: Failed to bind attach socket: /run/user/1000/libpod/tmp/socket/46aebaf6ade512d540334427598998bcef3c0dc47c075751427f915be035220a/attach: Address already in use
Jun 21 11:04:26 localhost.localdomain podman[6313]: 2019-06-21 11:04:26.816768156 +0800 +08 m=+0.096128079 container cleanup 46aebaf6ade512d540334427598998bcef3c0dc47c075751427f915be035220a (image=registry.fedoraproject.org/f30/fedora-toolbox:30, name=fedora-toolbox-30)

Maybe running podman stop before rebooting, avoids this problem.

@juhp could you share your ~/.config/containers/libpod.conf and  ~/.config/containers/storage.conf files?

/run/user/1000/libpod should be empty after a reboot.  Is it on a tmpfs?

$ cat ~/.config/containers/libpod.conf
volume_path = "/var/home/petersen/.local/share/containers/storage/volumes"
image_default_transport = "docker://"
runtime_path = ["/usr/bin/runc", "/usr/sbin/runc", "/usr/local/bin/runc", "/usr/local/sbin/runc", "/sbin/runc", "/bin/runc", "/usr/lib/cri-o-runc/sbin/runc"]
conmon_path = ["/usr/libexec/podman/conmon", "/usr/libexec/crio/conmon", "/usr/local/lib/podman/conmon", "/usr/local/libexec/crio/conmon", "/usr/bin/conmon", "/usr/sbin/conmon", "/usr/lib/crio/bin/conmon"]
conmon_env_vars = ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"]
cgroup_manager = "cgroupfs"
init_path = "/usr/libexec/podman/catatonit"
static_dir = "/var/home/petersen/.local/share/containers/storage/libpod"
tmp_dir = "/run/user/1000/libpod/tmp"
max_log_size = -1
no_pivot_root = false
cni_config_dir = "/etc/cni/net.d/"
cni_plugin_dir = ["/usr/libexec/cni", "/usr/lib/cni", "/usr/local/lib/cni", "/opt/cni/bin"]
infra_image = "k8s.gcr.io/pause:3.1"
infra_command = "/pause"
enable_port_reservation = true
label = true
$ cat ~/.config/containers/storage.conf
[storage]
  driver = "overlay"
  runroot = "/run/user/1000"
  graphroot = "/var/home/petersen/.local/share/containers/storage"
  [storage.options]
    mount_program = "/usr/bin/fuse-overlayfs"

Also
$ df /run/user/1000/
Filesystem     1K-blocks  Used Available Use% Mounted on
tmpfs            1606492<PHONE_NUMBER>   1% /run/user/1000

I was not able to reproduce the exact issue, but I can force start to fail by creating the attach file before starting the container.
I've opened https://github.com/containers/conmon/pull/46 so that conmon will unlink the existing file before trying to create a socket there.  It solves the case where I manually create it.  Would it be possible for you to try it out?
Once you build the conmon binary, you can try something podman --conmon /path/to/the/new/executable start CONTAINER

@giuseppe not sure how you are testing - I imagine it is easy to reproduce on Silverblue at least with Toolbox.
I tested the patch but it doesn't completely fix the problem:
$ podman --log-level debug start fedora-toolbox-30
INFO[0000] running as rootless
WARN[0000] The configuration is using `runtime_path`, which is deprecated and will be removed in future.  Please use `runtimes` and `runtime`
WARN[0000] If you are using both `runtime_path` and `runtime`, the configuration from `runtime_path` is used
DEBU[0000] Initializing boltdb state at /var/home/petersen/.local/share/containers/storage/libpod/bolt_state.db
DEBU[0000] Using graph driver overlay
DEBU[0000] Using graph root /var/home/petersen/.local/share/containers/storage
DEBU[0000] Using run root /run/user/1000
DEBU[0000] Using static dir /var/home/petersen/.local/share/containers/storage/libpod
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp
DEBU[0000] Using volume path /var/home/petersen/.local/share/containers/storage/volumes
DEBU[0000] Set libpod namespace to ""
DEBU[0000] [graphdriver] trying provided driver "overlay"
DEBU[0000] overlay: mount_program=/usr/bin/fuse-overlayfs
DEBU[0000] backingFs=extfs, projectQuotaSupported=false, useNativeDiff=false, usingMetacopy=false
DEBU[0000] Initializing event backend journald
DEBU[0000] overlay: mount_data=lowerdir=/var/home/petersen/.local/share/containers/storage/overlay/l/MUWGZWQJABJ7XJGJQ5QAXHHYYG:/var/home/petersen/.local/share/containers/storage/overlay/l/ULGN7VVCYUYYXTUU7R5G3QQW4X,upperdir=/var/home/petersen/.local/share/containers/storage/overlay/d1f10b0d0c2dae1dce544f12c7fc34ec767eebb8212af8cbc589abcef185f6a9/diff,workdir=/var/home/petersen/.local/share/containers/storage/overlay/d1f10b0d0c2dae1dce544f12c7fc34ec767eebb8212af8cbc589abcef185f6a9/work,context="system_u:object_r:container_file_t:s0:c841,c886"
DEBU[0000] mounted container "46aebaf6ade512d540334427598998bcef3c0dc47c075751427f915be035220a" at "/var/home/petersen/.local/share/containers/storage/overlay/d1f10b0d0c2dae1dce544f12c7fc34ec767eebb8212af8cbc589abcef185f6a9/merged"
DEBU[0000] Created root filesystem for container 46aebaf6ade512d540334427598998bcef3c0dc47c075751427f915be035220a at /var/home/petersen/.local/share/containers/storage/overlay/d1f10b0d0c2dae1dce544f12c7fc34ec767eebb8212af8cbc589abcef185f6a9/merged
DEBU[0000] /etc/system-fips does not exist on host, not mounting FIPS mode secret
WARN[0000] User mount overriding libpod mount at "/dev/shm"
DEBU[0000] set root propagation to "rslave"
DEBU[0000] Created OCI spec for container 46aebaf6ade512d540334427598998bcef3c0dc47c075751427f915be035220a at /var/home/petersen/.local/share/containers/storage/overlay-containers/46aebaf6ade512d540334427598998bcef3c0dc47c075751427f915be035220a/userdata/config.json
DEBU[0000] /usr/libexec/podman/conmon messages will be logged to syslog
DEBU[0000] running conmon: /usr/libexec/podman/conmon    args=[-c 46aebaf6ade512d540334427598998bcef3c0dc47c075751427f915be035220a -u 46aebaf6ade512d540334427598998bcef3c0dc47c075751427f915be035220a -n fedora-toolbox-30 -r /usr/bin/runc -b /var/home/petersen/.local/share/containers/storage/overlay-containers/46aebaf6ade512d540334427598998bcef3c0dc47c075751427f915be035220a/userdata -p /run/user/1000/overlay-containers/46aebaf6ade512d540334427598998bcef3c0dc47c075751427f915be035220a/userdata/pidfile --exit-dir /run/user/1000/libpod/tmp/exits --conmon-pidfile /var/home/petersen/.local/share/containers/storage/overlay-containers/46aebaf6ade512d540334427598998bcef3c0dc47c075751427f915be035220a/userdata/conmon.pid --exit-command /usr/bin/podman --exit-command-arg --root --exit-command-arg /var/home/petersen/.local/share/containers/storage --exit-command-arg --runroot --exit-command-arg /run/user/1000 --exit-command-arg --log-level --exit-command-arg error --exit-command-arg --cgroup-manager --exit-command-arg cgroupfs --exit-command-arg --tmpdir --exit-command-arg /run/user/1000/libpod/tmp --exit-command-arg --runtime --exit-command-arg runc --exit-command-arg --storage-driver --exit-command-arg overlay --exit-command-arg container --exit-command-arg cleanup --exit-command-arg 46aebaf6ade512d540334427598998bcef3c0dc47c075751427f915be035220a --socket-dir-path /run/user/1000/libpod/tmp/socket -l k8s-file:/var/home/petersen/.local/share/containers/storage/overlay-containers/46aebaf6ade512d540334427598998bcef3c0dc47c075751427f915be035220a/userdata/ctr.log --log-level debug --syslog]
WARN[0000] Failed to add conmon to cgroupfs sandbox cgroup: mkdir /sys/fs/cgroup/systemd/libpod_parent: permission denied
[conmon:d]: failed to write to /proc/self/oom_score_adj: Permission denied

WARN[0000] no such directory for freezer.state
WARN[0000] no such directory for freezer.state
DEBU[0000] Cleaning up container 46aebaf6ade512d540334427598998bcef3c0dc47c075751427f915be035220a
DEBU[0000] Network is already cleaned up, skipping...
DEBU[0000] unmounted container "46aebaf6ade512d540334427598998bcef3c0dc47c075751427f915be035220a"
ERRO[0000] unable to start container "fedora-toolbox-30": error reading container (probably exited) json message: EOF

These are the files I see in my userdata/:
$ ls -R /home/petersen/.local/share/containers/storage/overlay-containers/b78e30369f5884a6cee4c9c8abac9279908a2af7b024f61881cc505e987da69f/userdata/
/home/petersen/.local/share/containers/storage/overlay-containers/b78e30369f5884a6cee4c9c8abac9279908a2af7b024f61881cc505e987da69f/userdata/:
artifacts  attach  config.json  conmon.pid  ctl  ctr.log

/home/petersen/.local/share/containers/storage/overlay-containers/b78e30369f5884a6cee4c9c8abac9279908a2af7b024f61881cc505e987da69f/userdata/artifacts:
create-config

The main difference compared to on F30 Workstations seems to be conmon.pid.

So, after a debugging session with @giuseppe and @mheon, it turned out that for me, the problem was that I had multiple containers with a lock ID of 0, which occurred in 1.1/1.2 for various reasons, and with 1.3 and later, causes the 'refresh' operation after a reboot to fail, and the conmon temporary files not to be cleaned up.
Workarond is to run podman system renumber and reboot.

I see interesting, thanks, Owen!
I had indicative trouble with running podman system renumber.
Before rebooting I got one error, which I should have noted down, and after reboot I got:
$ podman system renumber
ERRO[0000] Error refreshing container 05c3f05f4a5c151f6b00167fba76eeb2106cc32568bec80051e2fdd6456ac751: error acquiring lock for container 05c3f05f4a5c151f6b00167fba76eeb2106cc32568bec80051e2fdd6456ac751: file exists
ERRO[0000] Error refreshing container 46aebaf6ade512d540334427598998bcef3c0dc47c075751427f915be035220a: error acquiring lock for container 46aebaf6ade512d540334427598998bcef3c0dc47c075751427f915be035220a: file exists
ERRO[0000] Error refreshing container b78e30369f5884a6cee4c9c8abac9279908a2af7b024f61881cc505e987da69f: error acquiring lock for container b78e30369f5884a6cee4c9c8abac9279908a2af7b024f61881cc505e987da69f: file exists
ERRO[0000] Error refreshing container fbaa95c5af2959ab738a8d78206358ff65abfc372b963d259af8b573c7899d01: error acquiring lock for container fbaa95c5af2959ab738a8d78206358ff65abfc372b963d259af8b573c7899d01: file exists

But after (re)moving ~/.local/share/containers/storage/overlay-containers/containers.lock those errors went away and I am now able to reboot to reworking toolboxes without having to remember to podman stop -a.


minor fix and add note about #229

Improve doc according to @godenji and @onilton 's review  note in #202
Add note about #229, fix drop, take example which not work

@getquill/maintainers

:+1:

:+1:

Note when a query have both `take` and `drop`, `take` must call before `drop`.
This sentence is a bit poorly formed, have should be has and must call could be must be called.
My suggestion:
```Note when calling both take and drop on a query, take must be called before drop.

@halvorgb Thanks! Sorry for my poor english.

:+1:


Add Keybinds

Keybinds are missing

Could you be a bit more specific as to which keybinds are missing and where. Is this for a menu or something else? I'm not sure what you are referring to.

Hey! I meant like when I was using this ui library there was some features where a button can turn on a check box but none for keybinds. For example, if I want to turn on a check box by pressing "S", there's no way for me to do that

This is by design. Iris is meant more for mouse navigation rather than binding


Fix MemberNotFoundException after external authorizations

The delete of existing group memberships when receiving an ExternalGroupAuthorizationEvent can cause a MemberNotFoundException when multiple threads are authenticating the same user. This can
happen because one thread has already done the delete and is adding the external group memberships while another thread is deleting them. The first thread does a get on each group membership it adds and that get will fail with an exception if the row doesn't exist.
This isn't too difficult to happen under load because this code path is invoked not just for web logins but also when obtaining a token using a password grant.
This change fixes the problem by only deleting and adding any changes to the group memberships. Thus after the first login, there will rarely be deletes and inserts, which is more efficient also.

Coverage increased (+0.008%) to 85.813% when pulling 97d2f5128d1514330302bd07d17481f0c251ef95 on mikeroda:bug/race_cond_external_auth into be15e3e794fd4d6be5370cb57077c6e2d15907d5 on cloudfoundry:develop.

Coverage increased (+0.008%) to 85.813% when pulling 97d2f5128d1514330302bd07d17481f0c251ef95 on mikeroda:bug/race_cond_external_auth into be15e3e794fd4d6be5370cb57077c6e2d15907d5 on cloudfoundry:develop.

Coverage increased (+0.008%) to 85.813% when pulling 97d2f5128d1514330302bd07d17481f0c251ef95 on mikeroda:bug/race_cond_external_auth into be15e3e794fd4d6be5370cb57077c6e2d15907d5 on cloudfoundry:develop.

@mikeroda Can you provide the tests for this PR and re-do the PR against the latest of develop. Please remove the use of Scim Filters as we are trying to move away from its usage in favor of explicit filter conditions.

Resolved by ec8a84f.


Add a th element

Mallard basically follows the HTML table model, deviating only for styling purposes (border, lines between, alternate shading). But it doesn't have a th element. th is good for accessibility, especially with row headers that can't be indicated with something like thead.

http://projectmallard.org/mep/mep0012.html

Spec written. http://projectmallard.org/1.1/mal_table_td.html
Already fully implemented in yelp-xsl.


generate a dummy backup when managed clusters are restored on a hub ( https://issues.redhat.com/browse/ACM-11860 )

https://issues.redhat.com/browse/ACM-11860
Create a dummy backup when a restore of managed clusters are being executed on the passive hub.
This backup has label annotations for

clusterID where the restore was completed
clusterID where the backup was created
backup name used to run the restore operation
the backup TTL is set to use the default velero TTL

This backup can be seen by all hubs connected to the same storage location so the information that a restore of managed clusters has been executed is available to all hubs
Sample
apiVersion: velero.io/v1
kind: Backup
metadata:
  name: acm-restore-clusters-20240523120542
  uid: 98ae0b26-d0ab-4f42-8e74-f9c4e429e1a3
  creationTimestamp: '2024-05-23T16:06:22Z'
  namespace: open-cluster-management-backup
  labels:
    acm-managed-clusters-schedule: acm-managed-clusters-schedule-20240523160022
    cluster.open-cluster-management.io/acm-hub-dr: 'true'
    cluster.open-cluster-management.io/acm-restore-name: restore-acm-passive-sync
    cluster.open-cluster-management.io/backup-cluster: 56670e8b-d843-4b24-a035-53c6d21552c6
    cluster.open-cluster-management.io/restore-cluster: 8ab0322c-ae47-4e8b-acb6-052d435ac8b8
    velero.io/storage-location: dpa-hub-b-1
spec:
  volumeSnapshotLocations:
    - dpa-hub-b-1
  defaultVolumesToFsBackup: false
  csiSnapshotTimeout: 10m0s
  includedResources:
    - Restore
  ttl: 720h0m0s
  itemOperationTimeout: 4h0m0s
  metadata: {}
  storageLocation: dpa-hub-b-1
  hooks: {}
  includedNamespaces:
    - open-cluster-management-backup
  snapshotMoveData: false
status:
  completionTimestamp: '2024-05-23T16:05:44Z'
  expiration: '2024-06-22T16:05:42Z'
  formatVersion: 1.1.0
  phase: Completed
  progress:
    itemsBackedUp: 1
    totalItems: 1
  startTimestamp: '2024-05-23T16:05:42Z'
  version: 1

/cherry-pick release-2.10

/cherry-pick release-2.9

/cherry-pick release-2.8


Refactor searcher

Feature Description
Refactor searcher to be able to easily extend search algorithm to different method.
Reason
Search algortihm other than Bayesian Optimization may be useful, too.
Solution
Need more discussion with @jhfjhfj1

I'm interested in working on this. Perhaps we could integrate hyperopt, Chocolate, or Advisor (which combines hyperopt and Chocolate in its own API) into autokeras.

I will take care of this.

Hi @tl-yang, I will assign this issue to @chengchengeasy.
He has already implemented a greedy algorithm.
You can focus on other issues.


User-reported unhelpful error message

https://code.world/#P1NDnulvcKHESjzJalr_Fqw
program.hs:15:27-35: error:
Data constructor not in scope: Christmas :: Text

The error here is missing quotes around text.  I suppose we could look for "not in scope" errors where the expression specifically has type "Text", and add a suggestion that you might be missing quotation marks around the argument.


tor-browser-bundle-bin: 10.0.7 -> 10.0.8

Motivation for this change
Update to latest release
https://blog.torproject.org/new-release-tor-browser-1008
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 109313 run on x86_64-linux 1

1 package built:

torbrowser (tor-browser-bundle-bin)

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 109313 run on x86_64-linux 1

1 package built:

torbrowser (tor-browser-bundle-bin)

Thanks! Ported to stable as 352481146d87aa2d277ea696657aa7db5378b90f.

Thanks! Ported to stable as 352481146d87aa2d277ea696657aa7db5378b90f.


V 0.20.0 - Shortcut Guide not working anymore

#5438  ℹ Computer information

Windows build number: Version 1909 (OS Build 18363.959)
PowerToys version: v 0.20.0
PowerToy module: Shortcut Guide

📝 Provide detailed reproduction steps (if any)

Press and hold the Win key

✔ Expected result
Shortcut guide is shown
❌ Actual result
Nothing happens
📷 Screenshots

📝 Notes
I've tried changing the duration before the guide is shown (as you can see in the screenshot), but that didn't have any effect.

@PatrickdeBie
are you running PowerToys as administrator or as user?
If you use Win + ? (or Win + Shift + ?) does it show up?

As administrator.
Fun/weird fact:
After using Win + Shift + ? the normal shortcut key (holding down Windows key) also works. Tomorrow, when I startup my laptop, I will test if the Windows key alone works again or that I'll have to use Win + Shift + ? first.

OK, thanks for the info.

Just tested it out and holding the Win key shows the shortcut guide. Not sure why it didn't work on the first try, but the Win + Shift + ? combination might have "triggered" something.

This has been resolved and the fix will be in 0.21.
Closing in favor of https://github.com/microsoft/PowerToys/issues/5458


feat: Python Setup integration

This PR includes a modification to the existing setup and refactoring of existing helper classes and test cases.
The changes reflects the following

[x] Adding setup.py
[x] Organized utils and core classes and tests to be packaged
[x] Setup requirements clarified and documented

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

@richtia I updated the README as well.

Also, immediately after this PR we could also create a github workflow to at least test the core features of the package. WDYT @richtia?

Also, immediately after this PR we could also create a github workflow to at least test the core features of the package. WDYT @richtia?

I think that would be a great idea!

@vibhatha did you run into errors trying to do the install?
error: The 'sqlalchemy<2,>=1' distribution was not found and is required by ibis-substrait

Closing this in favor of https://github.com/substrait-io/consumer-testing/pull/12


Docker testsuite for gitea builds

refering gitter discussion.
the idea here is to have for docker builds unit and functionnal testing.
these could use for example:

hadolint to validate dockerfile syntax
serverspec for unit and functionnal testing.

the overall is to provide best quality build regarding docker builds.
comments welcome of course :)

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/39025480-docker-testsuite-for-gitea-builds?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github).

I think this is complete using drone locally


feat(onyx-251): create AREnableAuctionHeaderAlertCTA feature flag

This PR resolves ONYX-251
Description

Add a feature flag, visible in dev menu
Add a "dummy" auction header alert CTA component

FF on
FF off

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[x] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

add AREnableAuctionHeaderAlertCTA feature flag - @nickskalkin

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Dev changes (add AREnableAuctionHeaderAlertCTA feature flag - @nickskalkin)

  Generated by :no_entry_sign: dangerJS against 52a14e60aa73f934573e18d88123e07402370a98


Add documentation

Document the app with sphinx. See about adding a Swagger Server for the API. Might be worth documenting the web app as well

this would also be a good place to document my thought process so this can also serve as somewhat of a guide

see docker swaggerapi


As a user I want the tablet to be stored in a custom cardboard container

AC:

Custom cardboard cutout to hold the tablet for SnackNet is built

(May be getting handled by UX, but open to anybody who wants to do it)

Can this be closed now?

@isaac-lapworth Yep.


Calculate cross-sections and quantum yields for Dr. Lary's Photolysis Reactions

Perhaps we can store these in the /data directory


feat(ci): move docker image to ghcr

Codecov Report

Merging #449 into master will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #449      +/-   ##
==========================================
- Coverage   62.94%   62.89%   -0.05%
==========================================
  Files          71       71
  Lines        4250     4250
==========================================
- Hits         2675     2673       -2
- Misses       1356     1358       +2
  Partials      219      219

Impacted Files
Coverage Δ

pkg/object/hash.go
92.68% <0.00%> (-2.44%)
:arrow_down:

pkg/resolver/resolver.go
87.75% <0.00%> (ø)

Continue to review full report at Codecov.

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


Implement NFTPort API to get NFT price data

Implement NFTPort API to get NFT price data

Issue closed with PR #17


Poppy Playtime (1721470) video gets stuck on the very first frame

Software information
Poppy Playtime (1721470) default config.

Start the game, press Chapter 1, start new game.
There should be a video playing which gets stuck on the very first frame, audio plays fine. I've looked into the mf part of Proton and couldn't find anything super suspicious so far and the video plays fine using WineD3D.

System information

GPU/Driver: API: OpenGL v: 4.6 Mesa 23.1.5 renderer: AMD Radeon Graphics (renoir LLVM
15.0.7 DRM 3.52 6.4.9-1-MANJARO)
Wine version: Proton 8 experimental
DXVK version: 2.2

Apitrace file(s)

Put a link here (thanks Blisto)

Log files
steam-1721470.zip

I can't actually reproduce this. Tested both Experimental and 8.0 (albeit with current dxvk-git, but it's not like there have been any significant D3D11 changes) and the video plays back fine, and I do eventually get to the 3D-rendered gameplay section. Also tried with different in-game settings and it works just fine here.

@besentv Are you still seeing this issue to this day?

Yes, maybe it's bound to AMD iGPUs?


MariaDB 10.9.3 fails to connect to outside Servers (fixed in 10.9.4)

brew config output
HOMEBREW_VERSION: 3.6.9
ORIGIN: https://github.com/Homebrew/brew
HEAD: 92e3ea0ecc219510d850c639c035bf0cdc6903f3
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 3db52437eff53da265700561fd659d99e575907c
Core tap last commit: 39 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.uqeVgPK8RY/org.xquartz:0
HOMEBREW_EDITOR: /usr/local/bin/mate_wait
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_MAKE_JOBS: 4
HOMEBREW_NO_ENV_HINTS: set
HOMEBREW_NO_INSTALL_CLEANUP: set
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: quad-core 64-bit skylake
Clang: 14.0.0 build 1400
Git: 2.38.1 => /usr/local/bin/git
Curl: 7.79.1 => /usr/bin/curl
macOS: 12.6.1-x86_64
CLT: <IP_ADDRESS>.1.1666437224
Xcode: N/A

brew doctor output
Your system is ready to brew.

Verification

[X] I ran brew update and am still able to reproduce my issue.
[X] I have resolved all warnings from brew doctor and that did not fix my problem.

What were you trying to do (and why)?
Since yesterday shell scripts using mysql/mysqldump and perl scripts linking to MariaDb fail to connect to outside hosts
What happened (include all command output)?
The following error message is returned
[ERROR 2002 (HY000): Can't connect to server on 'xxx.xxx.XX' (60)]
What did you expect to happen?
Successful connection to the server
This apparently is caused by the bug described in https://jira.mariadb.org/browse/CONC-612 which is fixed in MariadDB 10.9.4 so I am reporting this in anticipation of the upgrade of the version presented by homebrew from 10.9.3 to 10.9.4 (or later.
Step-by-step reproduction instructions (by running brew commands)
upgrade
mysql -h xxx.xxxx.XX dbame

There is a typo, should have read
mysql -h xxx.xxxx.XX dbname```


[chore] Reduce range of nextId when calling advanceNextId()

The previous implementation may result in extremely large nextId.

run buildall

run buildall

run buildall

run buildall


Update custom voice API sample code.

Purpose

Add clean up code in personal voice sample.
Fix 2 issues
Lite recipe is private. Hide it.
Remove a hard code speaker_profile_id, which is checked in by mistake before.

Pull Request Type
What kind of change does this Pull Request introduce?

[x] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

/azp run

/azp run


Add support for >2GB datasets

This would be required if we wanted to systematically publish 10M+ datasets, possibly aiming for 100M.
See also: #19

Currently the dataset sources and releases are limited to 2GB, due to limits in GitHub releases. The total size of the release is not limited, though.

This could be mitigated by splitting the files into parts (e.g., triples_1.tar.gz, triples_2.tar.gz, etc.).

There is also a limit of 10GB for action cache, into which we need to fit all release packages.

This is a bit harder to circumvent. We could look into alternative ways of distributing the datasets, e.g., with Zenodo and hash-based addresses. We can make this change completely seamless and backwards-compatible thanks to PURLs.

The CI worker currently spends most of its time compressing the same thing several times, which bogs it down significantly and could disqualify 10M+ datasets. This makes little sense (the archives are almost identical), but there is no easy way around this.

We would probably have to implement a custom Gzip / Tar compressor flow stage with support for splitting the output into multiple output archives and flushing / closing them independently.

As for caching, we could simply not use the caching mechanism of GitHub Actions for the datasets, but rather use the releases as a kind of a cache. After successfully saving a release, we would cache the metadata plus a file with links to the released files, along with their checksums. Later, we could look up this cache and see if the dataset files are still in GH releases. If they are, great, we can simply not upload them again (if this we are going from a dev to a dev release) or download & reupload them. This should save some time.


Consumer: ApiVersions failed with unexpected error

Bug Report
Environment

Node version: 10.13.0
Kafka-node version: 4.1.1
Kafka version: <IP_ADDRESS>

For specific cases also provide

Number of Brokers: 1
Number partitions for topic: 1

Include Sample Code to reproduce behavior
show-term-publications.js:
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var cgih_kafka_consumer_1 = require("../cgih-kafka-consumer");
var cgihKafkaConsumer = new cgih_kafka_consumer_1.cgihKafkaConsumer();
cgihKafkaConsumer.showTopics();
cgihKafkaConsumer.onTermPublishEvent(function (msg) {
    console.log('The term ' + msg.ASSET_RID + ' was published.');
});
//# sourceMappingURL=show-term-publications.js.map

cgih-kafka-consumer.js:
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var cgihKafkaConsumer = /** @class */ (function () {
    function cgihKafkaConsumer() {
        var kafka = require('kafka-node');
        var Consumer = kafka.Consumer;
        var client = new kafka.KafkaClient({ kafkaHost: 'xsecgihd001.se.shb.biz:52181' }); // xsecgihd001.se.shb.biz:52181
        this.consumer = new Consumer(client, [
            { topic: 'IgcUnifiedGovEvents', partition: 0 } //IgcUnifiedGovEvents
        ], {
            autoCommit: false
        });
        this.admin = new kafka.Admin(client);
    }
    cgihKafkaConsumer.prototype.onTermPublishEvent = function (callbackMethod) {
        this.consumer.on('message', function (message) {
            console.log(message.value);
            callbackMethod(message.value);
        });
    };
    cgihKafkaConsumer.prototype.showTopics = function () {
        this.admin.listTopics(function (err, res) {
            console.log('topics', res);
        });
    };
    return cgihKafkaConsumer;
}());
exports.cgihKafkaConsumer = cgihKafkaConsumer;
//# sourceMappingURL=cgih-kafka-consumer.js.map

Include output with Debug turned on
./node-v10.13.0-linux-x64/bin/node dist/cgih-api/samples/show-term-publications.js
kafka-node:KafkaClient Connect attempt 1 +0ms
kafka-node:KafkaClient Trying to connect to host: xsecgihd001.se.shb.biz port: 52181 +3ms
kafka-node:KafkaClient kafka-node-client createBroker xsecgihd001.se.shb.biz:52181 +0ms
kafka-node:KafkaClient kafka-node-client sending versions request to xsecgihd001.se.shb.biz:52181 +10ms
kafka-node:KafkaClient broker socket connected {"host":"xsecgihd001.se.shb.biz","port":"52181"} +4ms
kafka-node:KafkaClient connected to socket, trying to load initial metadata +1ms
kafka-node:KafkaClient missing apiSupport waiting until broker is ready... +0ms
kafka-node:KafkaClient waitUntilReady [BrokerWrapper xsecgihd001.se.shb.biz:52181 (connected: true) (ready: fals                                                                                e) (idle: false) (needAuthentication: false) (authenticated: false)] +0ms
kafka-node:Consumer connection closed +2ms
kafka-node:KafkaClient kafka-node-client socket closed xsecgihd001.se.shb.biz:52181 (hadError: false) +0ms
kafka-node:KafkaClient ApiVersions failed with unexpected error { BrokerNotAvailableError: Broker not available                                                                                (socket closed)
at new BrokerNotAvailableError (/usr/users/zeni50/node_modules/kafka-node/lib/errors/BrokerNotAvailableError.j                                                                                s:11:9)
at Socket. (/usr/users/zeni50/node_modules/kafka-node/lib/kafkaClient.js:778:19)
at Socket.emit (events.js:182:13)
at TCP._handle.close (net.js:606:12) message: 'Broker not available (socket closed)' } +0ms
kafka-node:KafkaClient error initializing broker after connect { BrokerNotAvailableError: Broker not available (                                                                                socket closed)
at new BrokerNotAvailableError (/usr/users/zeni50/node_modules/kafka-node/lib/errors/BrokerNotAvailableError.j                                                                                s:11:9)
at Socket. (/usr/users/zeni50/node_modules/kafka-node/lib/kafkaClient.js:778:19)
at Socket.emit (events.js:182:13)
at TCP._handle.close (net.js:606:12) message: 'Broker not available (socket closed)' } +2ms
kafka-node:KafkaClient kafka-node-client reconnecting to xsecgihd001.se.shb.biz:52181 +999ms
kafka-node:KafkaClient kafka-node-client createBroker xsecgihd001.se.shb.biz:52181 +0ms
kafka-node:KafkaClient kafka-node-client sending versions request to xsecgihd001.se.shb.biz:52181 +1ms
kafka-node:Consumer connection closed +1ms
kafka-node:KafkaClient kafka-node-client socket closed xsecgihd001.se.shb.biz:52181 (hadError: false) +0ms
kafka-node:KafkaClient ApiVersions failed with unexpected error { BrokerNotAvailableError: Broker not available                                                                                (socket closed)
at new BrokerNotAvailableError (/usr/users/zeni50/node_modules/kafka-node/lib/errors/BrokerNotAvailableError.j                                                                                s:11:9)
at Socket. (/usr/users/zeni50/node_modules/kafka-node/lib/kafkaClient.js:778:19)
at Socket.emit (events.js:182:13)
at TCP._handle.close (net.js:606:12) message: 'Broker not available (socket closed)' } +0ms
kafka-node:KafkaClient error initializing broker after connect { BrokerNotAvailableError: Broker not available (                                                                                socket closed)
at new BrokerNotAvailableError (/usr/users/zeni50/node_modules/kafka-node/lib/errors/BrokerNotAvailableError.j                                                                                s:11:9)
at Socket. (/usr/users/zeni50/node_modules/kafka-node/lib/kafkaClient.js:778:19)
at Socket.emit (events.js:182:13)
at TCP._handle.close (net.js:606:12) message: 'Broker not available (socket closed)' } +1ms
kafka-node:KafkaClient kafka-node-client reconnecting to xsecgihd001.se.shb.biz:52181 +1s
kafka-node:KafkaClient kafka-node-client createBroker xsecgihd001.se.shb.biz:52181 +0ms
kafka-node:KafkaClient kafka-node-client sending versions request to xsecgihd001.se.shb.biz:52181 +1ms
kafka-node:Consumer connection closed +1ms
kafka-node:KafkaClient kafka-node-client socket closed xsecgihd001.se.shb.biz:52181 (hadError: false) +0ms
kafka-node:KafkaClient ApiVersions failed with unexpected error { BrokerNotAvailableError: Broker not available                                                                                (socket closed)
at new BrokerNotAvailableError (/usr/users/zeni50/node_modules/kafka-node/lib/errors/BrokerNotAvailableError.j                                                                                s:11:9)
at Socket. (/usr/users/zeni50/node_modules/kafka-node/lib/kafkaClient.js:778:19)
at Socket.emit (events.js:182:13)
at TCP._handle.close (net.js:606:12) message: 'Broker not available (socket closed)' } +0ms
kafka-node:KafkaClient error initializing broker after connect { BrokerNotAvailableError: Broker not available (                                                                                socket closed)
at new BrokerNotAvailableError (/usr/users/zeni50/node_modules/kafka-node/lib/errors/BrokerNotAvailableError.j                                                                                s:11:9)
at Socket. (/usr/users/zeni50/node_modules/kafka-node/lib/kafkaClient.js:778:19)
at Socket.emit (events.js:182:13)
at TCP._handle.close (net.js:606:12) message: 'Broker not available (socket closed)' } +0ms
kafka-node:KafkaClient kafka-node-client reconnecting to xsecgihd001.se.shb.biz:52181 +1s
kafka-node:KafkaClient kafka-node-client createBroker xsecgihd001.se.shb.biz:52181 +0ms
kafka-node:KafkaClient kafka-node-client sending versions request to xsecgihd001.se.shb.biz:52181 +0ms
kafka-node:Consumer connection closed +1ms
kafka-node:KafkaClient kafka-node-client socket closed xsecgihd001.se.shb.biz:52181 (hadError: false) +0ms
kafka-node:KafkaClient ApiVersions failed with unexpected error { BrokerNotAvailableError: Broker not available                                                                                (socket closed)
at new BrokerNotAvailableError (/usr/users/zeni50/node_modules/kafka-node/lib/errors/BrokerNotAvailableError.j                                                                                s:11:9)
at Socket. (/usr/users/zeni50/node_modules/kafka-node/lib/kafkaClient.js:778:19)
at Socket.emit (events.js:182:13)
at TCP._handle.close (net.js:606:12) message: 'Broker not available (socket closed)' } +0ms
kafka-node:KafkaClient error initializing broker after connect { BrokerNotAvailableError: Broker not available (                                                                                socket closed)
at new BrokerNotAvailableError (/usr/users/zeni50/node_modules/kafka-node/lib/errors/BrokerNotAvailableError.j                                                                                s:11:9)
at Socket. (/usr/users/zeni50/node_modules/kafka-node/lib/kafkaClient.js:778:19)
at Socket.emit (events.js:182:13)
at TCP._handle.close (net.js:606:12) message: 'Broker not available (socket closed)' } +0ms
kafka-node:KafkaClient kafka-node-client reconnecting to xsecgihd001.se.shb.biz:52181 +1s
kafka-node:KafkaClient kafka-node-client createBroker xsecgihd001.se.shb.biz:52181 +1ms
kafka-node:KafkaClient kafka-node-client sending versions request to xsecgihd001.se.shb.biz:52181 +0ms
kafka-node:Consumer connection closed +1ms
kafka-node:KafkaClient kafka-node-client socket closed xsecgihd001.se.shb.biz:52181 (hadError: false) +0ms
kafka-node:KafkaClient ApiVersions failed with unexpected error { BrokerNotAvailableError: Broker not available                                                                                (socket closed)
at new BrokerNotAvailableError (/usr/users/zeni50/node_modules/kafka-node/lib/errors/BrokerNotAvailableError.j                                                                                s:11:9)
at Socket. (/usr/users/zeni50/node_modules/kafka-node/lib/kafkaClient.js:778:19)
at Socket.emit (events.js:182:13)
at TCP._handle.close (net.js:606:12) message: 'Broker not available (socket closed)' } +0ms
kafka-node:KafkaClient error initializing broker after connect { BrokerNotAvailableError: Broker not available (                                                                                socket closed)
at new BrokerNotAvailableError (/usr/users/zeni50/node_modules/kafka-node/lib/errors/BrokerNotAvailableError.j                                                                                s:11:9)
at Socket. (/usr/users/zeni50/node_modules/kafka-node/lib/kafkaClient.js:778:19)
at Socket.emit (events.js:182:13)
at TCP._handle.close (net.js:606:12) message: 'Broker not available (socket closed)' } +0ms
kafka-node:KafkaClient kafka-node-client reconnecting to xsecgihd001.se.shb.biz:52181 +1s
kafka-node:KafkaClient kafka-node-client createBroker xsecgihd001.se.shb.biz:52181 +0ms
kafka-node:KafkaClient kafka-node-client sending versions request to xsecgihd001.se.shb.biz:52181 +1ms
kafka-node:Consumer connection closed +1ms
kafka-node:KafkaClient kafka-node-client socket closed xsecgihd001.se.shb.biz:52181 (hadError: false) +0ms
kafka-node:KafkaClient ApiVersions failed with unexpected error { BrokerNotAvailableError: Broker not available                                                                                (socket closed)
at new BrokerNotAvailableError (/usr/users/zeni50/node_modules/kafka-node/lib/errors/BrokerNotAvailableError.j                                                                                s:11:9)
at Socket. (/usr/users/zeni50/node_modules/kafka-node/lib/kafkaClient.js:778:19)
at Socket.emit (events.js:182:13)
at TCP._handle.close (net.js:606:12) message: 'Broker not available (socket closed)' } +0ms
kafka-node:KafkaClient error initializing broker after connect { BrokerNotAvailableError: Broker not available (                                                                                socket closed)
at new BrokerNotAvailableError (/usr/users/zeni50/node_modules/kafka-node/lib/errors/BrokerNotAvailableError.j                                                                                s:11:9)
at Socket. (/usr/users/zeni50/node_modules/kafka-node/lib/kafkaClient.js:778:19)
at Socket.emit (events.js:182:13)
at TCP._handle.close (net.js:606:12) message: 'Broker not available (socket closed)' } +0ms
kafka-node:KafkaClient kafka-node-client reconnecting to xsecgihd001.se.shb.biz:52181 +1s
kafka-node:KafkaClient kafka-node-client createBroker xsecgihd001.se.shb.biz:52181 +0ms
kafka-node:KafkaClient kafka-node-client sending versions request to xsecgihd001.se.shb.biz:52181 +1ms
kafka-node:Consumer connection closed +1ms
kafka-node:KafkaClient kafka-node-client socket closed xsecgihd001.se.shb.biz:52181 (hadError: false) +0ms
kafka-node:KafkaClient ApiVersions failed with unexpected error { BrokerNotAvailableError: Broker not available                                                                                (socket closed)
at new BrokerNotAvailableError (/usr/users/zeni50/node_modules/kafka-node/lib/errors/BrokerNotAvailableError.j                                                                                s:11:9)
at Socket. (/usr/users/zeni50/node_modules/kafka-node/lib/kafkaClient.js:778:19)
at Socket.emit (events.js:182:13)
at TCP._handle.close (net.js:606:12) message: 'Broker not available (socket closed)' } +0ms
kafka-node:KafkaClient error initializing broker after connect { BrokerNotAvailableError: Broker not available (                                                                                socket closed)
at new BrokerNotAvailableError (/usr/users/zeni50/node_modules/kafka-node/lib/errors/BrokerNotAvailableError.j                                                                                s:11:9)
at Socket. (/usr/users/zeni50/node_modules/kafka-node/lib/kafkaClient.js:778:19)
at Socket.emit (events.js:182:13)
at TCP._handle.close (net.js:606:12) message: 'Broker not available (socket closed)' } +0ms
kafka-node:KafkaClient kafka-node-client reconnecting to xsecgihd001.se.shb.biz:52181 +1s
kafka-node:KafkaClient kafka-node-client createBroker xsecgihd001.se.shb.biz:52181 +0ms
kafka-node:KafkaClient kafka-node-client sending versions request to xsecgihd001.se.shb.biz:52181 +1ms
kafka-node:Consumer connection closed +1ms
kafka-node:KafkaClient kafka-node-client socket closed xsecgihd001.se.shb.biz:52181 (hadError: false) +0ms
kafka-node:KafkaClient ApiVersions failed with unexpected error { BrokerNotAvailableError: Broker not available                                                                                (socket closed)
at new BrokerNotAvailableError (/usr/users/zeni50/node_modules/kafka-node/lib/errors/BrokerNotAvailableError.j                                                                                s:11:9)
at Socket. (/usr/users/zeni50/node_modules/kafka-node/lib/kafkaClient.js:778:19)
at Socket.emit (events.js:182:13)
at TCP._handle.close (net.js:606:12) message: 'Broker not available (socket closed)' } +0ms
kafka-node:KafkaClient error initializing broker after connect { BrokerNotAvailableError: Broker not available (                                                                                socket closed)
at new BrokerNotAvailableError (/usr/users/zeni50/node_modules/kafka-node/lib/errors/BrokerNotAvailableError.j                                                                                s:11:9)
at Socket. (/usr/users/zeni50/node_modules/kafka-node/lib/kafkaClient.js:778:19)
at Socket.emit (events.js:182:13)
at TCP._handle.close (net.js:606:12) message: 'Broker not available (socket closed)' } +0ms
kafka-node:KafkaClient kafka-node-client reconnecting to xsecgihd001.se.shb.biz:52181 +1s
kafka-node:KafkaClient kafka-node-client createBroker xsecgihd001.se.shb.biz:52181 +0ms
kafka-node:KafkaClient kafka-node-client sending versions request to xsecgihd001.se.shb.biz:52181 +1ms
kafka-node:Consumer connection closed +1ms
kafka-node:KafkaClient kafka-node-client socket closed xsecgihd001.se.shb.biz:52181 (hadError: false) +0ms
kafka-node:KafkaClient ApiVersions failed with unexpected error { BrokerNotAvailableError: Broker not available                                                                                (socket closed)
at new BrokerNotAvailableError (/usr/users/zeni50/node_modules/kafka-node/lib/errors/BrokerNotAvailableError.j                                                                                s:11:9)
at Socket. (/usr/users/zeni50/node_modules/kafka-node/lib/kafkaClient.js:778:19)
at Socket.emit (events.js:182:13)
at TCP._handle.close (net.js:606:12) message: 'Broker not available (socket closed)' } +0ms
kafka-node:KafkaClient error initializing broker after connect { BrokerNotAvailableError: Broker not available (                                                                                socket closed)
at new BrokerNotAvailableError (/usr/users/zeni50/node_modules/kafka-node/lib/errors/BrokerNotAvailableError.j                                                                                s:11:9)
at Socket. (/usr/users/zeni50/node_modules/kafka-node/lib/kafkaClient.js:778:19)
at Socket.emit (events.js:182:13)
at TCP._handle.close (net.js:606:12) message: 'Broker not available (socket closed)' } +0ms
kafka-node:KafkaClient kafka-node-client reconnecting to xsecgihd001.se.shb.biz:52181 +1s
kafka-node:KafkaClient kafka-node-client createBroker xsecgihd001.se.shb.biz:52181 +0ms
kafka-node:KafkaClient kafka-node-client sending versions request to xsecgihd001.se.shb.biz:52181 +1ms
kafka-node:Consumer connection closed +1ms
kafka-node:KafkaClient kafka-node-client socket closed xsecgihd001.se.shb.biz:52181 (hadError: false) +0ms
kafka-node:KafkaClient ApiVersions failed with unexpected error { BrokerNotAvailableError: Broker not available                                                                                (socket closed)
at new BrokerNotAvailableError (/usr/users/zeni50/node_modules/kafka-node/lib/errors/BrokerNotAvailableError.j                                                                                s:11:9)
at Socket. (/usr/users/zeni50/node_modules/kafka-node/lib/kafkaClient.js:778:19)
at Socket.emit (events.js:182:13)
at TCP._handle.close (net.js:606:12) message: 'Broker not available (socket closed)' } +0ms
kafka-node:KafkaClient error initializing broker after connect { BrokerNotAvailableError: Broker not available (                                                                                socket closed)
at new BrokerNotAvailableError (/usr/users/zeni50/node_modules/kafka-node/lib/errors/BrokerNotAvailableError.j                                                                                s:11:9)
at Socket. (/usr/users/zeni50/node_modules/kafka-node/lib/kafkaClient.js:778:19)
at Socket.emit (events.js:182:13)
at TCP._handle.close (net.js:606:12) message: 'Broker not available (socket closed)' } +0ms

Looks like the broker is disconnecting your socket. I've seen this happen when trying to connect to a TLS port and it's not enabled in the client.

I tested the option ssl: true but then I got other error messages.
So then I changed to kafkaHost: 'xsecgihd001.se.shb.biz:59092' (another port). This resulted in the cgihKafkaConsumer.showTopics(); giving output as expected!
However, still I don't get any output which I expect from cgihKafkaConsumer.onTermPublishEvent.
When I run the kafka tool
./kafka-console-consumer.sh --zookeeper xsecgihd001.se.shb.biz:52181 --topic IgcUnifiedGovEvents
I get message outputs:
{"XMETA_TYPE":"GlossaryExtensions.BusinessTerm","ACTION":"APPROVE","TIMESTAMP":"1556188964204","ASSET_TYPE":"Term","eventType":"KNOWLEDGE_GRAPH","USER":"ZENI50","WORKFLOW":"true","ASSET_RID":"6662fff2.e1b1ec6c.25cmkauut.3ehhk3d.fa6ftk.ubak6849uufsce18csl8n"}
But in the same time I get no output at all from my script show-term-publications.js.
Do you understand why?

kafkaHost should only be assigned the address to the kafka broker not zookeeper. This module no longer supports zookeeper based connections.
I'm not sure what you are trying to do with onTermPublishEvent. Take a look at examples in the examples folder in this project. Also, I would recommend you use for ConsumerGroup which is a higher level consumer. Good luck.

When I switched to use ConsumerGroup instead of Consumer I got it working.
I guess the problem I had before was that there was another consumer (in the same group for some reason) reading messages posted to the topic. When I specified my own group I got the messages.
constructor() {
	let kafka = require('kafka-node');
	let ConsumerGroup = kafka.ConsumerGroup;
	this.consumer = new ConsumerGroup({ kafkaHost: 'xsecgih001.se.shb.biz:59092', groupId: 'nils-group' },'IgcUnifiedGovEvents');
}


SnippetString choices are prefixed with typed text instead of replacing

If you use a choice in a snippet string like this:
const ss = new vs.SnippetString("${1|one,two,three|} = xxx");
await editor.insertSnippet(ss, new vs.Range(document.positionAt(startPos), document.positionAt(endPos)));

It appears like this:

The cursor is before the text, which means if I start typing I get this (one remains after where I'm typing):

It does correctly delete the whole lot when you select one, but it looks really wonky and if you want to type a value that's not in the choice list, you end up having to delete the pre-inserted text afterwards.
I think the snippet should be selected and over-typed if I start typing.

Acknowledged but the fix is to complex/risky given this has been reported only once

Recent refactorings made this easy to implement. Now, the default value is all selected and can be overtyped without using "choice-mode"
https://user-images.githubusercontent.com/1794099/160393709-06fb172b-3984-4472-b680-7f480c712ce2.mov

Thanks! I was just recently improving the snippet support in Dart, so being able to include suggestions without the issue here will be neat :-)

Merged, next insiders is likely to arrive end of week

Verified that the cursor is now at the beginning.
Selecting an entry jumps to the next snippet position.


Feature/text coloring

With this pull request, the GUI has been updated to include a scrollbar for easier navigation through the text editor while testing the coloring feature.


I have no protos dic

using "protoc ./mint/protos/*.proto", I got a error:"Missing output directives."

same problem.


Wrong diagnostic with async throws property

To Reproduce
struct A {
    var p: Int {
        async get throws { return 0 }
    }
}

Expected behavior

Fix-it to replace async get throws with get async throws

Actual behavior
error: repl.swift:3:9: error: found 'async' in expression; did you mean 'await'?
        async get throws {
        ^~~~~
        await

error: repl.swift:3:19: error: 'throws' may only occur before '->'
        async get throws {
                  ^

Environment

OS: macOS 13.0 beta 1
Swift version: 5.7 (swiftlang-<IP_ADDRESS>.202 clang-14<IP_ADDRESS>)

@etcwilde FYI this is still broken on Swift 6.


Parallel benchmarks should be run on ocaml/ocaml#trunk

The parallel benchmarks are only being run on the 5.00+domains variant which points to ocaml-multicore/ocaml-multicore#5.00. This branch is no longer in development since multicore is merged with upstream OCaml. The parallel benchmarks should now be run on ocaml/ocaml#trunk. No need to run the benchmarks on ocaml-multicore/ocaml-multicore#5.00 hereafter.
CC @shubhamkumar13 @shakthimaan.

Currently sandmark-nightly is using ocaml trunk to run the parallel benchmarks

and the drone ci on the main branch also uses trunk for parallel runs -> https://github.com/ocaml-bench/sandmark/blob/f43f30a059b0b4c387fe4b49341660320aa47322/.drone.yml#L82-L108


wasm32-wasi: Use __errno_location instead of feature(thread_local).

Recent versions of wasi-libc provide an __errno_location function which returns the address of errno, similar to other platforms. Change the errno crate to use that, instead of using the unstable feature(thread_local).
At the moment, only Rust nightly has a new enough wasi-libc to support this, however it's not a regression because the feature(thread_local) already dependend on nightly. In the future, the newer wasi-libc will be in stable Rust too, making this work on stable.

Thanks!

@sunfishcode for the record this wasi update you are referring to is that this PR? That PR will be included in 1.68.0, which is already the next release.

@est31 Yes, the wasi-libc version in that PR has the __errno_location function.


docs(sbb-map-container): use sbb-form-field-clear component in example

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (main@0ee530c). Click here to learn what that means.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2288   +/-   ##
=======================================
  Coverage        ?   95.99%
=======================================
  Files           ?      334
  Lines           ?    38774
  Branches        ?     2227
=======================================
  Hits            ?    37222
  Misses          ?     1509
  Partials        ?       43

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


After logging in I am redirected to login page when refreshing the page

Environment

Operating System: Linux
Node Version:     v21.7.3
Nuxt Version:     3.11.2
CLI Version:      3.11.1
Nitro Version:    2.9.6
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      vite, typescript, devtools, app, pwa, modules, formkit, wcmcUserManagement, i18n, tailwindcss, build, runtimeConfig, experimental, alias, dirs, css
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
Refresh Page after logging in
Describe the bug
Settings for nuxt-auth
{
      isEnabled: true,
      baseURL: process.env.AUTH_ORIGIN,
      provider: {
        type: 'authjs'
      },
      globalAppMiddleware: {
        isEnabled: true,
        allow404WithoutAuth: true
      }
    }

I am experiencing a weird behaviour that after logging in if I don't refresh the page everything works fine.
However, once I refresh the page then I can see from browser dev tool the value of __Host-next-auth.csrf-token keeps changing then it redirects me to the login page and becomes unauthenticated but it does now keep changing when running in dev mode
I found a solution from another post it did help a bit when so when I have following on my page then it remaining authenticated after refreshing the page but still redirects me to login page
const { getSession } = useAuth()
onMounted(() => {
  getSession({ force: true })
})

Additional context
nuxt-auth versions used  6.3, 7.0, 7.1, 7.2
I have the globalAppMiddleware set to true and I noticed that when const { status } = useAuth();  is called in middleware
<EMAIL_ADDRESS>status returns unauthenticated then it redirects me to the sign in page but I am already signed in at the point.
Reason of the behaviour -- updated on 21May
After some investigations that I found out because I have Nginx reverse proxy.
So Nginx appends the header of "x-forwarded-proto": "HTTP"
if I force that to be "x-forwarded-proto": "HTTPS" then everything works fine again so it was "x-forwarded-proto" causing the issue I was wondering if anyone knows the reason behind this?
Logs
No response

I have the same issue with refresh. Super super frustrating.

I have the same issue with refresh. Super super frustrating.

have you tried to add x-forwarded-proto: https from your proxy manager?
to help debug
I also tried to copy the codes in the middleware
<EMAIL_ADDRESS>and create my own global middleware in my Nuxt to see where was the problem that's where I found status becomes unauthenticated in the middleware when x-forwarded-proto header has HTTP as the value

I have the same issue with refresh. Super super frustrating.

have you tried to add x-forwarded-proto: https from your proxy manager?
to help debug
I also tried to copy the codes in the middleware<EMAIL_ADDRESS>and use the code in the file to recreate my own global middleware in my Nuxt to see all values and to see where was the problem that's where I found status becomes unauthenticated in the middleware when x-forwarded-proto header has HTTP as the value
make sure you have this structure 01.xxxxxx.global.ts as the file name so it can be triggered before anything else + globally

I have not enabled the globalMiddleware from sidebase-auth settings.
I also don't have a reverse proxy, although I do have a server proxy that redirects http to https.
It exactly checks if x-forwarded-proto is HTTP and redirects to https if it is. But I can't seem to be able to trigger that case even if I explicitly use http in the request.
I'm dealing with this in production. Whenever I deploy my app, everything is fine, people log in and stay logged in across refreshs. But after a couple of hours, it's your post happening all over again.

If you're using just local and github login, you can consider using https://www.npmjs.com/package/@workmate/nuxt-auth

This is quite an important issue on quite a basic requirement.
#744 and #743 and #732 seem to be the same problem.
Can someone please look into this?

Have you tried using @workmate/nuxt-auth module. It doesn't support many strategies yet, but if the ones they are supporting are the ones that you're using, you can check them out https://www.npmjs.com/package/@workmate/nuxt-auth

Hi everyone 👋
I completely understand your frustration with this issue! We had already begun investigating a similar issue in #732 (as mentioned by @mbellamyy) and had pushed some changes in the 0.8.0-alpha.2 release.
For housekeeping reasons, I would close this issue for now, please test the new alpha release and add any further comments in #732!


Update Morbo.pm

Fixed typo.

I'm afraid that is not a typo.

Would changing it to map { -f -r $_ ? $_ : files $_ } make it less confusing?
@Arseny-N: You can read more about _ here: https://metacpan.org/pod/distribution/perl/pod/perlfunc.pod#X-FILEHANDLE (a couple of paragraphs down)

Funny I was about to reply that you needed a newer perl for that but ...
https://metacpan.org/pod/perl5100delta#Stacked-filetest-operators
On Fri, Sep 16, 2016, 5:52 AM Jan Henning Thorsen<EMAIL_ADDRESS>wrote:

Would changing it to map { -f -r $_ ? $_ : files $_ } make it less
confusing?
@Arseny-N https://github.com/Arseny-N: You can read more about _ here:
https://metacpan.org/pod/distribution/perl/pod/perlfunc.pod#X-FILEHANDLE
(a couple of paragraphs down)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kraih/mojo/pull/998#issuecomment-247572561, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAs6FUHrU1yK-NFUtnrnD48k5SGgCBR0ks5qqnT2gaJpZM4J92M-
.

Oh! Thanks for the links.   @jhthorsen, yes it would be less confusing since it will not look like a typo, but if it will introduce some dependency on the perl version, then I think a  comment, containing a googlable phrase  would be good enough.


dotnet tool restore  Argument is Unclear

I am quite confused by this section in the documentation for dotnet tool restore: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-tool-restore#arguments.
Specifically:

PACKAGE_NAME
Name/ID of the NuGet package that contains the .NET Core tool to install.

I had assumed this meant if I had a tools manifest like so:
{
  "version": 1,
  "isRoot": true,
  "tools": {
    "swashbuckle.aspnetcore.cli": {
      "version": "5.3.1",
      "commands": [
        "swagger"
      ]
    }
  }
}

I could run dotnet tool restore swashbuckle.aspnetcore.cli to restore the version of swashbuckle.aspnetcore.cli specified in the tools file. However, that does not appear to be the case.

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

ID: 198e4c22-ac0b-61de-3ae1-221a73957843
Version Independent ID: 0873ec7c-9134-138c-97dd-ef96ca31ef23
Content: dotnet tool restore command - .NET Core CLI
Content Source: docs/core/tools/dotnet-tool-restore.md
Product: dotnet-core
Technology: dotnet-cli
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

You're right, package_name doesn't belong there, I'll remove it.  The command finds the manifest file in scope or you can specify the manifest file with the --tool-manifest option.


gettoken leads to error: Uncaught exception at #getToken java.lang.IllegalArgumentException: Please set your project ID.

I did not update my android app since a month.
But today following error came up the first time.
Uncaught exception at #getToken
java.lang.IllegalArgumentException: Please set your project ID.
E/ReflectiveCordovaPlugin: Uncaught exception at #getToken
java.lang.IllegalArgumentException: Please set your project ID. A valid Firebase project ID is required to communicate with Firebase server APIs: It identifies your project with Google.
at com.google.android.gms.common.internal.Preconditions.checkNotEmpty(Unknown Source:8)
Is there any versioning combination necessary or is there a new version from firestore side in place which requires this information?
I found this error text at the firebase sdk library
https://github.com/firebase/firebase-android-sdk/blob/master/firebase-installations/src/main/java/com/google/firebase/installations/FirebaseInstallations.java

some update:
Seems to have been related to my gradle files.
I cleaned them up and followed the official firebase instructions
https://firebase.google.com/docs/android/setup?hl=sr


[ENH] Release on workshop

Wouldn't it be good if we can just download it on the workshop instead of manually downloading it from Github ourselves?

I happened to bump into this old issue only now, thanks for suggesting it!
As for your suggestion: Garry's Mod doesn't allow publishing .dll files to the workshop (and that's a good thing for security reasons).
For reference, you can see which files are allowed to be published here on the wiki. Since the requested enhancement isn't possible, I'll close this issue.
Thanks for suggesting anyways!


Add tests/extras to gh actions workflows

Add another run in pytest.yml that installs the relevant extra deps  and runs pytest tests/extras so that we don't neglect these tests.

In future, when we have tests that depend on optional/extra deps, we should keep the tests in tests/main and skip the test when the corresponding import fails, e.g. how I just did this in test_vector_stores.py where I skip chroma test. In the main pytest.yml workflow, we install the extras using poetry install -E "chromadb,transformers" (as an example) so that the extra deps get included and the tests are comprehensive, including extra deps.


Firefox Incognito Link Opening

Hello everyone,
I just want to ask if there is a way that I can open links using Firefox incognito? Recently, I used this format here (as it also has been mentioned in the Firefox's official website).
    {       "Name": "Firefox",       "ExePath": "C:\\Program Files\\Mozilla Firefox\\firefox.exe",       "LaunchArgs": null,       "Hidden": false,       "AlternateLaunches": [ 	  { 		  "ItemName": "Incognito", 		  "LaunchArgs": "-private-window" 	  } 	  ]     },
Although this works when I open incognito mode without a link, it does not work as intended when you have a link and you choose Incognito in the Firefox Alternate Launcher. It goes to open the Non-Private Window and the link within that Non-Private Window, and it also opens the Private Window, but with an empty tab. I was looking for a workaround for this but really can't find anything. I do understand that this might be an error within Firefox's end, just wanted to make sure if someone has a workaround for this. Thanks! I am quite glad that this app is also being updated, keep it up! (*＾-＾*)

    {
      "Name": "Firefox Nightly",
      "ExePath": "C:\\Program Files\\Firefox Nightly\\firefox.exe",
      "LaunchArgs": "--private-window %URL%"
    },

This only works with v0.6.2 and only in browser LaunchArgs which only has %URL% variable support, something AlternateLaunches currently doesn't support (will add it in next version, couldn't add it in previous since I was just testing it)

Alright! Thanks this worked :)


OutOfMemory Error

Trying to join a single player world throws java.lang.OutOfMemoryError: Metaspace
Removing BDLib and the dependency resolves.
crash-2021-12-12_19.22.39-server.txt

This is error means JVM has ran out of RAM allowed for class metadata.
Normally there should be no limit on that, unless you (or your launcher) passes a -XX:MaxMetaspaceSize argument when running java.
So either increase or remove the limit there.


fixed type checking when class extends class with private fields

Description:
we previously only handled this case for interfaces, now we added the check to classes

Awesome, thank you! I was actually confused regarding why the CI failing :)


[Algorithm] Insertion Sort [Python]

To implement the insertion sort algorithm in python.
I've already implemented it in https://github.com/fnplus/interview-techdev-guide/pull/306

@jenistenxavier, please assign it to me.


Getting save errors with various class construtions

I'm still trying to tackle an example app and making progress in some directions but still failing to understand the fundamentals in this library so please know that I'm super appreciative of your patience. Once I figure this out I hope to make the example library very clear and runnable.
I'm trying to understand how best to construct classes using either the WithReflexiveMutator or TimestampedVersionedEntity. I've created the same basic class user with the two modalities and getting different errors.
I'd love to understand the errors, yes. But I'd also like to get a decent representation of both so I'm 100% open to feedback, critique, even eye-rolling and muttered swears.
Here's what I have so far: https://github.com/dgonzo/eventsourcing-kanban. See the README for the errors I'm seeing and the links to the relevant files.

I'll take a look ;-)

The first error follows from attempting to snapshot a Collection, which has a set, so can't be serialised with the default JSON encoder. So you can either extend the JSON encoder and decoder to support the type set. Or you can change the Collection to use a list, which is supported. Let's do the former, and then we can fix the default JSON encoder in the next version of the library to support sets.

The second error is a Python NameError, which follows from the exception class not being imported.

What's this?
hypothesis.errors.FailedHealthCheck: Data generation is extremely slow: Only produced 9 valid examples in 1.09 seconds (0 invalid ones and 0 exceeded maximum size). Try decreasing size of the data you're generating (with e.g.average_size or max_leaves parameters).
E                        See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for more information about this. If you want to disable just this health check, add HealthCheck.too_slow to the suppress_health_check settings for this test.

I just pushed some changes in PR to your repo.
https://github.com/dgonzo/eventsourcing-kanban/pull/1

One thought: about the UnitOfWork, I think it's a nice way to go, to instantiate the application object for each request. But unfortunately at the moment, if there are many threads, and if each constructs its own application object, each application will receive all event from every application currently instantiated, because the pub-sub mechanism uses a module level dict, so they aren't separated.
That means, unless we fix up the pub-sub mechanism, you will want to have only one application object per process.
There might be a better way to do it, such as scoping the subscriptions and the publication of events to be scoped either to a thread or a request (like SQLAlchemy). But at the moment, it's perhaps best to just have one application object. So "unit of work" might not be the best name for the application.... I suggest keeping the "unit of work" but have it use an application object that is constructed once in the process, after it starts but before any requests are handled (to avoid race conditions in setting up the application object).
FWIW I tried to write about this in the documentation, here:
http://eventsourcing.readthedocs.io/en/v3.0.0/topics/user_guide/deployment.html#application-object

If it helps, you can think of the Application object as "configuration", it's really just picking options. It's not really so different from defining a namedtuple, it's Python code that can run once before your code "really" starts.

@johnbywater thank you.


Suggestions

shuffle Datasets randomly:  Since we are using mini batches with specific batch size, it is important to shuffle for each epoch to have different data for each batch.  Look at this paper : https://arxiv.org/pdf/1709.10432.pdf
add batch normalization function in python : here good post which explain whey we need batch normalization : https://towardsdatascience.com/batch-normalization-in-neural-networks-1ac91516821c
up /down sampling : in order to remove imbalanced problem there is two ways to do that either up sampling the classes with less number of samples or down sample the classes with more number of samples. That means , make the number of samples in all classes are the same . look at this post: https://stats.stackexchange.com/questions/122409/why-downsample
and this
http://www.simafore.com/blog/handling-unbalanced-data-machine-learning-models

From Yuhao: 1) No need to shuffle the dataset. 2) ResNet does the batch normalization.

No longer required to be fixed for this project.


How do I obtain the payload Data in the TCP layer？

Hello，Bro
I'm just learning how to use this library and I'm having some problems
I want to extract the TCPpayload from the captured data in wireshark and wrote some code that mimicked the sample code on github but was not very effective
_https://github.dev/slytechs-repos/jnetpcap-examples_  example_3
In the last output array, starting from the 57th byte is the payload of TCP, but I don't know what the first 56 bytes are. How can I directly extract the data I want from the MemorySegment packet?
I would appreciate it if you would reply at your leisure
PcapUtils.toHexCurleyString(array, 56, array.length - 56)
void main() throws PcapException {
        /* Pcap capture file to read */
        final String PCAP_FILE = "/Users/fuqiang/IdeaProjects/Study/java-base/code-test/wireshark/shark-001.pcapng";

        /* Make sure we have a compatible Pcap runtime installed */
        Pcap.checkPcapVersion(Pcap.VERSION);

        /* Automatically close Pcap resource when done */
        try (PcapPro pcap = PcapPro.openOffline(PCAP_FILE)) {

            /* Compile packet filter to capture TCP packets only */
            BpFilter filter = pcap.compile("tcp dst port 7090", true);

            /* Set our packet filter and start the capture */
            pcap.setFilter(filter);

            /* Number of packets to capture */
            final int PACKET_COUNT = 10;

            /* Send packets to handler. The generic user parameter can be of any type. */
            pcap.dispatch(PACKET_COUNT, this::nextPacket, "Example 3");
        }
    }

    /** Our packet handler */
    void nextPacket(String user, MemorySegment hdr, MemorySegment packet) {

        PcapHeader header = new PcapHeader(hdr);
        byte[] hdrs = MemorySegment.ofAddress(hdr.address(), header.headerLength(), hdr.session())
                .toArray(ValueLayout.JAVA_BYTE);
        // MemorySegment contains packet data, accessible using new java's FF API
        byte[] array = MemorySegment
                .ofAddress(packet.address(), header.captureLength(), packet.session())
                .toArray(ValueLayout.JAVA_BYTE);

        System.out.printf("hdrs = %s  | pkgs = %s %n",
                PcapUtils.toHexCurleyString(hdrs, 0, hdrs.length),
                PcapUtils.toHexCurleyString(array, 0, array.length));
        System.out.printf("%s: timestamp=%s, wirelen=%-4d caplen=%-4d load=%s  headerlen=%s %s %n ",
                user,
                Instant.ofEpochMilli(header.toEpochMilli()),
                header.wireLength(),
                header.captureLength(),
                array.length,
                header.headerLength(),
                PcapUtils.toHexCurleyString(array, 56, array.length - 56)
                );
    }

The entire packet is in the byte array. So the 1st 56 bytes are at the beginning of your array.
PcapUtils.toHexCurleyString(array, 0, 57)

The entire packet is in the byte array. So the 1st 56 bytes are at the beginning of your array.
PcapUtils.toHexCurleyString(array, 0, 57)

Thank you for your answer, But I'm sorry, maybe I didn't get that right. What I want now is to extract the actual transmission data from the TCP layer, ignore SYN packets and ACK packets and other useless messages in the transmission process Is there a neat and elegant way to call it directly instead of using byte subscripts?
The pseudocode is as follows
if (packet instance of tcp && packet.hasPayload()) {
    byte[] payload = packet.getPayload();
    file.write(payload);
}

I think what you want is jNetPcap-Pro library. It is protocol enabled and much friendlier to use. It has the TCP header definition you are looking for.

note: The base pcap library just lets you work with raw packets. It is designed to correctly instrument the native libpcap library which comes with no higher level protocol functions.

我想你想要的是 jNetPcap-Pro 库。它启用了协议并且使用起来更加友好。它具有您要查找的 TCP 标头定义。

注意：基础 pcap 库只允许您处理原始数据包。它旨在正确检测没有更高级别协议功能的本机 libpcap 库。

Thank you very much for your answer. I will go to learn JnetPcap Pro


How to add loading message and disable click outside

Hi I like your lightbox, I found it is responsive and not over bloated. I have a few questions if you wouldn't mind.

I can see a loading message in the script, but my javascript is not that good, so wanted know how can I enable the loading message everytime a iframe is being loaded? At the present moment the screen is blank till the iframe loads

How to disable clicking outside of iframe to close.

Ok so looks like it was some css and js editing. Without editing the js file. I added the options to
template: '' and removed the data-lity-close attr from the litly-wrap and made the content css transparent so can see the loading message. So all is almost there except one problem, there is a big time gap between the loading message being removed and the iframe being displaying 2-3 seconds delay.
Is there anyway to get the loading message to disappear only when the iframe is loaded?

No, sorry. The iFrame is added instantly and loads. You would have to have the loading message inside the iframe.

cool what about making the iframe fullscreen, whilst most other plugins can run
style="border: 0; position:fixed; top:0; left:0; right:0; bottom:0; width:100%; height:100%
to make it full screen, thats not working here and there seems to be automatic resizing taking place via js

That's not possible unfortunately. IMHO, you could just open a new window/tab in this case ;)


feat: Add queryKey to QueryObserverResult

When using useQueries it personally makes me nervous that you have
to rely on the array order to remap the queryKeys. By passing the
queryKey back through into the QueryObserverResult, this remapping
can more easily be done by the code that does the result
processing.
This feature was suggested here:
https://github.com/tannerlinsley/react-query/discussions/2624#discussioncomment-1344889
Disclaimer: This is my first contribution to react-query so please let me know if I didn't follow any required conventions.

Moving this to a draft to prevent accidental merges while we work through the issue in the comments.

not going to merge this for now. What you can always do is relay everything back via the queryFn, like:
const results = useQueries(array.map(x => ({
  queryKey: ['foo', x],
  queryFn: async ({ queryKey }) => {
    const { data } = await api.goFetchMyData(...)
    return { ...data, queryKey }
  }
})))

that way, queryKey or whatever else you want will be available in results.map(x => x.data.queryKey))
hope that helps!


Added logic for processing reader arcs

as well as tests for the parsing and the fire logic.
The parsing was already implemented but now the matrix is built and the logic for firing with reader arcs was added.

This change is

src/Petri/PTPetriNet.java, line 9 at r1 (raw file):

	 * @see PetriNet#PetriNet(Place[], Transition[], Arc[], Integer[], Integer[][], Integer[][], Integer[][])
	 */
	public PTPetriNet(Place[] _places, Transition[] _transitions, Arc[] _arcs, Integer[] _initialMarking,

We have a constructor for:

PetriNet with no special arcs
PetriNet with inhibition and reset arcs
PetriNet with inhibition, reset and reader arcs.

I think we need to fix that, different contructors for different type of arcs, or other solution.

Comments from Reviewable

src/Petri/TimedPetriNet.java, line 13 at r1 (raw file):

	 * @see PetriNet#PetriNet(Place[], Transition[], Arc[], Integer[], Integer[][], Integer[][], Integer[][])
	 */
	public TimedPetriNet(Place[] _places, Transition[] _transitions, Arc[] _arcs, Integer[] _initialMarking,

Same as above

Comments from Reviewable

test/unit_tests/PNMLreaderTestSuite.java, line 469 at r1 (raw file):

	/**
	 * <li> Given p2 feeds t2 with a read arc </li>

reader arc*

Comments from Reviewable

We can add another case, testing if there is a reset or inhibitor arc, and a reder arc with the same target transition, the parser throws an error

Comments from Reviewable

Review status: 0 of 8 files reviewed at latest revision, 2 unresolved discussions.

src/Petri/PTPetriNet.java, line 9 at r1 (raw file):
Previously, mauriludemann (Mauri) wrote…
> We have a constructor for:
> - PetriNet with no special arcs
> - PetriNet with inhibition and reset arcs
> - PetriNet with inhibition, reset and reader arcs.
>
> I think we need to fix that, different contructors for different type of arcs, or other solution.

If you want different constructors for every kind of petri this solution is just fine. But I was thinking maybe there are a lot of different constructors. What happens if the user just put null on the constructor parameters he don't want to use?. I know it's not clean, but the guy doesn't have to learn how to use 10 different constructors. Again, it's just an opinion.

Comments from Reviewable

Reviewed 8 of 8 files at r1.
Review status: all files reviewed at latest revision, 2 unresolved discussions.

Comments from Reviewable

Review status: all files reviewed at latest revision, 2 unresolved discussions.

src/Petri/PTPetriNet.java, line 9 at r1 (raw file):
Previously, juanjoarce7456 wrote…
> If you want different constructors for every kind of petri this solution is just fine. But I was thinking maybe there are a lot of different constructors. What happens if the user just put null on the constructor parameters he don't want to use?. I know it's not clean, but the guy doesn't have to learn how to use 10 different constructors. Again, it's just an opinion.

You're right, I'll simplify this

Comments from Reviewable

Review status: 4 of 8 files reviewed at latest revision, 3 unresolved discussions.

src/Petri/TimedPetriNet.java, line 13 at r1 (raw file):
Previously, mauriludemann (Mauri) wrote…
> Same as above

Done.

test/unit_tests/PNMLreaderTestSuite.java, line 469 at r1 (raw file):
Previously, mauriludemann (Mauri) wrote…
> reader arc*

Done.

Comments from Reviewable

Review status: 4 of 8 files reviewed at latest revision, 2 unresolved discussions.

Comments from Reviewable

Reviewed 4 of 4 files at r2.
Review status: all files reviewed at latest revision, 2 unresolved discussions.

Comments from Reviewable

Reviewed 8 of 8 files at r1.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable


fix: ensure main content area uses all available height

When there is not enough content to fill the page, dark mode looks awful as half the page is white.
See here --> https://mosaic-mosaic-dev-team.vercel.app/mosaic/author/index

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 63.246%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1305

Relevant Lines:
1801

💛  - Coveralls

Should the footer also stick to the bottom?

Should the footer also stick to the bottom?

Not with the current design...next design will have a full-width footer than sticks to the bottom of the page


BUGFIX: only attach to touchmove.scrollable event if DOM is present, fixes FastBoot integration

Only listen to touchmove.scrollable with the document context if a DOM is present.  This currently breaks with FastBoot.

Verified this fix, is there any reason not to merge it?

Build is broken due to chrome installation issues...

This PR should fix the Travis' Chrome issues.

LGTM
@homu r+

:pushpin: Commit 46ff1f1 has been approved by poteto

:hourglass: Testing commit 46ff1f1 with merge a256f17...

:sunny: Test successful - status

Included in 2.0.6


Bug in setParameter method if the parameter is boolean

I was trying to implement the python bindings for the YarpImplementation of the ParameterHandler. While I was writing the tests I noticed that there is a bug in the setParameter method when a boolean is passed as parameter.
Indeed when I try to call the getParameter method the following error is thrown
[2021-05-24 15:43:46.880] [thread: 71068] [blf] [error] [BipedalLocomotion::YarpUtilities::getElementFromSearchable] The value named: flag is not a bool.

https://github.com/dic-iit/bipedal-locomotion-framework/blob/baebbb6686585117d8bc3920cd8725416f116f7f/src/YarpUtilities/include/BipedalLocomotion/YarpUtilities/Helper.tpp#L79-L85
I also created a commit where the test in c++ fails https://github.com/dic-iit/bipedal-locomotion-framework/commit/4561cead4cf579096162fc7ca0b66ea860288c0d
Printing the content of the parameters handler I got the following string. Notice that flag is 1 and not True
(answer_to_the_ultimate_question_of_life 42) (pi 3.14000000000000012434) (John Smith) (flag 1) ("Fibonacci Numbers" (1 1 2 3 5 8 13 21))

This bug does not appear if the configuration is loaded in the configuration file.
cc @traversaro and @S-Dafarra

I guess it is some problem of implicit overloading?

I would suggest checking if this happens also with direct yarp calls. I suspect that this is happening when converting a boolean to string with to_string inside yarp.

The problem seems related to yarp: https://github.com/robotology/yarp/issues/2584


Do something when room does not exist

Currently when the user opens an old tab or reloads the page after a server restart, the socket fails to connect but that error is not made visible to the user. We should change that.
One possible solution would be to show an error dialog which describes the error and has a button for creating a new room.

I like this solution


Updated node version for travis to test against

I'm tempted to remove iojs and 4.1 from this—thoughts?

What about letting them in till 4.3 or 4.4 comes out? It's not that long ago since both communities moved back together again.
It's cheap, doesn't cost you a thing and gives people assurance that it really works with their desired node version.

I'm convinced. Thanks!


Fix find_concordance() returning empty list for left_context

Patching #2088

[CI: retest]

Thanks @dnc1994 for the contribution! LGTM =)
BTW, since [CI: retest] hasn't worked on Travis. I've manually created a branch checkout to run the test on https://travis-ci.org/nltk/nltk/builds/429420483

Thanks @dnc1994


Tell me how to open multiple tabs simultaneously in the browser?

Is it possible open multiple tabs in one browser?
I use code:
foreach ($url as $value){
$driver->get($value);
$driver->manage()->deleteAllCookies();
$driver->manage()->addCookie(array(
  'name' => 'cookie_name',
  'value' => 'cookie_value',
));
$cookies = $driver->manage()->getCookies();
//end
}

But when you open new tab it will kill the old I need to open 3 tabs in parallel, do not tell me is that possible to do? examine any, even the most unusual ways.

@StasToken Hi, have look to similar question on StackOverflow. Hope it helps! https://stackoverflow.com/questions/35391009/open-new-tab-in-chrome-using-selenium-facebook-php-webdriver

It's not really helped me, their example does not work gives quite strange error: PHP Notice:  Use of undefined constant CONTROL - assumed 'CONTROL'  And opening new tabs is not happening...

replace code $kbd->sendKeys(WebDriverKeys::CONTROL,'t'); Error is gone but the tab still doesn't open


Print compiler arguments before starting stress testing

I found this super useful to reproce stress tester failures because that way you don’t need to wait for the stress tester run to finish to get the compiler arguments of a file that’s failing.

@swift-ci Please test

Seems pretty spammy, could we add a verbose mode? Also, would it be better to output them only if there's a failure rather than for all?

It is super spammy, but has also been so useful that I had this change applied locally for about half a year. I think it might no longer be needed with https://github.com/apple/swift-stress-tester/pull/196. I’ll close it for now and re-open if I discover that I still want this kind of information.


Promise rejection without error in instance.orders.create()

Steps to reproduce the behavior
try {
        const response = await razorpay.orders.create({
          amount: amount * 100,
          currency: "INR",
        });
        return {
          amount: response.amount,
          currency: response.currency,
          orderId: response.id,
        };
      } catch (e) {
        console.log(e);
        throw new TRPCError({
          code: "INTERNAL_SERVER_ERROR",
        });
      }

  `(node:15211) Warning: a promise was rejected with a non-error: [object Object]`
  Logging the error returns `{ statusCode: undefined, error: undefined }`.

Expected behavior
Should return the error if there is any.
Actual behavior
Sometimes the promise resolves itself without any error and sometimes it doesn't.
Code snippets
No response
Node version
v20.8.0
Library version
razorpay 2.9.2
Additional Information
No response

Im facing the similar error, it doesnot work on the first click but subsequent clicks work fine:
`	const razorpay = new Razorpay({
key_id: req.body.keyId,
key_secret: req.body.KeySecret,
});
// setting up options for razorpay order.
const options = {
	amount: req.body.amount,
	currency: req.body.currency,
	receipt: 'receipt_' + new Date().getTime(),
	notes: {},
	//payment_capture: 1,
};
console.log(options);
try {
	const response = await razorpay.orders.create(options);
	console.log('Response:', response);
	// Now you can access the `response` object and its properties
	if (response.status === 'created') {
		// Handle the successful order creation
		res.json({
			razor_order_id: response.id,
			currency: response.currency,
			amount: response.amount,
		});
	} else {
		throw Error('Order Cancelled');
	}
} catch (err) {
	console.log(err);
	res.status(400).send(err);
}`

Error:
TypeError: Cannot read properties of undefined (reading 'status')
[0]     at normalizeError (/node_modules/razorpay/dist/api.js:40:30)


feat: improve replication reliability with transaction acknowledgment

Add proper error handling and transaction acknowledgment in the WAL replication system. Changes include:

Propagate errors through event processing chain
Only acknowledge transactions after successful processing
Track and update WAL positions correctly
Add debug logging for WAL position updates

This improves system reliability by ensuring consistent transaction processing and maintaining accurate WAL positions.
closes #73

Spicy decisions

handlers must return :ok or {:ok, term} or it's considered an error scenario.
once a handler returns an error state the transaction stops, no other handlers are processed for that tx. Partially processed wal logs seems like a bad idea.

I think as written this would be a breaking change. People might have handlers returning stuff like nil and then it go boom. If that's a problem I could try to build opt in configs or we could just bump major.
I still want to add test cases for this behavior before coming out of draft.

Awesome, much appreciated contribution. I'll spend some time testing it.

I have a test case locally but postgres doesn't seem to behave like I expected. When I send back the old wal position its like okay cool. But never sends the messages again.
I'm not sure what to do when there is wal drift. Maybe disconnect? Also when should I disconnect if it's on the next keep alive then more messages could have processed and now we are in a weird state

I'm not sure what to do when there is wal drift. Maybe disconnect? Also when should I disconnect if it's on the next keep alive then more messages could have processed and now we are in a weird state

That's a good question. Any opinion @chasers @DaemonSnake ?

I'm not sure what to do when there is wal drift. Maybe disconnect? Also when should I disconnect if it's on the next keep alive then more messages could have processed and now we are in a weird state

That's a good question. Any opinion @chasers @DaemonSnake ?

My instinct here having no experience with postgres replication 😁 is to immediately disconnect and reconnect on error from middleware.
Pro

Doing that gives me the option to specify the wal location I failed at. Allowing me to try again

Con

Depending on the error could just happen again putting you in a loop
I'm not sure but I'm not confident that temporary wal slots maintain old logs to be able to give you the message again. So message may not be resent

Other options would be

some sort of persisted buffer I maintain in publisher.ex and use for retries
don't try to recover crash process
only allow this behavior on durable slots

FYI I tried setting up something similar in the past but abandoned the idea as we found it to be somewhat buggy.
I looked back at our old implementation and also forgot the +1 so it's maybe just that.
There's a lot of unknowns for me on the impact of blocking postgres replication and how, in turns, it treats the replica.

I'm not sure what to do when there is wal drift. Maybe disconnect?

Drift how exactly?
If the replication slot is temporary then disconnecting and reconnecting will reset the replication state on Postgres and the wal for that slot will be deleted.
If the slot is permanent then you will still have to catch up.
There may be valid reasons for both setups. eg if you're just busting caches a temporary slot is probably fine, but if you're replicating a table and you want guarantees then you'll want to be able to catch up.

jfyi pg_logical_slot_peek_changes() could be useful for testing.
You have to call it from the replication slot connection.