[BUG] Lonsonho Tuya Zigbee Wireless Smart Scene Switch wrongly identified

I have just got a Lonsonho Tuya Zigbee Wireless Smart Scene Switch 4 Gang which when added to ZHA shows up as 4 switches and a battery sensor. Nowhere is the button state exposed. I have added this using Zigbee2MQTT and it is exposed as expected and is useable in automations. My coordinator is a Sonoff CC2531 stick flashed with Z-stack firmware. Please see the attached screenshots for details.
What ZHA shows:

What Zigbee2MQTT shows:

Device signature:
{   "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",   "endpoints": {     "1": {       "profile_id": 260,       "device_type": "0x0000",       "in_clusters": [         "0x0000",         "0x0001",         "0x0006",         "0xe000"       ],       "out_clusters": [         "0x000a",         "0x0019"       ]     },     "2": {       "profile_id": 260,       "device_type": "0x0000",       "in_clusters": [         "0x0001",         "0x0006"       ],       "out_clusters": []     },     "3": {       "profile_id": 260,       "device_type": "0x0000",       "in_clusters": [         "0x0001",         "0x0006"       ],       "out_clusters": []     },     "4": {       "profile_id": 260,       "device_type": "0x0000",       "in_clusters": [         "0x0001",         "0x0006"       ],       "out_clusters": []     }   },   "manufacturer": "_TZ3000_uaa99arv",   "model": "TS0044",   "class": "zigpy.device.Device" }
Logs:
Device 0x21f3 (a4:c1:38:fb:52:7a:17:20) left the network
[0x21F3:1:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>
[0x21F3:1:0x0006]: async_initialize: retryable request #3 failed: Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>. Retrying in 3.0s
[0x21F3:1:0x0001]: failed to get attributes '['battery_voltage', 'battery_percentage_remaining']' on 'power' cluster: Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>
[0x21F3:1:0x0001]: async_initialize: retryable request #3 failed: Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>. Retrying in 2.3s
[0x21F3:1:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x4f request
[0x21F3:1:0x0001]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x50 request
[0x21F3:2:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>
[0x21F3:2:0x0006]: async_initialize: retryable request #3 failed: Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>. Retrying in 3.2s
Device 0x6f1a (a4:c1:38:fb:52:7a:17:20) joined the network
Device a4:c1:38:fb:52:7a:17:20 changed id (0x6f1a => 0x6f1a)
[0x6f1a] Skipping initialization, device is fully initialized
Device is initialized
Checking quirks for _TZ3000_uaa99arv TS0044 (a4:c1:38:fb:52:7a:17:20)
Considering <class 'zhaquirks.tuya.ts0044.TuyaSmartRemote0044TO'>
Fail because input cluster mismatch on at least one endpoint
Considering <class 'zhaquirks.tuya.ts0044.TuyaSmartRemote0044TI'>
Fail because input cluster mismatch on at least one endpoint
Considering <class 'zhaquirks.xbee.xbee_io.XBeeSensor'>
Fail because endpoint list mismatch: {232, 230} {1, 2, 3, 4}
Considering <class 'zhaquirks.xbee.xbee3_io.XBee3Sensor'>
Fail because endpoint list mismatch: {232, 230} {1, 2, 3, 4}
Considering <class 'zhaquirks.smartthings.tag_v4.SmartThingsTagV4'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4}
Considering <class 'zhaquirks.smartthings.multi.SmartthingsMultiPurposeSensor'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4}
Considering <class 'zhaquirks.netvox.z308e3ed.Z308E3ED'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4}
Considering <class 'zhaquirks.gledopto.soposhgu10.SoposhGU10'>
Fail because endpoint list mismatch: {11, 13} {1, 2, 3, 4}
Considering <class 'bellows.zigbee.application.EZSPCoordinator'>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4}
device - 0x6F1A:a4:c1:38:fb:52:7a:17:20 entering async_device_initialized - is_new_join: True
device - 0x6F1A:a4:c1:38:fb:52:7a:17:20 has joined the ZHA zigbee network
0x21F3: started configuration
0x21F3:ZDO: 'async_configure' stage succeeded
Device a4:c1:38:fb:52:7a:17:20 already exists. Updating it.
Device 0x6f1a (a4:c1:38:fb:52:7a:17:20) joined the network
[0x6f1a:zdo] ZDO request ZDOCmd.Device_annce: [0x6F1A, a4:c1:38:fb:52:7a:17:20, 128]
[0x6f1a:1:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=79 command_id=Command.Read_Attributes_rsp>
[0x6f1a:1:0x0006] ZCL request 0x0001: [[ReadAttributeRecord(attrid=0, status=<Status.SUCCESS: 0>, value=)]]
[0x21F3:2:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x51 request
[0x6f1a:1:0x0001] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=80 command_id=Command.Read_Attributes_rsp>
[0x6f1a:1:0x0001] ZCL request 0x0001: [[ReadAttributeRecord(attrid=32, status=<Status.SUCCESS: 0>, value=), ReadAttributeRecord(attrid=33, status=<Status.SUCCESS: 0>, value=)]]
[0x21F3:2:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:2:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>')]
[0x21F3:3:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x52 request
[0x21F3:2:0x0006]: 'async_initialize' stage succeeded
[0x21F3:3:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:3:0x0006]: async_initialize: retryable request #1 failed: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>. Retrying in 1.1s
[0x6f1a:1:0x000a] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=82 command_id=Command.Read_Attributes>
[0x6f1a:1:0x000a] ZCL request 0x0000: [[7]]
[0x21F3:3:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x53 request
[0x21F3:3:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:3:0x0006]: async_initialize: retryable request #2 failed: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>. Retrying in 0.8s
[0x21F3:3:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x54 request
[0x21F3:3:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:3:0x0006]: async_initialize: retryable request #3 failed: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>. Retrying in 2.3s
[0x21F3:3:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x55 request
[0x21F3:3:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:3:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>')]
[0x21F3:4:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x56 request
[0x21F3:3:0x0006]: 'async_initialize' stage succeeded
[0x21F3:4:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:4:0x0006]: async_initialize: retryable request #1 failed: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>. Retrying in 1.0s
[0x21F3:1:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster:
[0x21F3:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), TimeoutError()]
[0x21F3:1:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x57 request
[0x21F3:4:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x58 request
[0x21F3:1:0x0001]: failed to get attributes '['battery_voltage', 'battery_percentage_remaining']' on 'power' cluster:
[0x21F3:1:0x0001]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), TimeoutError()]
[0x21F3:1:0x0001]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x59 request
[0x21F3:1:0x0006]: 'async_initialize' stage succeeded
[0x21F3:1:0x0001]: 'async_initialize' stage succeeded
[0x21F3:1:0x0000]: 'async_initialize' stage succeeded
[0x21F3:1:0x0019]: 'async_initialize' stage succeeded
[0x21F3:1:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:1:0x0006]: async_initialize: retryable request #1 failed: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>. Retrying in 1.1s
[0x21F3:4:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:4:0x0006]: async_initialize: retryable request #2 failed: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>. Retrying in 1.0s
[0x21F3:1:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x5a request
[0x21F3:4:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x5b request
[0x21F3:1:0x0001]: failed to get attributes '['battery_voltage', 'battery_percentage_remaining']' on 'power' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:1:0x0001]: async_initialize: retryable request #1 failed: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>. Retrying in 0.8s
[0x21F3:1:0x0001]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x5c request
[0x21F3:1:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:1:0x0006]: async_initialize: retryable request #2 failed: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>. Retrying in 1.2s
[0x21F3:1:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x5d request
[0x21F3:4:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:4:0x0006]: async_initialize: retryable request #3 failed: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>. Retrying in 2.4s
[0x21F3:1:0x0001]: failed to get attributes '['battery_voltage', 'battery_percentage_remaining']' on 'power' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:1:0x0001]: async_initialize: retryable request #2 failed: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>. Retrying in 1.0s
[0x21F3:1:0x0001]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x5e request
[0x21F3:4:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x5f request
[0x21F3:1:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:1:0x0006]: async_initialize: retryable request #3 failed: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>. Retrying in 2.6s
[0x21F3:1:0x0001]: failed to get attributes '['battery_voltage', 'battery_percentage_remaining']' on 'power' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:1:0x0001]: async_initialize: retryable request #3 failed: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>. Retrying in 3.5s
[0x21F3:1:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x60 request
[0x21F3:4:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:4:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>')]
[0x21F3:1:0x0000]: initializing channel: from_cache: False
[0x21F3:1:0x0000]: finished channel initialization
[0x21F3:1:0x0019]: initializing channel: from_cache: False
[0x21F3:1:0x0019]: finished channel initialization
[0x21F3:4:0x0006]: 'async_initialize' stage succeeded
[0x21F3:2:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x61 request
0x21F3: power source: Battery or Unknown
0x21F3: completed initialization
[0x21F3:1:0x0001]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x62 request
[0x21F3:1:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>')]
[0x21F3:3:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x63 request
[0x21F3:2:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:2:0x0006]: async_initialize: retryable request #1 failed: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>. Retrying in 1.1s
[0x21F3:2:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x64 request
[0x21F3:1:0x0001]: failed to get attributes '['battery_voltage', 'battery_percentage_remaining']' on 'power' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:1:0x0001]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>')]
[0x21F3:4:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x65 request
[0x21F3:1:0x0006]: 'async_initialize' stage succeeded
[0x21F3:1:0x0001]: 'async_initialize' stage succeeded
[0x21F3:1:0x0000]: 'async_initialize' stage succeeded
[0x21F3:1:0x0019]: 'async_initialize' stage succeeded
[0x21F3:3:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:3:0x0006]: async_initialize: retryable request #1 failed: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>. Retrying in 1.0s
[0x21F3:3:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x66 request
[0x21F3:2:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:2:0x0006]: async_initialize: retryable request #2 failed: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>. Retrying in 1.2s
[0x21F3:2:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x67 request
[0x21F3:4:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:4:0x0006]: async_initialize: retryable request #1 failed: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>. Retrying in 0.8s
[0x21F3:4:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x68 request
[0x21F3:3:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:3:0x0006]: async_initialize: retryable request #2 failed: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>. Retrying in 0.8s
[0x21F3:3:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x69 request
[0x21F3:2:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:2:0x0006]: async_initialize: retryable request #3 failed: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>. Retrying in 2.6s
[0x21F3:4:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:4:0x0006]: async_initialize: retryable request #2 failed: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>. Retrying in 0.9s
[0x21F3:2:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x6a request
[0x21F3:4:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x6b request
[0x21F3:3:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:3:0x0006]: async_initialize: retryable request #3 failed: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>. Retrying in 2.3s
[0x21F3:3:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x6c request
[0x21F3:2:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:2:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>')]
[0x21f3] Extending timeout for 0x6d request
[0x21F3:2:0x0006]: 'async_initialize' stage succeeded
[0x21F3:4:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:4:0x0006]: async_initialize: retryable request #3 failed: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>. Retrying in 2.6s
[0x21F3:4:0x0006]: initializing channel: from_cache: False
[0x21f3] Extending timeout for 0x6e request
[0x21F3:3:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:3:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>')]
[0x21f3] Extending timeout for 0x6f request
[0x21F3:3:0x0006]: 'async_initialize' stage succeeded
[0x21F3:4:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:4:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>')]
[0x21F3:1:0x0000]: finished channel configuration
[0x21F3:1:0x0019]: finished channel configuration
[0x21F3:4:0x0006]: 'async_initialize' stage succeeded
[0x21f3] Extending timeout for 0x70 request
0x21F3: power source: Battery or Unknown
0x21F3: completed initialization
[0x21F3:1:0x0006]: Failed to bind 'on_off' cluster:
[0x21f3] Extending timeout for 0x71 request
[0x21F3:1:0x0006]: failed to set reporting on 'on_off' cluster for: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:1:0x0006]: finished channel configuration
[0x21f3] Extending timeout for 0x72 request
[0x21F3:1:0x0001]: Failed to bind 'power' cluster:
[0x21f3] Extending timeout for 0x73 request
[0x21F3:1:0x0001]: failed to set reporting on 'power' cluster for: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
[0x21F3:1:0x0001]: finished channel configuration
[0x21f3] Extending timeout for 0x74 request
[0x21F3:1:0x0006]: 'async_configure' stage succeeded
[0x21F3:1:0x0001]: 'async_configure' stage succeeded
[0x21F3:1:0x0000]: 'async_configure' stage succeeded
[0x21F3:1:0x0019]: 'async_configure' stage succeeded

Link for the (likely) same remote but working as one light switch https://de.aliexpress.com/item/4000298926256.html?gatewayAdapt=glo2deu&spm=a2g0o.detail.1000023.7.77d95bcdDpxTOx.

I have just tested your quirk and it works perfectly! Thanks!

Great !!
If you dont have any bad things i can making one PR so its in the next HA release and dont need local quirks.

PR made https://github.com/zigpy/zha-device-handlers/pull/1354


assert.isFulfilled doesn't works with native Promise.all

I have some code like:
     return Promise.all([
            assert.isFulfilled(promise),
            assert.eventually.nestedInclude(promise, { "fields.name": "server" }),
            assert.eventually.nestedInclude(promise, { "streams[0].path": "/dev/null" }),
            assert.eventually.nestedInclude(promise, { "streams[0].level": 30 })
       ]);

With bluebird works fine but with native es6 Promise was broken and returned:
Error: Invalid Chai property: _promiseConstructor
      at Object.proxyGetter [as get] (node_modules/chai/lib/chai/utils/proxify.js:66:17)
      at Object.ES.IsPromise (node_modules/es6-shim/es6-shim.js:1579:20)
      at Function.resolve (node_modules/es6-shim/es6-shim.js:1857:16)
      at Function.all (node_modules/es6-shim/es6-shim.js:1803:33)
      at Context.<anonymous> (src/server/helpers/logger/logger.spec.js:56:24)

node: 8.8.3
OS: Gnu/Linux (debian)
chai: 4.1.2
chai-as-promised: 7.1.1
mocha: 5.0.1

@vxcamiloxv Based on your stack trace, the problem looks to be a conflict between the es6-shim module and Chai core's proxy protection feature (which detects when unrecognized properties are accessed on a Chai assertion object to prevent typo-related problems like expect(true).to.ture;).
You can try adding this at the top of your test file:
chai.config.proxyExcludedKeys.push('_promiseConstructor');

@meeber  works :+1:


Update icu4j to 76.1

About this PR
📦 Updates com.ibm.icu:icu4j from 75.1 to 76.1
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.ibm.icu", artifactId = "icu4j" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.ibm.icu", artifactId = "icu4j" }
}]

labels: library-update, commit-count:1

+1
ICU 76 release notes
Comparing ICU 75-76

[X] Do all automated continuous integration checks pass?
Yes
[X] Is the update a patch, minor, or major update?
Major release, many changes, but nothing seems to have been changed with anything that Daffodil relies on
[X] Is the license still compatible with ASF License Policy?
Yes, still Unicode License v3
[X] Have any changes been made to LICENSE/NOTICE files that need to be incorporated?
No
[X] Have any transitive dependencies been added or changed?
No transitive dependencies


Investigate the behavior of a custom adapter in a Rails application

Currently (c7be4c1deea2149937325a92c48ffcf2ff2f1604), if Figaro is required inside a Rails application, the adapter is automatically set to Figaro::Rails::Application. When the Rails application boots, Figaro.load is automatically run.
If a developer wants to use a custom adapter for a Rails application, where should the custom adapter be set so that it occurs after Figaro sets the Figaro::Rails::Application yet before Figaro.load.
Would this happen near the top of config/application.rb, after the railtie requirements?
Is there a better way than using these adapter classes to configure Figaro's behavior on load?

It would be nice if Figaro could work with standard Rack app (and not only Rails) :)


converting string representation of MRB_INT_MIN raises an exception

Without this patch, Integer("-2147483648") raises an exception.  But it can be conveted to a Fixnum.
Before:
% bin/mruby -e 'Integer("-2147483648")'
trace:
        [0] -e:1
-e:1: string (-2147483648) too big for integer (ArgumentError)

After:
% bin/mruby -e 'p Integer("-2147483648")'
-2147483648

I will fix this with some code cleanup.


API for node_register

This patch adds the API function for node_register. The cli code change accordingly.
Currently, obm_types = ["ipmi", "mock"] is a hardcoded variable. A discussion is needed on whether or not to keep the hardcoded variable.
Any idea/suggestion/opinion/ is more than welcome.
Consider this is a WIP.
This relates to the issue: https://github.com/CCI-MOC/hil/issues/924

@zenhack @naved001  Done.

@naved001 @zenhack done.

@zenhack @naved001 done.

@naved001 please merge it if you think it is good to go ;)


Request timeout in VirtualService does not apply.

Describe the bug
I want to apply a request timeout on a service. So I tested with httpbin example, and applied a VirtualService with request timeout 0s. And it does not work. Please see below "Steps to reproduce the bug" for more details.
Expected behavior
Request to service httpbin should be timed out immediately.
Steps to reproduce the bug
Step 1: kubectl apply -f sample/httpbin/httpbin.yaml (I have enabled automatic sidecar injection, and verified sidecar was injected into httpbin pod)
Step 2: apply following VirtualService
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: timeouttest
  namespace: default
spec:
  hosts:
  - httpbin.default.svc.cluster.local
  http:
    - route:
      - destination:
          host: httpbin.default.svc.cluster.local
        timeout: 0s

Step 3: log into sidecar, and curl httpbin service:
curl httpbin:8000 -I -v
I successfully got the result:
* Rebuilt URL to: httpbin:8000/
*   Trying <IP_ADDRESS>...
* Connected to httpbin (<IP_ADDRESS>) port 8000 (#0)
> HEAD / HTTP/1.1
> Host: httpbin:8000
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< server: envoy
server: envoy
< date: Thu, 21 Jun 2018 23:26:31 GMT
date: Thu, 21 Jun 2018 23:26:31 GMT
< content-type: text/html; charset=utf-8
content-type: text/html; charset=utf-8
< content-length: 11602
content-length: 11602
< access-control-allow-origin: *
access-control-allow-origin: *
< access-control-allow-credentials: true
access-control-allow-credentials: true
< x-envoy-upstream-service-time: 5
x-envoy-upstream-service-time: 5
< x-envoy-decorator-operation: default-route
x-envoy-decorator-operation: default-route

which is unexpected.
I also got the istio config of httpbin pod:
https://gist.github.com/ZhiminXiang/c4d2ab067ff52c116b22004f52bae9ff
I did not the see request timeout was set.
Version
Istio: 0.8.0
k8s: v1.10.4
Is Istio Auth enabled or not?
No
Environment
I ran my cluster on GKE.

Why is it unexpected? Timeout of 0s or any invalid value leads to disabling timeout.

Sorry I gave a bad example in this issue. But I do see request timeout does not work in my side. I will close this one and open a separate one.


feat: customize and delete scaffoldeth boilerplate components like footer

customize and delete scaffoldeth boilerplate components like footer and header
- header to be customized

- remove footer or customize it

closed #11


Opossum Integration

I am looking to integrate Opossum into my DevOps process.
Do you have any documentation that can walk me through the best practices for integrating Opossum into something like TerraForm?

I'm not sure, I completely understand the use case.
Can you provide some more context?

Sure. I am trying to find a software composition analysis tool that enables open-source security and license compliance, allowing for rapid development while remaining secure. (especially with the rise of AI-assisted coding)
I'm looking for an open-source tool that has some of the same scanning abilities as Black Duck's or Synk's.
My particular use case: I am trying to integrate the Opossum tool into a Terraform-built Docker container.
(Terraform/Docker Tutorial - https://developer.hashicorp.com/terraform/tutorials/docker-get-started)

I see. OpossumUI does not contain any scanners that do software composition analysis, like e.g. ScanCode. Instead OpossumUI is a desktop app that allows to open the findings of various different scanners.
The typical workflow to start with OpossumUI is to

run one or several software composition analysis tools/scanners
create a input file for OpossumUI (e.g. using https://github.com/opossum-tool/opossum.lib.hs)
open that file in OpossumUI to audit and inventory codebases

Therefore, as your use case is automatic scanning of code and probably alerting in case of "unwanted" licenses, if I understand correctly, and might not include a manual audit part, OpossumUI might be not well suited.
Do I understand correctly that you are looking for an automatic tool without manual work (for e.g. auditing results)?

@jon-livingstone
Currently, there are no plans for an automatic scanning version.
So far OpossumUI is designed as a scanner/inpurt generator agnositc tool that can integrate with many OSS scanners.


Tag for a new stable release

Some software in Homebrew needs the fix from https://github.com/sam-github/libnet/issues/14. Would it be possible to tag a new release so that we can point the Homebrew formula at it? Thanks.

On Sun, Feb 19, 2012 at 7:49 PM, Jack Nagel
<EMAIL_ADDRESS>wrote:

Some software in Homebrew needs the fix from https://github.com/sam-github/libnet/issues/14. Would it be possible to tag a new release so that we can point the Homebrew formula at it? Thanks.

The code isn't releaseable, and won't be until I do a bunch of tedious
work on it, so if you need a release, it will be a few weeks, at
least.
Can you build from a branch? Would a "libnet-1.1.6-rc" branch help? Or
a "libnet-1.1.6-rc" tag that I move along the master as I get closer
to release?

A "libnet-1.1.6-rc" tag would be perfect, though it would be better if it wasn't a moving target. Maybe "libnet-1.1.6-rc0"? Anyway, no rush, just trying to sort out a few open Homebrew bugs.


bug(select): Unable to update selected items in select with ReactiveForms

Reproduction
https://stackblitz.com/edit/angular-ivy-qak45m?file=src%2Fapp%2Fapp.component.ts
Steps to reproduce:

Select multiple items in the MatSelect and see selected items listed below
Click on the item/items to remove them from the form
As seen, the selected items in the MatSelect are not updated to represent the new values in the form.

Expected Behavior
As of Angular 10 (i think, might be angular 9) this seems broken - prior to this - this have worked just fine.
I have added a "normal" multiple select to show it works without the MatSelect.
Useing setValue to the form works fine for MatInput as illustrated too.
Actual Behavior
The MatSelect does not update it's values when the forms values is changed.
Environment

@angular/cdk10.2.3

@angular/common10.1.3

@angular/core10.1.3

@angular/forms10.1.3

@angular/material10.2.3

Browser(s): Tested in Chrome@latests

hi, can I take this up as part of hacktoberfest?

This appears to have been introduced by https://github.com/angular/components/pull/13598
Prior to that change, the call to _setSelectionByValue() was not gated by an equality check on the value. Now that it is behind the equality check, mutating the array and calling writeValue will not update the trigger text, even though the form value is updated.
In your example StackBlitz you're using values.splice(...). Using values.filter(...) or some other immutable operation that produces a new array should work around this.

I agree, for me this is not a bug, a spread or a immutable operation should is the better approuch in this case, so to view can detect the changes. I recommend close this issue @jelbourn

Ack, going to close this based on feedback here and that it hasn't been further reported since 2020.


Attribute group in attribute family

Issue Reference
#7475

@atul-webkul
The issue is still there.

@atul-webkul
Now It is working fine.

@atul-webkul,
Please do the mentioned changes as discussed.


Put image of ETH Place in an embed

Would look much nicer UwU

Also put user who called it in the footer

yes i agree with @xHarlock uwu

@tobiasvonarx UwU


Huggingface Accelerate Support

Hi all! I'm working on looking at this library as an alternative to transformers engine for the accelerate project and had a few general questions:

One pain point with TE is HF models (such as Llama-2) have many custom layers to do ops that generally can be replaced with TE/FP8 specific ops, and as a result cannot be done OOTB easily. Have you tried your framework on models from HF? (Such as using bloomz-3b or falcon-7b). If so, does MS-AMP know the layers/ops to modify already? Or is there something specific we have do for each individual layer where it can be done.
Does the framework support all FP8-compatible graphics cards? (e.g. can I test this on some local 4090's)

Looking forward to hearing back, we're very excited about this framework!

Update: I notice right now you just have support for nn.Linear, which makes sense why it works OOTB. Will test and see if I see increased throughput/less memory, I did not see this on models like bloomz-3b or falcon-7b if we only converted nn.Linear's :)

Thanks for your attention to MS-AMP.
Only replacing nn.Linear with te.linear or msamp.FP8Linear may not get good performance. If you want to improve throughput, you should use te.TransformerLayer for transformer-based model. For MS-AMP, it mainly focus on using FP8 to save memory and communication cost. Users can use both MS-AMP and Transformer Engine to save memory and accelerate training.  They are orthogonal.  Users can also increase micro batch size to improve throughput after using MS-AMP.

@tocean I think I'm almost ready for the base implementation/integration with Accelerate. One quick question:
You say they are orthogonal, but what is the recommended way to combine them? Should it be:

Replace nn.Linear and nn.LayerNorm with te.Linear and te.LayerNorm (te.TransformerLayer is harder to do automatically for Hugging Face models)
Call model, optimizer = msamp.initialize(model, optimizer, opt_level=OPT_LEVEL)?


Configurable personalization

I propose adding the ability to verify Equihash solutions for any personalization. This is valuable as more coins have not only forked off of 200,9 but have their own personalizations.
I am hoping having this repo able to verify regardless of N, K, and personalization is valuable to the greater cryptocurrency community.

I am going to do some more testing first.


[Documentation] Generate Native code documentation and link it with GitHub CI/CD

Use Doxygen to generate native documentation for the electrostatic-core and the serial4j frameworks, and link it with the website.

This issue has been completed by PRs: #65 #66 #67 #68 #69.


Wrong results when using indices

I have a case of figure in which adding an index on a collection leads to wrong result on search.
I reproduce the problem on the sandbox :

I suspect that it maybe related to the fact that the column not always have the same variable type (sometime string, sometime boolean) but I did not find mention in documentation that index should be on column with coherent type value
Here is the code used in sandbox to reproduce :
// This database has already been created for you.
// var db = new loki('sandbox');

// Add a collection to the database
var coll = db.addCollection("ir.attachment", {
    unique: ['id'],
    indices: ['res_model', 'res_id', "write_date"]
});

var jsonBLOB = '[{"name":"OOR_ABC_AD01_1512_00001.pdf","res_model":"ir.attachment","AetnaMd5sum":"bd4978e05ab3b34dd844688485616b1f","AetnaSize":49864,"res_id":143,"id":144},{"name":"OOR_ABC_AD01_1512_00001.docx","res_model":"project.task","AetnaMd5sum":"abffb38135a9d82a8aec7c6c2c782aba","AetnaSize":49189,"res_id":95,"id":143},{"name":"LMA_ABC_AD01_1512_00020.pdf","res_model":"ir.attachment","AetnaMd5sum":"003460ce7634d7c38cdb2bb7063e4b6a","AetnaSize":562066,"res_id":141,"id":142},{"name":"LMA_ABC_AD01_1512_00020.pptx","res_model":"project.task","AetnaMd5sum":"be71757a7771ebc68faffb999547ada2","AetnaSize":599773,"res_id":94,"id":141},{"name":"LMA_ABC_AD01_1512_00019.pdf","res_model":"ir.attachment","AetnaMd5sum":"033702e04d0b93ac19e5894819f6ccc9","AetnaSize":562066,"res_id":139,"id":140},{"name":"LMA_ABC_AD01_1512_00019.pptx","res_model":"project.task","AetnaMd5sum":"ed4278c95beef9acb0f2da93d69e916f","AetnaSize":599773,"res_id":93,"id":139},{"name":"LLA_ADS_LC01_1512_00018.pdf","res_model":"ir.attachment","AetnaMd5sum":"bf880d2c5f0598c4177839584c95e6b9","AetnaSize":8313,"res_id":137,"id":138},{"name":"LLA_ADS_LC01_1512_00018.docx","res_model":"project.task","AetnaMd5sum":"68db1cfb030f189b8e84eb5fc2b7bb51","AetnaSize":10404,"res_id":92,"id":137},{"name":"LMA_ABC_AD01_1512_00017.pdf","res_model":"ir.attachment","AetnaMd5sum":"601becfab859e1cf2d68ac66d7e164e3","AetnaSize":392450,"res_id":135,"id":136},{"name":"LMA_ABC_AD01_1512_00017.docx","res_model":"project.task","AetnaMd5sum":"aa9a95883c6f8f892042af86cf9c9997","AetnaSize":285650,"res_id":91,"id":135},{"name":"LMA_ADS_LC01_1512_00016.pdf","res_model":"ir.attachment","AetnaMd5sum":"05c6126791e82f13bbb6b1265d8402ad","AetnaSize":63851,"res_id":133,"id":134},{"name":"LMA_ADS_LC01_1512_00016","res_model":"project.task","AetnaMd5sum":"bbbaa2ac3c784a2f297474620df6bfb8","AetnaSize":55782,"res_id":90,"id":133},{"name":"LMA_ADS_LC01_1512_00015.pdf","res_model":"ir.attachment","AetnaMd5sum":"0f657016b14c2323708e4c19291c7681","AetnaSize":18117,"res_id":131,"id":132},{"name":"LMA_ADS_LC01_1512_00015","res_model":"project.task","AetnaMd5sum":"665c7569d524b5f0b703e9667514c491","AetnaSize":4619,"res_id":89,"id":131},{"name":"LMA_ABC_AD01_1512_00014.pdf","res_model":"ir.attachment","AetnaMd5sum":"a3534013609a66266dfa8cd7ddf4d88b","AetnaSize":92333,"res_id":129,"id":130},{"name":"LMA_ABC_AD01_1512_00014.docx","res_model":"project.task","AetnaMd5sum":"b4be420af0fcfbd67cab895fd3de626d","AetnaSize":142186,"res_id":88,"id":129},{"name":"LMA_ABC_AD01_1512_00013.pdf","res_model":"ir.attachment","AetnaMd5sum":"9298e7293f52d9975d7b2d0eee90f6d0","AetnaSize":91217,"res_id":127,"id":128},{"name":"LMA_ABC_AD01_1512_00013.docx","res_model":"project.task","AetnaMd5sum":"ab25fdd8191d53d2b0d2f8a85a9f97be","AetnaSize":346589,"res_id":87,"id":127},{"name":"OOR_ABC_AD01_1512_00012.pdf","res_model":"ir.attachment","AetnaMd5sum":"b0b81d4aabef57376f05e1e50d35cc52","AetnaSize":61123,"res_id":125,"id":126},{"name":"OOR_ABC_AD01_1512_00012.xlsx","res_model":"project.task","AetnaMd5sum":"1f97876f0f3f52f7622939c820e9e1da","AetnaSize":41991,"res_id":86,"id":125},{"name":"OOR_ADS_LC01_1512_00011.pdf","res_model":"ir.attachment","AetnaMd5sum":"4fae4c93b944aa30ecae2ba5bb058318","AetnaSize":405657,"res_id":123,"id":124},{"name":"OOR_ADS_LC01_1512_00011.docx","res_model":"project.task","AetnaMd5sum":"8c10d2cff4f3109e7f57ad9ad87d9c25","AetnaSize":260464,"res_id":85,"id":123},{"name":"OOR_ADS_LC01_1512_00010.pdf","res_model":"ir.attachment","AetnaMd5sum":"c55d3a7fe36ec591be6654f1e3007246","AetnaSize":391975,"res_id":121,"id":122},{"name":"OOR_ADS_LC01_1512_00010.docx","res_model":"project.task","AetnaMd5sum":"0e3566c38b641958bca082178fc5cc3e","AetnaSize":238725,"res_id":84,"id":121},{"name":"OOR_ABC_AD01_1512_00009.pdf","res_model":"ir.attachment","AetnaMd5sum":"dbd738a6e524f233f4f52cfdaf62145b","AetnaSize":521318,"res_id":119,"id":120},{"name":"OOR_ABC_AD01_1512_00009.docx","res_model":"project.task","AetnaMd5sum":"2502a2a39ac865e67efc2494123e4d9a","AetnaSize":1210714,"res_id":83,"id":119},{"name":"OOR_ADS_LC01_1512_00008.pdf","res_model":"ir.attachment","AetnaMd5sum":"2ef5792d2d53784105cd7dae4cb4b4e3","AetnaSize":562262,"res_id":117,"id":118},{"name":"OOR_ADS_LC01_1512_00008.pptx","res_model":"project.task","AetnaMd5sum":"5550c5c9fa99a1e06176439d19e27682","AetnaSize":153384,"res_id":82,"id":117},{"name":"OOR_ABC_AD01_1512_00007.pdf","res_model":"ir.attachment","AetnaMd5sum":"3b5637b746a3e299daff7b974b7a7f6f","AetnaSize":91111,"res_id":115,"id":116},{"name":"OOR_ABC_AD01_1512_00007.docx","res_model":"project.task","AetnaMd5sum":"d20173f64915417bd946c51e9747e174","AetnaSize":346589,"res_id":81,"id":115},{"name":"test_xls.xlsx","res_model":"document.aetna.template","AetnaMd5sum":false,"AetnaSize":0,"res_id":11,"id":112},{"name":"test_props.docx","res_model":"document.aetna.template","AetnaMd5sum":false,"AetnaSize":0,"res_id":3,"id":111},{"name":"AA00S000N0230.docx","res_model":"document.aetna.template","AetnaMd5sum":false,"AetnaSize":0,"res_id":10,"id":110},{"name":"AA00S000N0090.docx","res_model":"document.aetna.template","AetnaMd5sum":false,"AetnaSize":0,"res_id":9,"id":109},{"name":"AA00S000N0080.docx","res_model":"document.aetna.template","AetnaMd5sum":false,"AetnaSize":0,"res_id":8,"id":108},{"name":"test_ppt.pptx","res_model":"document.aetna.template","AetnaMd5sum":false,"AetnaSize":0,"res_id":5,"id":107},{"name":"AA00S000N0030.docx","res_model":"document.aetna.template","AetnaMd5sum":false,"AetnaSize":0,"res_id":7,"id":106},{"name":"OOR__AD01_1512_00002.pdf","res_model":"ir.attachment","AetnaMd5sum":"637343f0ed4cb5ec7a958dfeb40e85de","AetnaSize":9252,"res_id":104,"id":105},{"name":"OOR__AD01_1512_00002.docx","res_model":"project.task","AetnaMd5sum":"982d6f2637891ca286a83f02228d4bc2","AetnaSize":47791,"res_id":76,"id":104},{"name":"OOR__AD01_1512_00001.pdf","res_model":"ir.attachment","AetnaMd5sum":"b4f9b4eff2beb91861a3392c8f2ccbde","AetnaSize":9252,"res_id":102,"id":103},{"name":"OOR__AD01_1512_00001.docx","res_model":"project.task","AetnaMd5sum":"281c2934cff7a9c56acfd17c8c9aa5c2","AetnaSize":11483,"res_id":75,"id":102},{"name":"/web/js/web.assets_backend/007d2e0","res_model":false,"AetnaMd5sum":false,"AetnaSize":0,"res_id":0,"id":97},{"name":"/web/css/web.assets_backend/007d2e0","res_model":false,"AetnaMd5sum":false,"AetnaSize":0,"res_id":0,"id":96},{"name":"reponse_appel_offre.docx","res_model":"document.aetna.template","AetnaMd5sum":false,"AetnaSize":0,"res_id":4,"id":46},{"name":"/web/js/web.assets_common/ceba8ad","res_model":false,"AetnaMd5sum":false,"AetnaSize":0,"res_id":0,"id":5},{"name":"/web/css/web.assets_common/ceba8ad","res_model":false,"AetnaMd5sum":false,"AetnaSize":0,"res_id":0,"id":3}]'

var allItems = JSON.parse(jsonBLOB) ;

coll.insert(allItems) ;

var results = coll.find({res_model: 'project.task' }) ;
var resultsNoLoki = allItems.filter(function(item){
    return item.res_model === 'project.task' ;
}) ;

logText(results.length+ " VS "+resultsNoLoki.length)
logObject(results);

// This statement sends to Inspector
inspectObject(db);

Thanks for the very detailed repro test case.  You were correct in thinking that mixing Boolean and strings might have been causing the issue.  I modified our ltHelper and gtHelper functions to handle the case where a boolean is involved in the comparison.  In javascript true < 'hello' is false, but true > 'hello' is also false, so I do strict checking now to enforce edge case where Boolean is mixed in with strings.
Let me know if you have any issues as the change has been checked into main branch.  Your sandbox looks pretty old as well, you might want to grab the latest of that or ensure your browser is not caching old sandbox (if pointing to live rawgit url).
I believe @KimSchneider originally added our ltHelper and gtHelper functions (or added null checking?).  This will hopefully serve to notify him I have modified those functions in case he cares to review.

I can't remember doing this :) Just one question: Is checking for null and undefined in seperate if conditions faster than checking with == null or both checks in one condition?

Oh, well thanks for the suggestion.  I did that and it's difficult to say for sure but it looks like it may help a bit.   Hard to guess jit optimizer, but combined checks are the end goal so if anything it will help to ensure that.

I checked with the rawgit sandbox and the correction works well (please note that the sandbox link on http://lokijs.org/#/demo point to the old version).
I am using loki with npm/browserify. Is it possible to publish a new npm release with the bugfix ?
About the remark of @KimSchneider for "== null" VS "=== null || === undefined", I found a jsperf about it :
http://jsperf.com/equals-null-or-undefined
The test gives barely no difference on FF. On Chrome, "== null" is slightly faster.

Great.  Yes we moved sandbox into lokijs repository (link on main lokijs github page).
Let's see if @techfort can do an npm push sometime soon (and also to possibly fix that link).

I took a second thought on this and the current or-solution is the best. WIth == the system performes a type conversion, which should end up being slower all of the time.

Hi again
I came across a similar bug when mixing number and string.

here is the new test code (just add change one record with a number value)
var db = new loki('sandbox.db');

var coll = db.addCollection("ir.attachment", {
    unique: ['id'],
    indices: ['res_model', 'res_id', "write_date"]
});

var jsonBLOB = '[{"name":"OOR_ABC_AD01_1512_00001.pdf","res_model":12,"AetnaMd5sum":"bd4978e05ab3b34dd844688485616b1f","AetnaSize":49864,"res_id":143,"id":144},{"name":"OOR_ABC_AD01_1512_00001.docx","res_model":"project.task","AetnaMd5sum":"abffb38135a9d82a8aec7c6c2c782aba","AetnaSize":49189,"res_id":95,"id":143},{"name":"LMA_ABC_AD01_1512_00020.pdf","res_model":"ir.attachment","AetnaMd5sum":"003460ce7634d7c38cdb2bb7063e4b6a","AetnaSize":562066,"res_id":141,"id":142},{"name":"LMA_ABC_AD01_1512_00020.pptx","res_model":"project.task","AetnaMd5sum":"be71757a7771ebc68faffb999547ada2","AetnaSize":599773,"res_id":94,"id":141},{"name":"LMA_ABC_AD01_1512_00019.pdf","res_model":"ir.attachment","AetnaMd5sum":"033702e04d0b93ac19e5894819f6ccc9","AetnaSize":562066,"res_id":139,"id":140},{"name":"LMA_ABC_AD01_1512_00019.pptx","res_model":"project.task","AetnaMd5sum":"ed4278c95beef9acb0f2da93d69e916f","AetnaSize":599773,"res_id":93,"id":139},{"name":"LLA_ADS_LC01_1512_00018.pdf","res_model":"ir.attachment","AetnaMd5sum":"bf880d2c5f0598c4177839584c95e6b9","AetnaSize":8313,"res_id":137,"id":138},{"name":"LLA_ADS_LC01_1512_00018.docx","res_model":"project.task","AetnaMd5sum":"68db1cfb030f189b8e84eb5fc2b7bb51","AetnaSize":10404,"res_id":92,"id":137},{"name":"LMA_ABC_AD01_1512_00017.pdf","res_model":"ir.attachment","AetnaMd5sum":"601becfab859e1cf2d68ac66d7e164e3","AetnaSize":392450,"res_id":135,"id":136},{"name":"LMA_ABC_AD01_1512_00017.docx","res_model":"project.task","AetnaMd5sum":"aa9a95883c6f8f892042af86cf9c9997","AetnaSize":285650,"res_id":91,"id":135},{"name":"LMA_ADS_LC01_1512_00016.pdf","res_model":"ir.attachment","AetnaMd5sum":"05c6126791e82f13bbb6b1265d8402ad","AetnaSize":63851,"res_id":133,"id":134},{"name":"LMA_ADS_LC01_1512_00016","res_model":"project.task","AetnaMd5sum":"bbbaa2ac3c784a2f297474620df6bfb8","AetnaSize":55782,"res_id":90,"id":133},{"name":"LMA_ADS_LC01_1512_00015.pdf","res_model":"ir.attachment","AetnaMd5sum":"0f657016b14c2323708e4c19291c7681","AetnaSize":18117,"res_id":131,"id":132},{"name":"LMA_ADS_LC01_1512_00015","res_model":"project.task","AetnaMd5sum":"665c7569d524b5f0b703e9667514c491","AetnaSize":4619,"res_id":89,"id":131},{"name":"LMA_ABC_AD01_1512_00014.pdf","res_model":"ir.attachment","AetnaMd5sum":"a3534013609a66266dfa8cd7ddf4d88b","AetnaSize":92333,"res_id":129,"id":130},{"name":"LMA_ABC_AD01_1512_00014.docx","res_model":"project.task","AetnaMd5sum":"b4be420af0fcfbd67cab895fd3de626d","AetnaSize":142186,"res_id":88,"id":129},{"name":"LMA_ABC_AD01_1512_00013.pdf","res_model":"ir.attachment","AetnaMd5sum":"9298e7293f52d9975d7b2d0eee90f6d0","AetnaSize":91217,"res_id":127,"id":128},{"name":"LMA_ABC_AD01_1512_00013.docx","res_model":"project.task","AetnaMd5sum":"ab25fdd8191d53d2b0d2f8a85a9f97be","AetnaSize":346589,"res_id":87,"id":127},{"name":"OOR_ABC_AD01_1512_00012.pdf","res_model":"ir.attachment","AetnaMd5sum":"b0b81d4aabef57376f05e1e50d35cc52","AetnaSize":61123,"res_id":125,"id":126},{"name":"OOR_ABC_AD01_1512_00012.xlsx","res_model":"project.task","AetnaMd5sum":"1f97876f0f3f52f7622939c820e9e1da","AetnaSize":41991,"res_id":86,"id":125},{"name":"OOR_ADS_LC01_1512_00011.pdf","res_model":"ir.attachment","AetnaMd5sum":"4fae4c93b944aa30ecae2ba5bb058318","AetnaSize":405657,"res_id":123,"id":124},{"name":"OOR_ADS_LC01_1512_00011.docx","res_model":"project.task","AetnaMd5sum":"8c10d2cff4f3109e7f57ad9ad87d9c25","AetnaSize":260464,"res_id":85,"id":123},{"name":"OOR_ADS_LC01_1512_00010.pdf","res_model":"ir.attachment","AetnaMd5sum":"c55d3a7fe36ec591be6654f1e3007246","AetnaSize":391975,"res_id":121,"id":122},{"name":"OOR_ADS_LC01_1512_00010.docx","res_model":"project.task","AetnaMd5sum":"0e3566c38b641958bca082178fc5cc3e","AetnaSize":238725,"res_id":84,"id":121},{"name":"OOR_ABC_AD01_1512_00009.pdf","res_model":"ir.attachment","AetnaMd5sum":"dbd738a6e524f233f4f52cfdaf62145b","AetnaSize":521318,"res_id":119,"id":120},{"name":"OOR_ABC_AD01_1512_00009.docx","res_model":"project.task","AetnaMd5sum":"2502a2a39ac865e67efc2494123e4d9a","AetnaSize":1210714,"res_id":83,"id":119},{"name":"OOR_ADS_LC01_1512_00008.pdf","res_model":"ir.attachment","AetnaMd5sum":"2ef5792d2d53784105cd7dae4cb4b4e3","AetnaSize":562262,"res_id":117,"id":118},{"name":"OOR_ADS_LC01_1512_00008.pptx","res_model":"project.task","AetnaMd5sum":"5550c5c9fa99a1e06176439d19e27682","AetnaSize":153384,"res_id":82,"id":117},{"name":"OOR_ABC_AD01_1512_00007.pdf","res_model":"ir.attachment","AetnaMd5sum":"3b5637b746a3e299daff7b974b7a7f6f","AetnaSize":91111,"res_id":115,"id":116},{"name":"OOR_ABC_AD01_1512_00007.docx","res_model":"project.task","AetnaMd5sum":"d20173f64915417bd946c51e9747e174","AetnaSize":346589,"res_id":81,"id":115},{"name":"test_xls.xlsx","res_model":"document.aetna.template","AetnaMd5sum":false,"AetnaSize":0,"res_id":11,"id":112},{"name":"test_props.docx","res_model":"document.aetna.template","AetnaMd5sum":false,"AetnaSize":0,"res_id":3,"id":111},{"name":"AA00S000N0230.docx","res_model":"document.aetna.template","AetnaMd5sum":false,"AetnaSize":0,"res_id":10,"id":110},{"name":"AA00S000N0090.docx","res_model":"document.aetna.template","AetnaMd5sum":false,"AetnaSize":0,"res_id":9,"id":109},{"name":"AA00S000N0080.docx","res_model":"document.aetna.template","AetnaMd5sum":false,"AetnaSize":0,"res_id":8,"id":108},{"name":"test_ppt.pptx","res_model":"document.aetna.template","AetnaMd5sum":false,"AetnaSize":0,"res_id":5,"id":107},{"name":"AA00S000N0030.docx","res_model":"document.aetna.template","AetnaMd5sum":false,"AetnaSize":0,"res_id":7,"id":106},{"name":"OOR__AD01_1512_00002.pdf","res_model":"ir.attachment","AetnaMd5sum":"637343f0ed4cb5ec7a958dfeb40e85de","AetnaSize":9252,"res_id":104,"id":105},{"name":"OOR__AD01_1512_00002.docx","res_model":"project.task","AetnaMd5sum":"982d6f2637891ca286a83f02228d4bc2","AetnaSize":47791,"res_id":76,"id":104},{"name":"OOR__AD01_1512_00001.pdf","res_model":"ir.attachment","AetnaMd5sum":"b4f9b4eff2beb91861a3392c8f2ccbde","AetnaSize":9252,"res_id":102,"id":103},{"name":"OOR__AD01_1512_00001.docx","res_model":"project.task","AetnaMd5sum":"281c2934cff7a9c56acfd17c8c9aa5c2","AetnaSize":11483,"res_id":75,"id":102},{"name":"/web/js/web.assets_backend/007d2e0","res_model":false,"AetnaMd5sum":false,"AetnaSize":0,"res_id":0,"id":97},{"name":"/web/css/web.assets_backend/007d2e0","res_model":false,"AetnaMd5sum":false,"AetnaSize":0,"res_id":0,"id":96},{"name":"reponse_appel_offre.docx","res_model":"document.aetna.template","AetnaMd5sum":false,"AetnaSize":0,"res_id":4,"id":46},{"name":"/web/js/web.assets_common/ceba8ad","res_model":false,"AetnaMd5sum":false,"AetnaSize":0,"res_id":0,"id":5},{"name":"/web/css/web.assets_common/ceba8ad","res_model":false,"AetnaMd5sum":false,"AetnaSize":0,"res_id":0,"id":3}]'

var allItems = JSON.parse(jsonBLOB) ;

coll.insert(allItems) ;

var results = coll.find({res_model: 'project.task' }) ;
var resultsNoLoki = allItems.filter(function(item){
    return item.res_model === 'project.task' ;
}) ;

logText(results.length+ " VS "+resultsNoLoki.length)
logObject(results);

// This statement sends to Inspector
inspectObject(db);

Hi,
@obeliskos, did you have the time to check the case I submited ?

I don't remember... but we have made fixes to our comparison helper functions since you reported this.
When I run your last test code on loki sandbox I get 17 vs 17, so this possibly is not applicable anymore?
Loki Sandbox Link

I just test again in the sandbox and it still give me 6 VS 17

Hey all :smile:!
I tested this with the code above and it looks like this issue only appears in chrome :worried:.
I tested in firefox (dev-edition and stable) and  ms edge and I get 17 VS 17.
But in chrome stable and canary I get 6 VS 17.
All browsers are running on windows 10 stable.
I hope that helps :smile:.

Thanks @Kanaye, I am able to reproduce this error in Chrome.  I will look into this.

Alright, I believe I have found the problem.  Seems our handling of mixed types was bad on all browsers probably just a different sort algorithm used on chrome.
This should be fixed now... @aetna-softwares and @Kanaye feel free to try out and post results.

works for me :)

Also works for me :)
Thanks for fixing this :+1:.
I think you can close this issue now.

@aetna-softwares @Kanaye @obeliskos closing this, thanks for working on it.


Support for native GPU channel_first format on all conv ops (not bias…

…_add).

Successfully tested on GPU.


Bump rekor dependency to 0.10.

This is a pretty large, but overdue version bump of rekor.
(also bumps deps of other packages like cosign as a consequence).
This mirrors a hack introduced in
https://github.com/sigstore/policy-controller/pull/112 to fix a flag
name collision between glog and klog. Thanks @jdolitsky for the tip 🙏
(p.s. vendored deps make PRs huge 😭 )

/retest

@priyawadhwa underlying infra issues have be resolved - this is ready for review!

/lgtm

/assign @priyawadhwa

/lgtm

/lgtm

/lgtm


ClockTime constructor name is different, breaking mongoose Date checks

We understand you have a problem and are in a hurry, but please provide us with some info to make it much more likely for your issue to be understood, worked on and resolved quickly.

FakeTimers version : 13.0.2
Environment : node 20.18 (macOS)
Other libraries you are using: sinon 19.0.2, mongoose 8.7.1

What did you expect to happen?
We're using Sinon together with mongoose. When using mongoose's toJSON and toObject to turn mongoose documents into plain objects while faking timers I'd expect fields with Date objects to remain Date objects (or at least look like them). This is the case in fake-timers 11.2.2.
What actually happens
While faking timers, when calling toJSON or toObject on a mongoose document, it turns any Date fields into a number (unix timestamp). This seems to happen because mongoose determines whether an object is a Date or not using the constructor name.
How to reproduce
import mongoose from 'mongoose';
import sinon from 'sinon';

const DocModel = mongoose.model('doc',  new mongoose.Schema({ someDate: { type: Date } }));

const doc = new DocModel({ someDate: new Date() })

const plainDocBefore = doc.toObject()
console.log(plainDocBefore.someDate) // plainDocBefore.someDate is a Date object

sinon.useFakeTimers({ now: new Date(), toFake: ['Date', 'hrtime'] });

const plainDocAfter = doc.toObject()
console.log(plainDocAfter.someDate) // plainDocAfter.someDate is a unix timestamp (number)

Hope this is the right place to report this.

Hi, great report. We are trying to do semantic releases, which means that when going from version 11 to 12, you will know there are breaking changes. So there are at least two breaking changes between version 11 and 13, of which this is the most important change in version 12.
So currently it works as intended, but that does not mean we cannot do stuff to make life easier for people, if it is not a big deal. We did this in #505, for instance, to make instanceof Date checks pass.
~I do not immediately see how we can do anything about Mongoose, if it essentially checks function references are the same.  I do not think they are doing the right thing here anyway: checking if the instance is a Date has language support. Checking constructor references is really saying you only trust this specific Date constructor, which normally should not be any of your concern.~
After checking out your link to the Mongoose code, I see that they are not comparing function references, but the names of those functions (constructors):
> class NewDate extends Date {}
undefined
> d1 = new NewDate
NewDate 2024-10-17T16:51:28.011Z
> d.constructor
[Function: Date]
> d.constructor.name
'Date'
> d1.constructor.name
'NewDate'
> d1.constructor.name = 'Date'
'Date'

This is something we can do something about. Do you want to supply a fix? Usually the quickest way to get it done, if you need it.

Fix supplied. Should fix your case.

npm notice 📦<EMAIL_ADDRESS>npm notice Tarball Contents
npm notice 1.5kB LICENSE
npm notice 18.8kB README.md
npm notice 2.5kB package.json
npm notice 74.3kB src/fake-timers-src.js
npm notice Tarball Details
npm notice name: @sinonjs/fake-timers
npm notice version: 13.0.3
npm notice filename: sinonjs-fake-timers-13.0.3.tgz
npm notice package size: 21.1 kB
npm notice unpacked size: 97.2 kB
npm notice shasum: 3338263cbdfdb5cd40be61c3c315f360bf4f3a3b
npm notice integrity: sha512-golm/Sc4CqLV/[...]Kdu8OE05Ztiiw==
npm notice total files: 4
npm notice
npm notice Publishing to https://registry.npmjs.com/ with tag latest and default access
+<EMAIL_ADDRESS>v13.0.3

Thanks so much! That was super quick. It does indeed fix the issue partially, but in some situations it's sadly still not working. I'll dig deeper and see about creating a PR if it's fixable.


Fix whitespace and bracket spacing issues.

Awesome Library! 👍
I saw a few whitespace and bracket spacing issues as well as unneeded closure parameters being named so I thought it might be worthwhile to send over a pull request.
How does it look? Any changes that you want me to take out?

@Nirma Beautiful! 💅 Thank you so much, I'll merge this after CI passed.

@kishikawakatsumi You are welcome!! Thanks for making this!!


Generating on-the-fly zod validation objects for 3rd party libs

I used yup for years in a totally half-assed way because it didn't have typescript support. I have since fallen absolutely in love with zod and I'm now validating nearly everything. And most of my type definitions are coming from z.infer<typeof MyZodSchema>.
However the only deficiency I have found is the ability to support validation for 3rd party types.
My best example of this is the Stripe library. Nowadays, Stripe actually provides a very robust set of types for their very many entities (customers, subscriptions, charges, payment methods, etc, it goes on and on).
You can use these types easily like this:
import {Stripe} from 'stripe';
const customer: Stripe.Customer = {
  // ... a bunch of properties here ...
};

But I would like to be able to validate these types as well. This is particularly useful when I have cached stripe objects in browser storage (or async storage for mobile) and I need to validate that they are not corrupted before consuming them.
I have seen some people create some codegen tools to go from typescript interface -> zod schema, but is there any way to do this in code on the fly? I'm working on stripe lib right now, but I can imagine doing this for many other libraries as well.
Thanks again for the great lib!!

@famouspotatoes

is there any way to do this in code on the fly

If you mean "at runtime", then no. TypeScript types do not have a runtime representation with the exception of enum. So, you have a few different options for 3rd party libraries:

Use a codegen tool (existing or write your own)
Only validate the properties that you actually use at runtime, and use passthrough to preserve non-checked properties

We use option 2 for most 3rd party data which gives us the runtime safety we care about without needing to keep things in sync with published types from 3rd parties. I've also found that most 3rd parties provide very loose types anyway where almost all keys are optional/nullable.

This is particularly useful when I have cached stripe objects in browser storage (or async storage for mobile) and I need to validate that they are not corrupted before consuming them.

If you can't trust your cache, and there are good reasons to be defensive about this especially with something like Stripe, then I'd say you're going to have to go the codegen route. Another option there is to encrypt or sign your cache so you can at least rule out tampering.

I'm going to close this issue, but feel free to continue posting your thoughts here or asking questions.


Update of gene and transcript includes version update

Requirements
Description
On gene and transcript update, update version as well;
Use case
When other teams runs gene/transcript updates, they have a problem to separately update version with direct sql request, so we just include version update in common update.
Benefits
Less code in pipeline, remove from pipelines authors responsibility to update a version separately from common update
Possible Drawbacks
Version will be updated in all cases
Testing
no new tests needed, data health checks will cover tesdcases

Wrong branch

Coverage increased (+0.0009%) to 82.338% when pulling dbabd6abbf86ebf8fdf4766561ec243d4c924ef0 on UpdateVersion into 2e781011e4449f7d078a94d37645b07a61732d57 on master.


Created basic rewards screen

Closes #12
Created the reward screen and implemented functionality to navigate to and away from this screen. The screen is now ready to have other features added to it.

Closing issue #12. Fxml file was added for reward screen and a method for navigation for it was implemented.


The character device /dev/vboxdrv does not exist

I have installed both the packages and it still doesn't work

I just had to restart my computer


docs: fixed typos and changed components names (Cheat Sheet)

What is it?

[ ] Feature / enhancement
[ ] Bug
[x] Docs / tests

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Use cases and why

One use case

Another use case

Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

Merged!!


Make important security permissions page easier to find by Doc search

Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.

[ ] If the changes in this PR is part of the next future release, make this pull request against the docs-staging branch which will be published at the next release boundary. If the changes in this PR are part of the current release, use the default base branch, master. For more information about branches, see https://github.com/zowe/docs-site/tree/master#understanding-the-doc-branches.

[ ] If this PR relates to GitHub issues in docs-site or other repositories, please list in Description, prefixed with close, fix or resolve keywords.

Description (including links to related git issues)
Please describe your pull request.
:heart:Thank you!

Hi Lenny, this looks great to me. If you need a reviewer to approve and merge this PR, feel free to assign it to me.


Theme: ConfigServer Security & Firewall mobile option is off produces a bug

When ConfigServer Security & Firewall has in settings STYLE_MOBILE set to 0 the module's footer get's broken and removes complete body.

It will be fixed in 18.31


[feat] Add gin instrumentation

Adds gin-gonic/gin instrumentation.
Includes new eBPF probe, instrumentor and e2e test.

Closes #75

@MrAlias I've updated the things you suggested - ready for another review 👍🏻

Strange, the net/http probe's now complaining of incorrect variable types (s32 -> void*).


Déploiement sur serveur test

Description
Deploy raven on Ouranos test server
Ideally before December 14th.

https://github.com/Ouranosinc/raven/releases/tag/0.2

Now up on Medus:
http://medus.ouranos.ca:9099/wps?request=GetCapabilities&service=WPS
Need a small fix on the last line of the Dockerfile file to start the service:
CMD ["source activate wps && exec raven start -b <IP_ADDRESS> -c /opt/wps/etc/demo.cfg"]


[nnx] Optimizer uses variables

What does this PR do?
Extracts the trainable params on __init__ using nnx.variables into a self.params attribute. This effectively fixes the set of trainable params, in the current implementation if the model adds new params then update will fail. In a future PR we can make the following changes if we want to continue in this direction:

Have __init__ accept a State object with the Variables directly.
Remove the wrt argument.
Remove the model attribute.

Example:
params = nnx.variables(model, nnx.Param)
optimizer = nnx.Optimizer(params, tx=optax.adam(0.01)

Discussion
Currently there is some benefit of having a reference to model inside Optimizer in that potentially you could just pass the optimizer to some of the functions and then use the model from there. On the other hand, having a pure Variables structure is inline with how Pytorch / MLX represent the optimizers.

I find myself often splitting via nnx.split(state.model, self.wrt) etc.  If this is storing the differentiable variables, would saving the static graphdef also make workflows cleaner with less splitting required?


Metric on my horizontalPodAutoscaler is different than the one in metrics explorer on prod env

Hi, I have 2 different environments, staging and prod, in both I have configured the same horizontalPodAutoscaler, with different values and for each cluster I have a different clusterAgent, with different values, the thing is that in staging the metrics explore shows the same value that my hpa gets but for prod for example the metrics explorer says I have 15 nginx.net.request_per_s and in my hpa it says it is on 806m, why is this happening, I have the same configuration on each agent

This issue tracker is primarily used to track bugs in the Agent codebase to completion. For issues directly related to your use of the agent, we have a dedicated team who can investigate your reports directly. Please contact Datadog support and and send them a flare demonstrating the issue.
Thanks!


Update README.md

Explicitly outlined the version of Node that DiscordJS v14 requires to run, being 16.9.0 or higher.

ty


SRT File wasn't created

AppData\Local\Programs\Python\Python310\lib\site-packages\whisper\timing.py:58: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.

Traceback (most recent call last):
File "C:\Users\Mage\AppData\Local\Programs\Python\Python310\Scripts\decipher-script.py", line 33, in
sys.exit(load_entry_point('decipher==0.0.0', 'console_scripts', 'decipher')())
File "C:\Users\Mage\AppData\Local\Programs\Python\Python310\lib\site-packages\decipher_main_.py", line 53, in main
cli()
File "C:\Users\Mage\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1130, in call
return self.main(*args, **kwargs)
File "C:\Users\Mage\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
File "C:\Users\Mage\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\Mage\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\Mage\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 760, in invoke
return _callback(*args, **kwargs)
File "C:\Users\Mage\AppData\Local\Programs\Python\Python310\lib\site-packages\decipher_main.py", line 27, in _transcribe_cli
transcribe(
File "C:\Users\Mage\AppData\Local\Programs\Python\Python310\lib\site-packages\decipher\action.py", line 32, in transcribe
assert os.path.exists(srt_file), f"SRT file not generated?"
AssertionError: SRT file not generated?

What is the full name including extension of the video file you were trying to transcribe?

"I Miss Old VR....mp4"

It made the transcription with no issue. just didn't save it to an srt file or seemingly any file


Similarity between data portability and live programming

While reading this exciting list of schema change challenges it occurred to me that a single system changing its schema over time may not be so different from a network of multiple systems with competing schemas.
Especially if you start out with one system, then add a second one, and only require data portability from the first to the second, it's almost exactly the same problem as writing a script to migrate data from an "old" to a "new" database schema.

The changes that happen to the code in live programming may be quite similar to the changes happening to the network as a whole in a data portability network.

I made a start with #43 to get my head around the problem space. I pushed some code to the main branch but added a note to the readme explaining this is just draft scribbles, nothing to see yet.
I might go straight to #48 since it's generic but also quite specific in its examples of code/state changes to support.


Degree Days dataset SNAP portal prep

This PR adds a single Jupyter notebook (arctic_eds/degree_days/portal_prep.ipynb) for extracting metadata from and zipping the degree days data (as generated in this folder; no design indices in this one) for hosting via the SNAP GeoNetwork data portal (here). This also includes a zipit.sh script for helping to zip the data files. To review, feel free to just have a look without running, or run the whole notebook. Any feedback is welcome! No rush on this.

Thanks Kyle, looks good! Note that I didn't re-run with this small change, but I inspected the #58ff48c diff.


Assert Failed on mktime call (IDFGH-9662)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.0.1
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
Custom board with module ESP32-WROOM-32E
Power Supply used.
External 5V
What is the expected behavior?
not crash on a call to mktime()
What is the actual behavior?
Gets an assert failure on a system call to mktime()
Steps to reproduce.
It's random and happens infrequently
Debug Logs.
assert failed: xQueueGenericSend queue.c:837 (pxQueue->pcHead != ((void *)0) || pxQueue->u.xSemaphore.xMutexHolder == ((void *)0) || pxQueue->u.xSemaphore.xMutexHolder == xTaskGetCurrentTaskHandle())

Backtrace: 0x400820aa:0x3ffdd520 0x4008a761:0x3ffdd540 0x400919ea:0x3ffdd560 0x4008afb9:0x3ffdd680 0x40082ffb:0x3ffdd6c0 0x400831ed:0x3ffdd6f0 0x40163469:0x3ffdd720 0x4015bfb9:0x3ffdd740 0x400e21be:0x3ffdd780 0x400e2275:0x3ffdd810 0x400e22d3:0x3ffdd920 0x400e239a:0x3ffdd950 0x400e24b7:0x3ffddaf0 0x400d9d15:0x3ffddbd0 0x400e1ddc:0x3ffddbf0 0x400e1e15:0x3ffddd70 0x400e1f05:0x3ffdddf0 0x401116cb:0x3ffddfb0 0x4010f4cd:0x3ffddff0 0x40110918:0x3ffde0b0 0x4010e081:0x3ffde0d0 0x40170f3d:0x3ffde100 0x4010e353:0x3ffde120
0x400820aa: panic_abort at /opt/esp/esp-idf-5.0.1/esp-idf/components/esp_system/panic.c:423

0x4008a761: esp_system_abort at /opt/esp/esp-idf-5.0.1/esp-idf/components/esp_system/esp_system.c:153

0x400919ea: __assert_func at /opt/esp/esp-idf-5.0.1/esp-idf/components/newlib/assert.c:78

0x4008afb9: xQueueGenericSend at /opt/esp/esp-idf-5.0.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:837 (discriminator 8)

0x40082ffb: lock_release_generic at /opt/esp/esp-idf-5.0.1/esp-idf/components/newlib/locks.c:192

0x400831ed: _lock_release at /opt/esp/esp-idf-5.0.1/esp-idf/components/newlib/locks.c:198
 (inlined by) __retarget_lock_release at /opt/esp/esp-idf-5.0.1/esp-idf/components/newlib/locks.c:334

0x40163469: __tz_unlock at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/newlib/newlib/libc/time/tzlock.c:50

0x4015bfb9: mktime at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/newlib/newlib/libc/time/mktime.c:272

0x400e21be: gd_convertDateStrToUnixTimestamp at /home/mercieca/projects/Abertax/HEDL/Firmware_ABX043/ESP32/trunk/main/graphdata.c:710

0x400e2275: gd_processSampleLineWithDateStr at /home/mercieca/projects/Abertax/HEDL/Firmware_ABX043/ESP32/trunk/main/graphdata.c:316

More Information.
No response

Should be fixed by #10649, I think.

Yes, its the same.
Thanks


View formatting for 2 level grouped-By list ? How to access second level of grouping and format it?

What type of issue is this?
Question
What SharePoint development model, framework, SDK or API is this about?
Declarative list formatting
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details
none
Issue description
Thanks for your example on view formatting a grouped list. How is similar formatting done for second level of grouping?

@sachinez731 there is no OOTB token for accessing the second level group as such. But you can have conditions to separately format the first and second level group.
Let's say the first groupBy column is of person type and the second one is of number/currency type, then you can have something like -
"txtContent"<EMAIL_ADDRESS>== 'first groupBy column name'<EMAIL_ADDRESS>'@group.fieldData.displayValue')"

Yes, I happen to raise it to MS.
The second level of grouping will be accessed by if loop.. and you can match the column name... (@group.columnDisplayName  == 'Analyst' ).
The main issue that I was facing was due to "Person" column. And @group.fieldData.displayValue was displaying the person name as "item item" in second level grouping. This got removed when I started using @group.fieldData.title
-Sachin


Feature- Modify readme

IMPORTANT: When creating your Pull Request, please use the following format for the title: Category - Resource Name & Section
PR Title samples:

Web development - CSS Portal & Tools
Web development - Leetcode & Challenges

Fixes Issue #225

Description:

added open source , devops link to read me
added more resource names to read me
Resource URL:

Checklist:
Before submitting your pull request, ensure that you have completed the following tasks:

[x ] I have carefully reviewed and adhered to the contributing guidelines before creating this pull request.
[ x] I followed the prescribed PR title template. (Check this if you're adding a resource)

@jfmartinz please check

Can you please add GSSOC and Level tags, since I am a GSSOC Contributor?

Only in the issue. I added it already.

It will work

Okay, Thanks.. I am a beginner so I was a bit confused about the consideration. Sorry for the inconvenience.

Okay, Thanks.. I am a beginner so I was a bit confused about the consideration. Sorry for the inconvenience.

Hey, no worries :)


Travis - MacOS PIP not found - xcode 8.3 and 9.2 images

Apparently this was reported a while ago, but today is the first day I'm experiencing it.  Anyone else running into it?  The workaround would be to change the .travis/install.sh script i guess... so I'm surprised nobody else has raised it.
https://github.com/travis-ci/travis-ci/issues/8829
Example:
https://travis-ci.org/bincrafters/conan-glog/jobs/335646463#L1776

Is this solved? it was related with the pyenv installing? Please comment if it's not solved.


tibbo.ioninja version 5.5.1

Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978335215
2024-03-21 16:44:25.903 [CLI ] Package hash verification failed. SHA256 in manifest [3c50a1cf8ad8872cc63ca85b23f4d84019884f5c8eb085269a3ae33c7fdea447] does not match download [72ff610025f2abc8d7a4537485834b95b4fa62c610223eff0aaf10a198012083]
2024-03-21 16:43:53.779 [CLI ] Package hash verification failed. SHA256 in manifest [f28dfa93a5281cb1606a69bd8759248828889a1ed4affffce5a3ebfcd787088d] does not match download [6f7a993711bee28e086f330613657a12aa8c74ed95faab638bd1fefd4bdc340f]

(Automated response - build 870.)


Notify original owners of recent Git conversions

Quite a lot

[ ] D-Fend Reloaded
[ ] Scorched3D
[ ] GLtron
[ ] Biniax
[ ] Starblastrix
[ ] Danger from the Deep
[ ] Tressette
[ ] Open Game Engine
[ ] XPilot
[ ] OpenCity
[ ] Sengoku
[ ] Tumiki Fighters
[ ] Scrabble3D
[ ] Trophy
[ ] Dark City
[ ] Atomiks
[ ] Microwar 2.0
[ ] Ballerburg
[ ] SDL Sopwith
[ ] Softpixelengine
[ ] HoDoKu
[ ] Cat Mother Dead Justice
[ ] Brutal Chess
[ ] Bombermaan
[ ] Summoming Wars
[ ] Phantasy Star Rebirth
[ ] PARPG Core
[ ] OpenBlox
[ ] Grobots
[ ] Tux Football
[ ] TORCS Racing Car Simulator
[ ] Star Control II
[ ] rpge
[ ] OpenGlad
[ ] Open Yathzee
[ ] Battle Tanks
[ ] nXtank
[x] Brain Workshop
[ ] Core War
[ ] PyKaraoke
[ ] Pang Zero
[x] GPL Arcade Volleyball
[x] Blockout II
[x] Bubs Brothers
[x] Liquid War 6
[x] Lips of Suna
[x] Epic of Heroes
[x] Dune Dynasty
[x] DNT
[x] Celestron
[x] Blob wars Metal Solid Blob
[x] Atomik Tanks
[x] OpenRPG

I marked those that just had a Git (Sourceforge) to Git (Gitlab) conversion as done even though I did not notify anyone in these cases. It's not really worth doing because I did not deliver any additional value, I decided.

I sent a message to Jean Luc PONS, an author of Blockout II, and told him about the CVS to Git conversion.

I sent a message to Cesare Zavattari, an author of GPL Arcade Volleyball, and told him about the CVS to Git conversion.

I sent a message to UPi, an author of Pang Zero, and told him about the CVS to Git conversion.

I sent a message to Kelvin Lawson, an author of PyKaraoke, and told him about the CVS to Git conversion.

I got a nice reply from Cesare Zavattari.

I sent a message to Alexander Sasha Wait, an author of Core Ware, and told him about the CVS to Git conversion.

I sent a message to Quadrofonic, the author of nXtank, and told him about the SVN to Git conversion.

I also marked those which were pure Hg to Git conversions as done, even though I did not notified the authors. I also don't feel, it really merits a notification.

I got a nice reply from UPi.

I sent a message to Vladimir Menchakov, the author of Battle Tanks, and told him about the SVN to Git conversion.

I sent a message to Bernd A., an author of Bombermaaan, and told him about the SVN to Git conversion.

I sent a message to Joe Flint, an author of Brutal Chess, and told him about the SVN to Git conversion.

I sent a message to James Marshall, an author of Cat Mother, and told him about the SVN to Git conversion.

I sent a message to Bernhard Hobiger, the author of HoDoKu, and told him about the SVN to Git conversion.

I sent a message to Lukas Hermanns, an author of SoftPixel Engine, and told him about the SVN to Git conversion.

I sent a message to Simon Howard, the author of SDL Sopwith, and told him about the SVN to Git conversion.

I sent a message to Pierre-Alain Dorange, the author of MicroWar 2.0, and told him about the source releases inclusion in a Git.

I sent a message to Mateusz Viste, the author of Atomiks, and told him about the SVN to Git conversion.

I sent a message to Philippe Bousquet, the author of DarkCity, and told him about the SVN to Git conversion.

I sent a message to Matthieu Lecesne, an author of TROPHY, and told him about the SVN to Git conversion.

I sent a message to Heiko Tietze, the author of Scrabble3D, and told him about the SVN to Git conversion.

I got a nice reply from Mateusz. He is happy with SVN. I can totally understand that. :)

I got a nice reply from Vladimir Menshakov. He indicated me a Github repository for Battle Tanks that seems to have imported the SVN and continued. Need to check that the whole SVN is contained and if so, I can remove the conversion that I made.
Usually, I search on Github before, but not always I find the continuations. This is such a case.

I sent a message to Evil Mr Henry, the author of Tumiki Fighters, and told him about the source releases to Git conversion.

I sent a message to P Hansson, an author of Sengoku: Warring states of Japan, and told him about the source release to Git conversion.

I sent a message to Duong Khang Nguyen aka neoneurone, the main programmer of OpenCity, and told him about the CVS and SVN conversion to Git and combination.

I sent a message to the XPilot classic maintainers and told them about the CVS to Git conversion.

I got a nice reply from Evil Mr Henry.

I sent a message to petrorocket, an author of Open Game Engine, and told him about the CVS, SVN to Git conversion and combination of the result with the existing Git.

I sent a message to Luz de Gan, the author of Tressette, and told him about the SVN to Git conversion.

i got a nice reply from Heiko Tietze, the author of Scrabble3D. He also copied the last version to Github. Although I have a longer history (having like 20 source releases committed to the Git) I might exchange it with his version (he being the original author and having made a Github project for it).

I got a nice reply from Pierre-Alain Dorange, the author of Microwar. He mentions that Gitlab puts a wrong label "no license added". I might need to find out, how these automatic labels can be turned off.

I sent a message to lbprogramming, the author of Starblastrix, and told him about the source releases to Git conversion.

I sent a message to Jordan Tuzsuzov, the author of Biniax, and told him about the source releases to Git conversion.

I sent a message to Gavin Camp, an author of Scorched3D, and told him about the CVS to Git conversion and combination with the existing Git.

I do not yet send a message to the author of GLtron, because I just recently sent him a message because of #152 and still are waiting for a reply.

I sent a message to Alexander Herzog, the author of D-Fend Reloaded, and told him about the source releases conversion to Git.

I got a nice reply from Jordan Tuzsuzov.

I got a nice message from Bjørn Stabell (XPilot classic) where he asked about the conversion process. I sent him some info.

All in all this was a very pleasant experience so far. I thought I would rather annoy people with sending them unwanted messages, but it seems most people are happy about interest about their work. That#s why I opened #167.


Check other mailbox

Hello
I want to use OAuth for Microsoft.
I have a user<EMAIL_ADDRESS>which has no own mailbox. Then I have a user<EMAIL_ADDRESS>user1 has FullAccess to the mailbox user2. Now how can I access the mailbox of user2 with user1?
Other question: I get the error "connection setup failed" like here: https://github.com/Webklex/php-imap/issues/232
Have you a solution for this?

Hi @KodaCHC  ,
I'm not to familiar with shared outlook mailboxes. Have you checked if they are listed if you dump var_dump($client->getFolders()) ? Perhaps their name or path are a bit strange.
Best regards,

Regarding OAuth, checkout these examples: https://www.php-imap.com/examples/oauth
If you are still experiencing problems, try to enable the debug mode inside your config file:
https://github.com/Webklex/php-imap/blob/master/src/config/imap.php#L152

Thank you for answer
I think you missed the first question?
I have used the example. I will now test debug

That's possible, I'm not sure to which function you are referring to.
My experience with microsoft/azure/outlook isn't that great - its usually complicated, not intuitive and works different then everywhere else. They also don't care much about rfc standards :D
Best regards & happy coding,

Thank you.
For SharedMailbox: https://stackoverflow.com/questions/28481028/access-office356-shared-mailbox-with-php
Have you a function for this, or what is the best soltion?

They also don't care much about rfc standards :D
I know. really anoying

The debug:
>> TAG1 AUTHENTICATE XOAUTH2 dXNlcj......QE= << NO AUTHENTICATE failed. >> TAG2 LOGOUT << BYE Microsoft Exchange Server IMAP4 server signing off. << OK LOGOUT completed.
The same with the openssl command
I have found an info with the authorization for "https://outlook.office365.com/IMAP.AccessAsUser.All" which I will try

Drop me a mail at<EMAIL_ADDRESS>I'll forward you a conversation I had a few month back.

Thank you. I have send you the mail

Hi @KodaCHC ,
I'm closing this issue. If I'm wrong and this one is still active, please feel free to reopen it :)
Best regards,


antfu/no-only-tests rule

Clear and concise description of the problem
Right now, I use eslint-plugin-no-only-tests to enforce stylistically. I wish that this could be ported to a more flat config friendly setup with types and recent ESLint apis.
Suggested solution
We could port this plugin to TypeScript and add it
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

I am not interested in porting and maintaining a rule unless it's deprecated.
This is a one-rule plugin, I am pretty sure it doesn't need to do anything to work in flat config. https://github.com/antfu/eslint-config/blob/main/src/configs/test.ts
If it has to be, I'd suggest it goes to https://github.com/veritem/eslint-plugin-vitest


Reworked api connections to fix nodemailer

Fixes issue#84
Changes proposed in this pull request:

Updated keys
Slight changes to format of transporter
clean-config script added to make sure secrets aren't pushed to repo, but leaving config file for ease of future testing.

FYI.  I just got this published to Heroku, lets wait about a week to make sure it's still working correctly.  Since that is when it was starting to fail.

I just tested today.  It still seems the refresh token will expire after about a week.  We will still need to look into how to get the page out of test mode or try the other example you had mentioned.

Closing this since we moved on to using emailjs instead so we didn't have to deal with google's api verification steps.
See #94 for details.  As noted if code-experiment starts to get some traction we will need to figure this option out since emailjs has a 200 email limit per month.  Unless we want to pay for emailjs.


Go module docs

This PR adds docs for octoper/go-ray module.

Thank you!

I don't know Go that well, but would it be possible avoiding having to the double Ray: ray.Ray(), would be much nicer if users would be able to call ray() or Ray(), but I don't know if that's possible in the language.

@freekmurze First of all, thanks for the awesome Ray app. I've been using it every day since I bought it.
A few days ago I also started a Go adapter (https://github.com/petaki/go-ray), but this is a more complete lib. Thanks @octoper!
I created a DefaultRay instance based on the official net/http lib DefaultClient idea and I created a wrapper method around it.
Code:

https://github.com/petaki/go-ray/blob/master/ray.go#L22
https://github.com/petaki/go-ray/blob/master/ray.go#L165

After this, I can call the methods on the namespace:
ray.Send()
ray.Pass()
ray.Color()
ray.Size()

...

I don't know Go that well, but would it be possible avoiding having to the double Ray: ray.Ray(), would be much nicer if users would be able to call ray() or Ray(), but I don't know if that's possible in the language.

Hey!
Sadly I don't think that's possible the way Go handles modules.

@freekmurze First of all, thanks for the awesome Ray app. I've been using it every day since I bought it.
A few days ago I also started a Go adapter (https://github.com/petaki/go-ray), but this is a more complete lib. Thanks @octoper!
I created a DefaultRay instance based on the official net/http lib DefaultClient idea and I created a wrapper method around it.
Code:

https://github.com/petaki/go-ray/blob/master/ray.go#L22
https://github.com/petaki/go-ray/blob/master/ray.go#L165

After this, I can call the methods on the namespace:
ray.Send()
ray.Pass()
ray.Color()
ray.Size()

...

Hey @petaki
I like your approach but, can you call something like ray(...) ?

@octoper Unfortunately, I have no idea, only for the methods.


Path::components strip . under the hood

This behavior is part of spec.
https://github.com/rust-lang/rust/pull/23229
This makes the following code
https://github.com/hyf0/sugar_path/blob/41fce88b6161694b1b533020a49e675ccb0f77d8/src/utils.rs#L29-L31
unreliable for detecting whether the dots are resolved.

I'm going to keep this issue open. The issue block sugar_path to implementing on-demand normalization.
https://github.com/hyf0/sugar_path/blob/41fce88b6161694b1b533020a49e675ccb0f77d8/src/sugar_path.rs#L18
I saw how path-absolutize handles this, and I am not going to use it.
https://github.com/magiclen/path-absolutize/blob/c2966357fced68b60852333a6c0ca01250925b22/src/unix.rs#L63-L66
https://github.com/magiclen/path-absolutize/blob/c2966357fced68b60852333a6c0ca01250925b22/src/unix.rs#L86-L88
To summarize, I would remove the on-demand normalization feature. But the return type would still be Cow in case of reducing future changes.


E: Couldn't find any package by regex 'dotnet-sdk-2.1'

Problem encountered on https://dotnet.microsoft.com/download/linux-package-manager/ubuntu18-04/sdk-2.1.300
Operating System: Linux Ubuntu 18.04 - x64
Provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

There was an issue with the 18.04 repo until a few minutes ago and I have confirmed the 2.1.300 SDK can be installed successfully. Please give it another try and let us know if there are still troubles.

Closing due to issue going stale. Please re-open if you're still having troubles.


[Input] Website becomes slow/freezes when rendering a lot of MUI inputs after update to v5

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
The steps are very simple:

Create a new React project and run it with npm run start.
Add a bunch of native HTML input components (e.g. 2000) to App.js. When you load or refresh the page (I use Chrome), you notice this is extremely fast.
Replace the native HTML input components with the input component from Material UI (@mui/material/Input) and refresh the page. You'll notice its very slow or even freezes.

Current behavior 😯
Slow/freezing page.
Expected behavior 🤔
Fast rendering.
Context 🔦
We have an Excel-like page that in one edge case has to serve around 2200 inputs. This used to be very quick, until we migrated to V5.
We noticed this slowness is mostly present in the dev build. When building for production (npm run build), the website is fast enough to work with, though it feels definitely slower than before.
Your environment 🌎

npx @mui/envinfo
  System:
    OS: macOS 13.4.1
  Binaries:
    Node: 20.4.0 - /opt/homebrew/bin/node
    Yarn: Not Found
    npm: 9.7.2 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 115.0.5790.170
    Edge: Not Found
    Safari: 16.5.2
  npmPackages:
    @emotion/react: ^11.11.1 => 11.11.1
    @emotion/styled: ^11.11.0 => 11.11.0
    @mui/base:  5.0.0-beta.9
    @mui/core-downloads-tracker:  5.14.3
    @mui/material: ^5.14.3 => 5.14.3
    @mui/private-theming:  5.13.7
    @mui/styled-engine:  5.13.2
    @mui/system:  5.14.3
    @mui/types:  7.2.4
    @mui/utils:  5.14.3
    @types/react:  18.2.18
    react: ^18.2.0 => 18.2.0
    react-dom: ^18.2.0 => 18.2.0
    typescript:  4.9.5

@mennorenkens Thanks for reporting this ~ there is a disableInjectingGlobalStyles prop you can use to try to boost the initial rendering performance

Thanks for your help @mj12albert! I can confirm that this works. Appreciate 👍.


feat: add hook to wrap scrollintoview

affects: @fremtind/jkl-portal-components, @fremtind/jkl-react-hooks
ISSUES CLOSED: #967
📥 Proposed changes
Hook to scroll an element into view
☑ Submission checklist

[x] I have read the CONTRIBUTING doc
[x] yarn build works locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)

💬 Further comments

Veldig kul hook! Ser at dette løser et behov i BM 😎


Set up a "Hello world" project as one app with Webpack

New Features 🥇

Create a new Rails app called 'hello-rails-react'.

Use the command rails new -j webpack my_new_rails_app as described in the previous lesson's tutorial.

Verify that the jsbundling-rails gem is added to your Gemfile.
Initialize your project with Git.
Install needed node dependencies as described in the previous lesson's tutorial.
Create a babel.config.js in the root folder of your project as described in the previous lesson's tutorial.
Update webpack.config.js to include the babel loader as described in the previous lesson's tutorial.
Make sure that your project has a Postgres database set up.
Create a table for storing your messages and create 5 different greetings.
Create an API endpoint that selects a random greeting from your table (you will need a controller with an action and Rails route).
Create a static view that will be the root of your app.

Create the App component with react-router and render it in your static view.
Create the Greeting component that will display a greeting. Set it up as a route in your App component.
Create a store, an action, and a reducer that will connect to your API endpoint to get the random greeting.
Display the random greeting in your Greeting component.

Hello @thecodechaser  Thank you for your nice review.


Need an option to totally disable auto-double conversion

I have a CSV, contains some int data. CSV-parser parses them to double.
It's Ok, but we need them to stay as simple strings for further complex value evaluation.
I change a little bit of the code locally to handle the problem temporarily.
So, an option to make it able to disable the auto conversion may be a good idea.

Oh, yeah, thank you for replying, I will try what you said.

Tested what you said, works. Thank you for your library, I found it on github's awesome c++ page. I've tested 3 libs before using yours, either suffer for this or that problems.
Your lib is good, program's salute.


⚠ Processors has degraded performance

In 106dd90, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 109 ms

Resolved: Processors performance has improved in b459128.