stm32f756zg

Dear community!
Would it be possible to add support for 1MB flash on NUCLEO-F756ZG
? While there is no support, it's not possible to use an update feature via mcuboot.
I tried to do it by myself, but didn't work like I'm expecting.
&flash0 {

	partitions {
		compatible = "fixed-partitions";
		#address-cells = <1>;
		#size-cells = <1>;

		/*
		 * The two sectors 0-1 (32+32 kbytes) are reserved for
		 * the bootloader.
		 */
		boot_partition: partition@0 {
			label = "mcuboot";
			reg = <0x0 DT_SIZE_K(64)>;
			read-only;
		};;

		/*
		 * The flash starting at 0x00010000 and ending at
		 * 0x0001ffff (sectors 16-31) is reserved for use
		 * by the application.
		 */
		storage_partition: partition@1e000 {
			label = "storage";
			reg = <0x0001e000 0x00002000>;
		};

		slot0_partition: partition@20000 {
			label = "image-0";
			reg = <0x00020000 0x00060000>;
		};
		slot1_partition: partition@80000 {
			label = "image-1";
			reg = <0x00080000 0x00060000>;
		};
		scratch_partition: partition@e0000 {
			label = "image-scratch";
			reg = <0x000e0000 0x00020000>;
		};
	};
};

After that boards booted, but there is a message Cannot upgrade: slots have non-compatible sectors... .
uart:~$ *** Booting Zephyr OS build v3.4.0-rc1-90-g5c7d2f1a90a6 ***
I: Starting bootloader
W: Cannot upgrade: slots have non-compatible sectors
I: Bootloader chainload address offset: 0x20000
�: Jumping to the first image slot

*** Booting Zephyr OS build v3.4.0-rc1-90-g5c7d2f1a90a6 ***
[00:00:00.011,000] <inf> main: Hawkbit sample app started
[00:00:00.011,000] <inf> main: Image build time: Jun 26 2023 15:19:

At the end, I was trying to get the Hawkbit client running, but it didn't init the network at all.
So what I'm doing wrong?
Thanks

Should the flash partition be aligned on sector :
The Flash memory is organized as follows:
• On STM32F756xx and STM32F74xx devices, a main memory block divided into 4
sectors of 32 Kbytes, 1 sector of 128 Kbytes and 3 sectors of 256 Kbytes

Should the flash partition be aligned on sectors :
The Flash memory is organized as follows:
• On STM32F756xx and STM32F74xx devices, a main memory block divided into 4
sectors of 32 Kbytes, 1 sector of 128 Kbytes and 3 sectors of 256 Kbytes

OK, I changed it according to your suggestion.
&flash0 {
	partitions {
		compatible = "fixed-partitions";
		#address-cells = <1>;
		#size-cells = <1>;

		/* 128KB for bootloader */
		boot_partition: partition@0 {
			label = "mcuboot";
			reg = <0x00000000 DT_SIZE_K(128)>;
			read-only;
		};

		/* storage: 256KB for settings */
		storage_partition: partition@20000 {
			label = "storage";
			reg = <0x00020000 DT_SIZE_K(256)>;
		};

		/* application image slot: 256KB */
		slot0_partition: partition@60000 {
			label = "image-0";
			reg = <0x00060000 DT_SIZE_K(256)>;
		};

		/* backup slot: 256KB */
		slot1_partition: partition@A0000 {
			label = "image-1";
			reg = <0x000A0000 DT_SIZE_K(256)>;
		};
	};
};

I think, that I did it wrongly, because it's worst as it was before.
*** Booting Zephyr OS build v3.4.0-rc1-90-g5c7d2f1a90a6 ***
I: Starting bootloader
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
I: Swap type: none
E: Image in the primary slot is not valid!
E: Unable to find bootable image

It also depends on what is in chosen as zephyr,code-partition = &slot0_partition;
Here it seems that no image in slot0 or 1 has the correct header

It also depends on what is in chosen as zephyr,code-partition = &slot0_partition; Here it seems that none of the images stored in slot0 or 1 has the correct header like :

Yes, I choose zephyr,code-partition = &slot0_partition
	chosen {
		zephyr,console = &usart3;
		zephyr,shell-uart = &usart3;
		zephyr,sram = &sram0;
		zephyr,flash = &flash0;
		zephyr,code-partition = &slot0_partition;
		zephyr,dtcm = &dtcm;

How to read/verify, that the header is wrong? Or do you have a sample project, which can I test?

Header of the image comes with the build command (--sysbuild ?)
You can examine (gdb or stm32cubeprogrammer) the content of the flash memory at the address of the image and see that this kind of header is present (at offset 0 is the header then at offset 0x400 starts the code)

Another point to check if that the west flash commands does not erase the image that you have just programmed when it writes the mcuboot  (see the https://github.com/zephyrproject-rtos/zephyr/issues/47781)

I try to build the hawkbit with --sysbuild, but it failed:
west build -b nucleo_f756zg --sysbuild

[4/321] Generating include/generated/version.h
-- Zephyr version: 3.4.0-rc1 (/home/vboxuser/zephyrproject/zephyr), build: v3.4.0-rc1-90-g5c7d2f1a90a6
[311/321] Linking C executable zephyr/zephyr_pre0.elf
FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map /home/vboxuser/zephyrproject/zephyr/samples/subsys/mgmt/hawkbit/build/hawkbit/zephyr/zephyr_pre0.map
: && ccache /opt/zephyr-sdk-0.16.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc  -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr/zephyr_pre0.elf  zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj  -fuse-ld=bfd  -Wl,-T  zephyr/linker_zephyr_pre0.cmd  -Wl,-Map=/home/vboxuser/zephyrproject/zephyr/samples/subsys/mgmt/hawkbit/build/hawkbit/zephyr/zephyr_pre0.map  -Wl,--whole-archive  app/libapp.a  zephyr/libzephyr.a  zephyr/arch/common/libarch__common.a  zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a  zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a  zephyr/arch/arch/arm/core/aarch32/mpu/libarch__arm__core__aarch32__mpu.a  zephyr/lib/libc/newlib/liblib__libc__newlib.a  zephyr/lib/libc/common/liblib__libc__common.a  zephyr/lib/posix/liblib__posix.a  zephyr/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a  zephyr/subsys/random/libsubsys__random.a  zephyr/subsys/dfu/boot/libsubsys__dfu__boot.a  zephyr/subsys/net/libsubsys__net.a  zephyr/subsys/net/l2/ethernet/libsubsys__net__l2__ethernet.a  zephyr/subsys/net/ip/libsubsys__net__ip.a  zephyr/subsys/net/lib/dns/libsubsys__net__lib__dns.a  zephyr/subsys/net/lib/http/libsubsys__net__lib__http.a  zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a  zephyr/drivers/clock_control/libdrivers__clock_control.a  zephyr/drivers/console/libdrivers__console.a  zephyr/drivers/flash/libdrivers__flash.a  zephyr/drivers/gpio/libdrivers__gpio.a  zephyr/drivers/hwinfo/libdrivers__hwinfo.a  zephyr/drivers/ethernet/libdrivers__ethernet.a  zephyr/drivers/pinctrl/libdrivers__pinctrl.a  zephyr/drivers/reset/libdrivers__reset.a  zephyr/drivers/serial/libdrivers__serial.a  zephyr/drivers/timer/libdrivers__timer.a  modules/stm32/stm32cube/lib..__modules__hal__stm32__stm32cube.a  modules/mbedtls/libmbedTLSBase.a  modules/mbedtls/libmbedTLSCrypto.a  modules/mbedtls/libmbedTLSX509.a  modules/mbedtls/libmodules__mbedtls.a  modules/mcuboot/libmcuboot_util.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  -L"/opt/zephyr-sdk-0.16.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v7e-m/nofp"  -L/home/vboxuser/zephyrproject/zephyr/samples/subsys/mgmt/hawkbit/build/hawkbit/zephyr  -lgcc  zephyr/arch/common/libisr_tables.a  modules/mbedtls/libmbedTLSBase.a  modules/mbedtls/libmbedTLSCrypto.a  modules/mbedtls/libmbedTLSX509.a  -mcpu=cortex-m7  -mthumb  -mabi=aapcs  -mfp16-format=ieee  -Wl,--gc-sections  -Wl,--build-id=none  -Wl,--sort-common=descending  -Wl,--sort-section=alignment  -Wl,-u,_OffsetAbsSyms  -Wl,-u,_ConfigAbsSyms  -nostdlib  -static  -Wl,-X  -Wl,-N  -Wl,--orphan-handling=warn  -Wl,-no-pie  -lm  -Wl,-lc  -L"/opt/zephyr-sdk-0.16.1/arm-zephyr-eabi/arm-zephyr-eabi"/lib/thumb/v7e-m/nofp  -Wl,-lgcc  -lc && cd /home/vboxuser/zephyrproject/zephyr/samples/subsys/mgmt/hawkbit/build/hawkbit/zephyr && /usr/bin/cmake -E echo
/opt/zephyr-sdk-0.16.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: app/libapp.a(main.c.obj): in function `main':
/home/vboxuser/zephyrproject/zephyr/samples/subsys/mgmt/hawkbit/src/main.c:37: undefined reference to `hawkbit_init'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
FAILED: hawkbit-prefix/src/hawkbit-stamp/hawkbit-build /home/vboxuser/zephyrproject/zephyr/samples/subsys/mgmt/hawkbit/build/hawkbit-prefix/src/hawkbit-stamp/hawkbit-build
cd /home/vboxuser/zephyrproject/zephyr/samples/subsys/mgmt/hawkbit/build/hawkbit && /usr/bin/cmake --build .
ninja: build stopped: subcommand failed.

But if I build it without it, it works fine:
west build -b nucleo_f756zg

[1/329] Preparing syscall dependency handling

[2/329] Generating include/generated/version.h
-- Zephyr version: 3.4.0-rc1 (/home/vboxuser/zephyrproject/zephyr), build: v3.4.0-rc1-90-g5c7d2f1a90a6
[319/329] Linking C executable zephyr/zephyr_pre0.elf

[323/329] Linking C executable zephyr/zephyr_pre1.elf

[329/329] Linking C executable zephyr/zephyr.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:      181912 B       256 KB     69.39%
             RAM:       67328 B       256 KB     25.68%
            QSPI:          0 GB       256 MB      0.00%
            DTCM:       12544 B        64 KB     19.14%
        IDT_LIST:          0 GB         2 KB      0.00%

Then I signed the application via west sign -t imgtool -- --key ../../../../../bootloader/mcuboot/root-rsa-2048.pem and flash the bin/hex west flash --bin-file ./build/zephyr/zephyr.signed.bin,west flash --hex-file ./build/zephyr/zephyr.signed.hex.
west flash --hex-file ./build/zephyr/zephyr.signed.hex
-- west flash: rebuilding
ninja: no work to do.
-- west flash: using runner openocd
-- runners.openocd: Flashing file: build/zephyr/zephyr.signed.hex
Open On-Chip Debugger 0.11.0+dev-00726-ge2b6f5655 (2023-05-11-16:58)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
Info : DEPRECATED target event trace-config; use TPIU events {pre,post}-{enable,disable}
Info : clock speed 2000 kHz
Info : STLINK V2J40M27 (API v2) VID:PID 0483:374B
Info : Target voltage: 3.232461
Info : [stm32f7x.cpu] Cortex-M7 r0p1 processor detected
Warn : [stm32f7x.cpu] Silicon bug: single stepping may enter pending exception handler!
Info : [stm32f7x.cpu] target has 8 breakpoints, 4 watchpoints
Info : starting gdb server for stm32f7x.cpu on 3333
Info : Listening on port 3333 for gdb connections
    TargetName         Type       Endian TapName            State
--  ------------------ ---------- ------ ------------------ ------------
 0* stm32f7x.cpu       hla_target little stm32f7x.cpu       running

Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x080022e0 msp: 0x20015ac0
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : device id = 0x10016449
Info : flash size = 1024 kbytes
Warn : Adding extra erase range, 0x08040000 .. 0x0805ffff
auto erase enabled
wrote 393216 bytes from file build/zephyr/zephyr.signed.hex in 11.020806s (34.843 KiB/s)

Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
shutdown command invoke

I looked at the memory via STM32CubeProgrammer. The memory starts at 0x08000000 and the slot offset is 0x00060000 => 0x8060000.

The offset  0x60000 is the address of the slot0_partition chosen by the mcuboot (primary image)

The offset 0x60000 is the address of the slot0_partition chosen by the mcuboot (primary image)

Ok, so what does it mean for me? Or what's wrong/should I do?

@andy9a9, the partitioning is still wrong, it is not aligned to the flash block sizes. The start of slot 0 is in the middle of a block. There also is no scratch partition.
You can also remove the storage partition as there is no storage solution for this flash block layout.

@Laczen OK, but this configuration is still not working, while you have duplicated slot1_partition. If I removed it, then the compilation is failing due to missing storage_partition.
[142/329] Building C object zephyr/sub...ubsys__mgmt__hawkbit.dir/hawkbit.c.obj
FAILED: zephyr/subsys/mgmt/hawkbit/CMakeFiles/subsys__mgmt__hawkbit.dir/hawkbit.c.obj
ccache /opt/zephyr-sdk-0.16.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DCORE_CM7 -DHSE_VALUE=8000000 -DKERNEL -DMBEDTLS_CONFIG_FILE=\"config-tls-generic.h\" -DSTM32F756xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_ANSI_SOURCE -D_FORTIFY_SOURCE=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -I/home/vboxuser/zephyrproject/zephyr/include -I/home/vboxuser/zephyrproject/zephyr/samples/subsys/mgmt/hawkbit/build/zephyr/include/generated -I/home/vboxuser/zephyrproject/zephyr/soc/arm/st_stm32/stm32f7 -I/home/vboxuser/zephyrproject/zephyr/lib/libc/newlib/include -I/home/vboxuser/zephyrproject/zephyr/lib/posix/getopt/. -I/home/vboxuser/zephyrproject/zephyr/drivers -I/home/vboxuser/zephyrproject/zephyr/soc/arm/st_stm32/common -I/home/vboxuser/zephyrproject/zephyr/subsys/net/l2 -I/home/vboxuser/zephyrproject/zephyr/subsys/net/lib/sockets/. -I/home/vboxuser/zephyrproject/zephyr/subsys/net/lib/dns/. -I/home/vboxuser/zephyrproject/zephyr/subsys/net/ip -I/home/vboxuser/zephyrproject/modules/hal/cmsis/CMSIS/Core/Include -I/home/vboxuser/zephyrproject/modules/hal/stm32/stm32cube/stm32f7xx/soc -I/home/vboxuser/zephyrproject/modules/hal/stm32/stm32cube/stm32f7xx/drivers/include -I/home/vboxuser/zephyrproject/modules/hal/stm32/stm32cube/stm32f7xx/drivers/include/Legacy -I/home/vboxuser/zephyrproject/modules/hal/stm32/stm32cube/common_ll/include -I/home/vboxuser/zephyrproject/modules/crypto/tinycrypt/lib/include -I/home/vboxuser/zephyrproject/modules/crypto/mbedtls/include -I/home/vboxuser/zephyrproject/zephyr/modules/mbedtls/configs -I/home/vboxuser/zephyrproject/zephyr/modules/mbedtls/include -fno-strict-aliasing -Os -imacros /home/vboxuser/zephyrproject/zephyr/samples/subsys/mgmt/hawkbit/build/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m7 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/opt/zephyr-sdk-0.16.1/arm-zephyr-eabi/arm-zephyr-eabi -imacros /home/vboxuser/zephyrproject/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/home/vboxuser/zephyrproject/zephyr/samples/subsys/mgmt/hawkbit=CMAKE_SOURCE_DIR -fmacro-prefix-map=/home/vboxuser/zephyrproject/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/home/vboxuser/zephyrproject=WEST_TOPDIR -ffunction-sections -fdata-sections -D_POSIX_THREADS -std=c99 -MD -MT zephyr/subsys/mgmt/hawkbit/CMakeFiles/subsys__mgmt__hawkbit.dir/hawkbit.c.obj -MF zephyr/subsys/mgmt/hawkbit/CMakeFiles/subsys__mgmt__hawkbit.dir/hawkbit.c.obj.d -o zephyr/subsys/mgmt/hawkbit/CMakeFiles/subsys__mgmt__hawkbit.dir/hawkbit.c.obj -c /home/vboxuser/zephyrproject/zephyr/subsys/mgmt/hawkbit/hawkbit.c
In file included from /home/vboxuser/zephyrproject/zephyr/include/zephyr/toolchain/gcc.h:92,
                 from /home/vboxuser/zephyrproject/zephyr/include/zephyr/toolchain.h:50,
                 from /home/vboxuser/zephyrproject/zephyr/include/zephyr/sys/__assert.h:11,
                 from /home/vboxuser/zephyrproject/zephyr/include/zephyr/sys/iterable_sections.h:10,
                 from /home/vboxuser/zephyrproject/zephyr/include/zephyr/logging/log_instance.h:10,
                 from /home/vboxuser/zephyrproject/zephyr/include/zephyr/logging/log.h:10,
                 from /home/vboxuser/zephyrproject/zephyr/subsys/mgmt/hawkbit/hawkbit.c:11:
/home/vboxuser/zephyrproject/zephyr/subsys/mgmt/hawkbit/hawkbit.c: In function 'hawkbit_init':
/home/vboxuser/zephyrproject/zephyr/include/zephyr/device.h:85:41: error: '__device_dts_ord_DT_N_NODELABEL_storage_partition_PARENT_PARENT_ORD' undeclared (first use in this function)
   85 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                         ^~~~~~~~~
/home/vboxuser/zephyrproject/zephyr/include/zephyr/toolchain/common.h:132:26: note: in definition of macro '_DO_CONCAT'
  132 | #define _DO_CONCAT(x, y) x ## y
      |                          ^
/home/vboxuser/zephyrproject/zephyr/include/zephyr/device.h:85:33: note: in expansion of macro '_CONCAT'
   85 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                 ^~~~~~~
/home/vboxuser/zephyrproject/zephyr/include/zephyr/device.h:211:37: note: in expansion of macro 'DEVICE_NAME_GET'
  211 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
      |                                     ^~~~~~~~~~~~~~~
/home/vboxuser/zephyrproject/zephyr/include/zephyr/device.h:228:34: note: in expansion of macro 'DEVICE_DT_NAME_GET'
  228 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id))
      |                                  ^~~~~~~~~~~~~~~~~~
