init exits with an exitcode 0x00000200

My first attempts to use Booster have ended with the following:
https://forum.manjaro.org/uploads/default/original/3X/2/9/298163cc84c62c56803c0800295656180475e444.jpeg
Init exits with an exitcode 0x00000200
$ cat grub.cfg (clipped)

menuentry "Manjaro Booster Test" {
          echo "Manjaro Booster Test booting..."
          insmod part_gpt
          insmod btrfs
          linux<EMAIL_ADDRESS>root=UUID=da0a03c1-016b-4782-824e-fe85ac1642c7 rw rootflags=defaults,ssd,compress-force=zstd,subvol=@ rootwait snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=0 console=serial0,115200 console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=serial0,115200 audit=0
          initrd<EMAIL_ADDRESS>          boot
}

$ cat /etc/booster.yaml
network:
   interfaces: eth0
   dhcpd: on
universal: false
modules: -*,hid_apple,kernel/fs/btrfs/btrfs.ko,kernel/drivers/block/zram/zram.ko
compression: zstd
strip: false
extra_files: mount,fsck,fsck.btrfs,btrfsck,btrfs,zramctl
vconsole: true

RPi4 + UEFI + grub + kernel 5.12.6-1-MANJARO-ARM aarch64

Thanks for the report. Do you use the latest booster release?
I wonder if it is some sort of circular dependencies between kernel modules.
Could you please add booster.debug boot flag to your grub config, reboot the system and provide the log?

Also add booster.disable_concurrent_module_loading boot flag and let me know if it makes any difference.

Adding the debug, I can see there is a difference in output but the scroll is too fast and ended with the exact same information as the pic above. However, adding the second made a difference, it looks to be much more helpful.
https://forum.manjaro.org/uploads/default/optimized/3X/1/c/1ccf5c5ce92d21fdaef6588b276d0cbff58e3346_2_281x500.jpeg

Alright, the issue is missing sha2_ce module. It should be added to the image. A quick solution for it is to add it to modules config option.
I wonder what functionality requires this module and why it is not added to the image. Could you please show the output of
cd /usr/lib/modules/`uname -r`
grep sha2_ce -R

at the RPi system?

[root@abbynormal 5.12.6-1-MANJARO-ARM]# grep sha2_ce -R
grep: kernel/arch/arm64/crypto/sha2-ce.ko: binary file matches
modules.alias:alias crypto-sha256 sha2_ce
modules.alias:alias sha256 sha2_ce
modules.alias:alias crypto-sha224 sha2_ce
modules.alias:alias sha224 sha2_ce
modules.alias:alias cpu:type:*:feature:*0006* sha2_ce
grep: modules.alias.bin: binary file matches

I'll try adding the module and report back.

I mean post the output of booster init as a picture like you did before.

Nothing has changed from this one:
https://forum.manjaro.org/uploads/default/original/3X/1/c/1ccf5c5ce92d21fdaef6588b276d0cbff58e3346.jpeg
It loads the next module. so not sure this module is related to the issue.

It means that sha2_ce still not in the booster image.
Set following config option modules: -*,hid_apple,kernel/fs/btrfs/btrfs.ko,kernel/drivers/block/zram/zram.ko,kernel/arch/arm64/crypto/sha2-ce.ko, then run booster -debug and post its output. Make sure that the output image contains sha2_ce module and then copy it to place where it is expected by grub.

# lsinitcpio booster.img | grep sha2_ce
usr/lib/modules/sha2_ce.ko

It is in the booster image by default, no need to add it manually. But I did do that earlier, but it had no change.

# lsinitcpio booster.img
init
usr
usr/bin
usr/lib
usr/lib/libmount.so.1
usr/lib/libblkid.so.1
usr/lib/libc.so.6
usr/lib/ld-linux-aarch64.so.1
usr/lib/ld-2.32.so
usr/lib/libc-2.32.so
usr/lib/libblkid.so.1.1.0
usr/lib/librt.so.1
usr/lib/libpthread.so.0
usr/lib/libpthread-2.32.so
usr/lib/librt-2.32.so
usr/lib/libmount.so.1.1.0
lib
lib/ld-linux-aarch64.so.1
lib/ld-2.32.so
usr/bin/mount
usr/bin/fsck
usr/bin/fsck.btrfs
usr/bin/btrfsck
usr/lib/libuuid.so.1
usr/lib/libuuid.so.1.3.0
usr/lib/libgcrypt.so.20
usr/lib/libgpg-error.so.0
usr/lib/libgpg-error.so.0.32.0
usr/lib/libgcrypt.so.20.3.3
usr/lib/libz.so.1
usr/lib/libz.so.1.2.11
usr/lib/liblzo2.so.2
usr/lib/liblzo2.so.2.0.0
usr/lib/libzstd.so.1
usr/lib/libzstd.so.1.5.0
usr/bin/btrfs
usr/lib/libsmartcols.so.1
usr/lib/libsmartcols.so.1.1.0
usr/bin/zramctl
usr/lib/modules
usr/lib/modules/xor_neon.ko
usr/lib/modules/sha256_arm64.ko
usr/lib/modules/zsmalloc.ko
usr/lib/modules/sha2_ce.ko
usr/lib/modules/zram.ko
usr/lib/modules/xxhash_generic.ko
usr/lib/modules/hid_apple.ko
usr/lib/modules/raid6_pq.ko
usr/lib/modules/xor.ko
usr/lib/modules/blake2b_generic.ko
usr/lib/modules/btrfs.ko
usr/lib/modules/booster.alias
console
console/keymap
etc
etc/booster.init.yaml
etc/initrd-release

Alright, so the sha2_ce module is in image and booster init tries to load it. But for some reason finit() fails with ENODEV kernel error. Huh... And dmesg does not have any additional information about this error. This is super-weird.

