Minify overwrites 404 on missing resources

If I request a missing resouce, e.g. localhost:12345/missing then a 500 is returned when the minify directive was specified. This is because minify returns a 500 on missing resources and therefore overwrites caddy's 404 for the requested resource.
How did I run caddy? caddy -conf caddy.conf
Caddy test configuration: caddy.conf:
localhost:12345
log stdout
minify
errors stderr

Log:
$ /tmp/foo: caddy -conf caddy.conf
Activating privacy features... done.
http://localhost:12345
WARNING: File descriptor limit 1024 is too low for production servers. At least 8192 is recommended. Fix with "ulimit -n 8192".
19/Aug/2016:10:28:56 +0200 [ERROR 500 /] mime: no media type
::1 - [19/Aug/2016:10:28:56 +0200] "GET / HTTP/1.1" 500 0
19/Aug/2016:10:28:59 +0200 [ERROR 500 /missing] mime: no media type
::1 - [19/Aug/2016:10:28:59 +0200] "GET /missing HTTP/1.1" 500 26

It logs a 500 even if the index.html is present:
...
19/Aug/2016:10:28:56 +0200 [ERROR 500 /] mime: no media type
::1 - [19/Aug/2016:10:28:56 +0200] "GET / HTTP/1.1" 500 0
...

Hello @klingtnet, thanks for reporting this. I've fixed it now :)
C.C.: @mholt, I ask you to update this in caddyserver.com when you've a bit of time. :) Thanks.

@hacdias I will update upon the next caddy release. Thanks!


Collection sharing

I love the program, and would love to be able to share my collection easily with my brother, and vice versa.

Yup. Me too. So the kids can build their own squads


frequent Interrupt WDT timeout on core 0. BLE+BT (IDFGH-401)

sdkconfig.zip
Environment

Development Kit:      |none]
Kit version (for WroverKit/PicoKit/DevKitC):
Core (if using chip or module): ESP-WROOM32
IDF version (git rev-parse --short HEAD to get the commit id.): 221eced06
Development Env:		Make|Eclipse
Operating System:		Windows
Power Supply:         external 3.3V

Problem Description
frequent Interrupt WDT timeout on core 0 .
I'm Using BT + Wifi together. my device is constantly scanning for advertisers, and can connect to one peripheral while scanning. I also use MQTT library.
I constantly get Interrupt wdt timeout on CPU0. it usually takes between 1-20 min. I tried tracing the code, but couldn't find the file specified: lld_pdu.c .
my code is based on the multilink example. I couldn't see any code line running before the error occurs, nor any BLE,  Wifi or MQTT event.  I tried debugging HCI, GATTC, MQTT and Wifi and couldn't see any repetition of events while the error occurs.
will be happy to get a direction for debugging this problem.
Expected Behavior
run for days
Actual Behavior
run for a few minutes
Steps to repropduce
can't supply a reproduce sequence, as the error is random
Code to reproduce this issue
can't point to the exact part of code that produces the error
Debug Logs
ASSERT_PARAM(0 10), in lld_pdu.c at line 519
Guru Meditation Error: Core  0 panic'ed (Interrupt wdt timeout on CPU0)
Core 0 register dump:
PC      : 0x401953d6  PS      : 0x00060334  A0      : 0x800d3f99  A1      : 0x3ffbbbc0
0x401953d6: esp_pm_impl_waiti at C:/msys32/home/lolekt/esp/esp-idf/components/esp32/pm_esp32.c:474
A2      : 0x00000000  A3      : 0x00000001  A4      : 0x8009202e  A5      : 0x3ffcd8e0
A6      : 0x00000003  A7      : 0x00060023  A8      : 0x800d311e  A9      : 0x3ffbbb90
A10     : 0x00000000  A11     : 0x00000001  A12     : 0x8009202e  A13     : 0x3ffd5d10
A14     : 0x00000003  A15     : 0x00060023  SAR     : 0x00000000  EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000  LBEG    : 0x00000000  LEND    : 0x00000000  LCOUNT  : 0x00000000
Backtrace: 0x401953d6:0x3ffbbbc0 0x400d3f96:0x3ffbbbe0 0x40091479:0x3ffbbc00 0x40091e25:0x3ffbbc20
0x401953d6: esp_pm_impl_waiti at C:/msys32/home/lolekt/esp/esp-idf/components/esp32/pm_esp32.c:474
0x400d3f96: esp_vApplicationIdleHook at C:/msys32/home/lolekt/esp/esp-idf/components/esp32/freertos_hooks.c:86
0x40091479: prvIdleTask at C:/msys32/home/lolekt/esp/esp-idf/components/freertos/tasks.c:3564
0x40091e25: vPortTaskWrapper at C:/msys32/home/lolekt/esp/esp-idf/components/freertos/port.c:403
Core 1 register dump:
PC      : 0x400848ad  PS      : 0x00060034  A0      : 0x80087b26  A1      : 0x3ffbe750
0x400848ad: r_assert_param at ??:?
A2      : 0x00000001  A3      : 0x00000000  A4      : 0x00000000  A5      : 0x60008054
A6      : 0x3ffbdbf8  A7      : 0x60008050  A8      : 0x800848ad  A9      : 0x3ffbe730
A10     : 0x00000004  A11     : 0x00000000  A12     : 0x6000804c  A13     : 0xffffffff
A14     : 0x00000000  A15     : 0xfffffffc  SAR     : 0x00000004  EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000  LBEG    : 0x400847e5  LEND    : 0x400847ec  LCOUNT  : 0x00000000
0x400847e5: r_assert_param at ??:?
0x400847ec: r_assert_param at ??:?
Backtrace: 0x400848ad:0x3ffbe750 0x40087b23:0x3ffbe770 0x400865cd:0x3ffbe7a0 0x400871ba:0x3ffbe7c0 0x400880f6:0x3ffbe7e0 0x40089
227:0x3ffbe800 0x40082645:0x3ffbe820 0x401953d3:0x00000000
0x400848ad: r_assert_param at ??:?
0x40087b23: r_lld_pdu_rx_handler at ??:?
0x400865cd: r_lld_evt_end at ??:?
0x400871ba: r_lld_evt_end_isr at ??:?
0x400880f6: r_rwble_isr at ??:?
0x40089227: r_rwbtdm_isr_wrapper at intc.c:?
0x40082645: _xt_lowint1 at C:/msys32/home/lolekt/esp/esp-idf/components/freertos/xtensa_vectors.S:1105
0x401953d3: esp_pm_impl_waiti at C:/msys32/home/lolekt/esp/esp-idf/components/esp32/pm_esp32.c:474
Other items if possible

[v] sdkconfig file (attach the sdkconfig file from your project folder)
[ ] elf file in the build folder (note this may contain all the code details and symbols of your project.)
[ ] coredump (This provides stacks of tasks.)

@Lolektahor ， The error seems not happen in official esp-idf.
Could you provide me the bt library version and wifi library version in log? The version is printed when initialise bluetooth and wifi in log.

wifi firmware version: 75aab56
BT controller compile version [a348a1e]
tried fetching the sdk again. same versions, same error

I think that the MQTT causes the error.
I canceled all MQTT functions and it doesn't crash...

Why did you close it? there was no answer yet...

Sorry, mishandled this issue.

@Lolektahor ， we have found something about this problem. We're testing it. Any update, I will notice you. Thanks.

@TianHao-Espressif Any updates? Thanks.

still present on release/v4.0 while working with BLE GATT and Wifi is on.

@enricop , as our test several months ago, it should be fixed in c960bcb5e67d30489322b909d470aa7f811ab1dd.
And could paste your log and describe your reproduce scenario? Thanks.

These are all the crash logs we experienced:
It always happen at lld_pdu.c at line 527
log 1:

log 2:

I (331642) BLE_GATT_service: ESP_GATTS_CONF_EVT, status = 0, attr_handle 54
I (384772) BLE_GATT_service: GATT_WRITE_EVT, handle = 57, value len = 135
I (384772) ble_rxtx: received message with CID 0x01, PUSH_FILE (phone)
in: cfg_data_new_file {
cid: 0x01, PUSH_FILE (phone)
f_k: setup_params.json
plen: 131
payload: [0x78 0x9c .. 0x3a 0x56]
}
I (384782) ble_rxtx: starting a stream for file setup_params.json of compressed length 131
I (384792) ble_rxtx: sending message with CID 0x01, NEW_FILE_RES (p406)
out: cfg_file_response {
cid: 0x01, NEW_FILE_RES (p406)
res: 0x0, SUCCESS
f_k: setup_params.json
}
I (384812) ble_rxtx: answering with a payload of length 3
I (384822) BLE_GATT_service: ESP_GATTS_CONF_EVT, status = 0, attr_handle 54
ASSERT_PARAM(0 10), in lld_pdu.c at line 527
Guru Meditation Error: Core  0 panic'ed (Interrupt wdt timeout on CPU0)
Core 0 register dump:
PC      : 0x40088386  PS      : 0x00060734  A0      : 0x8008baec  A1      : 0x3ffbf420
0x40088386: r_assert_param at ??:?
A2      : 0x00000001  A3      : 0x00000000  A4      : 0x00000000  A5      : 0x60008054
A6      : 0x3ffbe0a0  A7      : 0x60008050  A8      : 0x80088381  A9      : 0x3ffbf400
A10     : 0x00000004  A11     : 0x00000000  A12     : 0x6000804c  A13     : 0xffffffff
A14     : 0x00000000  A15     : 0xfffffffc  SAR     : 0x00000004  EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000  LBEG    : 0x400882b9  LEND    : 0x400882c0  LCOUNT  : 0x00000000
0x400882b9: r_assert_param at ??:?
0x400882c0: r_assert_param at ??:?
Core 0 was running in ISR context:
EPC1    : 0x40009203  EPC2    : 0x00000000  EPC3    : 0x00000000  EPC4    : 0x40088386
0x40088386: r_assert_param at ??:?
ELF file SHA256: 7269f3af4f5010bc13015895af0700da6d8a6111d8e591803ef6c4b6fba269d5
Backtrace: 0x40088383:0x3ffbf420 0x4008bae9:0x3ffbf440 0x4008b299:0x3ffbf480 0x4008ac76:0x3ffbf4a0 0x4008c006:0x3ffbf4c0 0x4008ce7b:0x3ffbf4e0 0x4008655e:0x3ffbf500 0x402a62af:0x3ffbc420 0x400d2872:0x3ffbc440 0x40098479:0x3ffbc460 0x40097305:0x3ffbc480
0x40088383: r_assert_param at ??:?
0x4008bae9: r_lld_pdu_rx_handler at ??:?
0x4008b299: r_lld_evt_end at ??:?
0x4008ac76: r_lld_evt_end_isr at ??:?
0x4008c006: r_rwble_isr at ??:?
0x4008ce7b: r_rwbtdm_isr_wrapper at intc.c:?
0x4008655e: _xt_lowint1 at /home/esp/esp-homekit-sdk/esp-idf/components/freertos/xtensa_vectors.S:1153
0x400d2872: esp_register_freertos_tick_hook_for_cpu at /home/esp/esp-homekit-sdk/esp-idf/components/esp_common/src/freertos_hooks.c:93
0x40098479: vTaskStartScheduler at /home/esp/esp-homekit-sdk/esp-idf/components/freertos/tasks.c:2086
0x40097305: xQueueGiveFromISR at /home/esp/esp-homekit-sdk/esp-idf/components/freertos/queue.c:1344

