Unresponsive problem

I used the sample code and it worked, but it unresponsive after a few seconds.
I found this issue https://github.com/HomeSpan/HomeSpan/issues/22
I'm not sure if I need to modify the code in the example
https://github.com/HomeSpan/HomeSpan/blob/6aba1a28e56d2230338592ade3b181bfe9fa8f76/examples/13-TargetStates/DEV_DoorsWindows.h#L58-L59

Are you running Example 13 exactly as is?  Can you please provide some specifics?

Are you running Example 13 exactly as is? Can you please provide some specifics?

struct GarageDoor : Service::GarageDoorOpener {

  SpanCharacteristic *current;     // Current Door State
  SpanCharacteristic *target;      // Target Door State
  SpanCharacteristic *obstruction; // reference to the Obstruction Detected Characteristic

  /**
   *
   */
  GarageDoor() : Service::GarageDoorOpener()
  {
    current     = new Characteristic::CurrentDoorState(1);          // initial value of 1 means closed
    target      = new Characteristic::TargetDoorState(1);           // initial value of 1 means closed
    obstruction = new Characteristic::ObstructionDetected(false);   // initial value of false means NO obstruction is detected
  }

  /**
   *
   */
  boolean update()
  {

    if (target->getNewVal()==0) {                   // if the target-state value is set to 0, HomeKit is requesting the door to be in open position

      current->setVal(2);                           //  set the current-state value to 2, which means "opening"
      obstruction->setVal(false);                   //  clear any prior obstruction detection

    } else {                                        //  else the target-state value is set to 1, and HomeKit is requesting the door to be in the closed position

      current->setVal(3);                           // set the current-state value to 3, which means "closing"
      obstruction->setVal(false);                   // clear any prior obstruction detection

    }

    return(true);

  }

  /**
   *
   */
  void loop() {

    if (current->getVal()==target->getVal()) {
        return;
    }

    if (target->timeVal() > 5000) {
      current->setVal(target->getVal());
    }

  }

};

21:45:45.250 -> -------- SENT ENCRYPTED! --------
21:45:46.800 -> Removing PID=10506250316620723095  ALARM=4749281
21:47:59.414 -> =======================================
21:47:59.414 -> ** Client #1 Connected: (4881 sec) <IP_ADDRESS> on Socket 9/10
21:47:59.414 ->
21:47:59.414 -> <<<<<<<<< <IP_ADDRESS> <<<<<<<<<
21:47:59.414 -> POST /pair-verify HTTP/1.1
21:47:59.414 -> Host: Garage\032Door\032Opener._hap._tcp.local
21:47:59.414 -> Content-Length: 37
21:47:59.466 -> Content-Type: application/pairing+tlv8
21:47:59.466 -> ------------ END BODY! ------------
21:47:59.466 -> STATE(1) 01
21:47:59.466 -> PUBKEY(32) EE1DD39ADE433B39F1C8AC622051696ACFFF39D8783A427E05A63961A3209710
21:47:59.466 -> ------------ END TLVS! ------------
21:47:59.466 -> In Pair Verify #1 (<IP_ADDRESS>)...Found <M1>
21:47:59.529 -> ------- ENCRYPTING SUB-TLVS -------
21:47:59.529 -> SIGNATURE(64) 97C98FDC9B7F67FA23B6BE86D1ED34CA9AD5F70542D506B5BA706A2C0E8F52DDD0918EB8CF0EB2CAFA9A07B7777233E0E016C30C92BF497DF3DF89388651BD05
21:47:59.569 -> IDENTIFIER(17) 30393A31343A42323A30463A34363A3241
21:47:59.569 -> ---------- END SUB-TLVS! ----------
21:47:59.569 ->
21:47:59.569 -> >>>>>>>>>> <IP_ADDRESS> >>>>>>>>>>
21:47:59.569 -> HTTP/1.1 200 OK
21:47:59.569 -> Content-Type: application/pairing+tlv8
21:47:59.569 -> Content-Length: 140
21:47:59.569 ->
21:47:59.569 -> STATE(1) 02
21:47:59.569 -> PUBKEY(32) 8C8F19AE39E86A7769F12FBD9B3910D4C55DA3CCE9EA94F3139225DD7B0F5610
21:47:59.569 -> ENC.DATA(101) 835DF17ED71E1FB7D3F6FA54FED676E3030DB44315C404B7FD708B61928BEBD82C378E6AE5E895CF3005FD504D2B5D7140D9DE8F1D896BBF215E1AE371CEC8D065BFBEA23C6BDB1817225B33839D68EE4E91DFCB8DB094C19A8CC19E70DC80E74FC788D270
21:47:59.609 -> ------------ SENT! --------------
21:47:59.609 ->
21:47:59.671 -> <<<<<<<<< <IP_ADDRESS> <<<<<<<<<
21:47:59.671 -> POST /pair-verify HTTP/1.1
21:47:59.671 -> Host: Garage\032Door\032Opener._hap._tcp.local
21:47:59.671 -> Content-Length: 125
21:47:59.671 -> Content-Type: application/pairing+tlv8
21:47:59.671 -> ------------ END BODY! ------------
21:47:59.671 -> STATE(1) 03
21:47:59.671 -> ENC.DATA(120) 4AA34CE336BDF8CF9BE95B2F9C04EC792C5AF32747D9987DB9BE448EB3FCD0DF0AA747FFD30F868E301B3E411A53C5E690F9F3AD381E82AC9D27AF14D7DDE3C8962EDB49A3C9BE1381EC2C0726A6E73056D55BB9537F1F8336BA5218EE5061CDDB52FB597A1747B4C0083584A014BB3405B2EC53F05FD692
21:47:59.722 -> ------------ END TLVS! ------------
21:47:59.722 -> In Pair Verify #1 (<IP_ADDRESS>)...Found <M3>
21:47:59.722 -> SIGNATURE(64) 16F17C13512C6E92A8E3A8ABD350E7C4E837CB40EBBFDF0A1F669B44F8A5954843FF8B8C8279BA939C09E40CC41CBDFB66DF2733F2908D8483BEEF8ED5129F08
21:47:59.722 -> IDENTIFIER(36)<PHONE_NUMBER>3336342D453030432D344534442D423146352D314239363038333342384239
21:47:59.722 -> ------- END DECRYPTED TLVS! -------
21:47:59.722 -> Found Controller: 46A29364-E00C-4E4D-B1F5-1B960833B8B9 (admin)
21:47:59.779 ->
21:47:59.779 -> >>>>>>>>>> <IP_ADDRESS> >>>>>>>>>>
21:47:59.779 -> HTTP/1.1 200 OK
21:47:59.779 -> Content-Type: application/pairing+tlv8
21:47:59.779 -> Content-Length: 3
21:47:59.779 ->
21:47:59.779 -> STATE(1) 04
21:47:59.808 -> ------------ SENT! --------------
21:47:59.808 ->
21:47:59.808 -> *** SESSION VERIFICATION COMPLETE ***
21:47:59.866 ->

Can you run Example 13 unmodified and check whether it is working?

Can you run Example 13 unmodified and check whether it is working?

Yes, I tried example 13. I only keep the garage door. When my mobile phone locks the screen for a period of time and then unlocks, will there be any response? I guess it's the problem of mDNS

Can you run Example 13 unmodified and check whether it is working?

Yes, I tried example 13. I only keep the garage door. When my mobile phone locks the screen for a period of time and then unlocks it, there will be no response. I guess it's the broadcast problem of mDNS. I have tried many times. When I open the home app and lock the screen directly, it will only appear after a period of time. When I close the home app and lock the screen before locking the screen, and then unlock and open the home app after a period of time, there will be no response

Can you run Example 13 unmodified and check whether it is working?

Yes, I tried example 13. When I use the garage door, when my mobile phone locks the screen for a period of time and then unlocks it, there will be no response. I guess it's the broadcast problem of mDNS. I have tried many times. When I open the home app and lock the screen directly, it will only appear after a period of time. When I close the home app and lock the screen before locking the screen, and then unlock and open the home app after a period of time, there will be no response

Does this occur with other examples, such as Example 1 or Example 5?  Also, do you use a HomeKit hub, such an Apple HomePod or AppleTV?  I assume you are running the latest iOS?

Does this occur with other examples, such as Example 1 or Example 5?  Also, do you use a HomeKit hub, such an Apple HomePod or AppleTV?  I assume you are running the latest iOS?

I don't use homekit hub. Yes, I use IOS 14.6

I'm wondering if I don't see this issue because I use a HomeKit hub (which is never "locked").   Any luck with Example 1?

Does this occur with other examples, such as Example 1 or Example 5?  Also, do you use a HomeKit hub, such an Apple HomePod or AppleTV?  I assume you are running the latest iOS?

I don't use homekit hub. Yes, I use IOS 14.6

I will try other examples and give them back to you. The problem of no response doesn't happen every time. My MacBook is normal, but my iPhone is not response

I'm wondering if I don't see this issue because I use a HomeKit hub (which is never "locked").   Any luck with Example 1?

Now examples 1 and 13 are normal again. I will continue to observe whether they will appear again

@HomeSpan
I found a rule that when there is no response, I can eliminate it by visiting port 80 of the device

@HomeSpan
22:09:17.565  ...STARTING...
Timestamp     A/R    Flags  if Domain               Service Type         Instance Name
22:09:17.566  Add        2   5 local.               _hap._tcp.           Garage Door Opener
22:09:39.467  Rmv        0   5 local.               _hap._tcp.           Garage Door Opener
22:12:02.752  Add        2   5 local.               _hap._tcp.           Garage Door Opener
22:24:31.741  Rmv        0   5 local.               _hap._tcp.           Garage Door Opener
22:24:58.649  Add        2   5 local.               _hap._tcp.           Garage Door Opener

Don't know why there is the removing of the services periodically. iOS device shows Not Reachable after the the service is removed. Here what it happen:

MDNS Service is removed
iOS client shows Not reachable
TCP socket timeout
Device logs Disconnected

It doesn't come from the dynamic TXT service "sf" as I tried to use a static one, same behavior.

Thanks, this is very helpful - I'll see if I can reproduce/diagnose.  I wonder why it only happens for certain devices (does this occur if you access HomeSpan from the Home App on a Mac?)

Thank you for your attention to this issue.
I found the same problem on Iphone, Ipad, Mac devices. (Not using HomeKit hub).
Reproduction process:
Open the iPhone’s Home App, then lock the screen of the phone, and then unlock the phone to view the HomeKit App after a while.
I am guessing whether the HAP service thinks that it has left the current network because the iPhone has entered the dormant state, so it deletes the device.

To help debug, can you run the 's' command from the Arduino Serial monitor when your system first starts up, and then a few times when you connect new devices (MacBook, etc.).  Then, lock the iPhone, wait a bit, and run the 's' command again.  Want to see how the connection evolves.  Finally, when you re-run the Home App after unlocking, make sure HomeSpan is set to Level 2 diagnostics.  If the log shows Session Verification Complete (as above), this means Home Kit is definitely connecting back to Home Span.  Also, can you verify you are starting with one of the existing samples (Example 1 is the best to start).  The reason is that it is possible to cause no-responses in exactly the way you are describing if you accidentally set the value of a Characteristic to an out-of-bound range (if this occurs you will see a warning message in the Arduino Serial monitor).
One other thing you can try is to unpair the device and re-pair after typing 'H' into the HomeSpan CLI.  This should reset all the pairing into.
Lastly, can you provide the entire log file upon start-up?