/home/vboxuser/zephyrproject/zephyr/include/zephyr/storage/flash_map.h:344:9: note: in expansion of macro 'DEVICE_DT_GET'
  344 |         DEVICE_DT_GET(DT_MTD_FROM_FIXED_PARTITION(DT_NODELABEL(label)))
      |         ^~~~~~~~~~~~~
/home/vboxuser/zephyrproject/zephyr/subsys/mgmt/hawkbit/hawkbit.c:59:21: note: in expansion of macro 'FIXED_PARTITION_DEVICE'
   59 | #define STORAGE_DEV FIXED_PARTITION_DEVICE(STORAGE_LABEL)
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/home/vboxuser/zephyrproject/zephyr/subsys/mgmt/hawkbit/hawkbit.c:576:27: note: in expansion of macro 'STORAGE_DEV'
  576 |         fs.flash_device = STORAGE_DEV;
      |                           ^~~~~~~~~~~
/home/vboxuser/zephyrproject/zephyr/include/zephyr/device.h:85:41: note: each undeclared identifier is reported only once for each function it appears in
   85 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                         ^~~~~~~~~
/home/vboxuser/zephyrproject/zephyr/include/zephyr/toolchain/common.h:132:26: note: in definition of macro '_DO_CONCAT'
  132 | #define _DO_CONCAT(x, y) x ## y
      |                          ^
/home/vboxuser/zephyrproject/zephyr/include/zephyr/device.h:85:33: note: in expansion of macro '_CONCAT'
   85 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                 ^~~~~~~
/home/vboxuser/zephyrproject/zephyr/include/zephyr/device.h:211:37: note: in expansion of macro 'DEVICE_NAME_GET'
  211 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
      |                                     ^~~~~~~~~~~~~~~
/home/vboxuser/zephyrproject/zephyr/include/zephyr/device.h:228:34: note: in expansion of macro 'DEVICE_DT_NAME_GET'
  228 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id))
      |                                  ^~~~~~~~~~~~~~~~~~
/home/vboxuser/zephyrproject/zephyr/include/zephyr/storage/flash_map.h:344:9: note: in expansion of macro 'DEVICE_DT_GET'
  344 |         DEVICE_DT_GET(DT_MTD_FROM_FIXED_PARTITION(DT_NODELABEL(label)))
      |         ^~~~~~~~~~~~~
/home/vboxuser/zephyrproject/zephyr/subsys/mgmt/hawkbit/hawkbit.c:59:21: note: in expansion of macro 'FIXED_PARTITION_DEVICE'
   59 | #define STORAGE_DEV FIXED_PARTITION_DEVICE(STORAGE_LABEL)
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/home/vboxuser/zephyrproject/zephyr/subsys/mgmt/hawkbit/hawkbit.c:576:27: note: in expansion of macro 'STORAGE_DEV'
  576 |         fs.flash_device = STORAGE_DEV;
      |                           ^~~~~~~~~~~
In file included from /home/vboxuser/zephyrproject/zephyr/include/zephyr/arch/arm/aarch32/arch.h:20,
                 from /home/vboxuser/zephyrproject/zephyr/include/zephyr/arch/cpu.h:19,
                 from /home/vboxuser/zephyrproject/zephyr/include/zephyr/sys/cbprintf_internal.h:17,
                 from /home/vboxuser/zephyrproject/zephyr/include/zephyr/sys/cbprintf.h:124,
                 from /home/vboxuser/zephyrproject/zephyr/include/zephyr/logging/log_msg.h:11,
                 from /home/vboxuser/zephyrproject/zephyr/include/zephyr/logging/log_core.h:9,
                 from /home/vboxuser/zephyrproject/zephyr/include/zephyr/logging/log.h:11:
/home/vboxuser/zephyrproject/zephyr/include/zephyr/devicetree.h:193:36: error: 'DT_N_NODELABEL_storage_partition_REG_IDX_0_VAL_ADDRESS' undeclared (first use in this function)
  193 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                                    ^~~~~~~~~~~~~~~
/home/vboxuser/zephyrproject/zephyr/include/zephyr/devicetree.h:4144:33: note: in definition of macro 'DT_CAT4'
 4144 | #define DT_CAT4(a1, a2, a3, a4) a1 ## a2 ## a3 ## a4
      |                                 ^~
/home/vboxuser/zephyrproject/zephyr/include/zephyr/devicetree.h:2220:30: note: in expansion of macro 'DT_REG_ADDR_BY_IDX'
 2220 | #define DT_REG_ADDR(node_id) DT_REG_ADDR_BY_IDX(node_id, 0)
      |                              ^~~~~~~~~~~~~~~~~~
