External current sensor (smartshunt) in use. JKbms no longer shown as battery monitor

Describe the problem
Cannot select bms as battery monitor.

Driver version
1.3.20240510passthrough

Venus OS device type
Cerbo GX
Venus OS version
3.30
BMS type
JKBMS / Heltec BMS
Cell count
16
Battery count
1
Connection type
Bluetooth
Config file
[DEFAULT]

BLUETOOTH_BMS = Jkbms_Ble C8:47:8C:E4:57:F5

; If you want to add custom values/settings, then check the values/settings you want to change in "config.default.ini"
; and insert them below to persist future driver updates.

; Example (remove the semicolon ";" to uncomment and activate the value/setting):
; MAX_BATTERY_CHARGE_CURRENT = 50.0
; MAX_BATTERY_DISCHARGE_CURRENT = 60.0

; --------- Battery Current limits ---------
MAX_BATTERY_CHARGE_CURRENT    = 80.0
MAX_BATTERY_DISCHARGE_CURRENT = 80.0

; --------- Cell Voltages ---------
; Description:
;     Cell min/max voltages which are used to calculate the min/max battery voltage
; Example:
;     16 cells * 3.45V/cell = 55.2V max charge voltage. 16 cells * 2.90V = 46.4V min discharge voltage
MIN_CELL_VOLTAGE   = 2.900
; Max voltage (can seen as absorption voltage)
MAX_CELL_VOLTAGE   = 3.525
; Float voltage (can be seen as resting voltage)
FLOAT_CELL_VOLTAGE = 3.325

; --------- SOC calculation ---------
; +++ This has nothing to do with "SOC reset voltage" in a section above +++
; Description:
;     Calculate the SOC in the driver. Do not use the SOC reported by the BMS
; SOC_CALCULATION:
;     True: Calc SOC in the driver, do not use SOC reported from BMS
;         - The SOC is calculated by integration of the current reported
;         - The current reported can be corrected by the map
;           (SOC_CALC_CURRENT_REPORTED_BY_BMS, SOC_CALC_CURRENT_MEASURED_BY_USER)
;         - The SOC is set to 100% if the following conditions apply for at least SOC_RESET_TIME seconds:
;             * Highest cell voltage is higher or equal to MAX_CELL_VOLTAGE
;             * Current is lower than SOC_RESET_CURRENT
;         - The SOC is set to 0% if the following conditions apply for at least SOC_RESET_TIME seconds:
;             * Lowest cell voltage is lower or equal to MIN_CELL_VOLTAGE
;             * Battery is discharging
;         - The calculated SOC is stored in dbus to persist a driver restart
;     False: Use SOC reported from BMS (none of the other parameters apply)
; More info: https://github.com/Louisvdw/dbus-serialbattery/pull/868
SOC_CALCULATION   = True
SOC_RESET_CURRENT = 2
SOC_RESET_TIME    = 30
SOC_CALC_CURRENT_REPORTED_BY_BMS  = -300, 300
SOC_CALC_CURRENT_MEASURED_BY_USER = -300, 300
; Example to set small currents to zero
;     SOC_CALC_CURRENT_REPORTED_BY_BMS  = -300, -0.5, 0.5, 300
;     SOC_CALC_CURRENT_MEASURED_BY_USER = -300,    0,   0, 300

; --------- Externcal current sensor ---------
; Specify the dbus device and path where the external current sensor is connected to
; You can find it by executing the dbus-spy command
; Example for a external current sensor connected to the VE.Bus port:
;     EXTERNAL_CURRENT_SENSOR_DBUS_DEVICE = "com.victronenergy.vebus.ttyS3”
;     EXTERNAL_CURRENT_SENSOR_DBUS_PATH = “/Dc/0/Current”

EXTERNAL_CURRENT_SENSOR_DBUS_DEVICE = com.victronenergy.battery.ttyS6
;smart shunt 1
EXTERNAL_CURRENT_SENSOR_DBUS_PATH = /Dc/0/Current

; --------- SOC reset voltage (needs to match BMS settings) ---------
; +++ This has nothing to do with "SOC calculation" in a section below +++
; Description:
;     May be needed to reset the SoC to 100% once in a while for some BMS, because of SoC drift.
;     Specify the cell voltage where the SoC should be reset to 100% by the BMS.
;       - JKBMS: SoC is reset to 100% if one cell reaches OVP (over voltage protection) voltage
;     As you have to adopt this value to your system, I reccomend to start with
;     OVP voltage - 0.030 (see Example).
;       - Try to increase (add) by 0.005 in steps, if the system does not switch to float mode, even if
;         the target voltage SOC_RESET_VOLTAGE * CELL_COUNT is reached.
;       - Try to decrease (lower) by 0.005 in steps, if the system hits the OVP too fast, before all
;         cells could be balanced and the system goes into protection mode multiple times.
; Example:
;     If OVP is 3.650, then start with 3.620 and increase/decrease by 0.005
; Note:
;     The value has to be higher as the MAX_CELL_VOLTAGE
;     You also have to set CELL_VOLTAGES_WHILE_CHARGING accordingly, if you set CCCM_CV_ENABLE to true
;         else the charging current will be reduced to 0 before the target voltage is reached and the
;         battery will never switch to float
SOC_RESET_VOLTAGE = 3.650
; Specify after how many days the soc reset voltage should be reached again
; The timer is reset when the soc reset voltage is reached
; Leave empty if you don't want to use this
; Example:
;     Value is set to 15
;     day 1: soc reset reached once
;     day 16: soc reset reached twice
;     day 31: soc reset not reached since it's very cloudy
;     day 34: soc reset reached since the sun came out
;     day 49: soc reset reached again, since last time it took 3 days to reach soc reset voltage
SOC_RESET_AFTER_DAYS =

Relevant log output
X

Any other information that may be helpful
No response

Without log output it‘s not possible to help you.