@HomeSpan
I'm not sure what caused the misplacement of the log content.
ets Jun  8 2016 00:22:57
23:10:09.839 ->
23:10:09.839 -> rst:0x1 ET),boot:0x13 (SPI_FAST_FLASH_BOOT)
23:10:09.839 -> conf0, SPIWP:0xex00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,wp_drv:0x00
23:10:09.877 -> mode:Dv:1
23:10:09.877 -> load:0x:4
23:10:09.877 -> load:0x3tail 12 room 4
23:10:09.877 -> load:0x40078000,len::0x40080400len:6388
23:10:09.877 -> enb4
23:10:10.203 -> E (145) psraAM ID read fffff
23:10:12.251 ->
23:10:12.251 -> ****************************
23:10:12.251 -> Welcome to HomeSpan!
23:10:12.251 -> Apple HomeKit for the Espressif ESP-32 WRino IDE
23:10:12.251 -> *************************************
23:10:12.251 -> ** Please l monitor is set to tranes>
23:10:12.288 ->
23:10:12.288 -> MessagDevice Control:   Pin 0
23:10:12.288 -> Sketch VersomeSpan Ver
23:10:12.288 -> ESP-IDF Ver.5-1-g85c430ard:      esp32
23:10:12.288 -> SketchJun 15 2021  Door Opener
23:10:12.288 ->
23:10:12.288 ->
23:10:12.288 -> *** Homessory:  AID=1
23:10:12.288 ->    ➟ Seion:  IID=1,aracteristiaCharacteristic Manufact0x20
23:10:12.323 ->       ⸮⸮ Characteristic Seria  IID=4, UU  ⇨ Characteristic Model("Switch-001"):  IIDeRevision("0D=6, UUID=0x52
23:10:12.323 ->       ⸮fy(0):  IID=7, UUID=0x1tocolInformation:  IID=
23:10:12.360 ->       ⇨ tic Version("=9, UUID=0xService Garr:  IID=10, UUID=0x41
23:10:12.360 ->       ⇨ CharacteristicIID=11, UUID=0xE  Range=[0,4]
23:10:12.360 ->       ⇨ Characteristic TargetDoorStat1]
23:10:12.360 ->       ⇨tionDetected(0):  IID=14
23:10:12.360 ->
23:10:12.360 -> Configured as Bridgece                     I  Linked Se--------------  ----  - ----  ------------
23:10:12.398 -> Acce       3E     NO      tocolInform       1      NO      NO  -
23:10:12.398 -> GarageDoorOpener       41           1   10     YES   Yccessory ID:      0D:EB:                      5CF1D228C67616FF08991
23:10:12.434 -> Paler: 46A293admin)  LTPK: BEDC234A9F07D6804DF7Dccessory connumber: 1
23:10:12.434 ->
23:10:12.434 -> Garage Door EADY!
23:10:12.434 ->
23:10:12.434 -> Trying to connec  Waiting 1or response.Trying to  ting 2 second(s) for reTrying to cGng 4 seconponse...
23:10:17.654 -> lly connectoogle! IP Atarting MDNS...
23:10:17.654 ->
23:10:17.654 -> HostName:      Garage-0DEBAFA67467.local:80
23:10:17.654 -> Display Name:  Garager
23:10:17.654 -> Model Naman-ESP32
23:10:17.654 -> Seting OTA Server: Garage Door Openerization Password: Enabled
23:10:17.654 ->
23:10:17.654 -> Starting Web (HTTP) Server supporting up tneous connec**** HomeSpan Status ***
23:10:31.381 ->
23:10:31.381 -> IP Address:AF:A6:74:67            K: B8C4ABC22CF1D228C6765051FDCE7C6aired Controller: 46A29364-E00C-4E4D-B1F5-1B960833B8B9   (admin)  LTPKDFF44A1FC4D467A5F1824C6E1FC33614C6BD10CD0C7E
23:10:31.418 ->
23:10:31.418 -> Connection #nnection #2 (unconnected)
23:10:31.418 -> Connection #3 (uncon#5 (unconnection #6 (un ***
23:10:39.643 ->
23:10:39.643 -> IP Adry ID:      0D:EB:AF:A6:74:67                 C4ABC228AC0A2C676CD282EE37365051FD991
23:10:39.681 -> Paired C46A29364-E0B9   (admin)C234A9F07D6804DF7DFF44A1FC4D467A5F1824C6E1FC33ion #0 (uncnned)
23:10:39.681 -> Connectinection #3 )
23:10:39.681 -> Connectionected)
23:10:39.681 -> Connection #5 (unconnected)
23:10:39.681 -> *
23:10:39.681 ->
23:10:42.989 -> s ***
23:10:42.989 ->
23:10:42.989 -> IP Addres  10.10.10.ory ID:     :74:67                    LTPK: B8C4ABC228AC0A240CC95CF1DEE37365051FDCE7C6D16FF08991
23:10:43.027 -> Paired  46A29364-E00C-4E4D-B1F8B9   (admin)  LTPK: BED1FC4D467A5F1824C6E1FC33614C6BD10CDconnection #1d)
23:10:43.027 -> Connection #2 (unco n #4 (unconnected)
23:10:43.027 -> Connection #5 (unconnected)
23:10:43.027 -> Connection d Status ***
23:10:43.027 ->
23:10:46.382 -> Status ***
23:10:46.382 ->
23:10:46.382 ->   0D:EB:AF:A6:74:67               2EE37365FDCE7C6D16FF08991
23:10:46.382 -> PaireE00C-4E4D-B1F5-1B960833B8B9   (admiDC234A9F07DF1824C6E1FC33614C6BD10Cted)
23:10:46.419 -> Connection #2 (unc (unconnected)
23:10:46.419 -> Connection #4 (uncon
23:10:47.956 -> *** HomeSpan Status ***
23:10:47.956 ->
23:10:47.956 -> IP Address:10.:      0D:EB:AF:A6:7           K: B8C4ABC228AC0A240CC95CF1D228C676CD282EE37365051FDCE7C6Dler: 46A2936D-B1F5-1B96(admin)  LTK: BEDC234A9DFF44A1FC4D467A5F1824C6B0 (unconnecion #1 (uncd)
23:10:47.996 -> Connection #3 (uncon
23:10:47.996 -> Connection #5 (unconnected)
23:10:47.996 -> Conneconnected)
23:10:53.003 -> meSpan s ***
23:10:53.003 ->
23:10:53.003 -> IP Address:     ory ID:    A6:74:67                C4ABC228AC0228C676CD282EE37365051F00C-4E4D-B1Fn)  LTPK: BEDC234A9F07A1FC4D467A5F0C7E
23:10:53.038 ->
23:10:53.038 -> ConneConnection #ted)
23:10:53.038 -> Connectonnected)
23:10:53.038 -> Counconnected)
23:10:54.645 -> Connection #6 (unconnected)
23:10:54.645 ->
23:10:54.645 -> *** End Status =============onnected: (44 sec) 10.1Socket 3/102 <<<<<<<<</1.1
23:10:54.684 -> Host: oor\032Opener._hap._tcp.local
23:10:54.684 -> Cont 37
23:10:54.684 -> Content-Type: applig+tlv8
23:10:54.684 -> ------------ END BODY! ------------
23:10:54.684 -> S3C2B2231D6DDE6510D5C81F1D37944EEB9F55561F01578CF1A857A4E742A63A
23:10:54.684 -> -----TLVS! -----Pair Verify .242)...Foun------- ENU5B9FF8B132F5DEFA181A8C869DA713480F6E2953C2CDF1C9B2C3E438130443A45423A41463A4136---------- EN! ----------
23:10:54.795 ->
23:10:54.795 -> >>>>>>>>>>>
23:10:54.795 -> HTTP/1.1tent-Type: apairing+tlv
23:10:54.795 ->
23:10:54.795 -> STATE(1) 02
23:10:54.795 -> PUBKEY(3863AA39B381DDF6A06C7508B4E72237D
23:10:54.832 -> ENC.DATA(101) A2E94BF78A71ABCB82685D0E7C77D4F41F31A03DCAF0F02705C4622FC9EA092DDBD20ABFFB770BC26D5993E7
23:10:54.832 -> ---NT! --------------
23:10:54.832 ->
23:10:55.013 -> <<<<<< 10.10.10<<<<<
23:10:55.013 -> POST / HTTP/1.1
23:10:55.013 -> Host: Garage\032Door\032Opener._hap._tcp.local
23:10:55.013 -> Content-Leontent-Type:/pairing+tDY! ------------
23:10:55.013 -> STATE(TA(120) 3EAB3A6CE106B5695B57353C15FA75C51448356E72B7E49F71E55EB1DF1359773967F61C65CD715AF55D3BF13CA60A951BFA279FAAF4D6260AE81B584572D92DFF-------- END TLVS! ----Pair Verify #0 (10.10.1nd <M3>
23:10:55.050 -> SIG6C552F5EFE7E4FB4790956DFEF91F5D28E621D699C6ABB858A23DE48FF
23:10:55.050 -> IDENTIFIER36)<PHONE_NUMBER>4442D423146352D314239363038333342384239
23:10:55.050 -> --Sound Controller: 46A29364-E00C-4E4D833B8B9 (admin)
23:10:55.122 ->
23:10:55.122 -> >>>>><IP_ADDRESS> >>>>>1.1 200 OK
e: application/pairing+--------------
23:10:55.122 ->
23:10:55.122 -> *** SESETE ***
23:10:55.381 ->
23:10:55.381 -> <<<< #### <IP_ADDRESS> ###ccessoriesHost: Garage\032Door\03._tcp.local
23:10:55.381 -> ------------
23:10:55.381 -> In Get Accessories #00.10.242 >>ype: application/hap+js":1,"type":"3E","characteristics":[{"iid":2,"type":"23","value":"Gara":"string","perms":["prhangZhiJie"tring","permpe":"30","value":"8892ng","perms":01","format":"string","perms":["pr","type":"52""perms":["pr"]},{"iid":7,"type":"1ms":["pw"]},"type":"A2","characteri"37","valueformat":"sting","permstype":"41","":11,"type":"E","value":"uint8","prms":["pr",:"32","value":"uint8","p"pw","ev"]},"type":"24",]}]}]}
23:10:55.492 -> -------- SENT ENCRYPTED! -------
23:10:55.492 ->
23:10:55.551 -> <IP_ADDRESS> #### <<<<
23:10:55.551 -> : Garage\032Door\032Opener._hap._tent-Type: application/hap+json
23:10:55.551 -> ---- BODY! ----":1,"iid":11,"ev":true}:true},{"aid3,"ev":true]}
23:10:55.551 -> --------N! ------------
23:10:55.551 -> In Put Characteris..
23:10:55.551 -> Notificat for aid=1 iNotification Request for aid=1 iid=12: true
23:10:55.579 -> NoRequest for3: true
23:10:55.579 ->
23:10:55.579 -> >>10.10.242 >>>>>>>>>>
23:10:55.579 -> HTTo Content
23:10:55.579 -> ENT ENCRYPT 10.1characterisHTTP/1.1
23:10:58.627 -> Host: Garage\_tcp.local
23:10:58.665 -> -0.242)...
23:10:58.665 ->
23:10:58.665 -> <IP_ADDRESS> >>>>>>>>>>
23:10:58.665 -> HTTP/1.1 200ication/hap+json
23:10:58.665 -> Cont108
23:10:58.665 ->
23:10:58.665 -> {"chas":[{"iid":lue":1,"aid":1},{"iid":,"aid":1}]}
23:10:58.665 -> NT ENCRYPTE0# <<<<
23:12:45.852 -> GET tics?id=1.12032Door\032O END BODY! ------------slication/hap+json
23:12:45.852 -> Contaracteristic12,"value":1,"aid":1},{"iid":11,"v:13,"value":0,"aid":1}]}ENT ENCRYPTED! --------
23:12:48.077 -> ***tatus ***
23:12:48.077 ->
23:12:48.077 -> IP Address:        <IP_ADDRESS>
23:12:48.077 ->
23:12:48.077 -> Acc       LTPK:C0A240CC95CF1D228C676CD282EE37365051FDCE7C6D16er: 46A29364-E00C-4E4D-min)  LTPK: BEDC234A9F07D6804DF7DF0CD0C7E
23:12:48.077 ->
23:12:48.077 -> Conn on Socket 3/10  ID=4629364-E00C-4E4D-B1F5-1B (unconnected)
23:12:48.115 -> Connection #2 (unconnected)
23:12:48.115 -> Connection #3 ( #4 (unconnction #5 (uted)
23:12:48.115 ->
23:12:48.115 -> *** End Status ***
23:12:48.115 ->
23:12:59.769 -> ***tatus ***
23:12:59.769 ->
23:12:59.769 -> IP Address: cessory ID:      0D:EB:                  LTPKAC0A240CC95CF1D228C676C051FDCE7C6D1red Control64-E00C-4E4D833B8B9   (admin)  LTPK:07D6804DF7DFF44A1FC4D467A5F1824C6E1 <IP_ADDRESS> on Socket 3/10  ID=46A29364-E00C-4E4D-B1F5-1B960833B8B9   (admin)
23:12:59.806 -> Connection #1 (unconnected)
23:12:59.806 -> Connection #2 (unconnection #3 (unconnectedn #4 (unconnected)
23:12:59.843 -> Connection #5 (unconnected)**
23:12:59.843 ->
23:13:03.125 -> ======================
23:13:03.125 -> *(172 sec) 10on Socket 410
23:13:03.125 ->
23:13:03.125 -> <<<<<<<<<
23:13:03.125 -> POST /pai2Door\032Opeh: 37
23:13:03.125 -> Content-Type: ap END BODY! ------------
23:13:03.125 -> STATE(1) 01 9DF249288586D7C96F781C45AC444CBAE969041F
23:13:03.161 -> ------------ EN--------
23:13:03.161 -> In 10.181)...Found <M1>
23:13:03.235 -> -RYPTING SUB(64) 734C56B2B5248207CA182DD0D5BFB2ADD856CF9CAD241463A41363A37343A3637
23:13:03.272 -> ---------- E ----------81 >>>>>>>>>00 OK
23:13:03.272 -> Contairing+tlv8
gth: 140
23:13:03.272 -> ) 4EE0FC65501FF96BF3AA953022AC39
23:13:03.272 -> ENC31AD8DAB5880A68B6EB948FE9316A50F15C6243180F4296566BBABDA9C9659A6518189042A0447CC8F7E3A
23:13:03.314 -> ------------ SENT! --------<arage\032Door\032Opener._hap._tcp.local
23:13:03.359 -> Content-Length: 125
23:13:03.359 -> Content-Type: application/pairing+tlv8
23:13:03.359 -> ------------ E----------
23:13:03.359 -> STATE(1) 03
23:13:03.359 -> ENC.DATA(120) 3F4B178D9D3AC82D602E092FCC455D78740C94076DEC77338EF9B6BD4143DA65CA02398B174DF9E863696F3A1DAC14C05C4CECADEE663A10029F695CB26625A6AC231A3243E359C685F66C7B64945D02-- END TLVS!----------erify #1 (1...Found <M3>
23:13:03.390 -> SIGNATURE(64) 4AD77BAE547174565A216A635178CF68B4DF1FD35AEA954560A0TIFIER(36)<PHONE_NUMBER>33432D344534442D423146352D3142393630ontroller: 46A29364-E00C-4E4D-B1F5-9 (admin)
23:13:03.460 ->
23:13:03.460 -> >>>>>>> 10>>>>>>>>>
23:13:03.460 -> HTTP/1.1 200 cation/pairing+tlv8
23:13:03.460 -> Co: 3
23:13:03.460 ->
23:13:03.460 -> STATE(1) 04
23:13:03.460 -> ------------ SENT! --------
23:13:03.496 ->
23:13:03.496 -> <<<< ####1 #### <<<<
23:13:03.496 -> 1.1
23:13:03.496 -> Host: Garage\032Det Accessories #1 (<IP_ADDRESS>)...> <IP_ADDRESS>0 OK
23:13:03.496 -> Contpplication/hap+json
23:13:03.496 -> Coaccessories"services":[{"iid":1,"tcharacterist:2,"type":""Garage Door Opener","f:["pr"]},{"iid":3,"typet":"string"0","value":","format":rms":["pr"]}ype":"21",tch-001","f:["pr"]},{"":"52","value":"0.0.1",tring","perms":["pr"]},{"iid":7,"type":"14","fo":"string",:10,"type":"41","charac[{"iid":11,"value":1,"fo,{"iid":12,""value":1,"f
23:13:03.623 -> <<IP_ADDRESS>=1.12,1.11,1
23:13:03.623 -> Host: Garage\032Doorhap._tcp.local
23:13:03.623 -> ------------ END BODY! ------------
23:13:03.623 -> In Gettics #1 (<IP_ADDRESS>)...
23:13:03.623 ->
23:13:03.623 -> >>>>>>>>>> <IP_ADDRESS> >>>>>>>>>>
23:13:03.623 -> HTTP/1.1 200 OK
23:13:03.623 -> Content-Type: application/hap+json
23:13:03.623 -> id":12,"value":1,"aid":"aid":1},{"iid":13,"value":0,"aid":1}]}
23:13:03.674 -> -------- SENT ENCRYPTED! ----0.181 #### <Host: Garag2Opener._hal
23:13:03.674 -> Content-Length: 108
23:13:03.674 ->
23:13:03.674 -> ----------- ----------t:1,"iid":12,"aid":1,"ii JSON! ---- 81)...
23:13:03.674 -> Notification Reuest for aid=true
23:13:03.674 -> Notification Request for aid=1ion Request for aid=1 i
23:13:03.713 -> >>>>>>>>>> <IP_ADDRESS> >>>>>>>>>>
23:13:03.713 -> HTTP/1.1 2-----
23:13:03.713 ->
23:13:07.479 -> Span Statusress:                   LTPK: B8C4ABC228AC0A240CC95CF1D22E37365051FDCE7C6D16FF08991
23:13:07.516 -> Paired Controller: 46A29364-E00  LTPK: BED7E
23:13:07.516 ->
23:13:07.516 -> Connection #0 10.104-E00C-4E4D-B1F5-1B960833B8B9   (a10.10.181 on64-E00C-4E4-B1F5-1B960833B8B9   (aconnected)
23:13:07.516 -> ion #4 (unconnected)
23:13:07.516 -> Connection #5 (unconnecteon #6 (uncon<<<< #### 181 #### <<< /characteristics?id=1.1 HTTP/1.1
23:13:12.448 -> H\032Door\032_tcp.local
23:13:12.485 -> - END BODY! -----------
23:13:12.485 -> >>>>>>>>>> <IP_ADDRESS> >>>>>>>>>>00 OK
23:13:12.485 -> Conteplication/hap+json
23:13:12.485 -> Content-Length:12,"value":1,"aid":1},{"iid":11,"vd":1},{"iid"}
23:13:12.485 -> -------- -
23:13:12.485 ->


Add user story: Proof of notification

What is missing
Add the following user story to the scoping document and the backlog:
As an at-risk user of the CWA I want to obtain a proof that the app has warned me so that I have a valid excuse for missed obligations such as showing up for work or complying with summons by courts or authorities.
Why should it be included
After having received a notification from the app that they had contact with an infected person, users of the app are supposed to self-isolate immediately and voluntarily. High compliance rates are required for the app to be successful. It is therefore necessary to remove any obstacles that might prevent users from complying with recommendations. Conflicting obligations can become a strong motivation for non-compliance.
As an alternative, one could pass a regulation that allows anyone to claim self-isolation without proof. This would, however, be rather easy to abuse in a variety of ways.
Where should it be included
Scoping document and backlog

As soon as you have brought this through Bundestag and Bundesrat we are happy to add a user story for this 🙂
The scoping documentation is meant as an immediate requirements catalog for the app. We cannot add such a feature which has no legal backing.
Malte

Wait a second, I am the one missing a legal backing. What will happen when the app warns me to self-isolate and I have conflicting obligations? Even if this is to be decided elsewhere and not within the development team, I would appreciate such issues to be documented and brought to the attention of whoever is responsible for resolving them. Do you have a channel that can be used to this end? If not, what else do you propose?

What will happen when the app warns me to self-isolate and I have conflicting obligations?
Talk to a medical professional and/or your local Gesundheitsamt.

Engage in a public discussion or contact your Abgeordneter. But please do not discuss this here on GitHub - this is for development only 🙂
And yes, calling your Gesundheitsamt as soon as you know you are infected is a good idea ;)
By the way, the app is not the only channel that is used to provide your test result. The Gesundheitsamt will be informed also, but they will react a little bit slower. So if you get an alert in the app you can be sure that your Gesundheitsamt will also get the info that you are infected.

