Cannot connect to accessory from iphone

Hi,
Found your library today and cannot get example working. Using EspHapLed8266.ino with esp12f, have following error when connecting from ios14.4.1:
........
IP address:
<IP_ADDRESS>
Free heap: 31984
init_hap_storageFailed to read pair.dat
>>> Home Integration: hap_services added chararacteristic  0: 23
>>> Home Integration: hap_services added chararacteristic  1: 25
>>> Home Integration: homekit_is_paired 0
>>> HomeKit: Free heap: 30240
>>> HomeKit: Starting server
>>> HomeKit: Formatting flash at 0x200000
>>> HomeKit: storage init 1
>>> HomeKit: if r
>>> HomeKit: generating id
>>> HomeKit: Generated new accessory ID: 98:F0:04:0B:77:CB
>>> HomeKit: Generated new accessory ID:<PHONE_NUMBER>
>>> HomeKit:  key generated
>>> HomeKit:  key saved
>>> HomeKit: Generated new accessory key
>>> HomeKit: find pairings
>>> HomeKit: Preinit pairing context
>>> HomeKit: Using user-specified password: 111-11-111
>>> HomeKit: Free heap: 23896
>>> HomeKit: Calculating public key len=384
>>> HomeKit: Calculating public key result 0
>>> HomeKit: arduino_homekit_preinit success
>>> HomeKit: Configuring mDNS
>>> HomeKit: Wifi Sleep type:2
>>> HomeKit: Set Wifi Sleep type :0
>>> HomeKit: MDNS.begin: ES-CC53, IP: <IP_ADDRESS>
>>> HomeKit: Init server over
>>> HomeKit: WiFiServer receives a new client (current 0, max 8)
>>> HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61130
>>> HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
>>> HomeKit: [Client<PHONE_NUMBER>] new client accepted
>>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
>>> HomeKit: [Client<PHONE_NUMBER>] Disconnected!
>>> HomeKit: [Client<PHONE_NUMBER>] Closing client connection
>>> HomeKit: Free saved_preinit_pairing_context
>>> HomeKit: [Client 0] Clear the pairing context
>>> HomeKit: [Client 0] client content free
>>> HomeKit: Preinit pairing context
>>> HomeKit: Using user-specified password: 111-11-111
>>> HomeKit: Free heap: 22272
>>> HomeKit: Calculating public key len=384
>>> HomeKit: Calculating public key result 0
>>> HomeKit: arduino_homekit_preinit success
>>> HomeKit: WiFiServer receives a new client (current 0, max 8)
>>> HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61131
>>> HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
>>> HomeKit: [Client<PHONE_NUMBER>] new client accepted
>>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
>>> HomeKit: [Client<PHONE_NUMBER>] Connection: close received, client will be disconnected
>>> HomeKit: [Client<PHONE_NUMBER>] Closing client connection
>>> HomeKit: Free saved_preinit_pairing_context
>>> HomeKit: [Client 0] Clear the pairing context
>>> HomeKit: [Client 0] client content free
>>> HomeKit: Preinit pairing context
>>> HomeKit: Using user-specified password: 111-11-111
>>> HomeKit: Free heap: 21864
>>> HomeKit: Calculating public key len=384
>>> HomeKit: Calculating public key result 0
>>> HomeKit: arduino_homekit_preinit success
>>> HomeKit: WiFiServer receives a new client (current 0, max 8)
>>> HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61132
>>> HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
>>> HomeKit: [Client<PHONE_NUMBER>] new client accepted
>>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
>>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 2/3
>>> HomeKit: [Client<PHONE_NUMBER>] Computing SRP shared secret
>>> HomeKit: [Client<PHONE_NUMBER>] Verifying peer's proof
>>> HomeKit: [Client<PHONE_NUMBER>] Generating own proof
>>> HomeKit: [Client<PHONE_NUMBER>] Disconnected!
>>> HomeKit: [Client<PHONE_NUMBER>] Closing client connection
>>> HomeKit: Free saved_preinit_pairing_context
>>> HomeKit: [Client 0] Clear the pairing context
>>> HomeKit: [Client 0] client content free
>>> HomeKit: Preinit pairing context
>>> HomeKit: Using user-specified password: 111-11-111
>>> HomeKit: Free heap: 21736
>>> HomeKit: Calculating public key len=384
>>> HomeKit: Calculating public key result 0
>>> HomeKit: arduino_homekit_preinit success
>>> HomeKit: WiFi connected, ip: <IP_ADDRESS>, mask: <IP_ADDRESS>, gw: <IP_ADDRESS>
>>> HomeKit: WiFiServer receives a new client (current 0, max 8)
>>> HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61134
>>> HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
>>> HomeKit: [Client<PHONE_NUMBER>] new client accepted
>>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
>>> HomeKit: [Client<PHONE_NUMBER>] Connection: close received, client will be disconnected
>>> HomeKit: [Client<PHONE_NUMBER>] Closing client connection
>>> HomeKit: Free saved_preinit_pairing_context
>>> HomeKit: [Client 0] Clear the pairing context
>>> HomeKit: [Client 0] client content free
>>> HomeKit: Preinit pairing context
>>> HomeKit: Using user-specified password: 111-11-111
>>> HomeKit: Free heap: 21800
>>> HomeKit: Calculating public key len=384
>>> HomeKit: Calculating public key result 0
>>> HomeKit: arduino_homekit_preinit success
>>> HomeKit: WiFiServer receives a new client (current 0, max 8)
>>> HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61135
>>> HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
>>> HomeKit: [Client<PHONE_NUMBER>] new client accepted
>>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
>>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 2/3
>>> HomeKit: [Client<PHONE_NUMBER>] Computing SRP shared secret
>>> HomeKit: [Client<PHONE_NUMBER>] Verifying peer's proof
>>> HomeKit: [Client<PHONE_NUMBER>] Generating own proof
>>> HomeKit: [Client<PHONE_NUMBER>] Disconnected!
>>> HomeKit: [Client<PHONE_NUMBER>] Closing client connection
>>> HomeKit: Free saved_preinit_pairing_context
>>> HomeKit: [Client 0] Clear the pairing context
>>> HomeKit: [Client 0] client content free
>>> HomeKit: Preinit pairing context
>>> HomeKit: Using user-specified password: 111-11-111
>>> HomeKit: Free heap: 21496
>>> HomeKit: Calculating public key len=384
>>> HomeKit: Calculating public key result 0
>>> HomeKit: arduino_homekit_preinit success
>>> HomeKit: WiFiServer receives a new client (current 0, max 8)
>>> HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61136
>>> HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
>>> HomeKit: [Client<PHONE_NUMBER>] new client accepted
>>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
>>> HomeKit: WiFiServer receives a new client (current 1, max 8)
>>> HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61137
>>> HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 1
>>> HomeKit: [Client<PHONE_NUMBER>] new client accepted
>>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
>>> HomeKit: [Client<PHONE_NUMBER>] Refusing to pair: another pairing in progress
>>> HomeKit: [Client<PHONE_NUMBER>] Disconnected!
>>> HomeKit: [Client<PHONE_NUMBER>] Disconnected!
>>> HomeKit: [Client<PHONE_NUMBER>] Closing client connection
>>> HomeKit: Free saved_preinit_pairing_context
>>> HomeKit: [Client 0] Clear the pairing context
>>> HomeKit: [Client 0] client content free
>>> HomeKit: Preinit pairing context
>>> HomeKit: Using user-specified password: 111-11-111
>>> HomeKit: Free heap: 21408
>>> HomeKit: Calculating public key len=384
>>> HomeKit: Calculating public key result 0
>>> HomeKit: arduino_homekit_preinit success
>>> HomeKit: [Client<PHONE_NUMBER>] Closing client connection
>>> HomeKit: [Client 0] client content free

It lasts for a few minutes, then home.app on iphone says "Unable to Add Accessory Accessory is not reachable". What am I doing wrong?
Btw, is it ok that
>>> HomeKit: Calculating public key len=384
>>> HomeKit: Calculating public key result 0

Repeats each time?