/home/vboxuser/zephyrproject/zephyr/include/zephyr/storage/flash_map.h:315:39: note: in expansion of macro 'DT_REG_ADDR'
  315 | #define FIXED_PARTITION_OFFSET(label) DT_REG_ADDR(DT_NODELABEL(label))
      |                                       ^~~~~~~~~~~
/home/vboxuser/zephyrproject/zephyr/include/zephyr/devicetree.h:193:29: note: in expansion of macro 'DT_CAT'
  193 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                             ^~~~~~
/home/vboxuser/zephyrproject/zephyr/include/zephyr/storage/flash_map.h:315:51: note: in expansion of macro 'DT_NODELABEL'
  315 | #define FIXED_PARTITION_OFFSET(label) DT_REG_ADDR(DT_NODELABEL(label))
      |                                                   ^~~~~~~~~~~~
/home/vboxuser/zephyrproject/zephyr/subsys/mgmt/hawkbit/hawkbit.c:60:24: note: in expansion of macro 'FIXED_PARTITION_OFFSET'
   60 | #define STORAGE_OFFSET FIXED_PARTITION_OFFSET(STORAGE_LABEL)
      |                        ^~~~~~~~~~~~~~~~~~~~~~
/home/vboxuser/zephyrproject/zephyr/subsys/mgmt/hawkbit/hawkbit.c:582:21: note: in expansion of macro 'STORAGE_OFFSET'
  582 |         fs.offset = STORAGE_OFFSET;
      |                     ^~~~~~~~~~~~~~
[147/329] Building C object zephyr/sub...Files/subsys__net__ip.dir/dhcpv4.c.obj
ninja: build stopped: subcommand failed.

If I add a storage_partition:
&flash0 {
	partitions {
		compatible = "fixed-partitions";
		#address-cells = <1>;
		#size-cells = <1>;

		/* 256KB for bootloader. This is way to large but there is no way to make part of it usefull*/
		boot_partition: partition@0 {
			label = "mcuboot";
			reg = <0x00000000 DT_SIZE_K(256)>;
			read-only;
		};

		/* storage: 256KB for settings */
		storage_partition: partition@40000 {
			label = "storage";
			reg = <0x00040000 DT_SIZE_K(256)>;
		};

		/* backup slot: 256KB */
		slot0_partition: partition@80000 {
			label = "image-0";
			reg = <0x00080000 DT_SIZE_K(256)>;
		};

		/* scratch slot: 256KB */
		slot1_partition: partition@C0000 {
			label = "image-1";
			reg = <0x000C0000 DT_SIZE_K(256)>;
		};
	};
};

I have the same results as before
*** Booting Zephyr OS build v3.4.0-rc1-90-g5c7d2f1a90a6 ***
I: Starting bootloader
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
I: Swap type: none
E: Image in the primary slot is not valid!
E: Unable to find bootable imag

@andy9a9, if hawkbit requires a storage partition this will not work for your device. Because of its flash properties there is no support for storage.
You always need a scratch partition (swap using scratch) or a larger image-0 partition (swap using move) for mcuboot to work.

