Cannot flash to the board

Hi,
I am super confused about the documents. It has been changed many times in the past week.  I am using esp32 DevKit to do a small project with freeRTOS, and the last release was very smooth for me. However, this release migrated to Cmake build system, and then many problems have occurred. I got many suggestions from @tgsong in another issue, but my problem hasn't been solved. I noticed the newest docs deleted the part about using ninja to build the application, and actually, the ninja build was never effected for me. I used cmake --build  build --target flash to flash the demo to the board, but after everything was done, nothing happens to my IoT console. The program stopped at the last step.
Here is the complete building-flashing process:
------------------------------------------record---------------------------------------------------------
Microsoft Windows [Version 10.0.17134.829]
(c) 2018 Microsoft Corporation. All rights reserved.
c:\Users\shzheng\Desktop>cd FreeRTOSWindows\amazon-freertos-master
c:\Users\shzheng\Desktop\FreeRTOSWindows\amazon-freertos-master>cmake --build build --target flash
[0/2] Re-checking globbed directories...
[1/4] Performing build step for 'bootloader'
ninja: no work to do.
[1/2] cmd.exe /C "cd /D C:\Users\shzheng\Desktop\FreeRTOSW...indows/amazon-freertos-master/build" -P run_esptool.cmake"
Note: esptool.py will search for a serial port. To specify a port, set the ESPPORT environment variable.
Note: Using default baud rate 460800. To modify, set ESPBAUD environment variable.
c:\Users\shzheng\Desktop\FreeRTOSWindows\amazon-freertos-master>cmake --build build4 --target flash
[0/2] Re-checking globbed directories...
[1/4] Performing build step for 'bootloader'
ninja: no work to do.
[1/2] cmd.exe /C "cd /D C:\Users\shzheng\Desktop\FreeRTOSW...ndows/amazon-freertos-master/build4" -P run_esptool.cmake"
Note: esptool.py will search for a serial port. To specify a port, set the ESPPORT environment variable.
Note: Using default baud rate 460800. To modify, set ESPBAUD environment variable.
c:\Users\shzheng\Desktop\FreeRTOSWindows\amazon-freertos-master>aws --version
aws-cli/1.16.184 Python/3.6.0 Windows/10 botocore/1.12.174
c:\Users\shzheng\Desktop\FreeRTOSWindows\amazon-freertos-master>cmake -DVENDOR=espressif -DBOARD=esp32_wrover_kit -DCOMPILER=xtensa-esp32 -GNinja -S . -B build4
-- The C compiler identification is GNU 5.2.0
-- The CXX compiler identification is GNU 5.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Program Files/Espressif/ESP-IDF Tools/toolchain/bin/xtensa-esp32-elf-gcc.exe
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.21.0.windows.1")
-- Checking Python dependencies...
Python requirements from C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/requirements.txt are satisfied.
-- Building for target esp32
-- Component names: soc log heap freertos vfs newlib driver tcpip_adapter xtensa-debug-module app_trace partition_table app_update spi_flash mbedtls micro-ecc bootloader_support ethernet nvs_flash pthread smartconfig_ack wpa_supplicant esp32 cxx amazon-freertos-common bootloader bt console esp_adc_cal esptool_py expat wear_levelling sdmmc fatfs nghttp openssl spiffs ulp
-- Component paths: C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/soc;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/log;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/heap;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/boards/esp32/aws_demos/application_code/espressif_code/freertos;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/vfs;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/newlib;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/driver;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/boards/esp32/aws_demos/application_code/espressif_code/tcpip_adapter;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/xtensa-debug-module;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/app_trace;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/partition_table;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/app_update;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/spi_flash;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/boards/esp32/aws_demos/application_code/espressif_code/mbedtls;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/micro-ecc;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/bootloader_support;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/boards/esp32/aws_demos/application_code/espressif_code/ethernet;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/nvs_flash;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/pthread;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/boards/esp32/aws_demos/application_code/espressif_code/smartconfig_ack;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/wpa_supplicant;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/esp32;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/cxx;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/boards/esp32/aws_demos/application_code/espressif_code/amazon-freertos-common;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/bootloader;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/bt;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/console;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/esp_adc_cal;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/esptool_py;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/expat;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/wear_levelling;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/sdmmc;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/fatfs;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/nghttp;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/openssl;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/spiffs;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/ulp
Creating config file C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/build4/sdkconfig...
-- IDF_VER: v3.1.3-25-g36733db8d
fatal: not a git repository (or any of the parent directories): .git
-- Project version: HEAD-HASH-NOTFOUND
fatal: not a git repository (or any of the parent directories): .git
-- Adding linker script C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/build4/vendors/espressif/boards/esp32/esp-idf/esp32/esp32_out.ld
-- Adding linker script C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/esp32/ld/esp32.common.ld
-- Adding linker script C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/esp32/ld/esp32.rom.ld
-- Adding linker script C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/esp32/ld/esp32.peripherals.ld
-- Adding linker script C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/esp32/ld/esp32.rom.spiram_incompatible_fns.ld
-- Component libraries:
=========================Resolving dependencies==========================
module disabled: posix
reason: posix::mcu_port is not defined by vendor.
dependency path: posix->posix::mcu_port
====================Configuration for Amazon FreeRTOS====================
Version: 201906.00 Major
Git version: Unknown
Target microcontroller:
vendor: Espressif
board: ESP-WROVER-KIT
description: Development board produced by Espressif that has support for
LCD, MicroSD card, and USB JTAG interface. It comes in two
variants either with ESP-WROOM-32 or ESP32-WROVER module.
family: ESP32
data ram size: 520KB
program memory size: 4MB
Host platform:
OS: Windows-10.0.17134
Toolchain: xtensa-esp32
Toolchain path: C:/Program Files/Espressif/ESP-IDF Tools/toolchain
CMake generator: Ninja
Amazon FreeRTOS modules:
Modules to build: ble, ble_wifi_provisioning, common, crypto, defender,
dev_mode_key_provisioning, freertos_plus_tcp, greengrass,
kernel, mqtt, ota, pkcs11, platform, secure_sockets,
serializer, shadow, tls, wifi
Enabled by user: ble, ble_wifi_provisioning, defender, greengrass, mqtt, ota,
pkcs11, platform, secure_sockets, shadow, wifi
Enabled by dependency: ble_hal, common, crypto, demo_base, dev_mode_key_provisioning,
freertos, freertos_plus_tcp, kernel, pkcs11_mbedtls,
secure_sockets_freertos_plus_tcp, serializer, tls, utils
3rdparty dependencies: jsmn, mbedtls, pkcs11, tinycbor
Available demos: demo_ble, demo_ble_numeric_comparison, demo_defender,
demo_greengrass_connectivity, demo_mqtt, demo_ota,
demo_shadow, demo_tcp, demo_wifi_provisioning
Available tests:
==================================.=======================================
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/build4
c:\Users\shzheng\Desktop\FreeRTOSWindows\amazon-freertos-master>ninja
ninja: error: loading 'build.ninja': The system cannot find the file specified.
c:\Users\shzheng\Desktop\FreeRTOSWindows\amazon-freertos-master>cmake --build build4
[0/2] Re-checking globbed directories...
[135/861] Building C object vendors/espressif/boards/esp32...s.dir/////demos/ble/aws_ble_gatt_server_demo.c.obj
../demos/ble/aws_ble_gatt_server_demo.c:273:19: warning: 'vGattDemoSvcHook' defined but not used [-Wunused-function]
static BaseType_t vGattDemoSvcHook( void )
^
[170/861] Building C object vendors/espressif/boards/esp32...sp32/CMakeFiles/idf_component_esp32.dir/hwcrypto/sha.c.obj
../vendors/espressif/esp-idf/components/esp32/hwcrypto/sha.c: In function 'esp_sha_unlock_engine':
../vendors/espressif/esp-idf/components/esp32/hwcrypto/sha.c:201:39: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
SemaphoreHandle_t *engine_state = sha_get_engine_state(sha_type);
^
../vendors/espressif/esp-idf/components/esp32/hwcrypto/sha.c: In function 'esp_sha_read_digest_state':
../vendors/espressif/esp-idf/components/esp32/hwcrypto/sha.c:234:43: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
SemaphoreHandle_t *engine_state = sha_get_engine_state(sha_type);
^
../vendors/espressif/esp-idf/components/esp32/hwcrypto/sha.c: In function 'esp_sha_block':
../vendors/espressif/esp-idf/components/esp32/hwcrypto/sha.c:269:43: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
SemaphoreHandle_t engine_state = sha_get_engine_state(sha_type);
^
[171/861] Building C object vendors/espressif/boards/esp32...2/CMakeFiles/idf_component_esp32.dir/wifi_os_adapter.c.obj
../vendors/espressif/esp-idf/components/esp32/wifi_os_adapter.c:423:22: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
._queue_delete = vQueueDelete,
^
../vendors/espressif/esp-idf/components/esp32/wifi_os_adapter.c:423:22: note: (near initialization for 'g_wifi_osi_funcs._queue_delete')
../vendors/espressif/esp-idf/components/esp32/wifi_os_adapter.c:429:29: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
._queue_recv_from_isr = xQueueReceiveFromISR,
^
../vendors/espressif/esp-idf/components/esp32/wifi_os_adapter.c:429:29: note: (near initialization for 'g_wifi_osi_funcs._queue_recv_from_isr')
../vendors/espressif/esp-idf/components/esp32/wifi_os_adapter.c:430:27: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
._queue_msg_waiting = uxQueueMessagesWaiting,
^
../vendors/espressif/esp-idf/components/esp32/wifi_os_adapter.c:430:27: note: (near initialization for 'g_wifi_osi_funcs._queue_msg_waiting')
../vendors/espressif/esp-idf/components/esp32/wifi_os_adapter.c:431:28: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
._event_group_create = xEventGroupCreate,
^
../vendors/espressif/esp-idf/components/esp32/wifi_os_adapter.c:431:28: note: (near initialization for 'g_wifi_osi_funcs._event_group_create')
../vendors/espressif/esp-idf/components/esp32/wifi_os_adapter.c:432:28: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
._event_group_delete = vEventGroupDelete,
^
../vendors/espressif/esp-idf/components/esp32/wifi_os_adapter.c:432:28: note: (near initialization for 'g_wifi_osi_funcs._event_group_delete')
../vendors/espressif/esp-idf/components/esp32/wifi_os_adapter.c:433:30: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
._event_group_set_bits = xEventGroupSetBits,
^
../vendors/espressif/esp-idf/components/esp32/wifi_os_adapter.c:433:30: note: (near initialization for 'g_wifi_osi_funcs._event_group_set_bits')
../vendors/espressif/esp-idf/components/esp32/wifi_os_adapter.c:434:32: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
._event_group_clear_bits = xEventGroupClearBits,
^
../vendors/espressif/esp-idf/components/esp32/wifi_os_adapter.c:434:32: note: (near initialization for 'g_wifi_osi_funcs._event_group_clear_bits')
../vendors/espressif/esp-idf/components/esp32/wifi_os_adapter.c:438:21: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
._task_delete = vTaskDelete,
^
../vendors/espressif/esp-idf/components/esp32/wifi_os_adapter.c:438:21: note: (near initialization for 'g_wifi_osi_funcs._task_delete')
../vendors/espressif/esp-idf/components/esp32/wifi_os_adapter.c:441:31: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
._task_get_current_task = xTaskGetCurrentTaskHandle,
^
../vendors/espressif/esp-idf/components/esp32/wifi_os_adapter.c:441:31: note: (near initialization for 'g_wifi_osi_funcs._task_get_current_task')
[299/861] Building C object vendors/espressif/boards/esp32...river/CMakeFiles/idf_component_driver.dir/rtc_module.c.obj
../vendors/espressif/esp-idf/components/driver/rtc_module.c: In function 'touch_pad_filter_start':
../vendors/espressif/esp-idf/components/driver/rtc_module.c:964:15: warning: passing argument 5 of 'xTimerCreate' from incompatible pointer type [-Wincompatible-pointer-types]
NULL, touch_pad_filter_cb);
^
In file included from ../vendors/espressif/boards/esp32/aws_demos/application_code/espressif_code/freertos/include/freertos/timers.h:1:0,
from ../vendors/espressif/esp-idf/components/driver/rtc_module.c:36:
../freertos_kernel/include/timers.h:228:16: note: expected 'TimerCallbackFunction_t {aka void ()(struct tmrTimerControl )}' but argument is of type 'void ()(void *)'
TimerHandle_t xTimerCreate( const char * const pcTimerName, /*lint !e971 Unqualified char types are allowed for strings and single characters only. */
^
[474/861] Performing configure step for 'bootloader'
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.21.0.windows.1")
-- IDF_TARGET not set, using default target: esp32
-- Building for target esp32
-- The C compiler identification is GNU 5.2.0
-- The CXX compiler identification is GNU 5.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Program Files/Espressif/ESP-IDF Tools/toolchain/bin/xtensa-esp32-elf-gcc.exe
-- Component names: soc esp32 log bootloader spi_flash micro-ecc bootloader_support main esptool_py partition_table
-- Component paths: C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/soc;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/esp32;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/log;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/bootloader;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/spi_flash;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/micro-ecc;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/bootloader_support;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/bootloader/subproject/main;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/esptool_py;C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/partition_table
-- Test component names:
-- Test component paths:
-- IDF_VER: v3.1.3-25-g36733db8d
fatal: not a git repository (or any of the parent directories): .git
-- Project version: HEAD-HASH-NOTFOUND
fatal: not a git repository (or any of the parent directories): .git
-- Component libraries:
-- Adding linker script C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/bootloader/subproject/main/esp32.bootloader.ld
-- Adding linker script C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/bootloader/subproject/main/esp32.bootloader.rom.ld
-- Adding linker script C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/esp32/ld/esp32.rom.ld
-- Adding linker script C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/esp32/ld/esp32.rom.spiram_incompatible_fns.ld
-- Adding linker script C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/vendors/espressif/esp-idf/components/esp32/ld/esp32.peripherals.ld
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/shzheng/Desktop/FreeRTOSWindows/amazon-freertos-master/build4/bootloader
[528/861] Performing build step for 'bootloader'
[1/38] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/soc_memory_layout.c.obj
[2/38] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/gpio_periph.c.obj
[3/38] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_periph.c.obj
[4/38] Generating dummy_main_src.c
[5/38] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_pm.c.obj
[6/38] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_init.c.obj
[7/38] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/cpu_util.c.obj
[8/38] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_sleep.c.obj
[9/38] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_time.c.obj
[10/38] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_clk.c.obj
[11/38] Building C object CMakeFiles/bootloader.elf.dir/dummy_main_src.c.obj
[12/38] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/spi_periph.c.obj
[13/38] Building C object esp-idf/spi_flash/CMakeFiles/idf_component_spi_flash.dir/spi_flash_rom_patch.c.obj
[14/38] Building C object esp-idf/log/CMakeFiles/idf_component_log.dir/log.c.obj
[15/38] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_random.c.obj
[16/38] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_common.c.obj
[17/38] Building C object esp-idf/micro-ecc/CMakeFiles/idf_component_micro-ecc.dir/micro-ecc/uECC.c.obj
[18/38] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_flash.c.obj
[19/38] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_sha.c.obj
[20/38] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/efuse.c.obj
[21/38] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_clock.c.obj
[22/38] Linking C static library esp-idf\log\liblog.a
[23/38] Linking C static library esp-idf\spi_flash\libspi_flash.a
[24/38] Linking C static library esp-idf\soc\libsoc.a
[25/38] Linking C static library esp-idf\micro-ecc\libmicro-ecc.a
[26/38] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_utility.c.obj
[27/38] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/flash_partitions.c.obj
[28/38] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/flash_encrypt.c.obj
[29/38] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/flash_qio_mode.c.obj
[30/38] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/secure_boot_signatures.c.obj
[31/38] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/secure_boot.c.obj
[32/38] Building C object esp-idf/main/CMakeFiles/idf_component_main.dir/bootloader_start.c.obj
[33/38] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/esp_image_format.c.obj
[34/38] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_init.c.obj
[35/38] Linking C static library esp-idf\main\libmain.a
[36/38] Linking C static library esp-idf\bootloader_support\libbootloader_support.a
[37/38] Linking C executable bootloader.elf
[38/38] Generating ../bootloader.bin
esptool.py v2.6
[549/861] Building C object vendors/espressif/boards/esp32...Files/idf_component_bt.dir/bluedroid/osi/fixed_queue.c.obj
../vendors/espressif/esp-idf/components/bt/bluedroid/osi/fixed_queue.c: In function 'fixed_queue_try_dequeue':
../vendors/espressif/esp-idf/components/bt/bluedroid/osi/fixed_queue.c:192:22: warning: passing argument 1 of 'osi_sem_take' from incompatible pointer type [-Wincompatible-pointer-types]
if (osi_sem_take(queue->dequeue_sem, 0) != 0) {
^
In file included from ../vendors/espressif/esp-idf/components/bt/bluedroid/osi/fixed_queue.c:26:0:
../vendors/espressif/esp-idf/components/bt/bluedroid/osi/include/osi/semaphore.h:38:5: note: expected 'struct QueueDefinition **' but argument is of type 'osi_sem_t {aka struct QueueDefinition *}'
int osi_sem_take(osi_sem_t *sem, uint32_t timeout);
^
../vendors/espressif/esp-idf/components/bt/bluedroid/osi/fixed_queue.c: In function 'fixed_queue_try_remove_from_queue':
../vendors/espressif/esp-idf/components/bt/bluedroid/osi/fixed_queue.c:246:26: warning: passing argument 1 of 'osi_sem_take' from incompatible pointer type [-Wincompatible-pointer-types]
osi_sem_take(queue->dequeue_sem, 0) == 0) {
^
In file included from ../vendors/espressif/esp-idf/components/bt/bluedroid/osi/fixed_queue.c:26:0:
../vendors/espressif/esp-idf/components/bt/bluedroid/osi/include/osi/semaphore.h:38:5: note: expected 'struct QueueDefinition **' but argument is of type 'osi_sem_t {aka struct QueueDefinition *}'
int osi_sem_take(osi_sem_t *sem, uint32_t timeout);
^
../vendors/espressif/esp-idf/components/bt/bluedroid/osi/fixed_queue.c:253:22: warning: passing argument 1 of 'osi_sem_give' from incompatible pointer type [-Wincompatible-pointer-types]
osi_sem_give(queue->enqueue_sem);
^
In file included from ../vendors/espressif/esp-idf/components/bt/bluedroid/osi/fixed_queue.c:26:0:
../vendors/espressif/esp-idf/components/bt/bluedroid/osi/include/osi/semaphore.h:40:6: note: expected 'struct QueueDefinition **' but argument is of type 'osi_sem_t {aka struct QueueDefinition *}'
void osi_sem_give(osi_sem_t *sem);
^
[861/861] Generating ../../../../../aws_demos.bin
esptool.py v2.6
[0/2] Re-checking globbed directories...
[1/4] Performing build step for 'bootloader'
ninja: no work to do.
[1/2] cmd.exe /C "cd /D C:\Users\shzheng\Desktop\FreeRTOSW...indows/amazon-freertos-master/build" -P run_esptool.cmake"
Note: esptool.py will search for a serial port. To specify a port, set the ESPPORT environment variable.
Note: Using default baud rate 460800. To modify, set ESPBAUD environment variable.
c:\Users\shzheng\Desktop\FreeRTOSWindows\amazon-freertos-master>
------------------------------------end----------------------------------------------------------------
As you can see, it should show some steps of connecting to the IoT console, but it didn't happen.
I also tried it on MacOS, but for some unknown reasons, the board won't connect to my computer(the serial connection failed, but I installed the driver).
Please help me and point out which step is wrong, I really need help with it.
Many thanks in advance!
Sheldon

Hi Sheldon,
Apologies for the documentation changes-- we are working to update the docs and it looks like we have a little more work yet to do still.
Can you tell if the aws_demos.bin file is actually being generated?  This step might just have only generated the elf file (even though the print statement indicates otherwise).   If that is the case and there is no .bin, you will need to run the esptool to covert from elf to bin.
python \path-to-repo\amazon-freertos\vendors\espressif\esp-idf\components\esptool_py\esptool\esptool.py --chip esp32 elf2image aws_demos esptool.py v2.6
and do the same for the bootloader
cd bootloader
python \path-to-repo\amazon-freertos\vendors\espressif\esp-idf\components\esptool_py\esptool\esptool.py --chip esp32 elf2image bootloader.elf esptool.py v2.6
Then you would be able to pick back up with the instructions for using the IDF python tool idf.py to erase the flash, flash with a new image, and get the monitor output
./vendors/espressif/esp-idf/tools/idf.py erase_flash flash monitor -p COMxy -B build
Let me know if that resolves the issue, and if not, whether you can actually see the .bin file in the file system or not.   In the meantime we will work to update the documentation (again!) to capture all of these steps.
Thanks for reporting this,
Alexa

Hi Alexa,
Thank you for your reply. I have checked the files, and there are the .bin files in the folder. I just want to quit windows now and try MacOS. But I don't know why my Macbook pro cannot find the esp32 board. I have installed the driver, and the device info showed the driver was there. My mac has four thunderbolt type C port, I am wondering if that is the reason.
By the way, I can't run the idf.py on my windows, the system prompts the directory is invalid.

Great that you can flash the board now.
Try erasing the flash then starting over:
python ./vendors/espressif/esp-idf/tools/idf.py erase_flash -B build
Please make sure that your thing's certificate and private key are pasted into:
https://github.com/aws/amazon-freertos/blob/master/demos/include/aws_clientcredential_keys.h
Please use try the ATS endpoint: a1zwfs4sf2i9un-ats.iot.us-east-1.amazonaws.com
Also will need an asterisk * at the end of your resource strings:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "iot:Connect",
"Resource": "arn:aws:iot:us-east-1:330321474979:*"
},
{
"Effect": "Allow",
"Action": "iot:Publish",
"Resource": "arn:aws:iot:us-east-1:330321474979:*"
},
{
"Effect": "Allow",
"Action": "iot:Subscribe",
"Resource": "arn:aws:iot:us-east-1:330321474979:*"
},
{
"Effect": "Allow",
"Action": "iot:Receive",
"Resource": "arn:aws:iot:us-east-1:330321474979:*"
}
]
}