Another pairing try, restarted esp, this time "/pair.dat" exists, as it has been created at the first run:
.........
IP address:
<IP_ADDRESS>
Free heap: 31984
init_hap_storage>>> HomeKit: init_storage_ex size 0x1c1
>>> Home Integration: hap_services added chararacteristic  0: 23
>>> Home Integration: hap_services added chararacteristic  1: 25
>>> Home Integration: homekit_is_paired 0
>>> HomeKit: Free heap: 30240
>>> HomeKit: Starting server
>>> HomeKit: storage init 0
>>> HomeKit: Using existing accessory ID: CC:53:3D:E8:D6:85
>>> HomeKit: find pairings
>>> HomeKit: Preinit pairing context
>>> HomeKit: Using user-specified password: 111-11-111
>>> HomeKit: Free heap: 23896
>>> HomeKit: Calculating public key len=384
>>> HomeKit: Calculating public key result 0
>>> HomeKit: arduino_homekit_preinit success
>>> HomeKit: Configuring mDNS
>>> HomeKit: Wifi Sleep type:2
>>> HomeKit: Set Wifi Sleep type :0
>>> HomeKit: MDNS.begin: ES-CC53, IP: <IP_ADDRESS>
>>> HomeKit: Init server over
>>> HomeKit: WiFiServer receives a new client (current 0, max 8)
>>> HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61140
>>> HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
>>> HomeKit: [Client<PHONE_NUMBER>] new client accepted
>>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
>>> HomeKit: [Client<PHONE_NUMBER>] Disconnected!
>>> HomeKit: [Client<PHONE_NUMBER>] Closing client connection
>>> HomeKit: Free saved_preinit_pairing_context
>>> HomeKit: [Client 0] Clear the pairing context
>>> HomeKit: [Client 0] client content free
>>> HomeKit: Preinit pairing context
>>> HomeKit: Using user-specified password: 111-11-111
>>> HomeKit: Free heap: 22144
>>> HomeKit: Calculating public key len=384
>>> HomeKit: Calculating public key result 0
>>> HomeKit: arduino_homekit_preinit success
>>> HomeKit: WiFi connected, ip: <IP_ADDRESS>, mask: <IP_ADDRESS>, gw: <IP_ADDRESS>
>>> HomeKit: WiFiServer receives a new client (current 0, max 8)
>>> HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61141
>>> HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
>>> HomeKit: [Client<PHONE_NUMBER>] new client accepted
>>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
>>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 2/3
>>> HomeKit: [Client<PHONE_NUMBER>] Computing SRP shared secret
>>> HomeKit: [Client<PHONE_NUMBER>] Verifying peer's proof
>>> HomeKit: [Client<PHONE_NUMBER>] Generating own proof
>>> HomeKit: [Client<PHONE_NUMBER>] Socket not available to write size:172,available:0
>>> HomeKit: [Client<PHONE_NUMBER>] Attempt :0, available:0
>>> HomeKit: [Client<PHONE_NUMBER>] Attempt :1, available:0
>>> HomeKit: [Client<PHONE_NUMBER>] Attempt :2, available:0
>>> HomeKit: [Client<PHONE_NUMBER>] Attempt :3, available:0
>>> HomeKit: [Client<PHONE_NUMBER>] Attempt :4, available:0
!!! HomeKit: [Client<PHONE_NUMBER>] socket.write, data_size=172, write_size=0
>>> HomeKit: [Client<PHONE_NUMBER>] Disconnected!
>>> HomeKit: WiFi connected, ip: <IP_ADDRESS>, mask: <IP_ADDRESS>, gw: <IP_ADDRESS>
>>> HomeKit: WiFiServer receives a new client (current 1, max 8)
>>> HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61142
>>> HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 1
>>> HomeKit: [Client<PHONE_NUMBER>] new client accepted
>>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
>>> HomeKit: [Client<PHONE_NUMBER>] Refusing to pair: another pairing in progress
>>> HomeKit: [Client<PHONE_NUMBER>] Disconnected!
>>> HomeKit: [Client<PHONE_NUMBER>] Closing client connection
>>> HomeKit: Free saved_preinit_pairing_context
>>> HomeKit: [Client 0] Clear the pairing context
>>> HomeKit: [Client 0] client content free
>>> HomeKit: Preinit pairing context
>>> HomeKit: Using user-specified password: 111-11-111
>>> HomeKit: Free heap: 22464
>>> HomeKit: Calculating public key len=384
>>> HomeKit: Calculating public key result 0
>>> HomeKit: arduino_homekit_preinit success
>>> HomeKit: [Client<PHONE_NUMBER>] Closing client connection
>>> HomeKit: [Client 0] client content free

Hi  I will check, but this is see first time.., hundred devices works without that
Sent from my iPhone

On 21 Mar 2021, at 18:44, Viktr @.***> wrote:

Another pairing try, restarted esp, this time "/pair.dat" exists, as it has been created at the first run:
.........
IP address:
<IP_ADDRESS>
Free heap: 31984
init_hap_storage>>> HomeKit: init_storage_ex size 0x1c1

Home Integration: hap_services added chararacteristic  0: 23
Home Integration: hap_services added chararacteristic  1: 25
Home Integration: homekit_is_paired 0
HomeKit: Free heap: 30240
HomeKit: Starting server
HomeKit: storage init 0
HomeKit: Using existing accessory ID: CC:53:3D:E8:D6:85
HomeKit: find pairings
HomeKit: Preinit pairing context
HomeKit: Using user-specified password: 111-11-111
HomeKit: Free heap: 23896
HomeKit: Calculating public key len=384
HomeKit: Calculating public key result 0
HomeKit: arduino_homekit_preinit success
HomeKit: Configuring mDNS
HomeKit: Wifi Sleep type:2
HomeKit: Set Wifi Sleep type :0
HomeKit: MDNS.begin: ES-CC53, IP: <IP_ADDRESS>
HomeKit: Init server over
HomeKit: WiFiServer receives a new client (current 0, max 8)
HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61140
HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
HomeKit: [Client<PHONE_NUMBER>] new client accepted
HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
HomeKit: [Client<PHONE_NUMBER>] Disconnected!
HomeKit: [Client<PHONE_NUMBER>] Closing client connection
HomeKit: Free saved_preinit_pairing_context
HomeKit: [Client 0] Clear the pairing context
HomeKit: [Client 0] client content free
HomeKit: Preinit pairing context
HomeKit: Using user-specified password: 111-11-111
HomeKit: Free heap: 22144
HomeKit: Calculating public key len=384
HomeKit: Calculating public key result 0
HomeKit: arduino_homekit_preinit success
HomeKit: WiFi connected, ip: <IP_ADDRESS>, mask: <IP_ADDRESS>, gw: <IP_ADDRESS>
HomeKit: WiFiServer receives a new client (current 0, max 8)
HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61141
HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
HomeKit: [Client<PHONE_NUMBER>] new client accepted
HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 2/3
HomeKit: [Client<PHONE_NUMBER>] Computing SRP shared secret
HomeKit: [Client<PHONE_NUMBER>] Verifying peer's proof
HomeKit: [Client<PHONE_NUMBER>] Generating own proof
HomeKit: [Client<PHONE_NUMBER>] Socket not available to write size:172,available:0
HomeKit: [Client<PHONE_NUMBER>] Attempt :0, available:0
HomeKit: [Client<PHONE_NUMBER>] Attempt :1, available:0
HomeKit: [Client<PHONE_NUMBER>] Attempt :2, available:0
HomeKit: [Client<PHONE_NUMBER>] Attempt :3, available:0
HomeKit: [Client<PHONE_NUMBER>] Attempt :4, available:0
!!! HomeKit: [Client<PHONE_NUMBER>] socket.write, data_size=172, write_size=0
HomeKit: [Client<PHONE_NUMBER>] Disconnected!
HomeKit: WiFi connected, ip: <IP_ADDRESS>, mask: <IP_ADDRESS>, gw: <IP_ADDRESS>
HomeKit: WiFiServer receives a new client (current 1, max 8)
HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61142
HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 1
HomeKit: [Client<PHONE_NUMBER>] new client accepted
HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
HomeKit: [Client<PHONE_NUMBER>] Refusing to pair: another pairing in progress
HomeKit: [Client<PHONE_NUMBER>] Disconnected!
HomeKit: [Client<PHONE_NUMBER>] Closing client connection
HomeKit: Free saved_preinit_pairing_context
HomeKit: [Client 0] Clear the pairing context
HomeKit: [Client 0] client content free
HomeKit: Preinit pairing context
HomeKit: Using user-specified password: 111-11-111
HomeKit: Free heap: 22464
HomeKit: Calculating public key len=384
HomeKit: Calculating public key result 0
HomeKit: arduino_homekit_preinit success
HomeKit: [Client<PHONE_NUMBER>] Closing client connection
HomeKit: [Client 0] client content free
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Maybe I did something wrong, but I just copied an example, downloaded lib and followed instructions. Could you advice me please any steps to check/fix? have no idea where to start tbh