# booster -debug -force
active host modules: [uio_pdrv_genirq thermal cpuidle cryptomgr sha256_arm64 xor syscopyarea dns_resolver spurious gpu_sched battery vt videodev rpivid_mem tcp_cubic bcm2835_codec xhci_hcd 8250 vc_sm_cma i2c_hid kgdboc soundcore srcutree sdhci rcupdate crypto_user random genet drm_kms_helper smsc95xx sysimgblt sysrq bcm2835_mmc overlay v3d i2c_bcm2835 processor scsi_mod videobuf2_vmalloc kernel backlight nvmem_rmem mousedev usbhid vc4 hid_apple uio gpiolib_acpi sch_fq_codel nfsv4 snd_bcm2835 nvme videobuf2_dma_contig acpi_power_meter bcm2835_mmal_vchiq blake2b_generic raid6_pq mmcblk efivarfs bcm2708_fb auth_rpcgss videobuf2_v4l2 keyboard zswap scsi_transport_iscsi crct10dif_ce f2fs binder snd_timer fb hid netpoll apparmor brd usbcore nfs_layout_flexfiles usb_storage blk_cgroup nvme_core pcie_aspm pnp rfkill joydev snd_compress cpufreq lockd ipv6 sunrpc btrfs cachefiles sha256_generic brcmfmac crc_t10dif fuse raspberrypi_hwmon bcm2835_v4l2 fb_sys_fops iscsi_ibft videobuf2_common configfs xxhash_generic snd_soc_core loop cec x_tables rcutree sysfillrect button lan78xx kvm mc brcmutil block snd_pcm xz_dec snd kdb fscache nfs_layout_nfsv41_files ip_tables module firmware_class binder_alloc acpi fscrypto rng_core printk v4l2_mem2mem cfg80211 i2c_dev watchdog vc_mem debug_core nfs workqueue dwc_otg xor_neon videobuf2_memops i2c_bcm2708 drm bcm2835_isp snd_pcm_dmaengine]
activate module nfs_layout_nfsv41_files
activate module configfs
activate module lockd
activate module nfsv4
activate module nfs_layout_flexfiles
activate module nfs
activate module btrfs
activate module fuse
activate module cachefiles
activate module efivarfs
activate module overlay
activate module fscache
activate module f2fs
activate module cryptomgr
activate module sha256_generic
activate module blake2b_generic
activate module xxhash_generic
activate module crypto_user
activate module xor
activate module genet
activate module dwc_otg
activate module xhci_hcd
activate module usbhid
deactivate module sha256_generic
deactivate module blake2b_generic
deactivate module xxhash_generic
deactivate module efivarfs
deactivate module crypto_user
deactivate module overlay
deactivate module fscache
deactivate module genet
deactivate module dwc_otg
deactivate module f2fs
deactivate module xhci_hcd
deactivate module nfs_layout_nfsv41_files
deactivate module configfs
deactivate module xor
deactivate module usbhid
deactivate module lockd
deactivate module nfsv4
deactivate module nfs_layout_flexfiles
deactivate module nfs
deactivate module btrfs
deactivate module fuse
deactivate module cachefiles
deactivate module cryptomgr
activate module hid_apple
activate module btrfs
activate module zram
activate module sha2_ce
softdep: unable to resolve module name aead2
softdep: unable to resolve module name aes
softdep: unable to resolve module name nls
softdep: unable to resolve module name crc32c
no matches found for a device alias 'of:NdmaT(null)Cbrcm,bcm2711-dma'
no matches found for a device alias 'of:Navs-monitorT(null)Cbrcm,bcm2711-avs-monitorCsysconCsimple-mfd'
no matches found for a device alias 'of:NdmaT(null)Cbrcm,bcm2835-dma'
no matches found for a device alias 'platform:bcm2835-camera'
no matches found for a device alias 'of:NmailboxT(null)Cbrcm,bcm2835-mbox'
no matches found for a device alias 'of:NwatchdogT(null)Cbrcm,bcm2835-pmCbrcm,bcm2835-pm-wdt'
no matches found for a device alias 'of:NgpioT(null)Cbrcm,bcm2711-gpio'
no matches found for a device alias 'of:Nfixedregulator_3v3T(null)Cregulator-fixed'
no matches found for a device alias 'platform:rtc-efi'
no matches found for a device alias 'usb:v174Cp55AAd0100dc00dsc00dp00ic08isc06ip62in00'
no matches found for a device alias 'of:Nsd_vcc_regT(null)Cregulator-fixed'
no matches found for a device alias 'platform:bcm2835-codec'
no matches found for a device alias 'platform:bcm2835-power'
no matches found for a device alias 'of:NcprmanT(null)Cbrcm,bcm2711-cprman'
no matches found for a device alias 'of:NauxT(null)Cbrcm,bcm2835-aux'
no matches found for a device alias 'of:NchosenT(null)Csimple_bus'
no matches found for a device alias 'of:Nlocal_intcT(null)Cbrcm,bcm2836-l1-intc'
no matches found for a device alias 'sdio:c00v02D0dA9A6'
no matches found for a device alias 'of:NresetT(null)Craspberrypi,firmware-reset'
no matches found for a device alias 'of:NtimerT(null)Carm,armv8-timer'
no matches found for a device alias 'of:Nv3dbusT(null)Csimple-bus'
no matches found for a device alias 'usb:v1D6Bp0002d0512dc09dsc00dp01ic09isc00ip00in00'
no matches found for a device alias 'of:NscbT(null)Csimple-bus'
no matches found for a device alias 'of:NpsciT(null)Carm,psci-1.0'
no matches found for a device alias 'of:Nfixedregulator_5v0T(null)Cregulator-fixed'
no matches found for a device alias 'of:NledsT(null)Cgpio-leds'
no matches found for a device alias 'usb:v045Ep00CBd0100dc00dsc00dp00ic03isc01ip02in00'
no matches found for a device alias 'of:NethernetT(null)Cbrcm,bcm2711-genet-v5'
no matches found for a device alias 'of:Nh264-decoderT(null)Craspberrypi,rpivid-h264-decoder'
no matches found for a device alias 'of:Nbcm2835_audioT(null)Cbrcm,bcm2835-audio'
no matches found for a device alias 'of:NmailboxT(null)Cbrcm,bcm2711-vchiq'
no matches found for a device alias 'platform:efi-framebuffer'
no matches found for a device alias 'of:NsocT(null)Csimple-bus'
no matches found for a device alias 'of:NpowerT(null)Craspberrypi,bcm2835-power'
no matches found for a device alias 'of:Ni2cT(null)Cbrcm,bcm2711-i2cCbrcm,bcm2835-i2c'
no matches found for a device alias 'pci:v00001106d00003483sv00001106sd00003483bc0Csc03i30'
no matches found for a device alias 'input:b0003v05ACp024Fe0111-e0,1,4,11,14,k71,72,73,74,75,77,78,79,7A,7B,7C,7D,7E,7F,80,81,82,83,84,85,86,87,88,89,8A,8C,8E,96,98,9E,9F,A1,A3,A4,A5,A6,AD,B0,B1,B2,B3,B4,B7,B8,B9,BA,BB,BC,BD,BE,BF,C0,C1,C2,CC,E0,E1,E3,E4,E5,E6,F0,1D0,ram4,l0,1,2,3,4,sfw'
no matches found for a device alias 'input:b0003v05ACp024Fe0111-e0,1,2,3,4,14,k71,72,73,74,75,77,78,7F,80,82,83,84,85,86,87,88,89,8A,8B,8C,8E,8F,90,96,98,9B,9C,9E,9F,A1,A3,A4,A5,A6,A7,A8,A9,AB,AC,AD,AE,B0,B1,B2,B5,B6,B7,B8,B9,BA,BB,BC,BD,BE,BF,C0,C1,C2,CE,CF,D0,D1,D2,D4,D8,D9,DB,DF,E0,E1,E4,E5,E6,E7,E8,E9,EA,EB,F0,F1,F4,100,110,111,112,161,162,166,16A,16E,172,174,176,177,178,179,17A,17B,17C,17D,17F,180,182,183,185,188,189,18C,18D,18E,18F,190,191,192,193,195,197,198,199,19A,19C,1A0,1A1,1A2,1A3,1A4,1A5,1A6,1A7,1A8,1A9,1AA,1AB,1AC,1AD,1AE,1AF,1B0,1B1,1B7,1BA,240,241,242,243,244,245,246,247,248,250,251,260,261,262,263,264,265,r0,1,6,8,B,C,a20,28,m4,lsfw'
no matches found for a device alias 'hid:b0003g0001v0000045Ep000000CB'
no matches found for a device alias 'scsi:t-0x00'
no matches found for a device alias 'of:NmmcnrT(null)Cbrcm,bcm2835-mmcCbrcm,bcm2835-sdhci'
no matches found for a device alias 'platform:raspberrypi-cpufreq'
no matches found for a device alias 'of:Nemmc2busT(null)Csimple-bus'
no matches found for a device alias 'dmi:bvnhttps//github.com/pftf/RPi4:bvrUEFIFirmwarev1.26:bd04/16/2021:br1.26:efr21.4:svnRaspberryPiFoundation:pnRaspberryPi4ModelB:pvrD03114:rvnSonyUK:rnRaspberryPi4ModelB:rvrD03114:cvnSonyUK:ct34:cvrRaspberryPi4ModelB:'
no matches found for a device alias 'usb:v1D6Bp0003d0512dc09dsc00dp03ic09isc00ip00in00'
no matches found for a device alias 'usb:v0BDAp0411d0127dc09dsc00dp03ic09isc00ip00in00'
no matches found for a device alias 'of:NthermalT(null)Cbrcm,bcm2711-thermal'
no matches found for a device alias 'of:NrngT(null)Cbrcm,bcm2711-rng200'
no matches found for a device alias 'usb:v0BDAp5411d0127dc09dsc00dp02ic09isc00ip02in00'
no matches found for a device alias 'of:NgpuT(null)Cbrcm,bcm2711-vc5'
no matches found for a device alias 'of:NpcieTpciCbrcm,bcm2711-pcie'
no matches found for a device alias 'input:b0003v045Ep00CBe0111-e0,1,2,4,k110,111,112,r0,1,8,B,am4,lsfw'
no matches found for a device alias 'platform:bcm2835-isp'
no matches found for a device alias 'platform:efivars'
no matches found for a device alias 'platform:vcsm-cma'
no matches found for a device alias 'of:NclocksT(null)Craspberrypi,firmware-clocks'
no matches found for a device alias 'of:Nv3dT(null)Cbrcm,2711-v3d'
no matches found for a device alias 'pci:v000014E4d00002711sv00000000sd00000000bc06sc04i00'
no matches found for a device alias 'of:Nsd_io_1v8_regT(null)Cregulator-gpio'
no matches found for a device alias 'platform:snd-soc-dummy'
no matches found for a device alias 'platform:bcm2835-wdt'
no matches found for a device alias 'of:NfirmwareT(null)Craspberrypi,bcm2835-firmwareCsimple-mfd'
no matches found for a device alias 'of:NvcsmT(null)Craspberrypi,bcm2835-vcsm'
no matches found for a device alias 'of:Nrpivid-local-intcT(null)Craspberrypi,rpivid-local-intc'
no matches found for a device alias 'usb:v05ACp024Fd0102dc00dsc00dp00ic03isc01ip02in01'
no matches found for a device alias 'of:NtimerT(null)Cbrcm,bcm2835-system-timer'
no matches found for a device alias 'of:NfirmwarekmsT(null)Craspberrypi,rpi-firmware-kms-2711'
no matches found for a device alias 'of:NgpioT(null)Craspberrypi,firmware-gpio'
no matches found for a device alias 'platform:reg-dummy'
no matches found for a device alias 'of:Nemmc2T(null)Cbrcm,bcm2711-emmc2'
no matches found for a device alias 'of:NmdioT(null)Cbrcm,genet-mdio-v5'
no matches found for a device alias 'sdio:c02v02D0dA9A6'
no matches found for a device alias 'platform:raspberrypi-hwmon'
no matches found for a device alias 'platform:Fixed MDIO bus'
no matches found for a device alias 'platform:kgdboc'
no matches found for a device alias 'of:NphyT(null)Cusb-nop-xceiv'
no matches found for a device alias 'of:Nvp9-decoderT(null)Craspberrypi,rpivid-vp9-decoder'
no matches found for a device alias 'cpu:type:aarch64:feature:,0000,0001,0002,0007,000B'
no matches found for a device alias 'of:NnvramT(null)Craspberrypi,bootloader-configCnvmem-rmem'
no matches found for a device alias 'platform:cpufreq-dt'
no matches found for a device alias 'of:NgpiomemT(null)Cbrcm,bcm2835-gpiomem'
no matches found for a device alias 'of:Narm-pmuT(null)Carm,cortex-a72-pmuCarm,armv8-pmuv3'
no matches found for a device alias 'usb:v05ACp024Fd0102dc00dsc00dp00ic03isc01ip01in00'
no matches found for a device alias 'usb:v2109p3431d0421dc09dsc00dp01ic09isc00ip00in00'
no matches found for a device alias 'of:Nhevc-decoderT(null)Craspberrypi,rpivid-hevc-decoder'
no matches found for a device alias 'platform:regulatory'
module 'mmcblk' currently used at the host but was not added to the image
module 'bcm2708_fb' currently used at the host but was not added to the image
module 'blk_cgroup' currently used at the host but was not added to the image
module 'v3d' currently used at the host but was not added to the image
module 'bcm2835_v4l2' currently used at the host but was not added to the image
module 'v4l2_mem2mem' currently used at the host but was not added to the image
module 'overlay' currently used at the host but was not added to the image
module 'watchdog' currently used at the host but was not added to the image
module 'vc_mem' currently used at the host but was not added to the image
module 'apparmor' currently used at the host but was not added to the image
module 'crypto_user' currently used at the host but was not added to the image
module 'mousedev' currently used at the host but was not added to the image
module 'rng_core' currently used at the host but was not added to the image
module 'tcp_cubic' currently used at the host but was not added to the image
module 'brcmutil' currently used at the host but was not added to the image
module 'processor' currently used at the host but was not added to the image
module 'kernel' currently used at the host but was not added to the image
module 'brd' currently used at the host but was not added to the image
module 'lockd' currently used at the host but was not added to the image
module 'fb_sys_fops' currently used at the host but was not added to the image
module 'gpu_sched' currently used at the host but was not added to the image
module 'random' currently used at the host but was not added to the image
module 'bcm2835_mmc' currently used at the host but was not added to the image
module 'snd_pcm_dmaengine' currently used at the host but was not added to the image
module 'rpivid_mem' currently used at the host but was not added to the image
module 'efivarfs' currently used at the host but was not added to the image
module 'rcutree' currently used at the host but was not added to the image
module '8250' currently used at the host but was not added to the image
module 'dns_resolver' currently used at the host but was not added to the image
module 'crct10dif_ce' currently used at the host but was not added to the image
module 'fuse' currently used at the host but was not added to the image
module 'iscsi_ibft' currently used at the host but was not added to the image
module 'thermal' currently used at the host but was not added to the image
module 'usbcore' currently used at the host but was not added to the image
module 'x_tables' currently used at the host but was not added to the image
module 'lan78xx' currently used at the host but was not added to the image
module 'snd_pcm' currently used at the host but was not added to the image
module 'srcutree' currently used at the host but was not added to the image
module 'i2c_bcm2835' currently used at the host but was not added to the image
module 'usbhid' currently used at the host but was not added to the image
module 'f2fs' currently used at the host but was not added to the image
module 'pnp' currently used at the host but was not added to the image
module 'battery' currently used at the host but was not added to the image
module 'genet' currently used at the host but was not added to the image
module 'videobuf2_vmalloc' currently used at the host but was not added to the image
module 'loop' currently used at the host but was not added to the image
module 'i2c_hid' currently used at the host but was not added to the image
module 'cpufreq' currently used at the host but was not added to the image
module 'brcmfmac' currently used at the host but was not added to the image
module 'usb_storage' currently used at the host but was not added to the image
module 'smsc95xx' currently used at the host but was not added to the image
module 'sch_fq_codel' currently used at the host but was not added to the image
module 'nfsv4' currently used at the host but was not added to the image
module 'rfkill' currently used at the host but was not added to the image
module 'nfs_layout_nfsv41_files' currently used at the host but was not added to the image
module 'vc_sm_cma' currently used at the host but was not added to the image
module 'gpiolib_acpi' currently used at the host but was not added to the image
module 'ipv6' currently used at the host but was not added to the image
module 'mc' currently used at the host but was not added to the image
module 'fscache' currently used at the host but was not added to the image
module 'sdhci' currently used at the host but was not added to the image
module 'i2c_bcm2708' currently used at the host but was not added to the image
module 'nfs' currently used at the host but was not added to the image
module 'auth_rpcgss' currently used at the host but was not added to the image
module 'keyboard' currently used at the host but was not added to the image
module 'scsi_transport_iscsi' currently used at the host but was not added to the image
module 'vt' currently used at the host but was not added to the image
module 'videodev' currently used at the host but was not added to the image
module 'soundcore' currently used at the host but was not added to the image
module 'binder' currently used at the host but was not added to the image
module 'nvme_core' currently used at the host but was not added to the image
module 'sunrpc' currently used at the host but was not added to the image
module 'cpuidle' currently used at the host but was not added to the image
module 'block' currently used at the host but was not added to the image
module 'videobuf2_dma_contig' currently used at the host but was not added to the image
module 'scsi_mod' currently used at the host but was not added to the image
module 'bcm2835_mmal_vchiq' currently used at the host but was not added to the image
module 'crc_t10dif' currently used at the host but was not added to the image
module 'drm' currently used at the host but was not added to the image
module 'uio_pdrv_genirq' currently used at the host but was not added to the image
module 'uio' currently used at the host but was not added to the image
module 'cachefiles' currently used at the host but was not added to the image
module 'binder_alloc' currently used at the host but was not added to the image
module 'printk' currently used at the host but was not added to the image
module 'cfg80211' currently used at the host but was not added to the image
module 'bcm2835_isp' currently used at the host but was not added to the image
module 'vc4' currently used at the host but was not added to the image
module 'sysrq' currently used at the host but was not added to the image
module 'acpi_power_meter' currently used at the host but was not added to the image
module 'kvm' currently used at the host but was not added to the image
module 'xhci_hcd' currently used at the host but was not added to the image
module 'rcupdate' currently used at the host but was not added to the image
module 'fb' currently used at the host but was not added to the image
module 'nfs_layout_flexfiles' currently used at the host but was not added to the image
module 'videobuf2_common' currently used at the host but was not added to the image
module 'acpi' currently used at the host but was not added to the image
module 'kdb' currently used at the host but was not added to the image
module 'snd_bcm2835' currently used at the host but was not added to the image
module 'snd_timer' currently used at the host but was not added to the image
module 'sha256_generic' currently used at the host but was not added to the image
module 'fscrypto' currently used at the host but was not added to the image
module 'drm_kms_helper' currently used at the host but was not added to the image
module 'nvme' currently used at the host but was not added to the image
module 'configfs' currently used at the host but was not added to the image
module 'snd_soc_core' currently used at the host but was not added to the image
module 'ip_tables' currently used at the host but was not added to the image
module 'workqueue' currently used at the host but was not added to the image
module 'bcm2835_codec' currently used at the host but was not added to the image
module 'sysimgblt' currently used at the host but was not added to the image
module 'xz_dec' currently used at the host but was not added to the image
module 'firmware_class' currently used at the host but was not added to the image
module 'pcie_aspm' currently used at the host but was not added to the image
module 'nvmem_rmem' currently used at the host but was not added to the image
module 'zswap' currently used at the host but was not added to the image
module 'hid' currently used at the host but was not added to the image
module 'netpoll' currently used at the host but was not added to the image
module 'joydev' currently used at the host but was not added to the image
module 'i2c_dev' currently used at the host but was not added to the image
module 'debug_core' currently used at the host but was not added to the image
module 'backlight' currently used at the host but was not added to the image
module 'sysfillrect' currently used at the host but was not added to the image
module 'kgdboc' currently used at the host but was not added to the image
module 'spurious' currently used at the host but was not added to the image
module 'videobuf2_v4l2' currently used at the host but was not added to the image
module 'snd_compress' currently used at the host but was not added to the image
module 'raspberrypi_hwmon' currently used at the host but was not added to the image
module 'cec' currently used at the host but was not added to the image
module 'module' currently used at the host but was not added to the image
module 'cryptomgr' currently used at the host but was not added to the image
module 'button' currently used at the host but was not added to the image
module 'snd' currently used at the host but was not added to the image
module 'dwc_otg' currently used at the host but was not added to the image
module 'videobuf2_memops' currently used at the host but was not added to the image
module 'syscopyarea' currently used at the host but was not added to the image
enabling virtual console
detected language - 'en_US.UTF-8'
/etc/vconsole.conf does not provide FONT settings, skip vconsole font configuration