I was thinking of notified contacts, not recipients of test results.
I understand that once the CWA is available I can at any time contact a doctor or health authority, claim without any proof to have received a notification from the app about recent contact with an unidentified infected person, and obtain paperwork that allows me to stay at home until my own test result arrives regardless of any obligation that I may otherwise have.
(a) Is this correct?
(b) How much time does usually pass from visiting a test center until the result is available?

a) I don't see a legal basis for that at the moment.
b) about 2-3 days

@MalteJ Sleep it over. We do not have to resolve this tonight.

@fealXX

How does a doctor or health authority distinguish true (according to recorded information) exposed persons from those calling for other motives? Will there be a case ID or something?
How many dishonest callers reporting as exposed would it take to overload health authorities?

Let me add some background information and feel free to correct me if CWA is based on different assumptions.
According to this reporting by public TV station, SWR, on current contact tracing practice:

An exposed person has to go into quarantine for two weeks („Das bedeutet, dass sie zwei Wochen das Haus nicht verlassen dürfen, auch nicht zum einkaufen.

Health authorities stay in touch with and monitor each person sent into quarantine („Ab Beginn der Quarantäne werden die Kontaktpersonen alle zwei bis drei Tage vom Gesundheitsamt kontaktiert.“)
A person forced to pull out of their normal life for two weeks needs documentation, which they receive from the health authority under the current contact tracing regime („Für den Arbeitgeber wird die Quarantäne attestiert.“)

I understand CWA aims to amend this established system with a kind of self-service mode and I understand this to be the principal purpose of the whole system.
I am missing a clear, comprehensive and thought-out explanation of what is going to happen after an exposed person has been notified through their app instance and how the needs of this person as well as those of the health authorities are met in various cases. Thus far I see a lot of handwaving instead.

Exposed persons are not usually tested unless they develop symptoms

... which is a problem but can not be solved by tracing apps.

RKI and/or BMG will provide guidance to the infected user via the app. They will provide texts for this.


Change david-dm to green w/zero deps

I like to add the /david/dev and /david/dep to all projects and it looks a little odd when they are not both green.
My subjective opinion is that zero dependencies should be considered "passing" (up to date) and should be green, not blue.

Make sense 👍


Consider vendoring legacy_api_wrap

I think we should be very conservative with dependencies for anndata. Ideally it's a very small set.
Each dependency brings possible dependency resolution issues (e.g. people pinning it) and supply chain vulnerabilities.
I think we can get around this (especially for small dependencies) by just vendoring the code (similar to approaches taken by larger packages like scipy/ numpy).
I would suggest that we use a submodule to specifically vendor legacy_api_wrap.
cc: @flying-sheep

Each dependency brings possible dependency resolution issues (e.g. people pinning it) and supply chain vulnerabilities.

I generally agree that this those issues exist (to varying degrees) …

I would suggest that we use a submodule to specifically vendor legacy_api_wrap.

… but those reasons don’t apply to this specific library:

It’s tiny, tested, and focused on API versioning. It follows semver and there is no reason to release a 2.0 for it.
There‘s no supply chain issue: It’s controlled by me, so instead of compromising any anndata contributor, I specifically would have to be compromised. So anndata is more vulnerable than it.

Conda has a policy against vendoring, so let’s not do that.

[ ] Package does not vendor other packages. (If a package uses the source of another package, they should be separate packages or the licenses of all packages need to be packaged).

How do they handle scipy? Or versioneer?


 Everything works just fine working on the same drive as the node installation. For example:
Node installation on drive C:
Project deployment on drive C:
=> everything works just fine
Node installation on drive C:
Project deployment on drive D:
=> webpack seems to have a problem with the path resolution

I am not sure whether this is webpack problem or another problem.


Hanging

Hi,
Once in a while, the following code is hanging/blocking:
br = BiorxivRetriever()
papers = br.query("....", metadata=True, full_text=False)

Are there any timeout exceptions that can be thrown, so that we can capture and move on?
Regards

Hi. Thanks for your suggestions. Please feel free to submit a pull request and I will review it.
Thank you


[MM-28213] Free Tier Overage Warning Panel

Summary
In the System Console subscription/billing section we want to give the user a heads up when they're close to the threshold of the user count in the free tier. This PR adds a banner when they are within 3 users of the limit. It should not appear when they are over the limit. The panel is permanently dismissable by each individual user (ie, one user dismissing does not affect another).
Keep in mind, this displays on a page that is not fully finished.
Ticket Link
https://mattermost.atlassian.net/browse/MM-28213?filter=15333
Related Pull Requests
N/A
Screenshots

/update-branch

/update-branch

/cherry-pick cloud-ga

Cherry pick is scheduled.


Update operators.md

Description:
Related issue (if exists):
Typo correction

Coverage remained the same at 97.113% when pulling 5dfd57f2505e9753b79498ecd65e0501ea7272cc on vire:patch-1 into 8b60e8dc1a68d43a251d1b21710dc38231cb23e4 on ReactiveX:master.

LGTM

Coverage remained the same at 97.115% when pulling ed4bde05d2d7f1df8f15a678f5e1bcd06e67452f on vire:patch-1 into 7b23e88db21302a10c2a163952b8da197d18cbfe on ReactiveX:master.

LGTM


Fullnode Pagination support for get_transactions

Right now we return all transaction digests in the fullnode read API, but some addresses may have millions of transactions(e.g., faucet). These endpoints should support pagination.

Hi,
May I take a look into this feature (issue) ?

@il9ue of course! Thank you for contributing!

closed by https://github.com/MystenLabs/sui/pull/4919


Vulnerability roundup 77: libxslt-1.1.33: 1 advisory

search, files

[x] CVE-2019-18197 (nixos-19.09, nixos-unstable)

Scanned versions: nixos-19.09: 5f506b95f9f; nixos-unstable: c1966522d7d. May contain false positives.

Fixed on unstable/master by PR #73178.

And on 19.09 by PR #73245.

This CVE was actually fixed before this issue got open.  There's this delay because staging mass rebuilds.

I wonder if it would be difficult to re-scan once in a while to automatically find issues that have been fixed but not closed.

@vcunat That would be rather effortful to code. I'm currently going through old issues manually to find those which are not longer relevant.


Can not run reapp app

I used reapp command create demo app project.
npm install -g reapp
   reapp new myapp
   cd myapp && reapp run

When I run this app use "reapp run", there are some errors:

BTW, my platform is Win 7.

Same error here. :/
Trying to install missing modules by hand does not resolve the problem.

I am also receiving these exact issues on Windows 8.1 on current npm version of reapp.

Me too, on Windows 10

Same error for me, installed all the missing modules manually fixed the webpack build, but navigating to localhost it I get an error
Uncaught TypeError: this._processChildContext is not a function

After I run with reapp run -d, I got some useful messages:
Doesn't exist: /usr/local/lib/node_modules/reapp/node_modules/reapp-pack/lib/../node_modules/autoprefixer-core
Error! Make sure you have run npm install in reapp-pack
Doesn't exist: /usr/local/lib/node_modules/reapp/node_modules/reapp-pack/lib/../node_modules/autoprefixer-loader
Error! Make sure you have run npm install in reapp-pack
Doesn't exist: /usr/local/lib/node_modules/reapp/node_modules/reapp-pack/lib/../node_modules/babel
Error! Make sure you have run npm install in reapp-pack
....
....

Then after npm i reapp-pack , I got it worked. Might these information be helpful :)

