chip-tool doesn't work on OSX Monterey 12.1 and above

Most likely it's a bluetooth issue (as Monterey seems to have few), but wanted to double check if maybe it's something else.
I have two examples here (attempt to commission a node and attempt to send a command to an already commissioned one)
Commissioning a new node
bortignon-mbp:SOME-PATH bortignon$ ./chip-tool pairing ble-wifi 13131 mySSID myPassword 20202021 3840
[1641243251851] [2096:14555] CHIP: [DL] _Init
[1641243251851] [2096:14555] CHIP: [IN] UDP::Init bind&listen port=5542
[1641243251851] [2096:14555] CHIP: [IN] UDP::Init bound to port=5542
[1641243251851] [2096:14555] CHIP: [IN] UDP::Init bind&listen port=5542
[1641243251851] [2096:14555] CHIP: [IN] UDP::Init bound to port=5542
[1641243251851] [2096:14555] CHIP: [IN] TransportMgr initialized
[1641243251851] [2096:14555] CHIP: [DIS] Init fabric pairing table with server storage
[1641243251852] [2096:14555] CHIP: [ZCL] Using ZAP configuration...
[1641243251852] [2096:14555] CHIP: [CTL] System State Initialized...
[1641243251855] [2096:14555] CHIP: [CTL] Generating NOC
[1641243251861] [2096:14555] CHIP: [CTL] Generating ICAC
[1641243251861] [2096:14555] CHIP: [CTL] Generating RCAC
[1641243251862] [2096:14555] CHIP: [DIS] Verifying the received credentials
[1641243251863] [2096:14555] CHIP: [IN] Generating compressed fabric ID using uncompressed fabric ID 0x0000000000000001 and root pubkey
[1641243251863] [2096:14555] CHIP: [IN] 0x04, 0x54, 0x4f, 0x35, 0x09, 0x92, 0xc5, 0x02,
[1641243251863] [2096:14555] CHIP: [IN] 0xcd, 0xa5, 0x61, 0x12, 0xc8, 0x45, 0x91, 0x06,
[1641243251863] [2096:14555] CHIP: [IN] 0xcc, 0x06, 0x7a, 0xcf, 0xd7, 0xf9, 0xea, 0x9d,
[1641243251863] [2096:14555] CHIP: [IN] 0x6e, 0xd3, 0x85, 0x7a, 0x77, 0xae, 0xd6, 0x66,
[1641243251863] [2096:14555] CHIP: [IN] 0x88, 0xf5, 0x30, 0xc3, 0x35, 0x0b, 0x86, 0xd0,
[1641243251863] [2096:14555] CHIP: [IN] 0xaf, 0xb8, 0x94, 0xcf, 0x43, 0xa8, 0xe6, 0x28,
[1641243251863] [2096:14555] CHIP: [IN] 0x32, 0x90, 0x9f, 0xe4, 0x3a, 0x41, 0xae, 0x8b,
[1641243251863] [2096:14555] CHIP: [IN] 0xf6, 0x57, 0xb4, 0x99, 0xc4, 0x26, 0x52, 0x2c,
[1641243251863] [2096:14555] CHIP: [IN] 0xe3,
[1641243251864] [2096:14555] CHIP: [IN] Generated compressed fabric ID
[1641243251864] [2096:14555] CHIP: [IN] 0x63, 0x9e, 0x07, 0x8f, 0x3c, 0x41, 0x10, 0x1d,
[1641243251864] [2096:14555] CHIP: [DIS] Added new fabric at index: 1, Initialized: 1
[1641243251864] [2096:14555] CHIP: [DIS] Assigned compressed fabric ID: 0x639E078F3C41101D, node ID: 0x000000000001B669
[1641243251864] [2096:14555] CHIP: [CTL] Joined the fabric at index 1. Compressed fabric ID is: 0x639E078F3C41101D
[1641243251864] [2096:14555] CHIP: [IN] UDP::Init bind&listen port=5550
[1641243251864] [2096:14555] CHIP: [IN] UDP::Init bound to port=5550
[1641243251864] [2096:14555] CHIP: [IN] UDP::Init bind&listen port=5550
[1641243251864] [2096:14555] CHIP: [IN] UDP::Init bound to port=5550
[1641243251864] [2096:14555] CHIP: [IN] TransportMgr initialized
[1641243251865] [2096:14555] CHIP: [CTL] Generating NOC
[1641243251865] [2096:14555] CHIP: [CTL] Generating ICAC
[1641243251865] [2096:14555] CHIP: [CTL] Generating RCAC
[1641243251866] [2096:14555] CHIP: [DIS] Verifying the received credentials
[1641243251866] [2096:14555] CHIP: [IN] Generating compressed fabric ID using uncompressed fabric ID 0x0000000000000002 and root pubkey
[1641243251866] [2096:14555] CHIP: [IN] 0x04, 0x54, 0x4f, 0x35, 0x09, 0x92, 0xc5, 0x02,
[1641243251866] [2096:14555] CHIP: [IN] 0xcd, 0xa5, 0x61, 0x12, 0xc8, 0x45, 0x91, 0x06,
[1641243251866] [2096:14555] CHIP: [IN] 0xcc, 0x06, 0x7a, 0xcf, 0xd7, 0xf9, 0xea, 0x9d,
[1641243251866] [2096:14555] CHIP: [IN] 0x6e, 0xd3, 0x85, 0x7a, 0x77, 0xae, 0xd6, 0x66,
[1641243251866] [2096:14555] CHIP: [IN] 0x88, 0xf5, 0x30, 0xc3, 0x35, 0x0b, 0x86, 0xd0,
[1641243251866] [2096:14555] CHIP: [IN] 0xaf, 0xb8, 0x94, 0xcf, 0x43, 0xa8, 0xe6, 0x28,
[1641243251866] [2096:14555] CHIP: [IN] 0x32, 0x90, 0x9f, 0xe4, 0x3a, 0x41, 0xae, 0x8b,
[1641243251866] [2096:14555] CHIP: [IN] 0xf6, 0x57, 0xb4, 0x99, 0xc4, 0x26, 0x52, 0x2c,
[1641243251866] [2096:14555] CHIP: [IN] 0xe3,
[1641243251866] [2096:14555] CHIP: [IN] Generated compressed fabric ID
[1641243251866] [2096:14555] CHIP: [IN] 0xef, 0x49, 0x93, 0x50, 0xa2, 0x2f, 0xda, 0x99,
[1641243251867] [2096:14555] CHIP: [DIS] Added new fabric at index: 2, Initialized: 1
[1641243251867] [2096:14555] CHIP: [DIS] Assigned compressed fabric ID: 0xEF499350A22FDA99, node ID: 0x000000000001B669
[1641243251867] [2096:14555] CHIP: [CTL] Joined the fabric at index 2. Compressed fabric ID is: 0xEF499350A22FDA99
[1641243251867] [2096:14555] CHIP: [IN] UDP::Init bind&listen port=5550
[1641243251867] [2096:14555] CHIP: [IN] UDP::Init bound to port=5550
[1641243251867] [2096:14555] CHIP: [IN] UDP::Init bind&listen port=5550
[1641243251867] [2096:14555] CHIP: [IN] UDP::Init bound to port=5550
[1641243251867] [2096:14555] CHIP: [IN] TransportMgr initialized
[1641243251868] [2096:14555] CHIP: [CTL] Generating NOC
[1641243251868] [2096:14555] CHIP: [CTL] Generating ICAC
[1641243251868] [2096:14555] CHIP: [CTL] Generating RCAC
[1641243251868] [2096:14555] CHIP: [DIS] Verifying the received credentials
[1641243251869] [2096:14555] CHIP: [IN] Generating compressed fabric ID using uncompressed fabric ID 0x0000000000000003 and root pubkey
[1641243251869] [2096:14555] CHIP: [IN] 0x04, 0x54, 0x4f, 0x35, 0x09, 0x92, 0xc5, 0x02,
[1641243251869] [2096:14555] CHIP: [IN] 0xcd, 0xa5, 0x61, 0x12, 0xc8, 0x45, 0x91, 0x06,
[1641243251869] [2096:14555] CHIP: [IN] 0xcc, 0x06, 0x7a, 0xcf, 0xd7, 0xf9, 0xea, 0x9d,
[1641243251869] [2096:14555] CHIP: [IN] 0x6e, 0xd3, 0x85, 0x7a, 0x77, 0xae, 0xd6, 0x66,
[1641243251869] [2096:14555] CHIP: [IN] 0x88, 0xf5, 0x30, 0xc3, 0x35, 0x0b, 0x86, 0xd0,
[1641243251869] [2096:14555] CHIP: [IN] 0xaf, 0xb8, 0x94, 0xcf, 0x43, 0xa8, 0xe6, 0x28,
[1641243251869] [2096:14555] CHIP: [IN] 0x32, 0x90, 0x9f, 0xe4, 0x3a, 0x41, 0xae, 0x8b,
[1641243251869] [2096:14555] CHIP: [IN] 0xf6, 0x57, 0xb4, 0x99, 0xc4, 0x26, 0x52, 0x2c,
[1641243251869] [2096:14555] CHIP: [IN] 0xe3,
[1641243251869] [2096:14555] CHIP: [IN] Generated compressed fabric ID
[1641243251869] [2096:14555] CHIP: [IN] 0x45, 0x9a, 0x09, 0x2d, 0xa2, 0x1f, 0x0d, 0xd4,
[1641243251869] [2096:14555] CHIP: [DIS] Added new fabric at index: 3, Initialized: 1
[1641243251869] [2096:14555] CHIP: [DIS] Assigned compressed fabric ID: 0x459A092DA21F0DD4, node ID: 0x000000000001B669
[1641243251869] [2096:14555] CHIP: [CTL] Joined the fabric at index 3. Compressed fabric ID is: 0x459A092DA21F0DD4
[1641243251869] [2096:14555] CHIP: [IN] UDP::Init bind&listen port=5550
[1641243251869] [2096:14555] CHIP: [IN] UDP::Init bound to port=5550
[1641243251869] [2096:14555] CHIP: [IN] UDP::Init bind&listen port=5550
[1641243251869] [2096:14555] CHIP: [IN] UDP::Init bound to port=5550
[1641243251869] [2096:14555] CHIP: [IN] TransportMgr initialized
[1641243251869] [2096:14558] CHIP: [DL] _OnPlatformEvent
[1641243251869] [2096:14558] CHIP: [BLE] NewConnection
[1641243251871] [2096:14558] CHIP: [SC] Assigned local session key ID 1
[1641243251871] [2096:14558] CHIP: [SC] Including MRP parameters in PBKDF param request
[1641243251871] [2096:14558] CHIP: [IN] Prepared plaintext message 0x700003d6f8a0 to 0x0000000000000000 (0)  of type 0x20 and protocolId (0, 0) on exchange 46940i with MessageCounter:1150954657.
[1641243251871] [2096:14558] CHIP: [IN] Sending plaintext msg 0x700003d6f8a0 with MessageCounter:1150954657 to 0x0000000000000000 at monotonic time: 206163 msec
[1641243251871] [2096:14558] CHIP: [IN] Message appended to BLE send queue
[1641243251871] [2096:14558] CHIP: [SC] Sent PBKDF param request
[1641243251902] [2096:14561] CHIP: [BLE] CBManagerState: ON

stalling at this point.
Send message to existing node