log 3:

I (34063) BLE_GATT_service: 54 f5 e6 64 a0 40
ASSERT_PARAM(0 9), in lld_pdu.c at line 527
Guru Meditation Error: Core  0 panic'ed (Interrupt wdt timeout on CPU0)
Core 0 register dump:
PC      : 0x4008838a  PS      : 0x00060734  A0      : 0x8008baf0  A1      : 0x3ffbf420
0x4008838a: r_assert_param at ??:?
A2      : 0x00000001  A3      : 0x00000000  A4      : 0x00000000  A5      : 0x60008054
A6      : 0x3ffbe0a0  A7      : 0x60008050  A8      : 0x80088385  A9      : 0x3ffbf400
A10     : 0x00000004  A11     : 0x00000000  A12     : 0x6000804c  A13     : 0xffffffff
A14     : 0x00000000  A15     : 0xfffffffc  SAR     : 0x00000004  EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000  LBEG    : 0x400882bd  LEND    : 0x400882c4  LCOUNT  : 0x00000000
0x400882bd: r_assert_param at ??:?
0x400882c4: r_assert_param at ??:?
Core 0 was running in ISR context:
EPC1    : 0x40009203  EPC2    : 0x00000000  EPC3    : 0x00000000  EPC4    : 0x4008838a
0x4008838a: r_assert_param at ??:?
ELF file SHA256: 72013a25db751e6ff8dd2fbae71e183dfd53e0cedd40f88ca37145ab06faf725
Backtrace: 0x40088387:0x3ffbf420 0x4008baed:0x3ffbf440 0x400485a5:0x3ffbf480 |<-CORRUPTED
0x40088387: r_assert_param at ??:?
0x4008baed: r_lld_pdu_rx_handler at ??:?

another one:

I (1083526) BLE_GATT_service: ESP_GATTS_CONNECT_EVT, conn_id = 0
I (1083526) BLE_GATT_service: 63 d7 ce 15 04 1f
I (1084716) BLE_GATT_service: ESP_GATTS_MTU_EVT, MTU 517
ASSERT_PARAM(0 9), in lld_pdu.c at line 527
Guru Meditation Error: Core  0 panic'ed (Interrupt wdt timeout on CPU0)
Core 0 register dump:
PC      : 0x40088385  PS      : 0x00060634  A0      : 0x8008baf0  A1      : 0x3ffbf420
0x40088385: r_assert_param at ??:?
A2      : 0x00000001  A3      : 0x00000000  A4      : 0x00000000  A5      : 0x60008054
A6      : 0x3ffbe0a0  A7      : 0x60008050  A8      : 0x80088385  A9      : 0x3ffbf400
A10     : 0x00000004  A11     : 0x00000000  A12     : 0x6000804c  A13     : 0xffffffff
A14     : 0x00000000  A15     : 0xfffffffc  SAR     : 0x00000004  EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000  LBEG    : 0x400882bd  LEND    : 0x400882c4  LCOUNT  : 0x00000000
0x400882bd: r_assert_param at ??:?
0x400882c4: r_assert_param at ??:?
Core 0 was running in ISR context:
EPC1    : 0x40009203  EPC2    : 0x00000000  EPC3    : 0x00000000  EPC4    : 0x40088385
0x40088385: r_assert_param at ??:?
ELF file SHA256: 1010beb47d9aad4a798f538a8402bb0965369c1a2c4b64148307b57303f90500
Backtrace: 0x40088382:0x3ffbf420 0x4008baed:0x3ffbf440 0x400485a5:0x3ffbf480 |<-CORRUPTED
0x40088382: r_assert_param at ??:?
0x4008baed: r_lld_pdu_rx_handler at ??:?
Rebooting...
ets Jun  8 2016 00:22:57

@enricop , Could configure both CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE=1 and CONFIG_BLUEDROID_PINNED_TO_CORE=1 to make bluetooth task pinned to CPU core 1? It may be a temporary solution to fix this problem. Then could you report the test result, thanks.

hi @TianHao-Espressif , so should we disable "FREERTOS_UNICORE" ? (we have not tested our code in multicore mode)

hi @TianHao-Espressif : maybe we can try to enable CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE=1 and CONFIG_BLUEDROID_PINNED_TO_CORE=1  after the issue of PSRAM cache is solved. I've run a very basic test with FREERTOS_UNICORE disabled and those two above configs enabled and it seems to run fine.

hi @TianHao-Espressif  . After running extensive tests we are NOT able to run in dualcore mode, and we have the same issue.
The error below happens frequently while working over BLE and Wifi is on. (UNICORE mode)

I (52715) BLE_GATT_service: ESP_GATTS_MTU_EVT, MTU 517
ASSERT_PARAM(0 9), in lld_pdu.c at line 533
Guru Meditation Error: Core  0 panic'ed (Interrupt wdt timeout on CPU0)
Core 0 register dump:
PC      : 0x400883d6  PS      : 0x00060f34  A0      : 0x8008bc78  A1      : 0x3ffbf4b0
0x400883d6: r_assert_param at ??:?
A2      : 0x00000001  A3      : 0x00000000  A4      : 0x00000000  A5      : 0x60008054
A6      : 0x3ffbe118  A7      : 0x60008050  A8      : 0x800883d1  A9      : 0x3ffbf490
A10     : 0x00000004  A11     : 0x00000000  A12     : 0x6000804c  A13     : 0xffffffff
A14     : 0x00000000  A15     : 0xfffffffc  SAR     : 0x00000004  EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000  LBEG    : 0x40088309  LEND    : 0x40088310  LCOUNT  : 0x00000000
0x40088309: r_assert_param at ??:?
0x40088310: r_assert_param at ??:?
Core 0 was running in ISR context:
EPC1    : 0x40009203  EPC2    : 0x00000000  EPC3    : 0x00000000  EPC4    : 0x400883d6
0x400883d6: r_assert_param at ??:?
ELF file SHA256: 81f29b3a585e92b15d5e55ab7f4bb5f0f44f4b35325f3e69e96c5e90bf4f538a
Backtrace: 0x400883d3:0x3ffbf4b0 0x4008bc75:0x3ffbf4d0 0x400485a5:0x3ffbf510 |<-CORRUPTED
0x400883d3: r_assert_param at ??:?
0x4008bc75: r_lld_pdu_rx_handler at ??:?
Rebooting...
ets Jun  8 2016 00:22:57