uff, ok, I was thinking, that is compatible, but :(. So is there any way to use a OTA update including switching partitions for this device at all?

I think mcumgr (smp_svr) should work, but since there will be no storage possibility the usage of zephyr for this device will always be very limited.

OK, but I made an another test, but it's still failing.
&flash0 {
	partitions {
		compatible = "fixed-partitions";
		#address-cells = <1>;
		#size-cells = <1>;

		/* 256KB for bootloader. This is way to large but there is no way to make part of it usefull*/
		boot_partition: partition@0 {
			label = "mcuboot";
			reg = <0x00000000 DT_SIZE_K(256)>;
			read-only;
		};

		/* application image slot: 256KB */
		slot0_partition: partition@40000 {
			label = "image-0";
			reg = <0x00040000 DT_SIZE_K(256)>;
		};

		/* backup slot: 256KB */
		slot1_partition: partition@80000 {
			label = "image-1";
			reg = <0x00080000 DT_SIZE_K(256)>;
		};
	};
};

mcuboot

west build -b nucleo_f756zg bootloader/mcuboot/boot/zephyr -d build-mcuboot
west flash -d build-mcubot

*** Booting Zephyr OS build v3.4.0-rc1-90-g5c7d2f1a90a6 ***
I: Starting bootloader
I: Primary image: magic=bad, swap_type=0x4, copy_done=0x2, image_ok=0x2
I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
W: Failed reading image headers; Image=0
E: Unable to find bootable image

hello_world

west build -b nucleo_f756zg zephyr/samples/hello_world -d build-hello-signed -- -DCONFIG_BOOTLOADER_MCUBOOT= -DCONFIG_MCUBOOT_SIGNATURE_KEY_FILE=\"bootloader/mcuboot/root-rsa-2048.pem
west flash -d build-hello-signed

*** Booting Zephyr OS build v3.4.0-rc1-90-g5c7d2f1a90a6 ***
I: Starting bootloader
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
I: Swap type: none
E: Image in the primary slot is not valid!
E: Unable to find bootable image

Is it still a layout problem?

@andy9a9 The scratch partition is still missing, so you won't be able to do any updates.
The option -DCONFIG_BOOTLOADER_MCUBOOT= seems to be missing a "y"

@Laczen Sorry, I copied it wrongly from CLI:
west build -b nucleo_f756zg zephyr/samples/hello_world -d build-hello-signed -- -DCONFIG_BOOTLOADER_MCUBOOT=y -DCONFIG_MCUBOOT_SIGNATURE_KEY_FILE=\"bootloader/mcuboot/root-rsa-2048.pem\".
On the other hand, could you please post the correct flash layout?

@andy9a9, I have updated to proposed good pattition to include scratch instead of a second slot1.

@Laczen After I used your layout, it works fine even if I removed my hack. So now I think, we can close the issue.
Next question is, if you wanted to "make the layout public".

@Laczen Next question is, if you wanted to "make the layout public".

I don't see any problem with that, you can create a PR if you would like. I will leave it up to the st maintainers to approve.

@Laczen Next question is, if you wanted to "make the layout public".

I don't see any problem with that, you can create a PR if you would like. I will leave it up to the st maintainers to approve.

Thanks @Laczen for the support.
@andy9a9 this would be welcome, thanks!


Test failure: AppOfflineAddedAndRemovedStress

This test fails occasionally with the following error:
Status code was 500
Expected: True
Actual:   False
   at Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests.Helpers.<>c__DisplayClass4_0.<<StressLoad>g__RunRequests|0>d.MoveNext() in /_/test/Common.FunctionalTests/Utilities/Helpers.cs:line 46
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests.Helpers.StressLoad(HttpClient httpClient, String path, Action`1 action) in /_/test/Common.FunctionalTests/Utilities/Helpers.cs:line 59
   at Microsoft.AspNetCore.Server.IIS.FunctionalTests.AppOfflineTests.AppOfflineAddedAndRemovedStress(HostingModel hostingModel) in /_/test/Common.FunctionalTests/AppOfflineTests.cs:line 213
--- End of stack trace from previous location where exception was thrown ---
------- Stdout: -------
| [0.001s] TestLifetime Information: Starting test AppOfflineAddedAndRemovedStress-InProcess at 2018-08-13T23:32:03
| [0.001s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: Deploying [Variation] :: ServerType=IIS, Runtime=CoreClr, Arch=x64, BaseUrlHint=, Publish=True
| [0.003s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug: Processing C:\BuildAgent\temp\buildTmp\7d50d45a18ed46adb7332bbba31d3f76\runtimes\unix\lib\netcoreapp2.0
| [0.004s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying System.Security.Principal.Windows.dll
| [0.005s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug: Processing C:\BuildAgent\temp\buildTmp\7d50d45a18ed46adb7332bbba31d3f76\runtimes\unix\lib
| [0.005s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug: Processing C:\BuildAgent\temp\buildTmp\7d50d45a18ed46adb7332bbba31d3f76\runtimes\unix
| [0.006s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug: Processing C:\BuildAgent\temp\buildTmp\7d50d45a18ed46adb7332bbba31d3f76\runtimes\win\lib\netcoreapp2.0
| [0.006s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying System.Security.Principal.Windows.dll
| [0.008s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug: Processing C:\BuildAgent\temp\buildTmp\7d50d45a18ed46adb7332bbba31d3f76\runtimes\win\lib
| [0.008s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug: Processing C:\BuildAgent\temp\buildTmp\7d50d45a18ed46adb7332bbba31d3f76\runtimes\win
| [0.008s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug: Processing C:\BuildAgent\temp\buildTmp\7d50d45a18ed46adb7332bbba31d3f76\runtimes
| [0.008s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug: Processing C:\BuildAgent\temp\buildTmp\7d50d45a18ed46adb7332bbba31d3f76\wwwroot
| [0.008s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying static.txt
| [0.009s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug: Processing C:\BuildAgent\temp\buildTmp\7d50d45a18ed46adb7332bbba31d3f76
| [0.009s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying aspnetcorev2_inprocess.dll
| [0.011s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying aspnetcorev2_inprocess.pdb
| [0.019s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying InProcessWebSite.deps.json
| [0.020s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying InProcessWebSite.dll
| [0.022s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying InProcessWebSite.pdb
| [0.023s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying InProcessWebSite.runtimeconfig.json
| [0.025s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying Microsoft.AspNetCore.Authentication.Abstractions.dll
| [0.026s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying Microsoft.AspNetCore.Authentication.Core.dll
| [0.028s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying Microsoft.AspNetCore.Hosting.Abstractions.dll
| [0.029s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying Microsoft.AspNetCore.Hosting.dll
| [0.031s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying Microsoft.AspNetCore.Hosting.Server.Abstractions.dll
| [0.033s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying Microsoft.AspNetCore.Http.Abstractions.dll
| [0.034s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying Microsoft.AspNetCore.Http.dll
| [0.036s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying Microsoft.AspNetCore.Http.Extensions.dll
| [0.037s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying Microsoft.AspNetCore.Http.Features.dll
| [0.039s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying Microsoft.AspNetCore.Server.IIS.dll
| [0.040s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying Microsoft.AspNetCore.Server.IIS.pdb
| [0.042s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying Microsoft.AspNetCore.Server.IIS.xml
| [0.043s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying Microsoft.AspNetCore.WebUtilities.dll
| [0.045s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying Microsoft.Extensions.Configuration.Abstractions.dll
| [0.046s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying Microsoft.Extensions.Configuration.Binder.dll
| [0.048s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying Microsoft.Extensions.Configuration.dll
| [0.049s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying Microsoft.Extensions.Configuration.Envir
...

Other tests within that build may have failed with a similar message, but they are not listed here. Check the link above for more info.
This test failed on master.
CC @muratg
This issue was made automatically. If there is a problem contact ryanbrandenburg.

Please use this workflow to address this flaky test issue, including checking applicable checkboxes and filling in the applicable "TODO" entries:

Is this actually a flaky test?

No, this is a regular test failure, fix the test/product (TODO: Link to commit/PR)
Yes, proceed below...

Is this test failure caused by product code flakiness? (Either this product, or another product this test depends on.)

[ ] File a bug against the product (TODO: Link to other bug)
Is it possible to change the test to avoid the flakiness?

Yes? Go to the "Change the test!" section.
No?

[ ] Disable the test (TODO: Link to PR/commit)
[ ] Wait for other bug to be resolved
[ ] Wait for us to get build that has the fix
[ ] Re-enable our test (TODO: Link to PR/commit)
[ ] Close this bug

Is it that the test itself is flaky? This includes external transient problems (e.g. remote server problems, file system race condition, etc.)

Is there is a way to change our test to avoid this flakiness?

Yes? Change the test!

[ ] Change the test to avoid the flakiness, for example by using a different test strategy, or by adding retries w/ timeouts (TODO: Link to PR/commit)
[ ] Run the test 100 times locally as a sanity check.
[ ] Close this bug

No?

Is there any logging or extra information that we could add to make this more diagnosable when it happens again?

Yes?

[ ] Add the logging (TODO: Link to PR/commit)

No?

[ ] Delete the test because flaky tests are not useful (TODO: Link to PR/commit)

This comment was made automatically. If there is a problem contact ryanbrandenburg.

This failure is because fix has not propagated yet.


Several tab links

There are several places in the content where a specific tab of a product page is mentioned, but there is no direct link to that tab. Now that we have the new tab linking functionality, I added in direct links to tabs in all the places they are referenced in the content.

Deploy Preview: https://deploy-preview-97--dea-docs.netlify.app/


[QA] Coins SFX cannot be heard when collecting them on the ''Meta Gami Mall'

Explorer Alpha build versions:
v0.25.2
Issue Description:
When the user is In the 'Meta Gami Mall' scene at coordinates (145,60) and collects coins , the sound effects cannot be heard by the user.
STR:

Teleport to Goerli
Watch the fashion show
Teleport to Meta gami mall scene (145,60)
Collect coins
Verify that the coins SFX cannot be heard by the user when collecting them

Expected behaviour:
The coins sound effect must appear when the user collects them
Current behaviour:
The coins do not have sound when collecting them
Evidence:
https://github.com/user-attachments/assets/1668e9da-1116-4086-96fb-e79848874bc9
Additional Notes:
Windows 11 pro for workstations
RAM : 16,0 GB

This was already fixed.


Alphabetical order

I think could be a good impro sort the companies in alphabetical order when generating the README.md

Implemented in https://github.com/italiaremote/awesome-italia-remote/pull/16


feature: use template mode instend of copy in the Copy Custom Manifests task

Summary
The role currently uses Ansible copy module to copy Custom Manifests. With this module we cannot use variables in the files/manifests.
if we need variable interpolation in copied files, we probably need to use the ansible.builtin.template module.
The main Idea is replace copy module with the template
Issue Type
Feature Idea

Feature merged in #124


[BUG] deleteWithIds not working

Describe the bug
I can not delete any photo
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Flutter version
Channel beta, 1.19.0-4.3.pre
Smartphone (please complete the following information):

Device: Oneplus 6

Duplicate of #362


x/tools/internal/lsp: log debug server port in the gopls log file, not stderr

Because debug.Serve gets called before we get an initialize request, we log to stderr instead of the log.

Yeah, this came up when talking to Billie.
The idea is that we should enable debug pages by default, but to do that we need to default to :0 so they get unique ports, and that means we need an easy way of finding out what port it picked, and ideally the plugin would be able to find out so that it can just open the debug page.
It is probably worth noting that we could pick other ways of reporting the port number chosen for this purpose.


Add Powercord support

Is your feature request related to a problem? Please describe.
It would be nice if this theme was compatible with Powercord from the get-go, and since you only have the BetterDiscord theme files, you'd have to convert them first.
Describe the solution you'd like
You should include Powercord theme files for this project alongside with the BetterDiscord ones.
Additional context
This is what I mean, using the convert here.

Powercord devs have just ended the project, so I'm marking this as wontfix

Powercord devs have just ended the project, so I'm marking this as wontfix

What do you mean by "ended the project?"

Powercord devs have just ended the project, so I'm marking this as wontfix

@TakosThings Update on this, Powercord has been forked, so you now can unmark this wontfix, and support for Replugged.

Powercord devs have just ended the project, so I'm marking this as wontfix

@TakosThings Update on this, Powercord has been forked, so you now can unmark this wontfix, and add support for Replugged.

It would be nice to add Replugged support, since it has been out of Beta now
Although the Theme Development is different between Replugged and Powercord now: https://guide.replugged.dev/docs/theme/getting-started
Cobbling a Replugged Theme together myself that just includes the Fluent Discord CSS works perfectly fine on Replugged


hackathon_notice

Complete:
add/delete/change/get hackathon_notice
show hackathon_notice in index & hackathon_detail page
Todo:
automatically generate hackathon_notice

Great job done. Basically no major issues. Please resolve comments and conflicts.

manually merge.


Identity: Populate Preferred Role and Lane Dropdown boxes

Check names in-game. Have to be on open wifi to access game.

Done


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.10 to before v5.10.88",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=95868b85764aff2dcbf78d3054076df75446ad15",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=222cebd995cdf11fe0d502749560f65e64990e55"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "95868b85764aff2dcbf78d3054076df75446ad15",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "222cebd995cdf11fe0d502749560f65e64990e55",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "drm/amd/pm: fix a potential gpu_metrics_table memory leak\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.10.88 by commit 222cebd995cdf11fe0d502749560f65e64990e55, it was introduced in version v5.10 by commit 95868b85764aff2dcbf78d3054076df75446ad15. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002700


[Task] Add confirmation email.

Generate a link with a one time code for confirming the email address is valid and belongs to the user.
Send the link to the email address.
When the user clicks the link it should go to a confirmation page that verifies the code and activates/updates the user account.

Implemented confirmation email feature, see https://github.com/KinaUna/Examplium/blob/master/Documentation/Code/IdentityServer/03-Add-Confirmation-Email.md


Fixed, we are now deploying to our Kubernetes cluster 🎉


Update feeHistory exchangeRate logic to use MirrorNode

Signed-off-by: Anton Rusev<EMAIL_ADDRESS>Description:

Add getFeeHistory() to eth.ts to fetch all the fees
Add constant var for maximum results returned in a single request

Related issue(s):
Fixes #85
Notes for reviewer:

Checklist

[ ] Documented (Code comments, README, etc.)
[ ] Tested (unit, integration, etc.)

Codecov Report

Merging #278 (a6e83a9) into main (fa2765e) will decrease coverage by 2.14%.
The diff coverage is 69.23%.

@@            Coverage Diff             @@
##             main     #278      +/-   ##
==========================================
- Coverage   58.52%   56.38%   -2.15%
==========================================
  Files           9        9
  Lines         745      768      +23
  Branches      112      117       +5
==========================================
- Hits          436      433       -3
- Misses        283      310      +27
+ Partials       26       25       -1

Impacted Files
Coverage Δ

packages/relay/src/lib/constants.ts
100.00% <ø> (ø)

packages/relay/src/lib/errors.ts
83.33% <0.00%> (-16.67%)
:arrow_down:

packages/relay/src/lib/eth.ts
58.73% <72.00%> (+0.32%)
:arrow_up:

packages/relay/src/lib/mirrorNode.ts
26.53% <0.00%> (-34.70%)
:arrow_down:

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 fa2765e...a6e83a9. Read the comment docs.


Fix To Creating Overly Large Lists

Fix to Issue #417.
NOTE: This new error report must be added to blockly for all languages.

Due to this I'll close this PR. I am happy to help if you want to try to do it that way :)


feat (DDI-989): Pop Over Component

Black border is seen on focusing the target element

:tada: This PR is included in version 4.0.0-alpha.122 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.162 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.21 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Memo field doesn't allow text selection (copy and paste)

This may seem unimportant, but if the memo is used for any transaction with commerce information (tracking/ship-to/invoice/etc) the information is now error prone from humans having to copy it.
For instance, a transaction that includes the user's address for communicating back to via memo (or refunding) would need to be copied by hand.

This is a windows bug FYI.

Thanks for reporting this. It will be fixed in Monday's release.

In 0.5.9


Database Sharding Plan

Hi,
Have you considered about database sharding plan? If you've planned to support it,  I've read that you primarily support PostgreSQL, and Citus Data is one of the sharding solution for it.
According to Citus docs, one of the requirements is to have composite primary keys:
http://docs.citusdata.com/en/v10.1/use_cases/multi_tenant.html#preparing-tables-and-ingesting-data
But it seems that your Dtos are based on a single primary key:
https://github.com/fullstackhero/dotnet-webapi-boilerplate/blob/main/src/Shared/Shared.DTOs/Catalog/ProductDetailsDto.cs
What do you think about this? Thanks

Hi @aldycool,
This is my Entity
https://github.com/fullstackhero/dotnet-webapi-boilerplate/blob/main/src/Core/Domain/Entities/Catalog/Product.cs
Essentially, has a combination of both a Guid Id and a Tenant Id.

Hi @iammukeshm,
My mistake, I thought the entities are on the Shared project.
I see, the BaseEntity super class carries the Id field and it became the primary key by convention in EF Core. The tenancy identifier is the TenantId field in the derived class. Also, in order to be compliant with Citus sharding, we can enforce the creation of composite primary key (to override the convention Id as primary key) by using the EF Core's ModelBuilder.HasKey() during OnModelCreating(), as specified in the example: https://docs.microsoft.com/en-us/ef/core/modeling/keys?tabs=data-annotations#configuring-a-primary-key.
Very nice, your boilerplate is very flexible to allow this. Thanks for your insights!


📝 Empty line with no indentation between strings in comment: .graphql files

Environment information
CLI:
  Version:                      1.9.1
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           linux

Environment:
  BIOME_LOG_PATH:               unset
  BIOME_LOG_PREFIX_NAME:        unset
  BIOME_CONFIG_PATH:            unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v18.20.4"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "yarn/3.8.4"

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    false
  VCS disabled:                 true

Formatter:
  Format with errors:           false
  Indent style:                 Space
  Indent width:                 2
  Line ending:                  Lf
  Line width:                   80
  Attribute position:           Auto
  Bracket spacing:              BracketSpacing(true)
  Ignore:                       []
  Include:                      []

JavaScript Formatter:
  Enabled:                      false
  JSX quote style:              Single
  Quote properties:             Preserve
  Trailing commas:              Es5
  Semicolons:                   AsNeeded
  Arrow parentheses:            Always
  Bracket spacing:              unset
  Bracket same line:            false
  Quote style:                  Single
  Indent style:                 unset
  Indent width:                 unset
  Line ending:                  unset
  Line width:                   unset
  Attribute position:           unset

JSON Formatter:
  Enabled:                      true
  Indent style:                 Space
  Indent width:                 unset
  Line ending:                  unset
  Line width:                   unset
  Trailing Commas:              unset

CSS Formatter:
  Enabled:                      true
  Indent style:                 unset
  Indent width:                 unset
  Line ending:                  unset
  Line width:                   unset
  Quote style:                  Double

GraphQL Formatter:
  Enabled:                      false
  Indent style:                 unset
  Indent width:                 unset
  Line ending:                  unset
  Line width:                   unset
  Bracket spacing:              unset
  Quote style:                  unset

Workspace:
  Open Documents:               0

Configuration
{
  "$schema"<EMAIL_ADDRESS>  "organizeImports": {
    "enabled": true
  },
  "formatter": {
    "enabled": true,
    "indentStyle": "space",
    "indentWidth": 2
  },
  "linter": {
    "enabled": true,
    "rules": {
      "recommended": true,
      "a11y": {
        "useAltText": "off",
        "useKeyWithClickEvents": "off",
        "noSvgWithoutTitle": "off",
        "noAriaUnsupportedElements": "off",
        "noNoninteractiveTabindex": "off",
        "useHeadingContent": "off",
        "useValidAriaRole": "off",
        "noLabelWithoutControl": "off",
        "useSemanticElements": "off"
      },
      "complexity": {
        "noForEach": "off",
        "useLiteralKeys": "off",
        "useSimpleNumberKeys": "off",
        "useArrowFunction": "off",
        "noUselessTernary": "off",
        "useRegexLiterals": "off"
      },
      "correctness": {
        "useIsNan": "off",
        "useHookAtTopLevel": "error",
        "noUnusedImports": "error"
      },
      "performance": {
        "noAccumulatingSpread": "off"
      },
      "style": {
        "useExponentiationOperator": "off",
        "noParameterAssign": "off",
        "useEnumInitializers": "off",
        "useFragmentSyntax": "error",
        "useLiteralEnumMembers": "off",
        "useNamingConvention": "off",
        "useImportType": "off",
        "useNumberNamespace": "off",
        "noUselessElse": "off",
        "useExportType": "off"
      },
      "suspicious": {
        "noArrayIndexKey": "off",
        "noConsoleLog": "off",
        "noImplicitAnyLet": "off",
        "noThenProperty": "off",
        "noExportsInTest": "off"
      }
    }
  },
  "javascript": {
    "formatter": {
      "quoteStyle": "single",
      "jsxQuoteStyle": "single",
      "semicolons": "asNeeded",
      "trailingCommas": "es5",
      "quoteProperties": "preserve"
    }
  },
  "json": {
    "formatter": {
      "enabled": true,
      "indentStyle": "space"
    },
    "parser": {
      "allowComments": true
    }
  }
}

Playground link
https://github.com/danielkaxis/biome-graphql-issue
Code of Conduct

[X] I agree to follow Biome's Code of Conduct

Any chance you can use the playground?

Any chance you can use the playground?

https://biomejs.dev/playground/?files.main.graphql=dAB5AHAAZQAgAEYAbwBvACAAewAKACAAIAAiACIAIgAKACAAIABJACcAbQAgAGEAbgAgAGkAbgBkAGUAbgB0AGUAZAAgAGwAbwBuAGcAIABzAHQAcgBpAG4AZwAuAAoACgAgACAAVwBpAHQAaAAgAHQAdwBvACAAZQBtAHAAdAB5ACAAbABpAG4AZQBzAC4ACgAgACAAIgAiACIACgAgACAAYgBhAHIAOgAgAEkAbgB0AAoAfQA%3D
Here is a playground. Doesn't show any Biome output since it encounters this error:
Biome encountered an unexpected error

This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:

Source Location: crates/biome_graphql_formatter/src/graphql/value/string_value.rs:45:51
Thread Name: biome::worker_5
Message: byte index 2 is out of bounds of ``

cc @vohoanglong0107

I think I've found out the cause. In this line
https://github.com/biomejs/biome/blob/2578a23631bfeeb41674e5507429afb6dd54496e/crates/biome_graphql_formatter/src/graphql/value/string_value.rs#L45
It's trying to remove the indentation from the comment by the minimum indent level of the entire block comment.
But at the same time, in this line
https://github.com/biomejs/biome/blob/2578a23631bfeeb41674e5507429afb6dd54496e/crates/biome_graphql_formatter/src/graphql/value/string_value.rs#L30
The formatter explicitly ignores empty lines, so min_indent does not factor in empty lines in its calculation.
So when the formatter encounters an empty line, it still tries to extract min_indent from that line, which causes it to panic.
I will push a fix for this sometime tomorrow.


[ DataBuffer ] Hot fix for data buffer

. Remove unnecessary lock
Self evaluation:

Build test:	 [X]Passed [ ]Failed [ ]Skipped
Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #523. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.


Support more than one index for the index property

Both DataFrame and Series have this limitation:
    @property
    def index(self):
        """The index (row labels) Column of the DataFrame.

        Currently supported only when the DataFrame has a single index.
        """
        from databricks.koalas.series import Series
        if len(self._metadata.index_map) != 1:
            raise KeyError('Currently supported only when the DataFrame has a single index.')
        return Series(self._index_columns[0], anchor=self, index=[])

We should just support more than 1 here ... (and also 0).

When we fix this, we should also update the docs for reset_index to leverage .index to show Koalas doesn't add a sequential index by default.

I'll take this.

We might need to add Index and MultiIndex instead of Series as pandas' Index and MultiIndex.


Add check for empty WORKON_HOME

Proposed Changes
When $WORKON_HOME is not set and $ENV_NAME is equal to
$PROJECT_ROOT/.venv which contains bin/activate then
the code wrongly assumes workon is available.
It should execute the second branch to source bin/activate.

Good catch! LGTM!


Get gate from name.

What is the expected behavior?
There are standard labels for gates like cx, ry, 'u3' etc. For example,  qiskit.compiler.transpile accepts a list of basis gates in this form. Currently the only way I know how to find out which label stays for which gate is to examine circuit library (and even there seems to be no clear mapping between labels and gates). It would be very convenient to be able to construct a gate from the corresponding label, such that for example qiskit.circuit.Gate.from_label('h') would give qiskit.circuit.library.HGate.

Hi, this looks like an interesting idea but in issue #5098 they wanna remove the label parameter from all the gates, so then this modification will be rendered useless, I think.

In this PR we rather mean name, not label. The name of a gate is unique so you can construct it via name, however the label is essentially just for plotting. The label is being removed via #5098, but not the name. I'll rename this PR title to make this clearer.

seems like an interesting and useful feature! I am interested in this if no one else has started working on it.

Sure, go ahead @eptru!

Is this being worked on? If not, I can pick it up.

Yeah sorry it took a bit longer. I will try to comp it this week.

From: Edwin Navarro @.>
Sent: Monday, July 26, 2021 10:12:53 AM
To: Qiskit/qiskit-terra @.>
Cc: Rice @.>; Assign @.>
Subject: Re: [Qiskit/qiskit-terra] Get gate from name. (#6531)
Is this being worked on? If not, I can pick it up.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com/Qiskit/qiskit-terra/issues/6531#issuecomment-886790116, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADLDYQCNMOWRWFT3ZDKJSHLTZV3PLANCNFSM46JZAQBA.

I'm new to contributing. @eptru are you still working on this? If not, I want to take it up.

Oops sorry I forget about this again.. I will try to get this done in the next two days.
From: @.>
Sent: Monday, August 23, 2021 6:39 AM
To: @.>
Cc: @.>; @.>
Subject: Re: [Qiskit/qiskit-terra] Get gate from name. (#6531)
I'm new to contributing. @eptruhttps://github.com/eptru are you still working on this? If not, I want to take it up.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Qiskit/qiskit-terra/issues/6531#issuecomment-903687335, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADLDYQBZY3BYOENBLWY3ALDT6IXNNANCNFSM46JZAQBA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

Is there solution yet ?

There is now a standard function qiskit.circuit.library.standard_gates.get_standard_gate_name_mapping that returns a dict[str, Gate], so you can do:
from qiskit.circuit.library.standard_gates import get_standard_gate_name_mapping

name_map = get_standard_gate_name_mapping()

hgate = name_map["h"]

I'll close this issue, but if there's more to discuss please feel free to reopen.

No, sounds good. Thanks for the quick response 👍


fix locus calculation

Changed the multiline_overlap test to cover this case too (and documented why the labels are ordered differently for the future). The output should be unchanged although the ordering of the labels in the struct has been changed.
This should resolve #259 again.

Thanks!


is it possible to update a built-in flow?

Hi and thanks for your great tool.
Sorry if this is written somewhere, but couldn't find help by searching so:
I am trying to update the built-in first broker flow automatically, example:
{
      "alias": "first broker login",
      "description": "Actions taken after first broker login with identity provider account, which is not yet linked to any Keycloak account",
      "providerId": "basic-flow",
      "topLevel": true,
      "builtIn": true,
      "authenticationExecutions": [
        {
          "authenticatorConfig": "review profile config",
          "authenticator": "idp-review-profile",
          "requirement": "DISABLED",
          "priority": 10,
          "userSetupAllowed": false,
          "autheticatorFlow": false
        },
        {
          "authenticatorConfig": "create unique user config",
          "authenticator": "idp-create-user-if-unique",
          "requirement": "ALTERNATIVE",
          "priority": 20,
          "userSetupAllowed": false,
          "autheticatorFlow": false
        },
        {
          "requirement": "ALTERNATIVE",
          "priority": 30,
          "flowAlias": "Handle Existing Account",
          "userSetupAllowed": false,
          "autheticatorFlow": true
        }
      ]
    }

But I get an obvious exception:
Caused by: de.adorsys.keycloak.config.exception.InvalidImportException: Unable to recreate flow 'first broker login' in realm 'realmname': Deletion or creation of built-in flows is not possible
Question: Is it possible to run a script as update on startup?

Hi!
builtIn flows are immutable in Keycloak.
In our projects we have to clone the workflow first, then we are able to modify or create/update it. ( you don't have to do it inside the ui). You can define the workflows via json, too.
Like here: https://github.com/adorsys/keycloak-config-cli/blob/develop/example-config/moped.json#L5
Or here (yaml format):
      registrationFlow: "beta registration"
      resetCredentialsFlow: "reset encrypted credentials"
      authenticationFlows:
        - alias: beta registration
          description: registration flow
          providerId: basic-flow
          topLevel: true
          builtIn: false
          authenticationExecutions:
            - authenticator: registration-page-form
              requirement: REQUIRED
              priority: 0
              flowAlias: beta registration registration form
              userSetupAllowed: false
              autheticatorFlow: true

@erkkikeranen it's possible to change the authenticationExecutions of an builtin flow but you are not allowed to add or delete executions.


Migrating from old library to the new one.

My app uses an old framework. This is my cocoapods file:
pod 'AWSAppSync', '3.6.1'
pod 'AWSUserPoolsSignIn', '2.27.9'
pod 'AWSMobileClient', '2.27.9'
pod 'AWSS3', '2.27.9'
pod 'AWSPinpoint', '2.27.9'

Should I update my app to use this new framework? I don't have any issue at the moment. Is the framework I am using deprecated or too old? It is not clear to me why we have these different frameworks.
https://github.com/awslabs/aws-mobile-appsync-sdk-ios
Is there any migration guide? It seems everything is very different with this new framework.
If I use this new framework, will I have any issue with my backend files? (json files, cloud formation files, velocity templates...)
Thanks a lot.

Hello @Ricardo1980 👋 thanks for reaching out! You can find guidance on upgrading to the latest version here - https://github.com/aws-amplify/amplify-swift/blob/main/UpgradeGuide.md


Function watch is called erroneously

Example:
const Gpio = require('onoff').Gpio;
const light = new Gpio(4, 'high'); // , 'none', { activeLow: true });
const interrup = new Gpio(21, 'in', 'both');
interrup.watch((error, value) => {
console.log(Error: ${error});
console.log(Interrupt value to Gpio21: ${value});
light.writeSync(parseInt(value));
});
const stdin = process.stdin;
stdin.setEncoding('utf-8');
stdin.on('data', data => {
light.writeSync(parseInt(data.trim()));
});
When I write about ligh (Gpio 4), function watch is called on Gpio 21.
Why that happens?  It should only be called when the value of Gpio 21 changes

With an LED connected to GPIO4 and nothing connected to GPIO21, the program posted above functions correctly for me on a Raspberry Pi 3 with<EMAIL_ADDRESS>and Node v12.4.0.
Here's what I see:
pi@raspberrypi:~/onoff $ node -v
v12.4.0
pi@raspberrypi:~/onoff $
pi@raspberrypi:~/onoff $ npm list
/home/pi/onoff
└─┬<EMAIL_ADDRESS>  ├─┬<EMAIL_ADDRESS>  │ ├─┬<EMAIL_ADDRESS>  │ │ └──<EMAIL_ADDRESS>  │ └──<EMAIL_ADDRESS>  └──<EMAIL_ADDRESS>
pi@raspberrypi:~/onoff $
pi@raspberrypi:~/onoff $ cat t.js
const Gpio = require('onoff').Gpio;

const light = new Gpio(4, 'high'); // , 'none', { activeLow: true });
const interrup = new Gpio(21, 'in', 'both');

interrup.watch((error, value) => {
  console.log(`Error: ${error}`);
  console.log(`Interrupt value to Gpio21: ${value}`);
  light.writeSync(parseInt(value));
});

const stdin = process.stdin;
stdin.setEncoding('utf-8');

stdin.on('data', data => {
  light.writeSync(parseInt(data.trim()));
});

pi@raspberrypi:~/onoff $
pi@raspberrypi:~/onoff $ node t.js
0
1
0
1
0
1
^C
pi@raspberrypi:~/onoff $

Entering 0 turns the LED off, entering 1 turns the LED on.
Have you verified that GPIO4 is not shorted to GPIO21?
Is there hardware connected to GPIO21 that can change the state of GPIO21 when GPIO4 changes state?
Can you post a picture of the circuit that clearly shows what's connected to GPIO4 and GPIO21?
This doesn't appear to be an issue with onoff.

The environment information:
$ node --version v10.16.0 $ npm list | grep onoff └─┬<EMAIL_ADDRESS>$uname -a Linux raspberrypi 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l GNU/Linux
I tried another similar configuration, in case the problem was with GPIO 4, but the same thing happens:
`
const Gpio = require('onoff').Gpio;
const light = new Gpio(20, 'high');
const interrup = new Gpio(17, 'in', 'both');
console.log('Gpio 17 mode IN:both');
interrup.watch((error, value) => {
console.log(Error: ${error});
console.log(Interrupt value to Gpio 17: ${value});
});
const stdin = process.stdin;
stdin.setEncoding('utf-8');
let value = 0;
stdin.on('data', data => {
console.log(Write value ${value});
light.writeSync(value);
value = value === 0 ? 1 : 0;
});
`
That does not always happen, and it seems random. Sometimes it takes some time for it to happen:
`
Write value 0
Write value 1
Write value 0
Write value 1
Write value 0
Write value 1
Write value 0
Write value 1
Write value 0
Write value 1
Write value 0
Write value 1
Error: null
Interrupt value to Gpio 17: 1
`

I hope this illustrates the example:

Currently I solve the problem by caching the "previous" value of GPIO 17. When the "watch" function is executed, I check if the previous value is different from the new one to execute the corresponding actions.

One side of the switch is connected to GPIO17 and the other side of the switch is connected to 5V. GPIOs on the Raspberry Pi are not 5V tolerant and connecting them to 5V will damage them. The switch should be connected to 3.3V and not 5V.

I'll go ahead and close this issue as it's not an onoff issue


Allow disabling feature markers

Plotting a mesh with region markers, seems to force the markers to be visible. This is useful when debugging, but not when plotting for manuscripts. It would be useful to allow disabling the feature markers (just as we can only plot a subsection of the region boundaries).
As example:

As a work-around, you can do mesh.region_markers.clear().
I will make a PR in which you can specify show_region_markers=False 👍

As a work-around, you can do mesh.region_markers.clear().

It seems that the markers in the Mesher2D are automatically regenerated. So I can clear them, but they directly reappear.


idea

@Mocktar a website where users can log in and pay to get their homework corrected by other users. I guess it will make people more willing to register on the website.

@mocktarissa I have two ideas.

A website where final year students and supervisors can efficiently interact. The website will include supervisor and student team meetings, an event scheduler, e-meeting, chat box amongst others. I can generate an app flow.
A website where developers can share resources and get involved in freelancing roles for heavy projects within Africa. I can come up with app flow this too.

My HNG ID is hng-04999. I'm a full stack developer. More focused on backend.

Is this for back end?


how to  Id converted to characters or numbers？

I have already obtained techTypes:{"android.nfc.tech.NfcV"，"android.nfc.tech.NdefFormatable"} and "id": [4, 96, 117, 74, -17, 34, -128]，but I don't know how to convert id.

You could use nfc.bytesToHexString(id) or nfc.bytesToString(id)


Support "uninstalling" packages

One of the issues we've run into at Framer is being unable to remove a package from the import map. This causes unnecessary bloat. The API could look something like this:
const generator = new Generator({
        mapUrl: "about:blank",
        inputMap,
})

await generator.uninstall("lodash")

return generator.getMap()

generator.uninstall is now implemented in https://github.com/jspm/generator/issues/132.


Changelog harvesting

Feature Description
From @timlinux

Can you make a tool (or check if they already made one) to harvest the changelog to QGIS-Hugo?
it will be nice if you can run it multiple times to e.g. pull in updates that got made to the changelog after we already harvested it

Reference to Feature
No response

@timlinux, Please find below my understanding and the proposed approach for this feature.
Current situation
After reviewing the changelog website, the current QGIS website (qgis.org), and the QGIS-Hugo website, I observed the following:

Access Restrictions: Downloading a changelog RST file from changelog.qgis.org requires a logged-in staff user account.
Content Discrepancies: There are notable differences between the RST files on the main website and those on changelog.qgis.org. For instance, the Cesium 3D Tiles section appears on the main website but is absent from the corresponding changelog page at changelog.qgis.org.
File Usage: The QGIS-Hugo website currently utilizes the transformed RST files (converted to Markdown) from the main QGIS website (qgis.org).

Proposed Approach:

Create an Open Endpoint: Establish a publicly accessible endpoint on changelog.qgis.org to allow downloading Markdown versions of each changelog.
Automate Retrieval on QGIS-Hugo: Develop a script within QGIS-Hugo to fetch the changelog from this new endpoint based on a specified version.

This strategy eliminates the need to retrieve RST files from the current website repository and manually convert them to Markdown.


cant run my code properly

Type: Feature Request
Respected Mam/Sir
i am humbly requesting kindly fix my vs code via any online connecting souces like anydesk its showing "open.launch.json".
kindly help me out i am stuck in this loop for this i will be forever thankful to you guys
VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z)
OS version: Windows_NT x64 10.0.22621
Modes:

/question

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


Permission denied on Nougat

hi i have a samsung galaxy S7 edge (SM-G735f) rooted it using Magisk SU which is currently at V 1.18.1   I have troubles to execute commands some of them work (ex: echo) but others don't (like whoami and ls). When they don't i get this message:
bash: /data/data/com.termux/files/usr/bin/applets/ls: Permission denied
Help would be much appreciated

I get this to on android 8.1.0 or nougat


Test more templates for if they contain an error

Test cases are failing, new links are giving 404 in unit tests

@lunny please fix the merge conflicts. :tea:


Add JSON Spec to sequencing server

Tickets addressed: Resolves https://github.com/NASA-AMMOS/aerie/issues/609
Review: By commit
Merge strategy: Merge (no squash)

Description
The overall goal is to incorporate the JSON spec into the Aerie Repo and give eDSL access to the full JSON Spec while wrapping the current EDSL into the 4 command types. The goal is to clean up the code and merge more of the spec and EDSL API together to create a tighter coupling, and to look at how to write custom eDSL to make the process easier.
This is the first part of the development process, which will be to add the JSON spec to the Aerie Repo and combine it with the EDSL.
Verification
I ran through the e2e tests without any issues.
Documentation
None
Future work
Rework the Sequence eDSL class with this new spec file.

@cohansen Yeah, I think merge your PR first and I will rebase this one.


[stable/mongodb] Update deployment apiVersion to 'apps/v1' - Mandatory for K8s 1.16

Signed-off-by: juan131<EMAIL_ADDRESS>What this PR does / why we need it:
There are several deprecations in the API introduced in K8s 1.16 (see https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.16.md#deprecations-and-removals) which affect our manifests. The following APIs are no longer served by default:

All resources under apps/v1beta1 and apps/v1beta2 - use apps/v1 instead
daemonsets, deployments, replicasets resources under extensions/v1beta1 - use apps/v1 instead
networkpolicies resources under extensions/v1beta1 - use networking.k8s.io/v1 instead
podsecuritypolicies resources under extensions/v1beta1 - use policy/v1beta1 instead

This PR address the changes to be done for stable/mongodb.
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Title of the PR starts with chart name (e.g. [stable/chart])

Waiting for bitnami-bot to update image tags
/hold

/hold cancel

/assign @carrodher @miguelaeh

/ok-to-test
/lgtm


Bump the standard library to v180

What does this change?
Bumps the standard library to v180.
Known issues
The std/hash module needs to be kept at v160, because it exports a synchronous implementation of the SHA256 algorithm. Later versions do not export this module.

Thanks, but sorry this repo was really out of date and hadn't been looked at. This was resolved by removing the deno_std dependency for hashing.


No reaction on successful exit codes: PyCharm

Hello! Really love the extension, but I'm having a problem where it just ignores codes added in the settings as success codes. "... MIKU will not react to these (but can if you want to)." How do I enable positive reactions on those exit codes?

I made the negative exit code reaction blacklist exit codes that where not successful, because anything other than zero isn't success. That way it covers all of the bases for that feature.
I could add a separate part which enables MIKU to react to the positive exit codes. This wouldn't be enabled by default, but you could turn it on. You would provide a whitelisted set of exit codes for a positive reaction. I think I would make the positive reactions take priority. Such as if exit code -1 is configured to be a positive reaction and is not present in the allowed exit codes, then you'll get a positive reaction.

That would be amazing. I tried to play around with it myself, but couldn't get it to work. I think that feature would be really useful!

So I've got that change in, I don't plan on releasing it to the marketplace right away (Just released a new version).
In the mean time you can download and manually install the plugin  if wanted, see the docs.
Thanks for the suggestion (I might need to add more positive reaction gifs now)

Appreciate the quick response! If it helps for future development, my personal use case is solving leetcode type questions using the EPI book. Nothing would be more rewarding than a happy reaction when you finally get the answer right.


Newly flashed device stuck in boot loop

Hi,
To update my gateway from a serial to a network connection I purchased a NodeMCU and flashed it according to the wiki. Unfortunately it immediately gets stuck in a boot loop. If I connect to the serial output it constantly outputs the following on a loop:
Booting....[0.9.0+21bea01 (06-11-2021)]

�$l�H2�xn�GW=R
[OTGW firmwa�O4d��GW=R
[OTGW firmwar
             |4`,l$$p0t�W=R
[OTGW firmwar�O,`l$l`:iGW=R
[OTGW firmware�pYbfrzD>�GW=R
[OTGW firmware�O,hl,p�(GW=R
[OTGW firmware 0l�CGS{D>�
                         Htxv`lld$pt�W=R
[OTGW firmware 2$l��l,x�GW=R
[OTGW firmware t4`,l$$pt�W=R
[OTGW firmware -�$l�Hl$xo�GW=R
[OTGW firmware -t|4`,l$4b:IGW=R
[OTGW firmware - |4`,l$4b8IGW=R
[OTGW firmware - Nodoshop version]

Booting....[0.9.0+21bea01 (06-11-2021)]

Last reset reason: [External System]
Attempting to connect to WiFi network
Start Wifi ...
AutoConnect to: EO,`l$4b8�W=R
[OTGW firmware - N��`l$4b:IGW=R
[OTGW firmware - NoH�WAMME@>�GW=R
[OTGW firmware - No�l�Hl,HZGW=R
[OTGW firmware - NodHtxwamldH�t�W=R

The OTGW firmware lines are printed relatively slowly (1 line every ~500ms). Sometimes the Attempting to connect lines appear on a loop as well. It does not matter if the device is placed in the gateway or only connected to the USB. I tried the following things:

Flash using esptooly.py
Flash using esptool-ck
Older firmware versions (down to 0.8.0)
Compile the firmware and flash with Arduino IDE

All produce the exact same behavior, which would lead me to the conclusion that I received a defective board. However If I flash an example program using the Arduino IDE, it works immediately.
Is there anything I can try? Did I do something wrong, or did I get a wrong version of the NodeMCU?
Please let me know if more info is needed. Thanks in advance!

Hi @reyapo thanks for reporting your issue. I totally don’t understand why the device would not work unless it’s a bad clone or fault nodemcu.
It indeed looks like a deep bootloop. The bootbanner is mostly seen in your logging on the usb. You hardly seem to get to the next step.
Stupid question: is the nodemcu in the OTGW board when connected to the USB serial or not?
Cheers,
Robert

Hi Robert
Thanks for your quick reply. As far as I can tell the board is an original NodeMCU v1.2.
The log I pasted above is when the board is connected through USB only, so not placed on the gateway. However if I place the board in the gateway the LEDs blink in the same way and no Wifi AP appears so I assumed it does the same. I did not read the serial at that time though.
I ordered a second board, from the NODO shop this time, as a backup. Please let me know If you would like me to test certain things, otherwise I will wait for the second board and hope for better results with that one.
Thanks!

@reyapo well, when the nodemcu comes please report here what happened. Thanks... I leave your issue open for now.

@rvdbreemen I got the new board and it worked immediately. Its now running and sending data to Home Assistant flawlessly! Why the other one is not working I don't know. If I put them side by side there are definitely differences, but unless someone else encounters the same issue I would say, call it defective and close the issue.

Thanks for letting me know. Clossing issue.


Feature: Generate theme from vscode theme settings

With vscode, you can run a command (Developer: Generate Color Theme From Current Settings or workbench.action.generateColorTheme), and you will get a json output of all the theme settings.
Maybe this repo could add an npm script to parse that json and make a css file?
I feel like a lot of the popular themes have already been ported over though so maybe not too much value in adding this.

PrismJS/prism#2848 is relevant here.
My initial assessment was that creating such a tool/script would be too hard to be worth it. However, with more granular token types being planned, I think it will become possible in Prism v2.0.

I feel like a lot of the popular themes have already been ported over though so maybe not too much value in adding this.

There is still much value in such a tool. Popular themes change and new beautiful themes emerge all the time. Plus manually porting themes is tedious and error-prone. Prism isn't important enough for many people to warrant this kind of effort, so having a tool doing that automatically would be a great help.

Hey guys, just thought I'd let you know about this awesome Gatsby plugin: https://github.com/andrewbranch/gatsby-remark-vscode.


Added missing scaleToFit option.

Hi @haydenbleasel I believe gulp-jimp is missing the option of scaleToFit. Took the liberty of adding it.
Would be much appreciated if you could merge this in.
Ping me if you want me create a ticket for it.

Awesome 👍

Published to NPM


[Bug] unable to train

I am unable to run the training and found that this piece of code is causing the issue.

https://github.com/AlexErrant/burn/compare/3db5c1134fbedee58b187911786553373a82d8e4...48042af27969dfc76593b43ffcf08fcedff325b3#diff-6a35a98c03bc063fbb33e367f90ce1f477a9b10fc9508313986c7706c7558e17
- wasm-bindgen-rayon = { version = "1.0.3", optional = true, features = [
-   "no-bundler",
- ] }

+ wasm-bindgen-rayon = { version = "1.0.3", optional = true }

After rolling back this code, I discovered that I can run the training normally.

I can replicate your error in the sandbox. I enabled the no-bundler feature in v0.2.2 because otherwise vite build failed for me, but it looks like now the problem is run-time instead of build-time. Bah.
Can you run vite build in your project with v0.2.1 and v0.2.2 and report the results? For the sandbox (and my own project), vite build fails in v0.2.1 and succeeds with v0.2.2. However, it looks like training doesn't work vite build && vite preview on v0.2.2.
I'm not entirely sure what the bundling story with wasm-bindgen-rayon and vite should be like... gonna see if I can create a minimal example.

Can you run vite build in your project with v0.2.1 and v0.2.2 and report the results? For the sandbox (and my own project), vite build fails in v0.2.1 and succeeds with v0.2.2. However, it looks like training doesn't work with vite build && vite preview on v0.2.2 for reasons that escape me.

I tried using<EMAIL_ADDRESS>for vite build, but it failed. However, when using<EMAIL_ADDRESS>the compilation was successful. However, neither of them can be used for training. (Possibly due to different compilation environments caused by npm package publishing?)

If I use ./prod.sh for compilation to obtain fsrs-browser.js, it fails to compile in both versions. However, training works with 0.2.1, but not with 0.2.2.


Failing tests in MS Edge due to URL-polyfill not loading

We currently have 45 failing tests in Microsoft Edge 38.14393.0.0.
44 of them can be fixed by always using a URL-polyfill, not only when the user-agent signals it to polyfill.io. PR to come.
The remaining error will be examined and tackled separately.

The remaining error is an IndexSizeError and occurs in src/ol/renderer/canvas/tilelayer.js (Line 364), when renderContext.drawImage is called.
From MSDN

The numeric arguments are not valid (for example, the destination is a 0x0 rectangle). Versions earlier than Internet Explorer 10 use INDEX_SIZE_ERR.

The arguments for
renderContext.drawImage(tile.getImage(), tileGutter, tileGutter,
        tilePixelSize[0], tilePixelSize[1], left, top, w, h);

are:
tileGutter             (sx):    0
tileGutter             (sy):    0
tileGutilePixelSize[0] (sw):    256
tileGutilePixelSize[1] (sh):    256
left                   (dx):    -20037499
top                    (dy):    -60112487
w                      (dw):    40075017
h                      (dh):    40075017

The same values also come up in Chrome, but there the test passes.
Can anybody share an idea what is wrong there? @ahocevar possibly?
(Above values com from a variant of the current code, where the img from getImage is an image created with new Image(10, 10), not sure if this has any impact.)
Are the remarks from this MSDN-page on canvas element | canvas object somehow relevant?

Note  The maximum size of the rendered area on a canvas is from 0,0 to 8192 x 8192 pixels, regardless of the size of the canvas. For example, a canvas is created with a width and height of 8292 pixels. A rectangular fill is then applied as "ctx.fillRect (0,0, canvas.width, canvas.height)".Only the area within the coordinates (0, 0, 8192, 8192) can be rendered, leaving a 100 pixel border on the right and bottom of the canvas.

Checking this now. Looks like we render to a map with an incorrect size.

@marcjansen #6000 fixes the test.


Add index.html with instructions

proposed by https://github.com/umputun/remark/issues/26#issuecomment-399681446
We need a static HTML file with some details on how to integrate remark42, how to customize and so on.
related to #27

@umputun could you create html stub that will be served by remark at root.
Currently it only serves WebRoot at /web/. I am not feel that I can extend routing config to serve single file at root myself.

I think I'll use serving a folder. Can you suggest how to make a redirect from root to '/getstarted'?

I can add routing from /index.html to /web/getstarted.html file. Can you keep it a single file?


Code Doesn't Compile on Ubuntu 14.04.3 LTS

When building on this OS, you get the following regarding lambda functions:
make  all-recursive
make[1]: Entering directory /root/rjhansen-nsrlsvr-88620ef' Making all in src make[2]: Entering directory /root/rjhansen-nsrlsvr-88620ef/src'
CXX      nsrlsvr-main.o
CXX      nsrlsvr-handler.o
handler.cc: In function ‘auto {anonymous}::tokenize(std::string&&, char)’:
handler.cc:177:35: error: parameter declared ‘auto’
[&](auto x) { return x != character; });
^
handler.cc: In lambda function:
handler.cc:177:47: error: ‘x’ was not declared in this scope
[&](auto x) { return x != character; });
^
handler.cc: In function ‘auto {anonymous}::tokenize(std::string&&, char)’:
handler.cc:191:34: error: parameter declared ‘auto’
[&](auto x) { return x != character; });
^
handler.cc: In lambda function:
handler.cc:191:46: error: ‘x’ was not declared in this scope
[&](auto x) { return x != character; });
^
In file included from /usr/include/c++/4.8/algorithm:62:0,
from handler.cc:19:
/usr/include/c++/4.8/bits/stl_algo.h: In instantiation of ‘_RandomAccessIterator std::__find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, std::random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<const char*, std::basic_string >; _Predicate = {anonymous}::tokenize(std::string&&, char)::__lambda0]’:
/usr/include/c++/4.8/bits/stl_algo.h:4465:41:   required from ‘_IIter std::find_if(_IIter, _IIter, _Predicate) [with _IIter = __gnu_cxx::__normal_iterator<const char*, std::basic_string >; _Predicate = {anonymous}::tokenize(std::string&&, char)::__lambda0]’
handler.cc:177:64:   required from here
/usr/include/c++/4.8/bits/stl_algo.h:214:23: error: no match for call to ‘({anonymous}::tokenize(std::string&&, char)::__lambda0) (const char&)’
if (__pred(__first))
^
handler.cc:177:28: note: candidate is:
[&](auto x) { return x != character; });
^
handler.cc:177:36: note: {anonymous}::tokenize(std::string&&, char)::__lambda0
[&](auto x) { return x != character; });
^
handler.cc:177:36: note:   candidate expects 0 arguments, 1 provided
In file included from /usr/include/c++/4.8/algorithm:62:0,
from handler.cc:19:
/usr/include/c++/4.8/bits/stl_algo.h:218:23: error: no match for call to ‘({anonymous}::tokenize(std::string&&, char)::__lambda0) (const char&)’
if (__pred(__first))
^
handler.cc:177:28: note: candidate is:
[&](auto x) { return x != character; });
^
handler.cc:177:36: note: {anonymous}::tokenize(std::string&&, char)::__lambda0
[&](auto x) { return x != character; });
^
handler.cc:177:36: note:   candidate expects 0 arguments, 1 provided
In file included from /usr/include/c++/4.8/algorithm:62:0,
from handler.cc:19:
/usr/include/c++/4.8/bits/stl_algo.h:222:23: error: no match for call to ‘({anonymous}::tokenize(std::string&&, char)::__lambda0) (const char&)’
if (__pred(__first))
^
handler.cc:177:28: note: candidate is:
[&](auto x) { return x != character; });
^
handler.cc:177:36: note: {anonymous}::tokenize(std::string&&, char)::__lambda0
[&](auto x) { return x != character; });
^
handler.cc:177:36: note:   candidate expects 0 arguments, 1 provided
In file included from /usr/include/c++/4.8/algorithm:62:0,
from handler.cc:19:
/usr/include/c++/4.8/bits/stl_algo.h:226:23: error: no match for call to ‘({anonymous}::tokenize(std::string&&, char)::__lambda0) (const char&)’
if (__pred(__first))
^
handler.cc:177:28: note: candidate is:
[&](auto x) { return x != character; });
^
handler.cc:177:36: note: {anonymous}::tokenize(std::string&&, char)::__lambda0
[&](auto x) { return x != character; });
^
handler.cc:177:36: note:   candidate expects 0 arguments, 1 provided
In file included from /usr/include/c++/4.8/algorithm:62:0,
from handler.cc:19:
/usr/include/c++/4.8/bits/stl_algo.h:234:23: error: no match for call to ‘({anonymous}::tokenize(std::string&&, char)::__lambda0) (const char&)’
if (__pred(__first))
^
handler.cc:177:28: note: candidate is:
[&](auto x) { return x != character; });
^
handler.cc:177:36: note: {anonymous}::tokenize(std::string&&, char)::__lambda0
[&](auto x) { return x != character; });
^
handler.cc:177:36: note:   candidate expects 0 arguments, 1 provided
In file included from /usr/include/c++/4.8/algorithm:62:0,
from handler.cc:19:
/usr/include/c++/4.8/bits/stl_algo.h:238:23: error: no match for call to ‘({anonymous}::tokenize(std::string&&, char)::__lambda0) (const char&)’
if (__pred(__first))
^
handler.cc:177:28: note: candidate is:
[&](auto x) { return x != character; });
^
handler.cc:177:36: note: {anonymous}::tokenize(std::string&&, char)::__lambda0
[&](auto x) { return x != character; });
^
handler.cc:177:36: note:   candidate expects 0 arguments, 1 provided
In file included from /usr/include/c++/4.8/algorithm:62:0,
from handler.cc:19:
/usr/include/c++/4.8/bits/stl_algo.h:242:23: error: no match for call to ‘({anonymous}::tokenize(std::string&&, char)::__lambda0) (const char&)’
if (__pred(__first))
^
handler.cc:177:28: note: candidate is:
[&](auto x) { return x != character; });
^
handler.cc:177:36: note: {anonymous}::tokenize(std::string&&, char)::__lambda0
[&](auto x) { return x != character; });
^
handler.cc:177:36: note:   candidate expects 0 arguments, 1 provided
In file included from /usr/include/c++/4.8/algorithm:62:0,
from handler.cc:19:
/usr/include/c++/4.8/bits/stl_algo.h: In instantiation of ‘_RandomAccessIterator std::__find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, std::random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<const char, std::basic_string >; _Predicate = {anonymous}::tokenize(std::string&&, char)::__lambda1]’:
/usr/include/c++/4.8/bits/stl_algo.h:4465:41:   required from ‘_IIter std::find_if(_IIter, _IIter, _Predicate) [with _IIter = __gnu_cxx::__normal_iterator<const char*, std::basic_string >; _Predicate = {anonymous}::tokenize(std::string&&, char)::__lambda1]’
handler.cc:191:63:   required from here
/usr/include/c++/4.8/bits/stl_algo.h:214:23: error: no match for call to ‘({anonymous}::tokenize(std::string&&, char)::__lambda1) (const char&)’
if (__pred(__first))
^
handler.cc:191:27: note: candidate is:
[&](auto x) { return x != character; });
^
handler.cc:191:35: note: {anonymous}::tokenize(std::string&&, char)::__lambda1
[&](auto x) { return x != character; });
^
handler.cc:191:35: note:   candidate expects 0 arguments, 1 provided
In file included from /usr/include/c++/4.8/algorithm:62:0,
from handler.cc:19:
/usr/include/c++/4.8/bits/stl_algo.h:218:23: error: no match for call to ‘({anonymous}::tokenize(std::string&&, char)::__lambda1) (const char&)’
if (__pred(__first))
^
handler.cc:191:27: note: candidate is:
[&](auto x) { return x != character; });
^
handler.cc:191:35: note: {anonymous}::tokenize(std::string&&, char)::__lambda1
[&](auto x) { return x != character; });
^
handler.cc:191:35: note:   candidate expects 0 arguments, 1 provided
In file included from /usr/include/c++/4.8/algorithm:62:0,
from handler.cc:19:
/usr/include/c++/4.8/bits/stl_algo.h:222:23: error: no match for call to ‘({anonymous}::tokenize(std::string&&, char)::__lambda1) (const char&)’
if (__pred(__first))
^
handler.cc:191:27: note: candidate is:
[&](auto x) { return x != character; });
^
handler.cc:191:35: note: {anonymous}::tokenize(std::string&&, char)::__lambda1
[&](auto x) { return x != character; });
^
handler.cc:191:35: note:   candidate expects 0 arguments, 1 provided
In file included from /usr/include/c++/4.8/algorithm:62:0,
from handler.cc:19:
/usr/include/c++/4.8/bits/stl_algo.h:226:23: error: no match for call to ‘({anonymous}::tokenize(std::string&&, char)::__lambda1) (const char&)’
if (__pred(__first))
^
handler.cc:191:27: note: candidate is:
[&](auto x) { return x != character; });
^
handler.cc:191:35: note: {anonymous}::tokenize(std::string&&, char)::__lambda1
[&](auto x) { return x != character; });
^
handler.cc:191:35: note:   candidate expects 0 arguments, 1 provided
In file included from /usr/include/c++/4.8/algorithm:62:0,
from handler.cc:19:
/usr/include/c++/4.8/bits/stl_algo.h:234:23: error: no match for call to ‘({anonymous}::tokenize(std::string&&, char)::__lambda1) (const char&)’
if (__pred(__first))
^
handler.cc:191:27: note: candidate is:
[&](auto x) { return x != character; });
^
handler.cc:191:35: note: {anonymous}::tokenize(std::string&&, char)::__lambda1
[&](auto x) { return x != character; });
^
handler.cc:191:35: note:   candidate expects 0 arguments, 1 provided
In file included from /usr/include/c++/4.8/algorithm:62:0,
from handler.cc:19:
/usr/include/c++/4.8/bits/stl_algo.h:238:23: error: no match for call to ‘({anonymous}::tokenize(std::string&&, char)::__lambda1) (const char&)’
if (__pred(__first))
^
handler.cc:191:27: note: candidate is:
[&](auto x) { return x != character; });
^
handler.cc:191:35: note: {anonymous}::tokenize(std::string&&, char)::__lambda1
[&](auto x) { return x != character; });
^
handler.cc:191:35: note:   candidate expects 0 arguments, 1 provided
In file included from /usr/include/c++/4.8/algorithm:62:0,
from handler.cc:19:
/usr/include/c++/4.8/bits/stl_algo.h:242:23: error: no match for call to ‘({anonymous}::tokenize(std::string&&, char)::__lambda1) (const char&)’
if (__pred(*__first))
^
handler.cc:191:27: note: candidate is:
[&](auto x) { return x != character; });
^
handler.cc:191:35: note: {anonymous}::tokenize(std::string&&, char)::__lambda1
[&](auto x) { return x != character; });
^
handler.cc:191:35: note:   candidate expects 0 arguments, 1 provided
make[2]: *** [nsrlsvr-handler.o] Error 1
make[2]: Leaving directory /root/rjhansen-nsrlsvr-88620ef/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /root/rjhansen-nsrlsvr-88620ef'
make: *** [all] Error 2

