JKBMS BLE - Throws alarm #31

Describe the problem
I haven't had time to play with the dbus-serialbattery driver for a bit until recently, I installed the latest nightly v1.4.20240629dev from mr-manuel's repo, and there is a notification about JKBMS alarm #31 which I didn't see before, and I couldn't find anything about this alarm by searching the internet. The JKBMS seems to be working fine otherwise. Anyone else has this alarm?
Please help advise if you know something about this #31 alarm. Thanks a lot!
Driver version
v1.4.20240629dev
Venus OS device type
Cerbo GX
Venus OS version
v3.14
BMS type
JKBMS / Heltec BMS
Cell count
8
Battery count
8
Connection type
Bluetooth
Config file
[DEFAULT]

; 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 = 100.0
MAX_BATTERY_DISCHARGE_CURRENT = 150.0
BLUETOOTH_BMS = Jkbms_Ble C8:47:80:xx:xx:xx
BMS_TYPE = Jkbms
MIN_CELL_VOLTAGE = 2.900
MAX_CELL_VOLTAGE = 3.600
FLOAT_CELL_VOLTAGE = 3.320

; Set steps to reduce battery current
; The current will be changed linear between those steps if LINEAR_LIMITATION_ENABLE is set to True
;CELL_VOLTAGES_WHILE_CHARGING   = 3.62, 3.55, 3.50, 3.30
;MAX_CHARGE_CURRENT_CV_FRACTION =    0, 0.05,  0.5,    1

;CELL_VOLTAGES_WHILE_DISCHARGING   = 3.15, 3.20, 3.25, 3.30
;MAX_DISCHARGE_CURRENT_CV_FRACTION =    0,  0.1,  0.5,    1

;LOGGINIG = DEBUG
; Charge current SoC limits
CC_SOC_LIMIT1 = 98
CC_SOC_LIMIT2 = 95
CC_SOC_LIMIT3 = 91

; Charge current limits
CC_CURRENT_LIMIT1_FRACTION = 0.1
CC_CURRENT_LIMIT2_FRACTION = 0.5
CC_CURRENT_LIMIT3_FRACTION = 0.8

CELL_VOLTAGES_WHILE_CHARGING   = 3.62, 3.55, 3.50, 3.35
MAX_CHARGE_CURRENT_CV_FRACTION =    0, 0.05,  0.5,    1

CELL_VOLTAGES_WHILE_DISCHARGING   = 3.20, 3.22, 3.23, 3.24
MAX_DISCHARGE_CURRENT_CV_FRACTION =    0,  0.5,  0.7,    1

; Discharge current SoC limits
DC_SOC_LIMIT1 = 10
DC_SOC_LIMIT2 = 20
DC_SOC_LIMIT3 = 30

; Discharge current limits
DC_CURRENT_LIMIT1_FRACTION = 0.0
DC_CURRENT_LIMIT2_FRACTION = 0.0
DC_CURRENT_LIMIT3_FRACTION = 0.5

Relevant log output
2024-07-02 13:47:29.144884500 Starting bluetooth: bluetoothd.
2024-07-02 13:47:29.161017500 INFO:SerialBattery:System Bluetooth daemon should have been restarted
2024-07-02 13:47:31.182986500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: BleakDBusError('org.freedesktop.DBus.Error.AccessDenied', 'Client tried to send a message other than Hello without being registered') of type <class 'bleak.exc.BleakDBusError'> in /opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py line #474
2024-07-02 13:47:31.183809500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-07-02 13:47:31.188014500 INFO:SerialBattery:Reset of system Bluetooth daemon triggered
2024-07-02 13:47:33.271289500 Starting bluetooth: bluetoothd.
2024-07-02 13:47:33.287266500 INFO:SerialBattery:System Bluetooth daemon should have been restarted
2024-07-02 13:47:35.309461500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: BleakDBusError('org.freedesktop.DBus.Error.AccessDenied', 'Client tried to send a message other than Hello without being registered') of type <class 'bleak.exc.BleakDBusError'> in /opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py line #474
2024-07-02 13:47:35.310782500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-07-02 13:47:35.315089500 INFO:SerialBattery:Reset of system Bluetooth daemon triggered

Any other information that may be helpful
No response

This alarm is only to report, that you should check the logs, but you did not attach the logs.

I checked the log (/data/log/dbus-blebattery.0/current) and found that the debus-serialbattery driver won't connect to JKBMS, saying no BMS found in the mac address which is correct. I think if I leave it long enough it will eventually connect. Previous version connects quicker but will eventually drops off, some previous version I tried can keep the connection much longer than others but unfortunately I didn't keep a log of which version is the best. Anyway, here is log:
2024-06-30 19:04:57.173805500 INFO:Bluetooth details
2024-06-30 19:04:57.195784500 No default controller available
2024-06-30 19:05:02.231423500
2024-06-30 19:05:03.522090500 INFO:SerialBattery:
2024-06-30 19:05:03.523094500 INFO:SerialBattery:Starting dbus-serialbattery
2024-06-30 19:05:03.525355500 INFO:SerialBattery:Venus OS v3.14
2024-06-30 19:05:03.526028500 INFO:SerialBattery:dbus-serialbattery v1.4.20240629dev
2024-06-30 19:05:19.964603500 INFO:SerialBattery:Init of Jkbms_Ble at C8:47:80:xx:xx:xx
2024-06-30 19:05:19.965345500 INFO:SerialBattery:Test of Jkbms_Ble at C8:47:80:xx:xx:xx
2024-06-30 19:05:20.401426500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: BleakError('No Bluetooth adapters found.') of type <class 'bleak.exc.BleakError'> in /opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py line #474
2024-06-30 19:05:20.402242500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-06-30 19:05:20.406744500 INFO:SerialBattery:Reset of system Bluetooth daemon triggered
2024-06-30 19:05:22.482389500 Starting bluetooth: bluetoothd.
2024-06-30 19:05:22.498992500 INFO:SerialBattery:System Bluetooth daemon should have been restarted
2024-06-30 19:05:24.536178500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: BleakError('No Bluetooth adapters found.') of type <class 'bleak.exc.BleakError'> in /opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py line #474
2024-06-30 19:05:24.536952500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-06-30 19:05:24.540415500 INFO:SerialBattery:Reset of system Bluetooth daemon triggered
2024-06-30 19:05:26.622682500 Starting bluetooth: bluetoothd.
2024-06-30 19:05:26.640278500 INFO:SerialBattery:System Bluetooth daemon should have been restarted
2024-06-30 19:05:28.676824500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: BleakError('No Bluetooth adapters found.') of type <class 'bleak.exc.BleakError'> in /opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py line #474
2024-06-30 19:05:28.677794500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-06-30 19:05:28.681648500 INFO:SerialBattery:Reset of system Bluetooth daemon triggered
2024-06-30 19:05:29.479828500 ERROR:SerialBattery:No BMS found at C8:47:80:xx:xx:xx
2024-06-30 19:05:29.480571500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2024-06-30 19:05:30.760473500 Starting bluetooth: bluetoothd.
2024-06-30 19:05:30.776594500 INFO:SerialBattery:System Bluetooth daemon should have been restarted

I'd to add that I have been using the same config.ini file for a while now but didn't experience this #31 alarm in previous driver versions.

Some additional checks where implemented with the latest version to show the user, if there are issues in the background which the user don't see in the GUI. Now you write that you are using the same config.ini for a while now, but you did not provide it. Are you using a custom config.ini or not?
The logs you provided do not match the error. Additionally they do not show a correctly started driver which would be able to show the error #31. Please make sure to fetch the logs when the error is shown.

Sorry about the missing information! @mr-manuel. No error in my earlier log was because the JKBMS wasn't connected to CerboGX, I left it long enough and now it is connected with the #31 alarm. I updated my original post to include my config.ini and the log output with errors, I only copied and pasted two sections of the log output which just keep repeating themselves. Thanks!

I was mistaken to say that the JKBMS is connected to the CerboGX earlier, it was not even if it showed up on remote console, I think it is frozen or stalled or something since there is no reading update, and the red led on JKBMS is flashing, it should be solid red if it’s Bluetooth is connected.

Install the latest nightly from today and then make a reboot.

