[BUG] ERROR: *** no cameras available ***

Describe the bug
I'm trying to use a camera with Raspberry Pi Zero 2W and the new stack doesn't work on Bullseye.
What I found works:

Bullseye (64 bits) on a Pi 4 with the same camera
Buster or bullseye with the old stack on the Pi 0 2W, same camera

What I tried with no success:

Using 2 different Pi Zero 2W
Using bullseye 32 and 64 bits
Updating the kernel using rpi-update (that broke the wifi, so I couldn't try the camera)
Using the pi camera 1.3 and 2.

So I'm out of hope to make it work, it seems that libcamera doesn't work on bullseye+
pi Zero 2W.
Any idea what could be wrong? Thanks for any help!
Bug report
--------------------------------------------------------------------------------
libcamera-apps Bug Report
--------------------------------------------------------------------------------
Date: 21-02-2022 (22:07:59)
Command: /usr/bin/camera-bug-report -t 5 -o bug.txt -c libcamera-still -t 1000 -o test.jpg

--------------------------------------------------------------------------------
Hardware information
--------------------------------------------------------------------------------
** hostname **
piboat3

** cat /proc/cpuinfo **
processor	: 0
model name	: ARMv7 Processor rev 4 (v7l)
BogoMIPS	: 51.20
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 1
model name	: ARMv7 Processor rev 4 (v7l)
BogoMIPS	: 51.20
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 2
model name	: ARMv7 Processor rev 4 (v7l)
BogoMIPS	: 51.20
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 3
model name	: ARMv7 Processor rev 4 (v7l)
BogoMIPS	: 51.20
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

Hardware	: BCM2835
Revision	: 902120
Serial		:<PHONE_NUMBER>6990eb
Model		: Raspberry Pi Zero 2 W Rev 1.0

--------------------------------------------------------------------------------
Configuration
--------------------------------------------------------------------------------
** cat /boot/cmdline.txt **
console=tty1 root=PARTUUID=b3d50e68-02 rootfstype=ext4 fsck.repair=yes rootwait

** cat /boot/config.txt **
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
#dtparam=i2s=on
dtparam=spi=on

# Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Automatically load overlays for detected cameras
camera_auto_detect=1

# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# Disable compensation for displays with overscan
disable_overscan=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[all]

[pi4]
# Run as fast as firmware / board allows
arm_boost=1

[all]
enable_uart=1
gpu_mem=16

arm_freq=800

--------------------------------------------------------------------------------
Logs
--------------------------------------------------------------------------------
** dmesg **
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.92-v7+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1514 SMP Mon Jan 17 17:36:39 GMT 2022
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi Zero 2 W Rev 1.0
[    0.000000] random: fast init done
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x0ec00000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000001effffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000001effffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001effffff]
[    0.000000] On node 0 totalpages: 126976
[    0.000000]   DMA zone: 1116 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 126976 pages, LIFO batch:31
[    0.000000] percpu: Embedded 20 pages/cpu s50828 r8192 d22900 u81920
[    0.000000] pcpu-alloc: s50828 r8192 d22900 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 125860
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=Composite-1:720x480@60i smsc95xx.macaddr=B8:27:EB:69:90:EB vc_mem.mem_base=0x1fa00000 vc_mem.mem_size=0x20000000  console=tty1 root=PARTUUID=b3d50e68-02 rootfstype=ext4 fsck.repair=yes rootwait
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 223412K/507904K available (10240K kernel code, 1312K rwdata, 2952K rodata, 1024K init, 862K bss, 22348K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 32087 entries in 95 pages
[    0.000000] ftrace: allocated 95 pages with 6 groups
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] 	Rude variant of Tasks RCU enabled.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x3ac/0x580 with crng_init=1
[    0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns:<PHONE_NUMBER>67 ns
[    0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every<PHONE_NUMBER>078ns
[    0.000024] Switching to timer-based delay loop, resolution 52ns
[    0.000317] Console: colour dummy device 80x30
[    0.001139] printk: console [tty1] enabled
[    0.001209] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.001268] pid_max: default: 32768 minimum: 301
[    0.001475] LSM: Security Framework initializing
[    0.001729] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001776] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.003224] cgroup: Disabling memory control group subsystem
[    0.003518] CPU: Testing write buffer coherency: ok
[    0.004015] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.005237] Setting up static identity map for 0x100000 - 0x10003c
[    0.005447] rcu: Hierarchical SRCU implementation.
[    0.006373] smp: Bringing up secondary CPUs ...
[    0.007529] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.008804] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.009989] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.010146] smp: Brought up 1 node, 4 CPUs
[    0.010199] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.010230] CPU: All CPU(s) started in HYP mode.
[    0.010258] CPU: Virtualization extensions available.
[    0.011145] devtmpfs: initialized
[    0.029044] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.029334] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>2750000 ns
[    0.029395] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.040060] pinctrl core: initialized pinctrl subsystem
[    0.041256] NET: Registered protocol family 16
[    0.045260] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.051052] audit: initializing netlink subsys (disabled)
[    0.051365] audit: type=2000 audit(0.050:1): state=initialized audit_enabled=0 res=1
[    0.051948] thermal_sys: Registered thermal governor 'step_wise'
[    0.052879] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.052942] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.053251] Serial: AMBA PL011 UART driver
[    0.082000] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.100198] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-01-20T13:58:39, variant start_cd
[    0.110209] raspberrypi-firmware soc:firmware: Firmware hash is bd88f66f8952d34e4e0613a85c7a6d3da49e13e2
[    0.154937] Kprobes globally optimized
[    0.160139] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1
[    0.162454] SCSI subsystem initialized
[    0.162737] usbcore: registered new interface driver usbfs
[    0.162825] usbcore: registered new interface driver hub
[    0.162917] usbcore: registered new device driver usb
[    0.164883] clocksource: Switched to clocksource arch_sys_counter
[    1.883204] VFS: Disk quotas dquot_6.6.0
[    1.883345] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.883569] FS-Cache: Loaded
[    1.883850] CacheFiles: Loaded
[    1.884709] simple-framebuffer 1f953000.framebuffer: framebuffer at 0x1f953000, 0xa8c00 bytes, mapped to 0x(ptrval)
[    1.884762] simple-framebuffer 1f953000.framebuffer: format=r5g6b5, mode=720x480x16, linelength=1440
[    1.887968] Console: switching to colour frame buffer device 90x30
[    1.892542] simple-framebuffer 1f953000.framebuffer: fb0: simplefb registered!
[    1.905532] NET: Registered protocol family 2
[    1.907426] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.910797] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.914297] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    1.916193] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    1.918063] TCP: Hash tables configured (established 4096 bind 4096)
[    1.919957] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.921773] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.923796] NET: Registered protocol family 1
[    1.926339] RPC: Registered named UNIX socket transport module.
[    1.928104] RPC: Registered udp transport module.
[    1.929878] RPC: Registered tcp transport module.
[    1.931635] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.935200] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[    1.942565] Initialise system trusted keyrings
[    1.944600] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    1.955906] zbud: loaded
[    1.959791] FS-Cache: Netfs 'nfs' registered for caching
[    1.962431] NFS: Registering the id_resolver key type
[    1.964208] Key type id_resolver registered
[    1.965954] Key type id_legacy registered
[    1.967768] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.969458] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.972323] Key type asymmetric registered
[    1.973979] Asymmetric key parser 'x509' registered
[    1.975681] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    1.977321] io scheduler mq-deadline registered
[    1.978904] io scheduler kyber registered
[    1.987801] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    1.990159] bcm2835-aux-uart 3f215040.serial: there is not valid maps for state default
[    1.993806] bcm2835-rng 3f104000.rng: hwrng registered
[    1.996038] vc-mem: phys_addr:0x00000000 mem_base=0x1fa00000 mem_size:0x20000000(512 MiB)
[    2.000518] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    2.014327] brd: module loaded
[    2.028079] loop: module loaded
[    2.031632] Loading iSCSI transport class v2.0-870.
[    2.034952] libphy: Fixed MDIO Bus: probed
[    2.036854] usbcore: registered new interface driver lan78xx
[    2.038575] usbcore: registered new interface driver smsc95xx
[    2.040190] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    2.769984] Core Release: 2.80a
[    2.771565] Setting default values for core params
[    2.773164] Finished setting default values for core params
[    2.975163] Using Buffer DMA mode
[    2.976765] Periodic Transfer Interrupt Enhancement - disabled
[    2.978383] Multiprocessor Interrupt Enhancement - disabled
[    2.979987] OTG VER PARAM: 0, OTG VER FLAG: 0
[    2.981569] Dedicated Tx FIFOs mode

[    2.984096] WARN::dwc_otg_hcd_init:1074: FIQ DMA bounce buffers: virt = 8ed04000 dma = 0xced04000 len=9024
[    2.988718] FIQ FSM acceleration enabled for :
               Non-periodic Split Transactions
               Periodic Split Transactions
               High-Speed Isochronous Endpoints
               Interrupt/Control Split Transaction hack enabled
[    2.996083] dwc_otg: Microframe scheduler enabled

[    2.996158] WARN::hcd_init_fiq:457: FIQ on core 1

[    2.998833] WARN::hcd_init_fiq:458: FIQ ASM at 807cc05c length 36