This is not a bug.  You're trying to compile C++14 code with a pre-C++14 version of GCC.  Try GCC 4.9 or later.


Android error error MSB4064: The "AssemblyIdentityMapFile" parameter is not supported by the "ResolveLibraryProjectImports" task. Verify the parameter exists on the task, and it is a settable public instance property

Hi!
I received this error when trying use Embeddinator for Android in Mac.
Users/jmmontero.ortegagmail.com/Projects/SampleEmbedding/aoutput/GenerateJavaStubs.proj(18,74): error MSB4064: The "AssemblyIdentityMapFile" parameter is not supported by the "ResolveLibraryProjectImports" task. Verify the parameter exists on the task, and it is a settable public instance property.
/Users/jmmontero.ortegagmail.com/Projects/SampleEmbedding/aoutput/GenerateJavaStubs.proj(18,5): error MSB4063: The "ResolveLibraryProjectImports" task could not be initialized with its input parameters.
I received this error, when built Embeddinator myself.
Also generate Android External and working several flavours for Android SDK and Targets Framework.
Any idea?

Hi @jmmortega ,
Did you run the cake task as mentioned here: https://github.com/mono/Embeddinator-4000/blob/master/docs/Contributing.md#cake
It should download a specific version of Xamarin.Android that will work.

@jonathanpeppers I build that propose and receive the same error.