dmesg | grep sha2
dmesg | grep error
With dracut the boot is clean.

I see that your system uses sha256_generic but it was added to the booster image. Could you please try adding it and force its loading using following config option: modules_force_load: sha256_generic?

I have tried to exclude xxhash_generic with modules: -*,hid_apple,kernel/fs/btrfs/btrfs.ko,kernel/drivers/block/zram/zram.ko,-kernel/crypto/xxhash_generic.ko
However, it continues to be included in the image. And neither sha2_ce nor xxhash_generic are mentioned in the booster debug output but they are included in the image.

# lsmod | grep sha
sha256_generic         16384  0
sha256_arm64           28672  0

The module is loaded but it appears nothing is using it, or at least that is my interpretation of the 0.
And yes, I will now add sha256_genreric.

Does it mean that with added sha256_genreric module you are able to boot booster at RPi4?

# lsmod | grep sha
sha256_generic         16384  0
sha256_arm64           28672  0

The module is loaded but it appears nothing is using it, or at least that is my interpretation of the 0.
And yes, I will now add sha256_genreric.

No, I have not been able to successfully boot with booster. When I boot to post here, I am using a dracut initramfs.
Is there a way to prevent a module from loading? I would like to try booting without the xxhash_generic.
However, it will need to wait until the morning. I must call it a night.

That xxhash_generic is probably loaded as a dependency of some other module (like btrfs).
There is no out-of-box way to disable a specific module loading. But if you really want it - modify init/module.go method loadModuleUnlocked() and right after for _, module := range modules { add if module == "module.to.ignore" {continue}.
I wish I had an access to a RaspberryPi4 so I can debug the issue myself. What I would do in this case is reduced booster config a bit:

disabled network. booster needs network only if the filesystem is remote or unlocker requires a network service like Tang
removed modules: -* and started with list of modules selected by booster
use universal images universal: true it will create much larger image but it also will contain a lot more different modules.
removed modules_force_load

Then I would add extra_files: busybox - this enables emergency shell.
Also what is GRUB insmod part_gpt; insmod btrfs config options? Are they really needed taking into account that initramfs loads btrfs modules anyway?

The reason for the grub configs? Sort of a self-documenting what my booting requires of grub.
As I can not load the sha2_ce module, I expect the RPi4 does not support the crypto extension. I have asked for it to be removed from the next rpi rc kernel build and I will try again with that kernel. Not sure when that will be, hopefully in the next several days.

I wonder why booster loads it at all. There must be some module requires sha2_ce or one of its aliases (sha256, sha224,..).
Where I can find image for the RPi4 you use? I wan to unpack it and see the kernel modules info it has.

Yes, btrfs does bring in xxhash_generic, I can't do much about that.

Per logs here https://github.com/anatol/booster/issues/87#issuecomment-852655910 you have xxhash_generic in the list of the loaded modules. From the other side sha2_ce module is not used at your dracut system but booster pulls it anyway.

https://github.com/manjaro-arm/rpi4-images/releases/download/21.04/Manjaro-ARM-kde-plasma-rpi4-21.04.img.xz
That will get you close, but I am currently running the linux-rpi4-mainline kernel package.
git clone https://gitlab.manjaro.org/manjaro-arm/packages/core/linux-rpi4-mainline.git
This will get you the kernel config for the linux-rpi4-mainline

The new screenshot, with the sha2_ce module removed from the kernel build... not it hangs at this point:
https://forum.manjaro.org/uploads/default/original/3X/0/4/040234c55b5da6297b0dcb427b5053f66d32c18d.jpeg
However I was able to Ctrl-Alt-Delete and it rebooted... so better. Hopefully the new screenshot gives you an idea of something else for me to try.

Eh, I see the compression did not help the image any... sorry. It hangs just after loading the hid_apple module which is for my keyboard but I can change to a logitech and remove the hid_apple module from the config. Speaking of, here is the config used for this booster.img:
$ cat /etc/booster.yaml
universal: true
modules: hid_apple,kernel/fs/btrfs/btrfs.ko,kernel/drivers/block/zram/zram.ko,kernel/crypto/sha256_generic.ko
compression: zstd
strip: false
extra_files: mount,fsck,fsck.btrfs,btrfsck,btrfs,zramctl
vconsole: true

I removed everything to the right of audit=0 (my normal boot) and then rebooted. Now I see what might be the next issue:
[    2.632892] Btrfs loaded, crc32c=crc32c-generic, zoned=yes
fsck for /dev/sda3 failed with code 0x8
[    2.650836] booster: fsck for /dev/sda3 failed with code 0x8

Which is followed by the loading of the hid_apple module and the subsequent hang.

The problem you see (system hangs) is because fsck fails with error 8 which is quoting the manpage Operational error, eg. device does not exist Huh.. What are the logs right before the btrfs part? Do you see anything related to discovering block device sda or sda3?
Also add busybox to extra_files and set mount_timeout to some small value e.g. 40s. Once the timeout fires it enters the emergency shell where you have more opportunities to inspect the system e.g. check dmesg from the beginning of the boot process.

message echoing the failure

The messages are printed to stdout and to dmesg (and in verbose mode end up at stdout as well).

Yes, it discovers /dev/sda[1-5]
/dev/sda attached scsi disk
I'll do as you suggest and report back.

/dev/sda
/dev/sda1
...
/dev/sda5

All exist in /dev.
I performed btrfs check /dev/sda3 and it successfully passed, no errors.
/usr/bin/fsck.btrfs does not run, /bin/sh does not exist, as specified in the script.
How does booster perform the fsck on btrfs?

booster calls fsck $DEVICE.
Given the information above it looks like:

fsck.btrfs is no-op (surprisingly for me)
fsck.btrfs needs /bin/sh dependency.

For now just remove fsck binaries from the image and try again.
In the future we need some other way to run fsck automatically. I wonder what dracut uses for fsck-ing.

Maybe consult fstab to see a fsck is enabled? Which is not in the image. A proper btrfs fsck takes a while, most do not check it on boot. fsck.btrfs is a do nothing script.
$ /usr/bin/fsck.btrfs
If you wish to check the consistency of a BTRFS filesystem or
repair a damaged filesystem, see btrfs(8) subcommand 'check'.

Without the fsck binaries:
BTRFS: device label MNJRO_ROOT devid 1 transid 85243 /dev/sda3 scanned by init (1)
BTRFS error (device sda3) unrecognized mount option 'defaults'
BTRFS error (device sda3): open_ctree failed
mount(/dev/sda3): invalid argument
Timeout waiting for root filesystem
booster: mount(/dev/sda3): invalid argument

I removed defaults from rootflags and now I can boot successfully with booster.

You need to replace defaults mount option with its explicit mount flags equivalent: rw,suid,dev,exec,auto,nouser,async

I removed defaults from rootflags and now I can boot successfully with booster.

Woot, congrats! Now I need to unwind this discussion thread and file tickets for the issues been found.

Thank you for all of your assistance. I would like to try it with tftp + nfsroot + systemd-overlayfs, should that be supported? It is not implemented with mkinitcpio, and why I use dracut.

rw,suid,dev,exec,auto,nouser,async
I changed two things so not sure, I switched universal: false and I added the above to my grub.cfg
But auto and nouser generated the same errors as defaults, so I removed them and all is good again.

I also would like to add tiny sshd, to be able to remotely unlock LUKS disks. Would this possible?

I would like to try booster with tftp + nfsroot + systemd-overlayfs, should that be supported?

I doubt that it will work out of box.

Current booster architecture expects that each filesystem has an underlying block device. Which is not true for NFS. We need to extend booster's udev events processing and handle "network is up" event as "system is ready for network filesystems (NFS/SSHFS/...). Could you please file a ticket for NFS support? I am not an NFS user so detailed steps how to setup tftp/nfs would be super handy for me.
I've actually never heard of systemd-overlayfs. Is it some fork of overlayfs? What role systemd plays here?

I also would like to add tiny sshd, to be able to remotely unlock LUKS disks. Would this possible?

Currently booster does not support such use-case. Adding ssh server to the image brings a lot of complexity. Instead I plan to implement "reverse-Tang" feature that relies on much simpler key derivation protocol. See https://github.com/anatol/booster/issues/24
BTW booster supports network binding feature using Tang protocol. In this case booster boots machine and contacts Tang server to derive the unlocking key. Tang server runs in the local network and contains private unlock master key.
i.e. in this case of sshd boot stops and then administrator connects machine to unlock it. In case of tang the machine contacts Tang server to derive the unlocking key. It is not exactly the same as you are looking for but it might work for you in the meanwhile until reverse-tang feature is implemented.

After a little reading and thinking about your reverse-tang plan, it is a fine idea. +1

@0n0w1c I believe your original issue has been fixed and this issue can be closed now. The other requests you had )overlay and remove unlock support) are tracked via its own tickets.