Hi Sarenameas，
Thank you very much for your reply. I have found the problem that my board cannot communicate to aws iot console. The reason is that my company blocked the AWS iot port. After I used my phone's wifi hotspot, everything went well.
Issue summary: I have tried both Windows and MacOS operating system, and found out that the freeRTOS is so hard to setup on Windows, I struggled for a week but haven't succeeded yet. The ninja build system is pretty hard to use because the lack of instructions. Also, under MacOS, the esp32 driver needs to be removed from the blocking list of the security system, or the computer won't detect the board.
Thank you very much and this issue is closed.

Also want to mention that the error of the document about mqtt demo. The topic name is iotdemo/topic/1 to iotdemo/topic/4 rather than the reertos/demos/echo mentioned in the document


Creating hyperfoil benchmark files

First crack at creating some Hyperfoil benchmark files for the apps.
@cescoffier / @franz1981 / @geoand would you mind taking a look?
@franz1981 I'm very open to feedback on these. Let me know if you'd like to get together for an hour or two.
Closes #286

@franz1981 / @whitingjr I do have a question though about the ergonomics. I have this in all of the benchmarks:
#  Disable stopping the scenario on 4xx or 5xx response
ergonomics:
  autoRangeCheck: false
  stopOnInvalid: false

I originally figured that continuing the benchmark upon an error condition might be a good thing to do, but now I'm not so sure. What are your thoughts on this?