Apologies. I have been away from the cerbo and only just worked out how to get remote access
2024-05-12 14:04:52.905682500 INFO:SerialBattery:
2024-05-12 14:04:52.907689500 INFO:SerialBattery:Starting dbus-serialbattery
2024-05-12 14:04:52.914780500 INFO:SerialBattery:Venus OS v3.30
2024-05-12 14:04:52.928019500 INFO:SerialBattery:dbus-serialbattery v1.3.20240510passthrough
2024-05-12 14:05:10.682824500 INFO:SerialBattery:Init of Jkbms_Ble at C8:47:8C:E4:57:F5
2024-05-12 14:05:10.684087500 INFO:SerialBattery:Test of Jkbms_Ble at C8:47:8C:E4:57:F5
2024-05-12 14:05:16.332330500 INFO:SerialBattery:BAT: JKBMS 10.XW 16 cells (20220904)
2024-05-12 14:05:16.332340500 INFO:SerialBattery:Connection established to Jkbms_Ble
2024-05-12 14:05:21.277609500 INFO:SerialBattery:Found existing battery with DeviceInstance = 2
2024-05-12 14:05:22.076330500 INFO:SerialBattery:DeviceInstance = 2
2024-05-12 14:05:22.080750500 INFO:SerialBattery:PID file created successfully: /var/tmp/dbus-serialbattery_2.pid
2024-05-12 14:05:22.081477500 INFO:SerialBattery:Used DeviceInstances = ['2', '1']
2024-05-12 14:05:22.092073500 INFO:SerialBattery:com.victronenergy.battery.ble_c8478ce457f5
2024-05-12 14:05:22.094338500 INFO:SerialBattery:BAT: JKBMS 10.XW 16 cells (20220904)
2024-05-12 14:05:22.247541500 INFO:SerialBattery:publish config values = True
2024-05-12 14:05:22.346572500 INFO:SerialBattery:Battery Jkbms_Ble connected to dbus from ble_c8478ce457f5
2024-05-12 14:05:22.348848500 INFO:SerialBattery:========== Settings ==========
2024-05-12 14:05:22.350373500 INFO:SerialBattery:> Connection voltage: 54.1 V | Current: -1.2 A | SoC: 100.0%
2024-05-12 14:05:22.351573500 INFO:SerialBattery:> Cell count: 16 | Cells populated: 32
2024-05-12 14:05:22.354216500 INFO:SerialBattery:> LINEAR LIMITATION ENABLE: True
2024-05-12 14:05:22.357128500 INFO:SerialBattery:> MIN CELL VOLTAGE: 2.9 V | MAX CELL VOLTAGE: 3.525 V
2024-05-12 14:05:22.357965500 INFO:SerialBattery:> MAX BATTERY CHARGE CURRENT: 80.0 A | MAX BATTERY DISCHARGE CURRENT: 80.0 A
2024-05-12 14:05:22.360734500 INFO:SerialBattery:> CVCM:     True
2024-05-12 14:05:22.363575500 INFO:SerialBattery:> CCCM CV:  True  | DCCM CV:  True
2024-05-12 14:05:22.364821500 INFO:SerialBattery:> CCCM T:   True  | DCCM T:   True
2024-05-12 14:05:22.367477500 INFO:SerialBattery:> CCCM SOC: False | DCCM SOC: False
2024-05-12 14:05:22.373337500 INFO:SerialBattery:> CHARGE FET: True | DISCHARGE FET: True | BALANCE FET: False
2024-05-12 14:05:22.377580500 INFO:SerialBattery:Serial Number/Unique Identifier:<PHONE_NUMBER>
2024-05-12 14:05:22.556606500 INFO:SerialBattery:Monitoring external current using: com.victronenergy.battery.ttyS6//Dc/0/Current
2024-05-12 14:05:22.582049500 INFO:dbusmonitor:===== Search on dbus for services that we will monitor starting... =====
2024-05-12 14:05:22.585848500 INFO:dbusmonitor:Found: com.victronenergy.battery.ble_c8478ce457f5, scanning and storing items
2024-05-12 14:05:22.686669500 INFO:SerialBattery:SOC initialized from dbus and set to 100.0%
2024-05-12 14:05:47.595519500 INFO:dbusmonitor:       com.victronenergy.battery.ble_c8478ce457f5 was skipped because it has no device instance
2024-05-12 14:05:47.605678500 INFO:dbusmonitor:Found: com.victronenergy.battery.ttyS6, scanning and storing items
2024-05-12 14:05:47.622172500 INFO:dbusmonitor:       com.victronenergy.battery.ttyS6 has device instance 279
2024-05-12 14:05:47.646951500 INFO:dbusmonitor:===== Search on dbus for services that we will monitor finished =====
2024-05-21 18:21:09.849820500 *** CCGX booted (0) ***
2024-05-21 18:21:26.281494500
2024-05-21 18:21:26.281503500 INFO:Bluetooth details
2024-05-21 18:21:26.428389500 Attempting to disconnect from C8:47:8C:E4:57:F5
2024-05-21 18:21:26.428399500 Successful disconnected
2024-05-21 18:21:32.057119500 Device C8:47:8C:E4:57:F5 (public)
2024-05-21 18:21:32.057128500 	Alias: JK-B2A24S15P
2024-05-21 18:21:32.057130500 	Paired: no
2024-05-21 18:21:32.057131500 	Trusted: no
2024-05-21 18:21:32.057132500 	Blocked: no
2024-05-21 18:21:32.057134500 	Connected: no
2024-05-21 18:21:32.057135500 	LegacyPairing: no
2024-05-21 18:21:32.057137500 	UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
2024-05-21 18:21:32.057140500 	RSSI: -58
2024-05-21 18:21:32.059435500
2024-05-21 18:21:45.167193500 INFO:SerialBattery:
2024-05-21 18:21:45.168050500 INFO:SerialBattery:Starting dbus-serialbattery
2024-05-21 18:21:45.177182500 INFO:SerialBattery:Venus OS v3.30
2024-05-21 18:21:45.178016500 INFO:SerialBattery:dbus-serialbattery v1.3.20240510passthrough
2024-05-21 18:22:02.029898500 INFO:SerialBattery:Init of Jkbms_Ble at C8:47:8C:E4:57:F5
2024-05-21 18:22:02.030893500 INFO:SerialBattery:Test of Jkbms_Ble at C8:47:8C:E4:57:F5
2024-05-21 18:22:04.453007500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: BleakDBusError('org.bluez.Error.Failed', 'Software caused connection abort') of type <class 'bleak.exc.BleakDBusError'> in /opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py line #474
2024-05-21 18:22:04.453813500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-05-21 18:22:04.468737500 INFO:SerialBattery:Reset of system Bluetooth daemon triggered
2024-05-21 18:22:04.784330500 [CHG] Device C8:47:8C:E4:57:F5 RSSI: -58
2024-05-21 18:22:04.784339500 [CHG] Device C8:47:8C:E4:57:F5 RSSI: -66
2024-05-21 18:22:04.784342500 [CHG] Device C8:47:8C:E4:57:F5 RSSI: -58
2024-05-21 18:22:04.784344500 [CHG] Device C8:47:8C:E4:57:F5 RSSI is nil
2024-05-21 18:22:06.696786500 Starting bluetooth: bluetoothd.
2024-05-21 18:22:06.750646500 INFO:SerialBattery:System Bluetooth daemon should have been restarted
2024-05-21 18:22:15.265729500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-05-21 18:22:15.307541500 ERROR:SerialBattery:No BMS found at C8:47:8C:E4:57:F5
2024-05-21 18:22:15.308418500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2024-05-21 18:22:16.001617500
2024-05-21 18:22:16.012194500 INFO:Bluetooth details
2024-05-21 18:22:16.223788500 Attempting to disconnect from C8:47:8C:E4:57:F5
2024-05-21 18:22:16.223796500 Successful disconnected
2024-05-21 18:22:21.580913500 Device C8:47:8C:E4:57:F5 (public)
2024-05-21 18:22:21.580923500 	Alias: JK-B2A24S15P
2024-05-21 18:22:21.580925500 	Paired: no
2024-05-21 18:22:21.580927500 	Trusted: no
2024-05-21 18:22:21.580928500 	Blocked: no
2024-05-21 18:22:21.580929500 	Connected: no
2024-05-21 18:22:21.580931500 	LegacyPairing: no
2024-05-21 18:22:21.580932500 	UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
2024-05-21 18:22:21.580935500 	RSSI: -58
2024-05-21 18:22:21.582989500
2024-05-21 18:22:24.911667500 INFO:SerialBattery:
2024-05-21 18:22:24.920076500 INFO:SerialBattery:Starting dbus-serialbattery
2024-05-21 18:22:24.922289500 INFO:SerialBattery:Venus OS v3.30
2024-05-21 18:22:24.926828500 INFO:SerialBattery:dbus-serialbattery v1.3.20240510passthrough
2024-05-21 18:22:41.365369500 INFO:SerialBattery:Init of Jkbms_Ble at C8:47:8C:E4:57:F5
2024-05-21 18:22:41.366157500 INFO:SerialBattery:Test of Jkbms_Ble at C8:47:8C:E4:57:F5
2024-05-21 18:22:45.887917500 INFO:SerialBattery:BAT: JKBMS 10.XW 16 cells (20220904)
2024-05-21 18:22:45.889307500 INFO:SerialBattery:Connection established to Jkbms_Ble
2024-05-21 18:22:49.308063500 INFO:SerialBattery:Found existing battery with DeviceInstance = 2
2024-05-21 18:22:49.378246500 INFO:SerialBattery:Remove /Settings/Devices/serialbattery_40_320_0Ah from dbus. Delete result: False
2024-05-21 18:22:49.716673500 INFO:SerialBattery:DeviceInstance = 2
2024-05-21 18:22:49.718725500 INFO:SerialBattery:PID file created successfully: /var/tmp/dbus-serialbattery_2.pid
2024-05-21 18:22:49.719464500 INFO:SerialBattery:Used DeviceInstances = ['2', '1']
2024-05-21 18:22:49.720264500 INFO:SerialBattery:com.victronenergy.battery.ble_c8478ce457f5
2024-05-21 18:22:49.721203500 INFO:SerialBattery:BAT: JKBMS 10.XW 16 cells (20220904)
2024-05-21 18:22:49.770921500 INFO:SerialBattery:publish config values = True
2024-05-21 18:22:49.814094500 INFO:SerialBattery:Battery Jkbms_Ble connected to dbus from ble_c8478ce457f5
2024-05-21 18:22:49.814810500 INFO:SerialBattery:========== Settings ==========
2024-05-21 18:22:49.815695500 INFO:SerialBattery:> Connection voltage: 53.29 V | Current: 0.0 A | SoC: 100.0%
2024-05-21 18:22:49.816317500 INFO:SerialBattery:> Cell count: 16 | Cells populated: 32
2024-05-21 18:22:49.816899500 INFO:SerialBattery:> LINEAR LIMITATION ENABLE: True
2024-05-21 18:22:49.817508500 INFO:SerialBattery:> MIN CELL VOLTAGE: 2.9 V | MAX CELL VOLTAGE: 3.525 V
2024-05-21 18:22:49.818165500 INFO:SerialBattery:> MAX BATTERY CHARGE CURRENT: 80.0 A | MAX BATTERY DISCHARGE CURRENT: 80.0 A
2024-05-21 18:22:49.818831500 INFO:SerialBattery:> CVCM:     True
2024-05-21 18:22:49.819448500 INFO:SerialBattery:> CCCM CV:  True  | DCCM CV:  True
2024-05-21 18:22:49.820034500 INFO:SerialBattery:> CCCM T:   True  | DCCM T:   True
2024-05-21 18:22:49.820625500 INFO:SerialBattery:> CCCM SOC: False | DCCM SOC: False
2024-05-21 18:22:49.821286500 INFO:SerialBattery:> CHARGE FET: True | DISCHARGE FET: True | BALANCE FET: False
2024-05-21 18:22:49.823264500 INFO:SerialBattery:Serial Number/Unique Identifier:<PHONE_NUMBER>
2024-05-21 18:22:49.932016500 INFO:SerialBattery:Monitoring external current using: com.victronenergy.battery.ttyS6//Dc/0/Current
2024-05-21 18:22:49.953985500 INFO:dbusmonitor:===== Search on dbus for services that we will monitor starting... =====
2024-05-21 18:22:49.958920500 INFO:dbusmonitor:Found: com.victronenergy.battery.ble_c8478ce457f5, scanning and storing items
2024-05-21 18:22:50.332928500 INFO:SerialBattery:SOC initialized from dbus and set to 100.0%
2024-05-21 18:23:14.962137500 INFO:dbusmonitor:       com.victronenergy.battery.ble_c8478ce457f5 was skipped because it has no device instance
2024-05-21 18:23:14.964707500 INFO:dbusmonitor:Found: com.victronenergy.battery.ttyS6, scanning and storing items
2024-05-21 18:23:14.969997500 INFO:dbusmonitor:       com.victronenergy.battery.ttyS6 has device instance 279
2024-05-21 18:23:14.982538500 INFO:dbusmonitor:===== Search on dbus for services that we will monitor finished =====
2024-05-21 18:30:16.822027500 *** CCGX booted (0) ***
2024-05-21 18:30:33.291420500
2024-05-21 18:30:33.291428500 INFO:Bluetooth details
2024-05-21 18:30:33.411360500 Attempting to disconnect from C8:47:8C:E4:57:F5
2024-05-21 18:30:33.411370500 Successful disconnected
2024-05-21 18:30:38.963071500 Device C8:47:8C:E4:57:F5 (public)
2024-05-21 18:30:38.963080500 	Alias: JK-B2A24S15P
2024-05-21 18:30:38.963082500 	Paired: no
2024-05-21 18:30:38.963083500 	Trusted: no
2024-05-21 18:30:38.963085500 	Blocked: no
2024-05-21 18:30:38.963086500 	Connected: no
2024-05-21 18:30:38.963087500 	LegacyPairing: no
2024-05-21 18:30:38.963089500 	UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
2024-05-21 18:30:38.963092500 	RSSI: -66
2024-05-21 18:30:38.963093500 [NEW] Device FE:6D:4E:13:46:36 FE-6D-4E-13-46-36
2024-05-21 18:30:38.963235500
2024-05-21 18:30:52.448619500 INFO:SerialBattery:
2024-05-21 18:30:52.449494500 INFO:SerialBattery:Starting dbus-serialbattery
2024-05-21 18:30:52.467607500 INFO:SerialBattery:Venus OS v3.30
2024-05-21 18:30:52.468317500 INFO:SerialBattery:dbus-serialbattery v1.3.20240510passthrough
2024-05-21 18:31:09.631114500 INFO:SerialBattery:Init of Jkbms_Ble at C8:47:8C:E4:57:F5
2024-05-21 18:31:09.632107500 INFO:SerialBattery:Test of Jkbms_Ble at C8:47:8C:E4:57:F5
2024-05-21 18:31:15.194651500 INFO:SerialBattery:BAT: JKBMS 10.XW 16 cells (20220904)
2024-05-21 18:31:15.194659500 INFO:SerialBattery:Connection established to Jkbms_Ble
2024-05-21 18:31:19.929642500 INFO:SerialBattery:Found existing battery with DeviceInstance = 2
2024-05-21 18:31:20.712742500 INFO:SerialBattery:DeviceInstance = 2
2024-05-21 18:31:20.715053500 INFO:SerialBattery:PID file created successfully: /var/tmp/dbus-serialbattery_2.pid
2024-05-21 18:31:20.716944500 INFO:SerialBattery:Used DeviceInstances = ['2']
2024-05-21 18:31:20.720235500 INFO:SerialBattery:com.victronenergy.battery.ble_c8478ce457f5
2024-05-21 18:31:20.721539500 INFO:SerialBattery:BAT: JKBMS 10.XW 16 cells (20220904)
2024-05-21 18:31:20.870189500 INFO:SerialBattery:publish config values = True
2024-05-21 18:31:20.953571500 INFO:SerialBattery:Battery Jkbms_Ble connected to dbus from ble_c8478ce457f5
2024-05-21 18:31:20.959311500 INFO:SerialBattery:========== Settings ==========
2024-05-21 18:31:20.968884500 INFO:SerialBattery:> Connection voltage: 53.31 V | Current: 0.0 A | SoC: 100.0%
2024-05-21 18:31:20.969849500 INFO:SerialBattery:> Cell count: 16 | Cells populated: 32
2024-05-21 18:31:20.970819500 INFO:SerialBattery:> LINEAR LIMITATION ENABLE: True
2024-05-21 18:31:20.971620500 INFO:SerialBattery:> MIN CELL VOLTAGE: 2.9 V | MAX CELL VOLTAGE: 3.525 V
2024-05-21 18:31:20.972298500 INFO:SerialBattery:> MAX BATTERY CHARGE CURRENT: 80.0 A | MAX BATTERY DISCHARGE CURRENT: 80.0 A
2024-05-21 18:31:20.973173500 INFO:SerialBattery:> CVCM:     True
2024-05-21 18:31:20.986369500 INFO:SerialBattery:> CCCM CV:  True  | DCCM CV:  True
2024-05-21 18:31:20.987819500 INFO:SerialBattery:> CCCM T:   True  | DCCM T:   True
2024-05-21 18:31:20.989797500 INFO:SerialBattery:> CCCM SOC: False | DCCM SOC: False
2024-05-21 18:31:20.989941500 INFO:SerialBattery:> CHARGE FET: True | DISCHARGE FET: True | BALANCE FET: False
2024-05-21 18:31:20.990852500 INFO:SerialBattery:Serial Number/Unique Identifier:<PHONE_NUMBER>
2024-05-21 18:31:21.222633500 INFO:SerialBattery:Monitoring external current using: com.victronenergy.battery.ttyS6//Dc/0/Current
2024-05-21 18:31:21.260827500 INFO:dbusmonitor:===== Search on dbus for services that we will monitor starting... =====
2024-05-21 18:31:21.264514500 INFO:dbusmonitor:Found: com.victronenergy.battery.ble_c8478ce457f5, scanning and storing items
2024-05-21 18:31:21.375833500 INFO:SerialBattery:SOC initialized from dbus and set to 100.0%
2024-05-21 18:31:46.279400500 INFO:dbusmonitor:       com.victronenergy.battery.ble_c8478ce457f5 was skipped because it has no device instance
2024-05-21 18:31:46.282259500 INFO:dbusmonitor:Found: com.victronenergy.battery.ttyS6, scanning and storing items
2024-05-21 18:31:46.339868500 INFO:dbusmonitor:       com.victronenergy.battery.ttyS6 has device instance 279
2024-05-21 18:31:46.365658500 INFO:dbusmonitor:===== Search on dbus for services that we will monitor finished =====
`

According to the log output everything seems to work. Do you see the battery with the dbus-spy?

It look like I'd have a similar/the same problem. On my side the serialbattery driver looks allright, I can see all data in dbus-spy and the local vrm, but via MQTT I don't get updates of e.g. cell voltages.
I didn't try the vrm app so far and I somehow would blame VenusOS 3.31 for it.
(Don't know if it is the same but thought of it when reading this ticket, so added the comment hoping it can help to bring up ideas, maybe testing with an older VenusOS could be one such.)

Yes its there with the following info
com.victronenergy.battery.ble_c8478ce457f5
I notice the "consumedAh" is zero. Could this be the issue?
Actually Soc is 100% so I suppose thats normal.

You still don't see the BMS in DVCC? Everything is normal from your screenshots.

I'm not using DVCC yet. I am trying to get the JKBMS to be "battery monitor" so it will display cell voltages, alarms etc. But it is not selectable. Settings > System setup >Battery Monitor

Have turned on DVCC. JKBMS does not appear in list. Settings > DVCC > BMS Control

That is very odd, since you see it in the device list and in dbus-spy. Probalby a Venus OS bug. I remember to have read something somewhere. Update Venus OS to the latest beta version and it should work.

I've updated to latest beta but the only thing changed is that Settings > DVCC no longer has a "controlling BMS" menu entry.
VRM lists the battery monitor as missing. Thats probably not right? Dont worry about VE.Bus device, Multiplus is switched off.

Can you write me on Discord?

There seems to be something strange with your Venus OS configuration. Unfortunately I don't know what. Please try a factory reset: https://www.victronenergy.com/media/pg/Cerbo_GX/en/reset-to-factory-defaults-and-venus-os-reinstall.html

Are you still having the same issue?

So I lost connectivity. VRM logging was the only thing that worked. Have onlly just got back to the installation. Have done a reboot and now I am able to get into remote console etc. The battery is there now but no smart shunt shown. VRM does not show a battery monitor available though. Should I do a complete reset to factory settings and abandon the beta version of Venus OS?

As I wrote before I do not know what is wrong with your system and why it behaves that ways. Only way to find out is to try a factory reset. I have many other system where it works without problems.

Yea, i was just asking which versions of venus and serialbattery driver you would recommend. I’m inclined to avoid the venus beta as I loat connectivity last time. This may have been a coincidence.

You can use the beta, I'm also using it on three systems.

Latest beta for both venus and serialbattery is best?
On Thu, 20 Jun 2024 at 14:11, Manuel @.***> wrote:

You can use the beta, I'm also using it on three systems.
—
Reply to this email directly, view it on GitHub
https://github.com/Louisvdw/dbus-serialbattery/issues/1061#issuecomment-2180648945,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH3WXB4RG46CAJLPZVWADYDZILIITAVCNFSM6AAAAABHTE6YVWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBQGY2DQOJUGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Cerbo reset to factory settings. Latest Venus beta installed. Mr.Manuel nightly build serialbattery driver installed. Log files to follow

sorry you're going to have to tell me the command line to convert files using the tai64nlocal program. I'm using
tee current |tai64nlocal > current.txt
and it seems to erase the original file as well as producing a blank file. I managed it before but cannot do it now. Have been trying various things and googling for 30 mins

Also - the jkbms beeps when it connects by bluetooth and it is now doing this every minute.

Just check the documentation. Probably it beeps every minute because it's not connecting properly.

I have read the documentation thats how i know you need it filtered by the tai64nlocal program. The documentation gives command to display it on screen. I did work out a command to pipe the file via tai64nlocal into another file but I just cant seem to get it right now.

cat /data/log/dbus-serialbattery.ttyUSB0/current | tai64nlocal > /data/log-export.txt


Compile fails on 32 bit platform(ARM) validator.go

The line in validator.go fails to compile on 32 bit ARM.
156: 	return f >= 0 && f <=<PHONE_NUMBER>
I replaced the magic constant with math.MaxInt32 and added a math import to my version.
I'm not sure what a more appropriate fix might be.

I think the ASN needs to be a uint32 rather than just an int.   I'm actually fixing up the ASN field to make it a composite string/int so i'll make sure I specify the type of int correctly.

@steve-wormley Could you retest - I think this may be fixed by explicitly using a uint32 for the ASN

No errors on my end with a new compile.


fixing class containment

This should fix issue #2. Currently the classes in the module are not contained/anchored within the module itself.

thanks!


Strip XcodeGen after building

This removes the symbols from the final binary, making it much smaller.
In my tests it took the binary from 13mbs to 8.6mbs.

Hmm, closing this, this seems to cause issues


Update to use Central Package Management

https://learn.microsoft.com/en-au/nuget/consume-packages/central-package-management

Closed by #122


increase large-screen whitespace above h2s

improves whitespace + legibility on the Learn more page - related to recently merged PR https://github.com/cfpb/hmda-explorer/pull/59
@contolini please review

:+1:


Adding 408 (Request Timeout) to list of retry-able status codes

Signed-off-by: Matthias Wessendorf<EMAIL_ADDRESS>
Changes
Fixes https://github.com/knative/specs/issues/96

adding 408 to list of retryable status codes

/kind

Fixes #

Release Note

408 status code should be handled by retry logic

Docs

/assign @evankanderson
/assign @lionelvillard

@evankanderson thanks.
I think that perhaps.... we may do a retry for 425 status code:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/425
But that one seems experimental... So, not sure we want that ...

408 does seem somewhat less likely to occur than the name suggests:

The HyperText Transfer Protocol (HTTP) 408 Request Timeout response status code means that the server would like to shut down this unused connection. It is sent on an idle connection by some servers, even without any previous request by the client.

Given this, we may want to explain the use of 408 further, as it's different from 504 Gateway Timeout or 503 Service Unavailable.

The RFC contains the text for further explanation, as linked in the issue https://github.com/knative/specs/issues/96:
ref: https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.7

The 408 (Request Timeout) status code indicates that the server did
not receive a complete request message within the time that it was
prepared to wait. A server SHOULD send the "close" connection option
(Section 6.1 of [RFC7230]) in the response, since 408 implies that
the server has decided to close the connection rather than continue
waiting. If the client has an outstanding request in transit, the
client MAY repeat that request on a new connection.

can we link that RFC for this particular status code instead of copying and reworking that text?

We if (or the WG) agrees on @pierDipi's suggestion, I am happy to do that, and link to the actual RFC for retry on 408
Thanks!

We discussed this yesterday and the Eventing WG agrees on having this status code as a retry-able status code.

Alright thanks! I will update this PR and unhold the eventing core on.

/assign @smoser-ibm @spencerdillard
/lgtm

/lgtm
@spencerdillard if you're ok - please merge

/approve
@mchmarny (Google) can veto within 5 days since he's not at the current TM meeting and Spencer has left.

(closing and reopening to trigger EasyCLA)


Could you help me to alter this snippet so that it returns the error without wrapping it?

Thank you for all the effort you've put into this plugin and the snippets specifically
I wondered if you could help me out - I'd like to just have:
// if return values are (bool, error) for example
if err != nil {
    return false, err
}

also how would I go about defining my own code to wrap in the error for example
// if return values are (bool, error) for example
if err != nil {
    return false, customWrapperFunc("error message", err)
}

https://github.com/ray-x/go.nvim/blob/c61f9371cdaaec40cccf0783ff968bee83df5bda/lua/snips/go.lua#L124-L133

You may need to refer to the https://github.com/L3MON4D3/LuaSnip document. Looks to me you might need update go_err_snippet in lua/snips/go.lua folder and add a new choice for customWrapperFunc

Thank you I think I can take it from here! 🙇


use isomericSmiles keyword

Codecov Report

Merging #240 into master will increase coverage by 0.09%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master     #240      +/-   ##
==========================================
+ Coverage    81.9%   81.99%   +0.09%
==========================================
  Files         108      108
  Lines        5249     5411     +162
==========================================
+ Hits         4299     4437     +138
- Misses        950      974      +24


skip validating errors if session isn't loaded

This change prevents an error occurring when the middleware is used in a group that doesn't load run StartSession

Good call, thanks for the PR 👍


Update README with the correct config settings

Using the double backslash for FQCN of the Formatter, the composer autoloader can't find the class. If you just use single backslashes, it works!
/cc @ursulaclarke

👌  confirmed works for me!


Template validation failing in v0.7.0

This may have been introduced with the Language Server. In a brand new template, I can add the skeleton template with the arm! shortcut. When trying to add a resource snippet to the template, it is picking up the arm- text as invalid and fails to find any snippets. I get several errors on this example template:
{
    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
    "contentVersion": "<IP_ADDRESS>",
    "parameters": {
    },
    "variables": {
    },
    "resources": [
        arm-
    ],
    "outputs": {
    }
}

Template validation failed: Unexpected character encountered while parsing value: a. Path 'resources', line 9, position 8.

Unexpected character sequence in array element value.

Value must conform to exactly one of the associated schemas

Value must be one of the following types: object

If I delete the contents of the template to try and start over, the Template validation failed error remains, and I can no longer even add the skeleton snippet. I have to completely delete the template and create a new file in order to get even that functionality back.
When I revert the extension back to v0.6.0 or earlier the snippets work as expected.

@bkonicek-cs
You're using the "Azure Resource Manager Snippets" extension by Sam Cogen, right?  Can you make sure you're on the most recent version of it (1.4.19)?  That should support the new language id of arm-template which we're using.
An empty template is not a valid ARM template, so seeing a template validation error is expected.
Thanks for trying out the new extension!
BTW, if you need to compare the old behavior, you can set the azureResourceManagerTools.autoDetectJsonTemplates setting to false, then you can control seeing the new behavior/old behavior by changing the language to json/jsonc or Azure Resource Manager Template.
cc @alex-frankel

Thanks @StephenWeatherford - I had the snippets extension disabled to troubleshoot and had manually added the snippets from github. I just tried re-enabling the extension and it appears to be working now - it's possible that my Snippets extension hadn't updated to the latest version.
Thanks for your help!

Glad to hear, thanks for letting us know.


Fix typo

recieve -> receive

Docs Build status updates of commit 39a3a21:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Set-MailboxRegionalConfiguration.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit e040203:
:warning: Validation status: warnings

File
Status
Preview URL
Details

:warning:Warning

Details

exchange/exchange-ps/exchange/Set-MailboxRegionalConfiguration.md
:white_check_mark:Succeeded
View (exchange-ps)

Line 0, Column 0: [Warning-github-api-failed] Call to GitHub API failed 'Forbidden'. Try closing and reopening the PR. If you get this Error again, file an issue.
Line 0, Column 0: [Warning-github-api-failed] Call to GitHub API failed 'Forbidden'. Try closing and reopening the PR. If you get this Error again, file an issue.
Line 0, Column 0: [Warning-github-api-failed] Call to GitHub API failed 'Forbidden'. Try closing and reopening the PR. If you get this Error again, file an issue.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


code truncation on files that exceed 600 lines of code unable to edit goes around in circles and wastes tokens must be able to process and edit code in large files

Which API Provider are you using?
Anthropic
Which Model are you using?
sonnet 3.5 new model
What happened?
surley its not copying and pasting code snippets defeats the object of the app which at lower levels of code 500 lines or so performs okay but then the good old 429 errors and you have to start from scratch again need memory
Steps to reproduce

Relevant API REQUEST output
No response
Additional context
No response

OpenAI just released a new API featured called predicted outputs that would fix this issue entirely. It essentially spits out the tokens its read before and only has to "think" about new tokens (the new edits to the file), making the edit faster and more reliable without the code truncation. The issue is that this API is very rudimentary and limited (doesn't allow images, only works with gpt4o, etc) so it doesn't fit as nicely into Cline as I'd like. I'm hoping Anthropic comes out with their version of this API soon (which they've pre-released in Zed, called Fast Edit Mode), so I can add it to Cline ASAP and fix this problem.
Pls join the discord for updates about this, and thank you for bearing with me in the meantime 🙏

Thanks A great product I think the best by far if you could let me know as soon as is available and what I have to do. I would gladly pay you for your time product it greatly speads productivity Many thanks for your prompt response Bob👌Sent from my iPhoneOn 27 Nov 2024, at 01:11, Saoud Rizwan @.***> wrote:
OpenAI just released a new API featured called predicted outputs that would fix this issue entirely. It essentially spits out the tokens its read before and only has to "think" about new tokens (the new edits to the file), making the edit faster and more reliable without the code truncation. The issue is that this API is very rudimentary and limited (doesn't allow images, only works with gpt4o, etc) so it doesn't fit as nicely into Cline as I'd like. I'm hoping Anthropic comes out with their version of this API soon (which they've pre-released in Zed, called Fast Edit Mode), so I can add it to Cline ASAP and fix this problem.
Pls join the discord for updates about this, and thank you for bearing with me in the meantime 🙏
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


indexOf/contains of bindings

TinySpline maps C float arrays into float collections (according to the binding). Some collections provide methods like 'indexOf' or 'contains'. Currently they use == to compare elements. Maybe using ts_fequals is the better choice?

indexOf and contains now use ts_fequals instead of ==


Nonces for the CSS of inlined SVGs (with Craft’s svg function)

Inlined SVGs have a <style> tag. With CSP it is ignored, as it should. Thus using Craft’s {{ svg }} function leads to unstyled SVGs.
I suggest to add a functionality to this plugin that inserts a nonce to inlined SVGs. An example:
<svg id="zboywbwdqa-a" viewBox="0 0 164 164">
  <defs>
    <style nonce="b4c66027a2409b92fc0b33ac1b29ae77a56f3ecc899e">
      .zboywbwdqa-i {
        fill: #fff;
      }
    </style>
  </defs>
  <circle class="zbokwbwcqa-i" cx="82" cy="82" r="82"></circle>
</svg>

Sorry, completely missed this. For future reference, this could be solved with: nonce="{{ cspNonce('style-src') }}"
See README.md for more info and examples


feat: implement 0x3C - EXTCODECOPY Opcode

SinceGroupFrontierEnvironmental InformationIndex 1 is top of the stack. See PUSH.NotesFor out of bound bytes, 0s will be copied.Stack inputaddress: 20-byte address of the contract to query.destOffset: byte offset in the memory where the result will be copied.offset: byte offset in the code to copy.size: byte size to copy.ExamplesCode0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFInput 1Input 210x43a61f3f4c73ea0d444c5c1c1a8544067a86219b10x43a61f3f4c73ea0d444c5c1c1a8544067a86219b20203033143248Memory before0Memory after input 10xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFMemory after input 1 then 20xFF00000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFReproduce in playgroundError casesThe state changes done by the current context are reverted in those cases:Not enough gas.Not enough values on the stack.Gasminimum_word_size = (size + 31) / 32
static_gas = 0
dynamic_gas = 3 * minimum_word_size + memory_expansion_cost + address_access_cost
The memory expansion cost explanation can be found here.
If the accessed address is warm, address_access_cost is 100, otherwise it is 2600. See section access sets.Estimate your gas costInput: destOffsetInput: sizeState: current memory sizeState: 'address' is cold?YesNoStatic gas + dynamic gas = 100

Important update: we are gathering some bugs in the Kakarot v0 codebase, we need to make sure each issue and each PR in Kakarot-ssj is aware of the lists of known bugs. Look at this link everytime you take an issue and check your issue isn't targeted by a known bug.

Important update: we are gathering some bugs in the Kakarot v0 codebase, we need to make sure each issue and each PR in Kakarot-ssj is aware of the lists of known bugs. Look at this tracking issue everytime you take an issue and check your issue isn't targeted by a known bug. Will add this reminder in many places to make sure we keep track of known bugs.


rust toolchain version

The Rust tool chain must be at version 1.46.0, or later.

what does this mean? how do i check the version of my rust toolchain? i assume this is the rustc version, if so we should phrase it as such.
this sentence appears in the rust cdk tutorials, like here.

Yes, this is the rustc version

The linked tutorial no longer exists, and the docs do not currently contain this language referring to the Rust toolchain. Closing this issue.


Persist player location between game loads

Currently the player is randomly placed in a suitable spot near "spawn" each time the game is loaded, even if there is an existing world and the player left it in a particular spot. It would be good to write the player location to disk on save / once in a while and have some persistence. Maybe also ensure that the player initially spawns with sky all the way to the top of the world? Rarely possible to spawn in a cave.

Found another probably even rarer starting quick - I spawned inside water ;-)
Probably because it was liquid-simulation-generated water, not world-gen water

Here's another quirky spawn location - in mid-air, where there used to be a block to stand on (I had spawned there in the past), before I blew it up... :-)
Guessing maybe the spawn detector uses the Perlin map rather than whatever blocks are persisted?

Added a simple implementation with fe38f43a9da6198effcbb5ed22b30aa31232396e.

Finally tested! Woot! And a useful utility class to boot.
Quick addition request - persisting the direction the player faces as well? :-)
Also, I wonder what we do about respawning, since that can be somewhere radically different.


[Bug]: Cann't parse a PDF, but PDF preview works

Bug Description
Cann't parse a PDF. The error message is following:
Could not open PDF, as it seems to be protected.

While the preview of PDF does work.

The PDF file can be found here
https://www.immd.gov.hk/pdforms/id(c)982.pdf
Version
https://cloud.llamaindex.ai/parse
Steps to Reproduce
Upload the file, it return parsing error
Relevant Logs/Tracbacks
No response

That's the reason. Thanks


Ability to pre-cache file asynchronously

when will this be add ? I really need this !
Best Wishes !
Thank you for your greate job!

@LiuDeng This issue hasn't high priority because there are more important issues exist and it is possible to implement pre-caching on your (client) side. To do it you should just fully read content for proxied url in background.
If any want to contribute to project and make PR I can explain in detail how to implement this task

@danikula I might give this a shot. Any tips? My main concern is being able to prefetch files, but at the same time, have the ability to begin playback before the file has fully been fetched.

Good alternative for precaching.

@danikula is it possible to catch multiple videos in background without playing in player?


Makefile tweaks

@vishh this makes two flaky tests fail way more often, which I think is a good thing. They are TestSetSinksStore and TestRealCacheData.

Just fixed TestRealCacheData. Left it running in a forever loop for nearly an hour, no test failures.

@vishh the GC bug is a serious regression in the latest stable, perhaps a release is due?

@mvdan: Thanks for fixing the race. Which GC bug are you referring to?
On Fri, Aug 28, 2015 at 1:13 PM, Daniel Martí<EMAIL_ADDRESS>wrote:

@vishh https://github.com/vishh the GC bug is a serious regression in
the latest stable, perhaps a release is due?
—
Reply to this email directly or view it on GitHub
https://github.com/kubernetes/heapster/pull/504#issuecomment-135877368.

 That is what I meant with "GC bug". It's a serious regression because it removes all nodes at every runGC().

Have you posted a PR?
 That is what I meant with "GC bug". It's a serious regression
because it removes all nodes at every runGC().
—
Reply to this email directly or view it on GitHub
https://github.com/kubernetes/heapster/pull/504#issuecomment-135887009.

@mvdan: Can you include just the makefile changes in this PR?

Sure.
BTW, the TestSetSinksStore flake was introduced in 6d4d6e2251fb42e355. It was definitely not flaky when I made my "changing sinks at runtime" changes.

Mentioning the flake because it now happens almost always thanks to -race. In the long run we want -race enabled and the flake fixed. In the short run, if we can't fix the flake, we can hold off -race for now.

We can fix the flake. I can take a look at the failing test.
On Mon, Aug 31, 2015 at 10:20 AM, Daniel Martí<EMAIL_ADDRESS>wrote:

Mentioning the flake because it now happens almost always thanks to -race.
In the long run we want -race enabled and the flake fixed. In the short
run, if we can't fix the flake, we can hold off -race for now.
—
Reply to this email directly or view it on GitHub
https://github.com/kubernetes/heapster/pull/504#issuecomment-136433754.

regarding the failing test: https://github.com/kubernetes/heapster/pull/478#issuecomment-136442475

All green now thanks to #510, merging


ARROW-11361: [Rust] Build MutableBuffer/Buffer from iterator of bools

create a from_iter implementation for Buffer to collect boolean flags into a buffer that will:

pre-allocate the appropriate size based on iterator site_hint()
'buffer' a byte in-memory until it's complete (at which point it is written)

Codecov Report

Merging #9304 (0e75531) into master (67d0c2e) will increase coverage by 0.01%.
The diff coverage is 88.37%.

@@            Coverage Diff             @@
##           master    #9304      +/-   ##
==========================================
+ Coverage   81.84%   81.85%   +0.01%
==========================================
  Files         215      215
  Lines       52949    53035      +86
==========================================
+ Hits        43336    43412      +76
- Misses       9613     9623      +10

Impacted Files
Coverage Δ

rust/arrow/src/buffer.rs
92.84% <88.09%> (-0.84%)
:arrow_down:

rust/arrow/src/compute/kernels/comparison.rs
96.00% <100.00%> (+0.01%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #9304 (0e75531) into master (67d0c2e) will increase coverage by 0.01%.
The diff coverage is 88.37%.

@@            Coverage Diff             @@
##           master    #9304      +/-   ##
==========================================
+ Coverage   81.84%   81.85%   +0.01%
==========================================
  Files         215      215
  Lines       52949    53035      +86
==========================================
+ Hits        43336    43412      +76
- Misses       9613     9623      +10

Impacted Files
Coverage Δ

rust/arrow/src/buffer.rs
92.84% <88.09%> (-0.84%)
:arrow_down:

rust/arrow/src/compute/kernels/comparison.rs
96.00% <100.00%> (+0.01%)
:arrow_up:

Continue to review full report at Codecov.

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

Hi. This looks good. I tried this some time ago but was unable to make it efficient. Do you have the benchmarks for the comparison kernels?

Hi. This looks good. I tried this some time ago but was unable to make it efficient. Do you have the benchmarks for the comparison kernels?

The 10% impacts are:
critcmp master-67d0c2e3 bool-38d4e395 -t 10
group                        bool-38d4e395                          master-67d0c2e3
-----                        -------------                          ---------------
add_nulls_512                1.30    343.7±0.62ns        ? B/sec    1.00    264.4±1.80ns        ? B/sec
cast float32 to int32 512    1.13      3.2±0.01µs        ? B/sec    1.00      2.8±0.01µs        ? B/sec
concat str nulls 1024        1.10     21.1±0.06µs        ? B/sec    1.00     19.1±0.11µs        ? B/sec
eq Float32                   1.00     89.0±0.10µs        ? B/sec    1.42    126.0±0.28µs        ? B/sec
eq scalar Float32            1.11     78.0±0.12µs        ? B/sec    1.00     70.2±0.11µs        ? B/sec
gt scalar Float32            1.36     71.8±0.15µs        ? B/sec    1.00     52.7±0.09µs        ? B/sec
gt_eq Float32                1.00     75.5±0.12µs        ? B/sec    1.65    124.6±0.22µs        ? B/sec
lt scalar Float32            1.15     71.1±0.15µs        ? B/sec    1.00     62.0±0.51µs        ? B/sec
lt_eq Float32                1.00     74.3±0.11µs        ? B/sec    1.66    123.5±0.28µs        ? B/sec
lt_eq scalar Float32         1.00     61.5±0.56µs        ? B/sec    1.45     88.9±0.22µs        ? B/sec
multiply 512                 1.00    262.0±0.38ns        ? B/sec    1.32    345.1±4.37ns        ? B/sec
neq scalar Float32           1.20     78.6±0.81µs        ? B/sec    1.00     65.5±0.65µs        ? B/sec
or                           1.00   1590.0±2.45ns        ? B/sec    1.11  1760.7±14.78ns        ? B/sec
subtract 512                 1.43    369.9±5.24ns        ? B/sec    1.00    258.4±0.40ns        ? B/sec
take i32 1024                1.10   1871.4±3.67ns        ? B/sec    1.00   1695.3±4.85ns        ? B/sec
take i32 512                 1.00    928.5±1.79ns        ? B/sec    1.12  1043.4±13.97ns        ? B/sec
take i32 nulls 512           1.10   1074.7±1.81ns        ? B/sec    1.00    975.5±1.60ns        ? B/sec

So it's hard to see through the noise... but I think it looks performance neutral?  (I don't think take/subtract/multiply/concat/cast/add interact with this api at all, so those should just be noise).
The only other kernel that I think might be able to take advantage of this might be 'take'... I believe it does bit-by-bit buffer to copy the 'taken' null values...  But I haven't looked at whether it actually would benefit.

The 10% impacts are:
critcmp master-67d0c2e3 bool-38d4e395 -t 10
group                        bool-38d4e395                          master-67d0c2e3
-----                        -------------                          ---------------
add_nulls_512                1.30    343.7±0.62ns        ? B/sec    1.00    264.4±1.80ns        ? B/sec
cast float32 to int32 512    1.13      3.2±0.01µs        ? B/sec    1.00      2.8±0.01µs        ? B/sec
concat str nulls 1024        1.10     21.1±0.06µs        ? B/sec    1.00     19.1±0.11µs        ? B/sec
eq Float32                   1.00     89.0±0.10µs        ? B/sec    1.42    126.0±0.28µs        ? B/sec
eq scalar Float32            1.11     78.0±0.12µs        ? B/sec    1.00     70.2±0.11µs        ? B/sec
gt scalar Float32            1.36     71.8±0.15µs        ? B/sec    1.00     52.7±0.09µs        ? B/sec
gt_eq Float32                1.00     75.5±0.12µs        ? B/sec    1.65    124.6±0.22µs        ? B/sec
lt scalar Float32            1.15     71.1±0.15µs        ? B/sec    1.00     62.0±0.51µs        ? B/sec
lt_eq Float32                1.00     74.3±0.11µs        ? B/sec    1.66    123.5±0.28µs        ? B/sec
lt_eq scalar Float32         1.00     61.5±0.56µs        ? B/sec    1.45     88.9±0.22µs        ? B/sec
multiply 512                 1.00    262.0±0.38ns        ? B/sec    1.32    345.1±4.37ns        ? B/sec
neq scalar Float32           1.20     78.6±0.81µs        ? B/sec    1.00     65.5±0.65µs        ? B/sec
or                           1.00   1590.0±2.45ns        ? B/sec    1.11  1760.7±14.78ns        ? B/sec
subtract 512                 1.43    369.9±5.24ns        ? B/sec    1.00    258.4±0.40ns        ? B/sec
take i32 1024                1.10   1871.4±3.67ns        ? B/sec    1.00   1695.3±4.85ns        ? B/sec
take i32 512                 1.00    928.5±1.79ns        ? B/sec    1.12  1043.4±13.97ns        ? B/sec
take i32 nulls 512           1.10   1074.7±1.81ns        ? B/sec    1.00    975.5±1.60ns        ? B/sec

So it's hard to see through the noise... but I think it looks performance neutral?  (I don't think take/subtract/multiply/concat/cast/add interact with this api at all, so those should just be noise).
The only other kernel that I think might be able to take advantage of this might be 'take'... I believe it does bit-by-bit buffer to copy the 'taken' null values...  But I haven't looked at whether it actually would benefit.

Big things I haven't tried that MIGHT give some gains would be:

manually unrolling the loop for the last 7 bits
relying on iter<Item=[bool;8]> in the API (but that would require callers to construct a slice of bools rather than an iter of bools)
** related to this, I have no idea if there are simd primitives that could be of use here

Big things I haven't tried that MIGHT give some gains would be:

manually unrolling the loop for the last 7 bits
relying on iter<Item=[bool;8]> in the API (but that would require callers to construct a slice of bools rather than an iter of bools)
** related to this, I have no idea if there are simd primitives that could be of use here

For me, this is ready to merge, @tyrelr: excellent job here and thanks a lot for this.
Could you rebase it against the latest master?

For me, this is ready to merge, @tyrelr: excellent job here and thanks a lot for this.
Could you rebase it against the latest master?


[Bug]: Deactivating trivy does not remove VulnerabilityReport

Checklist

[X] I've searched for similar issues and couldn't find anything matching
[X] I've included steps to reproduce the behavior

Affected Components

[X] K8sGPT (CLI)
[ ] K8sGPT Operator

K8sGPT Version
dev
Kubernetes Version
v1.27.0
Host OS and its Version
MacOS
Steps to reproduce
N/A
Expected behaviour
N/A
Actual behaviour
Active:
> Deployment
> NetworkPolicy
> PersistentVolumeClaim
> ReplicaSet
> StatefulSet
> PodDisruptionBudget
> CronJob
> Pod
> Service
> Node
Unused:
> Ingress
> ValidatingWebhookConfiguration. <<-----
> MutatingWebhookConfiguration
> HorizontalPodAutoScaler

Additional Information
No response

Fixed in next release


User Profile Roles are missing Admin option in dropdown

Affected module
Does it impact the UI, backend or Ingestion Framework?- UI
Describe the bug
User Profile Roles are missing Admin option in dropdown
To Reproduce

Expected behavior
Roles dropdown should have the option to make user an Admin
Version:

OS: [e.g. iOS]
Python version:
OpenMetadata version: [e.g. 0.8]
OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ]

Additional context
Admin users can see Admin in the assigned role

@Sachin-chaurasiya We should show all the available roles not just admin


Status_dhcp_leases fix edit button for static entries with no IP address

The edit button for static entries with no IP address always has an index id=0 and thus pressing the edit button goes to (mostly) edit the wrong entry.
It was easier and made the code cleaner to get rid of the looping through the staticmap array every time trying to match IP, MAC address... That data ('if' and 'staticmap_array_index') is easily gathered further up, the first time the staticmap array for each DHCP interface is traversed. I think this should also be more efficient when there are many static mapping entries.
Forum: https://forum.pfsense.org/index.php?topic=89072.msg493241#msg493241

To test;
a) Put various static mapped entries on different interfaces, some with an IP address, some without.
b) Put some entries using the same MAC address on multiple interfaces, both with and without an IP address. Make sure you have some that have the same MAC address on multiple interfaces and no IP address specified on any of the entries.
c) Bring up status_dhcp_leases - hover over each "edit" button and confirm the link address has various different "if=" and "id=" that vary over the interfaces. Click on some and confirm that the correct entry comes up for editing.


Issues with Pogo

Describe the bug
After a lot of tweaking I got it to run successfully on my 1st gen iPad Pro now running iOS 15.7. Once booted I opened the Tips app to be greeted with Pogo. However when I touch Tools the app crashes. If I touch install it goes through installing bootstrap, installing Sileo etc but nothing really seems to happen.
Info (please complete the following information):

iDevice's version: [e.g. iOS 15.2, iOS 15.1] 15.7
Computer OS and version: [e.g. macOS 13.0b3, Ubuntu 22.04] macOS 13.0 b10
The command you ran: [e.g. ./palera1n.sh --dfu 15.1] ./palera1n --dfu 15.7

the same thing happens to me but I'm sure it's a problem bc of the ios version. the only thing that comes to mind is to do a downgrade, although. idk how people run with 15.7 and works

Installed TrollStore and installed Pogo that way. Seemed to work doing this.

This is fixed in the latest version of Pogo


"Vedea" is listed in the drop-down menu

Description:
When user writes "Vedea" the location appears in the drop-down menu next to the comune and the county witch is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Vedea"

Expected results
The location appears in the drop-down menu as "Comuna Vedea, ARGEȘ"


Check existence of the latest resource files before downloading

botok tries downloading resource files from Github every time when imported (the existence checking only happens after the downloading process succeeds or fails).
I suppose that it would be better to test the existence of the latest version (some version file might be needed) of resource files before downloading instead of after it, as users still have to wait for 50 seconds (the current timeout settings) if they already have downloaded the latest resource files before and there're some problems with connections to Github.
OS: Windows 10 x64
Python: 3.7.7 x64
botok: 0.7.5

Thanks for the feedback, we'll look into that tomorrow.

I found that this issue has been resolved in botok 0.8.1, but it would be better for me to put the downloaded files under site-packages/botok/ instead of Users/Username/Documents/ so that the required resources for botok to run could be conveniently collected by PyInstaller when the program using botok is frozen into executables.


Added clarity to documentation: unidirectional tree pitfall

I'm looking for some clarity on the pitfall item regarding state being a unidirectional tree. If clarity can be found, I'd be happy to make a PR to update.
It says that no object must appear twice and no circular dependencies. By "object" does it mean a JavaScript Object or does it mean all "things", aka. strings, numbers, booleans, arrays, objects, maps, etc.?
A common pattern I use in ImmutableJS is to hold identical objects in different parts of state, eg.  users and selectedUsers might be a subset.  Would this break Immer?
I ask because I often deal with hundreds of thousands of geographic elements, so alternative methods (eg. holding a list of which ones are selected by ID) have a performance cost when trying to evaluate the selection for usage.
Thank you!

Object means: anything mutable
Not using a tree will result in your object existing twice instead of once
in the tree as soon as you modify it
Afaik immutable JS has this very same limitation. I might be mistaken, if
so, it would be great if you could show the difference in a small sandbox
Op di 28 mei 2019 03:04 schreef Andrew Blakey<EMAIL_ADDRESS>
I'm looking for some clarity on the pitfall item regarding state being a
unidirectional tree. If clarity can be found, I'd be happy to make a PR to
update.
It says that no object must appear twice and no circular dependencies. By
"object" does it mean a JavaScript Object or does it mean all "things",
aka. strings, numbers, booleans, arrays, objects, maps, etc.?
A common pattern I use in ImmutableJS is to hold identical objects in
different parts of state, eg. users and selectedUsers might be a subset.
Would this break Immer?
I ask because I often deal with hundreds of thousands of geographic
elements, so alternative methods (eg. holding a list of which ones are
selected by ID) have a performance cost when trying to evaluate the
selection for usage.
Thank you!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/immerjs/immer/issues/374?email_source=notifications&email_token=AAN4NBB5DUDJKZPU3A4VZYDPXSAILA5CNFSM4HP67CAKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GWDRI6Q,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAN4NBHB45YVGBCIVEWL5GLPXSAILANCNFSM4HP67CAA
.

Thanks for the response. I'm going to guess that there's semantic confusion on my part.
Here's an example with ImmutableJS: https://jsfiddle.net/cnr5vL13/1/
Notice that I have the Immutable Map sara in multiple places in my state. When I update bob, Sara ends up existing in multiple places (current and previous edits). These aren't copies, they have the same identity.
I think I'm trying to better understand is how to safely leverage copy-on-write in Immer so that I can do something like the above example.  Based on my reading of the Pitfalls, I think it means that if I wanted to do the above, I would have to deepCopy each entity before setting it onto previous edits.

Immer structurally shares things in the next state with the current state
if they didn't modify. So I think it just pretty much does what you are
looking for, and that the conceptual problem you are describing is just a
different one than the one you are demonstrating / are trying to achieve.
If that isn't the case, please demonstrate the problem you are having in an
immer example. Otherwise, please close the issue :)
On Tue, May 28, 2019 at 1:51 PM Andrew Blakey<EMAIL_ADDRESS>wrote:

Thanks for the response. I'm going to guess that there's semantic
confusion on my part.
Here's an example with ImmutableJS: https://jsfiddle.net/cnr5vL13/1/
Notice that I have the Immutable Map sara in multiple places in my state.
When I update bob, Sara ends up existing in multiple places (current and
previous edits). These aren't copies, they have the same identity.
I think I'm trying to better understand is how to safely leverage
copy-on-write in Immer so that I can do something like the above example.
Based on my reading of the Pitfalls, I think it means that if I wanted
to do the above, I would have to deepCopy each entity before setting it
onto previous edits.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/immerjs/immer/issues/374?email_source=notifications&email_token=AAN4NBAHPRXNARLN4IPQ5ZDPXUMFLA5CNFSM4HP67CAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWL37RQ#issuecomment-496484294,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAN4NBGTVHVHRDC2MB4NGWTPXUMFLANCNFSM4HP67CAA
.

That's good to know. But what I'm curious about is how I have the same object in multiple places in the current state. The history (undo/redo) example above is trying to illustrate a reason why unchanged elements might appear many times (in each version in the history array).
Let me try again with immer:
import produce from 'immer';

let state = {
    history: [],
    robots: {
        bob: {
            isOnline: false
        },
        sue: {
            isOnline: false
        }
    }
};

function setOnline(robot, isOnline) {
    const newState = produce(state, draft => {
        // keep hisory of the robots branch so we can `undo`.
        draft.history.push(state.robots);  // Or should I be pushing draft.robots?

        // Update the new state.
        draft.robots[robot][isOnline] = isOnline
    })
    state = newState;
}

setOnline('bob', true)
setOnline('bob', false)
setOnline('bob', true)
setOnline('bob', false)

// At this point history has 4 copies. If we walked through them we'd see bob's state changing, but sue never changes.
// O expect sue's 5 objects to be the same object (identity), because this respects copy-on-write. Ie. we're not
// making copies of elements that aren't changing.
// The problem is that this means the same object appears many times in the state tree, which violates the listed pitfall.

I think it's "fine" to have the same object appear multiple times in the state tree. Just don't expect it to be synchronized. For example, if you edit the object in one place, it won't be updated in the other places it appears.
We should probably add some unit tests for this, just so we can prove the undefined behavior to some degree.

Can you just try it first, and then raise issues?
Op do 30 mei 2019 13:10 schreef Andrew Blakey<EMAIL_ADDRESS>
That's good to know. But what I'm curious about is how I have the same
object in multiple places in the current state. The history (undo/redo)
example above is trying to illustrate a reason why unchanged elements might
appear many times (in each version in the history array).
Let me try again with immer:
import produce from 'immer';
let state = {
history: [],
robots: {
bob: {
isOnline: false
},
sue: {
isOnline: false
}
}
};
function setOnline(robot, isOnline) {
const newState = produce(state, draft => {
// keep hisory of the robots branch so we can undo.
draft.history.push(state.robots);  // Or should I be pushing draft.robots?
    // Update the new state.
    draft.robots[robot][isOnline] = isOnline
})
state = newState;

}
setOnline('bob', true)setOnline('bob', false)setOnline('bob', true)setOnline('bob', false)
// At this point history has 4 copies. If we walked through them we'd see bob's state changing, but sue never changes.// O expect sue's 5 objects to be the same object (identity), because this respects copy-on-write. Ie. we're not // making copies of elements that aren't changing.// The problem is that this means the same object appears many times in the state tree, which violates the listed pitfall.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/immerjs/immer/issues/374?email_source=notifications&email_token=AAN4NBC4ZTEIP7J3ZVJAO6LPX6Y3DA5CNFSM4HP67CAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWSB2HI#issuecomment-497294621,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAN4NBDPOYMUVAVLT3FIPL3PX6Y3DANCNFSM4HP67CAA
.

Thanks for raising the issue!
I came here with the same question because the doc is unclear. It says

no object should appear twice in the tree

but doesn't say why or what will happen if there is an object which appears twice.
I'm ok even if it will store them as two different instances. I just want to be sure that I can use immer in my project with the state like this:
{
  contours: [contour1, contour2, ...],
  selection: contour2
}

It is unclear for the exact reason it isn't specified :)
Immer is designed to be used on trees. In trees, per definition an object never appears twice. So iff you don't give it a tree, but a graph instead we don't guarantee anything.
For example, changing store.selection.x = 3 might or might not show up in store.contours[2].x. It might or might not change it. And it could generate one or 2 json patches. It might produce one or 2 new objects. Etc etc. And for either behaviors one could give good arguments. Also, it might change per immer version. Because it is not a supported scenarios :). So if you do work with immer this way, do make sure you cover it with unit test (in both proxy and es5 mode), as the behavior in this case is not specified because we don't support it.


documentation/categories-for-napari-hub

Pull request recommendations:

[x] Name your pull request your-development-type/short-description. Ex: feature/read-tiff-files
[ ] Link to any relevant issue in the PR description. Ex: Resolves [gh-12], adds tiff file format support
[x] Provide context of changes.
[ ] Provide relevant tests for your feature or bug fix.
[ ] Provide or update documentation for any feature added by your pull request.

Thanks for contributing!
Add categories and preview page workflow for the napari hub
Hello!
I’m Justin Kiggins, the Product Manager at CZI leading our work on the napari hub.
I’m reaching out with this pull request to ask for your help preparing your plugin for a new “Filter by Category” feature we’ll be launching for the napari hub near the end of January.
This PR does 2 things:

adds our proposed labels to .napari/config.yml to help users find your plugin
adds an Action to your repository in .github/workflows/plugin_preview.yml to help you preview changes to your plugin’s napari hub page

What is the “Filter by Category” feature?
We will let users filter plugins on the napari hub by Category, based on your own annotations of your plugin selected fro terms in the EDAM Bioimaging ontology. You are able to specify, in your .napari/config.yml file, any number of EDAM labels at whatever depth of the taxonomy is most appropriate. You can see a mockup of this feature below

We currently support viewing category metadata on the individual plugin pages, but before we let users filter by category, we want to get categories populated for as many plugins as possible.
For more information, see A plugin developer’s guide to categories on the napari hub.
Can you make adding category labels to my plugin easier?
Totally. We know that learning about the EDAM Bioimaging ontology and adding relevant categories is a lot of work. So we took a first pass for you!
To help you get started, our team has reviewed your plugin’s description and metadata and identified category labels that we feel would be a good fit based on the information you’ve provided so far. These were proposed initially by our Biocuration Team who are experts in annotating scholarly literature with biological concepts, then reviewed by my colleague, @chili-chiu, an Application Scientist on our team.We did our best to select relevant labels, but we might be wrong! Please review and edit these categories to best fit your plugin… and let us know how we did! We’re exploring ways that we might be able to automate suggestions in the future for new plugin developers. We’ll be launching the “Filter by Category” feature on Jan 27, 2022, so if you’d like to take advantage of this new feature, please merge this PR by then!
Can you let me preview the changes before I merge this PR?
Yeah, we can do that… not just for categories, but for all of your metadata!
To make it easier for you to update and maintain your plugin’s metadata, and see immediately how changes to links or your description will affect your napari hub listing, we’ve launched a new service that lets you preview your plugin’s page directly from PRs onto your plugin repository (like this one) and see what metadata you might be missing.

This service has two parts:

A GitHub Action which parses your plugin’s metadata
A GitHub App which provides a link to a preview of the plugin's napari hub page

To use the new Preview Page feature, you simply need to install the Github App by clicking here and configuring it for this repository. Once you do that, make any update to this PR and you will get a comment from the @napari-hub-bot below with a link to your preview page!
For more information, see Setting Up Plugin Page Previews
We hope that these new features are useful to you! Happy to answer any questions here or on our Discussions page.

Just want to follow up on this PR- we’re planning to launch the filter-by category feature on Jan 27. If you want your plugin to be filterable by category when we launch, please review and merge this PR by then.

Thanks @chili-chiu . Do we also have to publish a new version of the plugin with this change merged in, or is merging this PR into the main branch sufficient?

Currently you will have to publish it in order to have the new category shown on napari hub. We are exploring possible workflows that allow the update without publishing (some potential options: (1) add commands for the napari hub bot to update/sync metadata (2) include it in the preview page as part of github action).
If you have any preferences/thoughts please let us know, thanks!

Also...

We are planning to refresh all of the metadata along with the Jan 27 launch so your categories will go live then, even if you don't cut a new release
We can always manually trigger a refresh of the Github metadata... just file an issue at https://github.com/chanzuckerberg/napari-hub/issues requesting the refresh for your plugin


[Relax] Expose BlockBuilder's Analyzer instance in Python

It is currently not possible to access a BlockBuilder's Analyzer instance from Python code, which would be useful e.g. when converting from front-end representations to Relax.
This PR addresses that by adding a get_analyzer method to the Python BlockBuilder class. Behind the scenes, it uses the same FFI and code paths as when creating a standalone Python Analyzer, the only difference being where the underlying C++ instance originates from. To avoid object lifetime issues in Python code (which would be surprising given that it is a memory managed language), a C++ BlockBuilder's Analyzer field is now a shared pointer.

cc @tqchen

If we want to go towards this directly, a better approach is to make Analyzer an Object, so we can use ObjectPtr for this


When is executor pid destroyed or switched?

When I test for syzkaller, I found syz-executor pid increases suddenly, When will it be destroyed or switched?

The issue tracker is for bugs in syzkaller. Please use mailing list for questions and discussions.


Unable to build on Ubuntu

Hello,
I'm unable to get v0.0.65 to build on ubuntu:
Processing dependencies for elastalert==0.0.65
Searching for blist
Reading https://pypi.python.org/simple/blist/
Best match: blist 1.3.6
Downloading https://pypi.python.org/packages/source/b/blist/blist-1.3.6.tar.gz#md5=a538f1a24b9191e3c40252e9397408a9
Processing blist-1.3.6.tar.gz
Writing /tmp/easy_install-46EBcn/blist-1.3.6/setup.cfg
Running blist-1.3.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-46EBcn/blist-1.3.6/egg-dist-tmp-5PZ2Gd
warning: no files found matching 'blist.rst'
unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

I'm trying to build it inside a Docker container, here's the Dockerfile:
FROM	ubuntu

RUN	apt-get update && \
	apt-get upgrade -y && \
	apt-get install -y python git python-setuptools curl
RUN	apt-get upgrade -y

RUN	cd /root && \
	curl https://codeload.github.com/Yelp/elastalert/tar.gz/v0.0.65 -o elastalert.tar.gz && \
	tar -zxf elastalert.tar.gz && \
	mv elastalert-0.0.65 elastalert
RUN	cd /root/elastalert/ && \
	python setup.py install

Well, the error is clearly stating you don't have gcc and your Dockerfile doesn't provide for that.
To build most python packages from source you will need to install at least build-essentials and python-dev, depending on the dependencies you will probably need other stuff like libffi-dev (which is very common)

Hi! If it is of any help, I have a Docker image with Elastalert here (https://github.com/krizsan/elastalert-docker) and on DockerHub (https://hub.docker.com/r/ivankrizsan/elastalert/).

Thanks for the replies, and thanks @krizsan as that helps a lot!


Fix markup so it will looks like a table

What does this PR do?
This PR fixes the markup, so instead of this:

it will look like this:

+1


Run release workflow only on created event

Currently, the publish-phar.yml workflow is run thrice on each release.
https://github.com/laravel/pint/actions/workflows/publish-phar.yml
This PR limits it to run only when the release is "created".
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release

Thanks!

@shivammathur seems there's a new issue now with releasing the phar: https://github.com/laravel/pint/actions/runs/4234391018

@driesvints Created https://github.com/laravel/pint/pull/151 to fix that. Please run the workflow manually once merged with 1.6.0 as input.

Thanks! That seemed to work.


Updated gatsby-plugin-sass and node-sass

This PR resolves #95
I have updated the packages gatsby-plugin-sass and node-sass which were giving some sass error at the time of local setup to the new contributors who are trying to setup these project the issue is mentioned in #95  .The errors get resolve after updating these packages.Updated version of gatsby-plugin-sass and node-sass in package.json:-

This PR resolves issue #95
I have updated the packages gatsby-plugin-sass and node-sass which were giving some sass error at the time of local setup to the new contributors who are trying to setup these project the issue is mentioned in #95 .The errors get resolve after updating these packages.Updated version of gatsby-plugin-sass and node-sass in package.json:-

Please review this @wdevon99 @charithccmc

Please review this @wdevon99 @charithccmc.

This issue was resolved in further PR #168. Thanks for your contributions @SaurabhSonde :)


Jcs/razor l20210324

If this uses bete10, it gets:
TypeLoadException: Could not load type 'Microsoft.Extensions.Primitives.InplaceStringBuilder' from assembly 'Microsoft.Extensions.Primitives, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
If this uses rc3 (latest prerelease) it gets :
InvalidOperationException: Cannot find reference assembly 'Microsoft.AspNetCore.Antiforgery.dll' file for package Microsoft.AspNetCore.Antiforgery

Harvest.Email is a "Razor Library" project. That will allow emails to be generated even from jobs.

Shouldn't we want to get mjml parsing in there also?


Check if sessionStorage is supported on Safari

Session storage in Safari in private mode is also throwing QUOTA_EXCEEDED_ERR: DOM Exception 22 error

Angular 1.5 is causing failing tests in PhantomJS.
First you have to merge PR 212 then all tests will pass correctly.

karma-safari-private-launcher can be used to test private browsing mode.
In the Gruntfile:
if (process.platform == 'darwin') {
  browsers.push('SafariPrivate');
}

Hi Lukáš Marek,
I'm with the same problem on old Iphones.
I changed my code like your pull request, then iphone is not throwing errors anymore,
but some times it's returning nothing and breaking my app.
changed version: staffgeist.azurewebsites.net
current version: staffgeist.com
thanks

@gsklee Any chance you could look at this one?

Should work now.

I'm still getting the quota exceeded error from line 169:
webStorage.setItem(storageKeyPrefix + k, serializer(v));
I can see in my logs that for this user, the warning message "This browser does not support Web Storage!" is also logged, so I would expect no further quota exceeded error logs.


Remove config validation and implement optional Schema validation instead

At present we do only very shallow validation of schema types, fields and arguments because of performance considerations.
There is also config validation which is unfortunately too limited because it cannot validate fields defined using Closure.
New schema validation should be split into two steps:

Lightweight structural validation when creating schema and type instances
Optional detailed in-depth validation, including interface implementation checks; field, argument names validation, etc

The latter validation could be performed during build-step or when running CLI commands. It will be disabled by default, same as current config validation.

In the v0.10.0 version, we do have Schema validation (based on assertions). GraphQL\Type\Definition\Config is deprecated, so following should be used instead:
$schema = new Schema([/* my opts */]);
$schema->assertValid(); // this will throw GraphQL\Error\InvariantViolation on errors

Method assertValid should not be used in production environment (because it is expensive) but can be useful during build step or in CLI commands to make sure Schema is defined correctly.

Done in v0.10.0


Async support for GetAllResourceStrings()

Need to support async in IDataResourceStringProvider.GetAllResourceStrings()

This will introduce a breaking-changes


If no pokemon are found, soft ban occurs.

Needs to be set to go back to old spot if nothing found.

`            if pokeMon == None:
session.setCoordinates(prevLatitude,prevLongitude)
return
		else:

`

agree

Thanks, vogel81 - committed.


Getting IdentityNotSupportedOnWindows on Windows Containers

Hello,
The limitation sections states that 'Windows containers don't support system-assigned managed identity-authenticated image pulls with ACR, only user-assigned.'
I am getting '(IdentityNotSupportedOnWindows) Managed service identity is not supported for Windows container groups.' while trying to deploy ACI using Azure CLI, ARM, YAML connecting to an ACR with public access disabled (set to selected networks) or enabled with a using assigned managed identity
What am I missing? :)

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

ID: d7e900ff-163f-b325-827d-4340e8901cd2
Version Independent ID: d21f588f-eff8-0c9b-d44f-1842fa5f3922
Content: Deploy container image from Azure Container Registry using a managed identity - Azure Container Instances
Content Source: articles/container-instances/using-azure-container-registry-mi.md
Service: container-instances
GitHub Login: @tomvcassidy
Microsoft Alias: tomcassidy

Hi @elnurrr the error message indicates that you are trying to use a system-assigned managed identity to authenticate image pulls from an ACR for a Windows container group. However, system-assigned managed identity-authenticated image pulls are not supported for Windows container groups. Only user-assigned managed identity-authenticated image pulls are supported for Windows container groups.
you can try using a user-assigned managed identity to authenticate image pulls from the ACR for your Windows container group. Alternatively, you can use a different authentication method, such as a service principal or a registry token, to authenticate image pulls from the ACR for your Windows container group.
If there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

Hi @SaibabaBalapur-MSFT,
As I have mentioned in the description (though there was a typo :) ) I am trying to connect using a user-assigned-managed-identity.
Please find below the yaml file and an Azure CLI script that I am using. Both return the same error from the description.
apiVersion: '2021-10-01'
location: westeurope
type: Microsoft.ContainerInstance/containerGroups
identity:
  type: UserAssigned
  userAssignedIdentities: {
    '/subscriptions/***/resourceGroups/RG-AZURE-AGENTS/providers/Microsoft.ManagedIdentity/userAssignedIdentities/azure-agents-mi': {}
    }
properties:
  osType: Windows
  imageRegistryCredentials:
  - server: ***.azurecr.io
    identity: '/subscriptions/***/resourceGroups/RG-AZURE-AGENTS/providers/Microsoft.ManagedIdentity/userAssignedIdentities/azure-agents-mi'
  subnetIds:
  - id: '/subscriptions/***/resourceGroups/RG-AZURE-AGENTS/providers/Microsoft.Network/virtualNetworks/azure-agents-vnet/subnets/snet-01'
    name: snet-01
  containers:
  - name: cs-azure-agent-windows-01
    properties:
      resources:
        requests:
          cpu: '1'
          memoryInGb: '1'
      environmentVariables:
        - name: CONTAINER
          value: 1
      image: '***.azurecr.io/azureagentdockerwin:v3'

     az container create `
        -n $ci `
        --os-type Windows `
        --image "$($acr.name).azurecr.io/$windowsImage" `
        --acr-identity $userMiResourceId --assign-identity $userMiResourceId `
        --vnet $vnet `
        --subnet $subnet `
        -o none