Improve code quality

format code using black
fix most of flake8 warnings

Thanks for the cleanup and polish. I must confess, it took me some time to review all the changes. ;)


IPTVnator 0.13.0 - Translation issues

Describe the bug
Please check screenshot
To Reproduce
Expected behavior
Fixz the issues
Screenshots
At first run apepar this crimage cuuted

String untranslated

Strings untranslated

Desktop (please complete the following information):

PWA or Electron application 0.13.0 Windows installer
OS: Windows 10 22H2
Browser Chrome
Version 0.13.0

Additional context

It's my mistake, the part of the translation that you added in the last pull request I accidentally left out in v0.13, sorry 🤦  It will be part of the next release.

the new translations are part of v0.14.0 - https://github.com/4gray/iptvnator/releases/tag/v0.14.0


[Errno 2] No such file or directory: '/content/DAIN'

Make sure to use the last version of the Colab file. It seems that there are two clone operations, where there should be only one.￼


#3973 Fixed relative time filter error

Description

When modifying the relative filter widget, the correction popup is displayed as a range filter
An error that the latest time does not apply to the relative filter widget's reference value

Related Issue : #3973

How Has This Been Tested?

When modifying the relative filter widget, check if the edit popup is displayed as relative filter widget
Check whether the latest time reference value of the relative filter widget is applied

Need additional checks?
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.

Additional Context

deploy to 2


wifi: Add support for WPA3 Enterprise methods

Is your enhancement proposal related to a problem? Please describe.
Recently a new EAP-TLS security method is added to support Enterprise mode security https://github.com/zephyrproject-rtos/zephyr/blob/main/include/zephyr/net/wifi.h#L62 but it internally assumes WPA2 but for all those Enterprise security methods both WPA2 and WPA3 are supported, so, we need to support both variants.
See below links for more info.
https://mrncciew.com/2020/08/17/wpa3-enterprise/
https://www.ezurio.com/support/faqs/how-to-support-wpa3-enterprise-suite-b-192-by-wpa-supplicant-configuration
Describe the solution you'd like
A simple approach is to add Enumerations to cover both, but it can become cumbersome, so, may be we should allow multiple security methods using a bitmap and with checking valid combinations?
Also, for WPA3 enterprise we might need to query the underlying chipset for WPA3-Enterprise-192.
Describe alternatives you've considered
None
Additional context

FYI @fengming-ye @MaochenWang1

https://github.com/zephyrproject-rtos/zephyr/commit/be151908d88e859e5155c9aec0bbf2f26dd57fc8 implements this, adds Suite-B and Suite-B-192 to the Connection request data structure and shell.


[Feat] adding deployment link

Description
Deployment link should be added at project name in readme.md file
Screenshots
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

@beRajeevKumar assign me this issue


bug: Collapse Title bouncing when opened or closed (Collapse with checkbox)

1. What version of daisyUI are you using?
v3.5.0
2. Describe your issue
Using the collapse with checkbox element and restyle it with smaller padding top and bottom and no min-height on both title and input makes the title div grow bigger on click for a small duration but enough that it's visible.
3. What browsers are you seeing the problem on?
Chrome
4. Reproduction URL
https://daisyui.com/components/collapse/

duplicate of #2137


Implement interface using subclass as method parameter

A class shouldn't be allowed to implement an interface using subclass as method parameter.

TypeScript Version:  2.7.0-dev.20171226
Code
class Animal {
  name: string
}

class Dog extends Animal {
  sayWoof () {
    console.log('woof')
  }
}

interface Shelter {
  put (animal: Animal): void  // put() accepts Animal.
}

class DogShelter implements Shelter {
  put (dog: Dog): void {      // Why is this possible?
    dog.sayWoof()
  }
}

function putToShelter (shelter: Shelter, animal: Animal) {
  shelter.put(animal)
}

let d = new DogShelter()

putToShelter(d, new Dog())
putToShelter(d, new Animal())

Expected behavior:
An error should be occurred because Dog is not compatible with Animal.
Dog has sayWoof method. Animal doesn't have sayWoof method.
Actual behavior:
No compile-time error is occurred from this snippet, but runtime error is occurred.
$ node_modules/.bin/tsc a.ts
$ node a.js
woof
/mnt/c/Users/nieltg/Desktop/test/a.js:30
        dog.sayWoof();
            ^

TypeError: dog.sayWoof is not a function

https://github.com/Microsoft/TypeScript/wiki/FAQ#why-are-function-parameters-bivariant
For the record, this is not entirely true anymore with --strictFunctionTypes, but our decision was to continue comparing method parameters bivariantly because doing otherwise would have imposed too many breaks on existing code, and made it overly restrictive to model common patterns in JS as they exist today.

@DanielRosenwasser
Oh, sorry. I missed that one. Thank you for mentioning it.

Hi @DanielRosenwasser,
Sorry for reopening this issue, but I've tried using --strictFunctionTypes but still, no compile-time error is occurred on my snippet.
I've also found that --strictFunctionTypes works on this case. (I append this code below on my snippet)
function varianceTest(dog: Dog) {
  dog.sayWoof()
}

let animal: (dog: Animal) => void = varianceTest

A compile-time error occurs for this case, but not for my previous case.
$ tsc a.ts --strict
a.ts(38,5): error TS2322: Type '(dog: Dog) => void' is not assignable to type '(dog: Animal) => void'.
  Types of parameters 'dog' and 'dog' are incompatible.
    Type 'Animal' is not assignable to type 'Dog'.
      Property 'sayWoof' is missing in type 'Animal'.

You have to use a "function declaration" to get strict checking. Methods are compared bivariantly on purpose.
interface Shelter {
  // put (animal: Animal): void  // method
  put: (animal: Animal) => void  // function
}

Oh, now I see.
Thank you, @gcnew, for your explanation.


Switch over to max_pool_v2 in Python

This fix is a follow up to #11875 so that MaxPool in Python use v2 version. As 11875 has been merged several months ago, this fix conforms to the deprecation policy.
This fix is realted to #11875 and #4746.
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

Thanks @rmlarsen for the review. The PR has been updated.

@rmlarsen WDYT?


Wavenet Estimator does not take minute frequency

Description
(A clear and concise description of what the bug is.)
To Reproduce
(Please provide minimal example of code snippet that reproduces the error. For existing examples, please provide link.)
Error Message
(Paste the complete error message, including stack trace.)
Environment

Operating system:
Python version:
GluonTS version:

(Add as much information about your environment as possible, e.g. dependencies versions.)

Description:
I am trying to replicate the twit example with different estimators and compare the results.
wavenet_estimator = WaveNetEstimator(freq="5min", prediction_length=12, trainer=Trainer(epochs=EPOCHS))
I get the following result
KeyError                                  Traceback (most recent call last)
 in ()