I've never used Hyperfoil myself, so I can't add anything useful here

I know enough to be dangerous :)

@franz1981 would you mind taking a look at this when you get a free moment?

Using ergonomics to disable status code checking is useful when the benchmark configuration intends to receive status codes outside the usual range (2xx or 3xx).
Whereas if all the operations are intended to return only 2xx then a benchmark run that is only receiving 5xx codes means there is something clearly wrong in the configuration and need fixing.

Thanks @whitingjr . I removed the ergonomics.


Document maths and physics of polarization analysis

Write a Jupyter notebooks for the docs
Ideally use common notation (is there a reference publication?)

for the documentary see PR "Data correction documentary #26"


Pressing enter submits the form

Contrary to what the hint text says, pressing Enter actually submits the form that the input is in.
Thanks for choices.js!

Hi @rstacruz,
Is the input focussed when you press enter?
Thank,
Josh

Yep!

Oh, to replicate:
<input id="x" type="text">

new Choices(document.getElementById('x'))

That's strange, could you give me your browser details please? Thanks

Could you also provide a JSbin example please if possible?

Hey, any chance you could send me your browser details please?
Thanks

This is replicated on Chrome Version 54.0.2840.71.
Make sure the text box inside a form tag.

Same issue Chrome 57

Resolved in PR82


Stopping criteria for composer

The stopping criteria should be implemented for a composer to avoid unnecessary long runs.
The proposed criteria is 'N generations without improvement' for all objective functions.
Default N = 7, but the external configuration option should be provided

Done


Added some late 2021 reports that were missing from the list

A total of 8 new entries were added to the list. Most being typosquatting attacks.
Closes #14
Closes #18
Closes #19

Thank you, @mgobbi289. We really appreciate this!


When conflicts have been previously detected ensure that they can be resolved

There is yet another problem with conflicted files not being reset when
the test patch resolves them.
This PR adjusts the code for checkConflicts to reset the ConflictedFiles
field immediately at the top. It also adds a reset to conflictedFiles
for the manuallyMerged and a shortcut for the empty status in
protectedfiles.
Regression #17902
Signed-off-by: Andrew Thornton<EMAIL_ADDRESS>

This does not need to be backported it is a regression due to #17902

Therefore marked as skip-changelog.


Added iconTheme to RawChip in ChoiceChip

This issue prevents us from customizing the checkmark color when ChoiceChip is selected.
List which issues are fixed by this PR. You must list at least one issue.
#110645
Pre-launch Checklist

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

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

@Mayb3Nots thanks for the fix. Just some formatting issues to resolve below and we will be good to go.

@darrenaustin Thanks for taking a look into it review request is done


support and document prereleases

This updates the goreleaser config to support prereleases, and updates the CONTRIBUTING guide with instructions on how to create a prerelease.
https://goreleaser.com/customization/release/#github

Maybe worth documenting in CONTRIBUTORS that prereleases do not affect the latest download URL which we use to install Cog?

👍🏼


chore: add helper fn for bank MsgSend

Description

pending #2720

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards.
[ ] Wrote unit and integration tests
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added relevant godoc comments.
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

is this PR still relevant or should we close it? cc @charleenfei

reopen if you want, doing some spring closing


Nick: Watch 1<PHONE_NUMBER>

Nick requests the watch of the watch_number 1<PHONE_NUMBER>. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Jeff Schaller in Charcoal HQ


When deployed, turn off debug mode

Debug mode adds a bunch of whitespace to the JSON responses, which is undesired in production.
See main.py
if __name__ == '__main__':
    app.run(port=8080, debug=True)

If you're not using it already, this is great!
https://github.com/theskumar/python-dotenv

done and done. now uses dotenv and defaults to production build.


Cloud init feature isn't working

Hi,
Nginx package is not to installing on to the Linux Virtual Machines using the 'Cloud init' feature. Below is a snapshot of:

Not sure if i'm doing it the wrong way.
Thanks.
[Enter feedback here]

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

ID: 282b39fe-e8fe-f698-36c2-321f088f6554
Version Independent ID: 2a7c130c-291b-40ff-cae5-43255bcb3bc3
Content: Custom data and Azure Virtual Machines - Azure Virtual Machines
Content Source: articles/virtual-machines/custom-data.md
Service: virtual-machines
GitHub Login: @mimckitt
Microsoft Alias: mimckitt

Thanks for the question! We are taking a look into this and will get back to you soon.

Issue solved by myself.


why the offline of datapartion does not guarantee more than half of the number of copies？

In the datapartion/metapartion offline  process, the processing is different, why the offline of datapartion does not guarantee more than half of the number of copies？ we know ,  datapartion also can in  the raft proccessing, why ？
1.metapartion offline.

2.datapartion offline.

@jadewang198510
Because if the number of surviving members is less than half, the raft cannot work properly.


Feature Request or Modifying Pair Potential

I want to add new 2- and 3-body potentials is there any documentation that I can start with. Particularly, I want to use a NN force field in the JAX-MD, trained using TensorFlow.
Thanks,
Alireza

Thanks for the message! One of our big goals is to improve our documentation.
Simulations in JAX MD can use either 1) any "energy" function whose signature is energy_fn(R, **kwargs) mapping ndarrays of shape (N, dim) to real numbers or 2) any "force" function, force_fn(R, **kwargs) mapping from ndarrays of positions of shape(N, dim) to forces fo shape (N, dim). These functions either be written by hand or neural networks or whatever else you'd like as long as they share the above signature. We additionally include helper functions (in smap.py) that convert functions from pairwise distances / displacements to a function of the correct form above.
To start with adding a new potential I would look at either the energy functions defined in energy.py. In the JAX MD cookbook we also go through an example where we train a neural network that could be used as a drop in energy function by JAX MD.
Finally, note that JAX MD is written using JAX which, for the time being, can't obviously interoperate with tensorflow. To use a NN with JAX it should be written in JAX. If you have a neural network already trained in TF I would recommend either 1) retraining the NN with JAX or 2) loading the weights of the NN using numpy and using them to define a JAX neural network. This latter method might be the most direct but a little finicky.
In general, we'd love to help you get this use case working since it's one of the reasons we wanted to have JAX MD. Please don't hesitate to post followup questions. We will be working on a tutorial specifically targeting adding new potentials in the immediate future.

Thanks for your reply. I will go through the JAX-MD tutorial and cookbook. The problem that I am trying to solve is similar to Stillinger-Weber (SW) Potentials, in particular, it has two terms: 1. 2body similar to LJ pair potential 2. 3body potential as discussed in the lammps webpage https://lammps.sandia.gov/doc/pair_sw.html. I am not yet familiar enough with JAX-MD and I want to know your opinion if it can be used for a similar system as SW potential.

Thanks for clarifying! I absolutely think that SW could be implemented in JAX MD pretty easily. Actually @ekindogus has been working on the underlying primitives that one would need to do this. We will try to followup here soon as we make progress.

Hi @moradza, I have been working on a cookbook on how to set up custom potentials. If you are interested, see the PR: #76. If anything isn't clear or if there are any obvious gaps, please let me know.