So does it look like files where downloaded to external/Xamarin.Android where you checked out the repo?
It still sounds like it hasn't and its trying to use your system's Xamarin.Android.

@jonathanpeppers I checked last week, so I think it's really recently.

@jonathanpeppers I think I solve that, rebuild again all embeddinator. But now I have a new error...
    /Users/jmmontero.ortegagmail.com/Projects/HelloShareUI/embeddinator-hellosharedui/HelloSharedUI/output/GenerateJavaStubs.proj(17,5): warning : Failed to read '/Users/jmmontero.ortegagmail.com/Projects/HelloShareUI/embeddinator-hellosharedui/HelloSharedUI/HelloSharedUI.Droid/bin/Release/Xamarin.Forms.Platform.Android.dll' with debugging symbols. Retrying to load it without it. Error details are logged below.

/Users/jmmontero.ortegagmail.com/Projects/HelloShareUI/embeddinator-hellosharedui/HelloSharedUI/output/GenerateJavaStubs.proj(17,5): warning : System.TypeLoadException: Could not find symbol provider type Mono.Cecil.Pdb.NativePdbReaderProvider
Not generate .aar file

OK, solved!!!!
Fine, I think, only required replace the tools folder for Embedinnator folder. However require too, copy the support folder and external to have the same files that compiled version.