bortignon-mbp:SOME-PATH bortignon$ ./chip-tool levelcontrol move-to-level 50 1 1 1 12121 1
[1641243355811] [2600:18531] CHIP: [DL] _Init
[1641243355811] [2600:18531] CHIP: [IN] UDP::Init bind&listen port=5542
[1641243355811] [2600:18531] CHIP: [IN] UDP::Init bound to port=5542
[1641243355811] [2600:18531] CHIP: [IN] UDP::Init bind&listen port=5542
[1641243355811] [2600:18531] CHIP: [IN] UDP::Init bound to port=5542
[1641243355811] [2600:18531] CHIP: [IN] TransportMgr initialized
[1641243355811] [2600:18531] CHIP: [DIS] Init fabric pairing table with server storage
[1641243355811] [2600:18531] CHIP: [ZCL] Using ZAP configuration...
[1641243355811] [2600:18531] CHIP: [CTL] System State Initialized...
[1641243355814] [2600:18531] CHIP: [CTL] Generating NOC
[1641243355815] [2600:18531] CHIP: [CTL] Generating ICAC
[1641243355816] [2600:18531] CHIP: [DIS] Verifying the received credentials
[1641243355816] [2600:18531] CHIP: [IN] Generating compressed fabric ID using uncompressed fabric ID 0x0000000000000001 and root pubkey
[1641243355816] [2600:18531] CHIP: [IN] 0x04, 0x54, 0x4f, 0x35, 0x09, 0x92, 0xc5, 0x02,
[1641243355816] [2600:18531] CHIP: [IN] 0xcd, 0xa5, 0x61, 0x12, 0xc8, 0x45, 0x91, 0x06,
[1641243355816] [2600:18531] CHIP: [IN] 0xcc, 0x06, 0x7a, 0xcf, 0xd7, 0xf9, 0xea, 0x9d,
[1641243355816] [2600:18531] CHIP: [IN] 0x6e, 0xd3, 0x85, 0x7a, 0x77, 0xae, 0xd6, 0x66,
[1641243355816] [2600:18531] CHIP: [IN] 0x88, 0xf5, 0x30, 0xc3, 0x35, 0x0b, 0x86, 0xd0,
[1641243355816] [2600:18531] CHIP: [IN] 0xaf, 0xb8, 0x94, 0xcf, 0x43, 0xa8, 0xe6, 0x28,
[1641243355816] [2600:18531] CHIP: [IN] 0x32, 0x90, 0x9f, 0xe4, 0x3a, 0x41, 0xae, 0x8b,
[1641243355816] [2600:18531] CHIP: [IN] 0xf6, 0x57, 0xb4, 0x99, 0xc4, 0x26, 0x52, 0x2c,
[1641243355816] [2600:18531] CHIP: [IN] 0xe3,
[1641243355817] [2600:18531] CHIP: [IN] Generated compressed fabric ID
[1641243355817] [2600:18531] CHIP: [IN] 0x63, 0x9e, 0x07, 0x8f, 0x3c, 0x41, 0x10, 0x1d,
[1641243355817] [2600:18531] CHIP: [DIS] Added new fabric at index: 1, Initialized: 1
[1641243355817] [2600:18531] CHIP: [DIS] Assigned compressed fabric ID: 0x639E078F3C41101D, node ID: 0x000000000001B669
[1641243355817] [2600:18531] CHIP: [CTL] Joined the fabric at index 1. Compressed fabric ID is: 0x639E078F3C41101D
[1641243355817] [2600:18531] CHIP: [IN] UDP::Init bind&listen port=5550
[1641243355817] [2600:18531] CHIP: [IN] UDP::Init bound to port=5550
[1641243355817] [2600:18531] CHIP: [IN] UDP::Init bind&listen port=5550
[1641243355817] [2600:18531] CHIP: [IN] UDP::Init bound to port=5550
[1641243355817] [2600:18531] CHIP: [IN] TransportMgr initialized
[1641243355818] [2600:18531] CHIP: [CTL] Generating NOC
[1641243355818] [2600:18531] CHIP: [CTL] Generating ICAC
[1641243355818] [2600:18531] CHIP: [DIS] Verifying the received credentials
[1641243355819] [2600:18531] CHIP: [IN] Generating compressed fabric ID using uncompressed fabric ID 0x0000000000000002 and root pubkey
[1641243355819] [2600:18531] CHIP: [IN] 0x04, 0x54, 0x4f, 0x35, 0x09, 0x92, 0xc5, 0x02,
[1641243355819] [2600:18531] CHIP: [IN] 0xcd, 0xa5, 0x61, 0x12, 0xc8, 0x45, 0x91, 0x06,
[1641243355819] [2600:18531] CHIP: [IN] 0xcc, 0x06, 0x7a, 0xcf, 0xd7, 0xf9, 0xea, 0x9d,
[1641243355819] [2600:18531] CHIP: [IN] 0x6e, 0xd3, 0x85, 0x7a, 0x77, 0xae, 0xd6, 0x66,
[1641243355819] [2600:18531] CHIP: [IN] 0x88, 0xf5, 0x30, 0xc3, 0x35, 0x0b, 0x86, 0xd0,
[1641243355819] [2600:18531] CHIP: [IN] 0xaf, 0xb8, 0x94, 0xcf, 0x43, 0xa8, 0xe6, 0x28,
[1641243355819] [2600:18531] CHIP: [IN] 0x32, 0x90, 0x9f, 0xe4, 0x3a, 0x41, 0xae, 0x8b,
[1641243355819] [2600:18531] CHIP: [IN] 0xf6, 0x57, 0xb4, 0x99, 0xc4, 0x26, 0x52, 0x2c,
[1641243355819] [2600:18531] CHIP: [IN] 0xe3,
[1641243355819] [2600:18531] CHIP: [IN] Generated compressed fabric ID
[1641243355819] [2600:18531] CHIP: [IN] 0xef, 0x49, 0x93, 0x50, 0xa2, 0x2f, 0xda, 0x99,
[1641243355819] [2600:18531] CHIP: [DIS] Added new fabric at index: 2, Initialized: 1
[1641243355819] [2600:18531] CHIP: [DIS] Assigned compressed fabric ID: 0xEF499350A22FDA99, node ID: 0x000000000001B669
[1641243355819] [2600:18531] CHIP: [CTL] Joined the fabric at index 2. Compressed fabric ID is: 0xEF499350A22FDA99
[1641243355819] [2600:18531] CHIP: [IN] UDP::Init bind&listen port=5550
[1641243355819] [2600:18531] CHIP: [IN] UDP::Init bound to port=5550
[1641243355819] [2600:18531] CHIP: [IN] UDP::Init bind&listen port=5550
[1641243355819] [2600:18531] CHIP: [IN] UDP::Init bound to port=5550
[1641243355819] [2600:18531] CHIP: [IN] TransportMgr initialized
[1641243355819] [2600:18531] CHIP: [CTL] Generating NOC
[1641243355820] [2600:18531] CHIP: [CTL] Generating ICAC
[1641243355820] [2600:18531] CHIP: [DIS] Verifying the received credentials
[1641243355820] [2600:18531] CHIP: [IN] Generating compressed fabric ID using uncompressed fabric ID 0x0000000000000003 and root pubkey
[1641243355820] [2600:18531] CHIP: [IN] 0x04, 0x54, 0x4f, 0x35, 0x09, 0x92, 0xc5, 0x02,
[1641243355820] [2600:18531] CHIP: [IN] 0xcd, 0xa5, 0x61, 0x12, 0xc8, 0x45, 0x91, 0x06,
[1641243355820] [2600:18531] CHIP: [IN] 0xcc, 0x06, 0x7a, 0xcf, 0xd7, 0xf9, 0xea, 0x9d,
[1641243355820] [2600:18531] CHIP: [IN] 0x6e, 0xd3, 0x85, 0x7a, 0x77, 0xae, 0xd6, 0x66,
[1641243355820] [2600:18531] CHIP: [IN] 0x88, 0xf5, 0x30, 0xc3, 0x35, 0x0b, 0x86, 0xd0,
[1641243355820] [2600:18531] CHIP: [IN] 0xaf, 0xb8, 0x94, 0xcf, 0x43, 0xa8, 0xe6, 0x28,
[1641243355820] [2600:18531] CHIP: [IN] 0x32, 0x90, 0x9f, 0xe4, 0x3a, 0x41, 0xae, 0x8b,
[1641243355820] [2600:18531] CHIP: [IN] 0xf6, 0x57, 0xb4, 0x99, 0xc4, 0x26, 0x52, 0x2c,
[1641243355820] [2600:18531] CHIP: [IN] 0xe3,
[1641243355820] [2600:18531] CHIP: [IN] Generated compressed fabric ID
[1641243355820] [2600:18531] CHIP: [IN] 0x45, 0x9a, 0x09, 0x2d, 0xa2, 0x1f, 0x0d, 0xd4,
[1641243355820] [2600:18531] CHIP: [DIS] Added new fabric at index: 3, Initialized: 1
[1641243355820] [2600:18531] CHIP: [DIS] Assigned compressed fabric ID: 0x459A092DA21F0DD4, node ID: 0x000000000001B669
[1641243355820] [2600:18531] CHIP: [CTL] Joined the fabric at index 3. Compressed fabric ID is: 0x459A092DA21F0DD4
[1641243355820] [2600:18531] CHIP: [IN] UDP::Init bind&listen port=5550
[1641243355820] [2600:18531] CHIP: [IN] UDP::Init bound to port=5550
[1641243355820] [2600:18531] CHIP: [IN] UDP::Init bind&listen port=5550
[1641243355820] [2600:18531] CHIP: [IN] UDP::Init bound to port=5550
[1641243355820] [2600:18531] CHIP: [IN] TransportMgr initialized
[1641243355820] [2600:18541] CHIP: [DL] _OnPlatformEvent
[1641243355820] [2600:18541] CHIP: [TOO] Sending command to node 0x2f59
[1641243365825] [2600:18531] CHIP: [-] ../examples/chip-tool/commands/common/CHIPCommand.cpp:232: CHIP Error 0x00000032: Timeout at ../examples/chip-tool/commands/common/CHIPCommand.cpp:59
[1641243365825] [2600:18531] CHIP: [TOO] Run command failure: ../examples/chip-tool/commands/common/CHIPCommand.cpp:232: CHIP Error 0x00000032: Timeout
[1641243365828] [2600:18531] CHIP: [SPT] VerifyOrDie failure at ../examples/chip-tool/third_party/connectedhomeip/src/inet/InetLayer.h:121: sEndPointPool.Allocated() == 0

Title says 15.1 but should be 12.1. BLE connection works with macOS Monterey 12.2 Beta (21D5039d).

Title updated, and yes, I can confirm that on 12.2 Beta 21D5039d, it does fail in the same way you are describing.

chip-tool on macOS 12.3 Beta (21E5196i) now able to establish BLE connection. It still fails, but seems to be a different problem, and I also see it on Ubuntu 21.04. I will open a separate issue if I can't find one.

Title says 15.1 but should be 12.1. BLE connection works with macOS Monterey 12.2 Beta (21D5039d) on Intel MacBook Pro (16-inch, 2019), but fails further ahead with
[1642419388456] [48885:2429823] CHIP: [BLE] CBManagerState: ON
[1642419388865] [48885:2429823] CHIP: [BLE] Connecting to device with discriminator: 3840
[1642419403221] [48885:2429826] CHIP: [BLE] Service not found on the device.
[1642419403222] [48885:2429826] CHIP: [IN] Clearing BLE pending packets.
[1642419403222] [48885:2429826] CHIP: [IN] BleConnection Error: ../../third_party/connectedhomeip/src/platform/Darwin/BleConnectionDelegateImpl.mm:221: CHIP Error 0x00000003: Incorrect state
[1642419418432] [48885:2429826] CHIP: [SC] PASESession timed out while waiting for a response from the peer. Expected message type was 33
[1642419418432] [48885:2429826] CHIP: [TOO] Secure Pairing Failed

I have the same issue but not on Mac OS (Intel Monterey 12.0.1) but on my iPhone (iOS 15.2.1). We have narrowed it down to an issue with the service not being discovered by the CoreBluetooth Framework. It works perfectly with the DUT on the MacBook, but it fails on the same codebase but on iOS.

I updated to Monterey 12.2.1 today and seeing the same issue. It was working yesterday on Big Sur.
Log attached of attempting to pair with standalone CHIP tool:
chip-tool-log.txt