----> 1 wavenet_estimator = WaveNetEstimator(freq="5min", prediction_length=12, trainer=Trainer(epochs=EPOCHS))
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/core/component.py in init_wrapper(*args, **kwargs)
395                 self.class.repr = validated_repr
396
--> 397             return init(self, **all_args)
398
399         # attach the Pydantic model as the attribute of the initializer wrapper
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/model/wavenet/_estimator.py in init(self, freq, prediction_length, trainer, num_eval_samples, cardinality, embedding_dimension, num_bins, hybridize_prediction_net, n_residue, n_skip, dilation_depth, n_stacks, temperature, act_type)
162
163         seasonality = _get_seasonality(
--> 164             self.freq, {'H': 7 * 24, 'D': 7, 'W': 52, 'M': 12, 'B': 7 * 5}
165         )
166         goal_receptive_length = max(seasonality, 2 * self.prediction_length)
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/model/wavenet/_estimator.py in _get_seasonality(freq, seasonality_dict)
87         else {'H': 7 * 24, 'D': 7, 'W': 52, 'M': 12, 'B': 7 * 5}
88     )
---> 89     seasonality = sdict[base_freq]
90     if seasonality % multiple != 0:
91         logging.warning(
KeyError: 'min'
Environment
Amazon SageMaker - mxnet-py36
I have installed gluonts manually
Linux ip-172-16-8-18 4.14.121-85.96.amzn1.x86_64 #1 SMP Wed May 22 00:45:50 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
mx.version: '1.4.1'

Looks like just adding the support 'min' to the keys might work -- however I'm not sure if 'min': 60 * 7 * 24 could create memory issues
cc @geoalgo ?

I think it wont because the code has this safeguard:
goal_receptive_length = max(seasonality, 2 * self.prediction_length)

Solved in #262


Session Management

##Sessions are only persisting after the user is logged in. While this is typical behavior, where is this decision made in the code? I want to modify it so that the session will be created on user visit and persist on further visits. I am using session-file-store with express-session.
I have also tried saving session objects to the request, but the session will not persist until a user is logged in.
Any help please? If someone could point me to the code where authentication causes the sessionID to persist, that would be very helpful.
Here is the session code I added:
var FileStore = require('session-file-store')(session);

app.use(session({
    name: 'server-session-cookie-id',
    secret: 'random stuff',
    store: new FileStore(),
    saveUninitialized: false,
    resave: false
}));

Have you tried saveUninitialized: true? I would guess that there is no explicit code which initiates the save. The authenticatication info is added to the session and that causes the save.

Tried that, to no avail unfortunately. I believe it has something to do with the redux code for auth.js, because when I modify the login function to post to another api endpoint, session management works.
It might be triggering a flag somewhere, but I am unsure how to process from this problem.

@ExDr
Using the snippet above (with saveUninitialized: true) I get cookies saved in the sessions directory after viewing the home page not logged in. I'm not sure why you're seeing different behavior.
There are two cookies after one visit. That is probably due to server side and client side requests. I'm not sure how you would work around that.
Out of the box, the application only cares about the session for the logged in user name and only accesses the session in the API server. Take a look at these files:
api/actions/login.js
api/actions/logout.js
api/actions/loadAuth.js
While it doesn't use the session directly, src/routes.js calls loadAuth (only for pages that require login).

@roof12 Thank you for the help on this issue.
I have no problem getting the session to save to the sessions directory. My problem is getting the session to persist without a user actually logging in.
Two points:

When a user is logged in, the sessionID persists on further requests. This is expected behavior, he application only cares about the session for the logged in user name, like you say.
When a user is not logged in, the sessionID does not persist (but I want it to). On further requests, a new sessionID is produced even if information is saved to the session object (why does this happen?)

In api/actions/login.js, a user is saved to the sessions object. When I duplicate this code in another API endpoint, the sessionID does not persist. Why would this be? I want the sessionID to persist on page visit, but how?

Dang, right when I am able to recreate what I thought you were experiencing you tell me it works for you. You've probably moved on, but I'll add a little here in case it helps anyone else.
Only API calls will trigger the session creation. It seems that the session is created and saved to the file system correctly. However, when the API call comes from the server, the cookie never makes it to the browser. This is by correct by the design of the application.
If you want server API calls to receive the newly created cookie, you'll have to make some changes, probably in ApiClient.


[GOBBLIN-1108] bump up mysql-connector

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below! @htran1  please review
JIRA

[x] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-1108

Description

[x] Here are some details about my PR, including screenshots (if applicable):
bump up mysql-connector as support for mysql 5.6 is ending soon

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:
test cases already present

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #2948 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2948      +/-   ##
============================================
+ Coverage     45.58%   45.60%   +0.01%
- Complexity     9157     9164       +7
============================================
  Files          1936     1936
  Lines         73286    73295       +9
  Branches       8088     8088
============================================
+ Hits          33409    33423      +14
+ Misses        36782    36780       -2
+ Partials       3095     3092       -3

Impacted Files
Coverage Δ
Complexity Δ

...lin/elasticsearch/writer/FutureCallbackHolder.java
61.42% <0.00%> (-1.43%)
4.00% <0.00%> (ø%)

...main/java/org/apache/gobblin/util/HadoopUtils.java
30.20% <0.00%> (-0.68%)
24.00% <0.00%> (-1.00%)

...he/gobblin/metrics/reporter/ScheduledReporter.java
60.60% <0.00%> (+1.51%)
15.00% <0.00%> (+1.00%)

.../org/apache/gobblin/cluster/GobblinTaskRunner.java
67.04% <0.00%> (+1.55%)
33.00% <0.00%> (+4.00%)

...lin/restli/throttling/ZookeeperLeaderElection.java
72.22% <0.00%> (+2.22%)
13.00% <0.00%> (ø%)

...ava/org/apache/gobblin/fsm/FiniteStateMachine.java
76.51% <0.00%> (+3.03%)
21.00% <0.00%> (+3.00%)

Continue to review full report at Codecov.

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


What would be best way to add a new getAccessToken-like method?

I am writing a PHP client to Smartsheet and potentially I'd like to release it as a provider.
My calls look like this
      $access_token = $provider->getAccessToken('authorization_code', [
        'code' => $authorization_code,
        'hash' => hash('sha256', OauthStart::CLIENT_SECRET . '|' . $authorization_code),
      ]);
      $access_token = $provider->getAccessToken('refresh_token', [
        'refresh_token' => $refresh_token,
        'hash' => hash('sha256', OauthStart::CLIENT_SECRET . '|' . $refresh_token),
      ]);

So one simple signature would be $provider->someMethod($grant, $grant_value, $secret, $additional_options) and then someMethod could call getAccessToken as necessary. Is this acceptable in an official provider? What a good method name would be? Two methods maybe? getTokenFromAuthorizationCode($authorization_code, $secret, $additional_options) and refreshToken($refresh_token, $secret, $additional_options)?

What is it exactly that you are trying to accomplish? One method to retrieve the accessToken OR the refreshToken?

Well, GenericProvider does that. I am not sure whether a single method or two methods would be best.

Well, GenericProvider has a single method which I am calling as above, as described in the README -- but I would need a new method to allow for passing in the secret. I am not sure whether a) single method or b) two methods would be best and what method names.


Enable ability to have models in more than one package (other than the implementation.models package)

Feature request to allow an autorest configuration that will allow us to separate classes into separate packages as follows:
custom-types-subpackage: administration.models
custom-types:
custom-types-subpackage2: models
custom-types2:

@alzimmermsft @srnagar What's your thought?

@sharathmalladi
In this namespace schema, you seems need to move some client class to administration as well?

Yes, I need some to be in models package and some to be in administration.models package. But I also need files in the implementation package that are not public to the user (such as Error classes that are required by both models and administration.models packages). To serve this purpose, we need the ability to have models, administration.models and implementation packages.

Just a quick clarification, is the use case for this with a single Swagger document or multiple Swagger documents directing code generation?

Just a quick clarification, is the use case for this with a single Swagger document or multiple Swagger documents directing code generation?

Single swagger document in my case.


Task descriptions are incorrect

The descriptions of ktfmtFormat... and ktfmtCheck... tasks are incorrect, I think they were just mixed up.
Current behaviour
Check Task:
https://github.com/cortinico/ktfmt-gradle/blob/0d43625fa8988de6309b38fef7fdaead62c03978/plugin-build/plugin/src/main/java/com/ncorti/ktfmt/gradle/KtfmtPluginUtils.kt#L83
Format Task:
https://github.com/cortinico/ktfmt-gradle/blob/0d43625fa8988de6309b38fef7fdaead62c03978/plugin-build/plugin/src/main/java/com/ncorti/ktfmt/gradle/KtfmtPluginUtils.kt#L110

You are probably right about that 👍


Instrumentation with Next15

Loading instrumentation fails with Next15.

Closing as resolved in #169 (I'm not sure why gh linking didn't close this automatically 🤷)


Why call updateState while dragging?

Is it really necessary to call updateState while dragging, rather than simply at the end? If so can we get another method that is called once the drag is done? I'd rather not push the state back up the chain while the operation is in progress, this kicks off a flood of events.

Sounds reasonable, but you still need to tell the component to trigger the render function when the two items are swapped. I very like the idea of using two separate methods instead of one, you are welcome to contribute on this and create PR.

+1


Files missing during make step

When running the make command the following get thrown:
Makefile.am: error: required file './AUTHORS' not found
Makefile.am: error: required file './ChangeLog' not found

I was able to solve it by manually creating the two files. They should really be part of the repo.

Hi there - was this with the develop branch, or master?  I need to work on the master branch (bringing it up to speed) but suggest you work with develop.  The bootstrap.sh command should have created those files, did it not?

Should have been the develop branch. I used the scripts detailed in the README.md

ok, so you checked out the develop branch and then did this:
git clone --depth=50 --branch=develop git://github.com/davehorton/drachtio-server.git && cd drachtio-server
git submodule update --init --recursive
./bootstrap.sh
mkdir build && cd $_
../configure CPPFLAGS='-DNDEBUG'
make
sudo make install

If so, and you got those errors, can you tell me which linux distro you were using so I can try to recreate?

ubuntu 14.04

Believe this is fixed


confusing try-catch around subscription in topics example

"error handling around subscription seems kinda awkward. Why do I need to wrap the whole thing in a try-catch block? Is this catching the error in case the connection to Momento dies? If Momento throws a tonic::internal status will that show up in e or will that show up as TopicSubscriptionItemError?"
Example code shouldn't have both case Error and try/catch block
try {
  await for (final msg in messageStream) {
    switch (msg) {
      case TopicSubscriptionItemBinary():
        print("Binary value: ${msg.value}");
      case TopicSubscriptionItemText():
        print("String value: ${msg.value}");
      case TopicSubscriptionItemError():
        print("Error receiving message: ${msg.errorCode}");
    }
  }
} catch (e) {
  print("Runtime type: ${e.runtimeType}");
  print("Error with await for loop: $e");
}

From the Dart docs on async streams: "When reading a stream using await for, the error is thrown by the loop statement. This ends the loop, as well. You can catch the error using try-catch"


Add logs agent pipeline performance telemetry

