can't finish a build after commit #741

this one
BG: I tried to build milvus v2.4.7 (the latest tag)
The error messages during build:
/home/jenkins/agent/workspace/di-milvus/Release-Docker-Image-Build/cmake_build/thirdparty/knowhere/knowhere-src/include/knowhere/comp/thread_pool.h:16:10: fatal error: cblas.h: No such file or directory
16 | #include <cblas.h>
        |          ^~~~~~~~~
  compilation terminated.

Meanwhile I can sure blas is installed and building environment could recognize it... following are the messages printed out (in the same build as above)
2024-08-05 16:07:02.694  + find /usr/include -name cblas.h
2024-08-05 16:07:02.694  /usr/include/openblas/cblas.h
...
2024-08-06 15:20:31.602  + rpm -ql openblas-devel
2024-08-06 15:20:31.602  /usr/include/openblas
2024-08-06 15:20:31.602  /usr/include/openblas/cblas.h
2024-08-06 15:20:31.602  /usr/include/openblas/f77blas.h
2024-08-06 15:20:31.602  /usr/include/openblas/lapack.h
2024-08-06 15:20:31.602  /usr/include/openblas/lapacke.h
2024-08-06 15:20:31.602  /usr/include/openblas/lapacke_config.h
2024-08-06 15:20:31.602  /usr/include/openblas/lapacke_mangling.h
2024-08-06 15:20:31.602  /usr/include/openblas/lapacke_utils.h
2024-08-06 15:20:31.602  /usr/include/openblas/openblas_config-x86_64.h
2024-08-06 15:20:31.602  /usr/include/openblas/openblas_config.h
2024-08-06 15:20:31.602  /usr/lib64/libopenblas.so
2024-08-06 15:20:31.602  /usr/lib64/libopenblas64.so
2024-08-06 15:20:31.602  /usr/lib64/libopenblas64_.so
2024-08-06 15:20:31.602  /usr/lib64/libopenblaso.so
2024-08-06 15:20:31.602  /usr/lib64/libopenblaso64.so
2024-08-06 15:20:31.602  /usr/lib64/libopenblaso64_.so
2024-08-06 15:20:31.602  /usr/lib64/libopenblasp.so
2024-08-06 15:20:31.602  /usr/lib64/libopenblasp64.so
2024-08-06 15:20:31.602  /usr/lib64/libopenblasp64_.so
2024-08-06 15:20:31.602  /usr/lib64/pkgconfig
2024-08-06 15:20:31.602  /usr/lib64/pkgconfig/openblas.pc
...
2024-08-06 15:20:59.937  -- Found BLAS: /usr/lib64/libopenblas.so
2024-08-06 15:21:00.192  -- Found LAPACK: /usr/lib64/libopenblas.so;-pthread;-lm;-ldl

Hoping to get some idea on how to solve this issue.. thx

@Reidddddd  I'm sorry about this issue. I understand that some operating systems place cblas.h in the top level of the include directory, while others place it in a subdirectory (openblas/cblas.h). You can try creating a symbolic link from openblas/cblas.h to /usr/local/include.

@Reidddddd I'm sorry about this issue. I understand that some operating systems place cblas.h in the top level of the include directory, while others place it in a subdirectory (openblas/cblas.h). You can try creating a symbolic link from openblas/cblas.h to /usr/local/include.

Thanks for your quick response! @Presburger, very appreciated!
May I ask why should link to /usr/local/? or anywhere coded to tell the build where to find those headers? because /usr/include should be default path.

my running env is rocky8 linux

@Reidddddd That's right. The compiler will try to find header files from multiple directories, including /usr/include and /usr/local/include. Generally, for manual operations, it is more appropriate to place them in /usr/local/include.

worked, thx


The iPad app won’t sync and refresh

I just bought my new iPad Pro (M2 Chip, 11-inch 256G Wi-Fi) and I downloaded the NetNewsWire app. I opened app and turned on the iCloud account, and all my feeds were coming in. But if I try to refresh, there won’t be new unread articles coming in, and the refresh progress bar on the bottom just stay froze and won’t even move.
My Wi-Fi and VPN are all working (I use VPN to access some blocked content in my country), and the app works smoothly on my iPhone and my MacBook Pro. My iPad Pro is running on the latest iPadOS 16.4.1 (a) system, and I’m running the NetNewsWire app on the latest version 6.1.4 as well. I tried rebooting my iPad Pro and reinstall the NetNewsWire app, but none of those work. I’m so frustrated on the issue right now since I really love this app, and it works completely fine on my old iPad!
Hope you guys can find out the problem🙏🙏🙏

This is a classic case where iCloud syncing can be extremely slow. Here’s our help page on this: https://netnewswire.com/help/iCloud


Fix "multiple commands produce 'module.modulemap'" error

Based on that PR and its response, I've tried to link to other mentioned J2ObjC's XCFrameworks, but it caused "multiple commands produce 'module.modulemap'" error.  Also I hoped that I could add the JRE_Core XCFramework to an Xcode target without needing linking to any other of the J2ObjC XCFramework. I believed that JRE_Core XCFramework should be self-contained. Because of that I created sample app to show my problem.
When I linked to another XCFramework produced by J2ObjC, I got the same situation like described in issue #2185. With changes added to this PR, I've noticed that in my case I don't have to link to another XCFramework, but if I do this, I also won't get modulemap error! It seems that currently modulemap file is located in wrong place.

@adil-hussain-84, would you please review and approve this change? I'll need to as well, but you have the build environment to (hopefully) quickly verify this fix is correct.
@ale-gen, would you please accept the Google CLA? Click on the Details link above in the cla/google error above.

@ale-gen: thanks for this change, I was able to build the Hello example with multiple JRE subset frameworks successfully. Where did you find current documentation on XCFramework layout?

@ale-gen: thanks for this change, I was able to build the Hello example with multiple JRE subset frameworks successfully. Where did you find current documentation on XCFramework layout?

Unfortunately I didn't find official documentation, so I looked for some .xcframework examples, and then I came upon this XCFramework's contents explanation

@tomball: Sure. I'll experiment with this change today on my machine and determine whether it solves Issue #2185.
Just to let you know, @ale-gen is working with me on the same Xcode framework project. We're trying to change our Xcode framework target from its current setup of linking the libjre_core.a, libjson.a and libjsr305.a static libraries to a new setup of linking the JRE_Core.xcframework, JSON.xcframework and JSR305.xcframework frameworks. We're doing this as a stepping stone on the way to solving a larger problem: An app which links to our framework (which links to the above-mentioned J2ObjC static libraries) now happens to link to another framework which also links to some J2ObjC libraries 😭 According to Murphy's Law, it was only a matter of time!


Do not expose username and password in values.yaml for grafana.

/cc @douglas-reid @sdake @linsun
Fixed https://github.com/istio/istio/issues/7476

@gyliu513: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
9b3a9a8daa7bc1bb95d459155248f3bcd7591fac
link
/test istio-unit-tests

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

@gyliu513: PR needs rebase.

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

@douglas-reid @sdake @linsun @costinm any comments for this? With this PR, we will not need to expose user name and password for grafana.

@gyliu513: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
b3163f5d3d20d956557c09a3626970a55b01b3c1
link
/test istio-pilot-e2e-envoyv2-v1alpha3

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

@gyliu513: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
b3163f5d3d20d956557c09a3626970a55b01b3c1
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/istio-unit-tests.sh
21dc6699a96138392d1c94b87908b4e0f117b4af
link
/test istio-unit-tests

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

@gyliu513: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
b3163f5d3d20d956557c09a3626970a55b01b3c1
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/istio-unit-tests.sh
21dc6699a96138392d1c94b87908b4e0f117b4af
link
/test istio-unit-tests

prow/e2e-simpleTests.sh
21dc6699a96138392d1c94b87908b4e0f117b4af
link
/test e2e-simple

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

@gyliu513: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
21dc6699a96138392d1c94b87908b4e0f117b4af
link
/test istio-unit-tests

prow/e2e-simpleTests.sh
21dc6699a96138392d1c94b87908b4e0f117b4af
link
/test e2e-simple

prow/e2e-bookInfoTests-v1alpha3.sh
21dc6699a96138392d1c94b87908b4e0f117b4af
link
/test e2e-bookInfo-envoyv2-v1alpha3

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

The Kiali PR at https://github.com/istio/istio/pull/7967#pullrequestreview-147021943 got approved by @douglas-reid , seems we agree on this approach.
@douglas-reid @costinm can you help check if we can merge this as well?

@gyliu513: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
21dc6699a96138392d1c94b87908b4e0f117b4af
link
/test e2e-simple

prow/e2e-bookInfoTests-v1alpha3.sh
21dc6699a96138392d1c94b87908b4e0f117b4af
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-unit-tests.sh
5a81549975e015f935bbde072d5f6638194138e7
link
/test istio-unit-tests

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

@gyliu513: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests-v1alpha3.sh
21dc6699a96138392d1c94b87908b4e0f117b4af
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-unit-tests.sh
5a81549975e015f935bbde072d5f6638194138e7
link
/test istio-unit-tests

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
5a81549975e015f935bbde072d5f6638194138e7
link
/test istio-pilot-e2e-envoyv2-v1alpha3

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

@gyliu513: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
5a81549975e015f935bbde072d5f6638194138e7
link
/test istio-unit-tests

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
5a81549975e015f935bbde072d5f6638194138e7
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests-v1alpha3.sh
5a81549975e015f935bbde072d5f6638194138e7
link
/test e2e-bookInfo-envoyv2-v1alpha3

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

@gyliu513: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
5a81549975e015f935bbde072d5f6638194138e7
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests-v1alpha3.sh
5a81549975e015f935bbde072d5f6638194138e7
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-unit-tests.sh
dbcee793011ce86cabf6310c0e09b79e9fbe8380
link
/test istio-unit-tests

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

@gyliu513: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests-v1alpha3.sh
5a81549975e015f935bbde072d5f6638194138e7
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-unit-tests.sh
dbcee793011ce86cabf6310c0e09b79e9fbe8380
link
/test istio-unit-tests

prow/e2e-mixer-no_auth.sh
dbcee793011ce86cabf6310c0e09b79e9fbe8380
link
/test e2e-mixer-no_auth

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

@gyliu513: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
dbcee793011ce86cabf6310c0e09b79e9fbe8380
link
/test istio-unit-tests

prow/e2e-mixer-no_auth.sh
dbcee793011ce86cabf6310c0e09b79e9fbe8380
link
/test e2e-mixer-no_auth

prow/e2e-bookInfoTests-v1alpha3.sh
dbcee793011ce86cabf6310c0e09b79e9fbe8380
link
/test e2e-bookInfo-envoyv2-v1alpha3

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

/test e2e-bookInfo-envoyv2-v1alpha3

/test e2e-mixer-no_auth