This is most likely due to iOS (>=15.1) and macOS (>=12.2.1) somehow "swallowing" the Bluetooth Service UUID 0xFFF6 and not letting it onto the application layer. I have tried to change the UUID in both the DUT software and the CHIP stack to something else (i.e. 0x0FF6), which makes it work on iOS and macOS.

This seems to have been fixed in macOS 12.3 (and 12.3.1) so should we close this issue?
@nicolabortignon

This is resolved in macOS 12.3.

I'm using macOS 12.4 and Matter commit b4b340017. For some reason I can commission a device (esp32) using wifi over BLE. But when trying to commission a Thread device (nordic nrf52840dk) with a Thread border router (esp32 ot_br + silabs RCP) over BLE the chip-tool on macOS 12.4 it doesn't work. The chip-tool connects to the thread device over BLE but thread device instantly disconnects with a BLE GAP error. For some reason whenever I use the chip-tool on Ubuntu 20.04 LTS the commissioning process works as expected. I don't have my thread devices with me right now to post the logs but whenever I get back to the office Monday I'll post logs from chip-tool and the thread device. Once I get back I'll post logs from both, the chip-tool on mac  logs and thread device logs.


Allow to define the rel=canonical URL

ReSpec allows to set a canonical URL for specs, and as discussed in spec-prod, I would like to bring the same feature to Bikeshed.
Since that'd would be my first code contribution to bikeshed, I would like to get some guidance on how to it right; my guess is that I need to update MetadataManager.py to detect the right configuration key, and then boilerplate.py to insert the <link rel=canonical> markup in the <head>.
Is that about right? any other thing I should pay special attention to?

You got it right, only additional thing to do is update the docs with the
new key. Might also want to add a new macro for the value; the function for
that is also in MetadataManager.
I recommend "Canonical URL" for the key.
On Mar 20, 2017 06:59, "Dominique Hazael-Massieux"<EMAIL_ADDRESS>wrote:

ReSpec allows to set a canonical URL
https://github.com/w3c/respec/pull/938 for specs, and as discussed in
spec-prod
https://lists.w3.org/Archives/Public/spec-prod/2017JanMar/0008.html, I
would like to bring the same feature to Bikeshed.
Since that'd would be my first code contribution to bikeshed, I would like
to get some guidance on how to it right; my guess is that I need to update
MetadataManager.py to detect the right configuration key, and then
boilerplate.py to insert the  markup in the .
Is that about right? any other thing I should pay special attention to?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tabatkins/bikeshed/issues/959, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAprWDPMneT0XENf9kmMeVn0QX-ab2BXks5rnlwCgaJpZM4MiRso
.


Darcy.rayner/step function support poc

What does this PR do?
Adds support to detect step function events, and inject relevant metadata into X-Ray and Datadog traces
Motivation
Testing Guidelines
Additional Notes

Codecov Report

Merging #29 into master will increase coverage by 0.29%.
The diff coverage is 91.66%.

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
+ Coverage   89.95%   90.25%   +0.29%
==========================================
  Files          18       18
  Lines         468      513      +45
  Branches       72       84      +12
==========================================
+ Hits          421      463      +42
- Misses         27       29       +2
- Partials       20       21       +1

Impacted Files
Coverage Δ

src/trace/constants.ts
100% <100%> (ø)
:arrow_up:

src/trace/trace-context-service.ts
81.81% <50%> (-3.9%)
:arrow_down:

src/trace/listener.ts
87.5% <50%> (-5.61%)
:arrow_down:

src/trace/context.ts
97.32% <97.56%> (+1.48%)
:arrow_up:

Continue to review full report at Codecov.

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


Fix fan_init test

Description:
Renamed tests/components/fan/__init__.py to fan/test_init.py, since it includes a test for the base FanEntity. Also updated it to conform with the current fan model.
Checklist:

[ ] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

All folders need to have a __init__.py file for PyTest to discover tests.


Discover extension modules with different suffixes than the current interpreter's

TODO:

[ ] Write new tests or update the old ones to cover new functionality.
[x] Update doc-strings where appropriate.
[ ] Update or write new documentation in packit/packit.dev.

For an edge case where the current interpreter version differs from that of the rpm library, and where that library's extension suffixes are included in the _rpm.so filename (e.g. _rpm.cpython-39-x86_64-linux-gnu.so on RHEL 9.x), add a new reload_module method that finds the matching .so and imports it directly.
The basic operation is:

gather a list of valid extension suffixes for the rpm library's interpreter, via importlib.machinery.EXTENSION_SUFFIXES
try the import but catch any ModuleNotFoundError
on ModuleNotFoundError, loop through the suffix list, looking for a matching {module}.{suffix}.so on disk
when a match is found, import it as rpm.{module} directly by path

This is probably naive or unwise in some way, but I wanted to take a stab at it so I can use rpm-shim in on RHEL 9.x systems at my company without needing to use the sudo ln workaround
Example from python3.11 on el9 (Oracle 9.x):
DEBUG:rpm-shim:Collected sitepackages and extension suffixes for /usr/libexec/platform-python:
{'sitepackages': ['/usr/local/lib64/python3.9/site-packages',
                  '/usr/local/lib/python3.9/site-packages',
                  '/usr/lib64/python3.9/site-packages',
                  '/usr/lib/python3.9/site-packages'],
 'suffixes': ['.cpython-39-x86_64-linux-gnu.so', '.abi3.so', '.so']}
DEBUG:rpm-shim:Collected sitepackages and extension suffixes for /usr/bin/python3:
{'sitepackages': ['/usr/local/lib64/python3.9/site-packages',
                  '/usr/local/lib/python3.9/site-packages',
                  '/usr/lib64/python3.9/site-packages',
                  '/usr/lib/python3.9/site-packages'],
 'suffixes': ['.cpython-39-x86_64-linux-gnu.so', '.abi3.so', '.so']}
DEBUG:rpm-shim:Collected sitepackages and extension suffixes for /usr/bin/python3.11:
{'sitepackages': ['/usr/local/lib64/python3.11/site-packages',
                  '/usr/local/lib/python3.11/site-packages',
                  '/usr/lib64/python3.11/site-packages',
                  '/usr/lib/python3.11/site-packages'],
 'suffixes': ['.cpython-311-x86_64-linux-gnu.so', '.abi3.so', '.so']}
DEBUG:rpm-shim:Trying /usr/local/lib64/python3.9/site-packages
DEBUG:rpm-shim:Trying /usr/local/lib/python3.9/site-packages
DEBUG:rpm-shim:Trying /usr/lib64/python3.9/site-packages
DEBUG:rpm-shim:Module rpm._rpm not found in /usr/lib64/python3.9/site-packages/rpm, looking for alternative filenames trying valid extension suffixes
DEBUG:rpm-shim:Trying to load rpm._rpm from /usr/lib64/python3.9/site-packages/rpm/_rpm.cpython-39-x86_64-linux-gnu.so
DEBUG:rpm-shim:Loaded rpm._rpm from /usr/lib64/python3.9/site-packages/rpm/_rpm.cpython-39-x86_64-linux-gnu.so
DEBUG:rpm-shim:Reloaded rpm
DEBUG:rpm-shim:Import successfull

Thanks for the feedback! Going through it now. I'm happy to add testcases if this is ultimately seen as viable

Ok, I reworked this to just loop through *.cpython*.so on ModuleNotFoundError exception. If the glob matches any binary extensions, I just load them. One benefit of this is I no longer need any of the suffix stuff.

While this is more straightforward, I think I liked the previous solution better. Doing it this way it could attempt to load unnecessary modules and that could cause problems, I can imagine a situation where in an unversioned sitepackages path (I think Debian/Ubuntu use those) there are binary modules in multiple versions and loading all of them would be impossible. Getting module name from the exception and constructing filename by trying valid suffixes seems like a better way.

While this is more straightforward, I think I liked the previous solution better. Doing it this way it could attempt to load unnecessary modules and that could cause problems, I can imagine a situation where in an unversioned sitepackages path (I think Debian/Ubuntu use those) there are binary modules in multiple versions and loading all of them would be impossible. Getting module name from the exception and constructing filename by trying valid suffixes seems like a better way.

yeah, definitely a drawback to this method. The alternative, I think, would be to do something like reload() in a loop, and break when either:

reload() succeeds, or
the helper has exhausted all binary extensions, and reload() is still failing