Any suggestion? apart pinning BLE to core 1 (which can't be done i our scenario for memory constraints)
Thanks for your support

@enricop , it need time to debug. Could you please use dual-core as the temporary solution?

@TianHao-Espressif  thanks for your support. We have very low free memory in our project and enabling dual-core takes more memory, so if we do this we are stuck into another problem.
We have set int_wdt timeout to 5000 but the error still occurs.
For now we cannot provide test code to reproduce the problem, we are using a custom protocol over BLE GATT to transfer/receive data. Note that we have BLE_MESH and Wifi stacks running in the meanwhile.
The crash happens frequently when we connect with a phone to the BLE GATT server of the esp32 node.

hi @TianHao-Espressif  we got around the low memory problem, tried to switch to dual-core mode, but had some wifi sta association issues.
Notice that on October 28th we were running in dual-core mode and the interrupt watchdog timeout expired again. Unfortunately we didn't save the logs.

Hi @TianHao-Espressif,
We noticed that trying to connect from two separate devices at the same time (in our case Android devices running nRF Connect) reliably manages to reproduce this issue:
I (12944) BLE_GATT_service: ESP_GATTS_CONNECT_EVT, conn_id = 0
I (12944) BLE_GATT_service: 79 a3 99 81 f4 c7
I (12944) ble_rxtx: new BLE_RXTX connection started
I (13664) BLE_GATT_service: ESP_GATTS_MTU_EVT, MTU 517
I (26834) BLE_GATT_service: ESP_GATTS_CONNECT_EVT, conn_id = 1
I (26834) BLE_GATT_service: 5b 63 18 48 e4 7d
I (26834) ble_rxtx: new BLE_RXTX connection started
ASSERT_PARAM(0 10), in lld_pdu.c at line 533
Guru Meditation Error: Core  0 panic'ed (Interrupt wdt timeout on CPU0)
Core 0 register dump:
PC      : 0x40088406  PS      : 0x00060734  A0      : 0x8008bca8  A1      : 0x3ffbf6d0
0x40088406: r_assert_param at ??:?

A2      : 0x00000001  A3      : 0x00000000  A4      : 0x00000000  A5      : 0x60008054
A6      : 0x3ffbe11c  A7      : 0x60008050  A8      : 0x80088401  A9      : 0x3ffbf6b0
A10     : 0x00000004  A11     : 0x00000000  A12     : 0x6000804c  A13     : 0xffffffff
A14     : 0x00000000  A15     : 0xfffffffc  SAR     : 0x00000004  EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000  LBEG    : 0x40088339  LEND    : 0x40088340  LCOUNT  : 0x00000000
0x40088339: r_assert_param at ??:?

0x40088340: r_assert_param at ??:?

Core 0 was running in ISR context:
EPC1    : 0x40009203  EPC2    : 0x00000000  EPC3    : 0x00000000  EPC4    : 0x40088406
0x40088406: r_assert_param at ??:?

ELF file SHA256: 9d10b0c06be042964201d40cc9a2401faef1ff40d04a05df06f600e25d5267eb

Backtrace: 0x40088403:0x3ffbf6d0 0x4008bca5:0x3ffbf6f0 0x4008b455:0x3ffbf730 0x4008b18d:0x3ffbf750 0x4008c1c2:0x3ffbf770 0x4008d037:0x3ffbf790 0x40086492:0x3ffbf7b0 0x402b743b:0x3ffbc6c0 0x400d29f2:0x3ffbc6e0 0x40092a85:0x3ffbc700 0x40091911:0x3ffbc720
0x40088403: r_assert_param at ??:?

0x4008bca5: r_lld_pdu_rx_handler at ??:?

0x4008b455: r_lld_evt_end at ??:?

0x4008b18d: r_lld_evt_end_isr at ??:?

0x4008c1c2: r_rwble_isr at ??:?

0x4008d037: r_rwbtdm_isr_wrapper at intc.c:?

0x40086492: _xt_lowint1 at /home/marco/esp-homekit-sdk/esp-idf/components/freertos/xtensa_vectors.S:1153

0x402b743b: esp_pm_impl_waiti at /home/marco/esp-homekit-sdk/esp-idf/components/esp32/pm_esp32.c:484

0x400d29f2: esp_vApplicationIdleHook at /home/marco/esp-homekit-sdk/esp-idf/components/esp_common/src/freertos_hooks.c:63

0x40092a85: prvIdleTask at /home/marco/esp-homekit-sdk/esp-idf/components/freertos/tasks.c:3382 (discriminator 1)

0x40091911: vPortTaskWrapper at /home/marco/esp-homekit-sdk/esp-idf/components/freertos/port.c:143

Rebooting...

In this case, the Wi-Fi adapter is also up (running in soft-AP mode with no clients connected).

@enricop @mcilloni , We're working on reproducing the problem. If possible, I hope you can provide the test code, it can save time. Thanks.

Hi @mcilloni , could you please describe the issue in detail, thank you.

Hi @mcilloni , could you please describe the issue more detailed? Thank you.

one more log:
ASSERT_PARAM(1 10), in lld_pdu.c at line 533
Guru Meditation Error: Core  0 panic'ed (Interrupt wdt timeout on CPU0)
Core 0 register dump:
PC      : 0x40088405  PS      : 0x00060034  A0      : 0x8008bcac  A1      : 0x3ffbf4b0
0x40088405: r_assert_param at ??:?

A2      : 0x00000001  A3      : 0x00000000  A4      : 0x00000000  A5      : 0x60008054
A6      : 0x3ffbe118  A7      : 0x60008050  A8      : 0x80088405  A9      : 0x3ffbf490
A10     : 0x00000004  A11     : 0x00000000  A12     : 0x6000804c  A13     : 0xffffffff
A14     : 0x00000000  A15     : 0xfffffffc  SAR     : 0x00000004  EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000  LBEG    : 0x4008833d  LEND    : 0x40088344  LCOUNT  : 0x00000000
0x4008833d: r_assert_param at ??:?
0x40088344: r_assert_param at ??:?

Core 0 was running in ISR context:
EPC1    : 0x40009203  EPC2    : 0x00000000  EPC3    : 0x00000000  EPC4    : 0x40088405
0x40088405: r_assert_param at ??:?

ELF file SHA256: f76fd9b02995b35027f5c4f3a1761616d1b487acffce942ea327545a8727237f

Backtrace: 0x40088402:0x3ffbf4b0 0x4008bca9:0x3ffbf4d0 0x4008b459:0x3ffbf510 0x4008b191:0x3ffbf530 0x4008c1c6:0x3ffbf550 0x4008d03b:0x3ffbf570 0x40086496:0x3ffbf590 0x402b971f:0x3ffbc6c0 0x400d29e6:0x3ffbc6e0 0x40098b3d:0x3ffbc700 0x400979c9:0x3ffbc720
0x40088402: r_assert_param at ??:?
0x4008bca9: r_lld_pdu_rx_handler at ??:?
0x4008b459: r_lld_evt_end at ??:?
0x4008b191: r_lld_evt_end_isr at ??:?
0x4008c1c6: r_rwble_isr at ??:?
0x4008d03b: r_rwbtdm_isr_wrapper at intc.c:?
0x40086496: _xt_lowint1 at /home/esp32/esp-homekit-sdk/esp-idf/components/freertos/xtensa_vectors.S:1153
0x402b971f: esp_pm_impl_waiti at /home/esp32/esp-homekit-sdk/esp-idf/components/esp32/pm_esp32.c:484
0x400d29e6: esp_vApplicationIdleHook at /home/esp32/esp-homekit-sdk/esp-idf/components/esp_common/src/freertos_hooks.c:63
0x40098b3d: prvIdleTask at /home/esp32/esp-homekit-sdk/esp-idf/components/freertos/tasks.c:3382 (discriminator 1)
0x400979c9: vPortTaskWrapper at /home/esp32/esp-homekit-sdk/esp-idf/components/freertos/port.c:143

the crash is caused by an attempt from the mobile phone to connect two times to the GATT:
I (5661) BLE_GATT_service: ESP_GATTS_CONNECT_EVT, conn_id = 0
I (5661) BLE_GATT_service: 7f de aa 4d ec 8c
I (5661) ble_rxtx: new BLE_RXTX connection started
I (5871) BLE_GATT_service: ESP_GATTS_CONNECT_EVT, conn_id = 1
I (5871) BLE_GATT_service: 57 f5 55 b2 df af
I (5871) ble_rxtx: new BLE_RXTX connection started
I (6661) BLE_GATT_service: ESP_GATTS_MTU_EVT, MTU 517
I (7201) BLE_GATT_service: ESP_GATTS_MTU_EVT, MTU 517

now we've seen that is happens sporadically at any time while no existing connection is present

@enricop , did you do BLE scan and advertising simultaneously ? If so , I suggest you disable "BTDM_CONTROLLER_FULL_SCAN_SUPPORTED" in menuconfig. Then take a look if the problem still happen? Thanks.

hi @TianHao-Espressif
our device use the following features:

it is a ble_mesh node with many client models (one for each server model on the network). Basically all the other nodes on the network publish messages to our node.
it is provisioned with this method: (esp_ble_mesh_node_prov_enable(ESP_BLE_MESH_PROV_GATT))
so it has provisioning support using GATT (PB-GATT) and it has ble_mesh Proxy protocol support
we use also the BLE GATT Server for running a custom application protocol

I suppose it never does active scan. Only passive? And it use advertising for the GATT Server.
Our sdkconfig.txt
What options should we use? In particular:
CONFIG_BTDM_BLE_SCAN_DUPL
CONFIG_BTDM_CTRL_FULL_SCAN_SUPPORTED
CONFIG_BTDM_COEX_BLE_ADV_HIGH_PRIORITY
CONFIG_BT_BLE_HOST_QUEUE_CONG_CHECK
CONFIG_BT_BLE_ACT_SCAN_REP_ADV_SCAN

#2350 #2672

Hi @enricop,
I'm using ESP32-DevKitC (embedded with ESP32-WROVER-B) to reproduce but I failes.
I'm using ESP32-DevKitC to start a Wi-Fi SoftAP and connect with two separate phones (iphone and Xiaomi).
In the meanwhile, ESP32-DevKitC is running GATTC to scan for GATTS on Xiaomi with GATTS writing char to GATTC.
On this occasion, it works without assert.
So I suggest you could follow the advice by @TianHao-Espressif to disable BTDM_CONTROLLER_FULL_SCAN_SUPPORTED in menuconfig, it really helps us to diagnose this issue, thank you.

hi @AbnerFederer ,
thx. We are testing, since yesterday, with BTDM_CONTROLLER_FULL_SCAN_SUPPORTED disabled.

I'm using ESP32-DevKitC to start a Wi-Fi SoftAP and connect with two separate phones (iphone and Xiaomi).
In the meanwhile, ESP32-DevKitC is running GATTC to scan for GATTS on Xiaomi with GATTS writing char to GATTC.

we are using the wrover-b as : Wifi Station + BLE GATT Server.

I'm using ESP32-DevKitC to start a Wi-Fi SoftAP and connect with two separate phones (iphone and Xiaomi).
In the meanwhile, ESP32-DevKitC is running GATTC to scan for GATTS on Xiaomi with GATTS writing char to GATTC.

We are using the wrover-b as : Wifi Station + BLE GATT Server.

Hi @enricop,
I test your application case today and it works correctly (using wrover-b as Wifi + BLE GATT Server).
Xiaomi runs GATT Client to read and write char while ESP32 maintains conneting the iphone which acts as SoftAP.
Maybe my test demo is too easy to reproduce the issue. If you can send us your demo for pressure test, that would be better.
Thank you, Abner.

with BTDM_CONTROLLER_FULL_SCAN_SUPPORTED disabled the issue didn't occur in the last 4 days

Hi @enricop
OK, that's great.
We will continue to debug for this and inform you if any improvement.
If the issue happens again, just let us know.
Thank you.

hi all,
does this commit fix anything regarding this bug?
thanks for your support

Hello, This issue has been resolved at commit b04e643b in the last release/v4.0. You can try to update to solve this problem. Let me know if you have any questions. Thank you.

Thanks for reporting and updates. Will close the ticket now, feel free to reopen if the issue still happens. Thanks.


integration: improve integration test framework

Currently, all tests are running against one etcd cluster. This is bad because ordering of how tests case are being run can affect the correctness of the test; A test failure might cause by operations done to the shared cluster from another test.
We need a better test framework that allows each test to spawn its own etcd cluster and runs against it. In this way, all tests don't need to share a test etcd cluster and are way more self contained.

it seems like there is another pr something like this. https://github.com/coreos/jetcd/pull/58.
need to take a look.

I also started some work here, similar to #58, my target was to make bug #236 testable
I didn't see this issue and pull #58 as I started, now my question is should I continue and make it ready for PR?
https://github.com/Grisu118/jetcd/tree/use-dockerjava

what do you think about using testcontainers framework?
it lets you start docker containers smooth and easily, and it handles all the destroy-startup logic
all you need is to add this @ClassRule field to your classic junit, like that:
https://github.com/IgorPerikov/etcd-service-discovery/blob/master/service-discovery/src/test/java/com/github/igorperikov/etcd/discovery/etcd/EtcdClientTest.java#L14

@IgorPerikov  I think testcontainers framework provides a great abstraction over docker. I like it. cc/ @Grisu118 @lburgazzoli.

@Grisu118 maybe we can use testcontainer framework instead of your docker client implementation. And port your [jetcd docker] https://github.com/Grisu118/jetcd/tree/use-dockerjava/jetcd-core/src/test/java/com/coreos/jetcd/docker to use testcontainer framework

Currently I'm very busy, but the frameworks looks nice. Will take a look at it.

Do it :) @IgorPerikov

@IgorPerikov do it!


Unable to input scaling factor of 0.01

Maya models in the cm scale, but Godot uses m scale, so we want to use scale the entire scene by 0.01, but it is not inputable.

0.01 becomes 0.0

0.01 becomes 0.0

I guess you just need to add the -precision 6 flag to the floatFieldGrp in the maya2glTF-UI.mel script (not where it is queried, but where the field is created)
Could you give that a try?