Splicing rows or columns should move the metadata with it

I'm trying to add data export into an Excel file for my application. For that, I though I'd let the users upload their own XLSX file as a template, where I can replace certain values with my data.
I'd like to let the; put in a row somewhere with values like [KEY1], [KEY2] , ... and then replace that row with a table of data from my side.
However, instead of acting like the Excel "Add row" functionality, and shifting the metadata (style info, formula references, merged cells, ...) with it, The styles stay referenced to their previous cell references, so suddenly act on other data.
I see how I can copy the style info to the new rows, and manually shift the surrounding style info accordingly (though IMO this should be an automatic process). But for the formulas I don't see a solution here at all.
Can someone here give some pointers? I'm willing to try to work on this myself.

This would be a great welcomed feature


Cordova FB plugin (saw it on the forum but not tracked in github)

It would be great to have the cordova fb plugin included in ngCordova. It's a pain to integrate, Conraets (http://coenraets.org/blog/2013/03/sociogram-mobile-a-starter-kit-application-for-phonegap-and-facebook-integration/) has a workaround but it's not native within the OS and instead forces the user to login through the browser.

+1


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


cmd/ebitenmobile: doesn't work correctly with Xcode 15.3

Ebitengine Version
459ad709a69f4c38416e6edb3a4b872e362aaa75
Operating System

[ ] Windows
[ ] macOS
[ ] Linux
[ ] FreeBSD
[ ] OpenBSD
[ ] Android
[X] iOS
[ ] Nintendo Switch
[ ] PlayStation 5
[ ] Xbox
[ ] Web Browsers