Here, as my first try was using PIO, I made another one with freshly installed  Arduino 1.8.13:
..ip:<IP_ADDRESS>,mask:<IP_ADDRESS>,gw:<IP_ADDRESS>
.
IP address:
<IP_ADDRESS>
Free heap: 34040
init_hap_storageFailed to read pair.dat
>>> Home Integration: hap_services added chararacteristic  0: 23
>>> Home Integration: hap_services added chararacteristic  1: 25
>>> Home Integration: homekit_is_paired 0
>>> HomeKit: Free heap: 32056
>>> HomeKit: Starting server
>>> HomeKit: Formatting flash at 0x200000
>>> HomeKit: storage init 1
>>> HomeKit: if r
>>> HomeKit: generating id
>>> HomeKit: Generated new accessory ID: 01:57:E3:E4:30:5E
>>> HomeKit: Generated new accessory ID:<PHONE_NUMBER>
>>> HomeKit:  key generated
>>> HomeKit:  key saved
>>> HomeKit: Generated new accessory key
>>> HomeKit: find pairings
>>> HomeKit: Preinit pairing context
>>> HomeKit: Using user-specified password: 111-11-111
>>> HomeKit: Free heap: 25376
>>> HomeKit: Calculating public key len=384
>>> HomeKit: Calculating public key result 0
pm open,type:2 0
>>> HomeKit: arduino_homekit_preinit success
>>> HomeKit: Configuring mDNS
>>> HomeKit: Wifi Sleep type:2
sleep disable
>>> HomeKit: Set Wifi Sleep type :0
>>> HomeKit: MDNS.begin: ES-0516, IP: <IP_ADDRESS>
>>> HomeKit: Init server over
>>> HomeKit: WiFiServer receives a new client (current 0, max 8)
>>> HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61245
>>> HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
>>> HomeKit: [Client<PHONE_NUMBER>] new client accepted
>>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
>>> HomeKit: [Client<PHONE_NUMBER>] Connection: close received, client will be disconnected
>>> HomeKit: [Client<PHONE_NUMBER>] Closing client connection
>>> HomeKit: Free saved_preinit_pairing_context
>>> HomeKit: [Client 0] Clear the pairing context
>>> HomeKit: [Client 0] client content free
>>> HomeKit: Preinit pairing context
>>> HomeKit: Using user-specified password: 111-11-111
>>> HomeKit: Free heap: 22696
>>> HomeKit: Calculating public key len=384
>>> HomeKit: Calculating public key result 0
>>> HomeKit: arduino_homekit_preinit success
>>> HomeKit: WiFiServer receives a new client (current 0, max 8)
>>> HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61246
>>> HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
>>> HomeKit: [Client<PHONE_NUMBER>] new client accepted
>>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
>>> HomeKit: [Client<PHONE_NUMBER>] Connection: close received, client will be disconnected
>>> HomeKit: [Client<PHONE_NUMBER>] Closing client connection
>>> HomeKit: Free saved_preinit_pairing_context
>>> HomeKit: [Client 0] Clear the pairing context
>>> HomeKit: [Client 0] client content free
>>> HomeKit: Preinit pairing context
>>> HomeKit: Using user-specified password: 111-11-111
>>> HomeKit: Free heap: 22424
>>> HomeKit: Calculating public key len=384
>>> HomeKit: Calculating public key result 0
>>> HomeKit: arduino_homekit_preinit success
>>> HomeKit: WiFiServer receives a new client (current 0, max 8)
>>> HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61247
>>> HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
>>> HomeKit: [Client<PHONE_NUMBER>] new client accepted
>>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
>>> HomeKit: [Client<PHONE_NUMBER>] Connection: close received, client will be disconnected
>>> HomeKit: [Client<PHONE_NUMBER>] Closing client connection
>>> HomeKit: Free saved_preinit_pairing_context
>>> HomeKit: [Client 0] Clear the pairing context
>>> HomeKit: [Client 0] client content free
>>> HomeKit: Preinit pairing context
>>> HomeKit: Using user-specified password: 111-11-111
>>> HomeKit: Free heap: 22136
>>> HomeKit: Calculating public key len=384
>>> HomeKit: Calculating public key result 0
>>> HomeKit: arduino_homekit_preinit success
>>> HomeKit: WiFiServer receives a new client (current 0, max 8)
>>> HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61248
>>> HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
>>> HomeKit: [Client<PHONE_NUMBER>] new client accepted
>>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
>>> HomeKit: [Client<PHONE_NUMBER>] Connection: close received, client will be disconnected
>>> HomeKit: [Client<PHONE_NUMBER>] Closing client connection
>>> HomeKit: Free saved_preinit_pairing_context
>>> HomeKit: [Client 0] Clear the pairing context
>>> HomeKit: [Client 0] client content free
>>> HomeKit: Preinit pairing context
>>> HomeKit: Using user-specified password: 111-11-111
>>> HomeKit: Free heap: 21904
>>> HomeKit: Calculating public key len=384
>>> HomeKit: Calculating public key result 0
>>> HomeKit: arduino_homekit_preinit success
>>> HomeKit: WiFiServer receives a new client (current 0, max 8)
>>> HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61249
>>> HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
>>> HomeKit: [Client<PHONE_NUMBER>] new client accepted
>>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
>>> HomeKit: [Client<PHONE_NUMBER>] Connection: close received, client will be disconnected
>>> HomeKit: [Client<PHONE_NUMBER>] Closing client connection
>>> HomeKit: Free saved_preinit_pairing_context
>>> HomeKit: [Client 0] Clear the pairing context
>>> HomeKit: [Client 0] client content free
>>> HomeKit: Preinit pairing context
>>> HomeKit: Using user-specified password: 111-11-111
>>> HomeKit: Free heap: 21720
>>> HomeKit: Calculating public key len=384
>>> HomeKit: Calculating public key result 0
>>> HomeKit: arduino_homekit_preinit success

Looks like I found the reason:
>>> HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61845
>>> HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
>>> HomeKit: [Client<PHONE_NUMBER>] new client accepted
>>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
>>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 2/3
>>> HomeKit: [Client<PHONE_NUMBER>] Computing SRP shared secret
>>> HomeKit: [Client<PHONE_NUMBER>] Verifying peer's proof
>>> HomeKit: [Client<PHONE_NUMBER>] Generating own proof
state: 5 -> 2 (7c0)
rm 0
pm close 7
>>> HomeKit: [Client<PHONE_NUMBER>] Disconnected!
reconnect
state: 2 -> 0 (0)
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 1
cnt

connected with etogo.net, channel 6
dhcp client start...
ip:<IP_ADDRESS>,mask:<IP_ADDRESS>,gw:<IP_ADDRESS>
>>> HomeKit: WiFi connected, ip: <IP_ADDRESS>, mask: <IP_ADDRESS>, gw: <IP_ADDRESS>
>>> HomeKit: [Client<PHONE_NUMBER>] Closing client connection
>>> HomeKit: Free saved_preinit_pairing_context
>>> HomeKit: [Client 0] Clear the pairing context
>>> HomeKit: [Client 0] client content free
>>> HomeKit: Preinit pairing context
>>> HomeKit: Using user-specified password: 111-11-111
>>> HomeKit: Free heap: 23240
>>> HomeKit: Calculating public key len=384
>>> HomeKit: Calculating public key result 0
pm open,type:0 0
>>> HomeKit: arduino_homekit_preinit success

Looks like ESP12 Wifi disconnects on heavy load. Is it possible to fix, either on my side or in the lib, like adding "delay" to make wifi stack working, or something?
Thank you!

Is not possible to do something wrong, usually it works fine immediately  , analyzing your log I remember that met one time with that, problem solved after restarting router, this is definitely strange and not usual
Sent from my iPhone

On 21 Mar 2021, at 19:48, Viktr @.***> wrote:

Here, as my first try was using PIO, I made another one with freshly installed Arduino 1.8.13:
..ip:<IP_ADDRESS>,mask:<IP_ADDRESS>,gw:<IP_ADDRESS>
..
IP address:
<IP_ADDRESS>
Free heap: 34040
init_hap_storageFailed to read pair.dat

Home Integration: hap_services added chararacteristic  0: 23
Home Integration: hap_services added chararacteristic  1: 25
Home Integration: homekit_is_paired 0
HomeKit: Free heap: 32056
HomeKit: Starting server
HomeKit: Formatting flash at 0x200000
HomeKit: storage init 1
HomeKit: if r
HomeKit: generating id
HomeKit: Generated new accessory ID: 01:57:E3:E4:30:5E
HomeKit: Generated new accessory ID:<PHONE_NUMBER>
HomeKit:  key generated
HomeKit:  key saved
HomeKit: Generated new accessory key
HomeKit: find pairings
HomeKit: Preinit pairing context
HomeKit: Using user-specified password: 111-11-111
HomeKit: Free heap: 25376
HomeKit: Calculating public key len=384
HomeKit: Calculating public key result 0
pm open,type:2 0
HomeKit: arduino_homekit_preinit success
HomeKit: Configuring mDNS
HomeKit: Wifi Sleep type:2
sleep disable
HomeKit: Set Wifi Sleep type :0
HomeKit: MDNS.begin: ES-0516, IP: <IP_ADDRESS>
HomeKit: Init server over
HomeKit: WiFiServer receives a new client (current 0, max 8)
HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61245
HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
HomeKit: [Client<PHONE_NUMBER>] new client accepted
HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
HomeKit: [Client<PHONE_NUMBER>] Connection: close received, client will be disconnected
HomeKit: [Client<PHONE_NUMBER>] Closing client connection
HomeKit: Free saved_preinit_pairing_context
HomeKit: [Client 0] Clear the pairing context
HomeKit: [Client 0] client content free
HomeKit: Preinit pairing context
HomeKit: Using user-specified password: 111-11-111
HomeKit: Free heap: 22696
HomeKit: Calculating public key len=384
HomeKit: Calculating public key result 0
HomeKit: arduino_homekit_preinit success
HomeKit: WiFiServer receives a new client (current 0, max 8)
HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61246
HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
HomeKit: [Client<PHONE_NUMBER>] new client accepted
HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
HomeKit: [Client<PHONE_NUMBER>] Connection: close received, client will be disconnected
HomeKit: [Client<PHONE_NUMBER>] Closing client connection
HomeKit: Free saved_preinit_pairing_context
HomeKit: [Client 0] Clear the pairing context
HomeKit: [Client 0] client content free
HomeKit: Preinit pairing context
HomeKit: Using user-specified password: 111-11-111
HomeKit: Free heap: 22424
HomeKit: Calculating public key len=384
HomeKit: Calculating public key result 0
HomeKit: arduino_homekit_preinit success
HomeKit: WiFiServer receives a new client (current 0, max 8)
HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61247
HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
HomeKit: [Client<PHONE_NUMBER>] new client accepted
HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
HomeKit: [Client<PHONE_NUMBER>] Connection: close received, client will be disconnected
HomeKit: [Client<PHONE_NUMBER>] Closing client connection
HomeKit: Free saved_preinit_pairing_context
HomeKit: [Client 0] Clear the pairing context
HomeKit: [Client 0] client content free
HomeKit: Preinit pairing context
HomeKit: Using user-specified password: 111-11-111
HomeKit: Free heap: 22136
HomeKit: Calculating public key len=384
HomeKit: Calculating public key result 0
HomeKit: arduino_homekit_preinit success
HomeKit: WiFiServer receives a new client (current 0, max 8)
HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61248
HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
HomeKit: [Client<PHONE_NUMBER>] new client accepted
HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
HomeKit: [Client<PHONE_NUMBER>] Connection: close received, client will be disconnected
HomeKit: [Client<PHONE_NUMBER>] Closing client connection
HomeKit: Free saved_preinit_pairing_context
HomeKit: [Client 0] Clear the pairing context
HomeKit: [Client 0] client content free
HomeKit: Preinit pairing context
HomeKit: Using user-specified password: 111-11-111
HomeKit: Free heap: 21904
HomeKit: Calculating public key len=384
HomeKit: Calculating public key result 0
HomeKit: arduino_homekit_preinit success
HomeKit: WiFiServer receives a new client (current 0, max 8)
HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:61249
HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
HomeKit: [Client<PHONE_NUMBER>] new client accepted
HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
HomeKit: [Client<PHONE_NUMBER>] Connection: close received, client will be disconnected
HomeKit: [Client<PHONE_NUMBER>] Closing client connection
HomeKit: Free saved_preinit_pairing_context
HomeKit: [Client 0] Clear the pairing context
HomeKit: [Client 0] client content free
HomeKit: Preinit pairing context
HomeKit: Using user-specified password: 111-11-111
HomeKit: Free heap: 21720
HomeKit: Calculating public key len=384
HomeKit: Calculating public key result 0
HomeKit: arduino_homekit_preinit success
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