This works.
global proc maya2glTF_UI()
{
    // This is defined on maya startup
    global string $gMainProgressBar;

    // This is auto-updated by msbuild
    string $maya2glTF_version = "V0.9.10 1f6a8bb";

    if (`window -exists maya2glTF_exporter_window`)
        deleteUI maya2glTF_exporter_window;

    string $year = `date -format "YYYY"`;
    string $chars[] = `ls -type character`;

    // Load previous or default values
    string $exportDir = fromNativePath(_getStr("outputFolder", _getDefaultOutputFolder()));
    string $sceneName = _getStr("sceneName", _getDefaultSceneName());
    string $copyright = _getStr("copyright", "(C)"+$year+" "+getenv("username"));
    float $scale = _getFlt("scale", 1);
    string $flags = _getStr("flags", "");
    string $char = _getStr("char", $chars[0]);
    int $anim = _getInt("anim", 1);
    string $clip = _getStr("clip", "clip");
    int $selOnly = _getInt("selOnly", 1);
    int $visOnly = _getInt("visOnly", 1);

    window -title ("maya2glTF") maya2glTF_exporter_window;

    string $header = "Copyright (C)" + $year + " wondermedia.tv         version " + $maya2glTF_version;

    string $frame = `frameLayout -mw 30 -mh 30 ($header)`;

    columnLayout -adjustableColumn true -rowSpacing 10;

    button -label "assign PBR shader to selection" -command "maya2glTF_assignPbrShader();";
    button -label "ignore selected mesh deformers" -command "maya2glTF_ignoreSelectedDeformers();";

    separator;

    button -label "select all polygon meshes" -command "maya2glTF_polySelectAndFrame();" -bgc (60/255.0) (80/255.0) (120/255.0);

    separator;

    string $folderFLD = `textFieldGrp -fileName $exportDir -label "output folder:" -adjustableColumn 2`;
    string $copyrightFLD = `textFieldGrp -text $copyright -label "copyright:" -adjustableColumn 2`;
    string $sceneNameFLD = `textFieldGrp -text $sceneName -label "scene name:" -adjustableColumn 2`;
    string $scaleFLD = `floatFieldGrp -precision 6 -value1 $scale -label "scale factor:"`;

Fixed by #87


Is Microcharts supports TIZEN Cross platform

Hi,
I followed few sites and trying to achieve Charts with help of Xamarin Forms in TIZEN but no luck,
Could you please let me know.
My Code :+1:
https://developer.tizen.org/forums/tizen-.net/how-use-microcharts-tizen
Error Log:
`		this.chartView.Chart	error: error: member reference type '__CrossTemplate1.TabPage1 *' is a pointer; did you mean to use '->'?
error: member reference type 'Microcharts.Forms.ChartView' (aka '__Microcharts.Forms.ChartView *') is a pointer; did you mean to use '->'?
error: no member named 'Chart' in '__Microcharts.Forms.ChartView'
error: 3 errors parsing expression
`
Thanks in advance,
Vamsi K

This is probably only going to happen once SkiaSharp gets Tizen support: https://github.com/mono/SkiaSharp/issues/418


Debian 10 upgrade breaks startup script

After a successful terraform apply, Vault is never installed on the created machine. Inspecting the logs reveals the root problem:
vault-us-east1-jvv9 login: Oct  1 18:29:06 vault-us-east1-jvv9 startup-script: INFO startup-script: E: The repository 'http://packages.cloud.google.com/apt google-cloud-monitoring-buster Release' does not have a Release file.
Taking a look at Google's repository I can see entries for jessie and strech, but not buster, so perhaps a downgrade is necessary.

Hi @guhcampos
You're right. I just pushed up 6c04f2ad58e3b41909e57502026445a8ec2cec53 to change the default. You can also force the default to a debian 9 in your configurations because it's a variable (and was a variable before the upgrade). I'll try to release a new version soon.


200% Zoom / Accessibility Testing

Any other WCAG rules we could offer here?

Relevant: https://github.com/microsoft/playwright/issues/2497


Numpy 1.20 compatibility fixes

closes #784
Hmmm. Maybe I should have based this off of #782 so that the ci would run....

I rebased.

If this passes can probably just merge this on rather than #782

Sounds good. I'll merge when it's green.

Hmm looks like linting is also broken. Would you rather merge this and do the lint fix as a follow up?

Here is fine if you're interested in working on it. If so, I'll leave the mypy stuff to you. I'm totally fine with just disabling mypy for now, we aren't getting a ton of value out of it.

I took a look and I think this should merge first so that CI runs on PRs.

The tests are passing other than lint

Great, thanks for this and for opening the issue!


invokeLambda method causes Lambda to be executed four times

Description
I’m using the "invokeLambda" as part of my Jenkins pipeline to kick off a Lambda function that is taking approximately 50 to 70 seconds to complete.
The lambda function completes successfully each time.
The Lambda function is consistently getting executed four times instead of just once even though I am calling the “invokeLambda” method only once.
Each execution has a different execution id so it does not appear to be AWS retrying the function.
Steps to Reproduce
withAWS(region: "eu-west-1",
roleAccount: '906291453955',
role: 'a205470-JenkinsCrossAccount') {
     invokeLambda(functionName: 'a205470-wcol-update-monitors',
    payload: [ "environment" : "ppe02", "bucket" : "preprod-ppe02", "method" : "Create" ]))

}
Expected behavior: Lamba would be invoked once
Actual behavior: Lambda was invoked 4 times
Environment
Jenkins-Version: Jenkins ver. 2.190.2
Java-Version: ????
Plugin-Version: 1.36
Master/Slave Setup: No

I have a difficulty similar to the @JPGrieb report
When invoking a Lambda function using the invokeLambda method, it's not waiting for the execution to return. In my case I'm doing this:
Jenkinspipeline:
stage('AWS Lambda'){
	steps {
		invokeLambda([awsRegion: 'us-east-1',
			functionName: 'function-lambda',
			payload: "{ \"Suspend\": \"true\"}] }",
			synchronous: true,
			useInstanceCredentials: true])
	}
}

Lambda function code:
exports.handler = async (event, context) => {
	return new Promise(
        function(resolve, reject) {
			execMethod({ ... }, function(err, data) {
				if(err){
					reject(Error(err));
				}else{
					resolve("Done!");
				}
			})
		}
	)
}

Jenkins version: 1.24.3
Plugin version: 1.43

@rafaeldalsenter Were you able to address the issue and wait for execution of lambda function to complete ? If yes, how did you achieve this ? I am facing same issue.

Hi @adityakapre,
To solve this, I installed AWS CLI and used sh to invoke the lambda function:
aws lambda invoke --function-name function-lambda --payload \"{ \"Suspend\": \"true\"}] }\" --invocation-type RequestResponse response.json

The reason why you see this behavior is cli\sdk retries: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-retries.html
The issue can be reproduced in AWS CLI as well. If you have a long-running lambda (that runs more than 60 seconds), after 60 seconds first call will be treated as time-outed and will be repeated AWS_MAX_ATTEMPTS -1 times.
To fix it for CLI, you need to run invoke command as follows:
AWS_MAX_ATTEMPTS=1 aws lambda invoke --cli-read-timeout 300 ...
This call will invoke lambda exactly one time and will error with a timeout after 5 minutes.
Same configuration for retries can be done for Java SDK:
clientConfiguration.setMaxErrorRetry(0)
Unfortunately, I don't have time to raise a PR, but hope this comment helps.

is this problem solved yet or i need to use a sh script to invoke lambda ?


Fix typo in website documention

Fix typo in website documentation for Deployments page

CLA signed

Thank you! Nice catch, in an especially important topic!
/lgtm
/approve


Change Python server address IP.

Please add a way to change the Python server address IP.

Thanks for opening this issue, this is definitely something I want to add, but grayjay doesn't provide a text option for plugins yet. (Only dropdown menu and toggle)


Provide handled execution of CLI commands so that error message is nicely visible on error output

Describe the request
Currently all execution of Pharo commands might end up with exception which might be domain specific or not. Error output is polluted with stack-trace information that isn't relevant for printing domain error.
Expected behavior
All domain errors should be printed in nice way (without any stack trace visible).
All non-domain errors will print stack trace.
Exit code should return 1 in both cases (exitFailure).
Expected development cost
Instead of sending top-level execute method on super class of CLI commands, implement new executeHandled that will:

On any domain error will print only relevant one-line information to error output (no stack trace).
On any non-domain error (e.g. bugs in code) will print also stack-trace
On all errors will invoke exitFailure
On successful execution will be exitSuccess invoked (if not already done on framework level of CLAP)

Screenshots
This is example how domain error ends up. It should print just red line (that is relevant).

Additional context
It is relevant for OS Sub-process command execution, that should error print information whenever OS process command fails. See #23

Closing this - issue moved to on PharoLauncher project.


Trying to view live pages results in a 404 with the url ending in None

I am new to Wagtail so this is probably an issue on my end. If someone could please direct me in the right direction, that would be appreciated!

Hi @adamSiwiec - please use the Wagtail support Google group for support queries.

If somebody else encounters this problem following the tutorial in the documentation, this can happen if you create the blog index next to the Home in the Root instead of as a child of Home. The documentation reads "create a BlogIndexPage under the Homepage," but it would perhaps be better if it said "create a BlogIndexPage as a child of the Homepage."

Thanks @rifuso - that sounds like a good idea. Updated in 0629b6a8666c28b8d3b23b101feae5229c719f10


The training phase of train.py shows epochs: 0it [00:00, ?it/s].

Hello,
When train.py in OpenPCDet/tools/ was executed, it entered the evaluation phase without training as shown below.
`2024-05-19 12:45:26,637   INFO  Start training kitti_models/002_001_006_001_centerpoint(default)
epochs: 0it [00:00, ?it/s]
2024-05-19 12:45:28,179   INFO  End training kitti_models/002_001_006_001_centerpoint(default)
2024-05-19 12:45:28,180   INFO  Start evaluation kitti_models/002_001_006_001_centerpoint(default)
2024-05-19 12:45:28,193   INFO  Loading KITTI dataset
2024-05-19 12:45:28,862   INFO  Total samples for KITTI dataset: 17672`
The number of data stored in velodyne, label_2, calib, image_2 in data/kitti/training/ and velodyne, calib, image_2 in data/kitti/testing/ is 22090.
I would appreciate it if you could tell me if you know anything about this.

Deleting everything stored in the output folder solved the problem.


🎆 Support inline property on image nodes

This consumes the image inline: true property added here https://github.com/executablebooks/mystmd/pull/641 and adds style="display:inline" if that property is present on image nodes.

@rowanc1 @fwkoch what are the next steps on this one?

We should try and close this! :)


window walker: update text in search box

At the moment window walker shows the following text if no query was entered: search for running processes
What do you think about  adding the string or windows to the information text in the search box?
This would indicates the user that he can search for process name or window title.
PR is following soon.

Fix available in 0.16.1 https://github.com/microsoft/PowerToys/releases


diagnostic plot of all aggregated clustering results

idea: a barplot ordered by number of clusters within each clustering
[ ] research alternatives that are common in the field

What is the added value compared to clustree?


[PROBLEM]

[optional format]
Identify the file to be fixed
utils?
Describe the problem
I tried to replicate the reproducable-outputs-with-seed-parameter guide: https://cookbook.openai.com/examples/reproducible_outputs_with_the_seed_parameter.
When importing
import asyncio
from IPython.display import display, HTML

from utils.embeddings_utils import (
    get_embedding,
    distances_from_embeddings
)

I get this error: ModuleNotFoundError: No module named 'utils'
I Updated to openai=1.3.3 but still got the error.
I assume the utils library is something imported by openai?
Thanks for your help.