What does this PR do?
This PR introduces logs pipeline performance telemetry + makes internal buffers configurable.
Pipeline telemetry is comprised of two major pieces:
Utilization Ratio - Measurement of the ratio of how busy a unit of logic is vs it's idle time.
Utilization Items/Bytes - measurement of the number of elements and bytes present in a single component (and it's input channel).
Both of these metrics are exposed as gauges. Due to how fast log messages are processed - the raw data is very noisy. So to mitigate this some simple aggregation is performed:

utilization ratio is summed up over a 1 second window and aggregated into an ewma which is exposed as a Gauge.
utilization items/bytes is measured by computing the ewma of ingress - egress every second and reporting it as a Gauge.

In order to measure capacity we have to record ingress and egress throughout the logs pipeline. This means adding ingress and egress markers around when channel operations happen.
This PR is broken down into individual commits that should make it easier to review.
Motivation
Increase visibility of logs agent performance to drive optimization efforts.
Describe how to test/QA your changes

QA done by SMP run on PR
Spot check check utilization still works

Possible Drawbacks / Trade-offs
Additional Notes

/merge


TimeoutException after 0:00:20.000000: Future not completed

I deployed Serverpod with Google Cloud.
"I am getting a TimeoutException after 0:00:20.000000: Future not completed error on all API requests.
I/flutter (25878): Failed call: serverpod_auth.status.getUserInfo
I/flutter (25878): TimeoutException after 0:00:20.000000: Future not completed
client = Client(
'https://api.eslimasoftware.site/',
authenticationKeyManager: FlutterAuthenticationKeyManager(),
)..connectivityMonitor = FlutterConnectivityMonitor();
..........log........
2024-08-19 20:34:19.105 UTC [4980]: [1-1] db=serverpod,user=postgres ERROR: relation "serverpod_future_call" does not exist at character 13. //
{
httpRequest: {7}
insertId: "bzw1z1f8gd8pv"
jsonPayload: {
@type: "type.googleapis.com/google.cloud.loadbalancing.type.LoadBalancerLogEntry"
backendTargetProjectNumber: "projects/186553975287"
remoteIp: "<IP_ADDRESS>"
statusDetails: "body_not_allowed"
}
logName: "projects/eslimasoftwareograsist/logs/requests"
receiveTimestamp: "2024-08-19T19:28:16.091295215Z"
resource: {2}
severity: "WARNING"
timestamp: "2024-08-19T19:28:14.526740Z"

.......................

Hey @hidayet-poscu
This looks strange, but the following ERROR: relation "serverpod_future_call" does not exist indicates that the migration is not applied to the cloud database.
Is the screenshot of the database tables connected to the cloud database?

Hey@hidayet-poscu
Bu garip görünüyor, ancak aşağıdakiler ERROR: relation "serverpod_future_call" does not existgöçün bulut veritabanına uygulanmadığını gösteriyor.
Veritabanı tablolarının ekran görüntüsü bulut veritabanına bağlı mı?

There are no errors in the log records today, but this error occurs in API requests, and the application is not working.

Same too,when use docker build is use production.yaml,but cant' --apply-migrations.so,i change  Docerfile ENTRYPOINT ./server --mode=$runmode --server-id=$serverid --logging=$logging --role=$role --apply-migrations. I get error ,
2024-08-24 09:36:29.303214Z Internal server error. Failed to connect to database in future call manager.
DatabaseException: relation "serverpod_future_call" does not exist
#0      DatabaseConnection._query (package:serverpod/src/database/adapters/postgres/database_connection.dart:404)
<asynchronous suspension>
#1      DatabaseConnection._mappedResultsQuery (package:serverpod/src/database/adapters/postgres/database_connection.dart:458)
<asynchronous suspension>
#2      DatabaseConnection._deserializedMappedQuery (package:serverpod/src/database/adapters/postgres/database_connection.dart:476)
<asynchronous suspension>
#3      DatabaseConnection.deleteWhere (package:serverpod/src/database/adapters/postgres/database_connection.dart:288)
<asynchronous suspension>
#4      FutureCallManager._checkQueue (package:serverpod/src/server/future_call_manager.dart:107)
<asynchronous suspension>

Local stacktrace:
#0      FutureCallManager._checkQueue (package:serverpod/src/server/future_call_manager.dart:145)
<asynchronous suspension>

Only this table can't found.

Same too,when use docker build is use production.yaml,but cant' --apply-migrations.so,i change Docerfile ENTRYPOINT ./server --mode=$runmode --server-id=$serverid --logging=$logging --role=$role --apply-migrations. I get error ,
2024-08-24 09:36:29.303214Z Internal server error. Failed to connect to database in future call manager.
DatabaseException: relation "serverpod_future_call" does not exist
#0      DatabaseConnection._query (package:serverpod/src/database/adapters/postgres/database_connection.dart:404)
<asynchronous suspension>
#1      DatabaseConnection._mappedResultsQuery (package:serverpod/src/database/adapters/postgres/database_connection.dart:458)
<asynchronous suspension>
#2      DatabaseConnection._deserializedMappedQuery (package:serverpod/src/database/adapters/postgres/database_connection.dart:476)
<asynchronous suspension>
#3      DatabaseConnection.deleteWhere (package:serverpod/src/database/adapters/postgres/database_connection.dart:288)
<asynchronous suspension>
#4      FutureCallManager._checkQueue (package:serverpod/src/server/future_call_manager.dart:107)
<asynchronous suspension>

Local stacktrace:
#0      FutureCallManager._checkQueue (package:serverpod/src/server/future_call_manager.dart:145)
<asynchronous suspension>

Only this table can't found.

Failed to cleanup closed sessions: DatabaseException: relation "serverpod_session_log" does not exist
#0      DatabaseConnection._query (package:serverpod/src/database/adapters/postgres/database_connection.dart:404)
<asynchronous suspension>
#1      DatabaseConnection.query (package:serverpod/src/database/adapters/postgres/database_connection.dart:342)
<asynchronous suspension>
#2      HealthCheckManager._cleanUpClosedSessions (package:serverpod/src/server/health_check_manager.dart:113)
<asynchronous suspension>
#3      HealthCheckManager._performHealthCheck (package:serverpod/src/server/health_check_manager.dart:76)
<asynchronous suspension>
2024-08-24 13:38:01.095491Z Internal server error. Failed to connect to database in future call manager.
DatabaseException: relation "serverpod_future_call" does not exist
#0      DatabaseConnection._query (package:serverpod/src/database/adapters/postgres/database_connection.dart:404)
<asynchronous suspension>
#1      DatabaseConnection._mappedResultsQuery (package:serverpod/src/database/adapters/postgres/database_connection.dart:458)
<asynchronous suspension>
#2      DatabaseConnection._deserializedMappedQuery (package:serverpod/src/database/adapters/postgres/database_connection.dart:476)
<asynchronous suspension>
#3      DatabaseConnection.deleteWhere (package:serverpod/src/database/adapters/postgres/database_connection.dart:288)
<asynchronous suspension>
#4      FutureCallManager._checkQueue (package:serverpod/src/server/future_call_manager.dart:107)
<asynchronous suspension>

dart complie exe does not create tables when running in a production environment.You need to execute the sql in the migrations directory. This is my understanding

I have the same issue. I just followed the Google Cloud Engine with Terraform guide. I ran the migrations/<LATEST_MIGRATION>/definition.sql from Postico.
I checked from Postico and the serverpod_future_call table actually exists


Crashlytics causes SwiftUI to dismiss the sheet view the first time it is presented.

Step 1: Describe your environment

Xcode version: 12.1
iPhone running iOS 14.0.1 and 14.1
Firebase SDK version: 7.0.0
Installation method: CocoaPods
Firebase Component: Crashlytics

Step 2: Describe the problem
After adding Crashlytics pod to the project, sheet view gets dismissed first time it is opened.
Steps to reproduce:

Create empty Xcode App project and set Deployment to iOS 14:
Add code:

struct ContentView: View {

    var body: some View {

        NavigationView {
            NavigationLink(destination: DetailsView()) {
                Text("Open Details View")
            }
        }
        .navigationViewStyle(StackNavigationViewStyle())
    }
}

struct DetailsView: View {

    @State var sheetIsPresented: Bool = false

    var body: some View {
        VStack {
            Button("Open") {
                sheetIsPresented.toggle()
            }
        }.sheet(isPresented: $sheetIsPresented, content: {
            SheetView()
        })
    }
}

struct SheetView: View {

    var body: some View {
        Color.red
    }
}

Run the app on a device (works on simulator) and swiftly navigate to details view and press on the button to open the sheet view.  Sheet view is opened and remains on the screen.

Install Firebase/Crashlytics using pods.

platform :ios, '14.0'
target 'SampleApp' do
  use_frameworks!
    pod 'Firebase/Crashlytics'
end

Run the app on a device and swiftly navigate to Details view and press on the button to open the sheet view.

Expected: Sheet should open and remain on the screen.
Actual: Sheet is opened and dismissed the same moment.  All future taps work as expected, the sheet is opened and remains on the screen.
Removing  .navigationViewStyle(StackNavigationViewStyle()) everything works as expected.

This is a really interesting bug report. I can't think of any code in Crashlytics that would specifically trigger to dismiss a SwiftUI view, but only on the first presentation of that view. Do you have any other Firebase dependencies installed? cc @samedson

Yeah at first thought there's nothing in Crashlytics that would affect this, but maybe there's some sort of failure happening behind the scenes that's not visible?
Would you be able to reproduce this without Crashlytics installed (but keeping the rest of Crashlytics' dependencies)?

@samedson the same thing happens if 'Firebase/Analytics' pod is used.

@paleksandrs Thanks. What if only 'FirebaseCore' is used?

Although after initial testing this bug looked like it was connected to the Firebase pods, after doing more testing I found out that I can also reproduce it without using pods (maybe not so regularly as with pods installed).

OK, thanks for the follow up. I'll close since it sounds unlikely to be a Firebase issue. It might be better to start a discussion on an Apple forum. Feel free to share a link and/or continue the discussion here.


Test on erc7496

fixes #2

This PR is not needed anymore as another PR fixed this.

But the issue was assigned to me. Am i still eligible for the reward?


Sticky Index Overlaps on refreshing Indexes

Hi @edsilfer
The previous index overlaps the newindex on calling stickyIndex.refresh(indexes);
It previous index hides when I scroll the list. Am I doing anything wrong here.
Note : I've only used the StickIndex in my implementation & not used the Fast Scroller.
PFA Screenshot

@meethdjain can you please double check that the list you're passing to stickyIndex.refresh(indexes); matches the list being displayed? It should be an array of chars with the exact same number of items as the list being displayed, it also should be in the same order as the list being displayed. If you confirm that the condition I've mention are met, could you please create a sample git repository where this issue is reproducible? Then I can help you debug it.

Ping @meethdjain


Material: Improve InputBorder animation

In this PR, I have enhanced the animations for TextField, fixing an annoying visual bug with the label animation within OutlineBorder. Specifically, I’ve adjusted the gap's starting path to correctly account for the radius of the OutlineBorder. Additionally, I've ensured that the arc sweep of the corners is now animated smoothly rather than instantaneously.
This update resolves issue #153387, which I previously reported.
Below are some GIFs that compare the behavior of InputBorders before and after these changes, focus on the top left corner:
Before the changes:

After the changes:

Low radius OutlineBorders are unaffected while ones with high radius no longer have an abrupt transition
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Hey @voloder would you like to continue working on this change?

Hello, currently I am quite busy and have no time, but if someone wants to continue this I think the community would be grateful.


Support for non-system Python interpreter?

This is probably related to issue #1. For OSX, are user-installed Python interpreters or even virtualenvs possible?

Ok, this has two different parts:
Alternative Python interpreters
That can be achieved simply by changing the include/linking paths so that they point to the desired Python. Maybe a section in the README explaining that could be useful...
Virtualenvs
This is a matter of library paths. If you add the path to your env site-packages it should work, I think... An example demonstrating this would be great.
I leave this issue open until those aspects are documented

I've found the explaination for the virtualenv case: Getting an embedded Python runtime to use the current active virtualenv

Hi,
You can check the VIRTUAL_ENV environment variable to get a path to the current env.
Cheers
S

Activating a virtualenv is now supported with void ofxPython::setVirtualEnv(const string & path), where path is the virtualenv folder ( without the bin/activate_this.py part).
@stuaxo I think I'd prefer not having this done automatically. It is always possible to check the env variable in OF and use the setVirtualEnv method.


flutter web

hello dear
Do you have any plans to support flutter web ?

Hi @kiaxseventh , since Flutter doesn't really want to support flavors for Flutter web it's a bit tricky to manage all the surrounding stuff directly by flutter_flavorizr. Anyway, it's still possible to launch custom targets after you flavorized your project

you can use dart-define, example:
flutter build web --dart-define FLAVOR="you-flavor"
inside the app:
const flavor =String.fromEnvironment('FLAVOR', defaultValue: 'you-flavor');

Hi @kiaxseventh , since Flutter doesn't really want to support flavors for Flutter web it's a bit tricky to manage all the surrounding stuff directly by flutter_flavorizr. Anyway, it's still possible to launch custom targets after you flavorized your project

Hi Sir, I am able to run web app with flavors but not able to build web app with flavors, is there any solution for this.

related https://github.com/flutter/flutter/issues/141371


What is best way to config import settings for sound and music?

Hi, @LightGive I found this plugin so awesome, simple and very useful!
Could you please show me what is the best practice to organize and config import settings for sound effect (small file) and music (background music)
I want to learn how to import settings so the game can load fast and sounds are play smooth
Thank so much for creating this plugin!

Hi, @LightGive I found this plugin so awesome, simple and very useful!
Could you please show me what is the best practice to organize and config import settings for sound effect (small file) and music (background music)
I want to learn how to import settings so the game can load fast and sounds are play smooth
Thank so much for creating this plugin!

To import the music file, just put the music file in "LightGive / Managers / SimpleSoundManager / Sounds / Bgm or Se" and check with the inspector. SoundName.cs will be changed automatically afterwards.
It is a movie to import new music files.
https://youtu.be/MtW4qAtpzIg
I do not know much of the detailed setting of the sound, so please use the "AudioMixer" etc. for the detailed setting and set by yourself.
Thank you very much for using me!
I will keep updating from now on.
Please let me know if you do not understand anything else.
I will answer as much as possible.

Hi @LightGive
Thank so much for the quick answer!
Everything good until now. For the demo, I think you can add a slider for control volume total, button for on/off sound and button for on/ off music (Which is as I guess is biding with volumeTotal,volumeBgm,volumeSe).
Thank you!

surely!
Thank you for giving us adequate advice.
I think I will put it in tomorrow.
Thank you.


feat: use last stable Node.js everywhere

Is this solving a problem? I thought it would be good to continue ensuring node8 conformance, at least for a while longer.

Maybe to start with we can change this to node8? It would be good to have this constraint expressed in our package.json!

This is the plan for Node.js releases, v10 is the stable now:

I think we need to choose carefully, having in account the extra work we need to support different versions. As you know, Node.js is not backwards compatible if we want to use the new features, so it's not trivial.

Agreed with limiting support, but we aren't yet using any node 10 features. And node does ensure forwards compatibility, don't they?

Yes, it ensures forwards, not backwards. In example:

About the v10 features, it includes some interesting things: https://www.creativebloq.com/advice/whats-new-in-nodejs-10

i strongly suggest that we change this to specify node8. this should also resolve https://github.com/IBM/kui/issues/1406


pyproject.toml dependencies not reported or updated

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
pip
Package manager version
No response
Language version
No response
Manifest location and content before the Dependabot update
https://github.com/Twistedsnail/pip-dependabot/blob/master/pyproject.toml
dependabot.yml content
https://github.com/Twistedsnail/pip-dependabot/blob/master/.github/dependabot.yml
Updated dependency
[from]
setuptools==64
pyyaml==5.4.1
[to]
setuptools==65.x.x
pyyaml==6.0
What you expected to see, versus what you actually saw
I expected to see the project's dependencies listed on the dependency graph.
I also expected to see a PR updating the [from] to [to] sections as listed above.
I saw that the pyproject.toml was recognized as a manifest file but as has no dependencies or is too large to display.
No PR was made.
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
https://github.com/Twistedsnail/pip-dependabot

This is a duplicate of #3290 and will be fixed by #5661!


DCO check should be passing

For the Cilium project, we use DCO https://docs.cilium.io/en/v1.11/contributing/development/contributing_guide/#dev-coo. We even have a bot that checks each commit for sign off https://github.com/cilium/cilium/pull/19562#issuecomment-1108703593.
However the DCO check in CLOmonitor is currently failing. I read through the docs and I don't quite understand what it is checking for. Can you let me know what we are missing?

Hi @xmulligan 👋
At the moment we are looking for a check named dco in the last closed PR. There are a few ways that check can end up on the list below, like using the DCO Github app, for example.

In your case your are enforcing DCO by using a bot (maintainer-s-little-helper) that the check is not aware of, that's why it's not passing.
This check used to have a mechanism to verify that the last X commits in the repo had been signed off, but we disabled it a few weeks ago as it was rarely useful and it was slowing some things down. But I think we'll enable it back for now, which should fix this issue.

Thanks for the help resolving the issue!


keep WeakRefString in StringArray instead of Array

to ensure they are serialized properly
fixes https://github.com/JuliaComputing/JuliaDB.jl/issues/198 and https://github.com/JuliaComputing/JuliaDB.jl/issues/199

Great. Thanks for fixing these.


cache in function 'intor'

I found in nr_direct.c, there is a variable named 'cache' in integral function pointer '*intor', but in libcint there isn't this variable in int2e. So what's this variable used for. Is it important for SCF calculation. I use libcint to achieve a SCF, but its effiency is much lower then pyscf.  May I ask are there anything i should take care to achieve a SCF.

cache is passed to int2e function https://github.com/sunqm/libcint/blob/master/src/cint2e.c#L1141 . It is used to remove the malloc statement in integral code. malloc has non-negligible impacts on the efficiency of omp threading parallelism


[ERROR]: Broken link in Install-node.md

Is there an existing issue for this?

[x] I have searched the existing issues.

Issue

This link should be https://milvus.io/api-reference/node/v2.0.2/About.md
Suggestion
Please also conduct a universal search to make sure this does not exist elsewhere in the documentation.
Anything else?
No response

PR#1564


Choose lower apiVersion for VMA

Compare vkPhysicalDevice's ApiVersion and vkInstance's ApiVersion. Lower apiVersion could prevent unsupported issues on VMA.
closed: https://github.com/LunarG/gfxreconstruct/issues/883

CI gfxreconstruct build queued with queue ID 29353.

CI gfxreconstruct build # 2186 running.

CI gfxreconstruct build queued with queue ID 29367.

CI gfxreconstruct build # 2187 running.

CI gfxreconstruct build # 2187 passed.

CI gfxreconstruct build queued with queue ID 29504.

test passed


希望提供单个Sheet内批量MergeCell的功能

性能说明：https://xuri.me/wp-content/uploads/2016/08/excelize-performance.svg?t=20220502中描述MergeCell的耗时为0.018
我这边在V2.6.0版本上实测两个单元格合并单次调用的确耗时很低，在0.001左右。
但是我们这边有个处理要求合并多个单元格。数量级在 8000行40列0.001S中
实测发现随着调用次数增多，单次调用耗时会有比较大的出入，我观察到最多可能会到0.008S左右。
整体全部跑下来，执行时间大约在1000S左右。
我在merge.go中另外写了一个批量处理MergeCell的func，耗时降到了12S
`
func (f *File) MergeCellUnSetStyle(sheet string, hCells, vCells []string) error {
ws, err := f.workSheetReader(sheet)
if err != nil {
return err
}
if len(hCells) != len(vCells) {
return newerr
}
for i := 0; i < len(hCells); i++ {
hCell := hCells[i]
vCell := vCells[i]
rect, err := areaRefToCoordinates(hCell + ":" + vCell)
if err != nil {
return err
}
// Correct the coordinate area, such correct C1:B3 to B1:C3.
// _ = sortCoordinates(rect)
//hCell, _ = CoordinatesToCellName(rect[0], rect[1])
//vCell, _ = CoordinatesToCellName(rect[2], rect[3])
ref := hCell + ":" + vCell
if ws.MergeCells != nil {
ws.MergeCells.Cells = append(ws.MergeCells.Cells, &xlsxMergeCell{Ref: ref, rect: rect})
} else {
ws.MergeCells = &xlsxMergeCells{Cells: []*xlsxMergeCell{{Ref: ref, rect: rect}}}
}
}
ws.MergeCells.Count = len(ws.MergeCells.Cells)
return nil
}
`
测试文件请查收附件，很抱歉无法提供带有数据的表格，附件为处理完毕的表格。
Hello 2022-05-06 08-40-09.xlsx

Thanks for your feedback. The performance data is generated by this benchmark testing script, and I've test it works well. Can you show us a complete, standalone example program or reproducible demo?

e ， please use this test demo
MergeCell Test.zip

There is no obvious improvements in the time cost of the two programs in the attachment, and it takes about 1s to merge 400,000 cells not as you above mentation 1000s.

400,000 cells on your machine as long as 1S?
But on my side 10000 pieces cost 32S

Please upgrade to the master branch code. Commit eed431e improve performance for set sheet row and the merging cells, fix performance impact when resolving #1129.

think you, when i use this commit fix this problem


sys/random.h not found in when compiling 2.7.13

Python/random.c:7:10: fatal error: 'sys/random.h' file not found
#include <sys/random.h>
         ^

Keep getting this error. Seems to be related to this ticket. https://bugs.python.org/issue29057
Commenting the include statement out seems to work.
And on some platforms appletvos.arm64, watchos.arm7k.  I'm getting:
Python/random.c:117:19: error: implicit declaration of function 'getentropy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
            res = getentropy(buffer, len);
                  ^

I get a similar error, but it's a link error.  From the python bug linked above it seems to depend on OS X and Xcode version.  I'm using OS X 10.11.6 and Xcode 8.2.1.  Build and config
build_out.log
config.log
logs are attached but punchline is:
dyld: lazy symbol binding failed: Symbol not found: _getentropy
Referenced from: /Users/me/dev/Python-Apple-support-2.7/build/macOS/Python-2.7.13-macosx.x86_64/./python.exe
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _getentropy
Referenced from: /Users/me/dev/Python-Apple-support-2.7/build/macOS/Python-2.7.13-macosx.x86_64/./python.exe
Expected in: /usr/lib/libSystem.B.dylib
I'm not really familiar with the python build process, but odd that it's referencing python.exe which would seem to be a windows artifact.  Also odd that it is building macOS even though I had explicitly done a 'make Python.framework-iOS' (but maybe macOS is required for emulator build).

This bug was introduced in a recent version of Python (2.7.13?) as part of an across-the-board set of improvements to the entropy sources used for random numbers. I've accounted for this problem in the most recent binary builds (2.7-b3, 3.4-b4, 3.5-b5, 3.6-b2).
If you're still having problems, please open a new ticket with the specifics of the version you're using.
As a side note; the python.exe name is a red herring. The python build uses that name as the executable build target, regardless of the platform you're building on. It renames the executable when make install is executed.


2gp adjustments

Allow flow steps to specify an org
Support text after $project_config.some__attr syntax (ex $project_config.project__package__name Feature Test)
Add ci_feature_2gp flow for testing a feature branch as a namespaced unlocked 2gp package
Added support for installing 04t versions in InstallPackageVersion
Add SkipValidation to existing 2gp package lookup query
Add force_upload task option to create_package_version

Critical Changes
Changes
Issues Closed

Handling this in #1922 and other work items


Minor doc changes.

Preface all environement variable that need to be set with MYTHRIL
Remove mention of email and API in README and example programs
We don't do escaped source in JSON
Mythril Platform -> MythOS

Pull Request Test Coverage Report for Build 111

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

Totals

Change from base Build 109:
0.0%

Covered Lines:
181

Relevant Lines:
181

💛  - Coveralls


No mention what is "streaming" and no clear way in the examples on how to have a meaningful chat with a model by saving the current context.

There is no clear explanation on what "streaming" is.
Is it the same as non-streaming, but with more asynchrony when iterating on response-lists?
Azure OpenAI Studio generates C# code samples that refer to streaming as a notion too, but the code and the API makes it no clearer what it is.
Also, I find no clear way for re-using a model that will remember data I have fed it in the past.
No obvious way to save the current context, and no obvious way to continue in the same context after getting completions once.
Am I missing something?

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

ID: 81e0efc8-d491-4425-7652-08dddb8e866d
Version Independent ID: ed418ebd-a705-e133-d8e1-33e85db8fc60
Content: Azure OpenAI client library for .NET - Azure for .NET Developers
Content Source: api/overview/azure/preview/ai.openai-readme.md
Service: openai
GitHub Login: @jpalvarezl
Microsoft Alias: josealvar

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Looping in the openAI team - /cc: @jpalvarezl, @trrwilson

any gpt model is stateless, it never"remember" your prompt. you should implement session state by yourself e.g. provide conversation history in next completion api call

@jzhouw
Hm. OK.
I thought this was wasting too many resources (network bandwidth, CPU usage, etc) and that there would be a better way.
I guess that after a point, when a chat becomes long, things will be less than optimal.
Is there any other model, aside GPT, that can keep its previous data?
Or maybe a way to store the history data on Azure and feed them from there, and at least avoid the bandwidth issues?


[SoundcloudBridge] Feed for specific playlist

Is your feature request related to a problem? Please describe.
SoundCloud bridge only supports making feeds out all of the user's tracks or playlists. I would need a feed for specific playlist updates.
Describe the solution you'd like
Support for making feeds out of specific playlist, eg. https://soundcloud.com/visionrecordings/sets/vision-radio

Note: some of the the generators on internet I tested output content out of possible podcast RSS that is attached to playlist, I don't want that in this case for reasons

Implementied via https://github.com/RSS-Bridge/rss-bridge/pull/2236

I tested this and it didn't have feature that I have requested.

Sorry, my bad.
Did not notice, that you ask for specific playlist updates.


start chrome after started sails

how can i run google chrome after started sails ?

This really needs clarification. I'm guessing you're not asking how to double click on the Chrome icon on your desktop. But I don't really know what you want.

LOL
On Thu, Jun 11, 2015 at 1:01 AM, Travis Webb<EMAIL_ADDRESS>wrote:

This really needs clarification. I'm guessing you're not asking how to
double click on the Chrome icon on your desktop. But I don't really know
what you want.
—
Reply to this email directly or view it on GitHub
https://github.com/balderdashy/sails/issues/3010#issuecomment-111004728.

@tjwebb ok, I finally run chrome after started sails.
In our file config/bootstrap.js I wrote this:
var exec = require('child_process').exec,
child;
module.exports.bootstrap = function(cb) {
// It's very important to trigger this callback method when you are finished
// with the bootstrap!  (otherwise your server will never lift, since it's waiting on the bootstrap)
cb();

var chrome = "exec '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'  --kiosk http://localhost:1337";

if(/^win/.test(process.platform))
	chrome = 'start "Chrome" chrome --kiosk http://localhost:1337';

child = exec(chrome,
  function (error, stdout, stderr) {
    console.log('stdout: ' + stdout);
    console.log('stderr: ' + stderr);
    if (error !== null) {
      console.log('exec error: ' + error);
    }
});

};

Awesome! I have no idea why you'd ever want to do this, but thanks for posting the solution in case anyone else runs across here.

@tjwebb because, I will want to run sails and chrome when started my pc like a kiosk


2.0 provider compatibility: HistoryRepository generates INSERT statements without quotes

(This was reported via email)
Creating an issue although there is a version mismatch because this could be a symptom that other 2.0 providers that update less often than Npgsql could be broken as well:
Microsoft.EntityFrameworkCore.PostgreSQL version is 2.0.1
Microsoft.EntityFrameworkCore version is 2.1.0-preview2
The INSERT statement into the __EFMigrationsHistory is missing single quotes for the VALUES listed:
Expected (working SQL from 2.0.2):
INSERT INTO "_EFMigrationsHistory" ("MigrationId", "ProductVersion") VALUES ('20180413232313Init2', '2.0.2-rtm-10011')

Actual (quotes missing, invalid SQL):
INSERT INTO "__EFMigrationsHistory" ("MigrationId", "ProductVersion") VALUES<PHONE_NUMBER>3035_Init3, 2.1.0-preview2-30571) <

@ajcvickers This looks like an issue with the FallbackRelationalTypeMappingSource.
class Context : DbContext
{
    protected override void OnConfiguring(DbContextOptionsBuilder options)
        => options.UseNpgsql("Data Source=");
}

static void Main()
{
    var db = new Context();

    var typeMapper = db.GetService<IRelationalTypeMapper>();
    var oldTypeMapping = typeMapper.FindMapping(typeof(string));
    var oldLiteral = oldTypeMapping.GenerateSqlLiteral("test");
    Console.WriteLine($"Before:\t{oldLiteral}\t({oldTypeMapping.GetType().Name})");

    var typeMappingSource = db.GetService<IRelationalTypeMappingSource>();
    var newTypeMapping = typeMappingSource.FindMapping(typeof(string));
    var newLiteral = newTypeMapping.GenerateSqlLiteral("test");
    Console.WriteLine($"After:\t{newLiteral}\t({newTypeMapping.GetType().Name})");
}

Output:
Before: 'test'  (NpgsqlStringTypeMapping)
After:  test    (NpgsqlTypeMapping)

P.S. As far as I can tell, only Npgsql is affected for the Migrations path.

Thanks for looking into this and sorry for the bother, it's a duplicate of https://github.com/npgsql/Npgsql.EntityFrameworkCore.PostgreSQL/issues/283 which has already been fixed for 2.0.2 (not yet released).

FYI released 2.0.2 yesterday so this should be ok now.


Make TestHttpServerProvider::testStop less flaky

Added some coordination with the DummyServlet to make the test less flaky.

I added code to DummyServlet to capture more details and addressed your comments.


Clarification - can we change "Delete" to "Delete Connection" in connection dropdown menu?

Discussed in https://github.com/orgs/dbeaver/discussions/33393

Originally posted by troogyt May 22, 2024
In the screenshot below, does "Delete" mean "Delete the database", or does it mean "Delete the connection to the database, but leave the database in tact"?

If my guess is correct, and it means "Delete only the connection to the database but do not delete the database", then can we please change the menu to read as follows?

I am not that smart, so when I read this I get worried that I'm going to delete the actual database.
Making this minor change would remove this stress and make it much clearer (at least, for us dummies :))

Thank you for the idea!


Add optional Commitment param to get_signatures_for_address

GetSignaturesForAddress now has an optional Commitment level parameter https://docs.solana.com/developing/clients/jsonrpc-api#getsignaturesforaddress.
Currently get_signatures_for_address supports before, until and limit (https://github.com/michaelhly/solana-py/blob/master/src/solana/rpc/api.py#L344) but it doesn't support passing in an optional Commitment level. It would be great to be able to specify Commitment level on this method as well.

This makes sense to me. @michaelhly I will work on PR if thats cool

Ah, i see your label updates. Will update when pull request is up

@broper2 feel free :)

Thanks for reminder @michaelhly :) PR is up