Hi @elnurrr we have forwarded your input to the document author, they are working on it and update the document as required, and @tomvcassidy is keeping track of it internally and provide an update document soon.

Hi @SaibabaBalapur-MSFT,
The documentation does not seem to be updated yet...
And, does it mean that Windows containers do not support any type of managed identities?

sorry for delay @elnurrr  and Tomvcassidy @tomvcassidy is keeping track of it internally and provide an update document soon.

@elnurrr Hi Elnur, sorry about the delay. The product team suggested updating the apiVersion to the latest version, which would be 2023-05-01. Here's the list: https://learn.microsoft.com/en-us/rest/api/container-instances/
If that works for you, I'll update the docs accordingly. Please me let know.
Thanks!

@tomvcassidy Hi Tom :)
Unfortunately, same error.
Please find below the --debug output
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/***/resourcegroups/RG-AZURE-AGENTS/providers/Microsoft.ContainerInstance//containerGroups/azure-agents-win-01?api-version=2023-05-01'
cli.azure.cli.core.sdk.policies: Request method: 'PUT'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json'
cli.azure.cli.core.sdk.policies:     'Content-Length': '1001'
cli.azure.cli.core.sdk.policies:     'Accept': 'application/json'
cli.azure.cli.core.sdk.policies:     'x-ms-client-request-id': 'ba77f7ae-5206-11ee-95f5-4851c5095804'
cli.azure.cli.core.sdk.policies:     'CommandName': 'container create'
cli.azure.cli.core.sdk.policies:     'ParameterSetName': '--resource-group --subscription --file -n --debug'
cli.azure.cli.core.sdk.policies:     'User-Agent': 'AZURECLI/2.52.0 (MSI) azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.10 (Windows-10-10.0.19045-SP0)'
cli.azure.cli.core.sdk.policies:     'Authorization': '*****'
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: {"location": "westeurope", "properties": {"osType": "Windows", "imageRegistryCredentials": [{"server": "***.azurecr.io", "identity": "/subscriptions/***/resourceGroups/RG-AZURE-AGENTS/providers/Microsoft.ManagedIdentity/userAssignedIdentities/azure-agents-mi"}], "subnetIds": [{"id": "/subscriptions/***/resourceGroups/RG-AZURE-AGENTS/providers/Microsoft.Network/virtualNetworks/azure-agents-vnet/subnets/snet-01", "name": "snet-01"}], "containers": [{"name": "cs-azure-agent-windows-01", "properties": {"resources": {"requests": {"cpu": "1", "memoryInGb": "1"}}, "environmentVariables": [{"name": "CONTAINER", "value": 1}], "image": "***.azurecr.io/azureagentdockerwin:v3"}}]}, "identity": {"type": "UserAssigned", "userAssignedIdentities": {"/subscriptions/***/resourceGroups/RG-AZURE-AGENTS/providers/Microsoft.ManagedIdentity/userAssignedIdentities/azure-agents-mi": {}}}}
urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool: https://management.azure.com:443 "PUT /subscriptions/***/resourcegroups/RG-AZURE-AGENTS/providers/Microsoft.ContainerInstance//containerGroups/azure-agents-win-01?api-version=2023-05-01 HTTP/1.1" 400 134
cli.azure.cli.core.sdk.policies: Response status: 400
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies:     'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Content-Length': '134'
cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json; charset=utf-8'
cli.azure.cli.core.sdk.policies:     'Expires': '-1'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-resource-requests-pt5m': '99'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-resource-requests-pt1h': '299'
cli.azure.cli.core.sdk.policies:     'x-ms-request-id': 'westeurope:b084ece4-73c8-4c6c-9941-b18de39f4e3a'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-writes': '1199'
cli.azure.cli.core.sdk.policies:     'x-ms-correlation-request-id': 'ac4e277b-eeb5-4b10-aeea-192a2d0318d2'
cli.azure.cli.core.sdk.policies:     'x-ms-routing-request-id': 'FRANCESOUTH:20230913T072734Z:ac4e277b-eeb5-4b10-aeea-192a2d0318d2'
cli.azure.cli.core.sdk.policies:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies:     'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies:     'Date': 'Wed, 13 Sep 2023 07:27:33 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {"error":{"code":"IdentityNotSupportedOnWindows","message":"Managed service identity is not supported for Windows container groups."}}