Resolved with new version of reapp.
Do:
npm uninstall -g reapp
npm install -g reapp
reapp new test-reapp
cd test-reapp
reapp run


Correctly select 3rd party sources

A fix for an issue #132.

Thank you. This change is merged in my local copy and will be live soon. I want to make some other unrelated changes before I push anything out.

Actually, this fix was short-lived. I've been meaning to do something about the sources modal for a while, and the trouble with keeping this updated convinced me to bite the bullet and do it. Sources are now sorted by type automatically, and there are all/none buttons for each type. Now it no longer has to be specified manually like this.


Enveloped signature with no (or empty) reference URI

Hi Andrey,
Some SaaS providers supporting SSO using SAML may reject signed assertion if enveloped signature has no (or empty) reference URI.
I'd like to suggest the following enhancement to the enveloped signature functionality which will look for and specify the reference URI based on the signed data id attribute value.
signxml/signxml/init.py:
210              raise InvalidInput("Enveloped signature input contains more than one placeholder")
211
212        self._reference_uri = ""
+++        # get signed data id attribute value for reference uri
+++        payloadId = self.payload.get("Id", self.payload.get("ID"))
+++        if payloadId is not None:
+++            # set default reference uri based on data id attribute value
+++            self._reference_uri = "#{}".format(payloadId)
213        elif method == methods.detached:
214            if self._reference_uri is None:
215                self._reference_uri = "#{}".format(self.payload.get("Id", self.payload.get("ID", "object")))

Regards,
Vic.

Thanks Vic, this sounds reasonable, although I haven't looked thoroughly into how this modifies the current behavior yet.
To start, could you please open a pull request with this change? You can simply navigate to https://github.com/kislyuk/signxml/blob/master/signxml/init.py, click the edit button on the top right, paste your changes, and open the PR from there.

Done.
Thanks,
Vic.

It appears that you never actually opened the pull request.

I think you meant to click the green button here: https://github.com/kislyuk/signxml/compare/master...viclevy:patch-1?expand=1

Future release will include a fix for this - closing this issue.
Thank you,
Vic.


[PERFORMANCE PROFILE] - specify flags option

Notes for Reviewers
This PR fixes #
Signed commits

[x] Yes, I signed my commits.

@UsmanDev09 Let's discuss this on Meshery Dev call. Please add this as an agenda item in the meeting minutes if you would. :)


Registering (forward/backward) hooks on intermediate Mamba layers

I'm trying to look at the internal activations of a MambaLMHeadModel (eg. the one you get when you load pretrained). If I look through the modules, I can find all the layers, and each of the modules of the Mamba block.
If I register a forward hook to "backbone.layers.0.mixer" (or any other layer) I can get an activation every forward pass. On the other hand, if I hook on "backbone.layers.0.mixer.in_proj" or "backbone.layers.0.mixer.conv1d", they don't get called during the forward pass of the model.
Is this the expected behaviour?

In the fused fast implementations, the inner modules might not be getting called directly. Instead, we use their weights (e.g. backbone.layers.0.mixer.conv1d.weight) and pass it into a different function (e.g. from the causal-conv1d package).

I tried setting the fast path variable of the layers to false but I still couldn't get it to work. Is it even possible in the pretained versions?

Is it even possible in the pretained versions?

It should be. Pretrained versions just give a set of weights which are the same no matter the computation path.

I tried setting the fast path variable of the layers to false but I still couldn't get it to work.

You should double check that it's running the path you intend and that the modules are being called directly. For example, you want to hit the following line to call the conv module, instead of using the fast causal_conv1d_fn. Perhaps it's not hitting this path if you've already pip installed the module because it will automatically use the fast conv1d function.
https://github.com/state-spaces/mamba/blob/main/mamba_ssm/modules/mamba_simple.py#L169

Thank you I hadn't seen that logic there. Because it does not seem feasible to make sure that causal-conv1d is not installed, I will probably have to do some hacky work around to go around that

It should be fairly easy to add another flag to the init function and change the line
            if causal_conv1d_fn is None:

to something like
            if causal_conv1d_fn is None or not self.use_fast_conv:

Yes, that's what I was thinking

I'm trying to look at the internal activations of a MambaLMHeadModel (eg. the one you get when you load pretrained). If I look through the modules, I can find all the layers, and each of the modules of the Mamba block.
If I register a forward hook to "backbone.layers.0.mixer" (or any other layer) I can get an activation every forward pass. On the other hand, if I hook on "backbone.layers.0.mixer.in_proj" or "backbone.layers.0.mixer.conv1d", they don't get called during the forward pass of the model.
Is this the expected behaviour?

Hi! I also face the same issue about register_forward_hook to get the input and output of linear layers in Mamba blocks. Did you solve the problem?


Kill the branch party

@AvianFlu There are a lot of ancient branches here. Can we kill those which are not under active development or have been merged?

Yeah, I'll do that now.

We're down to two now - one after the refactor is merged.  None of the others were still relevant.


wildcards work differently than ILMerge wildcards

In ILMerge, we use a command line argument set like:
/wildcards /allowDup /closed /targetplatform:"v4,$($env:ProgramFiles)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0" /lib:$($source.dir)\CapitalModelInputBuilderConsole\bin\Release /out:$($build.dir)\CapitalModelInputBuilder.exe CapitalModelInputBuilderConsole.exe *.dll

where the .exe and *.dll are relative to the "lib" folder supplied via the /lib argument.
In ILRepack, this command line doesn't find the exe or DLLs instead looking in the current working directory only.  I'm not sure if ILMerge looks in CWD+lib folders or only in lib folders or what, but it seems to be a difference in behavior.
My assumption given the nature of the consistency between the arguments in ILMerge and ILRepack is that you intend for the behavior to be identical, hence my filing of this issue.

Although compatibility with ILMerge is indeed what I sought (thanks for noticing the discrepancy), I think this behaviour is pretty unclear/risky (you and I can't really tell how it works w/o testing all cases).
Relative path arguments are commonly resolved from CWD, you can root them (both the glob and the exe) if you want absolute one, there's no real need for more magic.
Fixing it could cause regressions to ILRepack users, and the issue should be fairly obvious (you tell me) when migrating, don't think I'm going to fix it.

It makes it impossible for us to use your code given the way our build
system works.  Is it possible you could add this behavior as a special
argument? If that's the case we could just pass that arg.  Fully qualifying
all paths doesn't work given the way our build system works.  In that case
we'd need to fork or just keep using ilmerge.
I understand it is your project so I'm definitely not going to presume to
tell you what to do ;).
I actually think the ilmerge behavior makes more sense personally as who
would want to resolve dependencies from cwd and not where the assemblies
are that you are using, but that is your call, of course.
On Jul 7, 2016 15:23, "Francois Valdy"<EMAIL_ADDRESS>wrote:

Although compatibility with ILMerge is indeed what I sought (thanks for
noticing the discrepancy), I think this behaviour is pretty unclear/risky
(you and I can't really tell how it works w/o testing all cases).
Relative path arguments are commonly resolved from CWD, you can root them
(both the glob and the exe) if you want absolute one, there's no real need
for more magic.
Fixing it could cause regressions to ILRepack users, and the issue should
be fairly obvious (you tell me) when migrating, don't think I'm going to
fix it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gluck/il-repack/issues/159#issuecomment-231062448,
or mute the thread
https://github.com/notifications/unsubscribe/AADP2DmpIUEgaltQXuS-Ny8fOjyYt0u4ks5qTO_agaJpZM4I5WOf
.

Code's open :smile:
Feel free to fork, add this extra arg and report here. If the diff is simple enough I may consider merging it, but I'm really not sure.
Out of curiosity, what kind of build system (if public) doesn't allow injecting absolute paths in commands it calls ?


onPictureProcessed callback to receive detectedRectangle with interpolated coordinates and dimensions

How about onPictureProcessed callback to receive detectedRectangle but with interpolated    bottomLeft,  bottomRight, topLeft, topRight coordinates and dimensions in regards of the final initialImage dimensions?
Right now, the detectedRectangle is usable only for RectangleOverlay, but if you need it later for an additional perspective crop processing (using https://github.com/Michaelvilleneuve/react-native-perspective-image-cropper for example) it is not usable since its aspect ratio doesn't correspond the final initialImage dimensions.

@dibat We have been discussing the ability to send coordinates to the api for manual cropping. I think it'd be a great addition to this package. (Allowing developers to create photo editors similar to the iPhone document scanner that comes with the notes app).


[Feature] auto mode and zsh support for shell command

By default, the shell command now uses auto-mode, where it selects the shell based on the $SHELL environment variable. It then checks if that shell is supported and selects the required options from a map.
I also added support (options) for zsh.

Thanks for the enhancement. It looks good in general.
I am not a zsh user, but from what I read, it seems zsh uses the "PROMPT" variable, instead of PS1.  Is this true? If yes, then should also improve this for zsh users?

Actually both PS1 and PROMPT work for me, but you're right that PROMPT is the default for zsh, changing it now.

Nice!
Should line 87 be touched up further?

Whoops... sure thing, updated :+1:


Fix data parsing for newer Datawrapper charts

The inline data format in Datawrapper charts has changed: chartData is now just data. This PR updates the relevant regex for selecting the data string.
Example chart: https://datawrapper.dwcdn.net/4UzZO/
Pull request: #1

#1

thankk you for the PR.


DB::Exception: Sizes of columns doesn't match

Hi,
We have issue with ReplicatedGraphiteMergeTree. After 86400s (second retention) we are seeing lots of exceptions in logs. clickhouse version 1.1.54233

│ CREATE TABLE graphite.graphite10 ( Path String,  Value Float64,  Time UInt32,  Date Date,  Timestamp UInt32) ENGINE = ReplicatedGraphiteMergeTree(\'/clickhouse/tables/graphite10\', \'{replica}\', Date, (Path, Time), 8192, \'graphite_rollup10\')

<graphite_rollup10>
  <default>
    <function>any</function>
    <retention>
      <age>0</age>
      <precision>10</precision>
    </retention>
    <retention>
      <age>86400</age>
      <precision>3600</precision>
    </retention>
  </default>
</graphite_rollup10>

2017.05.15 19:47:33.966779 [ 32 ] <Error> DB::StorageReplicatedMergeTree::queueTask()::<lambda(DB::StorageReplicatedMergeTree::LogEntryPtr&)>: Code: 9, e.displayText() = DB::Exception: Sizes of columns doesn't match: Path: 0, Value: 1, e.what() = DB::Exception, Stack trace:

0. clickhouse-server(StackTrace::StackTrace()+0x16) [0x299bb06]
1. clickhouse-server(DB::Exception::Exception(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)+0x1f) [0x10e177f]
2. clickhouse-server(DB::Block::checkNumberOfRows() const+0x263) [0x234c653]
3. clickhouse-server() [0x2b403f1]
4. clickhouse-server(DB::MergeTreeDataMerger::mergePartsToTemporaryPart(std::vector<std::shared_ptr<DB::MergeTreeDataPart const>, std::allocator<std::shared_ptr<DB::MergeTreeDataPart const> > >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, DB::MergeListEntry&, unsigned long, long, DB::DiskSpaceMonitor::Reservation*, bool)+0x2b2f) [0x2ae612f]
5. clickhouse-server(DB::StorageReplicatedMergeTree::executeLogEntry(DB::ReplicatedMergeTreeLogEntry const&)+0xd7c) [0x2ab13cc]
6. clickhouse-server() [0x2ab432d]
7. clickhouse-server(DB::ReplicatedMergeTreeQueue::processEntry(std::function<std::shared_ptr<zkutil::ZooKeeper> ()>, std::shared_ptr<DB::ReplicatedMergeTreeLogEntry>&, std::function<bool (std::shared_ptr<DB::ReplicatedMergeTreeLogEntry>&)>)+0x4a) [0x2b040ba]
8. clickhouse-server(DB::StorageReplicatedMergeTree::queueTask()+0x16c) [0x2a9455c]
9. clickhouse-server(DB::BackgroundProcessingPool::threadFunction()+0x454) [0x2afae64]
10. clickhouse-server() [0x3646630]
11. /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba) [0x7ffba03266ba]
12. /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7ffb9f94782d]

Hi @sergeyignatov ! This is a known bug, but we have not been able to pinpoint the cause of it yet. Here is how you can help: please provide all different strings of the form Path: x, Value: y that appear in the exception messages (I am interested in the values of x and y). Thanks!

grep -oP 'DB::Exception: Sizes of columns.*' /var/log/clickhouse-server/clickhouse-server.log |sort |uniq -c
59457 DB::Exception: Sizes of columns doesn't match: Path: 0, Value: 1, e.what() = DB::Exception, Stack trace:

#810

with fix-graphite-rollup Exceptions are gone

fix released in v1.1.54236


Add blockchain functionality

There has been lots of pre-work.
Now the actual encryption mechanism has to be implemented: the blockchain

block unittests are failing now, take care of it later


Use the deprecated output format text for ecosystem checks in release/0.2.0

This prevents us from running into the following error during an ecosystem check against main:
error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

This error appears because main doesn't support concise as an output format yet. The deprecated output format that concise/full replaced will be used until then (text falls back to concise on the release branch).

Closing since preview mode will still treat text as full, and the ecosystem check does both preview and non-preview checks.


Exit A/B test experiments when they are turned off

Currently a device will have many difficulties exiting an A/B test -- there are a multitude of conditional statements within the library which never trigger an update when a test is turned off from the Mixpanel UI. Instead, the device will continue to use the most recently cached A/B test experiment.
This PR adds support for leaving an A/B test once it is turned off. It will trigger an update to A/B test info when no new variants are received, and then process this case specially to reset all tweaks to their default values and remove all UI changes.

@patedit Made the changes you requested -- let me know if you see anything else which needs to be changed for this to be merged!

@ryanseams This is awesome. Thanks for doing it :)

@ryanseams @patedit
We ended up by doing the same fix in our branch. However something is missing here: the update listener must be call in order to notify the client of the SDK. When are you planning to ship this release?