Profiler capturing events for all databases and users

SQL Operations Studio Version: 0.31.4
I installed the new extension for profiler for SQL operation studio and follow the steps below.
1.Selected the database
2.Alt + P - Launched profiler and clicked on start
It started capturing events from all users and all databases despite I see database I selected up top.
So this is where I got confused. Is this designed to filter events for database selected? If not, then database name up top is little misleading as it captures events for all the users and databases.
May be as feature, can we add filters for profiler?

This is a bit of a confusion between SQL Server connection scope and XEvent session scope.  All SQL Server connections will be to a particular databases, which is why we show that in the connection details, but XE sessions are usually server scoped.  We can look at how to improve the UX to make this more clear.  In general, we also need a filtering feature so that the displayed events can be scoped to a particular user, db, sessions, etc.

@tpatel11 I know it has been a while, and I am digging through the backlog of profiler feature, I actually have added filter feature a while back, in the upcoming release, you will also be able to filter by database name.


Migrate stride liquid staker

Upload latest stride liquid staker contract and migrate old one to make it work with current GAIA IBC + autopilot

@keyleu is this already done ?

Hey @stiiifff, right now we are using the old liquid staker without the autopilot issue fixed. This issue is more a reminder that if we need to use the liquid staker again it needs to be migrated or re-deployed with the one that has it fixed (main branch)