Hi [adkiem] (https://github.com/adkiem) this guide  reproducable-outputs-with-seed-parameter guide: is working properly utils module is already present in the example folder. All you need is to setup your .env file( for OPENAI_API_KEY ) and environment
here are some screenshot

I request repository maintainers to close this issue. There is no such issue


feat: use local-session to backup request context in case of missing

What type of PR is this?

feat
Check the PR title.

[x] This PR title match the format: <type>(optional scope): <description>
[x] The description of this PR title is user-oriented and clear enough for others to understand.
[ ] Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.
(Optional) More detailed description for this PR(en: English/zh: Chinese).

en: use local-session to backup request context
zh(optional): 采用本地会话方式兜底请求上下文丢失
(Optional) Which issue(s) this PR fixes:

(optional) The PR that updates user documentation:

https://github.com/cloudwego/kitex/blob/develop/pkg/remote/connpool/long_pool_test.go#L564 你顺便把这个改成100ms，应该就不会出错了


A missing key in an embedded type should be a failure

This addresses the issue that an embedded object that is optionally decoded, as
the Location object is in the LocationPost object in these changes, should
fail to decode if the key exists but the embedded json fails to parse for any
reason. Right now there is a bug that a missing key failure in the embedded
object will cause the parent object to have a .success(.none) for its child
instead of the correct .failure.

@tonyd256 good stuff. I agree that from the standpoint of the whole decode operation, this is a .typeMismatch error.
Im a little dissapointed that we are losing the original error information. If the mapping failed at the top level (the one that gets reported to client code), we would know the true cause (e.g. .missingKey("foo")). But here, with nested mappings, we are losing that information. Its logically ok to lose the information, because we are moving to a higher level of abstraction. But from a usefulness standpoint, I would be in favor of something like: case typeMismatch(expected: String, actual: String, underlyingError: DecodeError?). (I think the enum would have to be made indirect.) Of course we could end up with a long chain of such nested errors, but I think the models we parse never have too many layers and it would actually be nice to see a "path" to the source of the problem.
On the other hand, this is already an edge case and maybe we dont wanna polute the .typeMismatch error case with this third parameter.

@pteasima I agree that it isn't great to lose that info. It actually might be better to use .multiple from #388 ... We could hold onto the missingKey error but also add the typemismatch error we're generating here. That would allow for keeping the lower level error as well as the higher abstraction error. Win Win?

Using .multiple doesnt feel right - these arent 2 distinct errors, just two interpretations of the same error (Child object interprets it as .missingKey("foo") and Parent object interprets it as .typeMismatch(expected: "Child",.... Hope this makes sense, I must admit I havent read #388 thoroughly.
However, since I dont have a better proposal, Im am absolutely OK with using .multiple. In real apps, there is usually no error handling logic for mapping errors, just printing for debugging purposes. So I feel like we dont have to do this "correctly", we just have to do it in a way that is useful. And using .multiple definitely does that. 👍  Let's not do anything too complicated.

@pteasima Ya I hear that. I think there is a "quick" solution that makes at least the docs in line with how it should work. But maybe there is a "correct" way which might look something like you've posted above with underlyingError. If this was a critical bug fix I would say let's do "quick" for now and worry about correctness later. But I think this will come out with the next major version of Argo so maybe we just do the "correct" way now.
@gfontenot any thoughts here?

I'd vote for the "correct" way, but we also need to have some urgency around getting a Swift 3.0 version of Argo shipped.

@gfontenot do you think the underlyingError method above is the right way? It probably wouldn't be too hard to do that but would be a bit of a special case and since we can't have defaults on enums it would require us to have that parameter in all the places (except where we use the helper function of course).

I haven't thought about it enough to really say for sure.

I guess I'll default to my normal question: What does Aeson do in this case?

For reference, Aeson only returns the embedded error.
import Data.Aeson
import Data.Aeson.Types
import Data.ByteString.Char8 (pack)

data Post = Post
  { author :: Maybe User
  , text :: String
  } deriving Show

data User = User
  { name :: String
  , id :: Int
  } deriving Show

instance FromJSON User where
  parseJSON (Object o) = User
    <$> o .: "name"
    <*> o .: "id"

  parseJSON x = typeMismatch "User" x

instance FromJSON Post where
  parseJSON (Object o) = Post
    <$> o .:? "user"
    <*> o .: "text"

  parseJSON x = typeMismatch "Post" x

then
eitherDecodeStrict (pack "{\"name\":\"Joe\"}") :: Either String User
-- Left "key \"id\" not present"

eitherDecodeStrict (pack "{\"text\":\"hello\",\"user\":{\"name\":\"Joe\"}}") :: Either String Post
-- Left "key \"id\" not present"

eitherDecodeStrict (pack "{\"text\":\"hello\"}") :: Either String Post
-- Right (Post {author = Nothing, text = "hello"})

I dug in a bit and it seems that having .optional wrap the entire result is the wrong way. We should succeed with a .none only when that key is missing and not when the embedded type fails to decode. So I reworked Argo to align more with Aeson in this regard. You can check out how Aeson implements .:? here: https://github.com/bos/aeson/blob/master/Data/Aeson/Types/FromJSON.hs#L670
I pushed new code and I think this code is actually the most "correct" especially if we consider Aeson as our inspiration.

Just got bit by this today. Any update on landing this or the other PRs for an official Swift 3 release?


Feature request: Fallback to 'traditional' method of copying when navigator.clipboard fails

On some browsers, for example DuckDuckGo on Android, navigator.clipboard exists, but does not function due to a Write permission error, (see https://github.com/duckduckgo/Android/issues/1695), however the fallback method works as intended.
This feature request is to attempt to use the navigator.clipboard method where possible, but if it fails, to always try the fallback method, for cases like this.

Hey sorry for the late response, I managed to make some progress on this two weeks ago but then went away on holiday :pray:
We already have a fallback in place but that only triggers when navigator.clipboard doesn't exist. In cases like this where navigator.clipboard just doesn't work, as you found, there is just no fallback. I wanted to just automatically use the fallback but the issue with that is it may be a breaking change as it would make the on:svelte-copy:error useless as the fallback method provides no error information - although it occurs to me now that we don't document that the error event only fires when the clipboard API is used, so it might not be a big deal.
Ideas:

A solution to it maybe being a breaking change that could be done is to add a new option that when true will automatically fallback - the downside being I don't know why you wouldn't want this on by default
Do the opposite and make auto fallback something you can disable
Consider this not a breaking change and automatically fallback
Release a new major version

Interested to see what you think, and will think on it myself a little further - will try and get a patch out this/next week regardless

I think the ideal solution would be to either:

Make it a configurable thing

Or

Deprecate the on:svelte-copy:error, but don't remove it until the next major version, and automatically fallback

Closing this out as DuckduckGo now supports navigator.clipboard, and I don't require it anymore 🙂


Support for live wallpapers

I was wondering if there are any plans to have Aerial support live wallpapers with these same videos instead of just using them as screensavers?
I’d love to be able to set my desktop wallpaper to these videos as well.
Thanks!

Hey @jophill6
So in Companion, I do plan to add a windowed mode that can go both fullscreen and desktop. It's not ready for primetime yet but it's half working, I posted some progress a while back on ko*fi with a screenshot here : https://ko-fi.com/i/IP5P824B68
Apart from a couple of bugs that I need to wrap my head around, Catalina and Big Sur - because they use containers - make things a lot harder to get it to work as intended, but this should come at some point. No target date though.

Sounds good - thanks for the update. How would that support a live wallpaper though? I’d like the video to be the desktop wallpaper in the background, not just a window. :-)
Sent from my iPhone

On Oct 1, 2020, at 7:19 AM, Guillaume Louel<EMAIL_ADDRESS>wrote:

Hey @jophill6
So in Companion, I do plan to add a windowed mode that can go both fullscreen and desktop. It's not ready for primetime yet but it's half working, I posted some progress a while back on ko*fi with a screenshot here : https://ko-fi.com/i/IP5P824B68
Apart from a couple of bugs that I need to wrap my head around, Catalina and Big Sur - because they use containers - make things a lot harder to get it to work as intended, but this should come at some point. No target date though.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Yep, basically, you make a window the screen size and give it a special attributes so it can show as a wallpaper behind the desktop icons. That's how live wallpapers works.

If you have companion installed, you can see the menu entries are already there because I like teasing 🤣

Ah, nice!  Thanks for the update (and education). :-)
Sent from my iPhone

On Oct 1, 2020, at 8:15 AM, Guillaume Louel<EMAIL_ADDRESS>wrote:

If you have companion installed, you can see the menu entries are already there because I like teasing 🤣
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@jophill6 so it's not fully there yet, but there's now a full screen mode in Companion 1.2 that lets you run Aerial on a monitor while you work on the other. Desktop mode will be coming next there.

Great news - thanks for the update... can’t wait!
-Brad
Sent from my iPhone

On Dec 2, 2020, at 8:46 AM, Guillaume Louel<EMAIL_ADDRESS>wrote:

@jophill6 so it's not fully there yet, but there's now a full screen mode in Companion 1.2 that lets you run Aerial on a monitor while you work on the other. Desktop mode will be coming next there.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

And it's here, finally.

It's still very early so you may hit some issues. I'd suggest you read that post regarding windowed mode, the same caveats apply : https://ko-fi.com/post/Aerial-2-2-1-and-Companion-1-2-R6R42TINQ
Get the Companion beta here : https://github.com/glouel/AerialCompanion/releases/download/v1.2.1beta1/AerialCompanion.dmg
Also make sure you update Aerial to 2.2.2beta1 using Companion, if not you'll experience memory leaks.

I did publish a standalone app to change settings if you need, more info here : https://ko-fi.com/post/Desktop-mode-is-here-in-beta-O4O32U85N

@jophill6 Version 2.2.3 of Aerial contains an important fix to solve a black screen issue with Desktop mode and windowed mode.

Hey @glouel !
I'm using 2.2.8beta4, is there a way to get this feature in this version?
macOS Big Sur 11.2.3

Hey @KAMIKAZEUA, you need the beta of Companion for it to work, install this version : https://github.com/glouel/AerialCompanion/releases/download/v1.2.1beta2/AerialCompanion.dmg
And you'll be good to go !

I just wondering of it's too old version, only v1.2.1beta2.
Now I understand, that this is version of app, but not screen-saver.
Thanks!

Yep it's a bit complicated 🙈
That feature is in the beta of companion (and requires a modern version of the screensaver ;). Things will get a lot simpler as soon as I release the final version of that soonish ;) so yep, keep your 2.2.8beta4, that's fine, just replace your old companion and you'll get the feature.


Unit Testing for the recommender engine

In this commit, I have create Unit Tests for all of the functions present in the recommender engine. This testing helps to create a more rigorous recommender engine by exposing the faults and helping the maintainers understand the library's scope and limitations.
These files use the pytest python testing utility. To run the testing suite, all you have to do is type pytest in the  recommender directory. Please note, you must have pytest installed which can be installed with pip.
Additionally, please note that I ran into some issues with importing the modules for the testing library. To overcome the issue and the run the tests, I have to rename the recommender_engine module to recommender.
Thanks for reviewing, please let me know if you have any additional questions!

Approved, thanks

Thanks for approving! Is there anything blocking you from merging to main?


D3: Create book listings for database

Create book listings file for the database to store all information pertaining to book listings

"Create Book Array In Database:
Function createUserWithEmailAndPassword should create user account in database
with an array of empty books
Checks:

Ensure database response shows an array
Success: User is created within the database containing saved books array and book listings array
Un-Successful: User is not created in the database containing saved books array and book listings array"


[EUWE] Power operations in Service Detail view

This PR adds the Power Operations feature in the Service Detail view.

A new Service PowerOperations was created that would be injected in both the Service list controller as well as the Service detail controller.
Buttons in the top right corner were rearranged to avoid making the page look overly busy (with too many buttons).
Also added a Power State field to indicate the current Power status

This is the Euwe equivalent of the upstream PR https://github.com/ManageIQ/manageiq-ui-service/pull/330

@chriskacerguis For some strange reason Hound pointed out a few linting violations on this Euwe PR, but for the equivalent upstream PR https://github.com/ManageIQ/manageiq-ui-service/pull/330, with identical code changes there were no violations.
Not sure what to make of it.

@miq-bot add_label bug,blocker,euwe/yes


nested packages bug(?)

Hello dpeek,
I have a package called com.mydomain.mylibrary
when I've got all the xml (in the bin/xml folder) written and I launch
haxelib run dox -o docs -i bin/xml -in com
I get just my package
if I run the command
haxelib run dox -o docs -i bin/xml -in com.mydomain
to really filter just my packages (there could be something else in the top COM)
I get nothing
I've tried with something common like openfl filtering -in openfl (it works) and after -in openfl.display (it doesn't work)
Am I doing something wrong (maybe I didn't understand completely the -in arg) or is there a bug?
Thanks

Is this git dox or haxelib dox?

I was using haxelib dox
I've just moved to the git dox to be sure it was a current problem.
Same behaviour.

% haxelib list dox
dox: git [dev:/usr/lib/haxe/lib/dox/git]

% haxelib run dox -o docs -i bin/xml -in com
Parsing bin/xml/neko.xml
Processing types
..
Generating navigation
Generating to docs
.
Generated 1 types in 4 packages
Copying resources from /usr/lib/haxe/lib/dox/git/themes/default/resources
Done (1.539s)

% haxelib run dox -o docs -i bin/xml -in com.mydomain
Processing types

Generating navigation
Generating to docs

Generated 0 types in 1 packages
Copying resources from /usr/lib/haxe/lib/dox/git/themes/default/resources
Done (0.027s)

Could you try again now? It looks like the problem was that the parent packages got filtered out.

Great! It works perfectly.
Thank you very much for dox and especially for this fix ;)