Thanks for your quick action! @mr-manuel
Per your suggestion, I installed the lastest nightly but the JKBMS still wouldn't connect, rebooted a couple of times. Please see the log below:
root@einstein:~# tail -F -n 100 /data/log/dbus-blebattery.0/current | tai64nlocal
2024-07-03 03:05:20.710372500 INFO:SerialBattery:Reset of system Bluetooth daemon triggered
2024-07-03 03:05:22.786620500 Starting bluetooth: bluetoothd.
2024-07-03 03:05:22.802261500 INFO:SerialBattery:System Bluetooth daemon should have been restarted
2024-07-03 03:05:24.834844500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: BleakError('No Bluetooth adapters found.') of type <class 'bleak.exc.BleakError'> in /opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py line #474
2024-07-03 03:05:24.835636500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-07-03 03:05:24.838979500 INFO:SerialBattery:Reset of system Bluetooth daemon triggered
2024-07-03 03:05:26.916064500 Starting bluetooth: bluetoothd.
2024-07-03 03:05:26.931537500 INFO:SerialBattery:System Bluetooth daemon should have been restarted
2024-07-03 03:05:28.969373500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: BleakError('No Bluetooth adapters found.') of type <class 'bleak.exc.BleakError'> in /opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py line #474
2024-07-03 03:05:28.970137500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-07-03 03:05:28.973355500 INFO:SerialBattery:Reset of system Bluetooth daemon triggered
2024-07-03 03:05:29.789343500 ERROR:SerialBattery:No BMS found at C8:47:80:xx:xx:xx
2024-07-03 03:05:29.790079500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2024-07-03 03:05:31.052855500 Starting bluetooth: bluetoothd.
2024-07-03 03:05:31.070312500 INFO:SerialBattery:System Bluetooth daemon should have been restarted
2024-07-03 03:05:33.351799500
2024-07-03 03:05:33.351940500 INFO:Bluetooth details
2024-07-03 03:05:33.380503500 No default controller available
2024-07-03 03:05:38.420523500
2024-07-03 03:05:39.692644500 INFO:SerialBattery:
2024-07-03 03:05:39.693353500 INFO:SerialBattery:Starting dbus-serialbattery
2024-07-03 03:05:39.695326500 INFO:SerialBattery:Venus OS v3.14
2024-07-03 03:05:39.695950500 INFO:SerialBattery:dbus-serialbattery v1.4.20240702dev
2024-07-03 03:05:56.127730500 INFO:SerialBattery:Init of Jkbms_Ble at C8:47:80:xx:xx:xx
2024-07-03 03:05:56.128592500 INFO:SerialBattery:Test of Jkbms_Ble at C8:47:80:xx:xx:xx
2024-07-03 03:05:56.539077500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: BleakError('No Bluetooth adapters found.') of type <class 'bleak.exc.BleakError'> in /opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py line #474
2024-07-03 03:05:56.539873500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-07-03 03:05:56.543587500 INFO:SerialBattery:Reset of system Bluetooth daemon triggered
2024-07-03 03:05:58.620710500 Starting bluetooth: bluetoothd.
2024-07-03 03:05:58.636337500 INFO:SerialBattery:System Bluetooth daemon should have been restarted
2024-07-03 03:06:00.673358500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: BleakError('No Bluetooth adapters found.') of type <class 'bleak.exc.BleakError'> in /opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py line #474
2024-07-03 03:06:00.674112500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-07-03 03:06:00.677324500 INFO:SerialBattery:Reset of system Bluetooth daemon triggered
2024-07-03 03:06:02.755122500 Starting bluetooth: bluetoothd.
2024-07-03 03:06:02.771833500 INFO:SerialBattery:System Bluetooth daemon should have been restarted
2024-07-03 03:06:04.807856500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: BleakError('No Bluetooth adapters found.') of type <class 'bleak.exc.BleakError'> in /opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py line #474
2024-07-03 03:06:04.808739500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-07-03 03:06:04.812292500 INFO:SerialBattery:Reset of system Bluetooth daemon triggered
2024-07-03 03:06:05.642423500 ERROR:SerialBattery:No BMS found at C8:47:80:xx:xx:xx
2024-07-03 03:06:05.643205500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2024-07-03 03:06:06.889298500 Starting bluetooth: bluetoothd.
2024-07-03 03:06:06.905177500 INFO:SerialBattery:System Bluetooth daemon should have been restarted
2024-07-03 03:06:09.189381500
2024-07-03 03:06:09.189530500 INFO:Bluetooth details
2024-07-03 03:06:09.211075500 No default controller available
2024-07-03 03:06:14.250758500
2024-07-03 03:06:15.529596500 INFO:SerialBattery:
2024-07-03 03:06:15.530295500 INFO:SerialBattery:Starting dbus-serialbattery
2024-07-03 03:06:15.532278500 INFO:SerialBattery:Venus OS v3.14
2024-07-03 03:06:15.532897500 INFO:SerialBattery:dbus-serialbattery v1.4.20240702dev
2024-07-03 03:06:31.980265500 INFO:SerialBattery:Init of Jkbms_Ble at C8:47:80:xx:xx:xx
2024-07-03 03:06:31.980982500 INFO:SerialBattery:Test of Jkbms_Ble at C8:47:80:xx:xx:xx
2024-07-03 03:06:32.419960500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: BleakError('No Bluetooth adapters found.') of type <class 'bleak.exc.BleakError'> in /opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py line #474
2024-07-03 03:06:32.420773500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-07-03 03:06:32.424427500 INFO:SerialBattery:Reset of system Bluetooth daemon triggered
2024-07-03 03:06:34.509630500 Starting bluetooth: bluetoothd.
2024-07-03 03:06:34.525289500 INFO:SerialBattery:System Bluetooth daemon should have been restarted
2024-07-03 03:06:36.560994500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: BleakError('No Bluetooth adapters found.') of type <class 'bleak.exc.BleakError'> in /opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py line #474
2024-07-03 03:06:36.561753500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-07-03 03:06:36.565097500 INFO:SerialBattery:Reset of system Bluetooth daemon triggered
2024-07-03 03:06:38.642100500 Starting bluetooth: bluetoothd.
2024-07-03 03:06:38.660569500 INFO:SerialBattery:System Bluetooth daemon should have been restarted
2024-07-03 03:06:40.695165500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: BleakError('No Bluetooth adapters found.') of type <class 'bleak.exc.BleakError'> in /opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py line #474
2024-07-03 03:06:40.695946500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-07-03 03:06:40.699286500 INFO:SerialBattery:Reset of system Bluetooth daemon triggered
2024-07-03 03:06:41.494447500 ERROR:SerialBattery:No BMS found at C8:47:80:xx:xx:xx
2024-07-03 03:06:41.495241500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2024-07-03 03:06:42.775892500 Starting bluetooth: bluetoothd.
2024-07-03 03:06:42.791264500 INFO:SerialBattery:System Bluetooth daemon should have been restarted
2024-07-03 03:06:45.072245500
2024-07-03 03:06:45.072389500 INFO:Bluetooth details
2024-07-03 03:06:45.093390500 No default controller available

In this case the issue should be clear: No Bluetooth adapters found.
Are you using the internal one or an external?

You meant the Bluetooth adapter for CerboGX? It’s the internal one

Somehow this adapter is not recognized anymore. Could you install the latest Venus OS beta?

I upgraded the Venus OS to v3.33 from v3.14, the JKBMS would connect to Cerbo GX after a long time, I got a #119 alarm about settings error on the BMS, looked at the log and it seems to be about the CELL_VOLTAGES_WHILE_DISCHARGING (3.2 V) is higher than MIN_CELL_VOLTAGE (2.9 V), changed the CELL_VOLTAGES_WHILE_DISCHARGING from 3.2v to 2.9v and reboot the Cerbo GX but the JKBMS won't connect even after a long time. I googled around and found people commented that the built-in bluetooth of the Cerbo GX is really meant for assisting the initial setup of Cerbo GX's WiFi, it would shut off when the temperature of the Cerbo GX rises up, it is not for connecting to other accessories like a BMS, Victron's manual indicates this also. I decided to try the wire connection route and ordered a USB-RS485 adapter from Amazon.  I will update when I receive the adapter in a couple of days.

I changed my mind of using the wired connection instead of bluetooth one, ordered a TP-Link UB400 adapter, plugged it in to the Cerbo GX, the bluetooth LED lights up (previously it was always off when I used the internal bluetooth adapter but the JKBMS did connect to Cerbo GX, just intermittently) JKBMS connected to Cerbo GX very quickly and everything seems to work fine, I need more time to check the reliability of the connection, initial impression is promising so far. I checked the log and found the bluetoothd restarts every minute, is this a normal behavior of this dbus-serialbattery driver? @mr-manuel Here are the log output:
2024-07-06 19:50:45.980009500 Starting bluetooth: bluetoothd.
2024-07-06 19:50:45.996111500 INFO:SerialBattery:System Bluetooth daemon should have been restarted
2024-07-06 19:51:52.880185500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-07-06 19:51:52.894609500 INFO:SerialBattery:Reset of system Bluetooth daemon triggered
2024-07-06 19:51:54.995400500 Starting bluetooth: bluetoothd.
2024-07-06 19:51:55.011611500 INFO:SerialBattery:System Bluetooth daemon should have been restarted
2024-07-06 19:53:01.896292500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-07-06 19:53:01.902106500 INFO:SerialBattery:Reset of system Bluetooth daemon triggered
2024-07-06 19:53:04.003490500 Starting bluetooth: bluetoothd.
2024-07-06 19:53:04.020110500 INFO:SerialBattery:System Bluetooth daemon should have been restarted
2024-07-06 19:54:10.880400500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-07-06 19:54:10.890754500 INFO:SerialBattery:Reset of system Bluetooth daemon triggered
2024-07-06 19:54:12.984455500 Starting bluetooth: bluetoothd.
2024-07-06 19:54:13.001261500 INFO:SerialBattery:System Bluetooth daemon should have been restarted
2024-07-06 19:55:19.891681500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-07-06 19:55:19.906218500 INFO:SerialBattery:Reset of system Bluetooth daemon triggered
2024-07-06 19:55:22.036333500 Starting bluetooth: bluetoothd.
2024-07-06 19:55:22.056219500 INFO:SerialBattery:System Bluetooth daemon should have been restarted

No this is no normal behaviour.

Thanks, @mr-manuel, for your comment!
My system has been running for about 18 hours now since I installed external Bluetooth adapter, the JKBMS connection seems to be very stable, which I hadn’t experienced before when using the Cerbo GX’s internal adapter, so other than the bluetoothd restarting issue, it is promising that the driver using Bluetooth connection is stable enough to be used in a production system.
If this is not normal, can it be addressed by driver software update? Please let me know if you need help to diagnose this issue further.

I already spend hours and hours on troubleshooting, updating different packages and so on. Every time the same issue and I'm stuck to get some useful results. For solving this, we need someone that has much experience with Bluetooth connections.
Since your initial problem is solved, I will close this issue. There are already other issues opened for Bluetooth connection problems.

Sounds good, @mr-manuel. Thanks again!

You're welcome


Template cannot be compiled by Javassist

The resulting template code cannot be compiled by Javassist. See https://github.com/jboss-javassist/javassist/issues/46

The issue is valid for 1.0.11. It is fixed in 1.0.12. It would be great if you could release 1.0.12 soon. Thanks!


customArrows props creates infinite loops.

Hi!
Im trying to create chessboard site that allows users analyse positions. Main functionality is to let users draw arrows on chessboard, also to other users (using socket.io for moves, also trying it for arrows). Unfortunately when im trying to get data from onArrowsChange and broadcast it to the other users, while trying to set customArrows from useState i got infinite loop and site is getting crashed. It seems like a bug for me but maybe its just too tricky for me. How should i implement customArrows props from server without getting crushed?

Hi!
take a look to useArrows.ts which is used for arrows state managment.
if you change customArrows inside your onArrowsChange function, it might be the cause of infinitive loop.
Sharing your code will be much helpful for understanding whats exactly is going on

Thank you for fast answer, i will try my best, so onArrowsChange im creating this function arrowDrow:
const [arrows, setArrows] = useState<Square[][]>([]);
const arrowDrow = (arrowsData: Square[][]) => {
        if (arrowsData.length === 0 && arrowsData !== arrows) {
            setArrows([]);
            socket.emit("draw_arrows", {
                arrowsData,
                roomID,
            });
        } else {
            setArrows(arrowsData);
            socket.emit("draw_arrows", {
                arrowsData,
                roomID,
            });
        }
    };

My server is responding with broadcast like this:
 socket.on("draw_arrows", (data) => {
        socket.broadcast.to(data.roomID).emit("arrows_drawn", data.arrowsData);
    });

And then client received it with this function:
socket.on("arrows_drawn", (arrowsData) => {
        setArrows(arrowsData);
    });