@fred8 Thanks for you comment! Are you referring to onNewResults callback? (https://github.com/mixpanel/mixpanel-android/pull/330/files#diff-e29a313903ebedb460fa0c710b1ae71cR123). If that is the case I think it'll always be called.
But thanks to your comment I realized we definitely have to change something @ryanseams. hasUpdatesAvailable will always return true now since mVariants will never be null. Do you think it makes sense to revert some of this (https://github.com/mixpanel/mixpanel-android/pull/330/commits/130a89b7bcb5ee77c12359f5c92b8bca618548f7)?

We can change back to when I was setting mVariants as null so it would no longer call hasUpdatesAvailable OR we could change the condition to call hasUpdatesAvailable from mVariants != null to mVariants.length() > 0.
You had originally shied away from using null, if so, the latter probably makes the most sense... That will resolve the issue with the updates always being reported.
The question here is this if the above is desired behavior: Should the listener be called if the A/B test is being exited? If so this will need more logic and a revert as opposed to a quick fix for when hasNewResults is called.

@ryanseams We just updated to the master version; we're not able to join an experiment anymore. The default value are always picked if the client never joined an experiment before (problem in initializeChanges)
For the listener it should be call regardless the changes. We're using it to update the properties and super properties of the user who join the experiment... and so by consequence unjoin...

@fred8 The master version did not change any logic for joining an experiment so if you are unable to join an experiment that sounds like it would be a different issue. The current code resets to defaults when the API does not return an experiment in the response (any response with an experiment remains unchanged).
The bug right now is that the listener is always called, regardless of what the response from the API is.

@ryanseams we just update the sdk to master; it doesn't join the experiment as it used to in 4,8,5. You can repro it very easily.

Hey @ryanseams, with these changes, the tweak value we setup for an experiment always returns the default value and not the value we setup in the experiment. To repro this, you start by creating 1 experiment with 2 variants (we started from blank slate i.e. no existing experiments running, if that makes a difference) and a string tweak variable - set the tweak variable for Original to "A", Variant 1 to "B" and use "C" as the default value of the tweak variable in the app. Target 100% users to the Original variant. When you turn on the experiment, Tweak.get() always returns "C" and not "A".

@ryanseams So actually, we did an another try today. On the experiment yesterday we set a target for Operating System : Android with an old user. It seems that this property isn't set by your library or the server anymore. When does that thing change? In production we used to rely on that field.
cc @xlsior


exclude hostPath PVs from restic backup

Fixes #932
I'd still like to manually test but this should be fine to review.

One small fix (have to set the fields at https://github.com/heptio/velero/pull/1297/files#diff-d86635f0e9c2aff5dfda0f868fd8062fR65), then manual test looks good.


Form Display Fixes

Adds a descriptive, Research-Conference-specific success message and
changes some of the form display to show asterisks by all required
fields for consistency because Capital Framework force-includes it for
large checkboxes.

For the record, here's the new message that gets displayed:

:+1:


PrismaDelete doesn't remove same model relations

Let's say I want to have specialPosts along with posts in the User model (from the pal js example schema), like this:

I set /// @onDelete(CASCADE) on both posts and specialPosts. But apparently only posts get removed. After analysing prisma queries, it turns out the onDelete executes the same delete query twice (removing posts with author, not specialAuthor & author).
I checked out the original onDelete source code, and it seems that it finds the first field that references the parent model. Thus, it won't ever reach other relations on the same parent model.
Maybe it's possible to get relation name (if exists) and find the field taking it into account? In case if that's not possible I think the docs should say about it
Thanks

Hi @whekin, We dropped this class a long time ago because Prisma support this now https://www.prisma.io/docs/concepts/components/prisma-schema/relations/referential-actions#types-of-referential-actions

@AhmedElywa Thank you for reply! It makes sense. I think paljs.com docs should mention it though

This issue request is in #284


Proj Lezhnev (Haskudoku)

It's helpful when you have boxes with borders. Can you also make given numbers look distinctly?


Reduce merge conflicts in package-lock.json

See https://www.npmjs.com/package/npm-merge-driver for a potential automatic solution.

Follow-up, annoyingly merge drivers are not considered part of the git repo? So you'd need to install the driver as a dev dep and write an npm script to add it on postinstall. See here for an example. @tmkelly28 since you're getting leery of adding more magic / noise to Boilermaker, this issue might not be worth solving.


Hero Tool no longer works

Foundry: 11.304
dnd5e: 2.2.2
See the two images.
I have shut down all modules except for HCT and my Compendium.

hmmm this looks like a problem on the spells compendium. is it a custom one ? I noticed 2.2.2 was released 2 days ago, so maybe there's some conflict now, I'll check asap!

  I recently bought Crown of the Oathbreaker.  It's spell compendium is what broke things. As soon as I uncheck it, it works.


Reduce the minimum size of UE? node, to match regular nodes.

Now that the custom widgets are closer to each other, the node can be smaller.

Flagged as probably won't because I've been banging my head against the way ComfyUI DOM widgets work too much recently. But not closing, because maybe I'll come back to it.


Integ test failure fix

Issue 1381
*Added sleep of some 30s to fix integ Test failure -> https://build.ci.opensearch.org/blue/organizations/jenkins/integ-test/detail/integ-test/7884/pipeline/
java.lang.AssertionError: Unexpected status expected:<FORBIDDEN> but was:<NOT_FOUND>

        at __randomizedtesting.SeedInfo.seed([B335CFE7D740BC9:7370413AD3F31CC0]:0)

        at org.junit.Assert.fail(Assert.java:89)

        at org.junit.Assert.failNotEquals(Assert.java:835)

        at org.junit.Assert.assertEquals(Assert.java:120)

        at org.opensearch.alerting.resthandler.SecureMonitorRestApiIT.test create monitor with an user without index read role(SecureMonitorRestApiIT.kt:256)

CheckList:

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Closing in favor of https://github.com/opensearch-project/alerting/pull/1438


add searchbar

Add this feature in between where I marked. This feature must have hover and animation

assign me this issue I will be happy to fix it

Sure

hello sir please assign me this task

hello sir i would like to do this task, thx.

Hey @AyushSarode if the issue is still open, Can I work on this?


feat: Weaver can now automatically create Reader/Writer for types in a different assembly

Fixes https://github.com/vis2k/Mirror/issues/1570

nice work


GDSHADER: Instanced uniform variable with shader hint color_source returns no value.

Godot version
v4.0.dev.custom_build
System information
Windows 10, Vulkan, GTX 780Ti
Issue description
Instanced vector 3 with color_source hint returns no value while just a normal vector 3 with no color_source hint does.
Instanced color_source should return the value picked from mesh instance.
Steps to reproduce
Create a new shader with a instance uniform of vector 3 with color_source hint, add that variable to ALBEDO in fragment shader, apply material to mesh surface 0, adjust color on mesh instance to see no result.
Minimal reproduction project
shader_instance_bug.zip

This might be the same issue that I ran into yesterday. Default values for color_source aren't applied, but if I set them using gdscript it works.
I think this regression was introduced between Thursday and Sunday last week, if that helps.

It's not just default values but even instanced parameters.

@Chaosus It seems https://github.com/godotengine/godot/pull/63766 didn't fix that, according to @A-Lamia

#63766 fixed my issue at least

It's still not working, and if you duplicate something it's like it defaults to the last known value. This same project is also supplied above.
https://ss.lamia.io/i/godot.windows.opt.tools.64_XYzvqImFn.mp4

@JohanAR Interesting, what is your build hash ?

@A-Lamia I'm on 9ec6de1767292b5cbc1ebdc7b262ef1d9c63df9a
Though I did realize we were doing slightly different things. It looks like you're using "Surface Material Override" for the Mesh, while I'm using "Material Override" for the GeometryInstance3D. I'm not sure how this is expect to work since the Shader Params seem to be associated with the GeometryInstance3D, though I would say it mostly seems to not be an issue either way for me.
Though for some reason Shader Params -> Color turns into x, y and z values, and stops showing an actual color, when I'm playing around in your project. Changing xyz still updates the material/shader in real time

@JohanAR In my project only the second sphere is an instance with color_source the 3rd and 4th sphere is showing that the same functionality works with out the color_source hint just with x,y,z, and the first sphere is testing out floats.

I'm not sure, I understand - it's fixed for myself:

I'm not sure, I understand - it's fixed for myself:

are you on windows ? I did a fresh release build.

@Chaosus it might be on my end, i did an other build just now and i can't even run godot now so i need to see what the hell just happened
https://ss.lamia.io/i/godot.windows.opt.64_u8c6DoWPM.png

@Chaosus Everything seems to be working fine.


Need to invalidate pause checkpoint on complete

Should not resume play from last pause point when media has completed playing.
Need to reset pause checkpoint/offset when media completes playing

Fixed with da09637b6e26d0e899244d9535bd388da76d8aa0


rename pkgcheck fn

@assignUser This change is definitely needed. I had to rename pkgcheck::render_markdown(), which is used here. It's now called pkgcheck::render_md2html(). Can you please do an update and release after merging this? Thanks!

Tag is updated once the docker images are updated everything should work as expected :+1:

Awesome, thanks!


Ciphey Freezes / String Error on XOR

⚠IMPORTANT⚠ if you do not fill this out, we will automatically delete your issue. We will not help anyone that cannot fill out this template.

[X] Have you read our Wiki page "Common Issues & Their Solutions"?

Describe the bug
ciphey "e098b86310f3eeffff5c04869e145fe72d6434333af997ebefd909024fb29114" -vvv

Freezes here:

Version
⚠IMPORTANT⚠ We need this information because different environments will induce different bugs in Ciphey

OS/Distro: All OS'
Python version: 3.8.5
Ciphey versions:

➜ python3 -m pip show ciphey cipheycore cipheydists
Name: ciphey
Version: 5.5.1
Summary: Automated Decryption Tool
Home-page: None
Author: Brandon
Author-email<EMAIL_ADDRESS>License: MIT
Location: /home/linuxbrew/.linuxbrew/lib/python3.8/site-packages
Requires: pyyaml, click, pylint, cipheydists, click-spinner, yaspin, appdirs, loguru, flake8, rich, cipheycore, pybase62, base58, base91
Required-by:
---
Name: cipheycore
Version: 0.3.1
Summary:
Home-page: None
Author: Cyclic3
Author-email<EMAIL_ADDRESS>License: None
Location: /home/linuxbrew/.linuxbrew/lib/python3.8/site-packages
Requires:
Required-by: ciphey
---
Name: cipheydists
Version: 0.3.23
Summary: A collection of distributions, character sets and dictionaries for use in ciphey
Home-page: None
Author: Cyclic3
Author-email<EMAIL_ADDRESS>License: None
Location: /home/linuxbrew/.linuxbrew/lib/python3.8/site-packages
Requires:
Required-by: ciphey

Did you use Docker? Yes, but also happens without Docker

Verbose Output
⚠IMPORTANT⚠ Verbose output will tell us why it's not working the way we expected it to be.
Run Ciphey with ciphey -vvv and paste the results into Pastebin.com or a GitHub Gist
https://workupload.com/file/sw9wFQ9X27q
https://workupload.com/file/6cLKv8q2Vv8
To Reproduce
ciphey "e098b86310f3eeffff5c04869e145fe72d6434333af997ebefd909024fb29114" -vvv

This is being fixed in #591


ci: doc: Publish pull request docs to builds.zephyrproject.io

This commit updates the CI documentation build workflow to upload the
HTML pull request documentation builds to the S3 builds.zephyrproject.io
bucket so that they are directly accessible from the web.
Signed-off-by: Stephanos Ioannidis<EMAIL_ADDRESS>

Tested in:
doc-build: https://github.com/zephyrproject-rtos/zephyr-testing/runs/5708043322?check_suite_focus=true
doc-publish: https://github.com/zephyrproject-rtos/zephyr-testing/runs/5708103396?check_suite_focus=true

Moved the pull request documentation publish process to a new workflow (doc-publish-pr.yml) so that there is a clear separation between the production documentation publish process and the non-production (pull request) documentation publish process.

I'm not sure that this is the best choice from a usability perspective, annotations don't have for example clickable links, so one needs to manually select the URL and copy it.

So far the general preference seems to be towards the annotations:
https://discord.com/channels/720317445772017664/733037738068148335/957978980886134784
We can look into adding other means of reporting later as necessary.

I think we should also handle the PR close event so that it triggers doc deletion..

The old documentation builds are automatically deleted in the S3.


Data Issue / Test Library: Accounting periods and Codeunit 131302 Library - Fiscal Year

There is a problem with how accounting periods in a CRONUS database (talking about the italian version here, but maybe the problem is generic) are shipped. This becomes apparent when one tries to use the function Report 93 Create Fiscal Year - either explicitly or by using Codeunit 131302 Library - Fiscal Year.
Report 93 Create Fiscal Year always creates an entire fiscal period + 1. For example: creating the year 2022 will create 01.01.2022 - 01.12.2022 (the period) and also 01.01.2023 (+1), marking the last period as New Fiscal Year.
When this report is invoked, we have the possibility (through InitializeRequest) to specify when we want the new fiscal period to start. But it does not always matter what we pass as StartingDate to that method, because it is ignored if there is already an accounting period present. In which case StartingDate is forced to be the last accounting period. Which would be fine, because, as explained above, the report always creates the period + 1, and as such, the last record in that table should always be the start of the next period.
This however is not the case in CRONUS data. The table ends with 01.12.20xx and therefore creating a new fiscal year through Report 93 Create Fiscal Year fails because it starts at the wrong starting date.

Closing this request as this is very old one (our sync from GitHub missed to create internal bug for this one) and no questions have been created for this area during last year. Sorry for possible inconvenience. If this is still active problem, please create new request with reference to this one.


Swift 3 and SwiftPM support

Hi,
It's will be great to create a Swift 3 version of your component
Article about Swift 3:

Migrating to Swift 2.3 or Swift 3 from Swift 2.2

With Swift 3 it would also be nice to add support for SwiftPM
Articles about SwiftPM:

Package.swift — The Manifest File
Developing Packages
System Modules
Swift Package Manager Community Proposal

On your README.md add   on top and add section for the installation with SwiftPM.

update to swift 3 please!

PLEASE!

I will close this as Swift3 is supported already, and right now I do not have plans to add support for Swift Package Manager. Thank you for detailed comment!


Integration with PyQt5.

It seems like the program automatically exit after toast being run. Is there any way to sustain the application?

It is a 'notifier' and hence it should not sustain for long.
But you can set time limit to be MAX to help yourself.

Sorry for misleading the topic. I meant it conflicts with PyQt5 loop and causes an application exit. Nevertheless, I've just found a way to solve this by using PyQt status bar and send toast via them instead.  Anyway, this is really good script when integrates to a small application without PyQt5 libraries.


[Bug]: Non-op players cannot use /mv tp despite having enforceaccess: 'false'

/mv version -p output
https://j.mp/3ekjRqf
Server logs
https://paste.gg/p/anonymous/5d40eb0ead9b44d184111eb624393bc2
Server Version
This server is running Paper version git-Paper-101 (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT) (Git: 464b171)
You are running the latest version
Previous version: git-Paper-99 (MC: 1.18.1)

Bug Description
Non-op players cannot use /mv tp despite having enforceaccess: 'false'. Not sure what to add there. I've tried using it on true, with luckperms to allow default access, yet it still refused to acknowledge the permissions. I don't think it's because I'm using it on an aternos server because all the other plugins work fine.
All the issues I've found about this are either not working or closed for being idle.
Steps to reproduce
1.Start a 1.18 aternos server with multiverse-core and multiverse-inventory
2.Create a world BuildWorld alias BW, creative only with separate inventory
3.Try to tp to BW without op
4.Add Luckperms and setup default perms to have access to any world
5.Switch enforceaccess to true
6.Retry step 3
Agreements

[X] I have searched for and ensured there isn't already an open or resolved issue(s) regarding this.
[ ] I was able to reproduce my issue on a freshly setup and up-to-date server with the latest version of Multiverse plugins with no other plugins and with no kinds of other server or client mods.

I forgot to add: the only few other plugins I have are to skip the night with only one player sleeping, itemedit, skinrestorer, villagertradelimiter, silkyspawners and nottooexpensive.

enforceaccess does affect player ability to use mvtp command. The permissions needed is explained here: https://github.com/Multiverse/Multiverse-Core/wiki/Command-Reference#teleport-command


Formatting with lsp don't clean diagnostics if you edit and save too fast.

i think the diagnostic get the info of the buffer before the format (is too fast)

because it's async so when BufWritePost running the file actually not formatted. so useful use GuardFormat autocmd instead of.

because it's async so when BufWritePost running the file actually not formatted. so useful use GuardFormat autocmd instead of.

im using GuardFormat:
ft('ruby'):fmt('lsp')

Your last commit also fixed this! Awesome <3

Reopened @glepnir , still happens (but with less frequency)

as i said we need a new event . BufWritePost not make sense on async


Problem Handcuff

Hii, the handcuff doesnt work since some update... He work perfectly before :/
It's same for put a guy in vehicle

I have banned you from the issues just after this one, but it will not prevent me of solving this, if it's a real issue.

I have the same problem, and same for ask open chest

Errors ? What is working or not working exactly ? Saying "it doesn't work" is not useful.

For me, just when i push the button ask open chest and handcuff any action is executed..

Okey, so handcuff re-work, put in vehicle: no

With all vehicles ? Or only police vehicles ?

All i have test on civil vehicle but i can test on my personal or my police vehicle wait..

Its dont working for all vehicles but if the player is not nearest then i have the mess.. its the single function who work !

You have news for putinveh ? thx in advance

I don't understand your bug report, but put in vehicle has been reworked.


Why does startOf modify object itself?

I am not is it a bug or a feature. If later one, than I don' see any point to make one.
m = moment("2013-05-31").subtract(1, 'month')
m.toDate()  //->Tue Apr 30 2013 00:00:00 GMT+0300 (EEST)
m2 = m.startOf('month')
m.toDate() //-> Mon Apr 01 2013 00:00:00 GMT+0300 (EEST)

Methods like startOf should only create new object. This is even semantically not right. I mean if you want to change object inplace the method should be like setStartOf or something.
I totally frustrated, that it doesn't create a copy by default. That I need to add .clone() all over the place.

I was looking for that clone() function, this change everything, thanks!

This is crazy. I think documentation should have a warning message or smth.

This is absolutely mental. How the entire planet uses this library is beyond me.


lookup courses by Course.no

after crawling, previously selected courses (syllabus) become unavailable

Which class is unavailable?
In the website or in the dev branch?

Yes, it's a know issue. We will change the index in future release.

@hydai after crawling, the primary key (pk or id) changes thus become unavailable

Yes, we found this issue in the beginning.
So the deployed machine inherit from old data. It will totally change after we use crawl_course clear


Improve discoverability of delay-bind scriptblock parameters

Existing feature
There is a really useful implicit PowerShell feature that many cmdlets that accept pipeline input, already benefit from:
# Delay-bind script-block argument:
# The code inside { ... } is executed for each input object ($_) and
# the output is passed to the -NewName parameter.
... | Rename-Item -NewName { $_.Name -replace '\.txt$','.log' }

Code sample blatantly stolen from this StackOverflow post, which also gives a good in-depth analysis on how this feature works.
As in this example, this feature often removes the neccessity of a ForEach-Object construct, letting users write more concise code. This is all good, but...
Problem
Code like above is often showcased in PowerShell "recipes" provided on StackOverflow and tutorial websites, but rarely explained. Users have a hard time to look up documentation for this feature. They would expect to find documentation in the context of the cmdlet that is used by a code sample, but if we look up Rename-Item parameter -NewName for instance, there is nothing that hints at its ability to accept a ScriptBlock argument. Its type is just listed as String. Neither in the examples section is anything to be found that showcases this useful feature.
The only official documentation I know of is "hidden" in the about_Script_Blocks page. It took me a while to find and I don't expect many PowerShell beginners to stumble upon it.
Suggested Solution
Update the documentation of all applicable cmdlets, to hint at the possibility to pass delay-bind scriptblock arguments.
This seems like a big effort but it could possibly be automated. When generating the documentation for each parameter, check the condition that enables a parameter to accept a delay-bind scriptblock argument. If true, add a line to the details table of the parameter, e. g.
-NewName
Type: String
Position: 1
Default value: None
Accept pipeline input: True
Accept delay-bind scriptblock argument: True
Accept wildcard characters: False
This would make it easy for users to discover and look up this useful feature in the context where it actually can be used instead of having to learn about it "by accident" and keep the exact rules in mind afterwards.
Adding usage examples to some of the most commonly used cmdlets would also help discoverability. In my opinion it is not necessary to add such examples to all applicable cmdlets, because once learned, users will be able to transfer their knowledge to other cmdlets as well, provided they can easily recognize applicable parameters (which an update of the auto-documentation as suggested above would do).

but if we look up Rename-Item parameter -NewName for instance, there is nothing that hints at its ability to accept a ScriptBlock argument

This just goes to prove your point about it being rarely explained and misunderstood but I assumed that this could only be done on parameters that accepted pipeline input which the docs do state Accept pipeline input: True.

I assumed that this could only be done on parameters that accepted pipeline input which the docs do state Accept pipeline input: True.

Yes, but there are some exceptions as explained by the linked StackOverflow post, which is why I think a separate row in the details table of the documentation of each applicable parameter would be necessary, apart from making the feature more explicit:

only works with parameters that are designed to take pipeline input,

of any type except the following, in which case regular parameter binding happens[1]:

[scriptblock]
[object] ([psobject], however, does work, and therefore [pscustomobject] too)
(no type specified), which is effectively the same as [object]

It's pretty hard to think of other commands where this syntax is possible and much harder still to think of a scenario where it would have real world application.
Maybe the some of the other Rename-* commands, but how even they are sort of a stretch (and very few of them are included with PowerShell).  I agree it should be presented where it makes sense but... that might already be done.  Can anyone else think of a different built in command where they've actually used this syntax?

Thanks for the line @zett42 that definitely help. This is my personal opinion but I always found this syntax too magical for me. I don't think I've ever written something like this and always just did something like | ForEach-Object { $_ | My-Cmdlet -Param $_.Param }. IMO that more aligns with how most people expect pipelines to work and there's less "huh I've never seen that before, does it even work".

I think it would be adequate to just ensure there is an example that shows this kind of usage where it would actually be useful.  Rename-Item is one of those command where this is useful and yes, I've used this capability over the past decade and a half.  BTW Rename-Item does have an example that shows this:
    --------------- Example 4: Rename multiple files ---------------

    Get-ChildItem *.txt

    Directory: C:\temp\files

    Mode                LastWriteTime         Length Name
    ----                -------------         ------ ----
    -a----        10/3/2019   7:47 AM           2918 Friday.TXT
    -a----        10/3/2019   7:46 AM           2918 Monday.Txt
    -a----        10/3/2019   7:47 AM           2918 Wednesday.txt

    Get-ChildItem *.txt | Rename-Item -NewName { $_.Name -replace '.txt','.log' }

TBH I think there's also room to cover this as part of the Advanced Functions and/or Pipelines topics in the help, as part of how ValueFromPipelineByPropertyName functions, and that'd probably be the most easily accessible/discoverable place to put it, at least from what I can see.

Can anyone think of an instance aside from Rename-Item that they've used this?

I don't have specific examples, but I do use it from time to time, though granted probably not a large amount of that is in core cmdlets; I've found it pretty versatile and useful when building custom functions and working with functions others have put together.
It could use more utilisation in core cmdlets IMO, but currently lacks it. ForEach-Object is a nice catch-all, but IMO would be cool if more core cmdlets supported this kinda thing natively where it makes sense.

Here's an example from @IISResetMe on discord:
mkdir $dirName |cd -Path {$_.FullName}

Which tells me I had a pretty big misunderstanding of the limitations, and it's applicable in a lot more places than I thought.

@zett42: Update the documentation of all applicable cmdlets, to hint at the possibility to pass delay-bind scriptblock arguments.

While I agree we can do a better job of educating users in general, I don't think that the proposed solution is feasible (nor helpful) - as it applies to ~60% of all cmdlets in the built-in modules:
$applicable,$other = (Get-Command -Module Microsoft.PowerShell.*).Where({
  $params = $_.Parameters
  $params.Keys.Where({$params[$_].Attributes.Where({$_ -is [Parameter]}).ValueFromPipelineByPropertyName})
}, 'Split')

Write-Host "Delay-script binding possible for $((100 * $applicable.Count / @($applicable;$other).Count)-as[int])% of built-in commands ($($applicable.Count)/$(@($applicable;$other).Count))"

(Gives me 58% (162/279) in 7.1.3 on Win10 2004)
As hinted in the original answer you linked it also applies to any custom function with a parameter meeting the requirements:
function Greet-People {
 param(
   [Parameter(ValueFromPipelineByPropertyName)]
   [string]$Name
 )

 process {
   Write-Host "Hello, $Name"
 }
}

$people = @'
Username,FirstName,LastName
sscience,Seemingly,Science
irme,IISReset,Me
'@ |ConvertFrom-Csv

$data |Greet-People -Name {$_.FirstName,$_.LastName-join''}

Result:
Hello, SeeminglyScience
Hello, IISResetMe

The way I see it, PowerShell's feature set is an iceberg the tip of which most users barely scrape - and while I wish more people would "dive beneath the surface" (and I feel that we can and should do our part as "super practitioners" to educate other users), I don't think it's helpful to try and push every facet of the language in the face of learners at every level - not because it's "too advanced", but because 90% of users will never actually need them beyond a few edge cases (like Rename-Item).

I participated in the SO question that lead @zett42 to post the issue. If my opinion means anything. I do agree it's extremely useful, but mostly limited to the *-Item cmdlets. Though I've used with both Group-Object & Sort-Object often enough, especially in interactive use to quickly get a result without having to formally add a property.  Although those are indeed documented under the about_Calculated_Properties the syntax is quite similar:
Get-ChildItem c:\temp | Group-Object -Property { $_.Extension }
I like @rkeithhill approach to focus on examples where reasonably applicable.  I also like @vexx32 idea of additional coverage in advanced function documentation.  There is would be nice to know.  Not to sound cliché but in "tool making" we're taught to think about usage scenarios which leads to thought about what and how you can input to the function.

@nashiooka FWIW those are not delay-bind scriptblocks - the -Property parameter of both Group-Object and Select-Object are constrained to [object[]], for which pipeline binding doesn't work - these cmdlets instead work by accepting property expressions which look like and have similar semantics to pipeline-bound blocks, but they're resolved by the cmdlets themselves, not the parameter binder

@IISResetMe thanks, I knew there was some difference, but this clarifies it for me.


Cold storage (hardware) solutions - Ledger, Trezor, Offline laptop

As people file requests for Ledger Nano S (here), Trezor or similar solution.
Let me file this issue as more generic and tackling the essence:

Offline storage of private key

Therefore, "ability to keep private key offline" even on separate laptop and use it just to sign transactions, would be great. It's possible with Ethereum, Bitcoin...
And IMHO it's way faster to deliver as solution before arriving with Ledger and Trezor (and maybe would help them develop support after all...).
And still, those with big stake in ADA, apart from discomfort, could at least have ability to run some (even  image of linux distro, premade just for given purpose), running offline, and have this old offline cheap computer (or cheap computer like Raspberry Pi) for one purpose -> to safeguard their privatekey for their Cardano.
Of course, more convenient solutions like Trezor (which offers "25th word" for creating hidden wallets - great feature), or Ledger Nano S, would be really nice and convenient. However IMHO first it to deliver any solution providing security, security through distrust, through distrust I mean "to never keep for any moment private key on any online device" (that's why solutions like "install Daedalus for a moment and delete and later recover" does not address the concern, just limit time frame of exposure.

@gwpl, here is the answer to the request of Ledger Nano S support:
https://github.com/input-output-hk/daedalus/issues/604#issuecomment-352752883

Thanks.
Please let me update that this is security critical in light of Intel Management Engine security vulnerability INTEL-SA-00086 AKA IME issue, impacting tons of Intel based devices after 2008.

Are there plans for adding the Ledger/Trezor support in the near future? Is there any time estimate when this issue will be revisited?

@Smedzlatko Daedalus team is working on it at https://github.com/input-output-hk/cardano-js-sdk
In the meantime, you can use Ledger & Trezor in both Yoroi and Adalite. Once Daedalus supports hardware wallets, you can easily move back since the same hardware wallet can be used with multiple interfaces (Daedalus or otherwise)

Do we have any progress on this issue?

Ledger Nano X, Ledger Nano S, and Trezor Model T support has been added to Daedalus Mainnet in November of 2020.
Thanks for the patience!


Misc build changes

Regarding the upload failures, I have submitted a ticket to Codecov on their community forums here: https://community.codecov.com/t/503-service-unavailable-errors-when-uploading-reports/3552.


UPGRADE.md - Fix multi-row description

Avoid description to be divided in to more then one row

Avoid description to be divided in to more then one row

what for? this is perfectly valid MD syntax

@keradus it is valid, of course .. but the resulting output is splitted on two different rows, having different colors ...
Before PR:

After PR:

WIP .. wait guys .. going to find a better solution .. sorry for noise .. not having a shell at the moment, but using GH editor is going to create a lot of confusion on this PR ..
Will stash ASAP

:+1:

Table doesn't look nice now:
https://github.com/drAlberT/PHP-CS-Fixer/blob/28df22ba370db84f5de9a4ebf6a77bc5f9fadfe4/UPGRADE.md#cli-options
compare to
https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/master/UPGRADE.md#cli-options
the description column is way to wide.
line breaker for long description is needed

@drAlberT please throw in a <br/> and check how it looks ;)

Thank you @drAlberT.


Array pointers in event messages?

Is it possible to have an array pointer into an event message?
E.g.:
typedef struct _message
{
event_type type;
int *array;
} message_t
When doing something like this example, I face a segmentation fault when the message is exchanged between LPs in different PEs. I think that only the pointer address is being sent.

You are correct, dynamic memory pointers are not dereferenced when they are shared between PEs. You'll have to write your own serializer and deserializers to pack and unpack into a static-memory byte array in the event struct. These have to be made for any dynamic memory in your event structs and said functions will have to be called at every event handler. It's better to entirely avoid dynamic memory in events. @caitlinross might have more insight about this and alternatives.

I understand. Assuming that exchanging event messages with a pointer array between LPs in different PEs is not an option, is it possible to enforce that LPs (of the same type) in different PEs produce the same sequence of integers in RNG functions such as tw_rand_integer()?
In case this is possible, I can have the specific LP that returns event messages with pointer array in the same PE as the requester, and my problem would be solved.

I think it should be possible to do that. You'll need to utilize multiple RNGs in each LP - as you wouldn't want to force every LP's main RNG to have the same seed.
What I'm imagining is that each LP would have two RNGs, one default one with a ROSS generated seed and one separate RNG with an identical seed as all other LPs used for your workaround. How exactly this would be done is not something I'm very familiar with.
Might consider checking out [this page from the wiki] on the topic (https://github.com/carothersc/ROSS/wiki/Random-Numbers)
I'll check with others in the research group tomorrow about this.

Neil is correct that you won't be able to send anything referenced by pointers through an event to another PE, without having someway to handle it.
I think your RNG approach sounds like it's probably the way to go in this case.  And I agree with Neil that you'll want multiple RNGs for each LP, with one being dedicated to your usual RNG use, and one for just producing this same sequence of integers on each LP.  He's also right that you can use the default ROSS generated seed for one and for the other, use the identical seed on all LPs.
So the basic idea of what you'll want to do in code:
g_tw_nRNG_per_lp++;  // default is 1

tw_define_lps(<whatever you usually pass in here>);

for (tw_lpid id = 0; id < g_tw_nlp; id++)
{
    // so rng[0] would keep the default ROSS seed
    // rng[1] would be the one that is the same on each LP
    tw_rand_initial_seed(&g_tw_lp[id]->rng[1], <seed>);
}

And that should be all you need!

Happy to hear it!


[Camera web] Camera doesn't work at all in Firefox on Android

Steps to Reproduce

Run the provided code sample in Fenix (Firefox for Android) also hosted here if you need for triage, because camera access needs HTTPS
Click Initialize

Expected results: Camera should be initialized
Actual results: Throws CameraException: cameraAbort
Flutter camera library opens all cameras to retrieve it's information and then closes all streams. However there is Fenix bug that often throws an error when switching cameras. You can see this Fenix issue, it's already opened since last December and not yet fixed.
I modified the camera library and just added print here:
...
try {
  final Map<String, dynamic> constraints = options.toJson();
  return await mediaDevices.getUserMedia(constraints);
} on html.DomException catch (e) {
  print('DomException: $e'); //my added print
  switch (e.name) {
...

and sure, it prints the same error message - AbortError: Starting videoinput failed.
Video here (please ignore those backend errors, I'm not routing debug WS through test domain):
https://user-images.githubusercontent.com/13891066/203344948-9442fbf7-99c1-40a1-843e-1777b35eb675.mp4
and I have all permissions allowed:

Also see here the camera fail rate - considering I cannot switch even like 3 times in a row, it sure will fail while opening and closing 5 streams:
https://user-images.githubusercontent.com/13891066/203347033-fef8a6f8-1fbf-4962-9564-afa0dca4acdc.mp4
I was wondering why nobody reported this yet, I can think of these possible causes:

Firefox mobile has just 0.5 % market share, so nobody found it yet
it doesn't happen on phones with less cameras

Now the question is - what to do? Is there anything that can be done in the camera library? Sure it should really be fixed in Firefox, but considering that issue hasn't got any attention since it was opened and it completely breaks Flutter apps on some higher end devices (although not many people are affected), I thought I will at least inform you here that this issue exists. Feel free to close this if there is nothing you can do about.

Code sample
import 'package:camera/camera.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  CameraController? _cameraController;
  final _statusTextController = TextEditingController();
  final _errorTextController = TextEditingController();
  final _stackTextController = TextEditingController();

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      home: Scaffold(
        body: SingleChildScrollView(
          child: Column(
            children: [
              ElevatedButton(
                onPressed: () async {
                  _errorTextController.text = '';
                  try {
                    _statusTextController.text = 'getting cameras';
                    final cameras = await availableCameras();
                    _statusTextController.text = 'creating controller';
                    _cameraController = CameraController(cameras[0], ResolutionPreset.max);
                    _statusTextController.text = 'initializing controller';
                    await _cameraController!.initialize();
                    _statusTextController.text = 'controller initialized';
                  } catch (e, s) {
                    _errorTextController.text = e.toString();
                    _stackTextController.text = s.toString();
                  }
                },
                child: const Text('Initialize'),
              ),
              ElevatedButton(
                onPressed: () async {
                  _errorTextController.text = '';
                  _stackTextController.text = '';
                  _statusTextController.text = 'disposing controller';
                  await _cameraController?.dispose();
                  _statusTextController.text = 'controller disposed';
                },
                child: const Text('Release'),
              ),
              TextField(
                maxLines: null,
                controller: _statusTextController,
              ),
              TextField(
                maxLines: null,
                controller: _errorTextController,
              ),
              TextField(
                maxLines: null,
                controller: _stackTextController,
              ),
            ],
          ),
        ),
      ),
    );
  }
}

Logs
flutter doctor -v
[✓] Flutter (Channel stable, 3.3.8, on Microsoft Windows [Version 10.0.22621.819], locale en-GB)
    • Flutter version 3.3.8 on channel stable at C:\Users\husar\AppData\Local\Flutter\SDK\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 52b3dc25f6 (13 days ago), 2022-11-09 12:09:26 +0800
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\husar\AppData\Local\Android\sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2022 17.5.0 Preview 1.0)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Preview
    • Visual Studio Community 2022 version 17.5.33103.201
    • The current Visual Studio installation is a pre-release version. It may not be supported by Flutter yet.
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 2021.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Community Edition (version 2021.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.2
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code, 64-bit edition (version 1.73.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.52.0

[✓] Connected device (4 available)
    • SM S908B (mobile) • R3CT30E9HQF • android-arm64  • Android 13 (API 33)
    • Windows (desktop) • windows     • windows-x64    • Microsoft Windows [Version 10.0.22621.819]
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 107.0.5304.107
    • Edge (web)        • edge        • web-javascript • Microsoft Edge 107.0.1418.42

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Firefox debugging
You need to have enabled USB debugging. Then in Firefox on Android hit settings and scroll down, there is Remote debugging via USB. Enable it.
Now open Firefox on PC and open about:debugging.
Enable USB devices (I already have it enabled):

and on the left side hit refresh devices - your phone will appear. Connect to it, click on the phone and here you have tabs you can inspect:

Hi, sure. I have added instructions to the bottom of my post, hope they are enough.

Hello @leoshusar. Unfortunately, I am unable to verify the issue as Firefox doesn't connect to my PC via remote debugging. I'll label the issue for visibility and insights from the team. Thank you


Request: silent save

I'd like a way to save models without triggering the change event when the data comes back later.
I've tried:
var task = new Task(..);
task.fetch();

// This will trigger a change event.
task.set({ status: "started" });

// This will trigger a change event, too, when the data comes back.
task.save();

Perhaps something like model.save({}, {silent: true}) would be nice.
Real world use case:
If you're making a task management application where each task can have many states (started, finished, delivered, ...), you probably will bind a change event on the tasks collection to update the UI when a state changes.
I'd like the user to be able to click on the task's "start", "finish", and "deliver" buttons in rapid succession. When the user clicks too fast, the change event that the saving will trigger may happen late, which will 'revert' the state of the task in the UI.

 if (!model.set(model.parse(resp, xhr), options)) return false;

Is inside the save method.  You'll notice the , options part, which comes from the options you provide.
save : function(attrs, options) {

Setting silent: true should work as you expect.  Please reopen if this does not solve your problem.

My bad... I suppose I assumed it didn't exist just because I didn't see it in the docs. It indeed works as you've said it would.


profile-cards-graphql example is not working

When I'm trying to build profile-cards-graphql example I'm getting following error:
🖨  Copied src/manifest.json in 4ms
TypeError: (0, _reactApollo.getDataFromTree) is not a function. (In '(0, _reactApollo.getDataFromTree)(App)', '(0, _reactApollo.getDataFromTree)' is undefined)
line: 13836
sourceURL: /Users/giuseppe/Documents/profile-cards-graphql/profile-cards-gql.sketchplugin/Contents/Sketch/main.js
column: 36
stack: /Users/giuseppe/Documents/profile-cards-graphql/profile-cards-gql.sketchplugin/Contents/Sketch/main.js:13836:36
__skpm_run@/Users/giuseppe/Documents/profile-cards-graphql/profile-cards-gql.sketchplugin/Contents/Sketch/main.js:42539:17
__skpm_run@[native code]

Sketch version: 49.3
MacOS version: Sierra 10.12.6
Node.js version: 8.11.1
npm version: 5.6.0
Simply reproduce:
curl https://codeload.github.com/airbnb/react-sketchapp/tar.gz/master | tar -xz --strip=2 react-sketchapp-master/examples/profile-cards-graphql
cd profile-cards-graphql

Then:
npm install

And finally:
npm run render

You should also fix README.md file on https://github.com/airbnb/react-sketchapp/tree/master/examples/profile-cards-graphql
From:
curl https://codeload.github.com/airbnb/react-sketchapp/tar.gz/master | tar -xz --strip=2 react-sketchapp-master/examples/profile-cards-gql
cd profile-cards-gql
To:
curl https://codeload.github.com/airbnb/react-sketchapp/tar.gz/master | tar -xz --strip=2 react-sketchapp-master/examples/profile-cards-graphql
cd profile-cards-graphql

@mathieudutour
Not realy duplicate - look at README.md file on https://github.com/airbnb/react-sketchapp/tree/master/examples/profile-cards-graphql page. You should to clean up this file.