Pubmed integration

This pull request adds the Pubmed integration to LangChain. The Pubmed integration allows users to retrieve scientific publications and related metadata from the Pubmed database.
The integration includes the following changes:

Implemented a Pubmed API client to communicate with the Pubmed database.
Added a new module, pubmed.py, to handle Pubmed-specific functionality.
Created functions to search for publications based on keywords, retrieve publication details by PMID (Pubmed ID), and fetch related metadata.

This integration enhances the capabilities of LangChain by enabling users to access a wide range of scientific publications and leverage the Pubmed database's extensive resources. Researchers, students, and anyone interested in the scientific literature can benefit from this integration to gather valuable information and incorporate it into their natural language processing tasks.
I have followed the guidelines provided by the LangChain project, including formatting, and lining. The code has been thoroughly reviewed to ensure its quality and adherence to project standards.
Please review this pull request and let me know if any further changes or additions are required. I am open to feedback and eager to collaborate with the LangChain team to incorporate the Pubmed integration into the project.
Thank you for considering this contribution!
Best regards,
Younis Bashir

@younis-ba thank you! This is fantastic! Do you happen to have any sample data? Ideally we can get as much test coverage around the internal python massaging code (i.e., everything but the web request); e.g., parsing XML or JSON response from the pub med web server

@hwchase17 This is a fantastic feature. Is there any organization for tools? Do we have a set of core tools vs. integration tools?

@eyurtsev You're welcome! I'm glad you liked it!
I have implemented the test script following the structure of the Arxiv  tool. Please review it and provide your feedback.
Regarding this notebook
https://github.com/younis-ba/LangChain/blob/main/langchain.ipynb, when integrating the Pubmed functionality,
I will collect  XML and JSON responses from the pub med web server that can help improve the test coverage of the internal Python massaging code. These samples cover different scenarios and serve as valuable test cases.
If you have any further questions or need assistance with reviewing the test script or the notebook URL implementation, please let me know. I'm here to help!

this looks pretty good! the only thing left is to add example notebooks - probably one in tools, one in retrievers. could you add?


Why can't I instanciate: new ObjectIdentifier("1")

Hi!
When I do this
new ObjectIdentifier("1")
(i.e. parsing the OID value string "1" which is what the "iso" node of the SNMPv2-SMI MIB refers to), I get an ArgumentException saying "The length of the shortest identifier is two".
Why? I think the OID "1" (and also "0") should be perfectly legal.
Thanks
Karlo

However, single digit OIDs are illegal,
https://blog.lextudio.com/snmp-pro-secrets-behind-object-identifier-ff242fd4474e