If that sounds good (or if there's a better way) I'm happy to go with it.

The alternative, I think, would be to do something like reload() in a loop, and break when either:

reload() succeeds, or
the helper has exhausted all binary extensions, and reload() is still failing

If that sounds good (or if there's a better way) I'm happy to go with it.

Yes, that's what I had in mind - loop until there are no more recoverable ModuleNotFoundError exceptions or until it's not possible to recover.

Yes, that's what I had in mind - loop until there are no more recoverable ModuleNotFoundError exceptions or until it's not possible to recover.

Alright, super! Working on it now

These are all style suggestions, the code looks fine 👍

Alright, thanks for the feedback! I've taken all the suggested changes now

Alright, thanks so much for your review and feedback. I love this little shim and I'm so happy to be able to contribute. As an internet rando, I don't actually have write access, so I can't do the merge step myself.

Only some test cases are missing, but I'll try to come up with some, unless you want to do it yourself.

I'm not familiar with your test framework, but I can think of a few basic designs. The obvious one is the positive test case, on rhel9, install python3.11, create a virtualenv, then import rpm. It might also be good to test that the binary extension import by path works when multiple extensions are used. Can't do that on rhel9 which only has one. But on rhel8 you could create that condition by running sudo rm -f /usr/lib64/python3.6/site-packages/rpm/_{rpm,rpmb,rpms}.so. The .cpython-36m-x86_64-linux-gnu.so files would remain and then you'd be able to test your loop. I did this manually and it works.
But seems like it might be good to have some negative test cases:

if _rpm*.so are absent, import should fail
if _rpm*.so are present, but have invalid suffixes for the original interpreter (probably never occurs in the real world but a good test that things fail)

Alright, thanks so much for your review and feedback. I love this little shim and I'm so happy to be able to contribute. As an internet rando, I don't actually have write access, so I can't do the merge step myself.

I will merge the PR once you squash the commits into one (or more if you feel that's necessary, but I think one is fine). Also, could you please follow the guidelines when doing it? :slightly_smiling_face:

I'm not familiar with your test framework

There isn't really any framework, just a script that imports rpm, either in a virtualenv or directly on a system.

The obvious one is the positive test case, on rhel9, install python3.11, create a virtualenv, then import rpm.

Yes, that's what I had in mind, and it shouldn't be diffcult to modify existing test case to install and run Python 3.11.

It might also be good to test that the binary extension import by path works when multiple extensions are used. Can't do that on rhel9 which only has one. But on rhel8 you could create that condition by running sudo rm -f /usr/lib64/python3.6/site-packages/rpm/_{rpm,rpmb,rpms}.so. The .cpython-36m-x86_64-linux-gnu.so files would remain and then you'd be able to test your loop. I did this manually and it works.

Nice idea.

I will merge the PR once you squash the commits into one (or more if you feel that's necessary, but I think one is fine). Also, could you please follow the guidelines when doing it? 🙂

sure, will do!

The obvious one is the positive test case, on rhel9, install python3.11, create a virtualenv, then import rpm.

Yes, that's what I had in mind, and it shouldn't be diffcult to modify existing test case to install and run Python 3.11.

Ok, I'm happy to write tests. Just looking through the workflow now, the same test is run on all flavors of linux. How would you approach adding a test that only runs on one of them?

Ok, I'm happy to write tests.

Thanks!

Just looking through the workflow now, the same test is run on all flavors of linux. How would you approach adding a test that only runs on one of them?

There could be another environment variable that would be passed to the container and the scripts would react accordingly. Though technically for the simplest case of installing and running in Python 3.11 on RHEL9 (ubi9) it can be simply added to INSTALL_DEPS_CMD, tox should run for all interpreters present on the system.

Ok, I have this squashed and a couple scenarios added. Unfortunately (or really, fortunately) the scenario I set up with python36 reveals an issue. _rpms and _rpmb aren't being imported. Why not? Because no exception is raised when they fail. Here is /usr/lib64/python3.6/site-packages/rpm/__init__.py:
# try to import build bits but dont require it
try:
    from rpm._rpmb import *
except ImportError:
    pass

# try to import signing bits but dont require it
try:
    from rpm._rpms import *
except ImportError:
    pass

Nothing is raised, so nothing is caught, and then nothing is helped.

Ok, I have this squashed and a couple scenarios added.

Excellent, thanks. The commit message title is a bit long, but that's ok. It shouldn't end with a dot though.

Unfortunately (or really, fortunately) the scenario I set up with python36 reveals an issue. _rpms and _rpmb aren't being imported. Why not? Because no exception is raised when they fail. Here is /usr/lib64/python3.6/site-packages/rpm/__init__.py:
# try to import build bits but dont require it
try:
    from rpm._rpmb import *
except ImportError:
    pass

# try to import signing bits but dont require it
try:
    from rpm._rpms import *
except ImportError:
    pass

Nothing is raised, so nothing is caught, and then nothing is helped.

Ok, it's a bit hackish, but I suppose we could do something like sed -i 's/^    pass/    raise/' /usr/lib64/python3.6/site-packages/rpm/__init__.py after installation.

Ok, it's a bit hackish, but I suppose we could do something like sed -i 's/^ pass/ raise/' /usr/lib64/python3.6/site-packages/rpm/__init__.py after installation.

Yeah, and this is still an improvement, since none of the existing python-rpm versions require this. All old versions include the unversioned .so files, and all new versions have just one extension, _rpm, which works. But still, it's agonizing to be so close to a robust solution and then have to settle.
One thing I toyed with was modifying importlib.machinery.EXTENSION_SUFFIXES. If you make that the union of the list from both interpreters, you can use pkgutil to inspect all modules cleanly:
>>> importlib.machinery.EXTENSION_SUFFIXES
['.cpython-36m-x86_64-linux-gnu.so', '.cpython-311-x86_64-linux-gnu.so', '.abi3.so', '.so']
>>> [print(i) for i in pkgutil.iter_modules(['/usr/lib64/python3.6/site-packages/rpm'])]
ModuleInfo(module_finder=FileFinder('/usr/lib64/python3.6/site-packages/rpm'), name='_rpm', ispkg=False)
ModuleInfo(module_finder=FileFinder('/usr/lib64/python3.6/site-packages/rpm'), name='_rpmb', ispkg=False)
ModuleInfo(module_finder=FileFinder('/usr/lib64/python3.6/site-packages/rpm'), name='_rpms', ispkg=False)
ModuleInfo(module_finder=FileFinder('/usr/lib64/python3.6/site-packages/rpm'), name='transaction', ispkg=False)

So you could use that to load _rpmb and _rpms dynamically. But you would have to assume that all modules should be imported. It's really too bad the actual loader machinery doesn't care what's in EXTENSION_SUFFIXES. If it did, we'd be home free. It's clear python just does not want you to use anything but native suffixes, haha.

Ok, let me merge this. Thanks again for your contribution.

Ok, let me merge this. Thanks again for your contribution.

My pleasure, thank you so much for taking this change, and for walking me through your process


Fix newline addition in create function codeaction and Improve Abstract Code Action Test

Fix newline addition in create function codeaction and Improve Abstract Code Action Test
Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues.

Fixes #
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

@malinthar Shall we resolve the conflicts

Done


web: remove security headers

This reverts changes from #3583 due to issues it causes in #4246
From the original PR:

This configuration for the headers is very unrestrictive, while still meeting most compliance frameworks and industry best practices. They should not interfere with any functionality in Prometheus (and did not in my testing).

This does not seem to hold true. Maybe we just need to set yet another set of headers when serving our JS files? I don't know and the original PR didn't go into any detail what those headers actually do and how they help.
Given they were not addressing an imminent problem and are breaking things in the current state, reverting them seems to be the best solution for now.
@eavalenzuela if you can shed some lights on this or have a solution to fix this quickly, that'd be great.

yeah I think it was more like "nice to have" PR.
I will try to be more strict on the use cases and request more details on how and why we need the changes.
LGTM on green

:+1:

I do think that security is out of prometheus scope and that those headers should be managed at the reverse proxy level.

@roidelapluie yep I don't think these are considered out of scope either, but just need to be more careful so we don't brake existing users.
Just will be more careful requiring more  details what  is the security issue and how it solves it before merging the PR.


I can't install this blog? error logs

I just tried to test this out, but I ran into the below problems, not sure how to resolve this.
While building the application:
client/compatibility/bower_components/jquery-sortable/source/example.html:1:
bad formatting in HTML template
client/compatibility/bower_components/medium-editor/src/wrappers/end.js:2:5:
Unexpected token )
client/compatibility/bower_components/medium-editor/src/wrappers/start.js:16:3:
Unexpected end of input
client/compatibility/bower_components/blueimp-tmpl/js/compile.js:1:15:
Unexpected token ILLEGAL
client/compatibility/bower_components/jquery/src/intro.js:46:3: Unexpected
end of input
client/compatibility/bower_components/jquery/src/outro.js:1:17: Unexpected
token )
client/compatibility/bower_components/jquery-sortable/source/css/bootstrap-switch.css:
missing '{' near line 2:1
client/compatibility/bower_components/jquery-sortable/source/css/vendor.css:
missing '{' near line 3:1

Can't replicate this. Are you on Windows by any chance?

I am using mac with terminal

@leungcheukfai Are you on 1.2? Can you clone this repo and try it again on master?


feat: background for all pages

Description
This PR resolves PADV-1609
Change log

Added background pattern for all pages.

[!NOTE]
Dashboard image is being loaded through MFE settings.

Visual results

How to test
Clone the  MFE
     git clone <url>

Install the packages 📦.
     npm i

Start project.
     npm start

Finally, go to http://localhost:1990 and check all pages to see the background on it.

@01001110J please don't forget to configure the dashboard image in stage and prod to mark as done the ticket


Adding Speed and Sight as options to give in class and subclass

So I was wondering if you can make it so that Classes and Subclasses has the option of allowing the character to gain speed at a certain level. An example would be monk where you can make it so that the monk has an increase of speed directly from the class.

Theres also some things like Sea Elf's "You have a swimming speed equal to your walking speed" from the Monsters of the Multiverse update of the races. I know the most common way of doing it it via setting those movement speeds equal to walking speeds via active effect.


Hi

Hi, when will the dota nobling update be released?

On the 29th
Now seriously, I am infrequently working on it.
Whenever I get back to DOTA, the universe is telling me to stay away.
If it's not the cancer, it's covid + flu combo pinning me down for 6 freaking weeks.
All good now. Promised an update in the winter. Did not specify which winter.
It is still winter over here.
On the technical aspect of it, I can no longer use items_game.txt in -language based mod,
without VAC dangerous dll patching or hash collision for config files.
But no worries, old-fashioned resource-replacements still works fine.
Disabling taunts has proven a bit difficult to disable - more and more are bundled in the hero model file, behind custom compression format with preloading.
I have finally worked out the format and an automatic method of patching the taunts, so it won't take much longer. Hopefully. Pray for me.

Thanks, I'll wait, I'm very glad to hear that I didn't abandon the project!!! @AveYo

I have a question
Im using a bat file with these launch options
something makes my game freeze in middle of match sometimes
does anyone know which one should i remove to fix my problem?
-high -nobreakpad  -novr -nojoy -disablehangwatchdog -noloaderlockprobe  -dx11renderthreadstack  -mainthreadpriority 1 -novid -mapdota -tempcontent -forcepow2dxt -maxtextureres 256 -oldtexturestreaming -swap_chain_as_is +fps_max[0] -noaafonts -nofocus -novr -nohltv -nojoy -uselocalweb -disablehangwatchdog -condebug -conclearlog +map_enable_background_maps 0 -onethreadpool -threads 4 -disallowhwmorph
its all my launch options

holly cow that's everything just stuffed in there for good measure
historically, -high will cause freezes if the system is not 100% stable or there's concurrent cpu usage. you're also using -mainthreadpriority 1 which is like above high
-threads is a big no-no (never personally recommended it)
remove all of them, and maybe keep -novid -forcepow2dxt -maxtextureres 256 -oldtexturestreaming -swap_chain_as_is +map_enable_background_maps 0 if you're on a potato

does it work now? how to fix it correctly?
Use this patcher https://github.com/Wolf49406/Dota2Patcher
After that run nobling mod.

Open file gameinfo.gi by Notepad++ programm.
File gameinfo.gi is in directory
\Steam\steamapps\common\dota 2 beta\game\dota
and
Change line 39 to
Game dota_tempcontent
and line 40 to
Mod dota_tempconten
Don't forget to save changes.
It should work then.

WORKING, THX<3

@WishmasterZero VAC: hmm, interesting.

waiting room 🚀

@WishmasterZero Hi, is Wolf49406's patcher being updated for this?? Cause it seemed like the required changes are different now than when he first put that out. I'm following instructions to the letter and it's not working for me, so I thought Valve broke it again and we needed new bytes to patch in client.dll. If it's something else I'm doing I would love to get it working - is "-language tempcontent" correct for launch options, by the way?

@gnatdagnat It's just -tempcontent

@gnatdagnat It's just -tempcontent It might stop working after dota updates. You just revert patch and then apply it again and it works.

I'm pretty sure -tempcontent does nothing now. I believe it was AveYo who said in another issue thread that -tempcontent has been completely removed by Valve so that shouldn't be the solution. Plus I have tried it anyway and it did not fix.
I've been attempting reverting/applying patch, verifying game files and re-editing my gameinfo.gi, etc and nothing gets no-bling working.  I don't know what could be wrong.
Thanks for the input though.

@gnatdagnat When you edited gameinfo file, did you click on save icon in Notepad++ It doesn't save automatically if you just close it. And use -tempcontent
Step 1 download https://github.com/Wolf49406/Dota2Patcher/releases/latest and run it. Chose either option 1 or 4
Step 2 run No-Bling-builder.bat
Step 3 Add lines to gameinfo.gi file in \Steam\steamapps\common\dota 2 beta\game\dota using Notepad++
line 39
Game dota_tempcontent
and line 40
Mod dota_tempcontent
Be sure to save changes there's save icon at the left right.
Step 4 add -tempcontent to dota launch options.

@WishmasterZero
This is a bit embarrassing - I was looking at my Phoenix every time I tested it, which should be fine as I have some immortals on that hero which should be changed by no-bling, but it seems like some of the effects are just not being turned off properly. After looking at several other heroes it looks like the mod is functioning.
I was in fact doing everything right, including saving my gameinfo edit - I use n++ all the time....  I'm glad to know the community can keep the mod working even without the big patch from developer :)

@AveYo Any updates, master?

когда обновление?

On the 29th
Now seriously, I am infrequently working on it. Whenever I get back to DOTA, the universe is telling me to stay away. If it's not the cancer, it's covid + flu combo pinning me down for 6 freaking weeks. All good now. Promised an update in the winter. Did not specify which winter. It is still winter over here.
On the technical aspect of it, I can no longer use items_game.txt in -language based mod, without VAC dangerous dll patching or hash collision for config files. But no worries, old-fashioned resource-replacements still works fine. Disabling taunts has proven a bit difficult to disable - more and more are bundled in the hero model file, behind custom compression format with preloading. I have finally worked out the format and an automatic method of patching the taunts, so it won't take much longer. Hopefully. Pray for me.

Hey mate, what's going on with this update? I see that you're active on GitHub and also see people trying to make other download a cheat tool to make the necessary changes for NoBling to work.
There are a lot of people who depend on NoBling to enjoy Dota 2, so could you please push an update for this beloved mode, and make our day. I would really appreciate it.


Add better logging for modules installed/not installed

When installing ipykernel we've found that plenty of users do not install ipykernel.
I believe this is because pip/conda doesn't exist on the user machines.
Suggestion is to add better logging to track this (part of the Jupyter extension OKR to improve kernel startup).
Requirements:

When a package is not installed log why it was not installed, today we don't know whether its because pip is missing or installation actually failed.

We no longer install ipykernel anymore, hence closing as stale.


Feature UPDATE js src

EX: You can overwrite your jQuery version only updating the prop src

KeepAlive

Also please update readme :-)

Ok. I'll add your indications this week @jakubkottnauer.

I think it will solve the issue https://github.com/blueberryapps/react-load-script/issues/6

@andresin87 Hi. Please what is the real world application of this?


same file as ovrd_params but works with json and cfg

step1 - I have created a script that works as ovrd_params.py but instead pf loading from csv file, loads from json file and updates the relevant directories.
TODO - integrate that file into ./build.py and remove ovrd_params_lson.py
 ./scripts/ovrd_params_json.py -dut core_rrv -cfg mini_rv32e

If you dont see any value with this PR at this point, you can close this PR.
We can always come back and visit this if you want


Fix #53

Strange php 7.4 converts the id to string in the CI, here in my local env:
$ php -v
PHP 7.4.10 (cli) (built: Sep  1 2020 16:52:39) ( ZTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

$ php -r "var_dump((object) [ 'id' => 1 ]);"
object(stdClass)#1 (1) {
  ["id"]=>
  int(1)
}

Not, actually. But since the testToArray doesn't fail, the SQLServer is returning an int to 'id'. Asking it for an object shouldn't change the type of that column. But I know nothing about SQLServer, so...

Weird, can you maybe add a lighter test case?

Do you want to add another constant or it's good to merge?


compact: if compaction didn't run for a while, it seems to need more and more local disk space

Thanos, Prometheus and Golang version used:
# thanos --version
thanos, version 0.34.1 (branch: HEAD, revision: 4cf1559998bf6d8db3f9ca0fde2a00d217d4e23e)
  build user:       root@61db75277a55
  build date:       20240219-17:13:48
  go version:       go1.21.7
  platform:         linux/amd64
  tags:             netgo

Object Storage Provider:
filesystem
What happened:
As a consequence of #7197, my compact didn't run for like half a month and therefore a considerably amount of resolution 0 level 1 buckets piled up.
Once I restarted it, and despite some 60GB of local disk space being available, it soon entered it's silent failed-but-idle state again, once more because of not enough disk space.
I've had the same already a few month earlier, where I've then already had to increase the disk space to allow compact to run through, and this time I had to increase it even more.
It seems to me, that this situation comes from a rather unfortunate ordering of how the compaction goes on. It seem it first wants to do all level 2 buckets, then all level 3, then the ones with lowered resolution and so on.
This means of course, that it will need not only more space on the remote storage, but I even got the feeling that e.g. for creating all the level 3 with resolution 300000 it first downloads all the level 3 with resolution 0, is that right?
Especially the latter would of course mean, that the longer compact had’t run, the more local space it needs.
What you expected to happen:
Doing everything a bit more space-conscious, for example:

For the local storage, download only those buckets of the previous level/resolution that are needed to generate one bucket of the next level/resolution. Once that is created, upload it, remove the local buckets and go on (at the same level) with the next time period.
For the remote storage, don't even upload any intermediate levels/resolution, if these are anyway going to be replaced by higher levels. After my compact hadn't run or a while, it generated large amounts of level 2 and 3 buckets, which were soon after replaced by the same data at level 4 (and store will then use only these). So there's a lot of level 2/3 duplicates which are not only needlessly uploaded, but are then also retained for - per default 48h - without reason.
Even if it would be to complicated to prevent the needless upload in the first place, it would at least be nice, if such buckets would be somehow marked as "don't use", so that store isn't even toughing them and compact could deleted them immediately once they're no longer needed for compaction.

Cheers,
Chris.

Have you seen https://github.com/thanos-io/thanos/issues/3405? I think it talks about the same problems.

@GiedriusS Indeed it seems to be the same (or at least cover the same area)... and I hadn't spotted it when skimming through the existing reports.
Can you mark this a duplicate of the other?


feat: add a complex example with troubleshooting

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #108
Special notes for your reviewer:
Release note:

Adds a description for a complex setup using a microservice architecture and multiple component structure.

I do have a diagram. Switch to rendered view it should be visible. Or do you mean more diagrams? 🤣

Hi @Skarlso , I'm just walking through the complete thing. One thing I discovered at the beginning is that the repo https://github.com/open-component-model/podinfo is not maintained according to OSPO requirements. I guess we need to have some basic things maintained, some footer, header, license blabla to fulfill the basic specs. Otherwise the OSPO bot will create nice issues :-)

That's interesting. I created it through the sap template.

@Skarlso , yes, that is totally correct, but the template still misses certain things.Please check https://github.com/open-component-model/internal-processes/blob/main/creating-a-new-repo-process.md

@Skarlso , I saw Jens also did some work in https://github.com/open-component-model/podinfo/pull/10 which I just merged. Maybe now all steps are done. Just check :-)

@Skarlso , for Next, we transfer this component to a location of your choice. For example: ocm transfer component ./component-archive ghcr.io/skarlso/demo-component shouldn't we offer a public repo that anybody can write to (and that we clean up regularly) or at least mention that this needs to be an OCI registry. Using yours gives a 403 and "location of your choice" may require a bit of more explanation.

@Skarlso , for Next, we transfer this component to a location of your choice. For example: ocm transfer component ./component-archive ghcr.io/skarlso/demo-component shouldn't we offer a public repo that anybody can write to (and that we clean up regularly) or at least mention that this needs to be an OCI registry. Using yours gives a 403 and "location of your choice" may require a bit of more explanation.

You shouldn't be using mine. :P You should be using your own. :)

I'm point this out here:

Next, we transfer this component to a location of your choice. For example:

@Skarlso another thing: https://github.com/open-component-model/ocm-website/blob/add-complex-scenario/content/en/docs/guides/complex-component-structure-deployment.md?plain=1#L658 does not to be there. And the sentence "It will use this dependency graph to lookup resource data in the right component version." in line 663 mentions "this dependency graph". Which? The one in the image or something else?

@morri-son I think that sentence was left there in error when I was moving around some headings. I'll remove that.
The image will resolve correctly on the website. It's under static/images

looks good now from my side

Oh, also, I'll replace the skarlso/demo thing then with something like .


pull request for e2e test at 02/04/2017 07:26:06

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Fix highlight.js highlighting with language specified code blocks

Fixes #102
Before this commit the following would both render identically with go formatting as it was using highlight.js autodetection:

```go
func main() {
    fmt.Println("Hello, 世界")
}
```
```plaintext
func main() {
    fmt.Println("Hello, 世界")
}
```

After this commit the latter will correctly render as plaintext.

OK, the code looks good, but now there are three failing tests. Please run the tests locally and fix them!
Please make sure to add a unit test where Language is null or empty to cover the new functionality.
[Fact]
public void RenderCodeBlockWithoutLanguage()
{
	const string value =
@"```
public bool IsMudBlazorCool()
{
	return true;
}
```";

	const string expected = ".....";

	using var fixture = CreateFixture(value);
	fixture.MarkupMatches(expected);
}


Ensure files are compiled as part of CI

Part of https://github.com/google-github-actions/auth/issues/39
@bharathkkb lmk if this is what you were thinking


Tournaments: Don't allow the | separator in names

Fixes an issue where chat can fail to load in a room where a tournament with a | in the custom name has recently ended.

Pullreq the error message change separately, once you agree on it.


PHP 8.2 compatibility

Pull request type

Jira Link:  none
GH issue: #65

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[x] Other (please describe): update compatibility for PHP 8.2, mainly for dynamic props

How to test this PR

With PHP 8.2 you can execute composer test
What is the new behavior?

Other information
What i did:

Adding PHPstan for supporting static code analysis for upgrading to PHP 8.2
updating the GitHub actions workflow
removing composer.lock, allowing to support wide range of PHP version (this packages still support 7.3). The dependencies management is via composer.json
adding attributes declaration, avoiding the dynamic attributes

LGTM


Valine comments engine fails to load

From browser console:
chunk-libs.9b3ced64.js:48 ReferenceError: Valine is not defined
    at o (post.bbd5d2f0.js:1)
    at post.bbd5d2f0.js:1
    at Ne (chunk-libs.9b3ced64.js:48)
    at Me (chunk-libs.9b3ced64.js:48)
    at Array.Ht.t.__weh.t.__weh (chunk-libs.9b3ced64.js:48)
    at st (chunk-libs.9b3ced64.js:48)
    at lt (chunk-libs.9b3ced64.js:48)

App ID and Key are valid, and I ran npm install -s valine
Comments section fails to load aside from heading

Valine core files are injected when building with Hexo. No need to npm install the package. Check your config file, see if you have enabled Valine.

@TriDiamond pretty sure I have--repo link is here if you want to check

@TriDiamond pretty sure I have--repo link is here if you want to check

You should upgrade to the latest version of the theme. Run: npm update hexo-theme-aurora

@TriDiamond updating with npm did not change the minimum dependency version--I manually changed the value to 1.5.5^ and ran it again, and while it definitely did grab 1.5.5 (i think it did before too) the same issue is happening.

Show me your _config.aurora.yml at root directiory.

@TriDiamond

https://github.com/makinbacon21/thomasmak.in-blog/blob/master/_config.aurora.yml

Should be fixed in the latest version. Thanks!


Refactor "EntryOptionPlugin.js"

What kind of change does this PR introduce?
Refactoring EntryOptionPlugin.js

Did you add tests for your changes?
This is refactoring. So we don't need to add new tests.
Summary
I fixed indent and remove unneeded else statement

Does this PR introduce a breaking change?
No, it doesn't

Thanks


Builds fails on OSX aarch64

Host
Tell us about your Host OS (the machine you're building burrito apps on)
Host OS: OSX
Host CPU: Apple Silicon
Please run zig version in your Burrito project directory and write the version here:
0.11.0
Please run elixir -v in your Burrito project directory and write the version here:
1.15.6
Target
Host OS: OSX
Host CPU: aarch64
Host LibC and Version gnu

Added Burrito to my project as per README.
Config provided :

  def releases do
    [
      snappy: [
        steps: [:assemble, &Burrito.wrap/1],
        burrito: [
          targets: [
            macos: [os: :darwin, cpu: :aarch64],
            linux: [os: :linux, cpu: :x86_64]
          ]
        ]
      ]
    ]
  end

Run env MIX_ENV=prod mix release.  This generates the binary and seems fine.
execute /Users/dev/snappy/burrito_out/snappy_macos and it immediately errors
Based on the output, it looks like maybe it's not dealing with the directory Application Support (note the space) properly, though I'm just guessing at this point.
  ~/dev/snappy   main *1 ?2 ❯ /Users/dev/snappy/burrito_out/snappy_macos                                                                                 55s  02:48:21 pm
sh: /Users/dev/Library/Application: No such file or directory
sh: line 0: exec: /Users/dev/Library/Application: cannot execute: No such file or directory

I've used bakeware with the same project as an experiment and it builds and executes without an issue.
Happy to contribute to solutions if anyone can tell my why it borking.  Thanks

Does this happen with the example_cli application in the repository?
I can't seem to reproduce this on my M1 MacBook Pro, what are the app's mix dependancies?

Thanks for reply.  I was able to run the example app successfully, so it looks like it's something in my application.  It runs fine as a plain elixir app, but fails when using via burrito.
It's consuming https://github.com/mechanical-orchard/playwright-elixir which tries to open an instance of Chromium and I suspect that's where it's falling over now.
Will have to do more digging to figure out what's different in a burrito package that makes it fail to produce the correct path 🤔


Util for running cmds on local/cluster

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#698  👈
#697 : 1 other dependent PR (#678 )
main

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

Join @carolineechen and the rest of your teammates on  Graphite

Merge activity

Apr 22, 4:46 PM EDT: @rohinb2 started a stack merge that includes this pull request via Graphite.


Less parsing error for using parametric mixins

Originally reported at https://github.com/microsoft/vscode/issues/68324
This generates a warning:
.foo  {
  .bar ();
}

Whereas this is fine:
.foo  {
  .bar();
}

Both compiles with Less.
@matthew-dean If you do have time, would you mind taking a look? Think your PR already solved the original issues' first two cases, would be great if the last case can be supported too.

@octref If I can find the time, for sure!


feat(chore): generate a detailed changelog

changelog where we have issue description, commit title, details about the commit, commiter
GH-10
Description
Added new package git-release-notes to generate changelog
Fixes #10
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Intermediate change (work in progress)

Checklist:

[ ] Performed a self-review of my own code
[ ] npm test passes on your machine
[ ] New tests added or existing tests modified to cover all changes
[ ] Code conforms with the style guide
[ ] API Documentation in code was updated
[ ] Any dependent changes have been merged and published in downstream modules

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Change of Project Ownership via Rest-API

As far as I know the latest REST-API still does not support the change of project ownership.
It would be huge help to have that function implemented.

Do we have an update here? Still Im not able to find an option to change the project ownership using Rest-API.

The API gives not even the possibility to get the Project Owner.
It looks like the HTML version may provide the information, at least:
Permissions Methods
<tsResponse>   <permissions>     <project id="project-id" name="project-name" />       <owner id="project-owner-id" />     </project>     <granteeCapabilities>       <user id="user-id" />       <capabilities>         <capability name="capability" mode="Allow-or-Deny" />         <capability name="capability" mode="Allow-or-Deny" />         ... additional capabilities ...       </capabilities>     </granteeCapabilities>     <granteeCapabilities>       <group id="group-id" />       <capabilities>         <capability name="capability" mode="Allow-or-Deny" />         <capability name="capability" mode="Allow-or-Deny" />         ... additional capabilities ...       </capabilities>     </granteeCapabilities>     ... additional grantee capability sets ...   </permissions> </tsResponse>

I confirmed this is still on the backlog for the REST API to add the capability, then TSC could be updated to expose it. Internal issue 1198685; no ETA yet for when this might happen.

closing as a duplicate of  #157

This is a long pending ask and is much needed -
Why >
People create project in tableau self service and once they leave organization it leave a lot of orphaned projects behind them and some one manually need to change it . We really wanted to assign all the orphaned Project owner to some one who exist in company programmatically through API.


Apexmalhar 2274.merge pr490

This is just #490 with merge conflicts resolved.
It looks good to me, so I'll merge it in a day or two unless I hear any additional requests for change.
@tushargosavi @PramodSSImmaneni Please take a look

@tweise Fixed commit message, please merge

@amberarrow I don't have time to review this PR. I also don't see the the original PR was signed-off. It should be completed by the original reviewers.
@tushargosavi please take this up.

@tushargosavi Addressed review comments, please merge

@amberarrow looks fine to me, I will merge is shortly.

@tushargosavi Fixed checkstyle errors

@amberarrow Can you squash the commits into single commit?

@amberarrow @tushargosavi closed due to inactivity


[REQUEST] Job template

Please add a feature to save job as template that can be downloaded from the web dashboard and also include a button to upload a job template.
This is very useful.

This should save all the info of the job. Proxy sources,
hit output settings,
config settings can be ignored in case the config is not present in the userData.
Wordlist too can be ignored but those first two are essentially important.


Error calling method from signal 'animation_finished': 'AnimationPlayer::_on_AnimationPlayer_animation_finished': Method not found.

Godot version:

Godot Mono Stable 3.1.1
OS/device including version:

Intel HD Graphics 4000 1536 VRAM
MacOS 10.14 Mojave
Issue description:

6 Errors after building the project, look:

The expected was: when finishing this animation:
https://media.giphy.com/media/Vg4zz8fkSZEfFRHryS/source.mov
Do a blur in animation then change scene then a blur out animation, nothing of that happens
and put me an error saying:   Error calling method from signal 'animation_finished': 'AnimationPlayer::_on_AnimationPlayer_animation_finished': Method not found.
See this:
https://youtu.be/LtVO03F3_48
Steps to reproduce:
Open the project and build it
Minimal reproduction project:

Mah Geim TresDe.zip(Dont judge the name)

Project contains only project.godot file

There's probably a typo somewhere.

where

Mah Geim TresDe.zip
The zip with all files

where

In the signal connection. It's connected to AnimationPlayer, which doesn't have a script.

and what should I put in the script

I guess you should read this: https://docs.godotengine.org/en/3.1/getting_started/step_by_step/signals.html
You need a proper method in the script.

thanks i will read it
ps: im starting with godot, i dont now much of godot

Well, if you have a problem with your project and you are not sure why, try asking on community channels first before creating issue on GitHub, to make sure it's actually a bug.

ok  I'm going to keep that in mind


How can i retrieve data using sql.....?

i am previously done it using data table........How can i fetch this data to  streamtable?  Here is my example:
<?php
$con = mysql_connect("localhost","root","aaaa");
$db = mysql_select_db("anyname",$con);

$sql = "SELECT `action_id` ,`prn`, `name`, `action` , `department` , `status`, `addedtime`  FROM `action_tbl` ; ";
$query = mysql_query($sql);
while($fetch = mysql_fetch_array($query))
{
$output[] = array ($fetch["action_id"],$fetch["prn"],$fetch["name"],$fetch["action"],$fetch["department"],$fetch["addedtime"],$fetch["status"]);
}

echo json_encode($output);
?>

You can use json api or add json object array in javascript tag in html. Sorry i don't know more about php.

Ok..... output of the above code is like this:
[["2","0000","name1","action sample","branch","2014-11-03 20:12:43","completed"],["6","0001","name2","sddf","branch","2014-11-04 10:16:31","pending"],["7","0004","name3","fgfghjk","branch2","2014-11-04 13:42:47","enquiry"],["15","0013","name4","dfsdf","branch3","2014-11-06 09:41:27","pending"]]

how can i fetch above data?

See my posts here:
https://github.com/jiren/StreamTable.js/issues/14


Fix getting text form array

Fix: #361

Codecov Report

Merging #403 into master will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #403   +/-   ##
=======================================
  Coverage   74.51%   74.51%
=======================================
  Files          58       58
  Lines        3834     3834
  Branches      693      693
=======================================
  Hits         2857     2857
  Misses        977      977

Impacted Files
Coverage Δ

src/yaml-support/tkn-yaml.ts
89.06% <100.00%> (ø)

Continue to review full report at Codecov.

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


v5 usePagination requires @emotion

When simply using the usePagination hook provided by MaterialUI, @emotion/styled and @emotion/react are mandatory dependencies, otherwise it will throw a Webpack build error:
Failed to compile.

<EMAIL_ADDRESS>Module not found: Can't resolve '@emotion/react' in '/Users/username/Documents/project/node_modules/@material-ui/styled-engine'

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

Does not compile unless @emotion packages are installed
Expected Behavior 🤔

I would expect to be able to compile without an exception since no styles are actually used or needed when using the hook.
Steps to Reproduce 🕹
Codesandbox to reproduce the isse
https://codesandbox.io/s/fluentui-use-paginate-7czwv?file=/src/components/Paginate/index.tsx
Steps:

Remove the @emotion packages
Compilation exception

Context 🔦

We're trying to use the new headless components (hooks) provided by MaterialUI, but without any styling requirements.
Your Environment 🌎

`npx @material-ui/envinfo`
System:
    OS: macOS 11.4
  Binaries:
    Node: 16.4.2 - ~/.n/bin/node
    Yarn: 1.22.10 - ~/.n/bin/yarn
    npm: 7.18.1 - ~/.n/bin/npm
  Browsers:
    Chrome: 91.0.4472.114
    Edge: Not Found
    Firefox: Not Found
    Safari: 14.1.1
  npmPackages:
    @material-ui/core: ^5.0.0-beta.0 => 5.0.0-beta.0
    @material-ui/private-theming:  5.0.0-beta.0
    @material-ui/styled-engine:  5.0.0-beta.0
    @material-ui/system:  5.0.0-beta.0
    @material-ui/types:  6.0.1
    @material-ui/unstyled:  5.0.0-alpha.39
    @material-ui/utils:  5.0.0-beta.0
    @types/react: ^16.9.0 => 16.14.11
    react: ^16.13.1 => 16.14.0
    react-dom: ^16.13.1 => 16.14.0
    typescript: ^4.1.2 => 4.3.5

Thanks for the report @MichielDeMey
Ideally we should move all hooks to the @material-ui/unstyled package, so that you don't need to depend on @material-ui/core.
@michaldudak should we do this? Depending on the @material-ui/core at this moment requires developers to install emotion too.

@mnajdova While I agree with all you said, I would like to raise a quick win opportunity. AFAIK the main issue of @MichielDeMey is that tree shaking is disabled in dev mode, usePagination imports core/utils, that imports SvgIcon, that imports, system, that import styled, that imports emotion => his codesandbox break. Now, we could do:
diff --git a/packages/material-ui/src/usePagination/usePagination.js b/packages/material-ui/src/usePagination/usePagination.js
index 4f15278cb1..561747a5e4 100644
--- a/packages/material-ui/src/usePagination/usePagination.js
+++ b/packages/material-ui/src/usePagination/usePagination.js
@@ -1,4 +1,4 @@
-import { useControlled } from '../utils';
+import { unstable_useControlled as useControlled } from '@material-ui/utils';

 export default function usePagination(props = {}) {
   // keep default values in sync with @default tags in Pagination.propTypes

and call it a day 😁.

@oliviertassinari I did verify that emotion is not bundled in the final release bundle due to tree shaking. 😉
Just additional download overhead for devs at this point. 😅

Same issue with useAutocomplete, we didn't have this problem in v4.

@michaldudak should we do this? Depending on the @material-ui/core at this moment requires developers to install emotion too.

Sure, seems like a pretty low hanging fruit. There is a few more components that could simply be moved to unstyled. I'll focus on these before taking on the next "big" one.


Customer profile and update form components refactor to use Context API

Description
refactored the files for customer profile and customer form to use context API
Type

[ ] This is a bugfix.
[ ] This is a new feature.
[ ] This is part of a feature.
[x] This is part of a refactor.

Organization

[x] Have you linked this pull request to a Trello card?
[x] Have you named the branch in the format of feature/describe_feature_or_change OR bug/describe_bug_this_is_fixing

Review

[x] Is this a work in progress?
[x] Is this ready to be reviewed?
[x] Have you added two reviewers to this pull request?

 Refactor front end to use context state management


PrefixUnusedValueWithUnderscore code fix

Can we do an all-occurrence fixer?

I think yes. Will try.

@dungpa it's desirable to use this base class http://source.roslyn.io/#Microsoft.CodeAnalysis.Workspaces/CodeFixes/FixAllOccurrences/BatchFixAllProvider.cs,21, which is not yet included even in 2.0.0-rc3 package https://dotnet.myget.org/feed/roslyn/package/nuget/Microsoft.CodeAnalysis.Features/2.0.0-rc3-61222-02 I think it's in 2.1.0-beta1, I doubt we should use it.

@dotnet-bot test this please

Urgh :) can we have a variant that actually renames it to just _ as well?

@isaacabraham easy :)

@isaacabraham

Sweeet :)

Just a question (I know it's not needed in this case): would it be possible to actually trigger a rename?

@forki the algorithm: 1. find a c#/vb code fix that does it 2. steal the implementation :)


[QUESTION] through.obj remove duplicate files using path

Because for https://github.com/thomas-darling/gulp-dependents/issues/12

Sorry, this is entirely a gulp question not a through2 one so you'll have to continue the conversation there. My guess would be that you should keep a list of files outside of the stream chain and within one of the streams in the chain be filtering out duplicates which you keep a record of in the list of files.
const files = {}

thing.pipe(through2.obj((f, _, cb) => {
  if (!files[f]) {
    files[f] = true
    this.write(f)
  }
  cb()
}).pipe(...)
...

or something like that (this is off the top of my head and likely the specific semantics are a little wrong cause I haven't had to author one for a few months! but hopefully you get the idea).

How to get path, just tell me
    let fileThing = through.obj(function (file: File, encoding: string, callback: (err?: any, data?: any) => void)     {
console.log("🚀 ~ file: plugin.ts ~ line 69 ~ fileThing", fileThing)

it showing lots of things

How to get path, just tell me
 let fileThing = through.obj(function (file: File, encoding: string, callback: (err?: any, data?: any) => void) {
console.log("🚀 ~ file: plugin.ts ~ line 69 ~ fileThing", fileThing)

it showing lots of things

Getting
🚀 ~ file: plugin.ts ~ line 69 ~ fileThing DestroyableTransform {
  _readableState: ReadableState {
    objectMode: true,
    highWaterMark: 16,
    buffer: BufferList { length: 0 },
    length: 0,
    pipes: null,
    pipesCount: 0,
    flowing: null,
    ended: false,
    endEmitted: false,
    reading: false,
    sync: false,
    needReadable: true,
    emittedReadable: false,
    readableListening: false,
    resumeScheduled: false,
    destroyed: false,
    defaultEncoding: 'utf8',
    awaitDrain: 0,
    readingMore: false,
    decoder: null,
    encoding: null
  },
  readable: true,
  _events: [Object: null prototype] {
    end: [Function: bound onceWrapper] { listener: [Function: onend] },
    prefinish: [Function: prefinish]
  },
  _eventsCount: 2,
  _maxListeners: undefined,
  _writableState: WritableState {
    objectMode: true,
    highWaterMark: 16,
    finalCalled: false,
    needDrain: false,
    ending: false,
    ended: false,
    finished: false,
    destroyed: false,
    decodeStrings: true,
    defaultEncoding: 'utf8',
    length: 0,
    writing: false,
    corked: 0,
    sync: true,
    bufferProcessing: false,
    onwrite: [Function (anonymous)],
    writecb: null,
    writelen: 0,
    bufferedRequest: null,
    lastBufferedRequest: null,
    pendingcb: 0,
    prefinished: false,
    errorEmitted: false,
    bufferedRequestCount: 0,
    corkedRequestsFree: CorkedRequest {
      next: null,
      entry: null,
      finish: [Function (anonymous)]
    }
  },
  writable: true,
  allowHalfOpen: true,
  _transformState: {
    afterTransform: [Function: bound afterTransform],
    needTransform: false,
    transforming: false,
    writecb: null,
    writechunk: null,
    writeencoding: null
  },
  _destroyed: false,
  _transform: [Function (anonymous)],
  _flush: [Function (anonymous)],
  [Symbol(kCapture)]: false
}


Compiler "failing" even though it is returning 0 for the case

I'm not sure if i have structured my driver wrong or something, but the program is failing tests even though when run individually, it is returning 0.

The tests failed are:
test_framework.basic.TestChapter1.test_valid/multi_digit
test_framework.basic.TestChapter1.test_valid/newlines
test_framework.basic.TestChapter1.test_valid/no_newlines
test_framework.basic.TestChapter1.test_valid/return_0
test_framework.basic.TestChapter1.test_valid/return_2
test_framework.basic.TestChapter1.test_valid/spaces
test_framework.basic.TestChapter1.test_valid/tabs

./test_compiler ./compiler --chapter 1 --stage parse
Where compiler is the rust binary i have copied target/release/<cratename> into the repository directory of these tests

information about the machine, if it's necessary

Thanks!
The test script invokes your compiler with the --codegen option first, before the source file name. Does your compiler driver expect --codegen to come last? That could  the issue you're seeing.

It does, i'll try restructuring it.

Thank you! After some unrelated bug fixes to the compiler, putting the option for the compiler before the file works!

I'll be closing this issue now.

I'm glad you got this working! And thanks again for filing it - it pointed out a usability issue with the test script.

No problem! Thank you for your hard work.


⚠ Turnos 24x7 has degraded performance

In aa071f1, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 863 ms

Resolved: Turnos 24x7 performance has improved in 6d4b428.


Question: How does the wallet work exactly?

Is the server creating one custodial Lightning channel per user? And then when I tip another user, it goes from me to the server and then from the server to the user?
Or is the server creating one custodial wallet per user and then also somehow managing Lightning liquidity from me to every other user I want to tip?

User custodial wallets are virtual. I create an abstraction layer over a single lightning wallet, ie the SN's node, that manages user balances which are stored in that single wallet.


Select models

Add option to select which models to run.

Codecov Report
Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (041b137) 87.01% compared to head (4cc6879) 87.08%.

Files
Patch %
Lines

tests/test_compare.py
86.95%
3 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #101      +/-   ##
==========================================
+ Coverage   87.01%   87.08%   +0.07%
==========================================
  Files          29       29
  Lines        1232     1262      +30
==========================================
+ Hits         1072     1099      +27
- Misses        160      163       +3

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


kubernetes-master on openstack hung waiting for kube-system pods to start

Performed a juju deploy to an openstack cloud. everything comes up fine except kubernetes-master is hung waiting for kube-system pods to start.
Unfortunately the cdk-field-agent file is too big to upload.

Any information about what pods are failing? Logs from the api server or workers?

debug-20180618190859.tar.gz

debug-20180618190945.tar.gz

application: kubernetes-master
charm: kubernetes-master
settings:
allow-privileged:
default: auto
description: |
Allow kube-apiserver to run in privileged mode. Supported values are
"true", "false", and "auto". If "true", kube-apiserver will run in
privileged mode by default. If "false", kube-apiserver will never run in
privileged mode. If "auto", kube-apiserver will not run in privileged
mode by default, but will switch to privileged mode if gpu hardware is
detected on a worker node.
source: default
type: string
value: auto
api-extra-args:
default: ""
description: |
Space separated list of flags and key=value pairs that will be passed as arguments to
kube-apiserver. For example a value like this:
runtime-config=batch/v2alpha1=true profiling=true
will result in kube-apiserver being run with the following options:
--runtime-config=batch/v2alpha1=true --profiling=true
source: default
type: string
value: ""
authorization-mode:
default: AlwaysAllow
description: |
Comma separated authorization modes. Allowed values are
"RBAC", "Node", "Webhook", "ABAC", "AlwaysDeny" and "AlwaysAllow".
source: default
type: string
value: AlwaysAllow
channel:
default: 1.10/stable
description: |
Snap channel to install Kubernetes master services from
source: user
type: string
value: 1.10/stable
client_password:
default: ""
description: |
Password to be used for admin user (leave empty for random password).
source: default
type: string
value: ""
controller-manager-extra-args:
default: ""
description: |
Space separated list of flags and key=value pairs that will be passed as arguments to
kube-controller-manager. For example a value like this:
runtime-config=batch/v2alpha1=true profiling=true
will result in kube-controller-manager being run with the following options:
--runtime-config=batch/v2alpha1=true --profiling=true
source: default
type: string
value: ""
dns_domain:
default: cluster.local
description: The local domain for cluster dns
source: default
type: string
value: cluster.local
enable-dashboard-addons:
default: true
description: Deploy the Kubernetes Dashboard and Heapster addons
source: default
type: boolean
value: true
enable-kube-dns:
default: true
description: Deploy kube-dns addon
source: default
type: boolean
value: true
enable-metrics:
default: true
description: |
If true the metrics server for Kubernetes will be deployed onto the cluster.
source: default
type: boolean
value: true
enable-nvidia-plugin:
default: auto
description: |
Load the nvidia device plugin daemonset. Supported values are
"auto" and "false". When "auto", the daemonset will be loaded
only if GPUs are detected. When "false" the nvidia device plugin
will not be loaded.
source: default
type: string
value: auto
extra_sans:
default: ""
description: |
Space-separated list of extra SAN entries to add to the x509 certificate
created for the master nodes.
source: default
type: string
value: ""
nagios_context:
default: juju
description: |
Used by the nrpe subordinate charms.
A string that will be prepended to instance name to set the host name
in nagios. So for instance the hostname would be something like:
juju-myservice-0
If you're running multiple environments with the same services in them
this allows you to differentiate between them.
source: default
type: string
value: juju
nagios_servicegroups:
default: ""
description: |
A comma-separated list of nagios servicegroups.
If left empty, the nagios_context will be used as the servicegroup
source: default
type: string
value: ""
require-manual-upgrade:
default: true
description: |
When true, master nodes will not be upgraded until the user triggers
it manually by running the upgrade action.
source: default
type: boolean
value: true
scheduler-extra-args:
default: ""
description: |
Space separated list of flags and key=value pairs that will be passed as arguments to
kube-scheduler. For example a value like this:
runtime-config=batch/v2alpha1=true profiling=true
will result in kube-scheduler being run with the following options:
--runtime-config=batch/v2alpha1=true --profiling=true
source: default
type: string
value: ""
service-cidr:
default: <IP_ADDRESS>/24
description: CIDR to user for Kubernetes services. Cannot be changed after deployment.
source: default
type: string
value: <IP_ADDRESS>/24
snap_proxy:
default: ""
description: |
HTTP/HTTPS web proxy for Snappy to use when accessing the snap store.
source: user
type: string
value: <IP_ADDRESS>:3128
snap_proxy_url:
default: ""
description: |
The address of a Snappy Enterprise Proxy to use for snaps
e.g. http://snap-proxy.example.com
source: default
type: string
value: ""
storage-backend:
default: auto
description: |
The storage backend for kube-apiserver persistence. Can be "etcd2", "etcd3", or
"auto". Auto mode will select etcd3 on new installations, or etcd2 on upgrades.
source: default
type: string
value: auto

application: kubernetes-worker
charm: kubernetes-worker
settings:
allow-privileged:
default: auto
description: |
Allow privileged containers to run on worker nodes. Supported values are
"true", "false", and "auto". If "true", kubelet will run in privileged
mode by default. If "false", kubelet will never run in privileged mode.
If "auto", kubelet will not run in privileged mode by default, but will
switch to privileged mode if gpu hardware is detected.
source: default
type: string
value: auto
channel:
default: 1.10/stable
description: |
Snap channel to install Kubernetes worker services from
source: user
type: string
value: 1.10/stable
cuda_repo:
default: 9.1.85-1
description: |
The cuda-repo package version to install.
source: default
type: string
value: 9.1.85-1
default-backend-image:
default: auto
description: |
Docker image to use for the default backend. Auto will select an image
based on architecture.
source: default
type: string
value: auto
docker-ce-package:
default: docker-ce=17.12.1~ce-0~ubuntu
description: |
The pined version of docker-ce package installed with nvidia-docker.
source: default
type: string
value: docker-ce=17.12.1~ce-0~ubuntu
docker-logins:
default: '[]'
description: |
Docker login credentials. Setting this config allows Kubelet to pull images from
registries where auth is required.
  The value for this config must be a JSON array of credential objects, like this:
    [{"server": "my.registry", "username": "myUser", "password": "myPass"}]
source: default
type: string
value: '[]'

docker-opts:
default: ""
description: |
Extra options to pass to the docker daemon. e.g. --insecure-registry
source: default
type: string
value: ""
docker_runtime:
default: auto
description: "docker runtime to install valid values are "upstream" (docker
PPA), "nvidia" (nvidia PPA), \n"apt" (ubuntu archive), or "auto" (nvidia
PPA or ubuntu archive, based on your hardware)\n"
source: default
type: string
value: auto
enable-cgroups:
default: false
description: |
Enable GRUB cgroup overrides cgroup_enable=memory swapaccount=1. WARNING
changing this option will reboot the host - use with caution on production
services
source: default
type: boolean
value: false
http_proxy:
default: ""
description: |
URL to use for HTTP_PROXY to be used by Docker. Only useful in closed
environments where a proxy is the only option for routing to the
registry to pull images
source: default
type: string
value: ""
https_proxy:
default: ""
description: |
URL to use for HTTPS_PROXY to be used by Docker. Only useful in closed
environments where a proxy is the only option for routing to the
registry to pull images
source: default
type: string
value: ""
ingress:
default: true
description: |
Deploy the default http backend and ingress controller to handle
ingress requests.
source: user
type: boolean
value: true
kubelet-extra-args:
default: ""
description: |
Space separated list of flags and key=value pairs that will be passed as arguments to
kubelet. For example a value like this:
runtime-config=batch/v2alpha1=true profiling=true
will result in kube-apiserver being run with the following options:
--runtime-config=batch/v2alpha1=true --profiling=true
source: default
type: string
value: ""
labels:
default: ""
description: |
Labels can be used to organize and to select subsets of nodes in the
cluster. Declare node labels in key=value format, separated by spaces.
source: default
type: string
value: ""
nagios_context:
default: juju
description: |
Used by the nrpe subordinate charms.
A string that will be prepended to instance name to set the host name
in nagios. So for instance the hostname would be something like:
juju-myservice-0
If you're running multiple environments with the same services in them
this allows you to differentiate between them.
source: default
type: string
value: juju
nagios_servicegroups:
default: ""
description: |
A comma-separated list of nagios servicegroups.
If left empty, the nagios_context will be used as the servicegroup
source: default
type: string
value: ""
nginx-image:
default: auto
description: |
Docker image to use for the nginx ingress controller. Auto will select an image
based on architecture.
source: default
type: string
value: auto
no_proxy:
default: ""
description: |
Comma-separated list of destinations (either domain names or IP
addresses) that should be directly accessed, by opposition of going
through the proxy defined above. Must be less than 2023 characters long
source: default
type: string
value: ""
nvidia-container-runtime-package:
default: nvidia-container-runtime=2.0.0+docker17.12.1-1
description: |
The pined version of nvidia-container-runtime package.
source: default
type: string
value: nvidia-container-runtime=2.0.0+docker17.12.1-1
nvidia-docker-package:
default: nvidia-docker2=2.0.3+docker17.12.1-1
description: |
The pined version of nvidia-docker2 package.
source: default
type: string
value: nvidia-docker2=2.0.3+docker17.12.1-1
proxy-extra-args:
default: ""
description: |
Space separated list of flags and key=value pairs that will be passed as arguments to
kube-proxy. For example a value like this:
runtime-config=batch/v2alpha1=true profiling=true
will result in kube-apiserver being run with the following options:
--runtime-config=batch/v2alpha1=true --profiling=true
source: default
type: string
value: ""
require-manual-upgrade:
default: true
description: |
When true, worker services will not be upgraded until the user triggers
it manually by running the upgrade action.
source: default
type: boolean
value: true
snap_proxy:
default: ""
description: |
HTTP/HTTPS web proxy for Snappy to use when accessing the snap store.
source: user
type: string
value: <IP_ADDRESS>:3128
snap_proxy_url:
default: ""
description: |
The address of a Snappy Enterprise Proxy to use for snaps
e.g. http://snap-proxy.example.com
source: default
type: string
value: ""

Looking at the pods error messages it might be this issue: https://github.com/coreos/flannel/issues/936
@ernestmartinez do you have ipv6 disabled? Can you confirm if this is the case?
We might need to upgrade our cni to v0.7.0.

IPV6 is enabled

I disabled IPV6 and re-deployed, and there was no change. I did not re-deploy the underlying openstack deployment, and I do not know if that is relevant.


Add a pydax mvp notebook as an example

The notebook pins the pydax install version so we don't have to worry
about too much breaking
We can delete this before the first release when we add more user guides

Checklist:

Does this pull request close an issue? We encourage you to open an issue first if this pull request (PR) is not a
minor change.

[ ] No

[ ] The change in this pull request is minor.

[x] Yes

Close https://github.ibm.com/CODAIT/CODAIT-Machine-Learning-Team/issues/717

For the following questions, only check the boxes that are applicable.

[x] Ensure that the pull request text above the horizontal line is descriptive.

[x] Add/update relevant tests.

[x] Add/update relevant documents.

Do you have triage permission of this repository?

[ ] No

You are good.

[x] Yes

Does this pull request close an issue?

[ ] No, this pull request also acts as an issue by itself.

[ ] Assign yourself.
[ ] Label this pull request.
[ ] Put a milestone.
[ ] Put this pull request under "In Progress" or "Under Review" pipeline on ZenHub.
[ ] Put this pull request under the appropriate epic on ZenHub.
[ ] Put an estimate on ZenHub.
[ ] Add dependency relationship with other issues/pull requests on ZenHub.

[x] Yes, this pull request addresses an issue and does not act as an issue.

[ ] Connect this pull request to the underlying issue on ZenHub.
[x] DON'T:

DON'T assign yourself or anyone else.
DON'T label.
DON'T put a milestone.
DON'T put this pull request under any epic on ZenHub.
DON'T put an estimate on ZenHub.

[ ] When the pull request is ready, request review.

I forgot that ReviewNB would work with this repo


Document PaaS cloud services

The Cloud Services (worker role/web role) PaaS service isn't documented on this page. Please add it to the other Compute options in the table.

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

ID: cd0472f9-1ed9-0154-3bfd-b25e5da64cd1
Version Independent ID: 846187d4-c24c-279f-e216-80b6507228b3
Content: Microsoft Azure Data Encryption-at-Rest
Content Source: articles/security/fundamentals/encryption-atrest.md
Service: security
Sub-service: security-fundamentals
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

@dcbrown16 Thank you for your feedback . We will investigate and update the thread.

@msmbaldwin Can you look into this

Please let us know if this is still an issue. Thank you! #please-close


Make ups-instance.yaml in walkthrough to demonstrate good practices

We should not show something that appears to inject sensitive values directly in the instance resource in the walkthrough.

LGTM


stores.accessToken.onChange is being called every minute which is causing notifications to fail to be sent

Describe the bug
Every time the accessToken.onChange event is called, the extension will call refresh with the withNotifications set to false which means it won't send a notification. This is fine but not if it gets called every minute which it seems to be doing. Every time this event gets triggered it calls this every time stores.followedStreams.set(followedStreams); in the refresh function which means it will prevent the difference comparison from noticing that a new stream went live.
I am uncertain if this problem is just limited to me. It is probably a Chromium only problem due to how the problem relates to service workers.
I've been debugging why a lot of people are going live but I'm only getting notified by a few of them. I've narrowed it down to this problem. One odd problem is that it only calls accessToken.onChange when I don't have the background page debug window open. I had to write a persistent logging function to discover this because service workers go to sleep when you close the debug page.
My quick solution to this problem was to remove refresh(false, true) in the event to prevent the spam to the twitch API and to fix the notification difference comparison problem it was causing.
Desktop (please complete the following information):

OS: Windows 10
Google Chrome | 100.0.4896.127 (Official Build) (64-bit) (cohort: Stable)

Thanks for the report. Working with service workers can be confusing sometimes.

No problem. I'm testing the new version now. I'll tell you if it got fixed.

It seems to be fixed. It is no longer being spammed when the service worker goes to sleep.


Call to undefined function Unirest\curl_init()

Hey
When I call matecritic.php I get this fatal error: Call to undefined function Unirest\curl_init(). I have the php_curl.dll file under my php extensions. Ive also added my php directory in the system variable "path". I should probably note that im trying to call this script from a c++ program.
Could you maybe help me with this?

It's important to first install all dependencies using composer.

Did you also try example.php?

Im using php in command line. For now, all my c++ program does is simulate a command line. It calls example.php and passes an argument (game name) to the script and should receive the JSON output echo. I have the following version of php installed: PHP 8.1.4 (cli) (built: Mar 16 2022 09:32:18) (NTS Visual C++ 2019 x64).

OK. So I can't reproduce the problem on my Linux machine with PHP cli. So PHP 8 should work.
The only option would be that curl is not enabled. Did you remove the semi-colon(;)  in front of the extension=php_curl.dll line?

You can validate whether cURL is enabled or not in PHP using and check the output:
<?php
phpinfo();
?>

Add this content to a phpinfo.php file for example.

I have a php.ini-development file and a php.ini-production file. extension=php_curl.dll was absent in both files so i just added it myself. There was a line in both files ;extension=curl and I removed the ; in both. The result is the same. I executed the phpinfo() and there is only one instance of curl mentioned:
. Its not like your output even tough I removed the ; .

I have a php.ini-development file and a php.ini-production file. extension=php_curl.dll was absent in both files so i just added it myself. There was a line in both files ;extension=curl and I removed the ; in both. The result is the same. I executed the phpinfo() and there is only one instance of curl mentioned: . Its not like your output even tough I removed the ; .

You are using windows right? Do not enable this other line please. That is for Linux only. Only apply the extension lines with dll at the end.

I think I managed to solve it.

Loaded Configuration File => was empty, so I just changed the php.ini-development file to php.ini. Now I dont get this error anymore.

Ah great. Good job.


Pragma-git

Changes
Added Pragma-git as a git GUI

Context
Add a new git GUI

I have now removed file guis.yml.orig


Confusion about outbound access

"The Backup extension running on the VM must have outbound access to Azure public IP addresses.
No explicit outbound network access is required for Azure VM to communicate with Azure Backup Service."
Aren't these statements contradictory? The latter point seems to suggest that even when an NSG blocks all outbound traffic, the VM can still get backed up. What is the first sentence suggesting that we do?

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

ID: 8d3447ce-fb16-f2ec-126e-91168af07bd1
Version Independent ID: 65048fd2-f450-2046-115d-3846a6f5be1a
Content: Back up Azure VMs in a Recovery Services vault with Azure Backup
Content Source: articles/backup/backup-azure-arm-vms-prepare.md
Service: backup
GitHub Login: @rayne-wiselman
Microsoft Alias: raynew

Also "additional costs for proxy" in that section seems like it should be listed as a disadvantage.

@dcbrown16 Thanks for the feedback! We are currently investigating and will update you shortly.

reassigning to @rayne-wiselman to review and clarify

@rayne-wiselman, any update please?

@femsulu Yes, we'll fix this over the next few days so that the statement is clearer.

@rayne-wiselman closing this out as I assume you already have this in your backlog or most likely complete. please confirm.

@femsulu I don't see the fix yet and ideally I don't think issues should be closed until the document is updated publicly so I can verify it.

I've clarified this in the article. The change should show up in the next day. Thanks for your input!
#please-close


Autoscaler updates following UX review

Move create/edit/delete policy buttons into tab header
Show standard 'no content' style message when no policy attached
Show scaling history only when there's history OR there's a policy
Don't show error snack bar for no policy
Tweak card layouts and widths
Tweak some error messages
Add brief text for each step
Show Create/Edit in stepper given create/edit

Update

Determine if app autoscaler tab should show depending on autoscaler v1/info request rather than
a per app request for it's policy
Also show autoscaler version in cf summary page

I was able to verify the mentioned points above were implemented. I was also able to find some issues: (I've used start-dev)

Immutability issue when clicking on Next when editing the policy (e.g.: this.currentPolicy.schedules.timezone = ...);
Immutability issue when clicking on Finish when editing the policy (e.g.: request.error = false_;
Threshold label (mb, ms, rps, ...) does not change in the sentence when changing the metric type (after finishing it changes but not when creating);

I've fixed the issues mentioned, however want to run through the start-dev/immutable object issue with @KlapTrap tomorrow.


support scrolling when calling the istex api

When pulling data from the istex api in order to get data after the page 10000 it's needed to use the scroll function: https://api.istex.fr/documentation/results/#parametres-de-pagination

@Aazhar I guess this was fixed already?