\o/


Camera and Audio are missing from Xamarin Essentials

I noticed that the camera and audio APIs are missing from the Xamarin Essentials. There are limited and outdated examples on using camera and audio APIs with Xamarin. It would be nice just to plug and play with these APIs. It would be nice be able to create a customized GUI for camera and audio APIs. In addition, it would be nice to customize the properties and functionality for the camera and audio APIs as well. Overall, the camera and audio APIs are essential given the high demand of their use such as Social Media.

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

ID: c420b152-7303-918a-dbc8-8d1e539c64ec
Version Independent ID: fe85e24f-c3fc-3763-b1db-6b360fb08067
Content: Xamarin.Essentials - Xamarin
Content Source: docs/essentials/index.md
Product: xamarin
Technology: xamarin-essentials
GitHub Login: @jamesmontemagno
Microsoft Alias: jamont

Title updated

Microsoft support for Xamarin will end on May 1, 2024 for all Xamarin SDKs including Xamarin.Forms. In preparation for this, all issues and PRs in this repository are being closed.
.NET MAUI is the replacement for Xamarin.Forms, and it's documentation can be found here.


Expose default int4 config getter function

What does this PR do?
Expose a quite useful function for getting default int4 config which also tries to read model_id from config.json. Moved it from exporters.openvino to configuration.py.
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

@eaidova, please tale a look

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Support for Attachments

Proposal
A feature to include PDFs and images linked within Markdown documents.
If we are forced to maintain state in API calls, will drop the feature.

Image input to the model seems to have become easier.
https://cookbook.openai.com/examples/gpt4o/introduction_to_gpt4o#image-processing

This issue has been resolved in #25


Reduce GitHub Action VM Size to 16-cores · 64 GB RAM · 600 GB SSD

Fixes #2294
This is intentionally created only as a DRAFT PR, for now; in order to see if it works, and to compare to other similar changes I'll make; I'll be closing this and/or other such PRs, and in the end keep only 1 of them.

Intentionally closing this (un-merged), as per https://github.com/google/android-fhir/issues/2294#issuecomment-1779722928.


IgnoreHTTPSErrors option removed ?

https://playwright.dev/dotnet/docs/api/class-browser#browser-new-context
Does the documentation need to be updated or will IgnoreHTTPSErrors be added back as a configurable option? I cannot access the property in BrowserNewContextOptions in the latest version 12.2.0 and also 1.13.0-next-1.

I see the property here https://github.com/microsoft/playwright-dotnet/blob/main/src/Playwright/API/Generated/Options/BrowserNewContextOptions.cs#L88

@kblok Very sorry...we can close this. I had it set and was trying to di it again and missed it 😞


M3-761 Truncate Text

Purpose
Abstract truncate functions and implement in docs and stackscripts

Coverage increased (+0.07%) to 26.381% when pulling 41fe44182a60e262bded9c56294a0af836435340 on martinmckenna:M3-761-truncate into 45ddfd31e94c655c4710f36d93fc00d3481c6454 on linode:develop.


Add recommended pronunciation to FAQ

I have come across many different pronunciation for SSSOM ("Tripple-Es Oh Em", "Es Es Es Oh Em", "Es Es Som" are more). This can sometimes cause some mild confusion, in particular when there is no written form accompanying the spoken words. During one of the discussions on how to properly pronounce the standard, I took a look at the FAQ, where I would have assumed to find a clarification on the topic but I didn't find any recommended pronunciation there. So I hereby suggest to add one. And for the time being I will stay with "Tripple-Es Oh Em" (analog to IIIF being called "Triple I Ef")until somebody suggest that there is a different and preferred pronunciation.

@DavidFichtmueller I moved the discussion back to where you had it before! Thanks for reaching out:
https://github.com/mapping-commons/sssom/issues/352


Update technical-reference-details-about-encryption.md

Added link to Encryption risks and protection as a related topic

@JohanFreelancer9 Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/3161

@KCCross Please merge this PR. Thanks


Could not set FactorSchedule

When I tried to set a factor schedule in cifar10-recipe ipynb, I got below error message. Would you please help? Thanks.
AttributeError                            Traceback (most recent call last)
 in ()
9 model = mx.model.FeedForward(ctx=mx.gpu(), symbol=softmax, num_epoch=num_epoch,
10                               learning_rate=0.00003, momentum=0.9, wd=0.00001,
---> 11                               lr_scheduler=mx.misc.FactorScheduler(2))
12 # In this example. learning rate will be reduced to 0.1 * previous learning rate for every 2 epochs
AttributeError: 'module' object has no attribute 'misc'

change misc to lr_scheduler

Many thanks! It works when I use lr_scheduler=mx.lr_scheduler.FactorScheduler(a,b)

@DCYN We have a lot of examples over time and some of them are outdated. You are more than welcome to contribute fixes for outdated examples.

Many thanks. Let me try to contribute something after mastering it.

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


Rewrite public API

Separation of Concerns
Split input and output
Pull all reflection in to one object
Group specific functionality
Command line tools to create immutable container for production
Improve service provider functionality

Looking forward to see v2!

Not far away now, should have been much sooner but had a hectic couple of months

No need to apologize.


Sports Betting - Positive alert bars

https://www.figma.com/file/42QoTLQcbObu7esoTPjWRv/Augur-Bet---Design-System?node-id=17%3A12

Not actually sure if we currently show these or not, if we don't then create a CSS class that can be applied to the warning/error bars that are referred to in another ticket assigned to you.

It's implemented in https://github.com/AugurProject/augur/commit/1c12d5055f3d784a4ef7a082a10b6696cf3eb5fd


How to deploy

Proposed changes:

Add a "how to deploy" docs page
closes https://github.com/RasaHQ/roadmap/issues/828

Status (please check what you already did):

[ ] added some tests for the functionality
[x] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[x] reformat files using black (please check Readme for instructions)

As I understood the comments I should add the running-rasa-with-docker instructions to the bottom of this page? Only reason I didn't do that is that it becomes very long.

Yes, it should just say Kubernetes/Openshift


com.sun.javafx.collections not exported in javafx.base

Hey ! I've been hitting an issue with my JavaFX app in Javet recently,
Error: Callback clear failed with error message class com.caoccao.javet.interop.proxy.ScoredExecutable cannot access class com.sun.javafx.collections.VetoableListDecorator (in module javafx.base) because module javafx.base does not export com.sun.javafx.collections to unnamed module @27f6bb16

I initialize my V8 (not Node) instance with the following :
V8Runtime v8Runtime = V8Host.getV8Instance().createV8Runtime();

JavetBridgeConverter javetBridgeConverter = new JavetBridgeConverter();
v8Runtime.setConverter(javetBridgeConverter);

JavetJVMInterceptor javetJVMInterceptor = new JavetJVMInterceptor(v8Runtime);
javetJVMInterceptor.register(v8Runtime.getGlobalObject());

v8Runtime.getExecutor("globalThis.java = javet.package.java").executeVoid();
v8Runtime.getExecutor("globalThis.javafx = javet.package.javafx").executeVoid();

// then i executeVoid() my index.mjs file (with module mode)

Finally, on the JavaScript end, I just have
const vBox = new javafx.scene.layout.VBox();
const children = vBox.getChildren();
children.clear();

And when running, I get the error I gave at the start of this issue.

Also, I found an issue on jruby that talks about the same thing and it somehow got fixed apparently.
Appending the following to my pom.xml fixes the issue though, but I guess it's just a workaround ?
<plugin>
  <groupId>org.openjfx</groupId>
  <artifactId>javafx-maven-plugin</artifactId>
  <version>${javafx.maven.plugin.version}</version>
  <configuration>
    <mainClass>${javafx.mainClass}</mainClass>
    <options>
      <option>--add-exports</option>
      <option>javafx.base/com.sun.javafx.collections=ALL-UNNAMED</option>
    </options>
  </configuration>
</plugin>

Thank you for raising this issue. Other Javet uses met this issue as well. --add-exports seems to be the best solution.
From Java 9, the module design enforces the applications to explicitly --add-exports to those protected modules whereas libraries like Javet, JRuby have no way of accessing those modules illegally. What JRudy patched was just ignoring the non-exported API, which would result in another error like TypeError: clear is not a function.
So I made the decision long time ago not to apply the patch that JRuby did for the following reasons.

The error is inevitable.
The current behavior is more informative in terms of finding the --add-exports solution.

Please let me know if you have any questions.

I see !
Since I just started to learn Java, I thought it was something on Javet side but if it's a Java issue, then we can't do anything else, I guess.
Thanks you for the time you spent on replying (and how quick it was) !
I'll keep the add-exports method since it's the best way of doing it.
Thanks again (I don't think I have any questions, and if I have, I'll probably ask in the Discord) !
I'll close the issue.


Proton.Span is not documented anywhere

On the GitHub repository it is written:

Proton.Span (or Proton.getSpan) is a very important concept of the Proton engine, it's everywhere. If you understand its usage, you can create almost any desired effect!

But nowhere does it actually explain what a Span is or what it does. I can sorta gleam from the usage that it's a range of some sort?
In the documentation the link to Proton.Util goes to a 404. The word "Span" does not appear in the side-menu of things to look up.
Going directly to the code at Proton/src/math/Span.js does not help because the code lacks comments.
So where can I read about Span, what it does, and what I can do with it?

It is a flexible range data type. Oh, its documentation has not been supplemented for the time being. can you help submit a pr

Yes, check examples

I don't mind submitting a pr, but I'm still extremely new to using Proton, so it will have to wait until I've grown more familiar and actually understand things properly, so I can actually explain them in writing :)


Question related to the aggregation step of graph convolutional networks

Hi,
I'm trying to understand the code of the aggregation step of graph convolutional networks, but, I'm a little bit stuck.
As a first step I'm trying to imitate a previous version of NNConv without MessagePassing class, in specific this one.
Following the logic of this code I created my sample code:
import torch
from torch_geometric.data import Data
from torch_geometric.utils import scatter_

x = torch.tensor([[200], [100], [300]], dtype=torch.float)
edge_index = torch.tensor([[0, 1, 1, 2],
                           [1, 0, 2, 1]], dtype=torch.long)

sample_graph = Data(x=x, edge_index=edge_index)

test = scatter_('add', sample_graph.x,, sample_graph.edge_index[0], dim_size=sample_graph.x.size(0))

RuntimeError: shape '[3, 1]' is invalid for input of size 4

As far as I understood, the problem is the mismatch of the input vector size with the index vector size. This mismatch is due to the fact the graph is undirected and the number of edges is different from the number of nodes, right? I understand that it is a problem to the scatter_ method, but I do not understand first at all why it was working in NNConv, and how it is solved this issue in pytorch_geometric.
I would appreciate if you can help me to understand how to solve this issue.
Thanks,