I've got Unifi APs setup, did restart for AP that has this ESP connected to. The same ESP12 works fine with Espressif RTOS Homekit example right now.

I will check, as mentioned I met this second time from thousands
Sent from my iPhone

On 21 Mar 2021, at 20:16, Viktr @.***> wrote:

I've got Unifi APs setup, did restart for AP that has this ESP connected to. The same ESP12 works fine with Espressif RTOS Homekit example right now.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thank you! Please tell me, if you'd need any assistance, like testing and so on.

Found it. Типа.
I suppose, the problem is that:
Arduino Core for ESP8266 is based on nonos sdk, so it is single threaded. During long calculations in the s_mp_exptmod, wifi timeout occurs and wifi restarts after that. The solution is to call yield(), which will sort wifi things out, I suppose. After a brief investigation, have added yield() in the integer.c line 3532:
  bitbuf = 0;

  for (;;) {
    yield();
    /* grab next digit as required */

$ diff integer.c integer.c.orig
3532d3531
<     yield();

And everything works so far. Every single connect works fine, I tried it about 20+ times. I cannot make a PR as wolfSSL is not in the repo. Maybe it will be a good idea to wrap it in the some #ifdef to make it called for ESP8266 only, as ESP32 is multithreaded RTOS based and does not have such a problem.
Можно ли добавить такой пачь в репу? Спасибо огромное!

Or like that, to reduce load:
  bitbuf = 0;

  unsigned long yieldTime=millis();
  int cnt=0;
  for (;;) {
    if(cnt++>20) {
      unsigned long yieldNow=millis();
      if(yieldNow-yieldTime>500) {
        yieldTime=yieldNow;
        yield();
      }
      cnt=0;
    }

    /* grab next digit as required */
    if (--bitcnt == 0) {

Ok, thanks for investigation, I defintelly not met with that before.
I have used yield definetelly as much as needed but not in S_MP_EXPTMOD
Your fix already integrated and commited

if (yieldNow - yieldTime > 500) is too much, change to if (yieldNow - yieldTime > 20) please

Ok, but I need to check. I have checked previous and it works....
Sent from my iPhone

On 22 Mar 2021, at 17:30, Viktr @.***> wrote:

if (yieldNow - yieldTime > 500) is too much, change to if (yieldNow - yieldTime > 20) please
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.

Конечно. Я проверил - иногда работает, иногда нет. Чаще работает, но иногда сбоит, наверное от ключа зависит. Я подумал и вообще убрал проверку времени, показалось, что от нее вреда больше, поскольку каждый раз millis() вызывается, создавая ненужную нагрузку. Оставил только if(cnt++>20), пока что "полет нормальный" (ну, не считая протечек из соседней проблемы)

Hello,
where can do a change? I'm experiencing the same problem.
the line Connection: close received, client will be disconnected comes when I press "Continue" after entering the pairing code. I have tried on NodeMCU clones, ESP-12E/F and also on this
I'm currently using latest version of the library
IP address:
<IP_ADDRESS>
Free heap: 34400
init_hap_storage>>> HomeKit: init_storage_ex size 0x1c1
>>> Home Integration: hap_services added chararacteristic  0: 23
>>> Home Integration: hap_services added chararacteristic  1: 25
>>> Home Integration: homekit_is_paired 0
>>> HomeKit: Update the CPU to run at 160MHz
>>> HomeKit: Free heap: 32632
>>> HomeKit: Starting server
>>> HomeKit: storage init 0
>>> HomeKit: Using existing accessory ID: 11:2A:28:A6:CE:A5
>>> HomeKit: find pairings
>>> HomeKit: Preinit pairing context
>>> HomeKit: Using user-specified password: 111-11-111
>>> HomeKit: Free heap: 26288
>>> HomeKit: Calculating public key len=384
>>> HomeKit: Calculating public key result 0
>>> HomeKit: arduino_homekit_preinit success
>>> HomeKit: Configuring mDNS
>>> HomeKit: Wifi Sleep type:2
>>> HomeKit: Set Wifi Sleep type :0
>>> HomeKit: MDNS.begin: SHT-112A, IP: <IP_ADDRESS>
>>> HomeKit: Init server over
>>> HomeKit: WiFiServer receives a new client (current 0, max 8)
>>> HomeKit: Got new client connection: local <IP_ADDRESS>:5556, remote <IP_ADDRESS>:55386
>>> HomeKit: [Client<PHONE_NUMBER>] Got client content from the cache 0
>>> HomeKit: [Client<PHONE_NUMBER>] new client accepted
>>> HomeKit: [Client<PHONE_NUMBER>] Pair Setup Step 1/3
>>> HomeKit: [Client<PHONE_NUMBER>] Connection: close received, client will be disconnected
>>> HomeKit: [Client<PHONE_NUMBER>] Closing client connection
>>> HomeKit: Free saved_preinit_pairing_context
>>> HomeKit: [Client 0] Clear the pairing context
>>> HomeKit: [Client 0] client content free
>>> HomeKit: Preinit pairing context
>>> HomeKit: Using user-specified password: 111-11-111
>>> HomeKit: Free heap: 23944

I'll probably open a new issue for that


Netskope native connector is pulling only limited types of alerts when compared with log shipper

Description
Screenshots attached for reference, the Netskope_Alerts_CL is the table created by Log Shipper Sentinel plugin and the Netskope_CL is the table created by the native Netskope Data Connector.  You'll notice that the log shipper is sending more alert types compared with native connector. We'd prefer the native connector as it's more reliable than log shipper but unfortunately can't switch yet due to this issue.

Hi @haiderim,
I have verified the logs in my workspace, but Netskope Native connector is also logging multiple Alert Types. Please refer the below screenshot for your reference.

Please verify the logs from your end also once and confirm.
Thanks

I restarted the Azure Function today to test, will let it run for a day. So far I see watchlist alerts as well.

Closed by mistake.

Closing for now, will raise a new case with Microsoft support later.


Dirty fix to let packager build the dependency graph<EMAIL_ADDRESS>

Related #40. Please, explain how to make the right way.
Now it works, though react-native-webpack-server writing into ./index.ios.js at user's project root. Be aware.

Still haven't looked at the internals on both this and the RN packager in order to understand why this works, but it does :D. @mjohnston could you guide us here in order to find a proper solution now that this seems to be working properly?

I've not been closely following changes made within the RN packager, so it's hard to say exactly what is going on here.
I'm unfortunately quite busy at the moment so if anyone has time to investigate a proper solution here, that would be great.


Support for parsing negative numbers

In my project I need ability to pass negative numbers as option arguments, but unfortunately it doesn't work. It seems parser treats negative numbers as options themselves.
You can easily reproduce this by changing TestPrimitiveExample test (see "Option must have a value: --int value" failure)
--- a/jewelcli/src/test/java/com/lexicalscope/jewel/cli/examples/TestPrimitiveExample.java
+++ b/jewelcli/src/test/java/com/lexicalscope/jewel/cli/examples/TestPrimitiveExample.java
@@ -13,7 +13,7 @@ public class TestPrimitiveExample {
                 new String[] { "--boolean",
                          "--byte", "1",
                          "--short", "2",
-                         "--int", "3",
+                         "--int", "-3",
                          "--long", "4",
                          "--float", "4.1",
                          "--double", "4.2",

Numerical short options are traditionally valid although uncommon, e.g. ssh has -4 and -6. However, I think that if an option requires a value, the next argument should always be eagerly consumed, since the option parser cannot make assumptions about which values are valid (outside of type conversion failures).


PWM / ADCOUT is not working

started tesing AOUT 0..10V on Pin 17  of pokeys57CNC, on sw side it seems to work but PWM is not set from linuxCNC. when PWM can be set from pokeys-SW(win10).

fixed


APIM K8S Jenkins pipeline fails with insufficient memory

Description:
TestGrid Pipeline for APIM- k8s fails due to insufficient memory.
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000738eb4000, 398032896, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 398032896 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /****/jenkins-home/workspace/wso2apim-2.1.0-LTS-kubernetes/WSO2-TestGrid/hs_err_pid16002.log

This happens to be  known issue in Oracle JDK8
http://www.oracle.com/technetwork/java/javase/8-known-issues-2157115.html
Suggested Labels:
Type/Bug, Priority/Highest
Suggested Assignees:
AsmaJ

We will move this to a future version because, as of now all K8S based deployments are undergoing heavy changes.


Packet processing error when renaming an item in an anvil with color anvil patch.

Describe the bug
[03:31:52] [Server thread/ERROR]: Encountered unexpected exception sending packets
[03:31:52] [Server thread/ERROR]: Error whilst processing packet net.minecraft.server.v1_16_R3.PacketPlayInItemName@371feb38 for mibby[/IP]
java.lang.StringIndexOutOfBoundsException: begin 2, end 8, length 2
	at java.lang.String.checkBoundsBeginEnd(String.java:3319) ~[?:?]
	at java.lang.String.substring(String.java:1874) ~[?:?]
	at net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializerImpl.decodeTextFormat(LegacyComponentSerializerImpl.java:152) ~[1.16.5-patched.jar]
	at net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializerImpl.deserialize(LegacyComponentSerializerImpl.java:217) ~[1.16.5-patched.jar]
	at net.minecraft.server.v1_16_R3.ContainerAnvil.e(ContainerAnvil.java:266) ~[1.16.5-patched.jar]
	at net.minecraft.server.v1_16_R3.ContainerAnvil.a(ContainerAnvil.java:338) ~[1.16.5-patched.jar]
	at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:837) ~[1.16.5-patched.jar]
	at net.minecraft.server.v1_16_R3.PacketPlayInItemName.a(SourceFile:30) ~[1.16.5-patched.jar]
	at net.minecraft.server.v1_16_R3.PacketPlayInItemName.a(SourceFile:8) ~[1.16.5-patched.jar]
	at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:43) ~[1.16.5-patched.jar]
	at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[1.16.5-patched.jar]
	at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[1.16.5-patched.jar]
	at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[1.16.5-patched.jar]
	at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[1.16.5-patched.jar]
	at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1218) ~[1.16.5-patched.jar]
	at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1211) ~[1.16.5-patched.jar]
	at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[1.16.5-patched.jar]
	at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:1187) ~[1.16.5-patched.jar]
	at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1027) ~[1.16.5-patched.jar]
	at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:176) ~[1.16.5-patched.jar]
	at java.lang.Thread.run(Thread.java:834) [?:?]