@gyliu513: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
dbcee793011ce86cabf6310c0e09b79e9fbe8380
link
/test istio-unit-tests

prow/e2e-bookInfoTests-v1alpha3.sh
dbcee793011ce86cabf6310c0e09b79e9fbe8380
link
/test e2e-bookInfo-envoyv2-v1alpha3

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

/retest

@gyliu513: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
dbcee793011ce86cabf6310c0e09b79e9fbe8380
link
/test istio-pilot-multicluster-e2e

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

@gyliu513 not sure if a 1.0.6 is planned, but if so, could you backport your fix to release-1.0?
Cheers
-steve


LoadProhibited at _IotMqtt_ScheduleOperation

Hi,
I am using amazon-freertos as library in my esp32 project, and currently developing OTA feature using OTA agent. Basically i am reproduce the aws_iot_ota_update_demo.c in my main code everything good (wifi connection, initialize tls) until the code arrive at _IotMqtt_ScheduleOperation in iot_mqtt_api.c as log below:
I (512) boot: Loaded app from partition at offset 0x20000
I (513) boot: Disabling RNG early entropy source...
I (513) cpu_start: Pro cpu up.
I (517) cpu_start: Application information:
I (521) cpu_start: Project name:     demo
I (527) cpu_start: App version:      1
I (532) cpu_start: Compile time:     Apr 15 2021 13:39:16
I (538) cpu_start: ELF file SHA256:  cdddc9be6ad56c09...
I (544) cpu_start: ESP-IDF:          v4.2-12-g3388b409c-dirty
I (550) cpu_start: Single core mode
I (555) heap_init: Initializing. RAM available for dynamic allocation:
I (561) heap_init: At 3FF80000 len 00002000 (8 KiB): RTCRAM
I (568) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (574) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (580) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (586) heap_init: At 3FFC84B8 len 00017B48 (94 KiB): DRAM
I (592) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
I (599) heap_init: At 40078000 len 00008000 (32 KiB): IRAM
I (605) heap_init: At 40095C28 len 0000A3D8 (40 KiB): IRAM
I (611) cpu_start: Pro cpu start user code
I (629) spi_flash: detected chip: generic
I (629) spi_flash: flash io: dio
I (630) cpu_start: Starting scheduler on PRO CPU.
0 1 [main] Initializing lwIP TCP stack
1 1 [main] [INFO ][MAINAPP][10] Firmware version: v0.1.0
I (658) PKCS11: Initializing NVS partition: "storage"
E (668) PKCS11: failed nvs get file size 4354 0
2 3 [main] Write certificate...
9 [main] Success Created task
I (748) wifi:wifi driver task: 3ffb962c, prio:23, stack:6656, core=0
I (748) system_api: Base MAC address is not set
I (748) system_api: read default base MAC address from EFUSE
I (758) wifi:wifi firmware version: 1865b55
I (758) wifi:wifi certification version: v7.0
I (758) wifi:config NVS flash: enabled
I (758) wifi:config nano formating: disabled
I (768) wifi:Init data frame dynamic rx buffer num: 32
I (768) wifi:Init management frame dynamic rx buffer num: 32
I (778) wifi:Init management short buffer num: 32
I (778) wifi:Init dynamic tx buffer num: 32
I (788) wifi:Init static rx buffer size: 1600
I (788) wifi:Init static rx buffer num: 10
I (798) wifi:Init dynamic rx buffer num: 32
I (798) wifi_init: rx ba win: 6
I (798) wifi_init: tcpip mbox: 32
I (808) wifi_init: udp mbox: 6
I (808) wifi_init: tcp mbox: 6
I (808) wifi_init: tcp tx win: 5744
I (818) wifi_init: tcp rx win: 5744
I (818) wifi_init: tcp mss: 1440
I (828) wifi_init: WiFi IRAM OP enabled
I (828) wifi_init: WiFi RX IRAM OP enabled
5 19 [iot_thread] [INFO ][WIFI_MANAGER][190] Credential OK, connecting...
I (928) phy: phy_version: 4500, 0cd6843, Sep 17 2020, 15:37:07, 0, 0
I (928) wifi:mode : sta (3c:61:05:3d:de:7c)
I (928) WIFI: SYSTEM_EVENT_STA_START
I (1058) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1
I (1598) wifi:state: init -> auth (b0)
I (1608) wifi:state: auth -> assoc (0)
I (1618) wifi:state: assoc -> run (10)
I (1688) wifi:connected with samuelbles.com, aid = 3, channel 1, BW20, bssid = 3c:84:6a:3a:9a:7a
I (1698) wifi:security: WPA2-PSK, phy: bgn, rssi: -67
I (1698) wifi:pm start, type: 1

I (1698) WIFI: SYSTEM_EVENT_STA_CONNECTED
I (1798) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (2658) esp_netif_handlers: sta ip: <IP_ADDRESS>, mask: <IP_ADDRESS>, gw: <IP_ADDRESS>
I (2658) WIFI: SYSTEM_EVENT_STA_GOT_IP
6 201 [sys_evt] [INFO ][MAINAPP][2010] _wifiEventHandler called!
7 201 [sys_evt] [INFO ][MAINAPP][2010] Connected to WiFi access point, ip address: <IP_ADDRESS>.
31 1252 [iot_thread] [INFO ][MAINAPP][12520] starting ota manager
32 1252 [iot_thread] [INFO ][OTA_MANAGER][12520] Start initialize OTA_MANAGER connection
33 1252 [iot_thread] [INFO ][MQTT][12520] MQTT library successfully initialized.
34 1252 [iot_thread] [INFO ][OTA_MANAGER][12520] Attempt connection to mqtt broker
35 1252 [iot_thread] [INFO ][OTA_MANAGER][12520] MQTT client identifier is TEST (length 11).
E (13678) PKCS11: failed nvs get file size 4354 0
40 1601 [iot_thread] [INFO ][MQTT][16010] Establishing new MQTT connection.
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x4008a9ba  PS      : 0x00060030  A0      : 0x80089929  A1      : 0x3ffb4c10
0x4008a9ba: vListInsert at /Users/inventory-1/Project/build/../freertos/freertos_kernel/list.c:163 (discriminator 1)

A2      : 0x3ffc33a0  A3      : 0x3ffb8060  A4      : 0x3ffbd924  A5      : 0x00000000
A6      : 0x00000001  A7      : 0x00000000  A8      : 0x00000000  A9      : 0x3ffc33a8
A10     : 0x00000000  A11     : 0x00000014  A12     : 0x00000000  A13     : 0x00000000
A14     : 0x3ffbd998  A15     : 0x00000001  SAR     : 0x00000010  EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000  LBEG    : 0x4000c349  LEND    : 0x4000c36b  LCOUNT  : 0xffffffff

Backtrace:0x4008a9b7:0x3ffb4c10 0x40089926:0x3ffb4c30 0x4008917f:0x3ffb4c50 0x400e17a6:0x3ffb4c90 0x400e17c1:0x3ffb4cb0 0x400dd989:0x3ffb4cd0 0x400dd9dd:0x3ffb4cf0 0x400d75dc:0x3ffb4d20 0x400d66f2:0x3ffb4d50 0x400d599e:0x3ffb4da0 0x400d5a33:0x3ffb4e30 0x400d3481:0x3ffb4e50 0x400e1699:0x3ffb4ed0 0x40087e01:0x3ffb4ef0
0x4008a9b7: vListInsert at /Users/inventory-1/Project/build/../freertos/freertos_kernel/list.c:163

0x40089926: vTaskPlaceOnEventList at /Users/inventory-1/Project/build/../freertos/freertos_kernel/tasks.c:3098 (discriminator 2)

0x4008917f: xQueueSemaphoreTake at /Users/inventory-1/Project/build/../freertos/freertos_kernel/queue.c:1612

0x400e17a6: prIotMutexTimedLock at /Users/inventory-1/Project/build/../freertos/libraries/abstractions/platform/freertos/iot_threads_freertos.c:197

0x400e17c1: IotMutex_Lock at /Users/inventory-1/Project/build/../freertos/libraries/abstractions/platform/freertos/iot_threads_freertos.c:207

0x400dd989: IotTaskPool_Schedule at /Users/inventory-1/Project/build/../freertos/libraries/c_sdk/standard/common/taskpool/iot_taskpool.c:708 (discriminator 2)

0x400dd9dd: IotTaskPool_ScheduleDeferred at /Users/inventory-1/Project/build/../freertos/libraries/c_sdk/standard/common/taskpool/iot_taskpool.c:748

0x400d75dc: _IotMqtt_ScheduleOperation at /Users/inventory-1/Project/build/../freertos/libraries/c_sdk/standard/mqtt/src/iot_mqtt_operation.c:1278 (discriminator 2)

0x400d66f2: IotMqtt_Connect at /Users/inventory-1/Project/build/../freertos/libraries/c_sdk/standard/mqtt/src/iot_mqtt_api.c:1304 (discriminator 2)

0x400d599e: _establishMqttConnection at /Users/inventory-1/Project/build/../components/ota_manager/src/ota_manager.c:127

0x400d5a33: OTA_MANAGER_init_connection at /Users/inventory-1/Project/build/../components/ota_manager/src/ota_manager.c:171

0x400d3481: MainAppTask at /Users/inventory-1/Project/build/../src/main.c:220

0x400e1699: _threadRoutineWrapper at /Users/inventory-1/Project/build/../freertos/libraries/abstractions/platform/freertos/iot_threads_freertos.c:85

0x40087e01: vPortTaskWrapper at /Users/inventory-1/Project/build/../freertos/freertos_kernel/portable/ThirdParty/GCC/Xtensa_ESP32/port.c:154

I am confused, what would be the problem?
Thank you!

@samuelbles07 This error usually indicates some type of memory corruption.
Please look over the FAQ (item 12 specifically).
Inside the vListInsert function, there is also a block comment, which I've pasted below:
		If you find your application is crashing here then likely causes are:
			1) Stack overflow -
			   see http://www.freertos.org/Stacks-and-stack-overflow-checking.html
			2) Incorrect interrupt priority assignment, especially on Cortex-M3
			   parts where numerically high priority values denote low actual
			   interrupt priories, which can seem counter intuitive.  See
			   configMAX_SYSCALL_INTERRUPT_PRIORITY on http://www.freertos.org/a00110.html
			3) Calling an API function from within a critical section or when
			   the scheduler is suspended.
			4) Using a queue or semaphore before it has been initialised or
			   before the scheduler has been started (are interrupts firing
			   before vTaskStartScheduler() has been called?).
		See http://www.freertos.org/FAQHelp.html for more tips.

@samuelbles07 Were you able the issue in this post?


not working with bigger size file

I tried with another mp4 file with bigger size, but the job won't running..

@permanart you found some solution for this? and what size and duration of files you tried ?