Hi, the input arguments of the scatter_ call must match in the first dimension, so you need to map the node features into edge space:
test = scatter_('add', sample_graph.x[sample_graph.edge_index[1]],
                sample_graph.edge_index[0], dim_size=sample_graph.x.size(0))

Oh I see!! The magic line was this one in NNConv: out = torch.matmul(x[col].unsqueeze(1), out).squeeze(1). I didn't see the x[col] here. I suppose that MessagePassing class is doing something similar right?

Yes, the MessagePassing interface is just a wrapper for this kind of operation.


Use a regular settings file for tests

I'm not sure why @codeinthehole, back in the days,  opted to manually
configure settings instead of using a regular settings file for the test
suite. Most likely the reasons for doing so have disappeared.
So I turned our tests/config.py into a normal settings file, and use that
accordingly. That means we do things the standard Django way, and it's easier
to drop into a session with the test settings.

@mvantellingen I tried adding the new settings file to the [pytest] section in setup.cfg, but somehow that didn't work. But I figure it can't be that hard.

@maikhoepfel we can make it pytest compatible again with the following tests/conftest.py code:
from django.conf import settings

from . import settings as test_settings

def pytest_configure():
    settings.configure(**test_settings.__dict__)

Currently fails for Django 1.6 (expectedly), but once @mbertheau got to have a look at the Django 1.6 PR, this should pass.

Rebased and implemented a variant of @mvantellingen's fix to keep pytest working. And now merged.


FreeBSD11 transparent mode not supported

I'm trying to use transparent mode on freebsd, but it doesn't seem supported:
# mitmproxy -T
usage: mitmproxy [options]
mitmproxy: error: Transparent mode not supported on this platform.

I wonder if its just because its not considered in libmproxy "platform", since OSX is supported, and maybe its easy to add FreeBSD support, or is it something more complex?

Which versions of FreeBSD are you running?
As far as I know, we do support FreeBSD 10 with the OSX module: See libmproxy/platform/__init__.py

seems that the port version is outdated...
I'm using freebsd11 though so I changed it to:
elif sys.platform.startswith("freebsd"):
works fine now, only having problems with DNS (posted on an already opened issue).
Feel free to close this one

Just to verify: You set mitmproxy as the gateway, not as the target device? (see http://mitmproxy.org/doc/modes.html )

As refereed in #255 I get the "Transparent mode failure: could not resolve original destination" with any dns server, local or remote...
And yes FreeBSD is the gateway, and pf redirects 80,443 and 8443 to port 8080 (where mitmproxy is running)

mike-pt: Can you get on IRC? That would shorten the rundtrips significantly.
#mitmproxy on OFTC (irc://irc.oftc.net:6667).

not right now, but certainly later in the day :)
I'm have to go out in 5mins and will only be on the smartphone (I do have remote access to the machine, If anything needs testing)

Ok, I'll probably be away later, so here for reference:
if your transparent setup is fine otherwise, I'd suspect there's an issue with pf on FreeBSD11 then (changed output format, ..whatever). You'd need to debug that yourself then, best by using mitmdump and well-placed print statements in osx.py and pf.py.
Cheers,
Max

I was actually looking into pf.py just before I left, I'll look into it later and see what could be the issue.
pf version in freebsd is not really in sync with openbsd and neither is osx, so that might indeed be the issue.
I will keep you updated with any findings, tks

So I added a print line to get the output of "stxt"
      try:
            stxt = subprocess.check_output(self.STATECMD, stderr=subprocess.STDOUT)
            print stxt

It seems to be working since I get the output of the pf states table.
In any case before any further debugging I'll see if I can get the port in sync with the latest github version.

Ok all updated... a but more debugging...
I explicitly printed out "print self.resolver.original_addr(client_conn.connection)" which lead me to this:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/libmproxy/proxy/server.py", line 73, in handle
    upstream_info = self.config.mode.get_upstream_server(self.client_conn)
  File "/usr/local/lib/python2.7/site-packages/libmproxy/proxy/primitives.py", line 62, in get_upstream_server
    print self.resolver.original_addr(client_conn.connection)
  File "/usr/local/lib/python2.7/site-packages/libmproxy/platform/osx.py", line 26, in original_addr
    return pf.lookup(peer[0], peer[1], stxt)
  File "/usr/local/lib/python2.7/site-packages/libmproxy/platform/pf.py", line 26, in lookup
    raise RuntimeError("Could not resolve original destination.")
RuntimeError: Could not resolve original destination.

So clearly the issue is in the way it in the result of pf.lookup
The output of the "s" var is this:
all tcp <IP_ADDRESS>:8080 (<IP_ADDRESS>:80) <- <IP_ADDRESS>:34722       CLOSED:SYN_SENT
all tcp <IP_ADDRESS>:8080 (<IP_ADDRESS>:80) <- <IP_ADDRESS>:60734       FIN_WAIT_2:FIN_WAIT_2
all tcp <IP_ADDRESS>:8080 (<IP_ADDRESS>:80) <- <IP_ADDRESS>:54796       FIN_WAIT_2:ESTABLISHED
all tcp <IP_ADDRESS>:8080 (<IP_ADDRESS>:80) <- <IP_ADDRESS>:56553       FIN_WAIT_2:ESTABLISHED
all tcp <IP_ADDRESS>:8080 (<IP_ADDRESS>:80) <- <IP_ADDRESS>:51711       FIN_WAIT_2:ESTABLISHED
all tcp <IP_ADDRESS>:8080 (<IP_ADDRESS>:80) <- <IP_ADDRESS>:58336       FIN_WAIT_2:ESTABLISHED
all tcp <IP_ADDRESS>:8080 (<IP_ADDRESS>:80) <- <IP_ADDRESS>:48088       FIN_WAIT_2:FIN_WAIT_2
all tcp <IP_ADDRESS>:8080 (<IP_ADDRESS>:80) <- <IP_ADDRESS>:42529       FIN_WAIT_2:ESTABLISHED
all tcp <IP_ADDRESS>:8080 (<IP_ADDRESS>:80) <- <IP_ADDRESS>:33929       CLOSED:SYN_SENT
all tcp <IP_ADDRESS>:8080 (<IP_ADDRESS>:80) <- <IP_ADDRESS>:60733       ESTABLISHED:ESTABLISHED
Is this the expected output?

ah wait...
          if len(s) > 4:
                if sys.platform == "freebsd10":
                    # strip parentheses for FreeBSD pfctl
                    s = s[3][1:-1].split(":")

startswith("freebsd") fixed it :)

Excellent, thanks for digging in. Could you please send a PR with your
changes?
Cheers,
Max
Mike<EMAIL_ADDRESS>schrieb am Fr., 24. Apr. 2015 03:15:

ah wait...
      if len(s) > 4:
            if sys.platform == "freebsd10":
                # strip parentheses for FreeBSD pfctl
                s = s[3][1:-1].split(":")

startswith("freebsd") fixed it :)
—
Reply to this email directly or view it on GitHub
https://github.com/mitmproxy/mitmproxy/issues/566#issuecomment-95766584.

I cloned the repo yesterday, I'll send a PR in a few mins.

Just to be sure, we have not received a PR yet. :wink:

sorry I forgot to create the PR, just did it now :P


Update JSON output to comply with Parsing Specification Section 1.5

This PR is a follow up from #109 that I uncovered while testing. Adds the appropriate structures to output JSON files when parsing an img element with alt and src attributes.
See Section 1.5 of the microformats2 parsing specification. The changed files reflect the parsing rules for implied photos which reference Section 1.5.
Quote below, emphasis added:

if no explicit "photo" property, and no other explicit u-* properties, and no nested microformats,
then imply by:
if img.h-x[src], then use the result of "parse an img element for src and alt" (see Sec.1.5) for photo
else if object.h-x[data] then use data for photo
else if .h-x>img[src]:only-of-type:not[.h-*] then use the result of "parse an img element for src and alt" (see Sec.1.5) for photo
else if .h-x>object[data]:only-of-type:not[.h-*] then use that object’s data for photo
else if .h-x>:only-child:not[.h-*]>img[src]:only-of-type:not[.h-*], then use the result of "parse an img element for src and alt" (see Sec.1.5) for photo
else if .h-x>:only-child:not[.h-*]>object[data]:only-of-type:not[.h-*], then use that object’s data for photo
if there is a gotten photo value, return the normalized absolute URL of it, following the containing document's language's rules for resolving relative URLs (e.g. in HTML, use the current URL context as determined by the page, and first <base> element, if any).

How about h-card/hyperlinkedphoto.json#L6. Everything else looks fine to me.

@jansauer Great catch. Thank you! Pushed an update just now.

LGTM


Parameterize minos.common.MinosPool sizes

 Issue by garciparedes
Tuesday Nov 02, 2021 at 15:46 GMT
Originally opened as https://github.com/Clariteia/minos_microservice_common/issues/641

None

Closing this issue as it will be resolved into #150


Add noexcept(false) attributes. Fixes #60

noexcept(false) is needed here as ~condition_variable() and ~mutex() may
throw but are default noexcept und C++11 rules as pointed out by a GCC
diagnostic.

Hello Niklas,
thank you for the pull request which seems fully justified!
Please give us some time to merge it (and probably fix some more issues with the newer compilers).
Manuel


Matrix rename to RealMatrix

The Matrix object is only meant to support real numbers, hence the lack of generics. Should we follow the paradigm of Apache commons math and call it RealMatrix?

What is this package for? If can't support complex number, then how to implement fft?
So the package isn't meant to scientific calculation, especially in speech analysis？

No, exactly it doesn't support complex numbers, say so in the readme. There are other packages that support them i.e. https://github.com/twist-vector/matrix

What is this package for? If can't support complex number, then how to implement fft?
So the package isn't meant to scientific calculation, especially in speech analysis？

You know I can't argue with you, go find something else.

Too late to rename anything


Restore frozen reference metadata for URLs ending with a slash

I noticed some of the frozen citation metadata is not being reused properly in current builds.
It appears that the problem was introduced in output commit 1c8eef13e1f2867a48bb1ba6310dbc54e6682f31, which was based on b4652d9f7ba666eadf0d849175f3f4973a480fbc / #56.
The issue appears related to URL citations where there is a trailing slash at the end of the URL. The standard ID appears to drop the trailing slash, causing a change to the short_id and therefore a cache miss.

What was happening was that Pandoc was dropping the trailing slash in URLs that were cited inline. The citation syntax docs explain:

In @Foo_bar.baz., the key is Foo_bar.baz because the final period is not internal punctuation, so it is not included in the key. In @{Foo_bar.baz.}, the key is Foo_bar.baz., including the final period. In @Foo_bar--baz, the key is Foo_bar because the repeated internal punctuation characters terminate the key. The curly braces are recommended if you use URLs as keys: [@{https://example.com/bib?name=foobar&date=2000}, p. 33].

The cached reference metadata in content/manual-references-2019-09-10.json includes the trailing slashes for URLs in the standard_id. Hence, when the slashes were dropped the URLs were not considered the same.

Fix in https://github.com/greenelab/scihub-manuscript/commit/24229277fd2e9ff3d5fb59a9c3665e7d91b5f66f, output branch commit at https://github.com/greenelab/scihub-manuscript/commit/a24d224e4fdb170dbeff25545f958f6b77b81a31.


no-cycle: detect symlinked imports

Fixes #1554.
I can't get the test case to pass, but once it passes, I've already verified the fix on the linked issue's repro case.

Coverage decreased (-2.4%) to 93.837% when pulling 7ce38a6c4d3a095c89aa70389ead57f54f2f291c on ljharb:realpath into 4e8960dca0790388cde253bd2e016711b8dce21b on benmosher:master.

Coverage decreased (-2.4%) to 93.837% when pulling 7ce38a6c4d3a095c89aa70389ead57f54f2f291c on ljharb:realpath into 4e8960dca0790388cde253bd2e016711b8dce21b on benmosher:master.

Coverage decreased (-2.4%) to 93.837% when pulling 7ce38a6c4d3a095c89aa70389ead57f54f2f291c on ljharb:realpath into 4e8960dca0790388cde253bd2e016711b8dce21b on benmosher:master.

Coverage decreased (-2.4%) to 93.837% when pulling 7ce38a6c4d3a095c89aa70389ead57f54f2f291c on ljharb:realpath into 4e8960dca0790388cde253bd2e016711b8dce21b on benmosher:master.

Coverage decreased (-2.4%) to 93.837% when pulling 7ce38a6c4d3a095c89aa70389ead57f54f2f291c on ljharb:realpath into 4e8960dca0790388cde253bd2e016711b8dce21b on benmosher:master.

@ljharb can I help with this somehow?

https://github.com/import-js/eslint-plugin-import/issues/1554#issuecomment-912131913

@jlabaj absolutely! if you can post a link to an updated branch [here] (not a new PR, please!) i'd be happy to pull in your changes.


candidate_to_addr in wasm_utils does not detect IPv6 address

As noted by @FF-AntiK in https://github.com/naia-rs/naia-socket/issues/57:
url_to_socket_addr returns the first address it can find, which could be IPv6:
https://github.com/naia-rs/naia-socket/blob/main/shared/src/url_parse.rs#L43
but the regex in candidate_to_addr does not support IPv6 ([::] notation):
https://github.com/naia-rs/naia-socket/blob/main/client/src/wasm_utils.rs#L9

I've added IPv6 support to the regex here:
https://github.com/FF-AntiK/naia-1/blob/ipv6_support/socket/client/src/wasm_utils.rs#L8
The regex is a mess and the IPv6 part is just copied from random stackoverflow. But it's working for me ;-)
Maybe you can simplify the regex.
Unfortunately this still not works with Firefox.
Firefox complains about address type mis-match which makes me believe that at some other point of the naia stack the address is interpreted as IPv4.

Thank you for this FF-AntiK :pray: will merge soon


Importerror

Getting import error line 13, import urllib.request as urllib2 - No module named request

Please install the dependencies, and make sure to run it with python3.
To install the dependencies:
pip3 install -r requirements.txt


[Chore] Add @ts-nocheck to md5 and crypto-js-compat to suppress TypeScript errors

#3501  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jnsdls and the rest of your teammates on  Graphite


ARM64 slice excluded from cocoapods spec?

Hi! Looks like this library is still stripping the arm64 slice when building for the simulator, which causes issues when building for the simulator on an M1* mac.
Wondering if it would be possible to update the pod to include the required slice?
following podspec lines would need to be removed:
    s.pod_target_xcconfig  = { "ONLY_ACTIVE_ARCH" => "YES", "EXCLUDED_ARCHS[sdk=iphonesimulator*]" => "arm64" }
    s.user_target_xcconfig = { "ONLY_ACTIVE_ARCH" => "YES", "EXCLUDED_ARCHS[sdk=iphonesimulator*]" => "arm64" }

    s.tvos.pod_target_xcconfig  = { "ONLY_ACTIVE_ARCH" => "YES", "EXCLUDED_ARCHS[sdk=appletvsimulator*]" => "arm64" }
    s.tvos.user_target_xcconfig = { "ONLY_ACTIVE_ARCH" => "YES", "EXCLUDED_ARCHS[sdk=appletvsimulator*]" => "arm64" }

Background is here:
https://github.com/CocoaPods/CocoaPods/issues/10978#issuecomment-933567488
and
https://stackoverflow.com/questions/63607158/xcode-12-building-for-ios-simulator-but-linking-in-an-object-file-built-for-io/66233165#66233165

curious where this is on the roadmap @akornich, as today is presumably the last day of 2022-Q1. thnx

+1 for this, since the pod spec uses user_target_xcconfig it pollutes all the project configs through inheritance. I'm currently using post_install to read in every xcconfig and remove the line.
The guide mentions this and says its use is not recommended: https://guides.cocoapods.org/syntax/podspec.html#user_target_xcconfig

Another +1 — just want to share that this is also a problem for my projects.

Guys, thanks for all the feedback. Let me see if I can squeeze it in within the next couple of weeks...

Appreciated, thank you!


Exploration: Render code block - new types

Description
Figure out the details for the new render block types.
Acceptance criteria
Exploration only

@Ydus Could we close this issue? I believe it's already live


fix: change set auth to sync method

What kind of change does this PR introduce?
Bug fix.
What is the current behavior?
set_auth is called async but this won't work when used with supabase-py because the auth change event happens in a sync method.
What is the new behavior?
set_auth is called sync and the auth change event can use the sync method.
Additional context
Add any other context or screenshots.

Hey,
Thanks for PR! Just checking - is this one ready for review?

It is ready for review but I do believe its also a breaking change for anyone using realtime-py as a standalone library. I was going to try another approach of passing a header in like all the other libraries and update that instead.


elib_lists: Added functionality kv_scan/2 for searching path

Perhaps needing code refactoring for this code by reason in multipath. If we find more than one path we return all results in lists, eg: elib_lists:kv_scan(<<"path">>, Struct) -> [<<"path">>, <<"other">>, <<"path">>]. It is necessary to clarify the structure or continue working with the current.

WTF, bro? Why are you doing this?
PathNotFound = {path_not_found, <<"Wrong Key">>},
ErrorEmptyList = {error, empty_list},
ErrorBadArgs = {error, bad_args},

Why not simply:
  ...
  ?assertMatch({error, badarg}, kv_scan(...))
  ...

What this is an errors?
{path_not_found, <<"Wrong Key">>}
{error, empty_list}
{error, bad_args}

We have not it (see kv_error() type definition).
The function kv_scan/3 can be simplified, do it, please. Many thanks for your pull request and time spent.

I propose the next API for kv_scan function:
-spec kv_scan(Key :: term(), Struct :: proplists:proplist()) -> {path, kv_path()} | {error, kv_error()}
-spec kv_dcan(Key :: term(), Struct :: proplists:proplist(), Opts) -> {multipath, [kv_path()]} | {error, kv_error()} when
    Opts :: [Opt],
    Opt :: get_all.

Will be nice. Ok, I close this PR and wait new PR from your side. Thanks.


Zooming In Issue

Bug description
When I attempt to zoom into my piskel to do see more clearly or do better detailing, the entire grid goes light grey. When this happens, you can't see, but you can still manipulate the piskel, although it doesn't help, because you can't see what you're changing. When the pixel grid is on, you can see the piskel a little better, but not by much, not enough to make a good enough difference.
Steps to reproduce the bug

Open any piskel, new or previously created one.
Zoom in.
Piskel should suddenly turn light grey, obscuring vision.

Environment details
-Operating system: Chrome OS
-Browser (or offline application version): Google Chrome
Sprite details
-Number of frames: Any amount.
-Sprite resolution: It occurs in all of my piskels, all of varying sizes. If the sprite is too big to fit all on the piskel screen, it automatically opens up in light grey.
-Session duration: At start of opening the piskel.
Feel free to include a screenshot of the bug, a .piskel file of the sprite or anything else that can help us investigate.

Please try to fix! Thank you so much!

Hi, thanks for logging!
Unfortunately this is the same issue as #651 .
It happens only on chromebooks and I don't own one so I can't investigate this at the moment :(
I am closing this one as a duplicate, let's continue the discussion in #651


hashchange: Ensure no duplicate entries in browser history.

Till now, whenever the hash was updated using the set_hash function, the new url was always pushed into the browser history, even if the current hash was same as the new hash. This lead to multiple duplicate entries in the browser history, when using the z hotkey to zoom to a message repeatedly, which is very inconvenient when navigating through history.
This is now fixed by simply returning prematurely from set_hash if the new hash is same as the current one. This fix will also prevent any future features like z from causing duplicate browser history entries.
Fixes: #24468.

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

Merged after fixing the above issue and perhaps unnecessarily doing s/Till/Until/ in the commit message -- "Until" is the more standard/formal word :).


Consider periodic istiod restart - max lifetime

Istiod (pilot) has had hard to replicate and hard to debug issues related to missing events and getting into a bad state.
One way to deal with it is to create a watch-dog-timer that kills the process. However a missing event may still continue forward progress, so the watch-dog may not catch it.

Institute a restart policy that limits the maximum lifetime of a pod.
Additionally still have a WDT that will resolve the issues of lack of forward progress quicker.
In all this, potentially save state if it would be usedful.
Ensure that restarting Isiod's does not cause additional churn for proxies (like listener drains) other than simply re-establishing connections.

I donot think we should restart to hide the bugs if there are any.

I donot think we should restart to hide the bugs if there are any.

I understand the sentiment behind not hiding bugs, however when these bugs hit they can cause production outage, and they are very difficult to reproduce. A simple restart fixes the problem, what do others think ? @costinm @howardjohn @ramaraochavali ?

I understand the sentiment behind not hiding bugs, however when these bugs hit they can cause production outage, and they are very difficult to reproduce. A simple restart fixes the problem, what do others think ? @costinm @howardjohn @ramaraochavali ?

While I agree that hiding bugs via restart is not good, I think there is no harm in trying restart option.

While I agree that hiding bugs via restart is not good, I think there is no harm in trying restart option.


add send/recv_serialized

generic hook for custom serialization functions

[x] test
[x] test with futures
[x] docs

How do these function make any sense?
'socket.send_serialized(msg, serialize, flags, copy)' can just be typed as 'socket.send_multipart(serialize(msg), flags, copy)'.
'socket.recv_serialized(deserialize, flags, copy)' can just be typed as 'deserialize(socket.recv_multipart(flags, copy)'
I don't see how this adds any new feature or more comfort. Further if you have a custom serializer and deserializer you probably want to use it for every message. So every call to send/recv will have the same callbacks passed again and again.
Why not have functions to set a serializer/deserializer in the socket and then have them used automatically every time instead of passing them as callbacks?


add config to insert space for empty braces

Fixes #28678
Add a new config insertSpaceAfterOpeningAndBeforeClosingEmptyBraces. For example:
Before formatting
constructor() {        }

When the config is set to true:
constructor() { }

When set to false:
constructor() {}

 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.:x: davidkwan95 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Does this need a doc update as well?

can you merge this?

I'm a little bit busy this week and probably next week too, so maybe another person can help make a PR to the VSCode repo.


review whether links should open in new tab (doc site accessibility)

yale accessibility guidelines say to avoid opening links in new window/tab
https://yale.app.box.com/s/ochc2c7zzhsj4wuk6fv41hbk5w8vhxt5
is this the general consensus?  if so should update docs

https://css-tricks.com/use-target_blank/

https://adrianroselli.com/2020/02/link-targets-and-3-2-5.html

sometimes same window, other times new window is inconsistent
takes away user choice
very low screen reader support apparently

also apparently it has some security issues
https://adrianroselli.com/2020/02/link-targets-and-3-2-5.html#Security

to sum: yeah, consensus seems to be not to force new window