I am encountering a similar issue except my workflow is through az cloudshell commands. As noted in the docs, I created a user-assigned managed identity but am getting the same error

(IdentityNotSupportedOnWindows) Managed service identity is not supported for Windows container groups.
Code: IdentityNotSupportedOnWindows
Message: Managed service identity is not supported for Windows container groups.

Thanks for your contribution to our documentation
We sincerely apologize for the delayed response. Unfortunately, we have been unable to review this issue in a timely manner. However, we are making overall enhancements to our content. We are closing this issue for now as there has been no activity for a while. If you feel that the problem persists, please respond to this issue with additional information.
?
Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


Let's not use Python 3.9.0 anywhere

When using Python 3.9.0 to run the server, I keep running into issues like this one with tasks like scmultiplex and the 2D to 3D tasks:
I don't get those errors when the server is running on a more recent Python version (=> the tasks then also use that more recent Python version).
Thus, let's make sure we don't use any Python 3.9.0 anywhere for the server. I changed the install scripts to use Python 3.10, this issue is just to document the reasoning behind.
TASK ERROR:Task id: 128 (Convert 2D Segmentation to 3D), e.workflow_task_order=6
TRACEBACK:
2023-09-13 22:18:08,860; INFO; START convert_2D_segmentation_to_3D task
Traceback (most recent call last):
  File "/Users/joel/Library/CloudStorage/Dropbox/Joel/BioVisionCenter/Code/fractal/napari-ome-zarr-roi-loader/examples/convert_2D_segmentation_to_3D.py", line 161, in <module>
    run_fractal_task(
  File "/Users/joel/mambaforge/envs/fractal-client-1.3.4a1/lib/python3.9/site-packages/fractal_tasks_core/tasks/_utils.py", line 79, in run_fractal_task
    metadata_update = task_function(**pars)
  File "pydantic/decorator.py", line 40, in pydantic.decorator.validate_arguments.validate.wrapper_function
  File "pydantic/decorator.py", line 134, in pydantic.decorator.ValidatedFunction.call
  File "pydantic/decorator.py", line 206, in pydantic.decorator.ValidatedFunction.execute
  File "/Users/joel/Library/CloudStorage/Dropbox/Joel/BioVisionCenter/Code/fractal/napari-ome-zarr-roi-loader/examples/convert_2D_segmentation_to_3D.py", line 108, in convert_2D_segmentation_to_3D
    write_labels(
  File "/Users/joel/mambaforge/envs/fractal-client-1.3.4a1/lib/python3.9/site-packages/ome_zarr/writer.py", line 823, in write_labels
    dask_delayed_jobs = _write_dask_image(
  File "/Users/joel/mambaforge/envs/fractal-client-1.3.4a1/lib/python3.9/site-packages/ome_zarr/writer.py", line 594, in _write_dask_image
    da.compute(*delayed)
  File "/Users/joel/mambaforge/envs/fractal-client-1.3.4a1/lib/python3.9/site-packages/dask/base.py", line 615, in compute
    schedule = get_scheduler(
  File "/Users/joel/mambaforge/envs/fractal-client-1.3.4a1/lib/python3.9/site-packages/dask/base.py", line 1440, in get_scheduler
    from distributed import get_client
  File "/Users/joel/mambaforge/envs/fractal-client-1.3.4a1/lib/python3.9/site-packages/distributed/__init__.py", line 23, in <module>
    from distributed.actor import Actor, ActorFuture, BaseActorFuture
  File "/Users/joel/mambaforge/envs/fractal-client-1.3.4a1/lib/python3.9/site-packages/distributed/actor.py", line 13, in <module>
    from distributed.client import Future
  File "/Users/joel/mambaforge/envs/fractal-client-1.3.4a1/lib/python3.9/site-packages/distributed/client.py", line 115, in <module>
    from distributed.worker import get_client, get_worker, secede
  File "/Users/joel/mambaforge/envs/fractal-client-1.3.4a1/lib/python3.9/site-packages/distributed/worker.py", line 117, in <module>
    from distributed.worker_memory import (
  File "/Users/joel/mambaforge/envs/fractal-client-1.3.4a1/lib/python3.9/site-packages/distributed/worker_memory.py", line 55, in <module>
    WorkerDataParameter: TypeAlias = Union[
  File "/Users/joel/mambaforge/envs/fractal-client-1.3.4a1/lib/python3.9/typing.py", line 243, in inner
    return func(*args, **kwds)
  File "/Users/joel/mambaforge/envs/fractal-client-1.3.4a1/lib/python3.9/typing.py", line 316, in __getitem__
    return self._getitem(self, parameters)
  File "/Users/joel/mambaforge/envs/fractal-client-1.3.4a1/lib/python3.9/typing.py", line 421, in Union
    parameters = _remove_dups_flatten(parameters)
  File "/Users/joel/mambaforge/envs/fractal-client-1.3.4a1/lib/python3.9/typing.py", line 215, in _remove_dups_flatten
    all_params = set(params)
TypeError: unhashable type: 'list'

This is annoying, but I think the problem is with the tasks (and then it "propagates" to the server, because by default we are using the same python version if not specified).
Two comments:

One should try not to use "old" versions of python 3.9 (this issue reportedly affects 3.9.0 and 3.9.1 but not 3.9.2: https://github.com/dask/distributed/issues/7956 - see also https://github.com/ome/ome-zarr-py/issues/286);
Something should fail upfront, and not while executing tasks. If we can reproduce it in a controlled scenario, and verify that only 3.9.0 and 3.9.1, then I'd be in favor of making it a hard requirement for fractal-tasks-core.

In my testing, the fractal-tasks-core tasks were running fine, but the scmultiplex & 2D to 3D tasks ran into issues. 2D to 3D use the ome-zarr-py package, but scmultiplex doesn't have such a dependency. The error above is from 2D to 3D. scmultiplex runs into a similar error though.
If it really is related to Python 3.9.0 / .1 issues, then the easiest way around for the moment is just not to default to use those. Thus either picking a newer 3.9 distro or (my suggestion) switching our templates to using 3.10 distributions.
Having switched the UZH server to 3.10, I can't reproduce this behavior anymore

In my testing, the fractal-tasks-core tasks were running fine, but the scmultiplex & 2D to 3D tasks ran into issues. 2D to 3D use the ome-zarr-py package, but scmultiplex doesn't have such a dependency. The error above is from 2D to 3D. scmultiplex runs into a similar error though.

The error in ome-zarr-py comes from a dask.distributed error (see https://github.com/dask/distributed/issues/7956) and maybe from somewhere even more upstream (the dask issue mentions a Python bug, likely this one, which was then fixed in 3.9.2). Thus it's not surprising that you can hit it without depending on ome-zarr-py.


nixos/modules: fix openldap markdown syntax

Otherwise manual build fails as:
$ nix build -f nixos/release.nix manual.x86_64-linux
...
 > NotImplementedError: ('md node not supported yet', 'services.openldap.declarativeContents', 'inline_html', ('<code>',))
 For full logs, run 'nix log /nix/store/pfa7bg3pflp0c31ma0rc2ahwqabs88dd-base-json-md-converted.drv'.

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

yikes, that came in from an old place. just waiting for CI to merge.

Nit (so feel free to not make this change), but can the commit message be updated to fit the guidelines, i.e. nixos/openldap: fix option description markdown or similar?

Sounds good! Updated.


Building the repository container image takes a LOOONG time

It takes a little over six minutes to build the repository container image, with >90% of that time spent changing the ownership of the app/ directory
$ make build-repository-server
docker build -t qiskit/quantum-repository-server:0.0.5 -f ./infrastructure/docker/Dockerfile-repository-server .
[+] Building 388.5s (12/12) FINISHED
 => [internal] load .dockerignore                                                                   0.0s
 => => transferring context: 255B                                                                   0.0s
 => [internal] load build definition from Dockerfile-repository-server                              0.0s
 => => transferring dockerfile: 490B                                                                0.0s
 => [internal] load metadata for registry.access.redhat.com/ubi9/python-39@sha256:89463fe3e0866206  0.4s
 => [internal] load build context                                                                   2.1s
 => => transferring context: 10.77MB                                                                2.1s
 => [1/7] FROM registry.access.redhat.com/ubi9/python-39@sha256:89463fe3e086620617a4f6281640469ba7  0.0s
 => CACHED [2/7] WORKDIR /app                                                                       0.0s
 => [3/7] COPY repository .                                                                        12.3s
 => [4/7] RUN chown -R 1001:0 /app                                                                350.2s
 => [5/7] RUN pip3 install -r requirements.txt                                                      9.4s
 => [6/7] RUN pip3 install -r requirements-dev.txt                                                  6.2s
 => [7/7] RUN python manage.py migrate                                                              1.4s
 => exporting to image                                                                              6.3s
 => => exporting layers                                                                             6.3s
 => => writing image sha256:632c13174de0ff2d4f2fcd07f95c56bfac8dae3fa83c60f32b638c4665e5c9a8        0.0s
 => => naming to docker.io/qiskit/quantum-repository-server:0.0.5                                   0.0s

We should be able to reduce that time a substantial amount.

Happening with the gateway image too.

In an effort to create images that are compatible with m1 we will replace base image to other one, which potentially might solve this issue. Let's wait for #414 and #418 and recheck again.


Package request: gotify

Project description
A simple server for sending and receiving messages in real-time per WebSocket. Includes a web UI, also has an Android client for receiving notifications and an optional CLI program (distributed separately) for sending notifications.
Metadata

homepage URL: https://gotify.net/
source URL: https://github.com/gotify/server
license: MIT
platforms: anything Go runs on

I started an attempt locally, however it failed due to some timeouts while fetching Go dependencies... will retry during this week :)

I think the main difficulty is the UI, which needs to be compiled with NPM. In essence, I think the build is three-staged: fetch UI dependencies, fetch Go dependencies, do the actual build.

You may want to take a look at #70441.