https://forums.aws.amazon.com/thread.jspa?threadID=222747
"It turns out, I was setting the event as ObjectCreated:Put, whereas I needed to use ObjectCreated:CompleteMultipartUpload. To capture other forms of upload, I settled with ObjectCreated:*"
When creating the trigger, not only PUT is enough. The converter still managed a 10 MB file, but larger files no longer. After that the setting in the trigger had to be set to "ObjectCreated" and it worked.


org document for 80000 hours

https://eaforum.issarice.com/posts/ayzEiBgnnHX7DADwD/working-at-ea-organizations-series-80000-hours

This file has 70 positions backed with Wayback Machine urls.

I created this file a while ago . To date, it has 70 positions. URLs were taken from both Wayback Machine and LinkedIn. I need to do a revision in case there are some more people in this org. Not ready for review.


24 hour time format

Detailed Description
Please can you enable support for 24H the format for the Mac Desktop app (ideally just replicate whatever the system is currently using). It already works on iOS ;-)

Context

Some people have issues figuring am/pm out.. :-)
Possible Implementation

Your Environment

Zap version:
Operating System and version:

Closed via https://github.com/LN-Zap/zap-desktop/pull/3688


Variables / Dynamic content

From Xerte Conference Developers Day

& from Community Wish List:
"An aspect of Xerte where I think there is potential is the capacity to store and work with data entries within a Xerte session. So, the ability to easily incorporate interactive content selection widgets and simple data/text entry elements, where the entries could be stored and used within a session.
Extending this idea to being able to export data out of Xerte and import it from other external applications, e.g., Google forms and spreadsheets. I’m not sure how the well developed the Xerte API is to be able to do this. The idea being that it creates the ability to exploit other specialist external apps and would make their use more seamless when embedded into Xerte.
Taking this even further, the capability to store data between Xerte sessions. So, a learner is presented with a means of identifying themselves and previous data collected could be retrieved (perhaps from Google spreadsheet) - perhaps automatically interface or build-in some kind of database to automatically store Xerte session data."

Closing as this was one of the many issues / new feature requests added during a dev day years ago. Feel free to reopen but it seems like Tom's tracking work as well as variables functionality covers a lot of this.


Upload images to firebase on form submit

I'm building a small web app (blog post alike) using AngularJs and Firebase. i implemented the addPost controller earlier and it worked good. After i wanted to add an input file inside the form which already implemented to upload images to firebase on form submit using ng-file-upload directive . As a new in angular i knew that firebase can save images as base64 but i couldn't figur out how to make it work. Maybe some will say that its repeated question, but believe me i searched allover here i couldent find answer.
Here is my form file :

    <form class="form-horizontal" ng-submit="AddPost(files)">
        <fieldset>

            <legend>Create Post</legend>

                Title

                    <input id="txtTitle" name="txtTitle" ng-model="article.title" type="text" placeholder="placeholder" class="form-control input-md">

                Post

                    <textarea class="form-control" id="txtPost" ng-model="article.post" name="txtPost"></textarea>

                Add Pictures

                    <input id="pictures" type="file" ngf-select ng-model="files"  name="file"
                      accept="image/*" ngf-max-size="2MB" ngf-multiple="true" ngf-keep="true" ngf-keep-distinct="true" class="btn btn-primary"/>

                        <button class="btn btn-danger" ng-click="file = null" ng-show="file">Remove</button>

                    <input id="singlebutton" ng-disabled="!article.title || !article.post" name="singlebutton" class="btn btn-primary" type="submit" value="Publish" />

        </fieldset>
    </form>

here is my controller :
angular.module('myApp.addPost', ['ngRoute'])
.controller('AddPostCtrl', ['$scope','CommonProp','$firebase','$location','Upload','$timeout', function($scope,CommonProp,$firebase,$location,Upload,$timeout) {
if(!CommonProp.getUser()){
$location.path('/main');
}
/***** Add data to firebase *****/
$scope.AddPost = function(files) {
        var fb = new Firebase("https://hotelboard.firebaseio.com/Articles/");

        var title = $scope.article.title;
        var post  = $scope.article.post;
        var user  = CommonProp.getUser();
        var images = $scope.file ;
        fb.push({
            title:     title,
            post:      post,
            emailId:   user,
            images : images,
            '.priority': user

        },function(error) {
            if (error) {
                console.log("Error:",error);
            } else {
            console.log("Post set successfully!");
            console.log($scope.file);
            $location.path('/home');
            $scope.$apply();

        }

    });

}

}]);
and here is my GitHub for full project files
https://github.com/SaidThaher/HotelApp
If i get help with this issue , it will be more question regards to the result. PLEASE HELP