Go Version (go version)
go version go1.22.1 darwin/arm64
What steps will reproduce the problem?
Use cmd/ebitenmobile for iOS with Xcode 15.3
What is the expected result?
An iOS application works on an iOS device
What happens instead?
An iOS application doesn't work on an iOS device
Anything else you feel useful to add?
See https://github.com/golang/go/issues/66500
(Actually I have not tried to reproduce this bug yet. I'll try later)

A fix is under review: https://go-review.googlesource.com/c/mobile/+/574055


Useless complete items reload

I was digging in the source code to find out why my whole list was reloading when only a property of an item was changing and I found that no matter if there were appended/prepended/moved etc, it was still reloading it all.
If you look here you can see that we are comparing the length of the previous know childrens (number) with the current known childrens (array) therefor always thruthy.

Should be fixed in v6.0.0
Please let me know if it works for you.
sorry again for the delay in merging in your PR.

Better late than never! Thanks @afram


Automatic whitespace formatting on Enter

Similar to TypeScript, i.e.
x=1<ENTER> => x = 1
foo(1,2,3 , x[1 :3] ) <ENTER> => foo(1, 2, 3, x[1:3])

https://github.com/Microsoft/vscode-python/commit/b45aae314a4408dc8bed4c40c351e68f01259445


Secrets should be predeployed before tasks

I have a task / bare pod that has part of its environment set from a Secret. These pods fail right now because Secrets are deployed after them

The supported way to manage secrets with kubernetes-deploy is to use EJSON to store them in encrypted form: https://github.com/Shopify/kubernetes-deploy#deploying-kubernetes-secrets-from-ejson. Secrets managed this way will be correctly created/updated before anything else. I would not recommend keeping kubernetes secrets unencrypted in your source.

I'm currently inserting Secrets at deploy time only, so they're of course not in source (and if I had to choose, I would prefer to use Vault or Bitnami's Sealed Secrets so they're not so easily accessible in Kubernetes). I wouldn't think it would be difficult to support regular Secrets as you'd just skip the decryption part

After further discussion among the maintainers and conversations with internal users, we have decided to change our position. We will plan to support Secrets like any other resource, no flags required. We will also look into adjusting our Ejson secret provisioner to stop managing secret lifecycles (e.g. pruning) itself, for consistency between the two secret sources.

@DazWorrall is your PR fixing this?

Looking at the OP and Katrina’s last comment: yes I think #424 will resolve this issue.

We just merged https://github.com/Shopify/kubernetes-deploy/pull/424, which adds support for plain Secrets and makes secrets whose data we generated from Ejson get deployed the same way as other resources (they are now applyd). This means there's no longer an "unsupported resource" warning when you deploy a secret, and secrets are both predeployed and pruned.
Please note that this may require an upgrade process for some organizations. As documented in our changelog:

If you previously used this gem to deploy secrets from EJSON and the first time commit you deploy using this version removes one or more of them, they will not be pruned.
If you previously manually kubectl apply'd secrets that are not passed to kubernetes-deploy, your first deploy using this version is going to delete them.
If you previously passed secrets manifests to kubernetes-deploy and they are no longer in the set you pass to the first deploy using this version, it will delete them.

Secrets are now like any other supported resource: if you want kubernetes-deploy to ignore one, you must create it not apply it. If you have secrets you've already applied out of band, you can simply remove the kubectl.kubernetes.io/last-applied-configuration annotation from them.


/predict command fails

The /predict command now fails because TinyURL implemented Cloudflare protection. Originally, we needed to shorten URLs due to a Discord UI bug, but we do not need to shorten them anymore. Therefore, remove all code that shortens URLs and simply use the full URL.

Hello.
I am beginner and I would like to try to fix this!
Could you assign this to me please?


Prevent Race Condition with packet releases in nx_tcp_socket_state_ack_check()

In certain conditions TCP segment ACKs can arrive earlier than corresponding packet TX complete interrupts. This is in particular true for hardware which only generates an interrupt once a set of TX descriptors is complete, rather for each individual packet.
In such situations I found that if nx_packet_transmit_release() is called from a TX complete interrupt which occurs while processing the packet release in nx_tcp_socket_state_ack_check(), a race condition can occur due to either instruction caching or branch prediction on Cortex-M MCUs. A packet can wrongly become marked NX_PACKET_ALLOCATED and NX_DRIVER_TX_DONE at the same time and as a result the packet will never be released, neither by nx_tcp_socket_state_ack_check() nor by the TX ISR calling nx_packet_transmit_release().
Over time such a system will run out of free NX_PACKETs and stop communicating.
This race condition is very difficult to reproduce as slightest change in timing may prevent the race condition to happen. As such I cannot provide a simple test case.
Background
nx_packet_transmit_release() contains the following code to mark packets with a NX_DRIVER_TX_DONE flag to postpone the packet release after either retransmission or acknowledgement. This code sequence is wrapped in TX_DISABLE/TX_RESTORE to disable interrupts:
    if ((packet_ptr -> nx_packet_union_next.nx_packet_tcp_queue_next != ((NX_PACKET *)NX_PACKET_ALLOCATED)) &&
        (packet_ptr -> nx_packet_union_next.nx_packet_tcp_queue_next != ((NX_PACKET *)NX_PACKET_FREE)))
    {

        /* Yes, this is indeed a TCP packet.  Just mark this with the NX_DRIVER_TX_DONE
           value to let the TCP layer know it is no longer queued up.  */
        /*lint -e{923} suppress cast of ULONG to pointer.  */
        packet_ptr -> nx_packet_queue_next =  (NX_PACKET *)NX_DRIVER_TX_DONE;

nx_tcp_socket_state_ack_check() on the other hand contains the following complementary code to release packets which have been sent and acknowledged. Packets which can be released are marked with NX_PACKET_ALLOCATED. Packets which have been marked with NX_DRIVER_TX_DONE by the ISR can be immediately released, others packets are expected to be released by the ISR after completed transmission.
        /* Now walk through the packets to release and set them
           free.  */
        while (packet_release_count--)
        {

            /* Use the previous pointer as the release pointer.  */
            previous_ptr =  search_ptr;

            /* Move to the next packet in the queue before we clip the
               next pointer.  */
            search_ptr =  search_ptr -> nx_packet_union_next.nx_packet_tcp_queue_next;

            /* Set the packet to allocated to indicate it is no longer part of the TCP queue.  */
            /*lint -e{923} suppress cast of ULONG to pointer.  */
            previous_ptr -> nx_packet_union_next.nx_packet_tcp_queue_next =  ((NX_PACKET *)NX_PACKET_ALLOCATED);
            NX_PACKET *transmit_done_flag = previous_ptr -> nx_packet_queue_next;

            /* Has the packet been transmitted? This is only pertinent if a retransmit of
               the packet occurred prior to receiving the ACK. If so, the packet could be
               in an ARP queue or in a driver queue waiting for transmission so we can't
               release it directly at this point.  The driver or the ARP processing will
               release it when finished.  */
            /*lint -e{923} suppress cast of ULONG to pointer.  */
            if (transmit_done_flag == ((NX_PACKET *)NX_DRIVER_TX_DONE))
            {

                /* Yes, the driver has already released the packet.  */

Test Setup and Bug Detection
On a Rensesas EK-RA6M5 evaluation board we run a web server application which is continuously polled using a wget client running on a PC. The web server application also runs a cyclic monitor thread ever 100ms which inspects the packet pool and searches for orphaned NX_PACKETs using the following routine:
static void debugPackets(NX_PACKET_POOL *pool_ptr)
{
    for (UINT i = 0; i < pool_ptr->nx_packet_pool_total; i++)
    {
        NX_PACKET *packet;
        ULONG packet_status;
        CHAR *thread_info;
        CHAR *file_info;
        ULONG line;

        _nx_packet_debug_info_get(pool_ptr, i, &packet, &packet_status, &thread_info, &file_info, &line);

        // Orphaned packet?
        if (packet_status == 0xAAAAAAAA && packet->nx_packet_queue_next == (void *)0xDDDDDDDD)
        {
            // Log it
            SEGGER_RTT_printf(0, "*** Found orphanded packet %p!\n", packet);
        }
    }
}

Without the fix, the monitor thread will report within a few minutes orphaned packets and eventually the system will run out of free packets.
Solutions
Both solutions have to be applied to nx_tcp_socket_state_ack_check() after line 667.
Option 1: ARM specific, add a __DSB instruction to clear branch predictor and ensure all outstanding memory accesses are completed before evaluating ->nx_packet_queue_next:
            previous_ptr -> nx_packet_union_next.nx_packet_tcp_queue_next =  ((NX_PACKET *)NX_PACKET_ALLOCATED);

            __DSB();  // Data Synchronization Barrier

            if (previous_ptr -> nx_packet_queue_next ==  ((NX_PACKET *)NX_DRIVER_TX_DONE))
            {

Option 2: This solution is more generic and should work also on non-ARM MCUs and wraps the two lines in a TX_DISABLE/TX_RESTORE pair. It is implemented in this PR.
            TX_DISABLE

            previous_ptr -> nx_packet_union_next.nx_packet_tcp_queue_next =  ((NX_PACKET *)NX_PACKET_ALLOCATED);
            NX_PACKET *transmit_done_flag = previous_ptr -> nx_packet_queue_next;

            TX_RESTORE

            if (transmit_done_flag == ((NX_PACKET *)NX_DRIVER_TX_DONE))
            {

Thank you very much for catching this issue @hwmaier. And thanks for your suggestions. We will fix it in the future release.


listview scrolling containing webviews reloads the webpages in the webview

I need to show multiple webpages in a listview. The WebViews renders properly inside the listview as each list item . However when I am scrolling the listview down and then back to the top, the webpage already displayed in the top list item reloads again. This causes a delay in showing the webpage which was already loaded once and creates a very bad usability experience.
My use case is to show a listview of graphs loaded from separate URLs. As a user who is viewing the list, once he scrolls down and then scroll to the top, the already loaded graphs should be displayed immediately. The refreshing of the graphs can be done with a separate refresh button.
In the below example , the listview loads the webviews with the webpages, but as you scroll down and scroll up, the webpages loads again . Is there any way to keep the already loaded webpage in the listview persistent so that once all the webpages is loaded, the scrolling is very smooth.
Example:
  body:Container(
    child:ListView(
      scrollDirection: Axis.vertical,
      children: <Widget>[
      Container(
        height: 500,
        child: WebView(
          initialUrl: "http://www.google.com",
          javascriptMode: JavascriptMode.unrestricted,

        )
      ),
      Container(
          height: 500,
          child: WebView(
            initialUrl: "http://www.youtube.com",
            javascriptMode: JavascriptMode.unrestricted,

          )
      ),
      Container(
          height:500,
          child: WebView(
            initialUrl: "http://www.google.com",
            javascriptMode: JavascriptMode.unrestricted,

          )
      ),
      Container(
          height: 500,
          child: WebView(
            initialUrl: "http://www.youtube.com",
            javascriptMode: JavascriptMode.unrestricted,

          )
      ),
      Container(
          height:500,
          child: WebView(
            initialUrl: "http://www.google.com",
            javascriptMode: JavascriptMode.unrestricted,

          )
      ),
      Container(
          height: 500,
          child: WebView(
            initialUrl: "http://www.youtube.com",
            javascriptMode: JavascriptMode.unrestricted,

          )
      ),
      Container(
          height:500,
          child: WebView(
            initialUrl: "http://www.google.com",
            javascriptMode: JavascriptMode.unrestricted,

          )
      ),
      Container(
          height: 500,
          child: WebView(
            initialUrl: "http://www.youtube.com",
            javascriptMode: JavascriptMode.unrestricted,

          )
      ),
      ],
    )
  ),

@harrisbaitalrayan Do you encounter the issue using current flutter stable v1.9.1+hotfix.2 and latest webview? Please provide your flutter doctor -v output.

Hi @harrisbaitalrayan
you might want to take a look to this sample code
This platform is not met for assistance on personal code.
Please see https://flutter.dev/community for resources for asking questions like this,
you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you

Hi iapicca. Thanks a lot for your reply. I had to change my solution in July to adapt to the situation then. However when I run your sample code now, it is working perfectly and as exactly as I wanted it. I wish I had known this in July, would have saved a lot of work for me. Thanks a lot again for taking your time to reply to me, I could use this in other projects of mine. Accepting the issue as closed.

Hi iapicca. Thanks a lot for your reply. I had to change my solution in July to adapt to the situation then. However when I run your sample code now, it is working perfectly and as exactly as I wanted it. I wish I had known this in July, would have saved a lot of work for me. Thanks a lot again for taking your time to reply to me, I could use this in other projects of mine. Accepting the issue as closed.

Hi.I am also facing same issue,would you like to show me this code? Thank you very much.

Hi iapicca. Thanks a lot for your reply. I had to change my solution in July to adapt to the situation then. However when I run your sample code now, it is working perfectly and as exactly as I wanted it. I wish I had known this in July, would have saved a lot of work for me. Thanks a lot again for taking your time to reply to me, I could use this in other projects of mine. Accepting the issue as closed.

@harrisbaitalrayan
I am also facing same issue, would you like to show me this code? Thank you very much.


Add support for .andFulfill(expectation)

Suggested implementation for #420

This is good to go. I'm still making my mind up whether to release OCMock 3.6.1 with some of the fixes and developer experience improvements, or whether I do 3.7 straight away with new features. This is obviously a new feature. Marking it blocked until 3.7 is definitely the next release.

This PR introduces a dependency on XCTest. As discussed in #420 this is not a problem. (In fact, it will help get off some deprecated API.) However, when I merged this PR I noticed the following warning:
ld: warning: dylib (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCTest.framework/XCTest) was built for newer macOS version (10.15) than being linked (10.10)

It looks like XCTest is built for the current SDK (I'm not on Big Sur yet) while OCMock is built with 10.10 as deployment target. Anyone think this a problem?
Something else I noticed: how did you add XCTest for watchOS? When I tried this earlier I could not see XCTest for the watchOS target. It showed up for all other targets in the dialog that appears when you add a framework in the link build phase, but not for watchOS. Re-checked now and it's still the case for me.

I don't think mixing OCMock at 10.10 with the newest XCTest is going to be a problem, otherwise you couldn't mix XCTest with any code that had a lower deployment target.
I must admit I didn't test building the watchOS version. You are correct that watchOS doesn't have XCTest support (for reasons that I never quite understood). I have added guards around the calls appropriately assuming that we want to support watchOS even if there is no official XCTest support for it.


Add support for OpenAPI additionalProperties

The API I try to call has the following definition:
      "CheckHealthResponse":{
        "required":[
          "details",
          "status"
        ],
        "properties":{
          "status":{
            "type":"string",
            "description":"Overall status derived from performed health checks. Values are \"UP\", \"DOWN\" and \"UNKNOWN\"."
          },
          "details":{
            "type":"object",
            "additionalProperties":{
              "$ref":"#/components/schemas/HealthCheckResult"
            },
            "description":"Map of the performed health checks and their results."
          }
        }
      },
      "HealthCheckResult":{
        "required":[
          "status"
        ],
        "properties":{
          "status":{
            "type":"string",
            "description":"Status of the health check. Values are \"UP\", \"DOWN\" and \"UNKNOWN\"."
          },
          "details":{
            "description":"Details of the health check result."
          }
        }
      }

A typical response that matches this is:
{
    "status": "UP",
    "details": {
        "crypto.filesystem": {
            "status": "UP"
        },
        "network.auth_config": {
            "status": "UP",
            "details": "no node DID"
        },
        "pki.crl": {
            "status": "UP"
        }
    }
}

So additionalProperties can be translated to a list of objects that each have a name and the object that is in de definition.
This part is currently missing in the model generation and not populated in the LoadFromResponse() method

I was able to fix this in my custom code by defining the details Property as Array of HealthCheckResult.
I plan to submit a PR for that
/// Map of the performed health checks and their results.
/// * This property is required.
Property details As array Of Nuts.Api.Monitoring.model.HealthCheckResult;

Has been fixed now


Remove unused parameter in DoStackArgsOpt

DoStackArgsOpt takes a topFunc parameter but doesn't use it.
It seems like the intention is to pass it to IsStackArgsEnabled, but topFunc is actually referenced inside IsStackArgsEnabled through a pointer in m_func, making passing in the argument unnecessary.

:shipit:


Minimal GitHub workflow - Windows jobs

Migrate Windows jobs from mininal-pipeline.yml  to GH Actions.
Next PR

Refine Windows jobs
Handle Linux jobs. I consider to use "composite actions" to handle steps/run-in-docker.yml. More: https://github.com/actions/runner/blob/main/docs/adrs/0549-composite-run-steps.md or just run everything on Ubuntu

Someone can rerun the Azure Pipeline job please?


add .editorconfig (e.g. https://gist.github.com/kgnet88/6fc2b93f52ba1e0f040f6982678f7ee3)

Example Link (to click)
Keep in mind, that neither Visual Studio nor Visual Studio Code fully support editor configurations. ALso the guidelines in the example are for the visual studio extension Editor Guidelines.
The option vc_generate_documentation_comments changes the default style fgor source documentation between trippleslash and doxygen style...


Active Tab not updating : On Page change using swipe inside multitab bar, Active tab element not being selected.

On My Schedule selection from navigationdrawer multi tab feature is there, on swiping the pages tab is not updating, its only updating when we are tapping on tab.

Obsolete


Move EventBus to separate module?

Would it be a good idea to move the EventBus to a separate module and enable it when needed?

EventBus => #144
About SpringViewProvider & VaadinView
Is it an idea to move SpringViewProvider, VaadinView and both *-mvp artifacts into a new artifact => spring-vaadin-navigator ?
Does this makes sense ?

Closing this ticket in favor of #144. Let's keep the navigation stuff where it is until #147 is done.


add Travis-CI testing on a6nt and i3nt

Let's see if I can get Travis-CI to leave the line endings alone.

Good idea about deleting the index, but it didn't work because the build.sh file is running and is affected by it.

Thanks, Oscar!

Thanks again, Bob!


[boost-regex] fix build with icu on osx

Describe the pull request

What does your PR fix? Fixes pipeline (discussed on discord)

Which triplets are supported/not supported? Have you updated the CI baseline? All supported

Does your PR follow the maintainer guide? Yes

Edit:
Failures in PR #14628 pipeline:
In file included from ../build/../src/icu.cpp:23:
In file included from ../include/boost/regex/icu.hpp:25:
In file included from /Users/vagrant/Data/installed/x64-osx/include/unicode/coll.h:62:
In file included from /Users/vagrant/Data/installed/x64-osx/include/unicode/ucol.h:17:
In file included from /Users/vagrant/Data/installed/x64-osx/include/unicode/unorm.h:25:
In file included from /Users/vagrant/Data/installed/x64-osx/include/unicode/unorm2.h:34:
/Users/vagrant/Data/installed/x64-osx/include/unicode/localpointer.h:71:51: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
    static void* U_EXPORT2 operator new(size_t) = delete;
                                                  ^
/Users/vagrant/Data/installed/x64-osx/include/unicode/localpointer.h:72:53: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
    static void* U_EXPORT2 operator new[](size_t) = delete;
                                                    ^
/Users/vagrant/Data/installed/x64-osx/include/unicode/localpointer.h:74:58: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
    static void* U_EXPORT2 operator new(size_t, void*) = delete;
                                                         ^
/Users/vagrant/Data/installed/x64-osx/include/unicode/localpointer.h:224:34: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
    LocalPointer(LocalPointer<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) {
                                 ^
/Users/vagrant/Data/installed/x64-osx/include/unicode/localpointer.h:224:40: error: expected ';' at end of declaration list
    LocalPointer(LocalPointer<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) {
                                       ^
                                       ;
/Users/vagrant/Data/installed/x64-osx/include/unicode/localpointer.h:399:30: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
    LocalArray(LocalArray<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) {
                             ^
/Users/vagrant/Data/installed/x64-osx/include/unicode/localpointer.h:399:36: error: expected ';' at end of declaration list
    LocalArray(LocalArray<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) {
                                   ^
                                   ;

@PhoebeHui https://github.com/microsoft/vcpkg/pull/14628 that's the pr

Wait for https://github.com/microsoft/vcpkg/pull/17014 merge first.

@PhoebeHui Why the label requires:discussion?

We need colleagues to do more in-depth review.

pinging @ras0219-msft since he was a part of the discussion in discord.


Is tagging via  elements no longer supported?

Here's an example of this not working. It used to work in 3.5.2:
http://jsbin.com/yonavaqiva/2/edit?html,output
Is this no longer supported or is this just something that needs to be worked out prior to the 4.0.0 release? FWIW, my use-case actually requires a comma-separated input rather than a multiselect.

Select2 4.0 does not support hidden input tags anymore, as we have decided to use the native <select> inputs for all options.
https://select2.github.io/announcements-4.0.html#hidden-input
You can add support back in through the use of a custom data adapter, I would recommend looking at the standard one for <select> tags as a base to work from. If you are able to get it working, either as a decorator or new adapter, we are interested in incorporating it into the core through a pull request.

I wasn't asking about a hidden input tag, I was asking about regular input tag.
Select2 is supposed to be progressive enhancement, right? So if for whatever reason select2 fails to load, the "regular" form controls are supposed to just work fine.
In my case, I actually do want a regular <input> field. I don't want a <select multiple> field. The reason is the value of the input is actually supposed to be a comma-separated string and not an array (which is what you get with <select multiple>).
Are you saying select2 no longer supports <input> fields at all? If so I think that's a shame as this is a common use-case. It'd be a pain to require two separate plugins (with varying UIs) for very similar tasks.

I wasn't asking about a hidden input tag, I was asking about regular input tag.

They're the same thing to Select2 (that is, not an <select>). Select2 previously worked on a text box because both input[type=text] and input[type=hidden] both have the same properties.

Are you saying select2 no longer supports  fields at all?

Not by default. This required extensive branching in the code to support both previously. Just to reinforce what I said previously

You can add support back in through the use of a custom data adapter, I would recommend looking at the standard one for <select> tags as a base to work from. If you are able to get it working, either as a decorator or new adapter, we are interested in incorporating it into the core through a pull request.

If you extended directly from the base <select> adapter, you would specifically need to override...

current - used like initSelection to convert the value to a set of data objects
select- called when a result is selected, you just need to append the id to the value attribute of the input
unselect - called when a result is unselected, you need to remove the id from the value attribute
query - similar to the old query method, used to get the results list

I'm actually going to tentatively reopen this for 4.0 while I coordinate with the Drupal team on a decent middle ground.

Thanks for your comment on the Drupal issue! That helped us find this GitHub issue. (For those wondering, @kevin-brown's exact comment there can be found here: https://www.drupal.org/node/2346973#comment-9624861.)
I've replied there with our perspective/details, and I hope we can indeed find a decent middle ground. We completely understand your reasons for removing input[type=hidden] support, but we also would like to see input[type=text] support restored.

For the sake of simplifying/streamlining the conversation, I'm transplanting my comment there to this issue too:

That's awesome news! Thank you!
Basically, all there is to know is this:

Drupal has supported "free tagging" (also known as folksonomies) for … 10 years or so. You can type any tag you want, and type a comma to indicate a next one.
To help users find/select existing tags, there is an autocomplete, which takes the space-trimmed string after the last comma — if any — and asks the server for autocomplete matches. (It's never been quite as awesome as Select 2 though :)) i.e. foo, bar, baz -> "baz" is being autocompleted.
To type tags containing commas, we wrap them in double quotes. i.e. Some Person, "Leers, Wim", Another Person has 3 tags: "Some Person", "Leers, Wim" and "Another Person".
(This behavior would probably need to be implemented on the Drupal side, which is exactly what @amateescu did in #66, until @nod_ remarked in #69 that  Select2 version 4 was about to be released, and this issue kind of got stuck on what to do now that Select2 no longer natively supports input[type=text]. In other words: you probably wouldn't even have to care, as long as we can still make it work just like we did for Select2 version 3.)
Most importantly to you: what is described above, including the examples, are exactly what is sent to the server (commas, quotes, spaces and all). Basically, our UI has always been input[type=text] with some UI additions for autocompletion that helped the user get data in there in input[type=]text] faster and more easily — hence degrading "gracefully" to a very unhelpful, autocompleteless, mindblowingly simple UI: the plain input[type=text].

One way to solve this issue without major rearchitecturing would be to replace inputs by selects and get an event/callback in there to update the input value based on serialization rules. I'm pretty sure that's how we'd have done on it drupal side.
That would mean that parsing and serializing values get back in scope for select2 though.

The biggest challenge that I've been facing with this is what should be done when the value of the <input /> is updated.
Right now we can easily re-pull the text and value from the <option> tags and convert those to data objects. In the past we had a initSelection method that handled this, but it was specific to <input /> and poorly named.
I'm going to create a pull request locally (shortly) with the backwards compatibility adapters and what I've currently got.

Is there anything else you need from the Drupal side?

@wimleers I'm planning on rebasing the PR and merging it this weekend, along with doing the rc.1 release. There isn't anything else left for this on the Drupal side until it goes into further testing.

Seems like this issue isn't fixed!
Here is a jsfiddle that shows same code applied on both <input /> and <select> to have get tags feature.
The <select> tag works but <input /> doesn't!
Requesting to reopen the issue.
Thanks.

I investigated this for a bit since my use case was to use an input[type='text'] element and select2  to provide some autocomplete support.
The InputData wrapper prevents this use case from correctly functioning, and there does not seem to be a good way to turn it off by default.
Locally, I tested this by commenting out the decoration of the dataAdapter with an InputData for input elements.
So, definitely think there's something incorrect with the compat layer here.
It would be nice to make it optional so that using a custom dataAdapter can override the compat behavior.

I wrote a gist to make select2 tags work with text input.
As @theodoreb said:

One way to solve this issue without major rearchitecturing would be to replace inputs by selects  and get an event/callback in there to update the input value based on serialization rules.

function select2InputTags(queryStr) {
  var $input = $(queryStr)

  var $select = $('<select class="'+ $input.attr('class') + '" multiple="multiple"><select>')
  if ($input.val() != "") {
    $input.val().split(',').forEach(function(item) {
      $select.append('<option value="' + item + '" selected="selected">' + item + '</option>')
    });
  }
  $select.insertAfter($input)
  $input.hide()

  $select.change(function() {
    $input.val($select.val().join(","));
  });

  return $select;
}

https://gist.github.com/lingceng/d1cd5ca5db9a777b31487769242c422f.js
See the demo here: https://jsfiddle.net/lingceng/h5baz3bo/13/
It's simple to use:
select2InputTags('#select2Input').select2({
       tags: true, // Doesn't work either
       // tags:["red", "green", "blue"], // Doesn't work either
       multiple: true,
       tokenSeparators: [",", " "]
});

I'd like to make it a repo if you like it.

thanks @lingceng for this helpful gist!
I just noticed some troubles with reloading fields with select2InputTags().  I work with a webquestionnaire tool (limesurvey) and use select2 4.0.5 to augment the textfields with multiselect and tagging. I just noticed, that when I fill in a field (select2 with select2InputTags), change page (one question per page) and come back the values (saved in the text fields) are reloaded, but it shows only the id, not the text.
So if I have 4 Options and loading them from an array:
var qID = {QID};  /* identify question in the survey */
var wordList1=[ { id: 1, text: 'Option 1' }, { id: 2, text: 'Option 2' }, { id: 3, text: 'Option 3' }, { id: 4, text: 'Option 4' } ];  /* create options for the select2 field */

$('#question'+qID+' input[type="text"]').each(function(i) {
	select2InputTags($(this)).select2({
		data: wordList1, width: '95%',
		minimumResultsForSearch: -1,
		tags: true,
		tokenSeparators: [','],
		placeholder: "...",
		multiple: true,
		debug: true
		});
	});

I choose Option 1, Option 2 and type some text 'asdfg'.
I go forth to the next page and come back
3a) the preloaded content for the text field is '1','2','asdfg' - so it only shows the ids, not the text.
3b) the dropdown text for options '1' and '2' is also replaced by the id, e.g. there is no 'Option 1'  in the dropdown, but only '1' . (In this case it's '1', '2', 'asdfg', 'Option 3', 'Option 4')

I created a gist at https://jsfiddle.net/konstruktur/2oay3r9x/15/, but it can't show this pagechange and I unfortunately can't give a reproducible example, since I cannot give access to my installation of the survey software, but maybe someone, maybe @lingceng knows how to get the text instead of the ids and can adapt this great gist? Thanks a lot for your time!


Command Line tests

Need to implement some basic CLI tests.

test_cli.py validates the basics of the CLI.
dedicated test_[provider].py files validate the geocoding functionalities more thoroughly
I guess we can close this issue. What do you think @DenisCarriere  ?

Yep! We've added some basic CLI, everything can be improved but at this stage the CLI part is being tested.


Add a safe merge/mergeDeep to Records

What happened
Record.mergeDeep throws an Error when trying to merge an object into a Record if the object has keys which are not present in the Record.
This behavior is expected, but it would be nice to have an option like mergeSafe which will omit extra keys rather than throwing an Error.
How to reproduce
To see the error:
var Rec = new Immutable.Record({ foo: 'bar', hello: 'world', some: null });
var myRec = new Rec();

// Throws an Error: Cannot set unknown key "missing" on myRec
myRec.mergeDeep({ missing: 'stuff' });

Proposed solution:
var Rec = new Immutable.Record({ foo: 'bar', hello: 'world', some: null });
var myRec = new Rec();

var merged = myRec.mergeDeepSafe({ missing: 'stuff', some: 'thing' });
// No error was thrown.
// merged now contains: { foo: 'bar', hello: 'world', some: 'thing' }

I believe this error was reduced to a warning in the latest RC

Actually, the error throwing behavior was completely removed in v4 - so please try out the latest version


Unifies usecases templates

This branch necessarily sits on top of my previous PR - #199. Happy to rebase this PR after you've merged the previous to make it easier to understand.
Moves to a unified template that either shows all links (if there is a YAML file for that page), or shows the "Please Contribute" content.
Allows for pages to specialize how they present links (see Editors page).

@marcoroth I'm realizing this PR is a bit of a mess. Lots of small commits. Would you like me to make this one bigger commit? Does this go in the direction of #199 and what we talked about?

Hey @infews, I was just going through the changes. I think it's fine as-is. Thank you 👍🏼


Add toast warning category

Added iui-warning modifier
Added iui-toast-category mixin to reuse code

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


[stable/stolon] needs a way to specify pull secrets so the image can come from a private registry

If you try to make a custom image stored on a private repository, there is no way in the chart to specify the secret to pull the image with.
Version of Helm and Kubernetes: helm 2.9.1, and Kubernetes 1.11.3
Which chart: stable/stolon
What happened: Unable to pull an image from a private repository with a password.
What you expected to happen: I expected to be able to use a custom image pulled from a private repository, specifying the pullSecrets as a value

What need i do to verify it?

I guess you would need to pull a stolon image from a private registry.

yes, i need to pull a stolon image with installed postgis extension from my private registry (nexus OSS or gitlab.com)

I can't see 'image.pullSecrets' option in the README.md of master branch

Indeed it's not because it's only implemented in my PR

@francois-travais, what should happen so that PR will be accepted?

I have no idea, I'm not a maintainer. Apparently the PR is assigned to @sameersbn, I guess he could do something about it.


Separate Observable from InPlaceDynamics interface

This small refactoring PR makes the .observation and Dynamics interfaces of ObservableInPlaceDynamics orthogonal, as a preliminary to possibly making the Dynamics interface functional by default.

I believe this PR should also change the SIR model in the dynamic_fixtures for dynamical tests to be a mixin of InPlaceDynamics and Observable

InPlaceDynamics and Observable are Protocols, so they don't need to be inherited from at all. I've removed InPlaceDynamics from the definition of SIR to illustrate.


Laravel dependency conflicts with Laravel 10

When attempting to install on a fresh copy of Laravel, I get the following error:
Your requirements could not be resolved to an installable set of packages.
Problem 1

smadeira/ministry-platform-api[v0.2.1, ..., v0.2.2, v2.0.0, ..., v2.3.5, v3.0.0, ..., v3.1.7, v4.0.2, ..., v4.0.3] require guzzlehttp/guzzle ~6.0 -> found guzzlehttp/guzzle[6.0.0, ..., 6.5.8] but it conflicts with your root composer.json require (^7.2).
smadeira/ministry-platform-api[v5.0.1, ..., v5.1.0] require illuminate/cache ^8.0 -> found illuminate/cache[v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
Root composer.json requires smadeira/ministry-platform-api * -> satisfiable by smadeira/ministry-platform-api[v0.2.1, v0.2.2, v2.0.0, ..., v2.3.5, v3.0.0, ..., v3.1.7, v4.0.2, v4.0.3, v5.0.1, v5.1.0].

To resolve these conflicts, you have a few options:

Update your root composer.json file to allow Guzzle 6.x. You can change the ^7.2 requirement for Guzzle to ^6.0 to match the requirement of the smadeira/ministry-platform-api package.

Check if there are newer versions of the smadeira/ministry-platform-api package available that are compatible with Guzzle 7.x and Illuminate Cache 8.x. Update your root composer.json file accordingly to use one of these compatible versions.

If you have control over the smadeira/ministry-platform-api package, you can update its dependencies to be compatible with the versions of Guzzle and Illuminate Cache required by your project. This would involve modifying the composer.json file of the package itself.

Remember to run composer update or composer install after making any changes to the composer.json file to update the dependencies.

how about now? =P

The reality is that I longer work for the church where I developed this code to interface MP to the web site. I'm so booked with other things that it isn't realistic for me to get this updated any time soon. The code is free for the taking and upgrading it to support your version of Laravel shouldn't be too difficult.

Understandable. There does appear to be a PR that you could simply accept and merge though. =)

Didn't notice that it was there.  I accepted and merged it...
Scott Madeira
On Fri, Nov 22, 2024 at 3:47 PM Mark Chaney @.***>
wrote:

Understandable. There does appear to be a PR that you could simply accept
and merge though. =)
—
Reply to this email directly, view it on GitHub
https://github.com/smadeira/ministry-platform-api/issues/14#issuecomment-2494768942,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABE4U3AFHCJS7EHPMOWV2FT2B6J6JAVCNFSM6AAAAABSJ5ZBPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJUG43DQOJUGI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


pkl-gen-go doesn't generate Go code for an imported module

I'm new to the pkl and pkl-gen-go and maybe I'm missing something.
What are/were you trying to achieve?
There are 2 config files:

Contains some fields

@go.Package { name = "awesome/pkg/gen/httpserver" }
module exp.HttpServer

import<EMAIL_ADDRESS>
host: String(!isEmpty) = "localhost"

typealias Port = UInt16
port: Port = 8080

typealias TimeoutDuration = Duration

class Timeouts {
  readTO: TimeoutDuration = 10.s
  writeTO: TimeoutDuration = 10.s
}

timeouts: Timeouts

Imports the first files/modules and creates a new object

@go.Package { name = "awesome/pkg/gen/config" }
module exp.MainConfig

import<EMAIL_ADDRESS>import "HttpServer.pkl"

server = new HttpServer {
  port = 7000
}

If I try to generate Go files with pkl-gen-go pkl/MainConfig.pkl, I would only get files for the MainConfig and no files for HttpServer.
In addition, the generated struct will have any type for the Server  field in the MainConfig:
type MainConfig struct {
	Server any `pkl:"server"`
}

But if I annotate server in MainConfig with HttpServer, the pkl-gen-go would create all the files:
@go.Package { name = "github.com/gsom95/go-pkl/gen/config" }
module exp.MainConfig

import<EMAIL_ADDRESS>import "HttpServer.pkl"

server: HttpServer = new HttpServer {
  port = 7000
}

Go generated struct:
type MainConfig struct {
	Server *httpserver.HttpServer `pkl:"server"`
}

What’s the impact of this bug/feature?
I'm not sure if this a bug or I'm just missing something from the language docs about code generation. If the latter, please, let me know where I can find the info about code generation rules.

P.S. If there is anything else I can add, please, let me know :)

This looks like expected behavior to me.
In the first example without the type annotation, the server property in your module has type Any (which you happened to have assigned an HttpServer to). Because the golang codegen operates based on the types for module/class fields and not the types of assigned values, the emitted go struct accepts any for Server.
This may be a little surprising if you're accustomed to modern languages that do type inference (eg. Swift). In Swift, let server = HttpServer() yields an immutable variable server with type HttpServer, not Any.
In Pkl, it is idiomatic to let type inference happen the other direction, by declaring the type of the property and using a bare new when instantiating the declared type:
server: HttpServer = new {
  port = 7000
}

This practice is covered in more detail in the style guide: https://pkl-lang.org/main/current/style-guide/index.html

In the first example without the type annotation, the server property in your module has type Any (which you happened to > have assigned an HttpServer to). Because the golang codegen operates based on the types for module/class fields and > not the types of assigned values, the emitted go struct accepts any for Server.
This may be a little surprising if you're accustomed to modern languages that do type inference (eg. Swift). In Swift, let server = HttpServer() yields an immutable variable server with type HttpServer, not Any.

Indeed, this is a little bit confusing, but as you've said it was covered in the style guide.
Thank you @HT154!


Suggestion: Add the ability to set attribute probabilities for specific slots

It would be nice to be able to set different attribute chances for different pieces of gear, for example making it so rings don't roll armour but chest pieces and helmets always roll armour.

Hi there,
I quite like this idea. My mod group and I would probably never use this, as our preferences tend to be the default that is shipped with the mod, but I do think this would be cool to have as a datapack config option.
Thank you for the suggestion, I'll look to implement it within a few releases.

Alternative solution: Relics can now be affixed to armour pieces with the latest release, making it so that you can always wear your favourite armour set and benefit from Relics.


Pretrained weights for smaller models

Thanks for this great project!
Are the pretrained weights for smaller models (e.g., those models listed in https://github.com/EleutherAI/gpt-neox/tree/main/configs) anywhere available for download?

We have a 125M and 350M model hosted on HuggingFace but we haven’t trained very many smaller models yet. That’s very much on the to-do list!


Add "View Error..." action for all Quick Access node types

Storage Explorer Version: 1.14.0-dev
Build: 20200611.9
Branch: master
Platform/OS: Windows 10/ macOS Catalina/ Linux Ubuntu 18.04
Architecture: ia32/x64
Regression From: Previous release (1.13.1)
Steps to reproduce:

Attach one blob container & file share & queue & table via SAS.
Add the attached services to QA.
Detach the attached services -> Refresh the Quick Access node.
Check the QA attached services context menu.

Expect Experience:
Keep consistent actions on the context menu.
Actual Experience:

Display 'Remove from Quick Access' for blob container & file share & table.
Display 'View Error...' & 'Remove from Quick Access' for queue.

@v-xianya This is not a regression. This is intended, brand new behavior that we have added for queues. We will add the same behavior for other node types at a later point.

Update:
Verified on the build main 20211125.2.

The 'View Error' action has been added for 'File Shares/Queue/Blob Container'.
Reproduce for tables.

Details. The error info and the title of the dialog are inconsistent when clicking 'View Error...' for 'File Shares/Queue/Blob Container'
@MRayermannMSFT Could you please help to take a look at this and tell us which one is the most accurate?😊

This issue has been fixed on the build rel/1.24.0 20220421.6.
There is a similar issue 5523 for the Comments. We are going to close this bug.


Render OAS schemas

Right now, in addition to the OAS info not being rendered as an initial page (see #8), the OAS schemas section is not rendered ass well. It would probably be a single sidebar category called "Schemas" with each model underneath it (and the demo panel would be disabled for these pages). Here is an example.

In the link provided, the schema seems to be part of the normal operation page as part of the request body table. I believe this is the default behavior for docusaurus-plugin-openapi?
Am I missing something?

This feature request is actually to allow non-operations to appear in the sidebar. Specifically, a new section (like Introduction, but at the bottom) called Schemas whose sub-items are ALL the schemas ONLY, whether used in any operation or not. These schema pages wouldn't have an execute panel since they just display data type + example object info.

Oh okay, is this like the "Models" section of Swagger UI: https://petstore.swagger.io?
Couple UX questions:

Will this just render schemas listed under components.schemas or should it also collect schemas that are defined inline from all of the requests?
Should all of the schemas be part of one Schemas page or should it be a Schemas category, with a page for each schema?

Yep! That's the same idea. I think it should only render components.schemas and it would be a Schemas category with one page per schema.

Hi!
I have the same issue that components.schemas is not rendered in docusaurus (I am also using redocusaurus in addition) and I am just wondering if there is any progress?
Thanks in advance for any replies :)

No progress has been made, but happy to accept a pull request :)


Fix a URL to the NMBRTHRY list archive

The reference to A.O.L Atkin's e-mail on the nbrthry mailing list was broken.
Fixed.

(please note the labels)

Merged to 1.1.1 and master.  Thanks!


Make bundle comment returns an error

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1944
Originally created by @Zonalds on 2020-04-07 12:33:41

What is the current bug behavior?
What is happening now?
When I run "make bundle" as shown in set up your enviroment It returns an error
What could I have possibly done wrong?
What is the expected correct behavior?
What should be happening?
Steps to reproduce
How one can reproduce the issue?
make bundle
Relevant logs and/or screenshots
Please use code blocks (```) to format console output
rm -rf ./build ./dist ./src/meltano/api/static/js ./src/meltano/api/static/css ./src/webapp/dist
cd src/webapp && yarn && yarn build
00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.
Makefile:117: recipe for target 'ui' failed
make: *** [ui] Error 1
(meltano-development) p11@Evill-P9ROFN2:~/meltano$ make bundle

Possible fixes
If you can, link to the line of code that might be responsible for the problem or suggest a fix
Further regression test
Ensure we automatically catch similar issues in the future

[ ] Write additional adequate test cases and submit test results
[ ] Test results should be reviewed by a person from the team

View 7 previous comments from the original issue on GitLab


Add AMS workshop participants access

Changes

Added access to a new GitHub team US-GHG-Center:ghg-ams-2024-workshop-access to provide temporary access to GHG AMS 2024 workshop participants

cc @freitagb

@yuvipanda so quick! thanks!!


GoLand + github code space + Rust: console output not captured

Description
When I run GoLand inside Github spaces with Rust Plugin, I can't see console output. But I can see it when I use Debug.
Steps to reproduce

create githup space over rust project repository (I've used this one: https://github.com/Mart-Bogdan/dirstat-rs )
Open it with JB Gateway using GoLand (no Clion available)
Install rust plugins: didn't have any affect, they don't activate
Go to Cargo.toml file, Ide asks to install Toml plugin -- agree
Go to src any *.rs file -- IDE asks to install Rust plugin -- agree
Launch run -- see: "Nothing to show"

Screenshot

7. Launch in Debug mode (accept installing **Native Debugger**)
8. Console output shows:

Screenshot

Impact
Partially usable. Troubles with plugins.
Additional context
OS: Linux
OS Version: 5.15.78-1-manjaro
OS Architecture: amd64
Java Version: 17.0.5
Java Runtime Version: 17.0.5+7-b469.67
Java Vendor: JetBrains s.r.o.
Available CPUs: 16
Max Memory: 536870912
Free Memory: 33242624
Total Memory: 161480704
IDE Version: 2022.2.4
IDE: JetBrains Gateway 2022.2.4
Plugin Version: <IP_ADDRESS>0
Plugin path: /home/winnie/.local/share/JetBrains/Toolbox/apps/Gateway/ch-0/222.4459.11.plugins/github-codespaces-gateway
Plugin ID: com.github.codespaces.jetbrains.gateway
RemoteDev-logs-20221128-234355.zip

Thanks for the report @Mart-Bogdan! This is likely an issue with the GoLand IDE, not the Codespaces plugin. I have passed this info along to JetBrains so that they are aware of it.
Thanks!


SDS version 2 compilation error with visual c++ compiler.

I see there is a fix for version 1 for c++ compiler. Is there anything similar for version 2?
Facing compilation issues, like below:

Am I missing something?

Old issue but if you're still wondering the problem is MSVC doesn't support that attribute syntax. You can look at the changes I made in my fork (https://github.com/LynnKirby/sds), in particular starting here.

I encountered this problem. @LynnKirby what license does your fork use? Would you consider pull requesting your fixes back to this repo?
I feel this issue should be taken seriously...

@mcclure It's the same license as the original (BSD 2-clause). I haven't bothered to pull request the changes since all the other pull requests are dead in the water.


Supporting vite@6 and @sveltejs/vite-plugin-svelte@5

Describe the problem
I think you are already aware of these.
 WARN  Issues with peer dependencies found
.
└─┬ @sveltejs/kit 2.8.5
  ├── ✕ unmet peer<EMAIL_ADDRESS>|| ^4.0.0-next.1": found 5.0.1
  └── ✕ unmet peer<EMAIL_ADDRESS>found 6.0.1

Describe the proposed solution
Update peer dependencies if it's possible.
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response

I think https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.9.0 solved this.


Add rand safe version of Poisson and Negative binomial distributions

This PR contributes a possible solution to #415 by creating distributions that work with Distributions but don't trigger a InexactError when rand is called on them with a large mean value (noting that a large mean value can triggered by random walks on the log-mean). These distributions are:

SafePoisson
SafeNegativeBinomial

Largely this was boilerplate (if we do more of this we should consider a macro to avoid this), with the difference that I replace floor(Int, x) calls with a helper function that determines whether floor(BigInt, x) should be used rather than throwing an InexactError.
Notable features/limitations

The poly algo I use for sampling Poissons is from PoissonRandom after checking that its still faster than Distribution.Poisson sampling.
For SafeNegativeBinomial I'm using the parameterisation with mean $\mu$ and variance relationship:

\text{var} = \mu + \alpha^2 \mu^2.

My reasoning here is in the doc string; I think this is the easiest parameterisation to reason on priors because $\alpha \approx \text{std} / \text{mean}$ when the mean is larger than $1/ \alpha$. This differs from NegativeBinomialMeanClust so I'm happy to change.

I've added AD libraries ReverseDiff and ForwardDiff to the test env. This was because we need to be sure that we can backprop through logpdf calls with SafePoisson or SafeNegativeBinomial distribution structs. I've added unit tests here with very large mean values to check validity in extreme parameter regimes.
I think rand calls are slower to these distributions (but not done large formal analysis).
If we want to add these distributions then it suggests a number of issues to replace and remove NegativeBinomialMeanClust.

I know @damonbayer has been interested in Neg bin safety too.

Codecov Report
Attention: Patch coverage is 65.85366% with 56 lines in your changes missing coverage. Please review.

Project coverage is 87.37%. Comparing base (6b7ac06) to head (f165ebc).

Files
Patch %
Lines

EpiAware/src/EpiAwareUtils/SafePoisson.jl
71.07%
35 Missing :warning:

EpiAware/src/EpiAwareUtils/SafeNegativeBinomial.jl
51.16%
21 Missing :warning:

Additional details and impacted files
@@                   Coverage Diff                   @@
##           remove-nan-handling     #418      +/-   ##
=======================================================
- Coverage                93.71%   87.37%   -6.34%
=======================================================
  Files                       54       56       +2
  Lines                      557      721     +164
=======================================================
+ Hits                       522      630     +108
- Misses                      35       91      +56

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

Note that this is branched from remove-nan-handling and therefore has same documenter CI problem which derives from removing the safety handling of NegativeBinomialMeanClust.
We can either address that with a new issue, or use that as an opportunity to test using the new dists?

This needs a benchmark before we merge it.

This needs a benchmark before we merge it.

If we call SafeNegativeBinomial from NegativeMeanClust that should be a benchmark test automatically?

I got irritated by a stochastic CI failure on how different the sample variance is from sampling from SafeNegativeBinomial vs NegativeBinomial so I made it more principled test based on the std of the variance estimator.

Documenter CI works now.
To recap:

SafeNegativeBinomial and SafePoisson resolve a problem with floor inside rand calls when the sampler mean is very large.
Setting check_args = false as a kwarg for Distribution object construction switches off checking that causes occasion fails. The NUTS sampler seems to be smart enough to handle resultant logpdf values.


Switch Win32 event to .Net Semaphore

Description
In the C# WinUI Instancing example, the code defines pinvokes in order to create a Win32 Event and do a CoWait. I had trouble getting that to work in my app on copy/paste, and in any case it's unnecessarily complicated for C#. So the update here is to use a .Net Semaphore instead.
Also updated the project to .Net6 so that it can be used in VS2022.
Target Release
1.1
Checklist

[x] Samples build and run using the Visual Studio versions listed in the Windows development docs.
[x] Samples build and run on all supported platforms (x64, x86, ARM64) and configurations (Debug, Release).
[x] Samples set the minimum supported OS version to Windows 10 version 1809.
[x] Samples build clean with no warnings or errors.
[ ] I have commented on my PR /azp run SamplesCI-<FeatureName> to have the CI build run on my branch for each of my FeatureName my PR is modifying. This must be done on the latest commit on the PR before merging to ensure the build is up to date and accurate. Warning: the PR will not block automatically if this is not run due to '/azp run' limitation on triggering more than 10 pipelines.

/azp run SamplesCI-AppLifecycle