[03:31:52] [Server thread/INFO]: mibby lost connection: Packet processing error

To Reproduce

Enable allow-colors: true purpur setting.
Have permission for anvil color changing and ignoring italic.
Try to add a hex color by setting &r&# to the name of an item in an anvil.
Get kicked.

Version
Purpur dev 991
Is bug present on Paper, Spigot, CraftBukkit, or Vanilla
No.
Additional context
RE: https://github.com/pl3xgaming/Purpur/issues/153
For context, disabling Purpur's patch and using the ColoredAnvil plugin with patched HEX/forced disabled italic, does not have this problem. https://github.com/Kikisito/ColoredAnvils
Also, would it perhaps be possible to add an option to update the item automatically to remove italic unless specified with the formatting code? Instead of requiring players to use &r.
I also noticed if you put in a name and then ctrl + a delete all text in the text field, the preview item doesn't update / refresh to remove the text. This is probably a minecraft bug since it also occurs with ColoredAnvil.

This is a bug in the legacy component serializer which has been fixed already, however the fix will be included in a future version of adventure. I will look at disabling hex colors until that update is released.

<EMAIL_ADDRESS>

Fixed in 4602b9b2fc637d5d47fade76bbeaac01e83bd17b


Add - max blocks per pipeline information

What
Information about maximum blocks per pipeline added to the pipelines page
Why
https://github.com/semaphoreci/semaphore/issues/251
Checklist:

Use a checklist to confirm:

[x] The branch is up-to-date with the main branch.
[x] Update follows the docs style guide.
[x] Changes have been tested locally.

Oh sorry, I just noticed this

Sorry Mateus, I missed this PR


Add failNow overload with string argument

As motivated in #87

How about using VertxException rather than NoStackTraceThrowable? I think it's useful to have the stack trace anyway.

@jponge yes, but not in this case I think.
The failNow is used at the end of the test, the test fails but not because an exception, so the stacktrace won't give useful informations.

Right


Adding a project, Todo App

Project title
Todo App
Project Description
A project that shows the list of todos, on completion, check it will mark it as completed and if task change/not valid, remove it. An add button will be provided to add more tasks.
Stack:
[ ] Html
[ ] CSS
[ ] JavaScript

Project title Todo App
Project Description A project that shows the list of todos, on completion, check it will mark it as completed and if task change/not valid, remove it. An add button will be provided to add more tasks.
Stack: [ ] Html [ ] CSS [ ] JavaScript

@khushi-purwar Please review it and assign me


Suggestion: CI for syntax.

Might be useful to add a CI pipeline to check the syntax definitions.
Inspiration from PackageDev:

Travis
GH Actions (supports ST4)

Addressed in v1.1.0


How do you get the MAP?

I don't know how to get the MAP. As for https://github.com/Cartucho/mAP , the problem is to get the detection result txt file. Do you know how to fix it?

Use https://github.com/gustavovaliati/keras-yolo3 to get the detection result txt file. It's a fork of this repo, so you can run your trained model by editing the config.yml file.

Maybe you can look look this https://github.com/Deepcong2019/yolov3.keras


Update code_schools.yml

Description of changes
Remove old entry for Code Platoon and adjust PDX Code Guilds to VA-Approved status.
Issue Resolved
Fixes https://github.com/OperationCode/operationcode_frontend/issues/180

Sorry for the weird commit message on 943484d - I didn't want there to be an issue #180 in the future that this some how messes up. I don't know if that's even possible, but it definitely won't be now.


removed superfolous parameters from AEO initialization

Attempted to remove extra parameters in AEO object initialization from being printed in the object's documentation.
If needed, may require a submission where those parameters are removed from the function header as well.

These issues have been addressed. I feel the current merge request should meet our requirements.


fix: initialize allocated cuda memory to 0

The allocated CUDA memory was not initialized but was assumed to be all 0, which may cause CUDA kernel failed: an illegal memory access was encountered. cudaMemset code was added to fix this problem.

Thanks for the contribution and sry for the late feedback!


Enabled remote to support network create -d

docker network create -d (driver) needs a remote
initializer, which was removed accidentally.
Signed-off-by: Yossi Eliaz<EMAIL_ADDRESS>

TODO update the balaena vendor.conf and project after merge.


Release 1.26.0

I added the skip-changelog label so the release PR doesn't show up in the next release. please keep that in mind for future release PRs.

Will do, thank you @bastelfreak


[Build Script Helper] Install libSwiftDriverExecution into the toolchain

While not required for libSwiftDriver clients, this is necessary in order to use the toolchain-installed swift-driver executable, since we separated the driver's targets in https://github.com/apple/swift-driver/pull/263.

@swift-ci please test


Suggestion: Russian Translation of the Mod

Hello. I recently found this mod on curseforge, and saw that there isnt a Russian translation (at least on the page). I tried to message you on Discord, but the message could not be delivered. My mother tongue is Russian, so i figure i could translate the mod. Plus, the modpage says it was made with MCreator, so i figure importing and exporting the translations won't be too hard. Feel free to contact me at<EMAIL_ADDRESS>(most of the time i check my emails daily!)

Hello! I've sent you an email with the language file for you to translate when your able to


autoDispose.family fails when using both WidgetsFlutterBinding.ensureInitialized() and runZonedGuarded()

Unhandled Exception occurs and autoDispose.family future provider stuck in AsyncLoading state when app uses WidgetsFlutterBinding.ensureInitialized() and runZonedGuarded() together.
To Reproduce

sample code
import 'dart:async';

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:collection/collection.dart';

void log(String msg, [Object? e]) {
  if (kDebugMode) {
    print('$msg${e == null ? '' : ': $e'}');
  }
}

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  runZonedGuarded(guardedMain, (e, st) {
    log('Zone catch unhandled', e);
  });
}

void guardedMain() {
  runApp(ProviderScope(
    child: MaterialApp(
      debugShowCheckedModeBanner: false,
      home: MasterDetailScaffold(),
    ),
  ));
}

class Model {
  final int id;
  final String name;

  Model(this.id, this.name);
}

var fatal = true;

final listFutureProvider = FutureProvider((ref) async {
  log('listFutureProvider await pause');
  await Future.delayed(Duration(seconds: 1));
  log('listFutureProvider await complete');
  fatal = !fatal;
  if (fatal) {
    log('listFutureProvider will throw ex');
    throw 'some exception';
  }
  log('listFutureProvider return list');
  return [
    Model(1, 'one'),
    Model(2, 'two'),
    Model(3, 'three'),
  ];
});

late final itemFutureProvider =
    FutureProvider.autoDispose.family<Model?, int>((ref, id) async {
  final List<Model> list;
  try {
    log('* itemFutureProvider await future');
    list = await ref.watch(listFutureProvider.future);
    log('* itemFutureProvider await complete');
  } catch (e) {
    log('* itemFutureProvider await failed. rethrow');
    rethrow;
  }
  var firstOrNull = list.firstWhereOrNull((e) => e.id == id);
  log('itemFutureProvider return item: ${firstOrNull?.hashCode}');
  return firstOrNull;
});