[    3.001534] WARN::hcd_init_fiq:497: MPHI regs_base at 9f810000
[    3.004284] dwc_otg 3f980000.usb: DWC OTG Controller
[    3.005777] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    3.007277] dwc_otg 3f980000.usb: irq 89, io mem 0x00000000
[    3.008751] Init: Port Power? op_state=1
[    3.010169] Init: Power Port (0)
[    3.011908] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    3.014767] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.016313] usb usb1: Product: DWC OTG Controller
[    3.017816] usb usb1: Manufacturer: Linux 5.10.92-v7+ dwc_otg_hcd
[    3.019341] usb usb1: SerialNumber: 3f980000.usb
[    3.021600] hub 1-0:1.0: USB hub found
[    3.023136] hub 1-0:1.0: 1 port detected
[    3.025873] dwc_otg: FIQ enabled
[    3.025887] dwc_otg: NAK holdoff enabled
[    3.025899] dwc_otg: FIQ split-transaction FSM enabled
[    3.025916] Module dwc_common_port init
[    3.026217] usbcore: registered new interface driver usb-storage
[    3.028020] mousedev: PS/2 mouse device common for all mice
[    3.030889] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    3.034583] sdhci: Secure Digital Host Controller Interface driver
[    3.036189] sdhci: Copyright(c) Pierre Ossman
[    3.038551] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe
[    3.040807] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[    3.042681] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.045339] ledtrig-cpu: registered to indicate activity on CPUs
[    3.047259] hid: raw HID events driver (C) Jiri Kosina
[    3.048985] usbcore: registered new interface driver usbhid
[    3.050567] usbhid: USB HID core driver
[    3.057220] Initializing XFRM netlink socket
[    3.058824] NET: Registered protocol family 17
[    3.060491] Key type dns_resolver registered
[    3.062579] Registering SWP/SWPB emulation handler
[    3.064262] registered taskstats version 1
[    3.065849] Loading compiled-in X.509 certificates
[    3.068158] Key type ._fscrypt registered
[    3.069574] Key type .fscrypt registered
[    3.070946] Key type fscrypt-provisioning registered
[    3.084319] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    3.085910] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
[    3.091093] bcm2835-aux-uart 3f215040.serial: there is not valid maps for state default
[    3.093412] 3f215040.serial: ttyS0 at MMIO 0x3f215040 (irq = 86, base_baud = 50000000) is a 16550
[    3.097576] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    3.100892] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    3.102533] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[    3.129148] sdhost: log_buf @ (ptrval) (ced03000)
[    3.152080] Indeed it is in host mode hprt0 = 00021501
[    3.228119] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    3.231363] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    3.234565] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    3.236111] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    3.240529] of_cfs_init
[    3.242251] of_cfs_init: OK
[    3.244766] Waiting for root device PARTUUID=b3d50e68-02...
[    3.260547] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    3.263702] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    3.297262] mmc0: host does not support reading read-only switch, assuming write-enable
[    3.301408] mmc0: new high speed SDHC card at address 0001
[    3.304022] mmcblk0: mmc0:0001 EB1QT 29.8 GiB
[    3.308302]  mmcblk0: p1 p2
[    3.345642] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    3.347237] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    3.354937] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    3.355098] Indeed it is in host mode hprt0 = 00001101
[    3.434429] mmc1: new high speed SDIO card at address 0001
[    3.602636] usb 1-1: New USB device found, idVendor=0a46, idProduct=1269, bcdDevice= 1.01
[    3.605507] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.606986] usb 1-1: Product: DM9621A USB To FastEther
[    3.608467] usb 1-1: Manufacturer: DAVICOM
[    3.609922] usb 1-1: SerialNumber: 3bf8
[    4.000888] EXT4-fs (mmcblk0p2): recovery complete
[    4.019384] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    4.022443] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    4.032325] devtmpfs: mounted
[    4.041422] Freeing unused kernel memory: 1024K
[    4.043524] Run /sbin/init as init process
[    4.045146]   with arguments:
[    4.045158]     /sbin/init
[    4.045169]   with environment:
[    4.045180]     HOME=/
[    4.045191]     TERM=linux
[    4.575696] systemd[1]: System time before build time, advancing clock.
[    4.738861] NET: Registered protocol family 10
[    4.741943] Segment Routing with IPv6
[    4.812574] systemd[1]: systemd 247.3-6+rpi1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[    4.826872] systemd[1]: Detected architecture arm.
[    4.854471] systemd[1]: Set hostname to <piboat3>.
[    5.772453] random: crng init done
[    5.966216] systemd[1]: Queued start job for default target Graphical Interface.
[    6.019355] systemd[1]: Created slice system-getty.slice.
[    6.025741] systemd[1]: Created slice system-modprobe.slice.
[    6.031887] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    6.037866] systemd[1]: Created slice User and Session Slice.
[    6.042317] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    6.046901] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    6.052379] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    6.059185] systemd[1]: Reached target Local Encrypted Volumes.
[    6.064196] systemd[1]: Reached target Paths.
[    6.068748] systemd[1]: Reached target Slices.
[    6.073104] systemd[1]: Reached target Swap.
[    6.078850] systemd[1]: Listening on Syslog Socket.
[    6.083868] systemd[1]: Listening on fsck to fsckd communication Socket.
[    6.088735] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    6.094322] systemd[1]: Listening on Journal Audit Socket.
[    6.099443] systemd[1]: Listening on Journal Socket (/dev/log).
[    6.104715] systemd[1]: Listening on Journal Socket.
[    6.111072] systemd[1]: Listening on udev Control Socket.
[    6.116050] systemd[1]: Listening on udev Kernel Socket.
[    6.121130] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    6.179081] systemd[1]: Mounting POSIX Message Queue File System...
[    6.189351] systemd[1]: Mounting RPC Pipe File System...
[    6.200822] systemd[1]: Mounting Kernel Debug File System...
[    6.212136] systemd[1]: Mounting Kernel Trace File System...
[    6.217233] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[    6.234627] systemd[1]: Starting Restore / save the current clock...
[    6.247929] systemd[1]: Starting Set the console keyboard layout...
[    6.260408] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    6.275234] systemd[1]: Starting Load Kernel Module configfs...
[    6.286684] systemd[1]: Starting Load Kernel Module drm...
[    6.298586] systemd[1]: Starting Load Kernel Module fuse...
[    6.307851] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    6.314836] systemd[1]: Starting File System Check on Root Device...
[    6.339898] systemd[1]: Starting Journal Service...
[    6.360190] systemd[1]: Starting Load Kernel Modules...
[    6.372308] systemd[1]: Starting Coldplug All udev Devices...
[    6.395460] systemd[1]: Mounted POSIX Message Queue File System.
[    6.401031] systemd[1]: Mounted RPC Pipe File System.
[    6.406205] systemd[1]: Mounted Kernel Debug File System.
[    6.418317] systemd[1]: Mounted Kernel Trace File System.
[    6.426147] systemd[1]: Finished Restore / save the current clock.
[    6.433942] systemd[1]: Finished Create list of static device nodes for the current kernel.
[    6.443318] systemd[1]<EMAIL_ADDRESS>Succeeded.
[    6.454081] fuse: init (API version 7.32)
[    6.456604] systemd[1]: Finished Load Kernel Module configfs.
[    6.474524] systemd[1]: Mounting Kernel Configuration File System...
[    6.481592] i2c /dev entries driver
[    6.500659] systemd[1]: Started File System Check Daemon to report status.
[    6.518723] systemd[1]<EMAIL_ADDRESS>Succeeded.
[    6.522001] systemd[1]: Finished Load Kernel Module drm.
[    6.528958] systemd[1]<EMAIL_ADDRESS>Succeeded.
[    6.532443] systemd[1]: Finished Load Kernel Module fuse.
[    6.539923] systemd[1]: Finished Load Kernel Modules.
[    6.545232] systemd[1]: Mounted Kernel Configuration File System.
[    6.556206] systemd[1]: Mounting FUSE Control File System...
[    6.574308] systemd[1]: Starting Apply Kernel Variables...
[    6.588619] systemd[1]: Mounted FUSE Control File System.
[    6.647195] systemd[1]: Finished Apply Kernel Variables.
[    6.674344] systemd[1]: Started Journal Service.
[    6.925240] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    7.041733] systemd-journald[130]: Received client request to flush runtime journal.
[    7.088973] systemd-journald[130]: File /var/log/journal/7905cb2b4c7442b2899aea939d270d70/system.journal corrupted or uncleanly shut down, renaming and replacing.
[    8.398722] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    8.401377] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    8.401405] [vc_sm_connected_init]: start
[    8.405113] vc_sm_cma_vchi_init: failed to open VCHI service (-1)
[    8.405138] [vc_sm_connected_init]: failed to initialize shared memory service
[    8.414465] mc: Linux media interface: v0.10
[    8.469135] videodev: Linux video capture interface: v2.00
[    8.472537] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    8.475438] bcm2835_audio bcm2835_audio: there is not valid maps for state default
[    8.513575] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    8.513581] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    8.514502] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    8.526422] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    8.527816] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[    8.531245] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-1)
[    8.534693] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    8.545219] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-1)
[    8.545411] : Unregister from media controller
[    8.545429] (efault): Unregistering node (null)[0] device node /dev/video0
[    8.545444] (efault): Unregistering node (null)[0] device node /dev/video0
[    8.545458] (efault): Unregistering node (null)[0] device node /dev/video0
[    8.545472] (efault): Unregistering node (null)[0] device node /dev/video0
[    8.577622] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-1)
[    8.815064] i2c i2c-11: Added multiplexed i2c bus 0
[    8.816220] i2c i2c-11: Added multiplexed i2c bus 10
[    8.902433] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    9.021868] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    9.037809] dm9601: probe of 1-1:1.0 failed with error -22
[    9.041837] dm9601 1-1:1.1 eth0: register 'dm9601' at usb-3f980000.usb-1, Davicom DM96xx USB 10/100 Ethernet, 00:60:6e:b2:2b:ca
[    9.042154] usbcore: registered new interface driver dm9601
[    9.043846] cdc_ether: probe of 1-1:1.0 failed with error -16
[    9.043969] usbcore: registered new interface driver cdc_ether
[    9.061542] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[    9.165861] brcmfmac: F1 signature read @0x18000000=0x1542a9a6
[    9.167198] checking generic (1f953000 a8c00) vs hw (0 ffffffff)
[    9.167242] fb0: switching to vc4drmfb from simple
[    9.174609] Console: switching to colour dummy device 80x30
[    9.180746] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436-sdio for chip BCM43430/2
[    9.181422] usbcore: registered new interface driver brcmfmac
[    9.185843] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[    9.186899] Registered IR keymap rc-cec
[    9.187138] rc rc0: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0
[    9.187422] input: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0/input0
[    9.341817] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[    9.349394] Registered IR keymap rc-cec
[    9.349730] rc rc0: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0
[    9.350015] input: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0/input1
[    9.495613] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436-sdio for chip BCM43430/2
[    9.495783] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436-sdio for chip BCM43430/2
[    9.519062] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/2 wl0: Oct  9 2020 14:44:32 version <IP_ADDRESS> (test) (f149b32@shgit)  (r679549) FWID 01-f40f3270
[    9.776165] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[    9.777128] Registered IR keymap rc-cec
[    9.777380] rc rc0: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0
[    9.777680] input: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0/input2
[    9.899857] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[    9.904660] Registered IR keymap rc-cec
[    9.904999] rc rc0: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0
[    9.905335] input: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0/input3
[    9.916053] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4])
[    9.916578] vc4-drm soc:gpu: bound 3f004000.txp (ops vc4_txp_ops [vc4])
[    9.917093] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4])
[    9.917501] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4])
[    9.917951] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4])
[    9.918254] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4])
[    9.936205] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
[    9.936483] vc4-drm soc:gpu: [drm] Cannot find any crtc or sizes
[   10.142205] imx219 10-0010: Consider updating driver imx219 to match on endpoints
[   11.025167] 8021q: 802.1Q VLAN Support v1.8
[   11.285534] uart-pl011 3f201000.serial: no DMA platform data
[   11.565638] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
[   11.602463] dm9601 1-1:1.1 eth0: link up, 100Mbps, full-duplex, lpa 0xDDE1
[   11.606496] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   11.657976] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   17.646271] Bluetooth: Core ver 2.22
[   17.646413] NET: Registered protocol family 31
[   17.646427] Bluetooth: HCI device and connection manager initialized
[   17.646459] Bluetooth: HCI socket layer initialized
[   17.646481] Bluetooth: L2CAP socket layer initialized
[   17.646519] Bluetooth: SCO socket layer initialized
[   17.666073] Bluetooth: HCI UART driver ver 2.3
[   17.666097] Bluetooth: HCI UART protocol H4 registered
[   17.666229] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   17.666574] Bluetooth: HCI UART protocol Broadcom registered
[   18.317918] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   18.317935] Bluetooth: BNEP filters: protocol multicast
[   18.317958] Bluetooth: BNEP socket layer initialized
[   18.343440] NET: Registered protocol family 38
[   18.379497] cryptd: max_cpu_qlen set to 1000
[   20.315212] vc4-drm soc:gpu: [drm] Cannot find any crtc or sizes
[   26.272265] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[   26.279906] Bridge firewalling registered
[   33.660415] IPv6: ADDRCONF(NETDEV_CHANGE): uap0: link becomes ready
[   33.754928] cam1-reg: disabling
[   33.754948] cam-dummy-reg: disabling
[   62.674684] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   68.414616] ICMPv6: process `dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.wlan0.retrans_time - use net.ipv6.neigh.wlan0.retrans_time_ms instead

** sudo vcdbg log msg **
Unable to determine the value of __LOG_START
Unable to read logging_header from 0x00000000

** sudo vcdbg log assert **
Unable to determine the value of __LOG_START
Unable to read logging_header from 0x00000000

** sudo vcdbg log ex **
debug_sym: ReadVideoCoreMemoryBySymbol: Symbol not found: 'logging_exception_count'

--------------------------------------------------------------------------------
Memory
--------------------------------------------------------------------------------
** cat /proc/meminfo **
MemTotal:         486580 kB
MemFree:           92880 kB
MemAvailable:     352748 kB
Buffers:           21412 kB
Cached:           278116 kB
SwapCached:            0 kB
Active:           122056 kB
Inactive:         229760 kB
Active(anon):        504 kB
Inactive(anon):    52620 kB
Active(file):     121552 kB
Inactive(file):   177140 kB
Unevictable:          12 kB
Mlocked:              12 kB
SwapTotal:        102396 kB
SwapFree:         102396 kB
Dirty:               160 kB
Writeback:             0 kB
AnonPages:         52536 kB
Mapped:           100372 kB
Shmem:               732 kB
KReclaimable:      12464 kB
Slab:              25868 kB
SReclaimable:      12464 kB
SUnreclaim:        13404 kB
KernelStack:        1400 kB
PageTables:         1588 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      345684 kB
Committed_AS:     363880 kB
VmallocTotal:    1572864 kB
VmallocUsed:        6492 kB
VmallocChunk:          0 kB
Percpu:              528 kB
CmaTotal:         262144 kB
CmaFree:           46448 kB

** sudo cat /sys/kernel/debug/dma_buf/bufinfo **

Dma-buf Objects:
size    	flags   	mode    	count   	exp_name	ino

Total 0 objects, 0 bytes

** sudo cat /sys/kernel/debug/vcsm-cma/state **
cat: /sys/kernel/debug/vcsm-cma/state: No such file or directory

--------------------------------------------------------------------------------
Media Devices
--------------------------------------------------------------------------------
** media-ctl -d 0 -p **
Media controller API version 5.10.92

Media device information
------------------------
driver          unicam
model           unicam
serial
bus info        platform:3f801000.csi
hw revision     0x0
driver version  5.10.92

Device topology
- entity 1: imx219 10-0010 (2 pads, 2 links)
            type V4L2 subdev subtype Sensor flags 0
            device node name /dev/v4l-subdev0
	pad0: Source
		[fmt:SRGGB10_1X10/3280x2464 field:none colorspace:raw xfer:none ycbcr:601 quantization:full-range
		 crop.bounds:(8,8)/3280x2464
		 crop:(8,8)/3280x2464]
		-> "unicam-image":0 [ENABLED,IMMUTABLE]
	pad1: Source
		[fmt:unknown/16384x1 field:none
		 crop.bounds:(8,8)/3280x2464
		 crop:(8,8)/3280x2464]
		-> "unicam-embedded":0 [ENABLED,IMMUTABLE]

- entity 4: unicam-image (1 pad, 1 link)
            type Node subtype V4L flags 1
            device node name /dev/video0
	pad0: Sink
		<- "imx219 10-0010":0 [ENABLED,IMMUTABLE]

- entity 10: unicam-embedded (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video1
	pad0: Sink
		<- "imx219 10-0010":1 [ENABLED,IMMUTABLE]

** media-ctl -d 1 -p **
Failed to enumerate /dev/media1 (-2)

** media-ctl -d 2 -p **
Failed to enumerate /dev/media2 (-2)

** media-ctl -d 3 -p **
Failed to enumerate /dev/media3 (-2)

** media-ctl -d 4 -p **
Failed to enumerate /dev/media4 (-2)

--------------------------------------------------------------------------------
Cameras
--------------------------------------------------------------------------------
** libcamera-still --list-cameras **
[0:05:10.170749136] [1130]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3406-e96d0201
No cameras available!

Thanks a lot!
I was not aware of that. It would be nice to have that in a "troubleshooting" section in the doc, maybe?
I confirm it works, thanks a lot!

It works fine on an unmodified Bullseye image.
gpu_mem=16 in config.txt switches to the cutdown firmware, so removes all codecs, ISP, and memory sharing functionality, all of which libcamera relies on.

@6by9 I've had a few people ask me what they should now set for gpu_mem. Is there a specific minimum or recommended setting now that buffers are allocated on the CPU side? I always see wildly different values there perhaps where people change it ad-hoc.

It works fine on an unmodified Bullseye image.
gpu_mem=16 in config.txt switches to the cutdown firmware, so removes all codecs, ISP, and memory sharing functionality, all of which libcamera relies on.

@6by9 I've had a few people ask me what they should now set for gpu_mem. Is there a specific minimum or recommended setting now that buffers are allocated on the CPU side? I always see wildly different values there perhaps where people change it ad-hoc.

@6by9 In my specific case, I'm using the Pi0 headless, I'm just using GPU memory for DMA-based PWM (like in periph.io or pi-blaster). So it was kind of a no-brainer to reduce to the minimum. I'd be interested to know how much memory is required for libcamera, aas @kbingham mentionned.

IIRC Raspberry Pi OS has left the default gpu_mem alone as things like the video codecs still require it for internal buffer pools.
If just wanting to run libcamera without H264 or MJPEG codecs, then gpu_mem=32 is probably sufficient.
If you want to use the video codecs, then leaving it at the default (64MB on Pi0-1, and 80MB on Pi2-4) would be recommended.
sudo vcdbg reloc will tell you how much of the gpu_mem heap is in use at any instant in time.

Thanks a lot!


Lombok Annotation Conflict

Actual behavior (the bug)
I am trying to use an annotation of open api:
@OpenApis(Docs.MY_OPEN_API)
Where Docs is an enum that has a value that corresponds to an @OpenApi. This way I do not need write all the annotation in my controller.
While using this, i am also using lombok to create a constructor injecting dependencied withe guice:
@AllArgsConstructor(onConstructor = @__(@Inject))
But when Incompile, javac tell me:
error: cannot find symbol. symbol: class __
If I removed OpenApis annotation it works okay!
Expected behavior
All annotations works as expected all at once.
To Reproduce
Im am using:
openapi=5.6.3
javalin=5.6.3
guice=6.0.0
lombok=1.18.28
java=Correto-<IP_ADDRESS>.1
gradle=7.3
InteliJ
MacOS
Additional context
Intried with different versions but problem persist.

For what I


CN event stages showing on EN servers

Environment
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0
URL
https://penguin-stats.io/planner
Steps to reproduce

I selected that I needed Grindstone Pentahydrate from the list.
I clicked "Calculate" so that the system would tell me what stages to farm to get them.
The system told me to farm SV-6 (a stage not available in EN).

What is expected?
The system telling me what stages to farm on the EN server when I have EN servers selected.
What is actually happening?
It is giving me stages not available for EN (SV stages are from the new Ursus event in CN), despite me having EN selected as a server.

It is also impossible for me to de-select these stages from selection, as they do not appear in the "EXCLUDE STAGES" menu that is on the planner page.

Orion Cluster is also have this issue


AWS: Set hostname_override for minions, back to fully-qualified name

This is a stop-gap fix; we'd really like to use EC2 instance ids,
but that is blocked by #7092 or changing that health-check to not
assume that the node name is resolvable.
This stop-gap essentially reverts #7072 for AWS

LGTM. Can't say I understand the AWS stuff, but seems contained. Will merge on green.


Roadmap

Hi @lanthaler. Do you have any kind of roadmap for this tool? Is see some recent issues but no commit. Is this project still active?

Hi Théo, no I don't really have a roadmap apart from fully supporting the Hydra Core Vocabulary. Another thing I really wanted to do is to refactor and componetize it.
It is still active but I have very little time to work on it at the moment. Help is greatly welcome ;-P

Neither do I but it's definitely a project I'll keep in check and contribute to when I can :) I'm sort of interested to port it into a bundle for coupling it with DunglasApiBundle first but I'm sure this will lead to some new feature requests and new things.

Btw. if you are interested in Hydra you should consider joining the Hydra W3C Community Group. For details, see here: http://www.hydra-cg.com/#community

Thanks for the link :)


Adding a custom fish to the metal pool makes collector rods unobtainable

I made a personal mod that simply adds one fish to the metal pool for the metal detector, and caught every radiant fish, and the game wouldn't give me the quest until I disabled the mod I made.
I presume the game is expecting me to catch the custom fish as a radiant as well, but since it's obtained through the metal detector, that is impossible.

aware of this issue, forgot to log it in the todo list, not a high priority atm


feat(csi metrics): enable csi sidecar metrics

ref: https://github.com/longhorn/longhorn/issues/7938
enable csi sidecar metrics on port 8000

csi-attacher
csi-provisioner
csi-resizer
csi-snapshotter

Add k8s service to allow user to access the metrics through service.
cc @PhanLe1010

Hello @ChanYiLin
Could you explain a bit about why we need to create the service for the csi-* deployment? Ref https://github.com/longhorn/longhorn/pull/9033/files#diff-99e43a2d30e3793fcf9e5cee927b4f87b910cfeba11224a06d2d8d0f5b041fa5


Creating Users

Hi,
Currently, it's difficult to create new users automatically as postal make-user creates a prompt for user details. I would absolutely love it if we could enter the username/password/details as arguments.
For example,
postal make-user -fname Test -lname User -password pass -username testuser
Thanks!
Side Note: The password is insecure, as it can be seen while being entered as well as in the shell's history file, but the user can always change it after logging in. Probably a better way would be for a password to be automatically generated and output by the command.

I like both these ideas. I'll get them implemented soon.

You can use bash feature and pipe the standard input to directly create user.
printf<EMAIL_ADDRESS>| postal make-user

@adamcooke Any update on this?


LSP client is somehow cancelling the initialize request

VIM version
NVIM v0.3.2-77-g2b9fc9a13
Build type: RelWithDebInfo
Operating System: Centos 7
:ALEInfo
Current Filetype:
Available Linters: []
Enabled Linters: []
Suggested Fixers:
'remove_trailing_lines' - Remove all blank lines at the end of a file.
'trim_whitespace' - Remove all trailing whitespace characters at the end of every line.
Linter Variables:
Global Variables:
let g:ale_cache_executable_check_failures = v:null
let g:ale_change_sign_column_color = 0
let g:ale_command_wrapper = v:null
let g:ale_completion_delay = 100
let g:ale_completion_enabled = 1
let g:ale_completion_max_suggestions = 50
let g:ale_echo_cursor = 1
let g:ale_echo_msg_error_str = 'Error'
let g:ale_echo_msg_format = '%code: %%s'
let g:ale_echo_msg_info_str = 'Info'
let g:ale_echo_msg_warning_str = 'Warning'
let g:ale_enabled = 1
let g:ale_fix_on_save = 1
let g:ale_fixers = {}
let g:ale_history_enabled = 1
let g:ale_history_log_output = 1
let g:ale_keep_list_window_open = 0
let g:ale_lint_delay = 200
let g:ale_lint_on_enter = 1
let g:ale_lint_on_filetype_changed = 1
let g:ale_lint_on_save = 1
let g:ale_lint_on_text_changed = 'always'
let g:ale_lint_on_insert_leave = 0
let g:ale_linter_aliases = {}
let g:ale_linters = {}
let g:ale_linters_explicit = 0
let g:ale_list_window_size = 10
let g:ale_list_vertical = 0
let g:ale_loclist_msg_format = '%code: %%s'
let g:ale_max_buffer_history_size = 20
let g:ale_max_signs = -1
let g:ale_maximum_file_size = v:null
let g:ale_open_list = 0
let g:ale_pattern_options = v:null
let g:ale_pattern_options_enabled = v:null
let g:ale_set_balloons = 0
let g:ale_set_highlights = 1
let g:ale_set_loclist = 1
let g:ale_set_quickfix = 0
let g:ale_set_signs = 1
let g:ale_sign_column_always = 0
let g:ale_sign_error = '>>'
let g:ale_sign_info = '--'
let g:ale_sign_offset = 1000000
let g:ale_sign_style_error = '>>'
let g:ale_sign_style_warning = '--'
let g:ale_sign_warning = '--'
let g:ale_statusline_format = v:null
let g:ale_type_map = {}
let g:ale_use_global_executables = v:null
let g:ale_warn_about_trailing_blank_lines = 1
let g:ale_warn_about_trailing_whitespace = 1
Command History:
What went wrong
So I'm using yang-lsp - thanks for merging my pull request, and so quickly too! - and I'm seeing the server send this negative response to the initialize message:
{"jsonrpc":"2.0","id":1,"error":{"code":-32800,"message":"The request (id: 1, method: \u0027initialize\u0027) has been cancelled"}}

At first I assumed this was surely a bug on the server side: I'm using ALE happily with other servers whereas is my first time with yang-lsp, so I figured that the latter was more likely to be at fault.
However I've now tried with a couple of other language protocol clients - and they have no such problem with yang-lsp.  (Specifically: yangster and LanguageClient-neovim).
So it seems as though there's some sort of glitch in ALE during the early exchanges, that causes yang-lsp to behave this way.
I've also asked in theia-ide/yang-lsp#140 whether they can offer any insight as to what would cause the server to regard the request as cancelled - but at the moment it does look as though it is ALE rather than the server that is at fault.
Reproducing the bug
So far as I can see yang-lsp doesn't offer a convenient download so I'm afraid that repro involves building it first.  This is not hard: see here.
Then configure ALE to use yang_lsp for YANG files, and set ale_yang_lsp_executable = '/wherever/yang-lsp/yang-lsp/io.typefox.yang.diagram/build/install/yang-language-server/bin/yang-language-server'
There are some example YANG models here, clone that repository and touch yang.settings at the root.
Then open one of the yang files - eg yang-models/dell-base-acl.yang and :set ft=yang.

Do you mean: that the client is sending a second request before getting a response to the initialize?  I don't think that's happening - and if it were, well, clients shouldn't behave that way.

Until the server has responded to the initialize request with an InitializeResult, the client must not send any additional requests or notifications to the server.

I was cleaning up some code, and I remembered that ALE doesn't send any messages until the init response comes back. What ALE does is put messages after initialize in a queue and send them right after the response comes back.

Closing this in favour of #2295.


stack.java: Add Stack Data Structure

This adds Stack Data Structure with the pop and push features.
Closes https://github.com/fnplus/interview-techdev-guide/issues/72

Thanks for contributions.


revise categories with families and family of sets

I am checking out categorical semantics of type theories recently and got bumped into this concept of categories with families as a framework to model dependent type theories.
I think there is one immediate limitation of the notion implemented currently. the current implementation relies on a functor to family of sets, where sets are identified by propositional equality. however, in actual type theories, we have beta and eta equivalences, which are natural to define as equivalence relation. I think it might be worth reworking family of sets, so that sets are identified up to equivalence, resulting, again, setoids.

Absolutely - it was an early error of mine to base this on raw Set. Only later understanding made it clear that it should be on Setoid.  Thankfully, the early paper of Dybjer where CwF was defined, he worked out the Setoid case too.  I've even got code somewhere for most of it, but it has likely bit-rotted.

The following two papers references might be quite helpful here:

Categories with Families: Unityped, Simply Typed, and Dependently Typed
Section 1.1 of Presheaf Models of Relational Modalities in Dependent Type Theory

So I might have managed CwF in the Setoid case (in a branch), just. I tried to do Pi types, and that didn't work - the needed transports are beyond me. I'm kind of thinking of taking CwF out of the library completely. I think the 'right' way to do these will follow a different route. There's a bunch of different things out there that are related, maybe one of them would fit better.
Opinions?

sure that sounds about right. CwFs are fundamentally set theoretic, so a type theoretic framework won't go through smoothly (though I think it will still be possible and probably easier in a cubical setting).


Questions about PWConv

First of all thank you for your outstanding work! Here I have some questions about modules for you:
I find that in GroupGLKA and SGAB in the code, the PWConv of the two paths are not two different convolution cores, but torch.chunk is used to cut the same convolution kernel when the number of channels is X2. Is this inconsistent with the module schematic diagram given in the paper?

Looking forward to your reply!

These two (1: PWConv(n,2*n) then chunk; 2: two PWConv(n,n)) should be equivalent, I think.

Ok, thanks for getting back to me on such short notice.


How can me make language diversity.

What is your expect?
In here i am 100% sure we can diverse the languages by adding out vim file or local settings for sure. But as i see know repo seems to dedicated for specifically go. But since i start to use it i like the idea and the organisation of the repo i felt like i am using it years. Easy to change anything in vim context again so you do not need to learn any new thing specifically to that repo.
And i easily implement LSP for java. And then also implement cTags for groovy for listing my class attributes and worked perfect.
So you know most of the time for adapting your language to an editor with plugins need to apply many in-depended changes.
In here i would like to discuss with you guys how can we make a structure to integrate different languages in this setup.

For example by implementing java lsp you should run this command :CocInstall coc-java it is super easy to do but could make super sense i.e. if we can provide a list with languages for Coc intiations.

Another thing after i implemented the lsp for java i see that my tag bar not worked for groovy so what i did. I search for it and update universal taglib with the .ctags of groovy then refresh my ctags on my project and also add some custome code to my local_settings.vim script and boom it worked. But again how can we make this in a single command or as a dependency of language activatio list that i mentioned above?

But again i would like to have these features again staying in vim context. I mean not introducing new data structures etc.
Thanks.

@emeentag  cause this repo is my config .i write the go python js react. this repo i want provide a samll and reasonable and fatest startup time configruation fram。 Programming language is so much，i cant add every language into this repo . i  wont make this repo to be a second SpaceVim you know its too heavy. you can add any language which you used by coc. its very easy. cause the coc is very stronger .i hope you can grasp this config .and edit it to be your own confiig .
not ThinkVim. its yours. a config that belong to you.
by the way ,i will add some practical feature plugins . cause these plugins can help anyone .

The programming language used by most people is limited, and adding a lot of programming language support will make this repo very large, although it is easy to implement through coc. But each person who uses it does not want to see something unrelated to him appear in his configuration.

Actually what i try to say here think about a dein window to list all available CoC lsps and make them available by selecting them?

you can see this pic.the list is extensions that coc provide .

but most of program languages coc does not provide. you need  config it in coc-settings.json
see this pic

so  its very difficult to implement.  but for coc extensions ,you can use this extensions  https://github.com/fannheyward/coc-marketplace,it wil show all coc extensions in vim and you can select them to install


Attachments not visible in archived memos

Describe the bug
When a memo is archived, its attachments are no longer visible in the UI. This appears to be unintended behavior as archived memos should maintain all their content including attachments, just like regular memos.
Steps to reproduce

Create a new memo with one or more attachments
Archive the memo using the archive function
View the archived memo
Notice that the attachments are not shown

The version of Memos you're using.
v0.22.5
Screenshots or additional context

not stale


Allow setting --allow-external and --allow-unverified

With pip 1.5 you need to explicitly allow external sources for certain pip packages. This pull request allows you to set allow_external and allow_unverified as arrays in the django block.

No longer needed as package installs are handled more directly.


set service-url required to false, service-url is not required if ena…

Fixes #9126
Master Issue: #
Motivation
there is --url required restriction for adding cluster if TLS is enabled, here we only need the --url-secure/--broker-url-secure params
Modifications
set service-url required to false, service-url is not required if enable TLS for pulsar cluster.
Verifying this change

[ ] Make sure that the change passes the CI checks.

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

@dockerzhang Can you rebase your pull request to the latest master to include the changes fixing the broken master?

@dockerzhang Can you rebase your pull request to the latest master to include the changes fixing the broken master?

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

@dockerzhang
Now that this option is no more required, what happens to the user if he does not provide this option in command that need it ?

@dockerzhang
Now that this option is no more required, what happens to the user if he does not provide this option in command that need it ?

@eolivelli It is the same situation when you use TLS URLs but you don't specify TLS URLs in the cluster metadata. Geo replication will fail at that time.

@eolivelli It is the same situation when you use TLS URLs but you don't specify TLS URLs in the cluster metadata. Geo replication will fail at that time.

@sijie got it. Thanks for your clarification

@sijie got it. Thanks for your clarification


[fix] remove destructor in mutex

Mutex destructor is used to as a fail safe to release locks in case process is terminated unexpectedly, this is not really needed and could lead to errors
* The actual lock provider responsible for releasing the lock could be destructed before the mutex, during shutdown there is no guarantee in order of which objects are destructed
* All lock providers extend the LockAbstaract class which already has a destructor responsible for freeing locks in case of failure
* Throwig exception in the destructor is not a good idea, doing so triggers a fatal error

@arvenil can you check this please?

@skalenji You need to remove the destructor on NinjaMutex\Lock\LockAbstract too.


event enable should enable all events as per the model

event enable should enable all events as per the model, but rx_rate_threshold needs to be enabled for dataplane convergence
    config.advanced.event.enable = True
    config.advanced.event.rx_rate_threshold.enable = True
    config.advanced.event.rx_rate_threshold.threshold = 90

    config.advanced.convergence.enable = True

script:
https://github.com/open-traffic-generator/snappi-tests/pull/15

@ANISH-GOTTAPU could you please double check

Done


gRPC does not support Python 3.8

What version of gRPC and what language are you using?
grpcio = 1.21.1
python = 3.8.0.a4
What operating system (Linux, Windows,...) and version?
Fedora Release 29
What runtime / compiler are you using (e.g. python version or version of gcc)
Python 3.8.0a4
gcc (GCC) 8.3.1 20190223 (Red Hat 8.3.1-2)
cpp (GCC) 8.3.1 20190223 (Red Hat 8.3.1-2)
What did you do?
created virtualenv with Python 3.8.0a4, enabled it, then run:
pip install grpcio
What did you expect to see?
grpcio wheel successfully built and installed
What did you see instead?
Output of the command with omitted parts:
Building wheels for collected packages: grpcio
  Building wheel for grpcio (setup.py) ... error
  ERROR: Complete output from command /home/rpittau/test/test-python38/bin/python3.8 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-dg_hwzjx/grpcio/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-q9bhc9d9 --python-tag cp38:
  ERROR: Found cython-generated files...

[...]

cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++
  src/python/grpcio/grpc/_cython/cygrpc.cpp: In function ‘int __Pyx_InitCachedConstants()’:
  src/python/grpcio/grpc/_cython/cygrpc.cpp:64116:90: error: invalid conversion from ‘PyObject*’ {aka ‘_object*’} to ‘int’ [-fpermissive]

Anything else we should know about your project / environment?
pip version 19.1.1

I was able to reproduce by compiling cpython 3.8.0a4 from source from a Fedora container. Digging into the issue.

So, this apparently comes down to the fact that some C level function signatures have changed in 3.8 due to PEP 570. The problem is happening within Cython. They recently dealt with this issue and have releases with the fix. Unfortunately, our Cython version is currently pinned back due to some existing issues. We'll have to work through those in order to resolve this issue. Lucky for us, cpython 3.8 doesn't release until October. We'll also need to make sure to add a Python 3.8 test along with this fix.
@elfosardo Thanks for being forward-looking. :smile:

@gnossen my pleasure :D
thanks for confirming, I was hoping this to be just another PEBCAK issue, hopefully the issue with Cython will be resolved soon

FYI built latest master using Python 3.8.0.a4, system libs and uncapped Cython and it seems working
export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=True
export GRPC_PYTHON_BUILD_SYSTEM_CARES=TRUE
export GRPC_PYTHON_BUILD_SYSTEM_CARES=True
python setup.py build -v
[...]
building 'grpc._cython.cygrpc' extension
[...]
copying python_build/lib.linux-x86_64-3.8/grpc/_cython/cygrpc.cpython-38-x86_64-linux-gnu.so -> src/python/grpcio/grpc/_cython


Unnecessary instantiation of clazz if includeManifest is disabled in KryoSerializerBackend

Hello,
I am debugging an issue with Kryo deserialization using Artery and includeManifest is set to false. When deserializing any object I can find that manifest is "" and therefore clazz always becomes a Failure(ClassNotFoundException("")) since it cannot find a proper class for the value "". Since our system is network-heavy, we are seeing this consuming more CPU than expected (throwing exception is usually expensive and should be avoided if possible):

The actual issue seems to be here:
https://github.com/altoo-ag/akka-kryo-serialization/blob/c5b2ed24bece3fd00275eef6d8364ad1f54837b6/akka-kryo-serialization/src/main/scala/io/altoo/akka/serialization/kryo/KryoSerializerBackend.scala#L74-L84
I am happy to open a PR to solve the issue once I get confirmation this should be changed.

Hi @hveiga
Your absolutely right - clazz should be initialized only within the if clause! Good catch.
Would be nice if you could supply a PR. Thx!

I'll do it shortly, thanks for the confirmation!

Thanks for responding and merging so quick, greatly appreciated. Could we get this change released on 2.5.1 some time soon?

Thx for finding the issue - this benefits everybody...
I guess we'll create a bugfix for this one right away - should be in maven central by tomorrow...


Official document (PEP?) your tests are based on?

Is there an official document your tests are based on?
Or are this tests your "opinion"?
Let me give you an example.
I got the message The classifiers should specify what Python versions you support. or The classifiers should specify what minor versions of Python you support as well as what major version..
IMHO using classifiers to specificy the supported version is not a good idea and redundant.
[project]
# ...
requires-python = ">=3.8"
# ...
classifiers = [
    "Programming Language :: Python :: 3.8"
# ...

You see there are two places where I can specify the Python version. And pyroma does make them mandatory. I have to use both fields to make pyroma happy. 😃
I also asked on setuptools about an official document.
References:

https://packaging.python.org/en/latest/specifications/core-metadata/#core-metadata-classifier
https://packaging.python.org/en/latest/specifications/core-metadata/#core-metadata-requires-python

No, there is no official document, just best practices. Yes, indeed you need to use both. One just specified a minimum, the other one is useful to specify which versions are officially supported.
Also, "happy" is up to you. There is no requirement to get full marks, it's entirely up to you if you want to implement pyroma recommendations or not. :-D

Like @regebro said, Pyroma has little to do with "mandatory requirements", and rather with generally-agreed but inherently at least somewhat opinionated best practices. You can set a specific score at which Pyroma will pass or fail (exit 0 or 1) with the -n/--min CLI argument, and #69 is open to allow disabling specific checks; PRs welcome. And if you just want to check your pyproject.toml metadata and configuration against the specifications in the relevant PEPs (517, 518, 621, etc), then validate-pyproject may fit your needs better; backends like Setuptools run it automatically when building your project, and as discussed in #94 , we could add it as a preliminary check here before running the backend, to provide more informative output on user errors like the one in that issue.
Also, in regards to this specific issue, classifiers are particularly important to specify the upper bound that the package is actually tested to work against, without being a hard cap for the solver like requires_python (which causes a bunch of problems in practice). See this discussion on the official Packaging Discourse for more information and context there.

I also https://github.com/pypa/setuptools/discussions/3816 about an official document.

You might want to ask in the official Python Packaging Discourse instead, since this is spec/usage advice and not anything specific to the implementation in any one particular backend (like Setuptools).


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>

Coverage remained the same at 4.268% when pulling 16be45f33a289551247ecd9e585506bd2b22941d on template-sync-1 into 6e915095fed547670a6b4e394448c4d1beb9dfd5 on master.

Codecov Report

Merging #735 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #735   +/-   ##
======================================
  Coverage    5.38%   5.38%
======================================
  Files           2       2
  Lines         130     130
======================================
  Hits            7       7
  Misses        123     123

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 6e91509...a0a1e20. Read the comment docs.


ENH: improve epochs.plot (EEGLAB style plots)

Actuallys similar to plot raw, only show datasegments from epochs.

do you have a screen shot to illustrate?
On Tue, Jan 20, 2015 at 4:47 PM, Denis A. Engemann<EMAIL_ADDRESS>
wrote:

Actuallys similar to plot raw, only show datasegments from epochs.
—
Reply to this email directly or view it on GitHub
https://github.com/mne-tools/mne-python/issues/1749.

Here (from the FASTER paper) used to select bad epochs.

Would be pretty easy and another conrtrib that removes more lines than it adds (recycling the plot_raw) ;-)

so just calling plot_raw on np.concatenate(epochs.get_data(), axis=0) ?
and adding the red colors?

... just adding the event markers instead. From the current  epochs.plot we still have the bad epoch slection tool. We should somehow transplant it then.

hum... so it's a plot_raw with highlighted bad segments? plot_raw can
already show events.

But this one only shows the epochs. not the rest. Epochs can be pretty remote from another. I think this is  better for data browsing than raw.plot with EEG data, which are often only viewable at that later stage, and it would be a nicer behavior for epochs.plot

ok sounds like a plan. PR welcome :)

@dengemann do you still want this, or were the enhancements to Epochs plotting enough? I guess we could deal with this alongside #2665 potentially.

this was the GSOC with @jaeilepp !!


Handling contract updates on emulator

A Cadence developer will during the development process frequently change contracts which makes keeping the contract updated on the emulator a challenge. The Flow mainnet/testnet has limitations on updating the contracts which are too strict to support the initial development of contracts. This problem is present on flow dev but also on Playground. Bellow are two ways of how we are or could handle changes. Each with some downsides.
Current state
Current state handling allows contract updates by removing and redeploying the new contract which can lead to a case where a resource was saved in an account but the contract update removes the resource altogether making the stored resource invalid.

Blocks
Account Alice
Account Bob
State Comment

1
Foo(contract ver:1)
X

2
Foo(contract ver:2)
Created

3
Foo(contract ver:2)

4
Foo(contract ver:2), Zoo(resource)
Zoo(resource)

5
Foo(contract ver:3 - removed Zoo resource type),  Zoo(resource)
Zoo(resource)
Non-existing resource Zoo on account Alice and Bob

State handling with reset
State handling with reset always resets the state after updating the contract thus also clearing the accounts with possible no-longer valid types, however, it presents another problem where any accounts created after will no longer exist.

Blocks
Account Alice
Account Bob
State Comment

1
Foo(contract ver:1)
X

1
Foo(contract ver:2)
X

Reset state

2
Foo(contract ver:2)
Created

1
Foo(contract ver:3)
X

Reset state

1
Foo(contract ver:3),Zoo(resource)
Created

2
Foo(contract ver:4),Zoo(resource)
Zoo(resource)

Reset state

1
Foo(contract ver:4)
X

Talking with @DylanTinianov we agreed the third way of rollbacking to the latest possible state would be best. This means after an update of an existing contract we roll back to a block that was before deploying that contract. That is better than just resetting the whole state as it will keep all the changes that were done before updating an existing contract.


Support Spring Boot deployments

Iteration 1: Support only Spring Boot on baremetal. Effort: Medium
1.- Create new module test-core
2.- Move existing sources from module quarkus-test-core to test-core:

QuarkusScenarioBootstrap: It should be renamed to ScenarioBootstrap
QuarkusScenario: It should be renamed to Scenario
All the rest of dependant interfaces and common utilities

3.- (Optional) Create new sources in quarkus-test-core for backward compatibilities purposes:

Create back the QuarkusScenario annotation and marked it as deprecated

4.- Create new module spring-test-core:

For baremetal, we should do the same as in https://github.com/spring-projects/spring-boot/blob/main/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/SpringBootTest.java.

And https://github.com/spring-projects/spring-framework/blob/main/spring-test/src/main/java/org/springframework/test/context/junit/jupiter/SpringExtension.java

Update examples

Iteration 2: Support Spring Boot on Native. Effort: Easy
According to https://docs.spring.io/spring-native/docs/current/reference/htmlsingle/, it should be easy to reuse the same artifacts from the Maven build and run the application.
Iteration 3: Support Spring Boot on OpenShift. Effort: Easy
Using the container registry strategy, it should be easy.
Iteration 4: Support Spring Boot on Kubernetes. Effort: Easy

Hi! I'm new to open source and to this project, but very familiar with Spring. Can I be allocated this issue?

Hi @MaddyKilmurray!
If you are interested in SB part you should check https://github.com/Sgitario/jester. Jose is working on evolution of this testing framework.
Otherwise you can check the GH issues or explore the code on your own and fix / develop some stuff.

Okay fab, thanks!


datasetUrl redirect returns an error if dataset isn't found

A URL like:
https://certificates.theodi.org/datasets?datasetUrl=http://data.ordnancesurvey.co.uk/datasets/code-point-open
redirects to the latest certificate for the dataset with that url. But if you use an unknown URL, e.g:
https://certificates.theodi.org/datasets?datasetUrl=http://example.org
Then you get a 500 error. Should be a 400, perhaps with a custom page that indicates that the user could add a new certificate?

It's currently returning the standard 404 page.
That's not very informative but not incorrect, and this isn't a commonly used feature at the moment.


Teenage Mutant Hero Turtles II - Back from the Sewers

Can you make Savestate Patch for "Teenage Mutant Hero Turtles II - Back from the Sewers" GB

Yep sure, have added one now :-)


Delete Travis CI (#248)

Delete Travis CI

@DahyeonWoo
Here is euphony certificaiton :) thanks for your contribution!
https://promise.is/verified/euphony/certificates/DahyeonWoo


feat(plugin-react): enable support for profiling React in prod env

Summary
Adds support for profiling React components against a production build. This is a good use case for profiling an app when running preview in localhost.
Related Links

CRA Profiling

Checklist

[ ] Tests updated (or not required).
[ ] Documentation updated (or not required).

 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.

Thanks! ❤


How can I use semantics to test and see the highest matching videos in just one try? Instead of testing on the validation set?

Thank you for the suggestion! This feature is not currently implemented. If I have time, I might work on it in the coming weeks.


Do not make network calls for empty has_many associations

Table.find_many([]) should not make network calls when its ids array is empty. Currently empty ids spawn a request to the table with an empty OR() formula, like this: /appKey/tableName?filterByFormula=OR()
That request does return zero records, which is good, but we can speed things up by not making the request in the first place.

👍


untrapped error using TRUE/FALSE in model code

 code = nimbleCode({
     a <- pnorm(-2,0,1, lower.tail=FALSE)
 })
 m = nimbleModel(code)
defining model...
Error in replaceConstantsRecurse(x, constEnv, constNames) :
  Error, hit end

The same error occurs with this, although here it is debatable if we want TRUE converted to 1 as a model parameter...
 code = nimbleCode({
      a ~ dnorm(TRUE, 1)
 })
m = nimbleModel(code)
defining model...
Error in replaceConstantsRecurse(x, constEnv, constNames) :
  Error, hit end

Fixed by PR #904


feat(fetchArrayBuffer): add fetchArrayBuffer API for produce fetch for arrayBuffer response

#22 for fetchArrayBuffer

Codecov Report

Merging #34 (b2ce758) into main (7f26b60) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #34   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines           41        42    +1
  Branches         9        10    +1
=========================================
+ Hits            41        42    +1

Impacted Files
Coverage Δ

tests/test-cases.js
100.00% <ø> (ø)

src/fetch.macro.js
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@all-contributors add @abdmmar as code and example

true


Resource API dosn't enter into GetProfileDataAsync method.

GetProfileDataAsync method don't want to fire up when we try to read all claims in recourse API which are connected with our access token. In result only default claims are returned as output in our controller. We saw everything every information about it and we think it's look OK in config side from server and api projects.
IdentityServer4 Project
public class ProfileService : IProfileService
    {

        public ProfileService()
        {

        }

        public Task GetProfileDataAsync(ProfileDataRequestContext context)
        {
            var claims = new List<Claim>
            {
                new Claim("FullName", "test"),
            };
            context.IssuedClaims.AddRange(claims);
            return Task.FromResult(0);
        }

        public Task IsActiveAsync(IsActiveContext context)
        {
            var sub = context.Subject.GetSubjectId();
            //var user = _userManager.FindByIdAsync(sub);
            //context.IsActive = user != null;
            return Task.FromResult(0);
        }
    }

 public void ConfigureServices(IServiceCollection services)
        {
            services.AddDbContext<PostgresqlDbContext>(options =>
                options.UseNpgsql(Configuration.GetConnectionString("PostgresqlConnection")));

            services.AddTransient<IProfileService, Config.ProfileService>();

            services.AddIdentityServer()
                .AddDeveloperSigningCredential()
                .AddInMemoryApiResources(Config.Configuration.GetApiResources())
                .AddInMemoryIdentityResources(Config.Configuration.GetIdentity())
                .AddInMemoryClients(Config.Configuration.Clients)
                .AddProfileService<Config.ProfileService>();

            services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_2);

        }

        public static IEnumerable<Client> Clients = new List<Client>
        {
            new Client
            {
                ClientId = "ApiClient",
                AllowedGrantTypes = GrantTypes.ClientCredentials,
                ClientSecrets = new [] { new Secret("apisecret".ToSha256()) },
                AllowedScopes = new []
                {
                    "auth.web.api"
                },
                AlwaysIncludeUserClaimsInIdToken = true,
                AlwaysSendClientClaims = true,
                IncludeJwtId = true,
                UpdateAccessTokenClaimsOnRefresh = true
            }
        };

Resource API Project
        [HttpGet]
        [Authorize]
        public ActionResult<IEnumerable<string>> Get()
        {
            return new JsonResult(from c in User.Claims select new { c.Type, c.Value });
        }

What does

when we try to read all claims in recourse API

mean?

Any update?


Added Announcement view to encourage email mailing list

Hello!
This pr is for added announcement view to encourage email mailing list on our app.
Test on AVD (I want to test on real device, but Android Studio has problem. It took too long to pair it with wifi, sometimes it success pair the device with android studio, sometimes it failed):
https://github.com/litecoin-foundation/litewallet-android/assets/54074780/acf8dbc9-5233-435c-a630-df62fb2484a1

Sorry @josikie  I noticed 2 things

There  are conflicts. Will you pull develop and resolve the conflicts?
Part of the strings.xml file has some "Lorem ipsum" text.  Was that intentional?  I think it needs to be removed.

@kcw-grunt I'll remove it, I think it got added automatically with Android Studio when I created a new activity

Hello! @kcw-grunt
The conflict is resolved


Create GitHub action

Motivations
A GitHub action will make really easy to use release-plz.
Solution
Example flow

The user creates a repository
release-plz figures out the repository is not published, so it doesn't open a PR (once #1 implemented, it should change the CHANGELOG based on your commits).
The user publishes 0.1.0 (without using release-plz)
The user commits other changes
release-plz opens a PR where it updates the Cargo.toml versions.
The user merges the PR and publishes its workspace
release-plz will not open PRs, because it sees that local project is the same as crates.io.

I started working on this here


ASI-24

What does this PR do?

Format output of populate_fund_data function as an OrderedDict
Add corresponding unit test
Add invoice fixture where the external IDs of the funds are not appearing in numerical order

Helpful background context
I left the fund_data assert in place from the other populate_fund_data test to ensure the data was the same overall since a dict seems to reconcile as equal to an Ordered Dict even though they would iterate differently depending on when the keys were added to the dict. To test the iteration, added 3 next asserts to mimic how this would be iterated through when it's passed to the generate_report function. Let me know if there's a better way to do this.
What are the relevant tickets?

https://mitlibraries.atlassian.net/browse/ASI-24

Requires Database Migrations?
NO
Includes new or updated dependencies?
NO

My assumption was external_id based on what shows up in the final report and the reference to "numerical" in the ticket

My assumption was external_id based on what shows up in the final report and the reference to "numerical" in the ticket

Hmmm. The ticket and my notes say fund code. @ehanson8 can you double check with Martina in the ticket so we have it documented?

Done, I'll update everyone with her reply

Martina confirmed it is the external ID, https://mitlibraries.atlassian.net/browse/ASI-24


Code to interface and use diamond operator to eliminate redundant type args

Declare objects using the interface, rather than an implementation.
Eliminate redundant type arguments. Use the diamond operator for the
right hand side of the object assignment.

I'm thinking we don't want to change the signature of public methods as clients may be using those and we don't want to make backward-incompatible changes lightly.  It's true there was no reason for getValuesMap to return a HashMap--those should have returned a Map, but that's water under the bridge now.  So I'll accept as many of these changes as I can, but those I don't think we should make.  Also, for some reason one of the changes in JerseyServices didn't compile, so I had to revert that.

this PR was merged into develop in f4abcd9 and a880d80


Rails 7

Task
TR #84
Why?
Add and modify generators to setup a Rails v7 project.
What Changed

Remove obsolete Rails 5 code
Replace Webpacker with Webpack v5 and replace babel with esbuild-loader for transpiling
Remove react_rails and use Stimulus controller to inject React components into Rails views

From Caleb:
Notes from when I'm running the generator on the RoleModel website being upgraded from Rails 6.
• Didn’t get the build commands generated in package.json
• I see the Honeybadger source maps was accounted for, but I’m not actually seeing the code for reporting errors. Might be worth talking through
• Didn’t seem to have an easy way to emit multiple CSS files so needed to modify the config and use of plugins
• Had to make some changes to the assets.rb initializer in order to be able to load SVGs

@calebwoods I didn't have any issues compiling svgs in the test app and the assets.rb initializer remained unchanged

During CCC Days I noticed that the readme still had the rails command at rails new <app-name> --skip-test --database=postgresql which technically breaks with rails 7 is installed since importmaps is the default JS bundling strategy. we might want to change this section on the readme to at least something that works. (The reason it fails is because there is no package json which means the webpack generator fails.)

Caleb & Mark asked me to go ahead and merge this.  I'll be using it to upgrade Maverick and will open new PRs as problems arise.


Backport non-breaking changes from v1.0 to v0.2.x

r? @ryankurte
(rust-highfive has picked a reviewer for you, use r? to override)

:warning: Warning :warning:

Pull requests are usually filed against the master branch for this repo, but this one is against v0.2.x. Please double check that you specified the right target!

Could you also add entries to the changelog about this?

Done


[WIP] std.file Refactoring

DO NOT MERGE
So far this cleans up DirEntry by factoring out the common interface between Windows and Posix. It also moves the examples in the documentation into unittest blocks instead.
There is still more work to be done in std.file, but this is just the start, and I mostly just want to make sure I didn't break anything while doing it.

Any news? Going to close as it seems stuck.


Add imagePullPolicy input to gateway deployment

Please provide a description of this PR:
Adds a field to the gateway chart values for specifying the imagePullPolicy of a gateway deployment. Updates the values schema to allow for an empty value to abide by the kubernetes default, or specify pull policies defined by kubernetes.
Fixes #42852

Hi @ethanchowell. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ethanchowell: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
ca90640f14baa2c29a324b45924e1e28a252cd81
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ethanchowell: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
a853d3ad3c20cac9c8b03aff1e74d5bdb5d93044
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/cherry-pick release-1.17

@jacob-delgado: once the present PR merges, I will cherry-pick it on top of release-1.17 in a new PR and assign it to you.

In response to this:

/cherry-pick release-1.17

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/retest

/retest

/retest

/retest

@ethanchowell: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-multicluster_istio
c539208b61893eb9e33e49180390f74a338c8eac
link
true
/test integ-security-multicluster

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-security-multicluster

@jacob-delgado: new pull request created: #43006

In response to this:

/cherry-pick release-1.17

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Empty array literals without contextual type can lead to unsound index accesses

🔎 Search Terms
empty array literal contextual type declared type index access implicitnevertype
🕗 Version & Regression Information

This is the behavior in every version I tried

⏯ Playground Link
https://www.typescriptlang.org/play?ts=5.4.0-dev.20240215#code/MYewdgzgLgBCBGArGBeGBvAUDGBDATvgFwwDaAugDSYC+A3JpqJLAogOoCWUAFgJJgAJgFMAHiQBKw0PkEAeaPk5gA5pRjwQIADbDcYAHyoM9Rs2gxh242wB0BfKQAM5Budj5hEAK7bYaNi5eARFRUitXTAB6KJwcAD0AfiA
💻 Code
const obj = {
  arr: [],
};

const objWithIndex: Record<string, boolean> = {};

const el = obj.arr[0];
//    ^? const el: never
const result = objWithIndex[el];
//    ^? const result: boolean

🙁 Actual behavior
never element type allows for just anything to happen here since never is assignable to everything
🙂 Expected behavior
I wouldn't expect this empty array literal to allow for this. Maybe it would be better to use an empty tuple in that situation? This would prevent obtaining never by indexing this array and thus it would prevent such accidents.
Additional information about the issue
No response

That's what noUncheckedIndexedAccess is for. When you enable it you end up with undefined, not never.

I wouldn't expect this empty array literal to allow for this. Maybe it would be better to use an empty tuple in that situation?

This doesn't really help much, since [][number] is still never.

This has always bothered me too.
If I create an empty array, it's perfectly reasonable to add to it, but probably a mistake to try to get an element out of it.
That aligns better with the semantics of Array<unknown> instead of Array<never>.

The problem is that if you infer unknown[] for [] then it basically becomes unassignable to anything you'd want to assign it to:
const x: number[] = [];  // error because unknown[] isn't assignable to number[]

The problem is that if you infer unknown[] for [] then it basically becomes unassignable to anything you'd want to assign it to:
const x: number[] = [];  // error because unknown[] isn't assignable to number[]

Well, not exactly unknown[] but something that decays to it if a better type can’t be inferred.
I’m modeling my expectation on how the return type of Array.of() works with no arguments. Its return type is T[] and can be assigned to an array of any type, but when initializing a variable, that variable becomes typed as unknown[].

I’m modeling my expectation on how the return type of Array.of() works with no arguments. Its return type is T[] and can be assigned to an array of any type, but when initializing a variable, that variable becomes typed as unknown[].

This one uses inference from a contextual return type to achieve this effect:
const a = Array.of() // unknown[]
const b: string[] = Array.of() // string[]

It is a more specific situation here since inference is involved and this example just happens to work this way. It doesn't have anything to do with arrays and array literal expressions (and their "fresh" types).

Well, not exactly unknown[] but something that decays to it if a better type can’t be inferred.

Yeah, I would imagine this being a possibility here. I understand how it would be kind of a sidestep from general rules in how all of this currently works. On the other hand, if [][number] is valid then [][0] not being allowed is already some kind of an existing exception. I'm not sure where the line is though - I feel like I've read both "arrays are not that special in the type system" and "arrays are special in the type system" on different occasions 😅

That's what noUncheckedIndexedAccess is for. When you enable it you end up with undefined, not never.

That is fine but I think that people mostly understand that this comes into play when dealing with string[] or with an explicit never[]. The surprising bit is that we get an implicit never[] here and we might end up with problems down the road because of that. I feel like those are just 2 - even if related - behaviors.

Pinging @RyanCavanaugh back here because I'm almost positive I remember him explaining the exact reasoning for the never[] inference in the past.  I feel like it probably has something to do with array types being assumed to be covariant and non-mutating, like every other bit of weirdness around array typing.

Nevermind, I found his explanation: https://github.com/microsoft/TypeScript/issues/51853#issuecomment-1347740712

(reading my own comment) ahh now I get it

@fatcerberus

For types given to inferred variables, the situation is much tricker due to evolving arrays. But object properties don't qualify for evolving arrays, so the situation is analogous:
const obj = { a: [] }
declare function doSomething(blah: { a: readonly number[] }): void
doSomething(obj);

This call is processed the same way: obj.a is never[]. This one is probably the most important to get right since there is no contextual typing to "fix" the type of [] in this example.

That can be terrifically unsound since it doesn't check whether the type is being used contravariantly. The element type of the array is bounded below by never, but the upper is not known.
const obj = { a: []}
const pushA = <T,>(blah: {a: T[]}, a:T)=>{
    blah.a.push(a)
}
pushA(obj, 4)
pushA(obj, "foo")
// obj.a is now an array containing [4, 'foo'] but typed as never[]

Then again, this does work in a covariant context: const obj = { a: [] as const } which is the common case that never[] is supposed to deal with.

I have a lot of bad news about supertype-aliased writes in TypeScript


[Linux] Add armhf build.

Some modules are disabled due to incompatibilities:

raycast (embree), we should fix detecetion in module config.py.
etcpak, this likely also require at least aarch64 instructions to build.
denoise (oneDNN), also needs fix in config.py (x86_64 only).
theora (are we keeping this?).

We should probably wait and instead of merging this PR directly, wait for https://github.com/godotengine/godot/pull/55778 or a light-weight version of it that fixes module detection (so we don't need the extra *_module_enabled=no shenanigan).
Depends on https://github.com/godotengine/build-containers/pull/103
Ref https://github.com/godotengine/godot-proposals/issues/988

@Faless If you want to revisit this PR, it should be cleaner to do now that the PRs you've mentioned have been merged.

denoise (oneDNN), also needs fix in config.py (x86_64 only).

Since Godot 4.2, OpenImageDenoise is no longer part of Godot itself (it's now an external program).

Note that we can probably build only arm64

The reason for doing armhf build at the time was that we didn't (and still don't) have a arm64 buildroot.
I worked on a arm64 toolchain at the time but it was never finalized because IIRC there were concerns about it requiring the inclusion of LLVM for vulkan/gl headers (LLVMPipe/LavaPipe). As far as I know @hpvb is almost done working on it.
I think once that's solved adding the arm64 build shouldn't be too hard.
In the meantime, I've updated this PR, but I agree that only providing arm64 builds might make sense.

Superseded by #90.
For now I've opted for adding all builds (editor and templates for arm32 and arm64). We'll see if we want to reduce the list.


d3 event is null

Hello !
I'm currently using d3 submodules instead of the global d3 in my current project in order to take the minimum size needed.
I have an issue being that when I use d3 submodules, when I try to zoom I got
Uncaught TypeError: Cannot read property 'transform' of null
And d3 submodules import is like this:
import { hierarchy, stratify, tree, treemap } from "d3-hierarchy";
import { event as currentEvent, select, selectAll } from "d3-selection";
import { zoom } from "d3-zoom";

Strangely, if I use the entire d3 library, it works well. Since I'm using Webpack, I've checked this link, but as you can see I've taken care of renaming my event import already.
Here is a reproducible demo for showing when it is working (d3-global branch) and when it is not working (d3-submodules branch): https://github.com/PierreCapo/treeviz/pull/14/files
Question : How can I make d3 event work by using d3-selection submodule ?
Thanks in advance :)

Fixed.
Although a bit ugly, I've had to do:
// ./customD3.js

import { hierarchy, stratify, tree, treemap } from "d3-hierarchy";
import { event, select, selectAll } from "d3-selection";
import { zoom } from "d3-zoom";

export default {
  hierarchy,
  stratify,
  tree,
  treemap,
  select,
  selectAll,
  event,
  zoom,
};

And then in my file :
// ./main.js
import * as d3 from "d3-selection";
import customD3 from "./d3";

// rest of the code

v6 of d3 has no event export in d3-selection/src/index.js.


Fixes #947 added suffix

updated suffix

Should the version come from a variable?

@inoxx03 @Ladicek thanks, I moved the version to a variable.

I had already changed the adoc to use the variable.

@rhoads-zach Yes I updated both files

@rhoads-zach @inoxx03  fixed

merged: 8c10a8e17a60a2c735eb8868fb721c5d3a9f4c02


Fix NPE when outputFormats is not specified

This PR remove @Parameter annotation from nested bean of mojo class because are not taken into account. Default values are rendered inline in the bean class.
As test I had remove a outputFormats with json value from plugin-config-enhanced-operation-id test to verify that work as before.

Master branch (e3a348b261296535e3dda6ff113c5fdb024c9a7a) has test failures:

Failed tests:   testAddDescriptionFile(com.github.kongchen.swagger.docgen.AbstractDocumentSourceTest): (..)
handleResponseWithInheritance(com.github.kongchen.swagger.docgen.reader.JaxrsReaderTest): expected [false] but found [true]
testGeneratedSwaggerSpecYaml on testGeneratedSwaggerSpecYaml(com.github.kongchen.smp.integration.SwaggerReaderTest)(com.github.kongchen.smp.integration.SwaggerReaderTest): unknown type: [simple type, class java.lang.String]
testGeneratedSwaggerSpecJson on testGeneratedSwaggerSpecJson(com.github.kongchen.smp.integration.SwaggerReaderTest)(com.github.kongchen.smp.integration.SwaggerReaderTest): unknown type: [simple type, class java.lang.String]

Tests run: 65, Failures: 4, Errors: 0, Skipped: 0
In my branch will fails same tests (one failure has beed fixed because depends from S.O.)

@kongchen could you review?

No more interest for this PR since we move to customize swagger-core 3 directly


Command output not shown if there are more than 2 levels in json

The formatting doesn't output the response when it is of multi level and quite big schema . Need help in disabling table formatting in directive. The example shows how to disable for one model.

Can anyone help in checking this please? Is there a way we can convert this to json for all commands through custom code maybe?

Thanks for the reply. I tried with suppressing few models. Still they will not be shown to the user if json levels are more. It just outputs model name. But if we convert it to json we can see easily. Let me know if we have a way to solve this

Try to add following code in the readme.md.
nested-object-to-string: true


various npm install warnings

npm WARN deprecated<EMAIL_ADDRESS>...psst! Your project can stop working at any moment because its dependencies can change. Prevent this by migrating to Yarn: https://bower.io/blog/2017/how-to-migrate-away-from-bower/
npm WARN deprecated<EMAIL_ADDRESS>gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated<EMAIL_ADDRESS>please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated<EMAIL_ADDRESS>gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g

as of today it's now
npm WARN deprecated<EMAIL_ADDRESS>gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated<EMAIL_ADDRESS>please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated<EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated<EMAIL_ADDRESS>gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g