My component is rendered like this:
 <Chessboard
                        customArrows={arrows}
                        onArrowsChange={arrowDrow}
                        onPieceDrop={onDrop}
                        position={game.fen()}
                        boardWidth={650}
                    />
                    ```

Yes, my guess seems right, when you call onArrowsChange it sets new state by triggering setArrows(arrowsData);. after that here in useArrows.ts  we trigger onArrowsChange again it causes infinite loop.
I would think about correct solution,  have to discuss with @Clariity what we can do
As an dirty temporary hack  i will suggest you to add extra check in your function
const arrowDrow = (arrowsData: Square[][]) => {
        if (arrowsData.length === 0 && arrowsData !== arrows) {
            setArrows([]);
            socket.emit("draw_arrows", {
                arrowsData,
                roomID,
            });
        } else {
            // this should stop endless loop
            if(arrowsData.flat().join() === arrows.flat().join()) return

            setArrows(arrowsData);
            socket.emit("draw_arrows", {
                arrowsData,
                roomID,
            });
        }
    };

Thank you very much @Manukyanq, it works now!!

I tried it but it seems not working. First arrow is good but next ones are not showing for both users
const arrowDrow = (arrowsData: Square[][]) => {
            socket.emit("draw_arrows", {
                arrowsData,
                roomID,
            });
    };

I think i need to call setArrorws because i broadcast it on server side so its not coming back. When i tried to emit it instead of broadcasting its not working.

Thank you for responding whilst I was away on holiday @Manukyanq
For the line you references in useArrows.ts:
// callback when new arrows are set
  useEffect(() => {
    onArrowsChange?.(toArray(arrows));
  }, [arrows]);

I think we need to change the implementation so that this is only called when the change comes from within the board, and not from an external arrows prop change, and the name should be changed as to not cause confusion i.e. onArrowsBoardChange
this is because if it's coming externally from then the user can handle the change externally

fixed in #99
will release soon


[Bug report] BatchPrefillWithPagedKVCachePyTorchWrapper failed to dispatch group_size 3

Error traceback
  File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1541, in _call_impl
    return forward_call(*args, **kwargs)
  File "/root/sglang/python/sglang/srt/layers/radix_attention.py", line 128, in forward
    return self.extend_forward(q, k, v, input_metadata)
  File "/root/sglang/python/sglang/srt/layers/radix_attention.py", line 104, in prefill_forward_flashinfer
    o = input_metadata.prefill_wrapper.forward(
  File "/usr/local/lib/python3.10/dist-packages/flashinfer/prefill.py", line 498, in forward
    return self._wrapper.forward(
RuntimeError: BatchPrefillWithPagedKVCachePyTorchWrapper::Forward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, bool, unsigned int, bool, float, float, float, bool)::<lambda()>::<lambda()>::<lambda()>::<lambda()>::<lambda()> failed to dispatch group_size 3

Shape information
num_heads 24
num_kv_heads 8
head_dim 128
q.shape torch.Size([6, 3072])

Yes I'm coming to fix these series of issues :)

With #301 merged, now flashinfer's prefill kernels support any group sizes, and decode kernels support group size 1-8.


How to get more depth information for bid and ask prices?

I use Web Socket Streams to get  depth information.  For example:
wss://fstream.binance.com/ws/btcusdt@depth20
Here, the levels is 20, and I can get 20 bids and asks. According to API, Valid levels are 5, 10, or 20.
How to get more depth information over 20 levels?

Not through any existed API directly.
However, it could be done by subscribe diff book depth stream.  I believe binance has described this in their official document:
partial-book-depth-streams
The How to manage a local order book correctly section is what you're looking for.

With get_order_book(symbol="btcusdt", limit=5000)you get even 5000 levels! Keep an eye on the binance api weight! i think you can not repeat very often within one minute.
the partial book depth streams just update the first 1000 levels, so thats why you have to use a snapshot with limit=1000 in that case.

https://binance-docs.github.io/apidocs/spot/en/#order-book

It's interesting if you could have more than one source of data. When you get all of it from one single source your algo may be easily subjected to market manipulation, heavy volume or not.

It's interesting if you could have more than one source of data. When you get all of it from one single source your algo may be easily subjected to market manipulation, heavy volume or not.

What exactly do you mean?

Hello there @oliver-zehentleitner. Well, Binance's order book has their spread coming from their liquidity provider, which generates the ask and bid prices. Although the algo is directly related to Binance, it's subjected to any margin moves called by the liquidity provider itself. Also, the main problem is that the liquidity provider "sees" the hidden liquidity (which is the pending buy and sell orders) but "we"don't, since it's not been processed into the depth source until it becomes an active order.


Laravel 8 Support

Laravel 8 has been released today and we need to update this repo to support it.
See https://laravel.com/docs/8.x/upgrade & https://github.com/laravel-notification-channels/channels/issues/107

Closed in #25


Add better error handling to CLI

For example:
following
pym osxphotos export -V ~/Desktop/export tests/Test-Cloud-10.15.1.photoslibrary
crashes with this
FileNotFoundError: [Errno dbfile /Users/rhet/Desktop/export/database/photos.db does not exist] /Users/rhet/Desktop/export/database/photos.db

Errors are all now trapped in try/except block


Remove useless interfaces

Interfaces like Eventually which contains only a single (defined) method could be removed and the function could be made top-level and used directly instead.
interface Eventually {

  fun eventually(duration: Duration, f: () -> Unit): Unit {
    val end = System.nanoTime() + duration.nanoseconds
    var times = 0
    while (System.nanoTime() < end) {
      try {
        f()
        return
      } catch (e: Exception) {
        // ignore and proceed
      }
      times++
    }
    throw AssertionError("Test failed after ${duration.amount} ${duration.timeUnit}; attempted $times times")
  }

Shall we remove such interfaces?

I guess we can but it is a nice way of separating out the logic. If you remove the interface you just end up creating a bigger and bigger class. However, I would be in favour of making it automatically available to the end user.

Are you aware of a way to make it available automatically? I thought of simple top-level functions. So instead of MySpec : Eventually you would import all functions from the Eventually.kt file via a star import. Since all top-level functions from different files in one package reside in the same name space, a single import for all matchers would be sufficient: import io.kotlintest.matchers.*.
This would also so solve the problem with reified generics in interface functions.

I've just tried to remove these interfaces, but this leads to some errors. For example should can not be resolved in some cases. The best would be to rework the matchers first.

The way to make it automatically available is just to have the Eventually interface mixed in with the specs at the spec level. So the user extends a spec and gets Eventually automatically.

I think it would be cleaner to make all matcher top-level functions and remove interfaces and inheritance entirely here. Having a matcher function at some unrelated class somewhere in our code base, to be able to use reified generics and to make it available in the scope, is not worth it (at least from my point of view).

@sksamuel What do you think about making matchers top-level functions and letting the users import them explicitly? I think that would lead to a much better code structure. Or in the words of the Python community: Explicit is better than implicit.

We can do. What's the benefit to the user.
On 30 Jan 2017 12:34 p.m., "Christian Helmbold"<EMAIL_ADDRESS>wrote:

@sksamuel https://github.com/sksamuel What do you think about making
matchers top-level functions and letting the users import them explicitly?
I think that would lead to a much better code structure. Or in the words of
the Python community: Explicit is better than implicit.
https://www.python.org/dev/peps/pep-0020/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kotlintest/kotlintest/issues/132#issuecomment-276051895,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtZGuvfoNr59g1li53yYhrMUiFxzBSfks5rXdi3gaJpZM4LhC3b
.

This suggestion is mainly about improving the internal code quality. However a benefit for the user could be more clearity, if he tries to understand the framework. And it wouldn't be obvious to have a certain matcher in a completely unrelated location just because of some language limitation (reified generics in this case). Another benefit could be the avoidance of name collisions when other matcher libs are used.

@helmbold Once the #132 has been merged into release/2.0 branch, some errors related with the interfaces have appeared.
I was fixing it until I realized that I will finish undoing this work. Could you give it a look, please?


Add context to client interface

Add context to client interface to address issue #31. This is a breaking change to the client interface.

Thanks @timburks! Felt a bit like I was spamming you with PRs over the weekend! Hope this was okay.


eth_signTypedData methods in Example/ExampleApp.xcodeproj do not work

Describe the bug
after connect wallet, enter AccountRequestViewController. And click eth_signTypedData。popup a response viewcontroller with error message.
SDK Version

Client: [swift] dapp in ExampleApp
Version [1.6.17]

To Reproduce
Steps to reproduce the behavior:

Open Example/ExampleApp.xcodeproj
Select DApp target on Xcocde top center
Click connect button in dapp
After sucessful connected a wallet
Click on one account
Click eth_signTypedData
Received Error eth_signTypedData

Expected behavior
open connected wallet, user approve. And back to ExampleApp. Dapp receive signed result.
Screenshots

Device (please complete the following information):

Device: [iPhone12]
OS: [iOS16.5.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

We're updated our sample dapp, could you try to reproduce again please?


Text.published: required or not?

If required, then mark so. Else make not required.

Answer: No.


Heroku asking for credit card

Heroku asking for credit card details after provisioning.

try with a fake CC  maybe it will work

Already did. It doesn't work as they verify it. They say its invalid
On Tue, 25 Jun, 2019, 8:50 PM mohitms<EMAIL_ADDRESS>wrote:

try with a fake CC maybe it will work
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/adonespitogo/AdoBot-IO/issues/20?email_source=notifications&email_token=AGXEJMKALVFL6KWJ2VLUBJLP4IZULA5CNFSM4HYX4CV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYQTMXA#issuecomment-505493084,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGXEJMNJ6BIHHMLKQKIXVU3P4IZULANCNFSM4HYX4CVQ
.

then developer should reply for that issue I'm not the developer of this project else i want prefer this website or webapp! sorry


Error when installing composer

Hi i am running when below command but it returns the error message. What is the issue here?
$ docker run --rm -v $(pwd):/app composer/composer install
Composer could not find a composer.json file in /app
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section

and i checked, composer.json is in pwd directory.
Thanks.

Are you running this on Docker for Windows by any chance? I'm getting the same problem on my machine; it's saying the composer.json file doesn't exist, but it is definitely in the specified location.

Hi, any update for this issue? I am using Docker for Windows as well @Rainbowlemon have you found a workaround?
I used Powershell, CygWin, even Git Bash but to no avail.

@cian0 It was a while ago, but I think I figured out this was to do with windows/bash returning a path that couldn't be interpreted by docker. It was because the path returned by $(pwd) was in windows-style format - similar to this comment.

Try just composer image. This Docker image has moved to the official one.

I have the same issue.

I have the same issue

I just got the same issue, but still not resoved it :(

No solution as of now.

This has moved over at https://hub.docker.com/_/composer/ ....
docker run --rm --interactive --tty \
    --volume $PWD:/app \
    composer install

Guys, try to disable selinux. It should help.
setenforce 0
And rerun your build after that.


[Bug]: In the Execution Details, select a task that has not been run, and click the DB Time Usage dialog box to indicate that there is an error

ODC version
4.3.2
OB version
no related
What happened?
In the execution details, select a task that has not been run, and click the DB time-consuming prompt box, which indicates that the task is not running, and click the prompt box. It is recommended that when the task is not running, click the prompt box to have the correct prompt

What did you expect to happen?
In the execution details, select a task that has not been run, and click the DB time-consuming prompt box, which indicates that the task is not running, and click the prompt box. It is recommended that when the task is not running, click the prompt box to have the correct prompt
How can we reproduce it (as minimally and precisely as possible)?
In the execution details, select a task that has not been run, click the DB time-consuming prompt box, and click the dialog box if the message is incorrect, the task has not been run.
Anything else we need to know?
No response

Fixed In Commit fd586b4208b852f5ccd57358b87b22f29cb8d2c5
------
畅晚
Thu Sep 19 15:00:51 2024 +0800

pass


Update staticfile_finders.py to support django 1.7

the previous fix does not work on django 1.7.7

Coverage increased (+1.64%) to 92.62% when pulling f80ad6e5bfe01ad67a0d6d7a814d56d343833f55 on razisayyed:django1.7-support into 2ef9472b4cefd183717c01f18dfbbd6d74bcd35a on aldryn:develop.

Thanks for the pull request @razisayyed . Do you know if your changes work as expected in Django 1.6 and Django 1.7?

Coverage increased (+1.93%) to 92.91% when pulling 33151dff21a4e1d5ac0fd46b56e1399f840b8196 on razisayyed:django1.7-support into 2ef9472b4cefd183717c01f18dfbbd6d74bcd35a on aldryn:develop.

Hi @stefanfoulis.
I think the second commit  "Update staticfile_finders.py" will work for Django 1.7 and 1.6.
But some one needs to test it first.

I tested it on Django 1.7 and it works

Coverage increased (+1.93%) to 92.91% when pulling 7f1b3ea7f5f09a723ae9f97048f0220d314be2bd on razisayyed:django1.7-support into 2ef9472b4cefd183717c01f18dfbbd6d74bcd35a on aldryn:develop.

Coverage increased (+1.93%) to 92.91% when pulling 7f1b3ea7f5f09a723ae9f97048f0220d314be2bd on razisayyed:django1.7-support into 2ef9472b4cefd183717c01f18dfbbd6d74bcd35a on aldryn:develop.


figuring out how to add cask storage

Sorry, we do not accept changes directly against this repository. Please see
CONTRIBUTING.md for information on where and how to contribute instead.

Superseded by #14.


Upgrade required nikic/php-parser package to ^3.0

Hi Freek
Not really an issue or a bug, but would it be possible to switch to version ^3.0 of the required nikic/php-parser package instead of the current ^2.0 version?
Downgrading to v2.1.1 works fine for now.
Thanks for all the great packages!

There seems to be a breaking change in nikic/php-parser v2 branch.
I've tested our package with v3 of that package and it seems to work.
The latest version of our package now allow for the usage of v3.


[#133] feat(netty): Add Encoder and Decoder.

What changes were proposed in this pull request?
Add Netty Encoder and Decoder. Add SendShuffleDataRequest protocol for tests. Other protocols will be added by following prs.
Why are the changes needed?
For #133
Does this PR introduce any user-facing change?
No.
How was this patch tested?
UTs.

Codecov Report

Merging #742 (2dca710) into master (d60d675) will increase coverage by 3.49%.
The diff coverage is 66.90%.

@@             Coverage Diff              @@
##             master     #742      +/-   ##
============================================
+ Coverage     60.63%   64.13%   +3.49%
+ Complexity     1893     1806      -87
============================================
  Files           238      216      -22
  Lines         13000    10037    -2963
  Branches       1090     1002      -88
============================================
- Hits           7883     6437    -1446
+ Misses         4679     3227    -1452
+ Partials        438      373      -65

Impacted Files
Coverage Δ

...che/uniffle/common/netty/protocol/RpcResponse.java
65.51% <12.50%> (-20.20%)
:arrow_down:

...va/org/apache/uniffle/common/ShuffleBlockInfo.java
82.97% <22.22%> (-4.21%)
:arrow_down:

...he/uniffle/common/netty/TransportFrameDecoder.java
50.60% <50.60%> (ø)

.../apache/uniffle/common/netty/protocol/Message.java
52.45% <54.76%> (+2.45%)
:arrow_up:

...rg/apache/uniffle/common/netty/MessageEncoder.java
78.57% <78.57%> (ø)

.../common/netty/protocol/SendShuffleDataRequest.java
80.95% <80.95%> (ø)

...a/org/apache/uniffle/common/util/ByteBufUtils.java
89.65% <81.81%> (-4.79%)
:arrow_down:

...apache/uniffle/common/netty/protocol/Decoders.java
95.23% <95.23%> (ø)

...apache/uniffle/common/netty/protocol/Encoders.java
96.42% <96.42%> (ø)

...pache/spark/shuffle/writer/WriteBufferManager.java
83.21% <100.00%> (+0.11%)
:arrow_up:

... and 28 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

I will fix the CI issue later.

cc @jerqi  All done.

cc @zuston Could help me review this pr, too?

Let @smallzhongfeng and @zuston take another look. LGTM except some minors.

@smallzhongfeng   @zuston  @jerqi  All done!

Merged to master. Thanks @leixm


test: end2end_tests

Starting on end-to-end tests
closes #166

closing, as I am testing automation on my own fork


Working and tested version of #2

Sounds good!
Why not also upgrading uglify in the devDeps?

All devDeps now updated.
Have some problem with 620e8ea - rewrite karma.config, but restore and update it in 9251b83
Add reqursive files scaning in folder 5e298a1 (to close #1 )
Also add amd support to do so:
var _ = require("Leaflet.i18n");
var someText = _("Some text");

Excellent, thanks! :)


add toolchain file by default

Because this template only works on nightly rust i think a rust-toolchain.toml file should be added by default to make it compile without changing your default rust version.

Makes sense. Thanks!


ImprovementDistilledObjects.java:148-150: Implement name...

The puzzle 157-aacecf15 from #157 has to be resolved:
https://github.com/objectionary/jeo-maven-plugin/blob/59486edab1fd88228051f0dd5edb2964d632119a/src/main/java/org/eolang/jeo/improvement/ImprovementDistilledObjects.java#L148-L150
The puzzle was created by @rultor on 17-Oct-23.
Estimate: 90 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@0pdd the puzzle #183 is still not solved.

@0pdd 2 puzzles #183, #190 are still not solved.

@0pdd all 2 puzzles are solved here: #183, #190.


Width calculation is using the window width and not the parent element's width

If I put a Truncate component in a div with padding, the generated elements are too long. Once I removed the padding, the generated elements fit to the appropriate number of lines.
It seems that you are calculating the appropriate width based on the width of the window and not the width of the Truncate component's parent. Consequently, if you calculate the width of the parent div instead of the window, you can rely on normal text wrapping instead of the current span + br pattern.
Example: go to your demo page, inside ReadMore.js, add this to div surrounding the Truncate component: style={{padding: 15}}

The parent container width is read out using target.parentNode.getBoundingClientRect().width, not taking into account any padding.
You can work around that limitation using
<ContainerWithPadding>
  <div>
    <Truncate>
      {content}
    </Truncate>
  </div>
</ContainerWithPadding>

It would be possible to add that functionality by reading window.getComputedStyle(target.parentNode).getPropertyValue('padding').
I might implement this at a later time, but - please feel free to submit a PR.

That did the trick. Thanks!

Related: https://github.com/One-com/react-truncate/pull/38


Feature/implement get started pages

Description
Implementet Introduction page
Implementet For developers page
Implementet For designers page
How Has This Been Tested?
Ran all existing tests, and added snapshots
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have updated the CHANGELOG document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Fixed by #412


Carthage support

I like to use Carthage when integrating 3rd party libraries. This adds Carthage support by creating a framework project with a shared scheme.
More info on Carthage can be found here: https://github.com/Carthage/Carthage

Thanks for that pull request - would like to see that merged

Hey guys, thanks a lot for your contribution! 👍


What to do about ..= vs ...

Currently ExprRange and PatRange share a common enum that represents the edge condition of the range.
enum RangeLimits {
    /// Inclusive at the beginning, exclusive at the end
    HalfOpen(Token![..]),
    /// Inclusive at the beginning and end
    Closed(Token![..=]),
}

Rust is converging on using ..= everywhere for closed ranges but currently ..= is unstable and range patterns on the stable channel use .... Some possible resolutions:

Have two different RangeLimits types, one for expr ranges with Token![..=] and one for pattern ranges with Token![...].
Have one RangeLimits type with three variants, .. and ... and ..=. This way we can always round trip perfectly.
Keep the AST as is but always print ..= when printing an expr range and ... when printing a pattern range.

I applied the third option in 475288add0ce718da85a74b4072ab8eccdc54ef0 to fix tests -- same representation in the AST but printed differently. Let's take some time to design this better later.

Let's keep it this way.


about modes

Can I use vite-plubin-rescript with custom mode ?
I find this code       const needReScript =       (command === 'serve' && mode === 'development') || command === 'build';
I think that mode should be replaced by env.NODE_ENV

Good catch!
The plugin won't launch ReScript compiler when we use vite preview --mode <except "development"> to specify different mode.
I'll looking into it.

The issue should be fixed in<EMAIL_ADDRESS>


Feature request: Support shell integration for recent command access

VSCode provides a way to implement shell integration to access and navigate recent commands. Related support has been made in Python repl: https://github.com/microsoft/vscode-python/issues/22647
It would be great if this feature could be implemented in R repl as well.

Julia is also supporting this feature. See also: https://github.com/microsoft/vscode/issues/155530


Controller not populating new instances in User Permissions until restart

Bug Report
System Information

Operating System (Including distribution name and version number)
AMP version and build date (Always use the version number, 'latest' is not valid!) <IP_ADDRESS> - 20230912.1
Which AMP release stream you're using (Mainline, Nightly or FastTrack) Mainline

I confirm:

[x] that I have searched for an existing bug report for this issue.
[x] that I am using the latest available version of AMP.
[x] that my operating system is up-to-date.

Symptoms

What are you trying to do? Create a new instance, and then assign a user permission to start/stop etc
What are you expecting to happen? Have the ability to assign the user permissions
What is actually happening? ('Nothing' is not an acceptable answer!) The instances do not show up under "All instances" when looking under the target

Reproduction

Create a new instance on a target via controller
Pick any user
Attempt to assign instance permissions to it
Notice you can't assign anything to the instances (note that you can't see it at all)
Restart controller
Notice you can now see the instance in the All Instances list...

I am also experiencing the same issue, restarting the controller does work, but this brief interruption has led to some complaints from my end users.
Please feel free to contact me if you need further logs or wish to have me test a dev build.

This issue has been happening for more than a year. As a workaround we've just been using the API
The instance information should be pulled up every time you go on that page, or when an instance is created, or at least a refresh button should be available

This is still a major issue. Controller really needs to be able to re-query the instances in realtime that exist on it whilst it's online - we can't keep restarting the controller every time we make a new instance.

Duplicate of https://github.com/CubeCoders/AMP/issues/764


IPP Everywhere and Canon GX7000 series: can only print single page

Hi,
since the last firmware update of my Canon GX7050 printer which is connected via IPP to my CUPS server (RPi4, Ubuntu 20.04), it only prints a single page. E.g. if I'm sending a two page document, it stops after page 1, or if I have set it to duplex mode, it turns the page but doesn't print anything on the back. Prior to the firmware update it was working fine. connected to a windows PC, it prints without any issues.

Hi @cyrix2000 , could you please share the log file in debug mode of cups. Also please provide more information about the file you printed. If possible please share the file you printed.

Hi @metabiswadeep,
Please find attached the file I printed and the error log
demo.pdf
error_log.zip
It happens for every document if printed in duplex mode: it only prints the first page, then turns the page but doesn't print the second page, just throws out the paper empty.
Thanks for looking into this.

@cyrix2000 does this also happen every time you print documents of more than one page in single page mode as well?

If I'm trying to print a multi-page document in single page mode it just stops after page one.

@cyrix2000 What is "single page" mode?
And could you attach the PPD file of your print queue (/etc/cups/ppd/NAME.ppd, with NAME being the print queue name). Please rename the copy of the file adding .txt to the end of its file name, so that it gets accepted as attachment. Do not compress any file you attach.

@tillkamppeter From what I gather from the error log file, after the connection is established, it gets disconnected soon after due to passing of some invalid arguments. The printer then bounces back to some default function which then prints the first page of the document assuming it to be a test page. So what is needed to be done here is to find the argument due to which the connection gets closed before the print job has finished?

@metabiswadeep
With "single page mode" I meant "not duplex" lol. Attached the ppd file.
Canon_GX7050_Duplex.txt

@cyrix2000 Could you please add  AllowExpiredCerts Yes in /etc/cups/client.conf and try printing the document again?

@metabiswadeep I tried it (had to generate the client.conf file, my cups install didn't have it, it seems to be depreciated in newer versions (?)), but it made no difference.

@cyrix2000 Please also try deleting any old printer certificate from /etc/cups/ssl and reprinting

@cyrix2000 Could you please share the new debug file generated after implantation of the above-mentioned changes.

@metabiswadeep here the new debug log
cups_debug.zip

@cyrix2000 Did you try uninstalling and reinstalling cups?

Yes, that was the first thing I tried. At the moment I'm using the version which is part of Raspbian 11 (v2.3.3op2)

@cyrix2000 Have you tried declaring the page numbers to be printed on the command-line? If not, please try using page-ranges=1-2

@cyrix2000 Did you try it?

@metabiswadeep I'm at the moment away from the printer for the next two weeks. I'll try it when I'm back.

@cyrix2000 Any news?

Hi,
sorry I totally missed that. I tried it with -o page-ranges=1-2 and still same issue. It only prints page one, turns the page and outputs it empty again.


remove hessian-lite  of 2.5.x  and use https://github.com/dubbo/hessian-lite

What is the purpose of the change
remove hessian-lite of 2.5.x and use https://github.com/dubbo/hessian-lite
Brief changelog
delete hessian-lite module
Verifying this change
CI pass

Codecov Report

Merging #2074 into 2.5.x will increase coverage by 1.08%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            2.5.x   #2074      +/-   ##
=========================================
+ Coverage   28.42%   29.5%   +1.08%
=========================================
  Files         791     702      -89
  Lines       41736   35457    -6279
  Branches     8529    7369    -1160
=========================================
- Hits        11863   10463    -1400
+ Misses      27799   23128    -4671
+ Partials     2074    1866     -208

Impacted Files
Coverage Δ

...mon/serialize/support/dubbo/GenericDataOutput.java
65.26% <0%> (-5.62%)
:arrow_down:

...om/alibaba/dubbo/rpc/filter/ActiveLimitFilter.java
83.33% <0%> (-5.56%)
:arrow_down:

...a/dubbo/remoting/transport/netty/NettyChannel.java
61.25% <0%> (-5%)
:arrow_down:

...mmon/serialize/support/dubbo/GenericDataInput.java
58.68% <0%> (-3.09%)
:arrow_down:

.../dubbo/rpc/protocol/dubbo/filter/FutureFilter.java
54.54% <0%> (-2.03%)
:arrow_down:

...baba/dubbo/remoting/transport/mina/MinaClient.java
57.97% <0%> (-1.45%)
:arrow_down:

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 430fb4c...73a4617. Read the comment docs.

good job


Added praise-card-tile-format

Q
A

Bug fix?
no

New sample?
yes

Related issues?

What's in this Pull Request?
Added praise-card-tile-format.

I love the example and even more I love how it shows to celebrate and encourage others. Great work @tecchan1107! 🤩🤩😍👏👏


Gradient color

How to set a gradient color in pickr?

Duplicate of #220 #119

I made a demo a few years ago (gpickr) - but this library is feature-frozen and I'll not add anything new (see README).


ISO date formatting

Hey there, excellent plugin, waiting patiently for some resolution on an integrated timepicker, however currently I am in need to pick ISO dates from the calendar, which I temporary achieve by allowing the user to only select mondays, however the result value is not displayed as I wish and can not be interpreted by the plugin.
PHP's date supports it via o-W format, so does the dreadful jQuery UI: http://api.jqueryui.com/datepicker/#utility-formatDate
Could you please add similar functionality?

I like the idea. In our case, we want to pick dates in local formats but store in UTC, for user friendliness. I will add this feature

Fixed in #1582


Improvements to kubernetes lease management & vxlan backend

fixes https://github.com/coreos/flannel/issues/533
fixes https://github.com/coreos/flannel/issues/535
The changes to backend/vxlan/device.go allow the use of the network address as a subnet assigned to a node. (e.g network=<IP_ADDRESS>/16, and a node is assigned <IP_ADDRESS>/24)
This is necessary because the kubernetes subnet lease assignment allows the use of the first subnet (whereas flannel previously did not). The fix itself is to remove all existing routes for the interface, and explicitly re-add a route.
In subnet/kube/kube.go the change is to emit lease events, rather than continually resetting all leases via a snapshot. We were previously ignoring updates to vxlan leases, because when evaluating the snapshots - we did not check if the mac address on the lease had changed (instead, we were only checking the subnet).
/cc @philips @bison @tomdee @mikedanese

In my tests, after rebooting a node it can take a few seconds for a network request to go through the first time, as the remote destination will still have stale arp table entries. After a few seconds it will see the L3 miss and update the table. As an optimization, we might be able to flush the cache when we see that the lease has changed (but I'd leave that to a follow up).

cc @tomdee

@aaronlevy Awesome work on getting this fixed, looks like it was much more complicated than we initially thought (and thanks @bison for the assist) I'm still getting my head around the issue and your fix but here are some initial thoughts:

Have you looked into the failing tests?
How confident are you that it's safe to use the first subnet (given the slightly unhelpful comment https://github.com/coreos/flannel/blob/master/subnet/config.go#L73-L80)
Given there was some concern about this also being a problem for the UDP backend, do you think it's worth investigating/fixing that too?

1.) The failing test looks unrelated (invalid docker logs parameter). I'll try to verify locally.
2.) It seems from my brief internet reading, it is valid to use (but for some legacy reasons some do not). However, for any cases where kubernetes is assigning the pod cidrs - this is going to be used (so for anywhere that an overlay tool is not being used: aws/gce/etc.)
Additionally, the change is just for an external lease assignment - the existing flannel functionality doesn't change. What does change, is blowing away all previous routes for the vxlan interface. As long as this is acceptable -- that would be the only change to existing functionality.
Maybe someone with more network-chops sign off on the use of the network address / safety of removing all existing routes when creating interface?
3.) There were actually two issues at play here, and I believe only one of them affected the UDP backend (using the network address) and this is also resolved (but, I haven't explicitly tested this yet). The other issue had to do with only determining a lease change if there was a change to the subnet -- which is true for UDP -- but for VXLAN the mac address of the vxlan device could also change.
The latter issue existed for vxlan anyway, but the window for it occurring outside the kubernetes implementation was very small: you had to have a failed watch from etcd, which triggers a reset of all leases and in that window a mac address of one of the leases would need to change. I can add a TODO about this if we want: https://github.com/coreos/flannel/blob/808b3061e1dc69fe08af6b36e75e3c155b9e91d7/subnet/watch.go#L79 -- really this check should be backend specific (e.g. what constitutes a lease change for a particular backend).

As discussed offline, do you want to split the vxlan bits out of this and make this PR just about the Kubernetes fixes. Then we can continue discussion of the vxlan fix back over on #533

Going to close this PR in favor of https://github.com/coreos/flannel/pull/564 which just pulls out the subnet/kube changes. Discussion of the remaining issue should probably stay in https://github.com/coreos/flannel/pull/564 -- let me know if this should be re-opened instead.


Image drag & drop broken

Probably due to a new 0.3 change, have to lok into it (image loads only after a page reload)

Seems to work after all


I need help with the plugin webm.WebmPlayer

I already have the webm libraries installed and also openfl but the error continues to appear.
i can't compile my mod.
sorry for my bad english i don't speak it very well

i have haxe 4.2.2 installed


[BUG] cant start duo host

Description

describe the bug here, and put the reasons you think that is a bug
it' gives an lua error

Reproduction

describe every single step from starting netblox to the bug.
clone the repo and then compile the duo host and start it gives this error
[Tue, 22 Oct 2024 17:42:37 GMT][nb-info] nil
[Tue, 22 Oct 2024 17:42:37 GMT][nb-error] Script error: attempt to index a nil value
[Tue, 22 Oct 2024 17:42:37 GMT][nb-error]     at initTUI:66
[Tue, 22 Oct 2024 17:42:37 GMT][nb-error]     at :(unknown)

Expected behavior

what was supposed to happen?
does not show the game

Screenshots

please add some screenshots/videos here of the bug occurring.
[Tue, 22 Oct 2024 17:42:35 GMT][nb-info] NetBlox DuoHost (16.16.2) is running...
[Tue, 22 Oct 2024 17:42:35 GMT][nb-info] Initializing server...
[Tue, 22 Oct 2024 17:42:35 GMT][nb-info] Initializing NetBlox...
[Tue, 22 Oct 2024 17:42:35 GMT][nb-info] Initializing PhysicsManager...
[Tue, 22 Oct 2024 17:42:35 GMT][nb-info] Initializing RenderManager...
[Tue, 22 Oct 2024 17:42:35 GMT][nb-info] Initializing verbs...
[Tue, 22 Oct 2024 17:42:35 GMT][nb-info] Initializing internal scripts...
[Tue, 22 Oct 2024 17:42:35 GMT][nb-info] Initializing user interface...
[Tue, 22 Oct 2024 17:42:35 GMT][nb-info] Creating main services...
[Tue, 22 Oct 2024 17:42:35 GMT][nb-info] Loading default place...
[Tue, 22 Oct 2024 17:42:35 GMT][nb-info] Created new game manager "NetBlox Server (duohosted)"...
[Tue, 22 Oct 2024 17:42:35 GMT][nb-info] Initializing NetBlox...
[Tue, 22 Oct 2024 17:42:35 GMT][nb-info] Trying to login with ...
[Tue, 22 Oct 2024 17:42:35 GMT][nb-error] Could not login, socket could not be opneded or something else happened
[Tue, 22 Oct 2024 17:42:35 GMT][nb-info] Logged in as Guest 2620
[Tue, 22 Oct 2024 17:42:35 GMT][nb-info] Initializing PhysicsManager...
[Tue, 22 Oct 2024 17:42:35 GMT][nb-info] Initializing RenderManager...
[Tue, 22 Oct 2024 17:42:35 GMT][nb-info] Listening at :::25570
[Tue, 22 Oct 2024 17:42:37 GMT][nb-info] Initializing verbs...
[Tue, 22 Oct 2024 17:42:37 GMT][nb-info] Initializing internal scripts...
[Tue, 22 Oct 2024 17:42:37 GMT][nb-info] Initializing user interface...
[Tue, 22 Oct 2024 17:42:37 GMT][nb-info] Creating main services...
[Tue, 22 Oct 2024 17:42:37 GMT][nb-info] Created new game manager "NetBlox Client (duohosted)"...
[Tue, 22 Oct 2024 17:42:37 GMT][nb-info] ::ffff:<IP_ADDRESS> is trying to connect
[Tue, 22 Oct 2024 17:42:37 GMT][nb-info] Reloaded Guest 2620's backpack and GUI!
[Tue, 22 Oct 2024 17:42:37 GMT][nb-info] Server platform initialized
[Tue, 22 Oct 2024 17:42:37 GMT][nb-info] Clearing DataModel...
[Tue, 22 Oct 2024 17:42:37 GMT][nb-info] nil
[Tue, 22 Oct 2024 17:42:37 GMT][nb-error] Script error: attempt to index a nil value
[Tue, 22 Oct 2024 17:42:37 GMT][nb-error]     at initTUI:66
[Tue, 22 Oct 2024 17:42:37 GMT][nb-error]     at :(unknown)
[Tue, 22 Oct 2024 17:42:38 GMT][nb-info] HIIIIII
[Tue, 22 Oct 2024 17:42:38 GMT][nb-info] Current identity is 2

Additional context

what do you think can be helpful for us to understand this bug?
fix the lua side off the game

need help @AsertCreator how to crate user and place and add servers in public service make a video on youytbe
/api/users/create

@AsertCreator can u fix the error cant start duo host for real


Add Sim Daltonism v2.0

Checklist

[x] The commit message includes the cask’s name and version.
[x] brew cask audit --download sim-daltonism is error-free.
[x] brew cask style --fix sim-daltonism left no offenses.

Additionally, when adding a new cask:

[x] Checked there are no open pull requests for the same cask.
[x] Checked there are no closed issues where that cask was already refused.
[x] When naming the cask, followed the token reference.
[x] brew cask install sim-daltonism worked successfully.
[x] brew cask uninstall sim-daltonism worked successfully.

Fixes #25081

Thanks!


[MB-3521] Fix PPM document viewer route

Description
This PR fixes the original bug reported, and also adds redux-persist to save user role selection across browser windows.
The original bug is that certain users, when logged into the Office app with the PPM role, could not access the PPM version of the document viewer and were shown the TXO interface instead. The root cause turned out to be a combination of things:

This was only reproducible with users who have multiple roles, with at least one of the non-Office role types (Customer and/or Contracting Officer). This is because when logging in as a user with multiple roles, the Office app defaults to the first role in the array that is returned, and role types are returned by the API in alphabetical order. This resulted in the "active" role being Contracting Officer, which is not handled by the Office app interface. The UX in this case is that at login, the user is presented with a blank page and must select "Change user role" to switch to a PPM/TOO/TIO role in order to view anything.
The other issue is that the "active" role selected in the "Change user role" page is saved in Redux, which only persists data within a single browser window. Since the document viewer opens in a new window, a user with multiple roles would default back to their "first" role upon opening it. This isn't a current issue for users with PPM & TOO/TIO roles when viewing the PPM document viewer, by virtue of PPM coming first alphabetically.

This PR fixes both of the above issues, by selecting a user's default role from Office roles only, and by persisting the "active" role value across browser windows.
Additional note: this PR adds redux-persist, which can be used to store Redux data in browser local storage. This is a potential avenue for leaking secure data. This PR mitigates risk by both whitelisting what data is stored (currently limited to the auth store, which for now only includes the role type a user has), and by clearing that value when the user logs out. Going forward, precaution should be taken when saving more data in Redux Persist to ensure that no PII is stored, and everything is cleared out when a user's session ends.
Reviewer Notes
To reproduce the bug (not on this branch):

Log into the Office app as a user with multiple roles, including non-Office roles such as "Customer".
When you log in, the page will be blank below the milmove header.
Change to a PPM role by clicking "Change user role" in the top left
View an existing move, and click on the orders or any document link. It should open in a new window, but display the TXO interface instead of the PPM document viewer.

To reproduce the lack of browser persistence (not on this branch):

Log into the Office app as a user with multiple Office roles (PPM, TOO, TIO)
Select a non-default role using the "Change user role" link
Refresh the page, and note that you see the interface for the default Office role (not the one you had switched to)

Setup
Test the bug fix:

Log into the Office app as a user with multiple roles, including non-Office roles such as "Customer".
When you log in, you should be shown the Office interface for your first Office role (PPM, TOO, or TIO)
If you select the PPM role using the "Change user role" link, and view a move orders/documents, you should see the expected page open in a new browser window.

Test the redux-persist functionality:

Log into the Office app as a user with multiple Office roles (PPM, TOO, TIO)
Select a non-default role using the "Change user role" link
Refresh the page and verify you still see the interface for the role you switched to.

Code Review Verification Steps

[ ] Code follows the guidelines for Logging
[ ] The requirements listed in
Querying the Database Safely
have been satisfied.
Any new migrations/schema changes:

[ ] Follow our guidelines for zero-downtime deploys (see Zero-Downtime Deploys)
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Screenshots
If this PR makes visible UI changes, an image of the finished UI can help reviewers and casual
observers understand the context of the changes. A before image is optional and
can be included at the submitter's discretion.
Consider using an animated image to show an entire workflow instead of using multiple images. You may want to use GIPHY CAPTURE for this! 📸
Please frame screenshots to show enough useful context but also highlight the affected regions.

Messages

:book:
:link: MB-3521

  Generated by :no_entry_sign: dangerJS against fe8b01d57b0b3972f8e7e0369c287bf93cd1bd10


Duels

Dear @kicjow ,
I have this duel plugin on my server. The kits they have to choose from all have Glowing on the helmets and various other enchantments. When a player selects a kit, the plugin automatically equips their armour and teleports them.
The issue is that they do not get the effects. They have to take the armour off and then place it back to get them. Is there any way around this?
Thanks in advance.

pls? bumb

Crazy enchantment don't support duel plugin.


why run flexget command  so low

I use flexget under pine64+ arm64
it's work's good
but in linux shell,all flexget command ,such as "flexget -h" command ,at least wait 4s ,the output infomation can show up.

Flexget does a lot of stuff at init, and our command line loads after that. If we'd do it today we'd probably do it different, but for now, this is as good as it gets.


Ruby 3.x support

Summary
Ruby 3.x has been out for more than 2 years now, so I was surprised when I went to run jets new today and couldn't because there's no support for modern Ruby versions. 😞
I understand priorities need to be balanced when maintaining a project of this size, but it feels like it's time to bump this one up the list a little if it isn't already on top 😊  Thanks for helping build and maintain this awesome library. I'm excited to see it continue to push Ruby forward in the serverless age.

Main reason Ruby 3 is not support yet is because AWS Lambda doesn’t support it yet. It’s a bummer.

RE: Thanks for helping build and maintain this awesome library. I'm excited to see it continue to push Ruby forward in the serverless age.

Thanks for the kind words.

Main reason Ruby 3 is not support yet is because AWS Lambda doesn’t support it yet. It’s a bummer.

RE: Thanks for helping build and maintain this awesome library. I'm excited to see it continue to push Ruby forward in the serverless age.

Thanks for the kind words.

Thanks for the quick response @tongueroo! Apologies, I did not realize lambda doesn't support 3.x yet 😅  Hopefully this closed issue can serve as an answer to future folks who have this same question at least. 🙏🏻

Seems like this could probably be re-opened with the recent news of container base image support of Ruby 3.2 in Lambda: https://github.com/aws/aws-lambda-base-images/issues/54#issuecomment-1486974882

@Jengah Got me excited. Sadly, its only for the lambda container base image. It's not yet rolled out to AWS Lambda itself officially.  The AWS console still shows Ruby 2.7 only.

I checked 2 regions: us-east-1 and us-west-2. Seems like AWS is getting closer ready. Guessing they updated the lambda container image in preparation for it.  Will look at adding 3.2 support once it's officially released.
Also, saw that AWS also released python 3.1 recently. So Ruby 3.2 hopefully is close 🤞

Sorry for the false excitement. As the comment mentions the AWS managed framework runtime should be available within 90 days of the announcement, with 2.7 support lasting 6 months past the General Availability release of the Ruby 3.2 runtime for some roadway to get migrated.
I was more pointing out that preliminary testing could be done using a the supported base container as a custom runtime, but the official managed runtime should be out in the next 60 days or so and may not be worth the effort.

Awesome. Appreciate the heads up!

Done in https://github.com/boltops-tools/jets/pull/654 🎉 Blog Post: Jets v4 Release: Ruby 3.2 Support

Looks like AWS is ghost-testing Ruby 3.2 support for AWS Lambda. Ruby 3.2 does not show up in the AWS console, but you're able to deploy with the Ruby 3.2 runtime via CloudFormation. Was able to deploy a jets v4 app with ruby 3.2 successfully without the use of custom runtime. 🎉


The option to overwrite the table names now made effect

I was not able to use custom table names to co-exist with my current DB naming style, with this small fix it does.

What is your use case ?
I don't think allowing totally override of the table names is a good idea since it can be very confusing.
The prefix there to prevent collisions in case you already have a table with the same name in your database.

My use case is exactly to add the remaining tables to my existent DB.
I use camel case in table naming and without this fix it's not possible to have it.
In your unit tests you have a test to overwrite the table naming by passing an object, which simply won't work with the array iteration in the implementation. What I did was simply to fully pass the test by using the object value instead of the key.

Ok I can see your point but there are a few things you need to consider.
The test suite was a copy past from node_acl as that's what they recommended for testing new backends.
If you actually run the test suite on the original code all tests pass.
I can agree that's a useless test but it wont fail.
So if you want to really address the issue you have to rewrite the test and add some more tests (just checking the options is useless you need to check data actually goes into and fetched from the correct bucket using those settings).
That goes without saying that you need to actually run the full test suite and see how the code behaves.
Once this is done you should also update the documentation to mention how to use this option
It would probably make sense to remove the prefix options since I don't think there is reason for having both.
Just keep in mind that I don't really have intention of maintaining this module as I'm not currently using node_acl. I will accept proper pull requests but I think this module has more serious issues and I wouldn't use it in production as is

I'll have your requirements in consideration. Makes sense to do those so.
I thought about starting a new node acl driver, but I think it's better to support an existing one!

I don't know. it was a few hours writing this module, just to see if node_acl sould fit my use case and it turned out it didn't. I'm sure that some of the code here can be used as baseline for a Sequelize module but some TLC is needed.
Also I'm not sure if node_acl is really built to play nicely with relational databases it seems like the original design is highly focused around key-value storage. I wouldn't use mongodb but if you keen on using node_acl maybe having some complementary key-value storage complementary to your main db would be beneficial


Functionality documentation

This paper can be improved by adding more documentation on how to use the package outside of the actual method being implemented.
Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?

All major functions have been exported. Users can use them outside of the application. A section named "How to Use PDSim (R Script)" gives examples of how to use these functions.

@peilun-he Wow, great work adding useful documentation. I am satisfied. Just as a further comment, not mandatory, but you might consider adding another page for some of the more detailed usage, rather than have everything on one page.


Update lowrisc_ibex to lowRISC/ibex@123d46b4

Update code from upstream repository
https://github.com/lowRISC/ibex.git to revision
123d46b4d60068502f80c117772a279db12f5af7

[dv] Fix paths in merge_cov.py (Sᴜᴘᴇʀ Lᴇᴇ)
Tweak questa timescale argument (Harry Callahan)
Fixup the questa build/sim command templates in rtl_simulation.yaml (Harry Callahan)
[rtl] Fix FI vulnerability in RF (Pascal Nasahl)
[doc] Update cosim version (Pascal Nasahl)
[util] Update check_tool_requirements.py (Gary Guo)
[rtl] Avoid name collision in ibex_pmp.sv (Rupert Swarbrick)
[dv] Fix performance counter printing in simple system (Rupert Swarbrick)
Fix spelling of separator (Rupert Swarbrick)
[dv] Add an extra key to common_project_cfg.hjson (Rupert Swarbrick)
[verilator] Slight refactor in ibex_tracer to avoid BLKSEQ warning (Rupert Swarbrick)
[verilator] Waive MULTIDRIVEN warning in ibex_tracer.sv (Rupert Swarbrick)
[ibex_pmp/lint] Declare functions before using them (Michael Schaffner)
Update google_riscv-dv to chipsalliance/riscv-dv@71666eb (Greg Chadwick)
[dv] Fix ibex_cmd.py (Greg Chadwick)
Port directed_test_schema.py to recent versions of Pydantic (Rupert Swarbrick)
Tweak ibex_cmd.py to fail more cleanly (Rupert Swarbrick)
Remove (empty) Verible waiver file (Rupert Swarbrick)
[doc] Fix background of Icache block (Marno van der Maas)
[doc] Fix background in block diagram (Marno van der Maas)
Update google_riscv-dv to chipsalliance/riscv-dv@08b1206 (Marno van der Maas)
[dv,doc] Point reference to lowRISC branch (Marno van der Maas)
[dv] Move DVSIM data structures (Marno van der Maas)
[dv] Add common_ifs_pkg.sv to DV files (Marno van der Maas)
[doc] Fix documented mstatus reset value (Greg Chadwick)
[dv] New directed test to cover some scenarios with U-mode execution (Greg Chadwick)
[dv] Fix SET_PMP_CFG macro used by directed tests (Greg Chadwick)
[dv,fcov] Add additional illegal bins to PMP fcov (Greg Chadwick)
[dv, fcov] Increase iterations of riscv_mem_intg_error_test (Greg Chadwick)
Use correct format string for $value$plusargs (Rupert Swarbrick)
Reorder classes in ibex_debug_triggers_overrides.sv (Rupert Swarbrick)
Express some coverpoint crosses in an equivalent way (Rupert Swarbrick)
Drop an import from inside of a class (Rupert Swarbrick)
Re-export imported symbols from ibex_mem_intf_pkg (Rupert Swarbrick)
Bump Spike minimum version (Rupert Swarbrick)
Correct type in scripts_lib.py's run_one (Rupert Swarbrick)
[dv] Add asserts to check alerts for memory integrity failures (Greg Chadwick)
Drop a double entry in rtl_simulation.yaml (Rupert Swarbrick)

This is currently a draft / placeholder PR to make sure the register file FI vulnerability fix of @nasahlpa makes it's way into master. We should check.
This is related to lowRISC/OpenTitan#20715.

Closing in favor of #20890 .


Unit test coverage for emissive surface model

We should have a unit test for the emissive surface model in isofit/surf_emissive.py
It should live in the tests/ subdirectory and follow that convention...

Closing, along with the other unit test issues.  For simplicity let's bookkeep unit testing as part of the CI discussion.


Use sys.exit() instead of quit()

Calling quit() only works in the interpreter, use sys.exit() instead.
When running Andoma with lichess-bot the error NameError: name 'quit' is not defined should no longer appear when uci command quit is received.

Nice catch! 🚀


Modules install path does not match kernel

The installed kernel identifies at 5.18.0-rc1
[root@licheerv xradio]# uname   -r
5.18.0-rc1

while the modules are installed in
/usr/lib/modules/5.18.0-AllWinnerD1-Smaeul

What? This is till an issue?

Should be fixed by 5c450da98d578617781ae13f9d2b0850a61b21c4


delete es data according to TLD

backend
frontend: need another trash bin button to invoke this endpoint

@shrev now mydig webservice backend supports delete kg data by tld, we also need to support it in frontend.
The todos are:

move original trash bin to the cell of tld
add another trash bin which calls the delete kg endpoint (same to delete file but needs an additional attribute named "from" which value is "kg"), if the number of data in kg is 0, this button should be disabled:

backend_url + "projects/" + projectName + '/data'
payload:
{
  "tlds": [...],
  "from": "kg"
}


Feature encoding error

face_recognition version:1.2.3
Python version:2.7.17/3.7.7
Operating System: Ubuntu 18.04 with CUDA 10.2

This repo helps users to easily work with face recognition for testing without having to follow the long training procedure.
Error while computing feature encodings. Pip install face_recognition did not generate any errors and got installed successfully. But, while computing encodings, I see the following error.
RuntimeError: Error while calling cudaOccupancyMaxPotentialBlockSize(&num_blocks,&num_threads,K) in file /tmp/pip-install-6nud7ieb/dlib/dlib/cuda/cuda_utils.h:186. code: 8, reason: invalid device function

and it points
 File "face_recognize.py", line 5, in <module>
    my_face_encoding = face_recognition.face_encodings(picture_of_me)[0]
  File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/face_recognition/api.py", line 214, in face_encodings
    return [np.array(face_encoder.compute_face_descriptor(face_image, raw_landmark_set, num_jitters)) for raw_landmark_set in raw_landmarks]
  File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/face_recognition/api.py", line 214, in <listcomp>
    return [np.array(face_encoder.compute_face_descriptor(face_image, raw_landmark_set, num_jitters)) for raw_landmark_set in raw_landmarks]

Can you suggest an option to make it work?

Did you find a solution for this error iam stuck at this error too.

Did not find a solution yet.

refer to #1205


Kuzzle #586: dynamic http options

Requires:

https://github.com/kuzzleio/kuzzle-common-objects/pull/13
https://github.com/kuzzleio/kuzzle-plugin-socketio/pull/13
https://github.com/kuzzleio/kuzzle-plugin-websocket/pull/11

Fix: https://github.com/kuzzleio/kuzzle/issues/586
Changes

The configuration property accessControlAllowOrigin, setting the HTTP Access-Control-Allow-Origin header, has been moved to the Kuzzle core project
HTTP OPTIONS requests are no longer handled by the proxy. These are now forwarded to Kuzzle like any other request
handle the new Kuzzle response format, including the raw response content for HTTP

Current coverage is 100% (diff: 100%)

No coverage report found for develop at 3298981.

Powered by Codecov. Last update 3298981...9b095a1


(ruby) 2.4 not comaptible with DevKit2

In general, with Ruby 2.4, DevKit is no longer supported, and MSYS2 is used at the backbone for native extensions.  This caused a lot of confusion that advance users may be able to piece together with a few well placed google searches.   Perhaps we could have some optional parameters or some docs on this.
Expected Behavior
Before after sleuthing through how to get native extensions to work, required for rails and other gems, I thought I would have to do the following:
choco install ruby
choco install ruby2.devkit
# Refresh PATH
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
cd C:\tools\DevKit2
ruby dk.rb init
'- C:\tools\ruby24' | Out-File -Append -Encoding "UTF8" config.yml
ruby dk.rb install
gem install rails

Current Behavior
This crashes and burns with make chunks naturally because DevKit is no longer supported with Ruby 2.4.
Possible Solution
First install MSYS2: choco install msys2
Then in MSYS2, you need to install MinGW toolchain:
  pacman -Sy pacman
  pacman -S base-devel mingw-w64-i686-toolchain # for 32 bit RubyInstaller
  pacman -S base-devel mingw-w64-x86_64-toolchain # for 64 bit RubyInstaller

Reference: https://github.com/oneclick/rubyinstaller2
After this things magically work, and gem install rails works fine.
Steps to Reproduce (for bugs)
Install Chocolately and then:
choco install ruby
choco install ruby2.devkit
# Refresh PATH
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
cd C:\tools\DevKit2
ruby dk.rb init
'- C:\tools\ruby24' | Out-File -Append -Encoding "UTF8" config.yml
ruby dk.rb install
gem install rails

Context
I was trying install rails.  This affects everyone that installs Ruby 2.4 and wants to install gems that require compilation (native extensions).  This shouldn't affect Ruby 2.3 or earlier deprecated Ruby 2.x versions.
Your Environment

Package Version used: ruby and ruby2.devkit
Operating System and version: Windows 10.0.15063 Pro
Chocolatey version: 0.10.7

In a nutshell:

ruby_version < 2.4 && ruby_version >= 2.0  ruby2.devkit is fine.
ruby_version > 2.4, DevKit = MSYS2 + MSYS2 packages:

base-devel
mingw-w64-$(uname -i)-toolchain

This should NOT BE INSTALLED for Ruby 2.4 (like block it or have loud warnings).

I am ceating new msys2 pkg that should fix this. Please take a look #891.
Not sure about your last sentence. You say msys2 wont work in older ruby?


TPC-DS tests import data failed

(you don't have to strictly follow this form)
Question
我采用docker一键式部署byconity，采用TPC-DS采集集验证byconity和clickhouse的性能，在单节点情况下，byconity导入20G的TPC-DS测试数据集报错信息如下（导入10G的数据没有问题，ClickHouse导入相同的数据也没问题），请问应当怎么修复?
I use Docker to deploy byconity in one-click mode, and use the TPC-DS collection set to verify the performance of byconity and clickhouse. When a single node is used, the following error information is displayed when a 20 GB TPC-DS test data set is imported to byconity:(I only can import 10 GB data to Byconity and ClickHouse can import 20GB data succ). How can I fix it?

Hi @yanggang2019 , may I know which docker repo you are using?

use docker-compose from https://github.com/ByConity/byconity-docker/blob/public/docker-compose.yml

version: "3"
services:
hdfs / remote fs
hdfs:
image: gchq/hdfs:3.3
command: namenode
container_name: hdfs-namenode
environment:
- HADOOP_CONF_DIR=/etc/hadoop/conf
ports:
- 9870:9870
volumes:
- /usr1/yg/byconity-docker-public/hdfs:/etc/hadoop/conf:ro
- /var/log/hadoop
- /data1
- /data2
hdfs-datanode:
depends_on:
- hdfs
image: gchq/hdfs:3.3
command: datanode
container_name: hdfs-datanode
environment:
- HADOOP_CONF_DIR=/etc/hadoop/conf
volumes:
- /usr1/yg/byconity-docker-public/hdfs:/etc/hadoop/conf:ro
- /var/log/hadoop
- ./data1:/data1
- ./data2:/data2
foundation db / catalog
fdb:
image: foundationdb/foundationdb:7.1.24
ports:
- "4550:4550"
environment:
FDB_NETWORKING_MODE: container
FDB_COORDINATOR_PORT: 4550
FDB_PORT: 4550
container_name: fdb-0
byconity:
tso:
image: byconity/byconity:0.1.0-GA
command: bash -c "fdbcli -C /config/fdb.cluster --exec "configure new single ssd"; tso-server --config-file /config/tso.yml"
depends_on:
- fdb
- hdfs
volumes:
- "./byconity-simple-cluster/:/config/:ro"
# evironment:
container_name: tso-0
healthcheck:
test:
- CMD
- curl
- "tso-0:18845/status"
interval: 10s
timeout: 5s
retries: 5
cap_add:
- SYS_PTRACE
server:
image: byconity/byconity:0.1.0-GA
command: bash -c "curl --retry 10 --retry-delay 5 --retry-connrefused --retry-max-time 120 --max-time 120 tso-0:18845/status && clickhouse-server --config-file /config/server.yml"
depends_on:
- tso
- hdfs
ports:
- "9000:52145"
- "8123:21557"
container_name: server-0
volumes:
- "./byconity-simple-cluster/:/config/:ro"
healthcheck:
test:
- CMD
- curl
- "server-0:21557/?query=SELECT%201"
interval: 10s
timeout: 5s
retries: 5
cap_add:
- SYS_PTRACE
worker-write:
image: byconity/byconity:0.1.0-GA
command: bash -c "curl --retry 10 --retry-delay 5 --retry-connrefused --retry-max-time 120 --max-time 120 server-0:21557 && clickhouse-server --config-file /config/worker.yml"
depends_on:
- server
container_name: worker-write-0
volumes:
- "./byconity-simple-cluster/:/config/:ro"
healthcheck:
test:
- CMD
- curl
- "worker-write-0:21557/?query=SELECT%201"
interval: 10s
timeout: 5s
retries: 5
cap_add:
- SYS_PTRACE
worker-default:
image: byconity/byconity:0.1.0-GA
command: bash -c "curl --retry 10 --retry-delay 5 --retry-connrefused --retry-max-time 120 --max-time 120 server-0:21557 && clickhouse-server --config-file /config/worker.yml"
depends_on:
- server
container_name: worker-default-0
volumes:
- "./byconity-simple-cluster/:/config/:ro"
healthcheck:
test:
- CMD
- curl
- "worker-default-0:21557/?query=SELECT%201"
interval: 10s
timeout: 5s
retries: 5
cap_add:
- SYS_PTRACE
daemon-manager:
image: byconity/byconity:0.1.0-GA
command: bash -c "curl --retry 10 --retry-delay 5 --retry-connrefused --retry-max-time 120 --max-time 120 server-0:21557 && daemon-manager --config-file ./config/daemon-manager.yml"
depends_on:
- server
container_name: daemon-manager-0
volumes:
- "./byconity-simple-cluster/:/config/:ro"
healthcheck:
test:
- CMD
- curl
- "daemon-manager-0:17553/status"
interval: 10s
timeout: 5s
retries: 5
cap_add:
- SYS_PTRACE

Hi @yanggang2019 , may I know which docker repo you are using?

use docker-compose from https://github.com/ByConity/byconity-docker/blob/public/docker-compose.yml

Hi @yanggang2019 , may I know which docker repo you are using?

我今天使用ssb测试集测试byconity性能，导入数据的时候也依然报错，提示如下：

同时，通过客户端命令clickhouse client 连接进入，执行SQL报错如下：

查看/var/byconity/out.log日志，报错堆栈如下：

@yanggang2019 looks like the issue related to fdb，where env （os）are you using？

@hustnn
Huawei EulerOS：

looks like your FDB is slow, can you refer this doc to deploy in physical mode? https://byconity.github.io/zh-cn/docs/deployment/package-deployment

Hi @yanggang2019 , we have some fixed but we haven't release docker image yet. For testing performance, I would like to suggest you to try docker executable wrapper or deployed using package into physical machine. https://github.com/ByConity/ByConity/tree/master/docker/executable_wrapper

hi @dmthuc ，what is the fix you mentioned here？

The fix here https://github.com/ByConity/ByConity/pull/399


bug: What this bro ?

Prerequisites

[X] I have searched for existing issues that already report this problem, without success.

Script Version
1.2.0
Platform
Webapp
Current Behavior
what the issue ?
Expected Behavior
426
429
Steps to Reproduce
426
429
Additional Information

That message means you got soft banned, it can vary between 10 minutes to even 24 hours.

في أربعاء، 26 يناير، 2022 في 7:18 م، كتب SergiuF89 @.***

:

That message means you got soft banned, it can vary between 10 minutes to
even 24 hours.
—
Reply to this email directly, view it on GitHub
https://github.com/chithakumar13/FUT-Auto-Buyer/issues/670#issuecomment-1022358919,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AR7CZTWRLHVLBDFEP32Q5GTUYANDVANCNFSM5M2LUUIA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thanks for the quick reply I have auto buyer returned

في أربعاء، 26 يناير، 2022 في 7:18 م، كتب SergiuF89 @.***
: That message means you got soft banned, it can vary between 10 minutes to even 24 hours. — Reply to this email directly, view it on GitHub <#670 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR7CZTWRLHVLBDFEP32Q5GTUYANDVANCNFSM5M2LUUIA . You are receiving this because you authored the thread.Message ID: @.***>
Thanks for the quick reply I have auto buyer returned

You could try this one instead.
AUTOSNIPER AUTOBUYER AUTOSELLER FIFA22 ULTIMATE TEAM EASY COINS
https://youtu.be/JCca14jGwYU


Delete dependencies if they weren't installed manually previously

When extension is deleted, delete all its dependencies, unless they weren't manually installed by user or other extensions depend on it, or they part of installed extension packs
On page of extension installed as a dependency, there should be a note that it will be deleted if no other extensions depend on it, as well as a button "keep" that marks extension as manually installed.
Using metadata from https://github.com/microsoft/vscode/issues/149812, here's some pseudocode to showcase how it could look like
def delete_extension(extension, force=true):
    if not force and extension.installedManually:
        return

    for dependency in extension.dependencies:
        dependency.dependencyOf.discard(extension.name)
        if dependency.dependencyOf.isEmpty()
            delete_extension(dependency, force=false)

    for dependency in extension.pack:
        dependency.partOfExtensionPacks.discard(extension.name)
        if dependency.partOfExtensionPacks.isEmpty()
            delete_extension(dependency, force=false)

    extension.delete()

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

What if an extension was originally installed as a dependency of another extensions but since then has become useful by itself and the user doesn't want to lose the dependency when they remove the originally dependent extension that caused the dependency to be installed?

@conioh, I addressed this exact use case in second paragraph.

Right, I missed that, sorry. Now I see that that is what the force parameter is related to. Maybe a different name would be better.

I've renamed force parameter to deleting_manually, hope it clears some confusion

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


isSupported returns true when redirecting stdout on windows

Current behaviour

On windows, ansis.isSupported() returns true when redirecting stdout to a file. On mac (and I'm assuming linux) it returns false.
This leads to ansi characters showing up in the file containing the redirected stdout. For example:
hello world

Expected behaviour
I expect ansis.isSupported() to return false when redirecting stdout to a file, regardless of operating system. This would be consistent with the supports-color package
Reproduction Example
git clone https://github.com/mdonnalley/ansis-bug.git
cd ansis-bug
npm install
node index.js > output.txt
On windows:
PS C:\Users\username\code\ansis-bug> node index.js > output.txt
PS C:\Users\username\code\ansis-bug> cat output.txt
ansis.isSupported true
supportsColor.stdout false

On mac:
❯ node index.js > output.txt
❯ cat output.txt
ansis.isSupported false
supportsColor.stdout false

Environment

OS: Windows
version of Node.js: 20.13.1
version of Webpack: NA
version of the Plugin: NA

Additional context
NA

Hello @mdonnalley,
Thanks for the issue report. I will fix it.
What is Windows version: 10, 11, ... ?

@webdiscus thanks! I'm on Windows 11

@mdonnalley
the issue is fixed in the v3.3.2.
Can you please test it?

@webdiscus just tested and it's working as expected - thanks so much for quick turnaround!


Change panel name in loading css

Description
The loading state of the block was no longer displayed due to a CSS issue.
It should fix #618 #779 #823

lol