final selectedIdProvider = StateProvider((ref) => 1);

class MasterDetailScaffold extends HookConsumerWidget {
  const MasterDetailScaffold({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context, WidgetRef ref) {
    return Scaffold(
        appBar: AppBar(
          title: Text('refresh for ex'),
          actions: [
            IconButton(
                onPressed: () {
                  ref.refresh(listFutureProvider);
                },
                icon: Icon(Icons.refresh)),
          ],
        ),
        body: Row(
          children: const [
            Expanded(child: ListPanel()),
            VerticalDivider(),
            Expanded(child: ItemPanel()),
          ],
        ));
  }
}

class ListPanel extends HookConsumerWidget {
  const ListPanel({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context, WidgetRef ref) {
    final listAV = ref.watch(listFutureProvider);
    return Center(
      child: listAV.when(
        loading: () => CircularProgressIndicator(),
        error: (Object error, StackTrace? stackTrace) => Text('$error'),
        data: (List<Model> data) => ListView.builder(
          itemCount: data.length,
          itemBuilder: (BuildContext context, int index) {
            final d = data[index];
            return ListTile(
              title: Text(d.name),
              subtitle: Text(d.id.toString()),
              onTap: () {
                ref.read(selectedIdProvider.state).state = d.id;
              },
            );
          },
        ),
      ),
    );
  }
}

class ItemPanel extends HookConsumerWidget {
  const ItemPanel({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context, WidgetRef ref) {
    final id = ref.watch(selectedIdProvider);
    final itemAV = ref.watch(itemFutureProvider(id));
    return Center(
      child: itemAV.when(
        loading: () => CircularProgressIndicator(),
        error: (Object error, StackTrace? stackTrace) => Text('$error'),
        data: (Model? data) => Text('${data?.name}'),
      ),
    );
  }
}

Press refresh button and next will happen:

Incorrect behaviour:
ListPanel widget that watching listFutureProvider will rebuild yourself to AsyncLoading and then to  AsyncError.
But ItemPanel that watching itemFutureProvider will rebuild yourself to AsyncLoading  and stuck in that state.

Unhandled exception in logs

[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: problem ocurred
#0      remoteListFutureProvider.<anonymous closure> (package:vmngr/main.dart:71:5)
<asynchronous suspension>
#1      _FutureProviderElementMixin._listenFuture.<anonymous closure> (package:riverpod/src/future_provider.dart:95:11)
<asynchronous suspension>

Expected behaviour
If you don't  use WidgetsFlutterBinding.ensureInitialized(); or  runZonedGuarded(...) in main()  everything works perfectly.
But when they are together there is a problem. Each individually does not lead to such a problem.

version details
flutter_hooks: ^0.18.3
hooks_riverpod: ^1.0.3

[✓] Flutter (Channel stable, 2.10.5, on macOS 12.3.1 21E258 darwin-x64,)

Normal behaviour. WidgetsFlutterBinding.ensureInitialized(); line commented.
https://user-images.githubusercontent.com/2749021/165139265-1bab4ed0-9f25-4d77-a880-645282331ec6.mov
Bug. WidgetsFlutterBinding.ensureInitialized(); and   runZonedGuarded(...) used simultaneously.
https://user-images.githubusercontent.com/2749021/165139184-7071f5cd-32af-4ff7-ba33-c2f736b6fedc.mov

It's unclear to me what is happening.
Riverpod creates a completer for listFutureProvider.future, and when listFutureProvider throws, it does completer.compleError. But for unknown reason, future.then(..., onError: ) is never invoked, and await never finishes.
So I'm tempted to say that this is a Dart bug. As I'm certain Riverpod correctly sends the error. I double checked that the await ref.watch(listFutureProvider.future) and the internal code that emits the error correctly point to the same Completer.
So besides a Dart bug, I can't think of a reason as to why this would happen.

Turns out the way to set up crashalytics (which was done 1 year ago with runZoneGuarded) is no longer ‘the way’. The only reason we seemed to had 'runZoneGuarded' was to use FirebaseCrashalytics. According to the new documentation they no longer recommend using runZoneGuarded: https://firebase.google.com/docs/crashlytics/get-started?platform=flutter

Resorting to handling errors using FlutterError.onError as opposed to runZonedGuarded resolved the issue for now.

Indeed this appears to be an invalid usage of ensureInitialized
Nowadays, the given example prints a warning in the console:
The Flutter bindings were initialized in a different zone than is now being used. This will likely cause confusion and bugs as any zone-specific configuration will inconsistently use the configuration of the original binding initialization zone or this zone based on hard-to-predict factors such as which zone was active when a particular callback was set.
It is important to use the same zone when calling `ensureInitialized` on the binding as when calling `runApp` later.
To make this warning fatal, set BindingBase.debugZoneErrorsAreFatal to true before the bindings are initialized (i.e. as the first statement in `void main() { }`).

I'll therefore close this


Victor VosMottor: Watch +1(530)-454-6152

Victor VosMottor requests the watch of the watch_number +1(530)-454-6152. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by tripleee in Charcoal HQ


Dependencies | Update flutter_map to 0.11.0

Note: CI is not running due to #24

Adjusted the CI in #24 and update the other dependencies in #25 . Rebased the commit. The test fails with the new version.

Thanks. It was done in #26 instead. I had to fix some tests.


Error received when tapping "Learn more" on Welcome page in Sample App

Error on emulator (Genymotion api 23) is:
Webpage not available The webpage at file:///android_res/raw/consent_section_html_welcome.html could not be loaded because net::ERR_FILE_NOT_FOUND
Error in log is:
Not allowed to load local resource: file:///android_res/raw/consent_section_html_welcome.html", source: data:text/html,chromewebdata (0)

@crayne We changed the location of where you assets are, they should be in the assets folder now. Its alot more flexible than defining all files within raw. Additionally, you should be able to drag and drop your content in RK app without having to change filenames. As for images, they can be in the root of the HTML OR you can define the absolute drawable path like we had before.
Take a look at the Sample App SampleResourceManager to see the new changes

I pulled the latest SampleApp files and the problem is gone.  I moved all my GlucoSuccess files to the assets folder -- now I just need to compare the GlucoSuccess files to the latest SampleApp files and apply the changes.  Thanks for your help.


Style/RedundantParentheses conflict with Lint/AmbiguousRegexpLiteral

I believe I have found 2 conflicting cops on the code
I get a Lint/AmbiguousRegexpLiteral for the following code
 its(:stdout) { should match /Consul v0\.7/ }

If i do as instructed i get a Style/RedundantParentheses
its(:stdout) { should match (/Consul v0\.7/) }

Expected behavior
Maybe there is a different way to fix this issue but the docs don't explain it. One set of docs say add some parentheses and then the other docs say remove them
Actual behavior
Cannot get it to pass rubocop
Steps to reproduce the problem
Create the following code and run it through rubocop and you get a Lint/AmbiguousRegexpLiteral
describe command('/usr/local/bin/consul version') do
  its(:stdout) { should match /Consul v0\.7/ }
end

fix it by adding parentheses as per instructions https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Lint/AmbiguousRegexpLiteral
describe command('/usr/local/bin/consul version') do
  its(:stdout) { should match (/Consul v0\.7/) }
end

Run again and you get a Style/RedundantParentheses: Don't use parentheses around a literal.
https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/RedundantParentheses which says to remove the parentheses.
then my brain goes into a very tight infinite loop until I need to go and grab a coffee.
RuboCop version
rubocop -V
0.49.1 (using Parser <IP_ADDRESS>, running on ruby 2.4.3 x86_64-linux)

When putting a space between the method call and the argument, the parens don't bind to the method call. 🙂 This is what Lint/AmbiguousRegexpLiteral wants:
its(:stdout) { should match(/Consul v0\.7/) }

which passes all checks.


Some Questions

I was wondering why the node version has not been bumped from 12.X -> 14.X

Changing the TS vs. JS button to be global? I know little about state machines, but a context provider pattern would likely solve the problem well?

hey @pmaier983

we can, I don't think Node 14 will give us too many benefits but let me know your thoughts.
that's a pretty good idea!


Fix PIX capture of tiled resources

This change adds an aliasing barrier to indicate to PIX that the tiled
resource should be considered "active" and so is a candidate for capturing.
See https://devblogs.microsoft.com/pix/gpu-captures-how-we-support-placed-and-reserved-resources

This is a pretty heavy-weight barrier, added per draw call. I tested this on a GPUs from a couple different vendors, and it can roughly double frame time while also noticeably increasing frame time variability frame-to-frame.
For PIX to work, though, it probably cannot be once-per-frame any-to-any i.e. Aliasing(nullptr, nullptr) - the API call must point to the specific resource to be captured.
Since this is needed for analysis (not correctness) but significantly impacts performance, it must be optional. That's easy enough to wire through command line and config file. I might add it, unless someone beats me to it...

Oh, interesting - for some reason I'd assumed that these were basically no-ops outside of PIX!  Oops!
Another option here would be to only insert the barriers if a PIX capture is active.

Latest checkin, "-addAliasingBarriers" should do the trick.


added picadehat gpio capability and a tool to monitor input device

Well there is still room for improvement, but this should work now. It's needs to be tested on physical device. Later it could be improved with LED feedback and press command and held function on same pin as well.
For now keycode dictionary is layout settings and later every gpio pin just needs to be defined as variable with the class which does the heavy lifting. Hopefully it's more human readable and straightforward enough .... and works :D :man_dancing:

There are missing features like on board sound https://github.com/pimoroni/picade-hat/blob/master/legacy-python-driver/README.md#sound--volume-control
And volume control with media buttons are mapped, however that still questionable if working.
Hence at this stage physical testing is a necessity to tune it further.


Adds e2e test for PostgreSQL scaler

Signed-off-by: jorturfer<EMAIL_ADDRESS>
This PR adds e2e test for Postgres scaler. It's a draft until this other PR is merged ~~https://github.com/kedacore/test-tools/pull/18~~ https://github.com/kedacore/test-tools/pull/20  (I need it to use the PostgreSQL docker image here :) )
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)
[x] Tests have been added
[x] A PR is opened to update our Helm chart (repo) (if applicable, ie. when deployment manifests are modified)
[x] A PR is opened to update the documentation on (repo) (if applicable)
[x] Changelog has been updated

This afternoon, I'll update the image and open the PR :)

Does it still need to be a Draft

Does it still need to be a Draft

Yes, I want to double-check the image because I'm getting weird concurrency errors inside Postgres container. The e2e test is working since it checks the amount of instances only, but I prefer to fix the problem with the e2e image before. The image can be used for other stuffs, and it must work well also with concurrency
Today I'll do it :)

OK, no rush :)

OK, no rush :)

It was a problem related with the isolation level (sorry, I'm not an expert, in Postgres 😢). I have set the isolation level to default and now it seems that it's working.
When that PR in test-tools is merged, this PR is ready to be opened 😄

I have checked again with the new image, and it's working without any extra error, so it's ready to merge :)


[material-next][TextField] Copy v5 TextField's inner components

This PR copies (with minimal changes) the remaining components that are required to compose the filled variant of TextField and Select:

FormLabel

InputLabel

InputAdornment

FormHelperText

[x] I have followed (at least) the PR section of the contributing guide.

@mj12albert Is this ready to go?

I merged it ~ @siriwatknp


[FEATURE] Filter alerts by severity level

Feature
Filter alerts by specified list of severity levels (e.g. HIGH, MEDIUM, CRITICAL)
Proposed Solution
Add option to filter alerts by severity levels:
severities: ['HIGH', 'MEDIUM', 'CRITICAL']

The above example will filter out alerts with severity type INFO and LOW.

Hi @anudit, you can now filter alerts by severities.
For more info on the query input, please check out https://docs.forta.network/en/latest/forta-api-reference/#definition-AlertsInput

Hey @mwakaba2, Switched to the new API https://github.com/anudit/convosdk/blob/main/src/adaptors/forta.ts, Thanks!

Amazing thank you guys


malformed url errors when installing ruby-1.9.2-p180

Does anyone know why I would get errors like this when running the installer?
when running:
bash < <(curl -s -k -B https://raw.github.com/cloudfoundry/vcap/master/setup/install)
Installing various rubies
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-1.9.2-p180, this may take a while depending on your cpu(s)...
ruby-1.9.2-p180 - #fetching
ruby-1.9.2-p180 - #downloading ruby-1.9.2-p180, this may take a while depending on your connection...
curl: (3)  malformed
ERROR: There was an error, please check /usr/local/rvm/log/ruby-1.9.2-p180/*.log. Next we'll try to fetch via http.
Trying http:// URL instead.
curl: (3)  malformed
ERROR: There was an error, please check /usr/local/rvm/log/ruby-1.9.2-p180/*.log
ERROR: There has been an error while trying to fetch the source.
Halting the installation.
ERROR: There has been an error fetching the ruby interpreter. Halting the installation.
WARN: ruby ruby-1.9.2-p180 is not installed.
To install do: 'rvm install ruby-1.9.2-p180'
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-1.8.7-p352, this may take a while depending on your cpu(s)...
ruby-1.8.7-p352 - #fetching
ruby-1.8.7-p352 - #downloading ruby-1.8.7-p352, this may take a while depending on your connection...
curl: (3)  malformed
ERROR: There was an error, please check /usr/local/rvm/log/ruby-1.8.7-p352/*.log. Next we'll try to fetch via http.
Trying http:// URL instead.
curl: (3)  malformed
ERROR: There was an error, please check /usr/local/rvm/log/ruby-1.8.7-p352/*.log
ERROR: There has been an error while trying to fetch the source.
Halting the installation.
ERROR: There has been an error fetching the ruby interpreter. Halting the installation.
WARN: ruby ruby-1.8.7-p352 is not installed.
To install do: 'rvm install ruby-1.8.7-p352'
Successfully installed rake-0.8.7
1 gem installed
WARN: ruby ruby-1.9.2-p180 is not installed.
To install do: 'rvm install ruby-1.9.2-p180'

As an FYI, we prefer that you direct issues and questions to our Cloud Foundry community site, as that is where the majority of discussion and help occurs: http://support.cloudfoundry.com
Thanks!

I saw this on Ubuntu 10.04.  I think there was a previously installed global version of rvm in /usr/local, and there were some permission problems still with "rvm install".  Even running it as root didn't help though so I'm not 100% sure.  I reset my VM to a snapshot before rvm was installed and then it worked as expected.


Charts UX improvements

Steps to reproduce 🕹
Collecting a few small UX issues around the new Chart component

[x] The series cycle between two default colors. Can we define a larger palette of colors to use from?
[x] When creating a new dataseries, I'd expect the series editor for that newly added to open automatically.
[ ] ?

I've added these 2 here as they weren't very complex/difficult: https://github.com/mui/mui-toolpad/pull/2500
I've decided to use the blueberryTwilight color palette in https://mui.com/x/react-charts/styling/ as the default.


InfringingUrl should only allow valid URLs

Currently the InfringingUrl field in https://github.com/xarf/schema-discussion/blob/559b1520fee3f6da51340945a9f142c21347b08c/copyright.schema.json allows any string.
The sample even includes an invalid url (missing protocol http(s)://)
The format "url" does not exist in the json schema standard. It should be https://json-schema.org/latest/json-schema-validation.html#rfc.section.7.3.5 .

Created pull request #9


Typo On Page

Issue in ./help/implementation-playbook/planning/ownership.md
RASI Framework - title should say RACI Framework

Done, should publish soon.


Out of the box logging for validators and miners

Overview
We want to enable validators and miners to see the data created by themselves and other entities within subnets by default.
This will support network monitoring and analytics and help to create a standard of quality for subnets. Of course, subnet developers can and should improve upon the default behaviour but we will at least ensure that there is some telemetry from day zero.
To do this we will first implement basic logging for miners and validators:
Validators
The end of each forward pass will call log_event, which will write the following data to a local log file as a dict of lists:

UIDs queried
responses

deserialized outputs
status codes
response time

rewards

Miners
Each validator query will  call log_event with information such as

Validator info

UID
hotkey
stake

Blacklist return value
Priority return value
Forward return value
Forward run time

We can also introduce a specific event that is logged when weight setting occurs.

great idea, it'd be nice to add logging X-Request-ID header to track "actions" that are performed across entites and parts of code


Add userns-enabled variant to give the users choice on the tradeoff b…

…etween userns and non-userns

@34N0 please review this


chore(theme-translations): complete ko translations

Pre-flight checklist

[x] I have read the Contributing Guidelines on pull requests.

Motivation
This PR translate some english texts still untranslated.
It also fixed some unnatural wordings.

cc @revi @koko8829 @winterlood Could you review this please?

(Was about to select Request changes but I seemingly lack the permission to do so.)

Yeah, that's a bit annoying :/
Thanks for the review!

We can merge this if any of the reviewers can give a thumbs-up.


Should add a mention to dotnet org as well?

@martinwoodward I didn't see the .NET Foundation org listed anywhere, but not sure where it would be classified, since it's a separate entity than MS.

The .NET Foundation is deliberately not included because it is a separate non-profit.  There is heavily overlap because lots of projects in the .NET Foundation come from Microsoft but the .NET Foundation also has lots of OSS that comes from over clever folks such as Xamarin, Mono, ThinkTecture etc.
Maybe rather than including the organization in the data we should find a way to add a descriptive link to the .NET Foundation along with other OSS efforts Microsoft is heavily involved in.


Message on leaving a question without submitting

If set, the message says:
You haven't submitted all your answers on this page.
Proceed anyway?
modal.cancel     modal.ok
Instead of cancel, ok
See, for example
https://numbas-editor.mas.ncl.ac.uk/numbas-previews/exam-54-mas1241-cba-4-assessed/index.html

This was just an out-of-date version of our internal strings file.


Text Vectorization Pipeline example failed at feature hashing

Describe the issue:
Stepping through the example for Text Vectorization on dask.org fails at line 4 of cell 5.
Minimal Complete Verifiable Example:
https://examples.dask.org/machine-learning/text-vectorization.html#Feature-Hashing
import sklearn.datasets
import dask_ml.feature_extraction.text
import dask.dataframe as dd
import pandas as pd

bunch = sklearn.datasets.fetch_20newsgroups()
df = dd.from_pandas(pd.DataFrame({"text": bunch.data, "target": bunch.target}),
                    npartitions=25)

vect = dask_ml.feature_extraction.text.HashingVectorizer()
X = vect.fit_transform(df['text'])

Anything else we need to know?:
Trace:
ValueError: Metadata inference failed in `_transformer`.

You have supplied a custom function and Dask is unable to
determine the type of output that that function returns.

To resolve this please provide a meta= keyword.
The docstring of the Dask function you ran should have more information.

Original error is below:
------------------------
AttributeError("'NAType' object has no attribute 'lower'")

Traceback:
---------
  File "/home/mhorvath/projects/caunifer/.venv/lib/python3.10/site-packages/dask/dataframe/utils.py", line 195, in raise_on_meta_error
    yield
  File "/home/mhorvath/projects/caunifer/.venv/lib/python3.10/site-packages/dask_expr/_expr.py", line 3988, in _emulate
    return func(*_extract_meta(args, True), **_extract_meta(kwargs, True))
  File "/home/mhorvath/projects/caunifer/.venv/lib/python3.10/site-packages/dask_ml/feature_extraction/text.py", line 36, in _transformer
    return self._hasher(**self.get_params()).transform(part)
  File "/home/mhorvath/projects/caunifer/.venv/lib/python3.10/site-packages/sklearn/feature_extraction/text.py", line 882, in transform
    X = self._get_hasher().transform(analyzer(doc) for doc in X)
  File "/home/mhorvath/projects/caunifer/.venv/lib/python3.10/site-packages/sklearn/utils/_set_output.py", line 295, in wrapped
    data_to_wrap = f(self, X, *args, **kwargs)
  File "/home/mhorvath/projects/caunifer/.venv/lib/python3.10/site-packages/sklearn/feature_extraction/_hash.py", line 179, in transform
    indices, indptr, values = _hashing_transform(
  File "sklearn/feature_extraction/_hashing_fast.pyx", line 40, in sklearn.feature_extraction._hashing_fast.transform
  File "/home/mhorvath/projects/caunifer/.venv/lib/python3.10/site-packages/sklearn/feature_extraction/_hash.py", line 177, in <genexpr>
    raw_X = (((f, 1) for f in x) for x in raw_X_)
  File "/home/mhorvath/projects/caunifer/.venv/lib/python3.10/site-packages/sklearn/feature_extraction/text.py", line 882, in <genexpr>
    X = self._get_hasher().transform(analyzer(doc) for doc in X)
  File "/home/mhorvath/projects/caunifer/.venv/lib/python3.10/site-packages/sklearn/feature_extraction/text.py", line 110, in _analyze
    doc = preprocessor(doc)
  File "/home/mhorvath/projects/caunifer/.venv/lib/python3.10/site-packages/sklearn/feature_extraction/text.py", line 68, in _preprocess
    doc = doc.lower()

Environment:

Dask version: 2024.4.4
Python version: Python 3.10.12
Operating System: Ubuntu 22.04.4 LTS
Install method (conda, pip, source): pip
scikit-learn version: 1.4.2

Hi, thanks for your report. I am not sure if this is a Dask error, the same happens if you use pandas and scikit learn directly
from sklearn.feature_extraction.text import HashingVectorizer

bunch = sklearn.datasets.fetch_20newsgroups()
df = pd.DataFrame({"text": ["a", "b", pd.NA], "target": ["x", "y", pd.NA]}, dtype="string[pyarrow]")

vect = HashingVectorizer()
X = vect.fit_transform(df['text'])

it might be worth engaging with scikit learn directly

Hmm, I'm able to run the original example (adapted to just a single newsgroup to save memory) using only sklearn and pandas.
import pandas as pd
import sklearn.datasets
from sklearn.feature_extraction.text import HashingVectorizer

bunch = sklearn.datasets.fetch_20newsgroups(categories=['sci.med'])
df = pd.DataFrame({"text": bunch.data, "target": bunch.target})

vect = HashingVectorizer()
X = vect.fit_transform(df['text'])
X.toarray()

Is this perhaps an issue from the conversion to a dask dataframe from a pandas dataframe introducing NA's?

Yeah our meta generation introduces a NA, that's the conceptual problem.

I am not very familiar with using dask to scale scikit learn problems.  Is there an obvious workaround, like specifying the meta or adjusting the dataframe post creation?


Reorganized directory structure, migrated breakpad

Breakpad has been moved to inside this repository, and include paths have been updated accordingly.

Looks good, will merge when lind_project is ready.


Don't save all files

Hi!
Today I have felt how VS code the import autocorrection works with TS :)
All my files (almost 500) were changed by VS code and all the imports were wrong.
I was clicking on Don't Save button 500+ times  because all my components were broken.
Could you please add a feature that will allow to close all opened files without saving?
Thanks!

at least it could like commit before changing imports so you can easily revert.

@kpoddubnyi Opening those files was a bug in the current vs code release. It should be fixed in the current insiders builds. Please let me know if you still see it
@bpasero Should the standard close all dialog have an option to discard all changes like the dialog that shows when you close the VS Code window does:

@mjbvz we do exactly that when you click the "Close All" e.g. from open editors:

@bpasero I'm on the latest VS Code on Mac OS X. I'm clicking Don't Save dozens of times, once per file, on a project that I selected Close All on.

@TimeBomb closing all editors of a editor group will prompt you per file but you can use "Close All Editors" (across all groups) and it will show the combined dialog:


When creating a new AP template adding a new task wipes out the "assigned to" column

Before clicking "Add New Task"

After clicking "Add New Task"

If the template is already made and you edit it, then click "Add New Task" the same thing happens but instead of blanking out the assigned to column it reverts it to its original values.

Is there any update on when this will be fixed?


Bug: cannot show all headers in file

Cannot show entire headers with the header search in file function, which seems with header number limitation. Hoping the function can be fixed in the future version.

Hi, @tkCreate :)
Could you tell me the reproduction procedure? I didn't know what your problem was.

Hi, @tkCreate. Thank you for your bug report :)
I confirmed that there is the Obsidian's default setting that limits suggestions 100. I'll increase it in the next version 👍

Hi author!  Sorry, I don't know how to describe the reproduction procedure, but there is inconsistence between the header seach result and the outliner content.
As the issue picture is shown, the outline content is much more than the search result. The content tree cannot be fully shown by header search function.
It is weired from what I have seemed. The cmd function can show all function of obsidian and the plugins' functions. XD

Thank you @tkCreate :)
My browser didn't display your screenshots the first time. The next time, I could see them and understood what you wanted 👍 (This is the reason I deleted my first reply to you 😅 )

I have set suggestions to be shown with the maximum limit, which seemed to with no help.
Thank you for replying the bug report!

@tkCreate
Do you use Obsidian v0.15.3 and BRAT? If you use them, it would be helpful to confirm the next beta version.

currently, I am using the version v0.14.15, and using the lastest version of the plugin.

Thanks.
Another Quick Switcher v5.x.x supports Obsidian, whose version is more than v0.15.0. So please wait for the official release of Obsidian v0.15 :)

thanks for the advice, I will change it with the lastest official release version. XD

Fixed in v5.1.2 🚀

Hi author! thanks for such fast repairment, btw how to get the lastest v0.15.0 of obsidian? the latest release is v0.14.15 from the offical release.

the latest release is v0.14.15 from the offical release.

Yes, but the latest release of insider version is v0.15.3.

https://forum.obsidian.md/c/announcements/13
https://help.obsidian.md/Advanced+topics/Insider+builds


Create external volume example points to S3 path instead of ADLS

[Enter feedback here]

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

ID: c9cbf468-e8a4-7164-29da-0030f3829a75
Version Independent ID: c9cbf468-e8a4-7164-29da-0030f3829a75
Content: Volumes - Azure Databricks - Databricks SQL
Content Source: databricks/sql/language-manual/sql-ref-volumes.md
Service: azure-databricks
Sub-service: databricks-sql-analytics
GitHub Login: @mssaperla
Microsoft Alias: saperla

@pk-enthusiast
Thanks for your feedback! We will investigate and update as appropriate.

@pk-enthusiast
Thanks for reporting this! We have created a PR for this issue and the changes should go live soon.


Ensembler: linear interpolation

We need an Ensembler that makes a simple linear interpolation of the ranks.

Dismissed.


Unable to run succesfully KeyError: 'deck'

Heya, I'm getting this error when I ran the program earlier today. Not sure what to make of this. Perhaps Trello changed something on their end?
Found:
6 labels
6 stacks
40 cards (archived and non-archived)
Traceback (most recent call last):
  File "/home/user/.local/bin/trello-to-deck", line 47, in <module>
    compatibility = api.getCompatibility()
  File "/home/user/.local/lib/python3.8/site-packages/trello_to_deck/deck.py", li
ne 80, in getCompatibility
    deck = result['ocs']['data']['capabilities']['deck']
KeyError: 'deck'

I can look into it on the weekend. Are you sure deck is installed?
That is an error while speaking to nextcloud. I think the compatability check is failing.

Thanks for your time!
Oh I just had a thought...

Are you sure deck is installed?
Yes it is, however we're using LDAP for Nextcloud auth. I wonder if that might be causing this?

Feel free to pull again from main and try that one. It will probably tell you that deck is not installed.
Are you using an admin account?

Closing because of inactivity


Objects are not placed on the surface.?

I have added objects from google poly but now when i add them, they are not placed on the surface. They keep floating at a height above the surface. So what properties of the object i should change that they will be placed on the surface.

@claywilkinson It will be great if you can help me out with this issue asap. Thanks.

The issue probably is the origin of the model.  For example it could be in the center of the model causing it be half above and half below the plane.  In your case it sounds like the origin is below the mesh of the model, causing it to float.
The options are:

adjust the model using a modeling tool.
manually set  the local position below the anchor node.
Wait for the feature of resetting the origin in the .sfa file. In an upcoming release, you'll be able to reset the model's origin in the .sfa file.

Okay great. Thanks for the promt help.

@rohitagarwal3011 can you give a solution of this problem?