Yep, that's what I wanted to clarify. So it's fixed on main but not yet on-chain.


Unable to parse request body response from DO when using C#

In C#, System.Net.Http automatically adds "charset=UTF-8" to the Content-Type header;
POST /shared/declarative-onboarding HTTP/1.1
Content-Type: application/json; charset=UTF-8
Authorization: Basic YWRtaW46
X-F5-Auth-Token: RCY7LIBX4LJEZABMQPZTV34PXS
X-Forwarded-For: <IP_ADDRESS>
Referer: <IP_ADDRESS>

This causes DO to respond with;
HTTP/1.1 400 Bad Request
X-Powered-By: Express
Content-Type: application/json
Content-Length: 442
Pragma: no-cache
Cache-Control: no-store, no-cache, must-revalidate
Expires: -1
Server: restnoded
Date: Thu, 24 Oct 2019 17:02:21 GMT
Connection: keep-alive

{"id":"62b57a65-ad1a-4ac4-8ddb-0427fad81b79","selfLink":"https://localhost/mgmt/shared/declarative-onboarding/task/62b57a65-ad1a-4ac4-8ddb-0427fad81b79","code":400,"status":"ERROR","message":"bad declaration","errors":["Unable to parse request body. Should be JSON format."],"result":{"class":"Result","code":400,"status":"ERROR","message":"bad declaration","errors":["Unable to parse request body. Should be JSON format."]},"declaration":{}}

Tested as well in postman. Any declaration sent with the extra charset=UTF-8 fails with DO.
Workaround in C# is to use text/plain for the Content-Type.
This is specific to DO, AS3 does not exhibit this behavior.

I have confirmed this bug and have created internal product backlog item AUTOTOOL-901 to track it.

This issue has been resolved as part of the 1.13.0 release.


propagator-jaeger: 16 character trace-id isn't zero-padded to 32 characters as per specification

What version of OpenTelemetry are you using?
0.15
What version of Node are you using?
11.8.0
What did you do?
Tried to startSpan in server, expecting the incoming trace to be continued.
Calling service injects trace context using opentracing libraries (e.g. 6ba3280a2610ee73:2eac6cc9a037044f:9a60846c429bf918:1)
Manually zero-padding the trace id and calling setSpanContext() in a custom propagator extending the Jaeger propagator works as expected.
What did you expect to see?
The trace id of the incoming request to be propagated throughout the transaction.
What did you see instead?
A new trace id is generated.
Additional context
As per the propagation format described in Jaeger docs,

trace-id

Can be variable length, shorter values are 0-padded on the left
Receivers MUST accept hex-strings shorter than 32 characters and 0-pad them on the left

I've moved the issue to the core repo since the jaeger will be moved to core following https://github.com/open-telemetry/opentelemetry-js/pull/1931


Line for AKS is duplicated

A line

You can find more information on Getting started with CVM worker nodes with a lift and shift workload to CVM node pool.

in "Confidential Containers on AKS" section is duplicated, or it could point the detail of CoCo, not CVM.

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

ID: 0825311d-66b4-bcaa-4c1d-9734fb4bac51
Version Independent ID: 0439841e-c44a-784b-4d3c-b2a747d832a9
Content: Choose container offerings for confidential computing
Content Source: articles/confidential-computing/choose-confidential-containers-offerings.md
Service: container-service
GitHub Login: @angarg05
Microsoft Alias: ananyagarg

@hashimotor-ntt, Thanks for bringing this to our attention. I've updated the second link to point to the AKS Confidential Containers overview.
#please-close


Added a Refresh Database button #1016

PR Fixes:
Added Refresh Button(functionally working when button is clicked)above log out button
Resolves #1016

Closing since the diff is so big, please dont merge lock files
Merged https://github.com/code100x/cms/pull/1019 instead

Closing since the diff is so big, please dont merge lock files Merged #1019 instead

my bad i thought there is component already why to create fresh !!! Next time I'll make sure sir thank you!!


bug: fresh islands are broken with preact 1.22.1

Fresh island rendering is broken in preact 1.22.1
Bug
children.js:123 Uncaught (in promise) TypeError: n2.contains is not a function
    at S (children.js:123:16)
    at O (index.js:246:4)
    at S (children.js:85:3)
    at O (index.js:246:4)
    at B (render.js:37:2)
    at _render (main.ts:109:7)

It seems that fresh root fragments of islands are missing contains method.
Bug reason
The PR replace isConnected with parentDom.contains #4421 breaks fresh island rendering with new contains method.

Resolved in #2596


Create android_developer_roadmap.png

Guidelines
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
I have added the sensor layer in the roadmap Figma image.
Types of changes
What types of changes does your code introduce?
No changes done to the code.

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Preparing a pull request for review
Ensure your change is properly formatted by running:
$ ./gradlew spotlessApply

Please correct any failures before requesting a review.

Dire worries