Upgrade to 8.0.6 and move your fb push here:
Upload.base64DataUrl(files).then(function(base64Urls) {
  fb.push({...
            images : base64Urls,
        },...
});

@danialfarid Thank you very much,, worked like charm.

Hi again.
I try to implement if statement if the user not choose file it will send null to firebase which mean nothing will pushed for images . the first part where files==undefined worked, but i couldent get the base64Urls from the function and save it to images to push it to firebase:
'use strict';
angular.module('myApp.addPost', ['ngRoute'])
.controller('AddPostCtrl', ['$scope','CommonProp','$firebase','$location','Upload','$timeout', function($scope,CommonProp,$firebase,$location,Upload,$timeout) {
if(!CommonProp.getUser()){
$location.path('/main');
}
/***** Add data to firebase *****/
$scope.AddPost = function(files) {
var fb = new Firebase("https://hotelboard.firebaseio.com/Articles/");
var images ;
		if (files == undefined){
			 images = null;
			 console.log(files);
			console.log(images);
		}else{

			images = Upload.base64DataUrl(files).then(function(base64Urls){
				images = base64Urls;
			})

		}
			console.log(files);
			console.log(images);

		var title = $scope.article.title;
		var post  = $scope.article.post;
		var user  = CommonProp.getUser();
		//var images = Upload.base64DataUrl(files).then(function(base64Urls){
		fb.push({
			title:     title,
			post:      post,
			emailId:   user,
			images : images,
			'.priority': user

		},function(error) {
			if (error) {
				console.log("Error:",error);
			} else {
			console.log("Post set successfully!");
			$location.path('/home');
			$scope.$apply();

		}

	});

//});

//}
}
}]);
in the second log after files been selected i got this results and errors:
[File]0: Filelength: 1__proto__: Array[0]
addPost.js:28 Promise {$$state: Object}$$state: Object__proto__: Promise
angular.js:12416 Error: Firebase.push failed: first argument  contains an invalid key ($$state) in property 'Articles.images'.  Keys must be non-empty strings and can't contain ".", "#", "$", "/", "[", or "]"
at Error (native)
at http://localhost:8000/app/bower_components/firebase/firebase.js:130:18
at ib (http://localhost:8000/app/bower_components/firebase/firebase.js:20:569)
at Wf (http://localhost:8000/app/bower_components/firebase/firebase.js:129:424)
at http://localhost:8000/app/bower_components/firebase/firebase.js:130:166
at ib (http://localhost:8000/app/bower_components/firebase/firebase.js:20:569)
at Wf (http://localhost:8000/app/bower_components/firebase/firebase.js:129:424)
at Vf (http://localhost:8000/app/bower_components/firebase/firebase.js:128:438)
at U.push (http://localhost:8000/app/bower_components/firebase/firebase.js:252:102)
at Scope.$scope.AddPost (http://localhost:8000/app/js/addPost.js:35:7)(anonymous function) @ angular.js:12416ident.$get @ angular.js:9203parent.$get.Scope.$apply @ angular.js:15983(anonymous function) @ angular.js:23376eventHandler @ angular.js:3293

Hey guys, i have my image in firebase, but how i can decoded to show it in my view, i have this in Firebase:

myNode

-K6Z1dsT7Ha9t-m20NXL

images

0: "data:image/jpeg;base64,/9j/4Ru+RXhpZgAATU0AKgAA..."

in my view i have:

And in response i receive this message:
GET data:image/jpeg;base64,["data:image/jpeg;base64,/9j/4Ru+RXhpZgAATU0AKgAAAAg…U5Psv4fVf8Wv/gZQ/wDPQaf8xkb/AOw/3n/efbXbrPw8R/F8+kTeP9bF/afA3++vVOv/2Q=="] net::ERR_INVALID_URL

ngf-src or ngf-thumbnail="response[0]"

i keep getting reference error : undefined file

Thank YOu for the great question but @danialfarid  how can i retrieve the value from firebase because if have done that am am receiveing alot bunch of error in my console...
please a clearer code will be more appreciated .
thank you for you time

post it on SO this is a question not an issue.

please whats the meaning of SO

www.stackoverflow.com tag your question with ng-file-upload.


add log collector creds secret to role

The bigdata-spark-watcher needs to be able to access the creds for the log collector s3 bucket
Jira Ticket
BGD-4392
Checklist:

[x] I have filled relevant self assessment (NodeJS, Frontend, Backend)
[x] I have run ESlint on my changes and fixed all warnings and errors (NodeJS & Frontend Services)
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have validated all the requirements in the Jira task were answered
[x] I have all neccessary approvals for the design/mini design of this task
[ ] I have approved the API changes and granular permission patterns (documentation subtask) (For public services only)

bump chart version https://github.com/spotinst/bigdata-charts/blob/ab3ba862e0d94a0afc6673fe108873c5195846a6/charts/bigdata-spark-watcher/Chart.yaml#L6


[log]2024/04/03

Not everything can be written freely.
Issues

BIZ UDPGothic 良い
https://fonts.google.com/specimen/BIZ+UDPGothic


Problem to use apache2 as reverse proxy

Hello all,
i use Univention UCS (Debian) as applicationserver with docker CT's. On that apache2 is the default for all docker containers. So for example vaultwarden and the second one jdownloader.
ProxyPass /vaultwarden http://<IP_ADDRESS>:40050/ retry=0
ProxyPassReverse /vaultwarden http://<IP_ADDRESS>:40050/

ProxyPass / http://<IP_ADDRESS>:5800/ retry=0
ProxyPassReverse /jdownloader http://<IP_ADDRESS>:5800/

But if i open the url "https://app.tux.lan/jdownloader" i get the error that the site is not available. What i'am doing wrong? Here is my dockcommand:
docker run -d -e UMASK=000 -e DARK_MODE=1 -e MYJDOWNLOADER_DEVICE_NAME=Appserver -e KEEP_APP_RUNNING=1 -e LANG=de_DE.UTF-8  -e TZ=Europe/Vienna --name=jdownloader-2 -p 5800:5800 -v /docker/appdata/jdownloader-2:/config:rw -v /mnt/Downloads/JDOWNLOADER:/output:rw jlesage/jdownloader-2
But i can open "http://app.tux.lan:5800"
Very thanks :)

i get the error that the site is not available

What is the error exactly ?  Nothing is loaded ?

I have now install an fresh Ubuntu 22.04 with up2date docker from docker website and i use now nginx as reverse proxy. Now it work fine :+1:


Angular Universal

I am trying to use this plugin in an app which uses Angular Universal. However it tells me document is not defined (which is expected). I would like to request a fix to this issue.

The fastest way is to take a look yourself and create a pull request 👍

Hi, a possible solution in Angular Universal is to use dynamic imports:
if (isPlatformBrowser(this.platformId)){
  import('plyr').then(
    (plyr) => (this.plyr = new plyr.default(this.elementRef.nativeElement))
  );
}

This code will make Plyr available only in the browser, while ensuring that Angular Universal works correctly.


Fixed website links to point to stable release docs

Issue #, if available:
Description of changes:

Updated autogluon.mxnet.io -> auto.gluon.ai
Updated links to point to /dev/ or /stable/ appropriately, instead of root.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-749-1 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-749/1/index.html

In the docs navbar, should we change "Nightly Version Documentation" -> "Dev Version Documentation"?
It is referred to as dev version everywhere else.

In the docs navbar, should we change "Nightly Version Documentation" -> "Dev Version Documentation"?
It is referred to as dev version everywhere else.

Updated to 'Dev'

Job PR-749-2 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-749/2/index.html


Modal visiblity binding fixes

Only attempt to set the visibility value if the binding is a function and isn't a ko.computed(). Otherwise errors are thrown at runtime.

Thanks for contribution!


FPutObject functional test fails with "Request context cancellation failed"

Ran minio-go (release 4.0.3) functional tests using mint Docker build, with Nov 17th minio release, minio.RELEASE.2017-11-17T01-22-21Z, in fs mode with HTTPS with (self signed certificate), and FPutObject api command test failed.
Here is the captured  json information:
{
  "alert": "",
  "args": {
    "bucketName": "minio-go-testarssrtynmdgrt9h1v",
    "ctx": {
      "Context": 0
    },
    "fileName": "",
    "objectName": "minio-go-testarssrtynmdgrt9h1vFPutObjectWithContext",
    "opts": ""
  },
  "duration": 9,
  "function": "FPutObject(bucketName, objectName, fileName, opts)",
  "message": "Request context cancellation failed",
  "name": "minio-go",
  "status": "fail"
}

Does this only happen with self signed certificate ?

It would be better to provide the full command line of mint used here as well.

looks like this issue is not related to anything self signed or https, it is related to how fast the context-timeout is occurring.
  // Set base object name
         objectName := bucketName + "FPutObjectWithContext"
         args["objectName"] = objectName
         ctx, cancel := context.WithTimeout(context.Background(), 10*time.Millisecond) ---> Here!!
         args["ctx"] = ctx
         defer cancel()

         // Perform standard FPutObjectWithContext with contentType provided (Expecting application/octet-stream)
         _, err = c.FPutObjectWithContext(ctx, bucketName, objectName+"-Shorttimeout", fName, minio.PutObjectOptions{ContentType: "application/octet-stream"})
         if err == nil {
                 logError(function, args, startTime, "", "Request context cancellation failed", err)
                 return
         }

It would seem like 10*time.Millisecond is not enough

Interesting enough when i run this against a server a bit remotely then all things work fine. looks like the problem is 10*millisecond is not enough, but that is a bit strange though :-)
A fix is simply just reducing this value to like 1 millisecond etc.

Ran this now against different filesystems lets say works fine
minio server /tmp/test

Where as always fails.
minio server ~/test

The reason for this test was to introduce a new delay which might be greater than 10 millisecond, so looks like it did help.
Here is my final output
docker run --net=host -e SERVER_ENDPOINT=<IP_ADDRESS>:9000 -e ACCESS_KEY=USWUXHGYZQYFYFFIT3RE -e SECRET_KEY=MOJRH0mkL1IPauahWITSVvyDrQbEEIwljvmxdq03 minio/mint
Running with
SERVER_ENDPOINT: <IP_ADDRESS>:9000
ACCESS_KEY:      USWUXHGYZQYFYFFIT3RE
SECRET_KEY:      ***REDACTED***
ENABLE_HTTPS:    0
SERVER_REGION:   us-east-1
MINT_DATA_DIR:   /mint/data
MINT_MODE:       core

To get logs, run 'sudo docker cp 1f3bf207f862:/mint/log /tmp/mint-logs'
(1/10) Running aws-sdk-go tests ... done in 0 seconds
(2/10) Running aws-sdk-php tests ... done in 41 seconds
(3/10) Running aws-sdk-ruby tests ... done in 1 seconds
(4/10) Running awscli tests ... done in 27 seconds
(5/10) Running mc tests ... done in 4 seconds
(6/10) Running minio-go tests ... done in 19 seconds
(7/10) Running minio-java tests ... done in 6 seconds
(8/10) Running minio-js tests ... done in 20 seconds
(9/10) Running minio-py tests ... done in 11 seconds
(10/10) Running s3cmd tests ... done in 7 seconds

All tests ran successfully

I would suggest we do not keep this as blocker for server release and proceed forward, since this is not a show stopper issue or neither a server bug.

Great. Thank you @harshavardhana for the fix.
By the way, I see similar timeout in fs and xl modes with https.
Both timeouts are the same, although different than the original error this issue is filed for; Request context cancellation failed.
The new timeout happens at testFGetObjectWithContext test in fs mode (https) with error msg: FGetObjectWithContext call with short request timeout failed.

All timeout related code has been fixed and sent as a PR.


[Bug] Fix Onboarding Flow for Homepage Experience

Fix Onboarding Flow for Homepage Experience since the current flow does not work for new users.

fixed and merged in release. Hence closing the ticket


Why if reopen the model which I added several minutes ago the model is blocked ?

In Laravel 10 / nova 4.27 app I added "mateusz-peczkowski/nova-heartbeat-resource-field": "^1.0"
and added in resource :
            Tabs::make(__('Product'), [
                Tab::make(__('Product details'), [
                    ID::make()->sortable()->readonly(),
                    Hidden::make('user_id')->default(LoggedUserFacade::getLoggedUserId()),
                    NovaHeartbeatResourceField::make('Heartbeat')
                        ->resourceId($this->id)->allowRetake(),

                    Hidden::make('sku')->default(Str::orderedUuid()),

This plugin works ok, but I found that if reopen the model which I added several minutes ago(under the same account) the model is blocked :
https://prnt.sc/1aFC0BXrrKP9
That is not correct. Can it be fixed ?

Hello,
I apologize for the delayed response. I did not receive a GitHub notification regarding your issue.
It appears that you have not implemented the recommended action, which is to clear expired heartbeats. To do this, you can use the following code:
$schedule->command(‚heartbeat:clear-expired’)->everyMinute();

In your case, the beacon that you have created is not „expiring.” This is why you need to schedule this command and use cron to ensure that it runs regularly.
Additionally, the beacon should be cleared when you leave the resource editing mode. However, it should not be cleared when you close the tab or perform any other actions during editing, as this would prevent me from catching your changes. Therefore, it is necessary to use the „clear-expired” command to ensure that the beacon is cleared when you leave the editing mode.
Hope it help you :)

Btw. I saw on your screenshot that your avatar is different (heartbeat vs top right corner) ;) You can publish the config file:
php artisan vendor:publish --provider="MateuszPeczkowski\NovaHeartbeatResourceField\HeartbeatResourceServiceProvider"

And then update heartbeat_avatar_url to match yours :)


The errors occur at the SSL Connection creation are hidden

Description:
Experience the $subject during the https://github.com/ballerina-platform/ballerina-standard-library/issues/2873 and Netty update to 4.1.86.
Even-though the connection creation is not succeeded, the hander returns a connection. Hence the error occures during the runtime without proper error message.
Steps to reproduce:
import ballerina/http;

service / on new http:Listener(9090) {
    resource function get greeting() returns string|error {
         final http:Client clientEndpoint = check new ("https://run.mocky.io/v3/164eda0f-9980-4aa1-9e09-94d8ac6ca6e0");
         json resp = check clientEndpoint->get("/");
         return "Resp: " + resp.toBalString();
    }
}

Affected Versions:
Update 2

Tried reproducing the issue mentioned above. Used the same code sample and ran it locally as well as in a docker environment.
The code sample used,
import ballerina/http;

service / on new http:Listener(9090) {
    resource function get greeting() returns string|error {
        final http:Client clientEndpoint = check new ("https://run.mocky.io/v3/164eda0f-9980-4aa1-9e09-94d8ac6ca6e0",
                secureSocket = {
                    cert: "/home/ballerina/test/public.crt"
                }
        );
         json resp = check clientEndpoint->get("/");
         return "Resp: " + resp.toBalString();
    }
}

Copied a wrong certificate to the docker image and used it in the code.
used commands
To build the docker image,
bal build --cloud="docker"
Run the docker image
docker run -p 9090:9090 -p 9091:9091  -v $(pwd)/public.crt:/home/ballerina/test/public.crt test_ssl:latest
Invoke the service
curl -v http://localhost:9090/greeting
Response
> GET /greeting HTTP/1.1
> Host: localhost:9090
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 500 Internal Server Error
< content-type: text/plain
< content-length: 120
< server: ballerina
< date: Mon, 20 Feb 2023 12:29:54 GMT
<
* Connection #0 to host localhost left intact
SSL connection failed:javax.net.ssl.SSLHandshakeException: General OpenSslEngine problem run.mocky.io/<IP_ADDRESS>:443* Closing connection 0

Server log
error: SSL connection failed:javax.net.ssl.SSLHandshakeException: General OpenSslEngine problem run.mocky.io/<IP_ADDRESS>:443
It shows the SSL error logs as given above. Agreeing that it doesn't provide a detailed explanation of the error. Unlike running on JDK SSL when using Open SSL this is the maximum we get as the error message.


memory leak in both fwd and inverse transforms

import numpy as np
import pyct as ct

img = np.random.rand(128,128)
A = ct.fdct2((128,128), 4, 16, False, norm=False, cpx=False)
c = np.random.rand(49577) #length of coeffs for 128x128 image

def check_leak_fwd(A, img):
  coeffs = np.zeros(49577)
  for i in range(5000):
    coeffs = A.fwd(img)

  return

def check_leak_inv(A, c):
  img = np.zeros((128, 128))
  for i in range(5000):
    img = A.inv(c)

  return

if __name__=='__main__':
  check_leak_inv(A, c)

If you observe "free -h" on Ubuntu 18.04 with kernel 4.15.0-76-generic running python 3.6.8 while running the above file, you can clearly observe memory leak.
If you have memory_profiler installed you can also run mprof run --include-children python <filename> and confirm the leak. I also see the leak in Python2.

I'm having the same problem with Python 3.8.2 on Pop!_OS 20.04 LTS. I'll try to debug the problem further and see if I can learn anything useful.

It looks like fdct2.fwd (defined in fdct2.py) calls fdct2_wrapper (defined in fdct2_wrapper.py) which calls _fdct2_wrapper.fdct2_wrapper, at which point the memory leak occurs. It looks like _fdct2_wrapper is a module imported from _fdct2_wrapper.cpython-38-x86_64-linux-gnu.so (a shared object file). I'm not familiar with the build steps for this project or how this file was generated, and I don't have experience debugging memory leaks in compiled code, so I'm stuck for now.

Nevermind. It turns out my input array was just too large. My computer ran out of memory when I called fdct2.fwd on a 16384x16384 array but it worked fine when I called it on a 512x512 array. I should have checked the size of the image I was working with.


Documentation changes

Add the following sessions in phoenix:

SVG logo of phoenix at top bar (logo SVG attached).
Discord icon at top right pointing to URL: https://discord.com/invite/rBpTBPttca

Copyright © core.ai 2022 All rights reserved at bottom left
Change main doc text and link to AGPL licence

Add the following placeholder documents

Quick start under Getting started menu
Live preview under docs
Extensions API under API

Icons
Phoenix, discord attached file below
icons.zip

Thanks @dhruvpeter for the chanegs
LGTM Merging
Rending things:
Hyperlink the following

Quick Start to http://.../docs/prologue/quick-start/
Live Preview to to http://.../docs/livePreview/
Extensions API to http://.../api/

Thanks, @dhruvpeter for the changes.
For some URLs we are getting 404, can we have a blank document in that location too.

All document changes mentioned are done.

Verified done. Closing.
Thanks @dhruvpeter


GM sends nonzero gas while preEnabled

Describe the bug
GM's carcontroller sends nonzero gas in the preEnable state, i.e. gas is commanded despite the user's foot being on the brake pedal. This is due to only checking if CC.longActive == True, even though this may be the case while CS.brakePressed == True (in other words, while pre-enabled).
I haven't looked closely into if/how OP handles the preEnable state for other makes, but I believe that this has not been reported earlier because many GM vehicles have their minEnableSpeed set unnecessarily high, despite most being capable of enabling from zero.
This contributes to, though is not the sole cause of, the cruise fault we see when enabling from standstill-- the ECM faults if gas or brake commands are sent while user brake is active.
Allowing nonzero gas while user brake is pressed appears to be the root cause on the openpilot side of the same safety issue that I observed a few months ago.
Which car does this affect?
Chevrolet Volt 2018
Provide a route where the issue occurs
806907cd33ef2647|2023-06-24--09-43-33
openpilot version
0.9.2
Additional info
This bug affects the Acadia, Escalade and Escalade ESV in release. The enable speed is set unnecessarily high on most other GM vehicles, including my own, so I had to lower it in order to reproduce the issue. (I suppose I could have achieved the same result by manually fingerprinting as one of those.) I also needed to remove the dashcam flag, since the dashcamOverride param was removed in https://github.com/commaai/openpilot/pull/27509. This is why git is dirty in the route I uploaded.

Can you get a route with the stock system (ASCM activated) and in dashcam mode when it does in these situations:

coming to a stop while enabled
enabling behind a car with foot on brake

my guess is it applies brakes with your foot on brake, if it didn't you may roll forward or backward on hills

https://github.com/commaai/openpilot/pull/25453 also accounts for this + brakes earlier. Right now we don't brake until we get to -1 m/s^2 which means the car will likely roll forward if you took your foot off the brake after engaging.

This does not affect the Acadia, quite possibly only Volt is affected, but also having @twilsonco test to make sure it's not related to the re-flashed ECM.

Here's a route showing this error several times in the Volt. Reproduce error by pressing set or resume while stopped with foot on brake. It also faulted once when I tried to engage without brakes pressed but on a steep incline where it wasn't creeping. Release brake pedal and set/release will engage property so long as there's any amount of forward velocity is seems. @sshane @nworb-cire
https://connect.comma.ai/c11fcb510a549332/1687963320196/1687963569703

@sshane Not only https://github.com/commaai/openpilot/pull/25453 but also https://github.com/commaai/openpilot/pull/25485 will help with this issue. The latter will help with it being able to engage from 0 on inclines.

They are both unrelated to this issue, but the first correctly matches GM camera ACC behavior of requesting brake at low speeds earlier, which happens to fix this fault.

Now we just need one more test where gas is always inactive to make sure it doesn't fault and that it is the cause.
I have done this previously and there is no fault if INACTIVE_REGEN is continually sent.

I was thinking, perhaps this issue is more general than just GM. On all makes, while the vehicle is stationary, and until it receives the CruiseControl.resume command, should the long controller not always send CP.stopAccel as the actuators.accel?

Did you say it faults if you engage while moving backwards? This should've caught that https://github.com/commaai/openpilot/blob/799c6f513d4e4146d69446613b39310c0c6fed59/selfdrive/car/gm/interface.py#L279

One of the faults in the route I posted above was without brakes pressed, but with vehicle moving slightly backwards. It's at the beginning of the route.

One suggestion for how to fix this:
if not CC.longActive:
  # ASCM sends max regen when not enabled
  self.apply_gas = self.params.INACTIVE_REGEN
  self.apply_brake = 0
elif at_full_stop and not CC.cruiseControl.resume:
  self.apply_gas = self.params.INACTIVE_REGEN
  self.apply_brake = self.params.MAX_BRAKE
else:
  self.apply_gas = int(round(interp(actuators.accel, self.params.GAS_LOOKUP_BP, self.params.GAS_LOOKUP_V)))
  self.apply_brake = int(round(interp(actuators.accel, self.params.BRAKE_LOOKUP_BP, self.params.BRAKE_LOOKUP_V)))

@twilsonco @nworb-cire let me know if you hit any other issues similar to this


WIP: Pin versions so docker can build

A lot of version pinning to ensure Docker builds are working again. Fixes #1304.

Ok, although they build, I'm getting Python errors. It needs a bit more fixing, marking this as WIP

I think most of this has been addressed in other PRs (and the Dockerfiles build). Closing.


Improve docker socket connection recovery

e.g. even when Docker socket connection is dropped.

Is there any specific problem?
The container should be deployed with --restart always options and makes a graceful shutdown when docker daemon gets restarted. See logs of a Docker daemon restart below:
See https://sematext.com/docs/logagent/installation-docker/
2018-12-17T21:14:17.258Z pid[7] Logagent report: pid[7] 31007 ms 3108 lines parsed.  100 lines/s 0.013 MB/s - empty lines: 0
2018-12-17T21:14:17.258Z pid[7] Logagent stats: usedTokens=3 shippedLogs=3000 httpFailed=0 httpRetransmit=0 throughputLinesPerSecond=100
2018-12-17T21:14:17.258Z pid[7] Memory stats:  heapUsedMB=27 heapTotalMB=49 memoryRssMB=143
2018-12-17T21:14:17.263Z pid[7] send xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx/logs
2018-12-17T21:14:17.264Z pid[7] send xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx/access_common
2018-12-17T21:14:17.265Z pid[7] send xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx/access_log_combined
2018-12-17T21:14:19.080Z pid[7] flushed 768 logs for https://logsene-receiver.sematext.com xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx/access_log_combined, logs in buffer: 0
Preparing environment...

Content of /etc/sematext/logagent.conf:
options:
  printStats: 60
  suppress: true
  geoipEnabled: true
  diskBufferDir: /tmp/sematext-logagent
parser:
  patternFiles:
    - /opt/logagent/patterns.yml
    - /etc/logagent/patterns.yml
output:
  logsene:
    module: elasticsearch
    url: https://logsene-receiver.sematext.com
    index: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx
/usr/local/bin/logagent -c /etc/sematext/logagent.conf --docker /var/run/docker.sock
2018-12-17T21:14:58.481Z pid[7] init filter: inputFilter
2018-12-17T21:14:58.496Z pid[7] init filter: outputFilter
2018-12-17T21:14:58.505Z pid[7] load outputFilter: 0 docker-enrichment
2018-12-17T21:14:58.506Z pid[7] init plugins
2018-12-17T21:14:58.507Z pid[7] ../lib/plugins/input/stdin
2018-12-17T21:14:58.639Z pid[7] ../lib/plugins/output/stdout
2018-12-17T21:14:58.696Z pid[7] ../lib/plugins/output/elasticsearch.js
2018-12-17T21:14:59.975Z pid[7] docker-logs
2018-12-17T21:15:01.092Z ignoring pattern file /etc/logagent/patterns.yml Error: ENOENT: no such file or directory, open '/etc/logagent/patterns.yml'
2018-12-17T21:15:01.104Z error watching pattern file:Error: ENOENT: no such file or directory, watch '/etc/logagent/patterns.yml'
2018-12-17T21:15:05.432Z pid[7] Logagent initialized
2018-12-17T21:15:05.640Z pid[7] Container 3dc797b83220adcd78e3e62ccf1de1283ea75b3daa34a737b67edb4997585b12 /sematext-agent setting LOGSENE_ENABLED=true
2018-12-17T21:15:07.153Z pid[7] Logagent report: pid[7] 9848 ms 0 lines parsed.  0 lines/s 0.000 MB/s - empty lines: 0
2018-12-17T21:15:07.153Z pid[7] Logagent stats: usedTokens=0 shippedLogs=0 httpFailed=0 httpRetransmit=0 throughputLinesPerSecond=0
2018-12-17T21:15:07.154Z pid[7] Memory stats:  heapUsedMB=12 heapTotalMB=16 memoryRssMB=101```


Release a new version

Can you please release a new version? The latest version in the gem repository does not include the exp claim implementation which is really practical. :)

New version 1.2.1 released.

:tada:


1240 - Add filter-by User on Adjustments#index

Resolves #1240
Description

Add filter-by User on Adjustments#index page
Add new Adjustment scope :by_user
Modify adjustments listings to ordered by created_at: :desc

Type of change

New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Added test on adjustment_spec features, models, and system
All current tests passing bundle exec rake

Great work!  Thank you!


xplat: JsDiagEvaluate signature

Following up #2251, we plan to change JsDiagEvaluate signature to take JsValueRef string, and remove JsDiagEvaluateUtf8.
//cc: @liminzhu @agarwal-sandeep @obastemur

@jianchun Thanks for opening this issue.
Better land this one before 2.0 release? I will send a PR next week to speed things a bit up on this.

Thanks for driving this guys 👍 . Would external arraybuffer also work as valid input?

Thanks for driving this guys 👍 . Would external arraybuffer also work as valid input?


Multi factories support

You have bindMultivalue utill implemented and it's cool. But is there any way to implement multi factories that can traverse parent container also?
Use case is the following:
A system with plugin architecture requires plugins to be initialized and returned to plugin consumer as array. This can be partially done using following:

create a token to hold plugin factories
create a plugin multivalue token and bind resolving factory to it

Problems with this approach are following:

multivalue token will resolve in child containers and will not use parent container values
we have to implement resolution scopes by hand inside resolving factory which might lead to bugs and inconsistency

Is there some less fragile approach which doesn't involve the library API change or this feature can only be solved by adding things inside?

Thanks for the idea, I'll need some time to think about it.


how to test for non-existence?

    this.Then(/^I should not see a link to create an offering$/, function (callback) {

      this.browser.
        waitForVisible("body").
        element("a[href='/new_offering']").
        should.eventually.not.exist.and.notify(callback);
    });

this returns Unable to find element with css selector 'a[href='/new_offering']', which is exactly what I'm trying to assert. What's going on here?

waitForVisible is returning a false as it's timing out. The element you're looking for doesn't exists and therefore can't be visible. Try http://webdriver.io/api/state/isExisting.html

thanks for the help! Here's the correct implementation, I think
    this.Then(/^I should not see a link to create an offering$/, function (callback) {
      this.browser.
        waitForVisible("body").
        isExisting("a[href='/new_offering']").
        should.eventually.be.false.and.notify(callback);
    });

awesome


Roll Engine from e781ed8b2980 to 9c88e86f5d05 (4 revisions)

https://github.com/flutter/engine/compare/e781ed8b2980...9c88e86f5d05
2021-11-01<EMAIL_ADDRESS>Roll Skia from 2d76d7760f80 to 259ad7844587 (1 revision) (flutter/engine#29438)
2021-11-01<EMAIL_ADDRESS>Roll Skia from 88b36ad61e80 to 2d76d7760f80 (3 revisions) (flutter/engine#29437)
2021-11-01<EMAIL_ADDRESS>Roll Dart SDK from 3b11f88c96a5 to 976f160b547f (3 revisions) (flutter/engine#29436)
2021-11-01<EMAIL_ADDRESS>Roll Dart SDK from 3b11f88c96a5 to 976f160b547f (3 revisions) (flutter/engine#29435)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


HL-109: Fix deminimis aid amount field type

Description :sparkles:
For consistent styling (to follow the abstract design), the field is replaced with normal text field and will be validated with Yup.
Issues :bug:
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Codecov Report

Merging #165 (f26e1d9) into develop (c2030aa) will decrease coverage by 40.07%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##           develop     #165       +/-   ##
============================================
- Coverage    66.91%   26.84%   -40.08%
============================================
  Files          272       56      -216
  Lines         5710     1218     -4492
  Branches       432      232      -200
============================================
- Hits          3821      327     -3494
+ Misses        1851      885      -966
+ Partials        38        6       -32

Impacted Files
Coverage Δ

...orms/application/deMinimisAid/DeMinimisAidForm.tsx
0.00% <0.00%> (ø)

.../forms/application/deMinimisAid/useDeminimisAid.ts
0.00% <ø> (ø)

...nd/shared/browser-tests/hooks/http-request-hook.ts

frontend/shared/browser-tests/utils/url.utils.ts

backend/shared/shared/oidc/admin.py

...eli/employer/src/components/employerForm/styled.ts

...nd/benefit/applications/migrations/0001_initial.py

...r/browser-tests/actions/employer-header.actions.ts

frontend/shared/src/components/header/useHeader.ts

frontend/shared/src/i18n/i18n.ts

... and 208 more

Continue to review full report at Codecov.

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


play video with fittedBox and VideoPlay error

Steps to Reproduce

Execute flutter run on the code sample
...
...

child: FutureBuilder(
                future: _initializeVideoPlayerFuture,
                builder: (BuildContext context, AsyncSnapshot<dynamic> snapshot) {
                  return FittedBox(
                    fit: BoxFit.cover,
                    child: VideoPlayer(_controller),
                  );
                },
              ),

Expected results:
Actual results:

Code sample

Logs

======== Exception caught by rendering library =====================================================
The following assertion was thrown during paint():
'package:flutter/src/rendering/proxy_box.dart': Failed assertion: line 2639 pos 14: '_transform!.storage.every((double value) => value.isFinite)': is not true.

The relevant error-causing widget was:
  FittedBox FittedBox:file:///Users/songgaocao/gitlab/flutter_notta/lib/page/sign/sign_guide_page.dart:124:26
When the exception was thrown, this was the stack:
#2      RenderFittedBox._updatePaintData (package:flutter/src/rendering/proxy_box.dart:2639:14)
#3      RenderFittedBox.paint (package:flutter/src/rendering/proxy_box.dart:2662:5)
#4      RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2403:7)
#5      PaintingContext.paintChild (package:flutter/src/rendering/object.dart:189:13)
#6      RenderBoxContainerDefaultsMixin.defaultPaint (package:flutter/src/rendering/box.dart:2792:15)
#7      RenderStack.paintStack (package:flutter/src/rendering/stack.dart:629:5)
#8      RenderStack.paint (package:flutter/src/rendering/stack.dart:645:7)
#9      RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2403:7)
#10     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:189:13)
#11     RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:140:15)
#12     PaintingContext.pushLayer (package:flutter/src/rendering/object.dart:392:12)
#13     RenderAnnotatedRegion.paint (package:flutter/src/rendering/proxy_box.dart:5422:13)
#14     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2403:7)
#15     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:189:13)
#16     RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:140:15)
#17     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2403:7)
#18     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:189:13)
#19     RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:140:15)
#20     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2403:7)
#21     PaintingContext._repaintCompositedChild (package:flutter/src/rendering/object.dart:141:11)
#22     PaintingContext.repaintCompositedChild (package:flutter/src/rendering/object.dart:100:5)
#23     PipelineOwner.flushPaint (package:flutter/src/rendering/object.dart:973:29)
#24     RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:499:19)
#25     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:883:13)
#26     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:363:5)
#27     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1145:15)
#28     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1082:9)
#29     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:996:5)
#33     _invoke (dart:ui/hooks.dart:150:10)
#34     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:270:5)
#35     _drawFrame (dart:ui/hooks.dart:114:31)
(elided 5 frames from class _AssertionError and dart:async)
The following RenderObject was being processed when the exception was fired: RenderFittedBox#5fbd0
...  needs compositing
...  parentData: not positioned; offset=Offset(0.0, 0.0) (can use size)
...  constraints: BoxConstraints(w=414.0, h=736.0)
...  size: Size(414.0, 736.0)
...  fit: cover
...  alignment: Alignment.center
...  textDirection: ltr
  child: TextureBox#77aa6 NEEDS-PAINT
    needs compositing
    parentData: <none> (can use size)
    constraints: BoxConstraints(unconstrained)
    size: Size(Infinity, Infinity)
RenderObject: RenderFittedBox#5fbd0
  needs compositing
  parentData: not positioned; offset=Offset(0.0, 0.0) (can use size)
  constraints: BoxConstraints(w=414.0, h=736.0)
  size: Size(414.0, 736.0)
  fit: cover
  alignment: Alignment.center
  textDirection: ltr
  child: TextureBox#77aa6 NEEDS-PAINT
    needs compositing
    parentData: <none> (can use size)
    constraints: BoxConstraints(unconstrained)
    size: Size(Infinity, Infinity)
====================================================================================================

@nocsg
This seems to be happening due to the way FittedBox works. See this similar open issue and underlying comments / solutions on how to properly use FittedBox and see if that helps.


[table editor] hide Edit Datasource option when no onDatasourceSave

CATEGORY
Choose one

[x] Bug Fix
[ ] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY
This PR will hide Edit Datasource option when no onDatasourceSave props is passed in.

TEST PLAN
CI and manual test.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[x] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS
@etr2460 @mistercrunch

Codecov Report

Merging #9706 into master will increase coverage by 4.80%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #9706      +/-   ##
==========================================
+ Coverage   65.90%   70.71%   +4.80%
==========================================
  Files         586      586
  Lines       30383    30384       +1
  Branches     3110     3112       +2
==========================================
+ Hits        20025    21485    +1460
+ Misses      10174     8785    -1389
+ Partials      184      114      -70

Flag
Coverage Δ

#cypress
53.58% <100.00%> (?)

#javascript
58.86% <100.00%> (+0.01%)
:arrow_up:

#python
70.88% <ø> (ø)

Impacted Files
Coverage Δ

.../explore/components/controls/DatasourceControl.jsx
78.12% <100.00%> (+10.38%)
:arrow_up:

...rontend/src/SqlLab/components/AceEditorWrapper.tsx
56.98% <0.00%> (+1.07%)
:arrow_up:

superset-frontend/src/components/EditableTitle.jsx
81.69% <0.00%> (+1.40%)
:arrow_up:

...perset-frontend/src/components/CopyToClipboard.jsx
36.36% <0.00%> (+1.51%)
:arrow_up:

...hboard/components/resizable/ResizableContainer.jsx
71.87% <0.00%> (+1.56%)
:arrow_up:

...ashboard/components/gridComponents/ChartHolder.jsx
81.35% <0.00%> (+1.69%)
:arrow_up:

superset-frontend/src/utils/common.js
69.64% <0.00%> (+1.78%)
:arrow_up:

...src/explore/components/controls/VizTypeControl.jsx
78.84% <0.00%> (+1.92%)
:arrow_up:

...rset-frontend/src/explore/components/SaveModal.jsx
94.73% <0.00%> (+2.10%)
:arrow_up:

superset-frontend/src/explore/controlUtils.js
96.80% <0.00%> (+2.12%)
:arrow_up:

... and 137 more

Continue to review full report at Codecov.

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


Added LCA.

Coverage remained the same at 100.0% when pulling 7119521b1dd4a4068da0b65128cfbf13865327ae on lowest-common-ancestor-of-a-binary-search-tree into f6d696b4e0b7ce940f438cb5f89c849ae6d03d8a on master.


open-policy-agent: 0.25.2 -> 0.26.0

Motivation for this change
Bump open-policy-agent/opa to 0.26.0
Things done

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

[X] NixOS (x86_64)
[ ] macOS
[ ] other Linux distributions

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

Result of nixpkgs-review pr 110315 run on x86_64-linux 1

1 package built:

open-policy-agent

Result of nixpkgs-review pr 110315 run on x86_64-linux 1

1 package built:

open-policy-agent


Write using DicomParser

I am new to Cornerstone and DicomParser. As per my understanding, DicomParser can be used to parse DICOM files and read the tag values.
I want to know if there is a way to perform de-identification on the tags and write it back using DicomParser ?
It can be done using DCMJS but I want to know if we can use DicomParser as well.
Also, is it possible to read a file using DicomParser and write it back using dcmjs ?
Any help or inputs will be appreciated, thanks.

Thanks for your question @syedkibrahim. dicomParser is just used for reading, so you'd have to implement the anonymization yourself. This is such a popular request that there's a simple implementation of de-identification in the examples folder here (issue with some additional considerations here). Do note that it gets much more complicated if you want to support de-indentifying attributes within sequences.
As far as writing a dicomParser dataset using dcmjs, I'm not sure there's a way to do that right now, since their dataset formats are different. You'd have to convert from the dicomParser dataset format to the dcmjs dataset format before writing it out.


ES6 Getters/Setters support

I had to use get/set ES6 syntax in helpers but plugin didn't support those. Here's a patch I suggest to apply in order to support getters/setters in helpers:
_.each(Object.getOwnPropertyDescriptors(helpers), function(descriptor, key) {
  Object.defineProperty(self._helpers.prototype, key, descriptor);
});

The patch is backward compatible with old good helper methods.
With that change the following helpers start working:
Orders.helpers({
  // Still works this way
  url() {
    return FlowRouter('order', this);
  },
  // Getters…
  get product() {
    return Products.findOne(this.productId);
  },
  get total() {
    return this.quantity * this.price;
  }
 //TODO: Never actually tested Setters yet
});

Hey @imajus interesting thought, wondering what was the reason that you said you had to use them?

@dburles Using Collection instances in Handlebars E-mail templates on the server. So I need {{order.total}} to work seamlessly. Unlike Spacebars, functions here are called with current template context so this in Collection helpers is not Collection instance.
I've found using getters as an elegant way to achieve my goal.

I absolutely agree that this would be very useful, especially for computed properties.

Authors.helpers({
  get fullName() {
    return `${this.firstName} ${this.lastName}`;
  }
});

author.fullName would now work like author.firstName, as it is supposed to be.

Seems great! How can i use this?


Why not use variables in /scss/bootstrap.scss

Why not define the color variables in bootstrap.scss file?
//** Border color for inputs on focus
$input-border-focus:             #66afe9;

Sorry for not replying sooner.
There's no reason not to use variables. I was probably just lazy back when I wrote the SCSS file for Bootstrap.
PRs are welcomed. :smile:

+1

This issue was selected to be spring-cleaned by a script. More information can be found here.
If anyone thinks this was a mistake and this issue should be reopened, please leave a message below explaining why. Before doing so, please consider reading the CONTRIBUTING file.


ci: queue rules update to handle prs

This commit adds queue rules to prevent closed,draft
prs with DNM label from entering the queue.
Signed-off-by: Rakshith R<EMAIL_ADDRESS>

@Madhu-1 ptal.. thanks!


Update cn.json

thanks for the mod.

Thanks for the translation, i will put the additions into an update.


Improve SolverTuner logic and unit tests

Objective of pull request: Major update to the SolverTuner utility class.
Pull request checklist
Your PR fulfills the following requirements:

[x] Tests are part of the PR (for bug fixes / features)
[x] Docs reviewed and added / updated if needed (for bug fixes / features)
[x] PR conforms to Coding Conventions
[x] PR applys BSD 3-clause or LGPL2.1+ Licenses to all code files
[x] Lint (pyb) passes locally
[x] Build tests (pyb -E unit) or (python -m unittest) passes locally

Pull request type

Please check your PR type:

[x] Feature

New Behavior

The new API allows the user to specify a fitness function that evaluates the current set of hyper-parameters, based on final cost and number of steps to solution. This is the function that is maximized by the SolverTuner.
The behavior of SolverTuner is now fully deterministic, thanks to the seed argument.
SolverTuner now tracks all the hyper-parameters in a structured numpy array accessible with the SolverTuner.get_results() method.

Does this introduce a breaking change?

[x] Yes

One additional point that came to my attention while Chinonso and I were tuning hyperparameters:
In many cases, we don't want to search through a grid of hyperparameters. Instead, we would like to search through a set of sets of hyperparameters, i.e. we would like to try the combinations
x = 1 and y = 2
x = 5 and y = 8
but not e.g.
x=1 and y=8.
Could you add this functionality? Would be very helpful!


Can't switch between all available languages (a case study)

Imagine we have the settings:
languages:
  supported:
    - de
    - en
  include_default_lang: true
  translations: true
  translations_fallback: true
  session_store_active: true
  http_accept_language: true
  override_locale: true

then it is currently not possible with the latest version of Grav to switch freely between the available languages of the site. You can test it here https://benjamin-regler.de . The issue occurs for example for a browser, which only accepts the english version. At the first time of the visit, Grav finds it out and stores the language in the cookie. At the second time when you want to switch to the German site, Grav redirects you again to the English version of the site. I guess this has something to do with the include_default_lang: true option, but I'm not quite sure.

I tested, I don't have this issue, with your same settings.
Also tried setting various Accept-Language headers.
After I choose a language, I am correctly shown that language page, and my set language is remembered.

Hm, strange. I definitely have this issue. My site is already redirecting me to https://benjamin-regler.de/en , independent on what I click. I will digg deeper and perhaps I'll find something.

On 1.1?

Yes, on Grav 1.1.0-rc.2 . I know there was an issue by times #842, but seems to be not solved for me.

So, to summarize.  You can't change language when include_default_lang: true?

Ah I see the problem when include_default_lang: false. But it's more a problem of langswitcher (if you use it) as it generates a link for the default language version such as "yoursite.com", while it should be "yoursite.com/de", which will 1) set the lang to de, 2) redirect to "yoursite.com" correctly translated. Can you confirm this is the case?

@rhukster With include_default_lang: true everything works fine. Switching between both languages as in the example works.
@flaviocopes It might be related. However entering the URL manually in the address bar https://benjamin-regler.de/de redirects me to https://benjamin-regler.de/en, too. Thus, no change. I will be off for 5 days now. I will look into that problem and come to this issue ASAP.

Ah I tried using /de and it redirected me to /, but with de selected, so I didn't replicate it

I have found the issue! It was connected with my setup.php. Thanks for troubleshooting!


Solution for increased power consumption after enabling GPIO interrupt on nRF52832

It can be observed on the nRF52832 SoC that just enabling an edge triggered GPIO interrupt (namely, calling
gpio_pin_interrupt_configure() or gpio_pin_configure() with one of the GPIO_INT_EDGE_* flags) leads to increasing the power consumption by ~15 uA. This happens because currently (in Zephyr v2.4.0-rc1) the GPIO driver for nRF SoCs uses GPIOTE channels to detect transitions on GPIO lines and to generate the edge triggered interrupts (while the GPIO PORT event is used only for the level triggered interrupts), and the nRF52832 SoC is affected by anomaly 97.
While it is possible (although with less accuracy) to detect transitions on GPIO lines using the PORT event (and this is the workaround provided in the mentioned above anomaly description), the Zephyr GPIO driver does not provide such possibility. It would be nice to enhance the driver with such option and to provide some way for the users to select the detection method (even for nRF52832 it could be still desirable to use a GPIOTE channel for this).
Until the driver is improved, one of the following approaches can be used as a solution for the problem:

use level triggered interrupts instead, i.e. use GPIO_INT_LEVEL_* flags to configure the interrupt (this requires also reconfiguration of the interrupt in its callback, otherwise the callback will be called again as long as the configured level is still present on the line)
use the nrfx GPIOTE driver instead of the Zephyr GPIO one (it would need to be disabled with CONFIG_GPIO=n then)
see the samples/boards/nrf/nrfx sample for a reference how to do it (the DPPI related part should be omitted in this context); the crucial thing is to select the PORT event as the edge detection method by applying		.hi_accuracy = false,

in the input configuration:
https://github.com/zephyrproject-rtos/zephyr/blob/17c4396ed42bda13a7a5f2c2edb55528a008fe0e/samples/boards/nrf/nrfx/src/main.c#L43-L49

A related ticket in the Nordic Semiconductor's DevZone be found here.

FYI, I just found this issue after running into exactly the same problem with an nRF52840, and switching from edge triggered to level triggered interrupts also solved it for me. This appears to be an "Engineering A" sample (NRF_FICR->INFO.VARIANT reads AAC0, the chip is actually under a metal can on a module), and according to the errata this also suffers from anomaly 97.

Ah, no, AAC0 should actually be indicative of a "Revision 1" variant, which should have anomaly 97 fixed. So I'm not sure why I'm seeing this problem.

I've also tried a Revision 2 chip now (INFO.VARIANT == AAD0), which shows the same issue.

Experiencing the same issue.. When will this be fixed?

Experiencing the same issue.. When will this be fixed?

Try setting CONFIG_GPIO_NRF_INT_EDGE_USING_SENSE=y

Experiencing the same issue.. When will this be fixed?

Try setting CONFIG_GPIO_NRF_INT_EDGE_USING_SENSE=y

This option is no longer available. It has been replaced by the sense-edge-mask property in "nordic,nrf-gpio" compatible nodes.

Addressed in #31823 and #41288.


Switch out nullish operator for ternary to allow loading in fastboot

I love the nullish operator, but unfortunately fastboot errors upon startup with it in there. This PR switches it for the ternary operator.
P.S. Nice addon!

Thanks for the feedback! Yeah, the nullish coalescing operator bit me too in a production app that has FastBoot.
I discussed this issue with a few people on Discord, and I think the solution is for the end user of this addon to update their targets.js file.
Can you try the solution at https://github.com/ember-fastboot/ember-cli-fastboot/pull/770 and let me know if that helps? Another reference is https://github.com/ember-fastboot/ember-cli-fastboot/issues/764.
I think what I can do is to update the documentation to add a warning for FastBoot users. Would this be okay with you?

Ah ha! You're right. I tried googling for this and didn't find it, so yeah -- I think adding something to the readme would be very helpful.

Sounds good. I will work on updating the README tonight!


ADD A FUNCTION THAT DOES SOMETHING.

im gonna add a function that does this.

i need help because this is not working


Fixes Resolve ENS on unsupported networks

Description
This ensures users on a different network with resolveEns set to true don't experience login failures.
Type

[x] Bug fix (non-breaking change which fixes an issue)

Diligence Checklist

[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings

 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.


Get "https://xbarapp.com/docs/plugins/categories.json": dial tcp: lookup xbarapp.com: no such host

Issue solved by quitting and reopening xbar


Production deployment (docker-compose)

Create a production deployment
The first version can be done with docker compose.
Implementation example: https://github.com/netbox-community/netbox-docker
Feature:

deployment
update (pull last version + build image)
graceful shutdown
backup
TLS
LDAP
Django prod settings

Done and merged in dev branch.
The backup part will be done in a dedicated PR.


[Do not merge] Minimal repro for issue testing lambda slots

What are you trying to accomplish?

This PR is a minimal repro of a test issue and is not meant to be merged.
I'm writing a new component with a lambda slot that renders another component with its own slots.
My goal is to pass the block that was given to my component's slot to the slot of the component I'm rendering in my slot.
~The first oddity I encountered is that in my slot, I can't just instantiate the component it should render. I have to call render or else the slot doesn't output the component. However once I do then everything works the way I want visually.~
Edit: This one is solved.
But then I hit the second issue. I want to test that the content returned by the block given to my component's slot ends up rendered. But for some reason I cannot seem to figure out how to write my test to get it to output as expected.
This PR is a minimal repro to hopefully help diagnose the issue I'm facing.
Here's a screenshot of the expected rendered output of the minimal repro.
It behaves the way I want when rendered. It's just the test that isn't behaving.

One other oddity to mention is that if the block given to my slot returns a String instead of a ViewComponent, things seem to work. I feel like there's a number of little things at play here that are getting in the way. Like the fact that I had to call render in my slot.
Also, I want to call out that in my actual production code I'm rendering 3 different ViewComponents. It was just easier for the minimal repro to write one that "renders itself".
So in my prod example it'd look more like:
<%= render Component1.new do |c| %>
  <% c.with_component_2 do %>
    <%= render Primer::Beta::Text.new do %>
      Content <%= render(Primer::LinkComponent.new(href: "?")) { "Link" } %>.
    <% end %>
  <% end %>
<% end %>

Closing as stale ❤


Fix toolbar grid layout

When you shrink the window the Arizen logo keeps too much space which results in left and right buttons wrapping. Grid layout template should keep the logo in the center, but allow side buttons to take the empty space.
Current layout:
header {
    grid-area: header;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

already fixed


[bug fix] improved parsing json in global search

Description
This pull request adds comprehensive unit tests for the GlobalSearch class, enhancing the overall test coverage and reliability of the structured search functionality.
Related Issues
https://github.com/microsoft/graphrag/issues/471
Proposed Changes

Implement mock classes for LLM and ContextBuilder to isolate tests
Add tests for parse_search_response method covering various scenarios:

Valid JSON responses
Invalid JSON input
Missing 'points' key
Invalid point format
Responses with text prefix
Non-integer scores

Include tests for internal methods _map_response_single_batch and _reduce_response
Add test for the main asearch method
Ensure proper handling of asynchronous methods in tests

Checklist

[x] I have tested these changes locally.
[x] I have reviewed the code changes.
[ ] I have updated the documentation (if necessary).
[x] I have added appropriate unit tests.

Additional Notes
Added more tests for search.py

@microsoft-github-policy-service agree

found some failures. i will fix them first.


Document Provider APIs

This is a duplicate of the original issue (https://github.com/gradle/gradle/issues/2629) simply for tracking during the sprint.

I wrote an outline of the user guide chapter.

@lacasseio I've put several comments into the document.
I think we have all the right pieces here, but we'll need to make another pass at the exact prose (I'm happy to help more here).  I especially liked the FAQ/Summary sections.
As for next steps...

Could you submit a PR to gradle/gradle that adds the outline of this chapter to the user guide? This can be as-is or just the section titles or whatever minimal work we need to support updating the Gradle guide.
Could you take a look at updating the Gradle Guide and submitting a PR for that?
Could you then update the user guide chapter based on the comments in the Google doc?

@lacasseio I made a pass through the doc and updated the text as I went. You really did the hard work of pulling things together which made my editing job much easier.  I think we're ready to move this into asciidoc and get the samples into the auto-tested user guide infrastructure.


Overriding the footer

Is your feature request related to a problem?
The webcontainer link text customization is not enough, because this footer is also the place where we may want to include legal terms, contact info and copyrights, especially when deploying a tutorial as a completely standalone website with no other content page.
Describe the solution you'd like.
Similarly to TopBar, customizing the footer.
Describe alternatives you've considered.
Customizing "webcontainerLinkText" to feed it more content is not enough, as it will be wrapped by an anchor tag.
Additional context
I am digging the code to better understand the implementation, and maybe contribute : I see that overidable components are typed in packages/astro/src/default/env-default.d.ts, which then allows to get them from a virtual import packages/astro/src/default/components/TopBarWrapper.astro.
I think this system is fine, so it could be expanded to more components. Coupled with slots, it's really great because you only need to provide the relevant slots in your own version to keep similar content around.

This is great idea! Currently we only support overriding the TopBar, but the idea was that we would extend the support for other components when requests like this come up.
To see how TopBar overriding was implemented, see:

https://github.com/stackblitz/tutorialkit/pull/112

I think it would make sense to include all these components in the footer component:

So something like:
<footer>
  Some content here
  <slot name="edit-page-link" />
  and here
  <slot name="back-link" />
  here too
  <slot name="next-link" />
  here too
  <slot name="webcontainers-link" />
  and here!
</footer>


Broken link: web fonts with CSS

At: https://mcshelby.github.io/hugo-theme-relearn/shortcodes/icon/index.html

The joy of degrading links over time: https://docs.fontawesome.com/web/style/styling

Thanks for reporting.

👌😉

Unrecognised broken links are bad. Let's do something about that #964


Cannot read properties of undefined (reading 'setAttribute')

Hi,
i work with Nuxt 2, and use your library like plugins,
but when i call window.initCookieConsent().showSettings() / window.initCookieConsent().showSettings(0)
the settings is opened with error
Cannot read properties of undefined (reading 'setAttribute')
anybody know how fix it?

Make sure you're calling initCookieConsent() only once in your app.
If you want to access the plugin from any component, you have to share the object returned from initCookieConsent() as shown in this demo.

you are awesome, how i can pay your coffee?

Puoi fare una donazione su ko-fi!

fatto, grazie


[cuDNN]Fix cudnn param error for int8 nhwc mode

The shape parameters for filter are not assigned properly when inferencing with int8 and cudnn.
cudnnStatus_t cudnnSetFilter4dDescriptor(
cudnnFilterDescriptor_t filterDesc,
cudnnDataType_t dataType,
cudnnTensorFormat_t format,
int k,
int c,
int h,
int w)
Above is the definition from cudnn dev guide (k is the output channel which should be from the w->shape[3] and c is the input channel which shoudl be from w->shape[2])

Thanks for the fix. Can you add a test case?

I don't think this is correct. cuDNN NHWC expects weight layout to be KHWC.


Make fail2ban work again

fail2ban depends on the systemd python module which has changed location.
There was some problem with the location of installed files (issue #11534).
Update to the latest release (0.9.3 2015/08/01 - lets-all-stay-friends) for good measure.

@rvl the Travis build fails with:
error: [Errno 2] No such file or directory: '/usr/include/systemd/sd-messages.h'

Do you have chroot building enabled for nix? That might help to reproduce it.

@cillianderoiste Thanks for the tip. I tried chroot building just then but couldn't get it to work. As a workaround I have removed libsystemd-dev from the debian system which I am building from. My other problem was that the travis build uses cc but my own builds use gcc.
@FRidh I have implemented your suggestions, thanks.

Looking forward to getting fail2ban working again (China really wants my root account, it seems); thanks for this.

No prob @jeaye.
Can I ask @domenkozar to kindly check the preConfigure/postInstall change (b61e057) for us?

@rvl looks like https://github.com/NixOS/nixpkgs/issues/4968 that provides the current workaround method

Ok great @domenkozar that explains it. I have changed it to use that workaround. However this setup.py was not as easy to sed, so there is a postInstall cleanup.

@rvl tnx!

@garbas thx for merging


Form URL-Encoded request don't include body

Trying to export a Form URL-Encoded request results in all parameters exported correctly but missing body.
For example, this request:

Results in this exported file:
## Login POST
curl -X "POST" "http://localhost:8080/MISOF1_MISOFER_WEB/login" \
     -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8'

I'm using 1.0.9 and it works fine


Simulating videos - Charge accumulation in Nanduri / Horsager

Hi guys,
First of all thank you very much for your framework :+1:
When simulating longer videos I have noticed that the percepts become black after time. After further investigation I think it is because of the charge accumulation making the system less sensitive the more charge is accumulated. However, sensitivity is never restored as far as I can see (and was of no interest in generating the model I guess).
So there are two questions that I have right now:
1.) Are my assumptions correct?
2.) Do you know of any "plausible" way, e.g. a known model etc. for "resetting" the sensitivity?
Thanks in advance
EDIT: To be more precise: I am simulating a 20 second clip (25fps) of a still image for testing (amplitude encoded between [0,1] and an implant with a working frequency between 1-20 Hz (1ms cathodic pulses)).
Attached you can see two responses (working frequency 5Hz and 20Hz) of a fixed position within the percept. It is clear to me that the sensitivity drops faster for pulses with 20Hz, since the accumulated charge will increase faster than with 5Hz, however, in both cases the accumulated charge will linearly increase over time making the system insensitive in the long run.

Hi, has someone responded to this? The main code-writer just had a baby so I’m worried if fell through the cracks.
If this hasn’t been dealt with I’ll answer properly …
Ione
From: kfeeeeee<EMAIL_ADDRESS>Sent: Thursday, August 30, 2018 2:28 AM
To: uwescience/pulse2percept<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [uwescience/pulse2percept] Simulating videos - Charge accumulation in Nanduri / Horsager (#85)
Hi guys,
First of all thank you very much for your framework 👍
When simulating longer videos I have noticed that the percepts become black after time. After further investigation I think it is because of the charge accumulation making the system less sensitive the more charge is accumulated. However, sensitivity is never restored as far as I can see (and was of no interest in generating the model I guess).
So there are two questions that I have right now:
1.) Are my assumptions correct?
2.) Do you know of any "plausible" way, e.g. a known model etc. for "resetting" the sensitivity?
Thanks in advance
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/uwescience/pulse2percept/issues/85, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APOJi5AT8EIkUpmGgYv2jTBhyF0fuqL0ks5uV7AYgaJpZM4WTG27.

@ionefine : feel free to jump in!

Congratulations :-) . I think this might be a bit more of a model issue rather than a programming issue.

From: kfeeeeee<EMAIL_ADDRESS>Sent: Thursday, August 30, 2018 2:28 AM
To: uwescience/pulse2percept<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [uwescience/pulse2percept] Simulating videos - Charge accumulation in Nanduri / Horsager (#85)
Hi guys,
First of all thank you very much for your framework 👍
When simulating longer videos I have noticed that the percepts become black after time. After further investigation I think it is because of the charge accumulation making the system less sensitive the more charge is accumulated. However, sensitivity is never restored as far as I can see (and was of no interest in generating the model I guess).
So there are two questions that I have right now:
1.) Are my assumptions correct?
Yes. Except it wasn’t that the lack of recovery wasn’t of interest, it’s just that we don’t have the data to make that a parameter, so we thought it was better to not include recovery then put in a number that we made up.
2.) Do you know of any "plausible" way, e.g. a known model etc. for "resetting" the sensitivity?
If you want to make up a number then I might use a similar cascade and find a parameter value for recovery that results in asymptotic brightness at about 10 Hz. That’s the frequency Second sight tends to stimulate at so that subjects don’t end up going to zero (the numbers across subjects range from 7-15 Hz)
Thanks in advance
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/uwescience/pulse2percept/issues/85, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APOJi5AT8EIkUpmGgYv2jTBhyF0fuqL0ks5uV7AYgaJpZM4WTG27.