Error: Unable to write to hardware...

[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [dashboard_client-2]: process started with pid [14348]
[INFO] [ros2_control_node-1]: process started with pid [14346]
[INFO] [robot_state_publisher-3]: process started with pid [14350]
[INFO] [rviz2-4]: process started with pid [14352]
[INFO] [spawner-5]: process started with pid [14354]
[INFO] [spawner-6]: process started with pid [14356]
[INFO] [spawner-7]: process started with pid [14358]
[INFO] [spawner-8]: process started with pid [14360]
[INFO] [spawner-9]: process started with pid [14362]
[ros2_control_node-1]<PHONE_NUMBER>.880662 [0] ros2_contr: using network interface enp1s0 (udp/<IP_ADDRESS>) selected arbitrarily from: enp1s0, eno1
[dashboard_client-2]<PHONE_NUMBER>.880662 [0] dashboard_: using network interface enp1s0 (udp/<IP_ADDRESS>) selected arbitrarily from: enp1s0, eno1
[dashboard_client-2] [INFO] [1639420075.903021759] [UR_Client_Library]: Connected: Universal Robots Dashboard Server
[dashboard_client-2]
[robot_state_publisher-3]<PHONE_NUMBER>.912579 [0] robot_stat: using network interface enp1s0 (udp/<IP_ADDRESS>) selected arbitrarily from: enp1s0, eno1
[robot_state_publisher-3] Link base had 0 children
[robot_state_publisher-3] Link base_link_inertia had 1 children
[robot_state_publisher-3] Link shoulder_link had 1 children
[robot_state_publisher-3] Link upper_arm_link had 1 children
[robot_state_publisher-3] Link forearm_link had 1 children
[robot_state_publisher-3] Link wrist_1_link had 1 children
[robot_state_publisher-3] Link wrist_2_link had 1 children
[robot_state_publisher-3] Link wrist_3_link had 1 children
[robot_state_publisher-3] Link flange had 1 children
[robot_state_publisher-3] Link tool0 had 0 children
[robot_state_publisher-3] [INFO] [1639420075.934047110] [robot_state_publisher]: got segment base
[robot_state_publisher-3] [INFO] [1639420075.934214957] [robot_state_publisher]: got segment base_link
[robot_state_publisher-3] [INFO] [1639420075.934232199] [robot_state_publisher]: got segment base_link_inertia
[robot_state_publisher-3] [INFO] [1639420075.934240683] [robot_state_publisher]: got segment flange
[robot_state_publisher-3] [INFO] [1639420075.934248917] [robot_state_publisher]: got segment forearm_link
[robot_state_publisher-3] [INFO] [1639420075.934256964] [robot_state_publisher]: got segment shoulder_link
[robot_state_publisher-3] [INFO] [1639420075.934264502] [robot_state_publisher]: got segment tool0
[robot_state_publisher-3] [INFO] [1639420075.934272822] [robot_state_publisher]: got segment upper_arm_link
[robot_state_publisher-3] [INFO] [1639420075.934281023] [robot_state_publisher]: got segment wrist_1_link
[robot_state_publisher-3] [INFO] [1639420075.934288951] [robot_state_publisher]: got segment wrist_2_link
[robot_state_publisher-3] [INFO] [1639420075.934296810] [robot_state_publisher]: got segment wrist_3_link
[ros2_control_node-1] [INFO] [1639420075.948631632] [URPositionHardwareInterface]: Starting ...please wait...
[ros2_control_node-1] [INFO] [1639420075.948721179] [URPositionHardwareInterface]: Initializing driver...
[ros2_control_node-1] [WARN] [1639420075.949934237] [UR_Client_Library]: No realtime capabilities found. Consider using a realtime system for better performance
[spawner-5]<PHONE_NUMBER>.961602 [0]    python3: using network interface enp1s0 (udp/<IP_ADDRESS>) selected arbitrarily from: enp1s0, eno1
[spawner-6]<PHONE_NUMBER>.961603 [0]    python3: using network interface enp1s0 (udp/<IP_ADDRESS>) selected arbitrarily from: enp1s0, eno1
[spawner-8]<PHONE_NUMBER>.961604 [0]    python3: using network interface enp1s0 (udp/<IP_ADDRESS>) selected arbitrarily from: enp1s0, eno1
[spawner-9]<PHONE_NUMBER>.963949 [0]    python3: using network interface enp1s0 (udp/<IP_ADDRESS>) selected arbitrarily from: enp1s0, eno1
[spawner-7]<PHONE_NUMBER>.963949 [0]    python3: using network interface enp1s0 (udp/<IP_ADDRESS>) selected arbitrarily from: enp1s0, eno1
[rviz2-4] qt.qpa.xcb: could not connect to display
[rviz2-4] qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
[rviz2-4] This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
[rviz2-4]
[rviz2-4] Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
[rviz2-4]
[ERROR] [rviz2-4]: process has died [pid 14352, exit code -6, cmd '/home/isea/ros2_galactic/ros2-linux/lib/rviz2/rviz2 -d /home/isea/workspace/ros_ur_driver/install/ur_description/share/ur_description/rviz/view_robot.rviz --ros-args -r __node:=rviz2'].
[ros2_control_node-1] [INFO] [1639420076.254038531] [UR_Client_Library]: Negotiated RTDE protocol version to 2.
[ros2_control_node-1] [INFO] [1639420076.254774644] [UR_Client_Library]: Setting up RTDE communication with frequency 500.000000
[ros2_control_node-1] [WARN] [1639420077.261871219] [UR_Client_Library]: DEPRECATION NOTICE: Passing the calibration_checksum to the UrDriver's constructor has been deprecated. Instead, use the checkCalibration(calibration_checksum) function separately. This notice is for application developers using this library. If you are only using an application using this library, you can ignore this message.
[ros2_control_node-1] [WARN] [1639420077.262566728] [UR_Client_Library]: No realtime capabilities found. Consider using a realtime system for better performance
[ros2_control_node-1] [ERROR] [1639420078.351915799] [UR_Client_Library]: The calibration parameters of the connected robot don't match the ones from the given kinematics config file. Please be aware that this can lead to critical inaccuracies of tcp positions. Use the ur_calibration tool to extract the correct calibration from the robot and pass that into the description. See [https://github.com/UniversalRobots/Universal_Robots_ROS_Driver#extract-calibration-information] for details.
[ros2_control_node-1] [WARN] [1639420078.352006924] [UR_Client_Library]: No realtime capabilities found. Consider using a realtime system for better performance
[ros2_control_node-1] [INFO] [1639420078.352415519] [URPositionHardwareInterface]: System successfully started!
[ros2_control_node-1] [INFO] [1639420078.357471193] [controller_manager]: update rate is 530 Hz
[ros2_control_node-1] [ERROR] [1639420078.359811119] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.361503049] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.363479041] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.365436681] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.367422329] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.369369333] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.371350909] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.373303720] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.375266391] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.377190932] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.379137385] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.381070494] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.383061781] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.385018890] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.386967632] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.388912427] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.390860509] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.392808113] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.394899689] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.396959779] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.398854397] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.400884573] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.402845572] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.404866284] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.406888768] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.408799405] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.410886226] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.412842393] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.414899691] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.416905965] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.418904239] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.420902622] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.422889117] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.424902418] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.426930875] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.428904473] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.430897815] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.432915715] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.434898370] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.436692081] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.438913515] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.440909144] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.442786902] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.444874927] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.446780502] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.448893198] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.450920532] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.452918912] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.454936681] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.456753804] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.458728771] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.460795834] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.462800095] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.464775595] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.466805249] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.468789278] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.470785091] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.472852582] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.474790070] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.476851293] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.478888451] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.480881649] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.482912881] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.484805332] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.486942603] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.488850501] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.490887612] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.492779145] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.494932142] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.497019903] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.498926247] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.500878014] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.502935335] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.504850561] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.506899753] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.508934707] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.510938136] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.512900737] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.514831281] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.516919829] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.518863269] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.520736506] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [INFO] [1639420078.520902513] [controller_manager]: Loading controller 'joint_trajectory_controller'
[ros2_control_node-1] [ERROR] [1639420078.522728325] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.524731678] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.526687433] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.528731662] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.530716405] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.532739637] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.534814210] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [INFO] [1639420078.535644184] [controller_manager]: Loading controller 'io_and_status_controller'
[ros2_control_node-1] [ERROR] [1639420078.540422960] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.540452307] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.542397067] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.544348435] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.546324008] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [INFO] [1639420078.546682561] [controller_manager]: Loading controller 'speed_scaling_state_broadcaster'
[ros2_control_node-1] [ERROR] [1639420078.548271797] [URPositionHardwareInterface]: Unable to write to hardware...
[spawner-9] [INFO] [1639420078.548737034] [spawner_joint_trajectory_controller]: Loaded joint_trajectory_controller
[ros2_control_node-1] [ERROR] [1639420078.550234183] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [INFO] [1639420078.550487077] [controller_manager]: Loading controller 'force_torque_sensor_broadcaster'
[ros2_control_node-1] [ERROR] [1639420078.552491693] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.554170058] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.556406880] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [INFO] [1639420078.556660914] [controller_manager]: Loading controller 'joint_state_broadcaster'
[ros2_control_node-1] [ERROR] [1639420078.559568674] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.560085413] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.562030071] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.563968763] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [INFO] [1639420078.564400304] [controller_manager]: Configuring controller 'joint_trajectory_controller'
[ros2_control_node-1] [INFO] [1639420078.564500627] [joint_trajectory_controller]: Command interfaces are [position] and and state interfaces are [position velocity].
[spawner-6] [INFO] [1639420078.564950801] [spawner_io_and_status_controller]: Loaded io_and_status_controller
[ros2_control_node-1] [ERROR] [1639420078.565919300] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [INFO] [1639420078.566395899] [joint_trajectory_controller]: Controller state will be published at 100.00 Hz.
[spawner-7] [INFO] [1639420078.567005874] [spawner_speed_scaling_state_broadcaster]: Loaded speed_scaling_state_broadcaster
[spawner-8] [INFO] [1639420078.567551220] [spawner_force_torque_sensor_broadcaster]: Loaded force_torque_sensor_broadcaster
[ros2_control_node-1] [ERROR] [1639420078.567861674] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [INFO] [1639420078.568849110] [joint_trajectory_controller]: Action status changes will be monitored at 20.00 Hz.
[ros2_control_node-1] [ERROR] [1639420078.569803919] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.571750726] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [INFO] [1639420078.571830674] [controller_manager]: Configuring controller 'io_and_status_controller'
[ros2_control_node-1] [INFO] [1639420078.572031266] [controller_manager]: Configuring controller 'speed_scaling_state_broadcaster'
[ros2_control_node-1] [INFO] [1639420078.572072264] [speed_scaling_state_broadcaster]: Publisher rate set to : 100.0 Hz
[ros2_control_node-1] [INFO] [1639420078.572760116] [controller_manager]: Configuring controller 'force_torque_sensor_broadcaster'
[ros2_control_node-1] [ERROR] [1639420078.573751272] [URPositionHardwareInterface]: Unable to write to hardware...
[spawner-5] [INFO] [1639420078.574569701] [spawner_joint_state_broadcaster]: Loaded joint_state_broadcaster
[ros2_control_node-1] [ERROR] [1639420078.575668565] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [INFO] [1639420078.576020220] [controller_manager]: Configuring controller 'joint_state_broadcaster'
[ros2_control_node-1] [INFO] [1639420078.576056843] [joint_state_broadcaster]: 'joints' or 'interfaces' parameter is empty. All available state interfaces will be published
[spawner-9] [INFO] [1639420078.576719498] [spawner_joint_trajectory_controller]: Configured and started joint_trajectory_controller
[ros2_control_node-1] [ERROR] [1639420078.577598388] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.579649502] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.581601576] [URPositionHardwareInterface]: Unable to write to hardware...
[spawner-5] [INFO] [1639420078.582138300] [spawner_joint_state_broadcaster]: Configured and started joint_state_broadcaster
[ros2_control_node-1] [ERROR] [1639420078.583540705] [URPositionHardwareInterface]: Unable to write to hardware...
[ros2_control_node-1] [ERROR] [1639420078.585468833] [URPositionHardwareInterface]: Unable to write to hardware...
[ERROR] [ros2_control_node-1]: process has died [pid 14346, exit code -11, cmd '/home/isea/workspace/ros_ur_driver/install/controller_manager/lib/controller_manager/ros2_control_node --ros-args --params-file /tmp/launch_params_h4sp6j00 --params-file /home/isea/workspace/ros_ur_driver/install/ur_bringup/share/ur_bringup/config/ur5e_update_rate.yaml --params-file /home/isea/workspace/ros_ur_driver/install/ur_bringup/share/ur_bringup/config/ur_controllers.yaml'].
[INFO] [spawner-9]: process has finished cleanly [pid 14362]
[INFO] [spawner-5]: process has finished cleanly [pid 14354]

Could you please provide some more context? This might be a duplicated of #262

This is using the main branch. The behavior persists regardless whether the External URCAP is paused or playing

I would assume that it is actually related, but if it doesn't get fixed by running external_control on the robot, there might be another problem involved.

Closing this due to referring to a rather old version. If this issue still arises, please comment and / or reopen.


update to generate_values_in_copy_with

I found out late that when I was updating with .copyWith(stuff: null) it wasn't doing actually anything.
So reading I see that you made some nice updates, like the option generate_values_in_copy_with.
Ok perfect, I updated moor from 3.0 to 3.4 and I set in build.yaml the option, and now the file looks like this:
targets:
  $default:
    builders:
      moor_generator:
        options:
          write_from_json_string_constructor: true
          mutable_classes: true
          apply_converters_on_variables: true
          generate_values_in_copy_with: true

The rebuild at this point doesn't always built correctly, sometimes prompt an old friend error:
InconsistentAnalysisException: Requested result might be inconsistent with previously returned results

When it built correctly, I was hoping that replacing null with Value(null) was all, but now for all the other parameters I get:
Error: The argument type 'String' can't be assigned to the parameter type 'Value<String>'.
So, should I wrap all the other values in "Value()" (that is horrible) or I am missing something?
In which version did you added generate_values_in_copy_with?
In which version did you added mutable_classes?
( so maybe I will rollback to a previous version to avoid the InconsistentAnalysisException)

So, should I wrap all the other values in "Value()" (that is horrible) or I am missing something?

Unfortunately, you'll need to use Value for all nullable parameters.

InconsistentAnalysisException: Requested result might be inconsistent with previously returned results

Oh no. Does a build_runner clean help at all? generate_values_in_copy_with was added in 3.4, I don't really see how this would be related since it doesn't affect how we use the analyzer.

No, I use:
flutter clean
build_runner clean
also as option when I build  --delete-conflicting-outputs, but it doesn't fix the error.
Now I rolled back to 3.0(moor and builder), but somehow the error is following me, when I didn't had it before??
is mutable_classes available in 3.0?

Nothing the InconsistentAnalysisException still happens even on 3.0 now.
Invalidated the cache on my IDE, clean flutter and cleaned the build runner, nothing.
It is unbelievable how everytime I slighty touch this library it will stop working.

Try to compare your pubspec.lock and see if there are changes on build_runner and analyzer versions and possibly reset/freeze these. The problem is not moor but the dependencies on the Dart build tool chain that usually causes these problems.
3.4.0 works for me only with this combination currently:
dev_dependecies:
  build_runner: 1.10.2

dev_overrides:
  analyzer: 0.40.5

Thank you for the help.
I tried but I get this error:
Because build_runner 1.10.2 depends on build >=1.3.0 <1.4.0 and no versions of build match >1.3.0 <1.4.0, build_runner 1.10.2 requi
res build 1.3.0.
And because build 1.3.0 depends on analyzer >=0.35.0 <0.40.0 and moor_generator >=3.4.0 depends on analyzer ^0.40.0, build_runner 1
.10.2 is incompatible with moor_generator >=3.4.0.
So, because smartUser depends on both moor_generator ^3.4.0 and build_runner 1.10.2, version solving failed.

Also I am using:
  moor_generator: ^3.4.0

Seems you have build: 1.3.0 declared? Try to remove this.

Seems you have build: 1.3.0 declared? Try to remove this.

I don't have anything like it in my pubspec.yaml

Can you show your pubspec?

version: 1.0.0+1

environment:
  sdk: ">=2.6.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  moor: ^3.4.0
  sqlite3_flutter_libs:
  sqflite: ^1.1.7 # Still used to obtain the database location

  path_provider:
  path:
  provider: ^4.1.2
  shared_preferences:
  permission_handler:
  firebase_core:
  firebase_ml_vision: ^0.9.5
  firebase_database: ^4.0.0
  cloud_firestore: ^0.14.0+2
  firebase_messaging: ^7.0.2
  cloud_functions: ^0.6.0
  flutter_secure_storage: ^3.3.3
  google_sign_in: ^4.5.1
  firebase_auth: ^0.18.0+1

dependency_overrides:

dev_dependencies:
  flutter_test:
    sdk: flutter
  moor_generator: ^3.4.0
  build_runner: 1.10.2

dev_overrides:
  analyzer: 0.40.5

Ok, my bad, dev_overrides does not exits. I meant to write dependency_overrides - thats where the analyzer needs to go.

Yes! Your configuration works fine with 3.4 and without the exception! Thank you!
Since making the original change, I get this error, which while it is not fatal and the app seems to work fine, it is new and I wonder why:
[Fatal Error] sqlite3-native-library-3.32.3.pom:3:3: The markup in the document preceding the root element must be correctly formatted.
(I translated it from my default windows' language)

No problem. Not sure about your other error. Maybe @simolus3 has an idea. Might be something wrong with the POM generation in https://github.com/simolus3/sqlite-native-libraries/blob/master/sqlite3-native-library/build.gradle

I can take a look, but I've never seen that before either. @apoleo88 When does that happen? During a flutter build? If so, can you run the build with --verbose so that I have some context about the error and know where in a build it happens? Thanks!


add resolvers for team schema

Following on from whatsthatsmell/gql_schema_design#1 - we need to resolve the fields from the MLB API
Requirements

Extend data source to allow for getting a team
Resolve the fields below:

Input → team ID

Full Team Name (ex: Los Angeles Dodgers)

Stadium Name (Venue)

Venue ID

League Name

League ID

Division Name

Division ID

References

https://statsapi.mlb.com/api/v1/teams/119/

closed by #2


Misiu/os advance aug15

Bring OS another 50 commits closer to Internal.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.7 out of 12 committers have signed the CLA.:white_check_mark: mattpulver:white_check_mark: paul-aiyedun:white_check_mark: tmostak:white_check_mark: misiugodfrey:white_check_mark: yoonminnam:white_check_mark: mattgara:white_check_mark: pearu:x: steveblackmon-mapd:x: brenocfg:x: simoneves:x: guilhermeleobas:x: AndrewVDoYou have signed the CLA already but the status is still pending? Let us recheck it.


FolderChooserDialog.Builder.chooseButton(@StringRes int text) is ignored

Hi Aidan,
I'm using the current version of the your library (<IP_ADDRESS>) and find a bug that the value passed to the above mentioned method is ignored.
Kind regards
bohoffi

Thank you for your quick reaction :)


[BUG] ...unable to install

Describe the bug
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Warning from https://packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2
Using version ^1.2 for skrtdev/novagram
./composer.json has been updated
Root package 'skrtdev/novagram' cannot require itself in its composer.json
Did you accidentally name your root package after an external package?
To Reproduce
composer require skrtdev/novagram
Expected behavior
for the installer to work
Full Traceback
root@bots /var/www/html # git clone https://github.com/skrtdev/NovaGram.git
Cloning into 'NovaGram'...
remote: Enumerating objects: 468, done.
remote: Counting objects: 100% (468/468), done.
remote: Compressing objects: 100% (330/330), done.
remote: Total 2039 (delta 229), reused 338 (delta 135), pack-reused 1571
Receiving objects: 100% (2039/2039), 417.34 KiB | 1.40 MiB/s, done.
Resolving deltas: 100% (1269/1269), done.
root@bots /var/www/html # mv NovaGram/ novagram
root@bots /var/www/html # cd novagram
root@bots /var/www/html/novagram # apt install composer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
grub-pc-bin
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
jsonlint php-cli-prompt php-composer-ca-bundle php-composer-semver php-composer-spdx-licenses php-json-schema php-psr-log
php-symfony-console php-symfony-debug php-symfony-filesystem php-symfony-finder php-symfony-polyfill-mbstring php-symfony-process
Suggested packages:
fossil mercurial subversion php-zip php-symfony-event-dispatcher php-symfony-lock php-mbstring
The following NEW packages will be installed:
composer jsonlint php-cli-prompt php-composer-ca-bundle php-composer-semver php-composer-spdx-licenses php-json-schema php-psr-log
php-symfony-console php-symfony-debug php-symfony-filesystem php-symfony-finder php-symfony-polyfill-mbstring php-symfony-process
0 upgraded, 14 newly installed, 0 to remove and 59 not upgraded.
Need to get 586 kB of archives.
After this operation, 3482 kB of additional disk space will be used.
Do you want to continue?
(Reading database ... 61558 files and directories currently installed.)
Preparing to unpack .../00-php-json-schema_5.2.6-1_all.deb ...
Unpacking php-json-schema (5.2.6-1) ...
Selecting previously unselected package php-composer-ca-bundle.
Preparing to unpack .../01-php-composer-ca-bundle_1.1.0-1_all.deb ...
Unpacking php-composer-ca-bundle (1.1.0-1) ...
Selecting previously unselected package php-composer-semver.
Preparing to unpack .../02-php-composer-semver_1.4.2-1_all.deb ...
Unpacking php-composer-semver (1.4.2-1) ...
Selecting previously unselected package php-composer-spdx-licenses.
Preparing to unpack .../03-php-composer-spdx-licenses_1.3.0-1_all.deb ...
Unpacking php-composer-spdx-licenses (1.3.0-1) ...
Selecting previously unselected package jsonlint.
Preparing to unpack .../04-jsonlint_1.7.1-1_all.deb ...
Unpacking jsonlint (1.7.1-1) ...
Selecting previously unselected package php-symfony-polyfill-mbstring.
Preparing to unpack .../05-php-symfony-polyfill-mbstring_1.6.0-2_all.deb ...
Unpacking php-symfony-polyfill-mbstring (1.6.0-2) ...
Selecting previously unselected package php-psr-log.
Preparing to unpack .../06-php-psr-log_1.0.2-1_all.deb ...
Unpacking php-psr-log (1.0.2-1) ...
Selecting previously unselected package php-symfony-debug.
Preparing to unpack .../07-php-symfony-debug_3.4.6+dfsg-1ubuntu0.1_all.deb ...
Unpacking php-symfony-debug (3.4.6+dfsg-1ubuntu0.1) ...
Selecting previously unselected package php-symfony-console.
Preparing to unpack .../08-php-symfony-console_3.4.6+dfsg-1ubuntu0.1_all.deb ...
Unpacking php-symfony-console (3.4.6+dfsg-1ubuntu0.1) ...
Selecting previously unselected package php-symfony-finder.
Preparing to unpack .../09-php-symfony-finder_3.4.6+dfsg-1ubuntu0.1_all.deb ...
Unpacking php-symfony-finder (3.4.6+dfsg-1ubuntu0.1) ...
Selecting previously unselected package php-symfony-process.
Preparing to unpack .../10-php-symfony-process_3.4.6+dfsg-1ubuntu0.1_all.deb ...
Unpacking php-symfony-process (3.4.6+dfsg-1ubuntu0.1) ...
Selecting previously unselected package php-symfony-filesystem.
Preparing to unpack .../11-php-symfony-filesystem_3.4.6+dfsg-1ubuntu0.1_all.deb ...
Unpacking php-symfony-filesystem (3.4.6+dfsg-1ubuntu0.1) ...
Selecting previously unselected package php-cli-prompt.
Preparing to unpack .../12-php-cli-prompt_1.0.3+dfsg-1_all.deb ...
Unpacking php-cli-prompt (1.0.3+dfsg-1) ...
Selecting previously unselected package composer.
Preparing to unpack .../13-composer_1.6.3-1_all.deb ...
Unpacking composer (1.6.3-1) ...
Setting up php-psr-log (1.0.2-1) ...
Setting up php-symfony-finder (3.4.6+dfsg-1ubuntu0.1) ...
Setting up php-composer-ca-bundle (1.1.0-1) ...
Setting up php-json-schema (5.2.6-1) ...
Setting up php-composer-semver (1.4.2-1) ...
Setting up php-cli-prompt (1.0.3+dfsg-1) ...
Setting up php-composer-spdx-licenses (1.3.0-1) ...
Setting up php-symfony-filesystem (3.4.6+dfsg-1ubuntu0.1) ...
Setting up php-symfony-polyfill-mbstring (1.6.0-2) ...
Setting up jsonlint (1.7.1-1) ...
Setting up php-symfony-process (3.4.6+dfsg-1ubuntu0.1) ...
Setting up php-symfony-debug (3.4.6+dfsg-1ubuntu0.1) ...
Setting up php-symfony-console (3.4.6+dfsg-1ubuntu0.1) ...
Setting up composer (1.6.3-1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
root@bots /var/www/html/novagram # composer require skrtdev/novagram
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Warning from https://packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2
Using version ^1.2 for skrtdev/novagram
./composer.json has been updated
Root package 'skrtdev/novagram' cannot require itself in its composer.json
Did you accidentally name your root package after an external package?
Additional context
failed to install / build on ubuntu 18

You named your project skrtdev/novagram, just edit your composer.json and set a different name for your project, e.g. myname/mybot

Also, you cloned the repository, this is not the way to install it. In order to use it, just create a folder for your bot, create a file named bot.php, paste one of the examples in that file, and do composer require skrtdev/novagram


RIR column - Registro.BR - No matching to some blocks

Some friends reported some issues on the RIR source.
I used an ASN of a university just to exemplify the issue.
https://irrexplorer.nlnog.net/asn/AS53046

Marked with green are prefixes that IR Explorer says are from Registro.BR
Marked with red are prefixes that IRR Explorer says are from LACNIC.

I second that. My prefixes are all from registro.br, but irrexplorer seem to look for them on lacnic.

My prefixes are also like this, both IPv4 and IPv6 show LACNIC as RIR where it should be registro.br

It's the same here.

The same happen with our ASN.

I think it's clear we need to look into this. Posting "Me too" messages without any details doesn't add any value, no need to do that. And from what I see, I don't think we need more examples to check what's wrong here.

Sorry dude! My bad!
I asked some friends to check if their prefixes were affected also, and report.

It's also happening with our AS

It's also happening with our AS

I do not see an obvious cause in the code. I added this in #231, which reads https://ftp.registro.br/pub/numeracao/origin/nicbr-asn-blk-latest.txt. <IP_ADDRESS>/22 is in there, for example.

@mxsasha _rir_for_prefix function in api/collectors.py looks for the prefix and returns the first ocurrence of it, right?
rirstat for rirstat in self.rirstats if rirstat.prefix.overlaps(prefix)
and
return next(relevant_rirstats).rir
Since the same prefix appears in lacnic (https://ftp.lacnic.net/pub/stats/lacnic/delegated-lacnic-latest as lacnic|BR|ipv4|<IP_ADDRESS>|1024|20151113|assigned) but also in registro.br, it seems that the lacnic RIR appears first.
Perhaps a simple fix should be to change the RIR class and put registro.br before lacnic in state.py

Since the same prefix appears in lacnic (https://ftp.lacnic.net/pub/stats/lacnic/delegated-lacnic-latest as lacnic|BR|ipv4|<IP_ADDRESS>|1024|20151113|assigned) but also in registro.br, it seems that the lacnic RIR appears first.

Yes, that would explain it. I did not expect an exact match prefix to occur in multiple "RIRs". Not entirely sure of the right fix, the return order from the query is arbitrary, maybe the code should look at all rows and decide the "most specific RIR".

I was thinking a little about this question this morning, and a hypothesis came to mind. In fact, a very boring hypothesis.
Shouldn't the RIR attribute be able to be multivalued? An array or something?
I thought about this considering how the numeric resource assignment hierarchy is in the real world. RIRs, NIRs, LIRs.
A prefix that is assigned by Registro.BR actually is ALSO a "child" of LACNIC.
I know it's not the focus of IRR-Explorer to address these intricacies.
And I also know that a change like this (attribute typing) would be quite laborious.
So I don't expect this to be the path followed.
I just thought it pertinent to bring this here considering the target audience for this discussion.

@fischerdouglas I was also thinking about it, but as I understand it, there's 3 distinct "levels" and it doenst really matter whos is child of who, because a prefix should never belong to more than one register at the same level. So we just need a list or a attribute that identifies that. My first approach would be to just create a NIR array. If a prefix appears on more than one register, look for the one in the NIR array.


test: use longer waits for managed field tests

The 30 second wait time used by these assertions works most of the time, but can be brittle in certain scenarios - for example if the reconciler Pod is rescheduled.

/assign @nan-yu


[FEATURE] Checkpoint/Restart with fit_surrogate for MOO

Checkpointing/Restart with fit_surrogate should work similarly to single-objective optimization.

resolved in 82e678cbedba6d164d78900185fc94bcb6ad727c


Inconsistent handling of number strings

With the following code...
var fs = require('fs');
var XlsxWriter = require('xlsx-writestream');
var filename = process.argv[2];

var writer = new XlsxWriter('mySpreadsheet.xlsx', {} /* options */);
writer.getReadStream().pipe(fs.createWriteStream(filename));

writer.addRow({ "ID": "1", "Text": "Hello, World!" });
writer.addRow({ "ID": "11", "Text": "Goodbye, World!" });

writer.finalize();

...the ID column will have different cell types for the first and second data rows. The first is a number as string and the second matches the numberRegex (because it has two digits) and so is written as a number cell.
My preference is - don't get clever - the value passed in was a string, I wanted the cell type to be string also.

Fixed in 0.4.0.


C#: Init-only properties causes illegal code to be generated

Godot version
v4.0.beta9.mono.official [e780dc332]
System information
Windows 11
Issue description
Using the init property keyword in a Node causes illegal code to be generated by the ScriptPropertiesGenerator generator
public partial class TestNode : Node
{
    public Node SomeNode { get; init; }
}

The causes of this problem is probably this if statement which checks if the property is not read-only, but does not check for init-only.
Steps to reproduce

Create a project
Create a C# Script
Add public Node SomeNode { get; init; }
Build the project
Check the error

Minimal reproduction project
N/A

We only support writable properties, the source generator checks if the property is readonly (IPropertySymbol.IsReadOnly) and should report diagnostic GD0103. This only checks that there's no set accessor but init is a set accessor so we have to also check that the set accessor is init (IMethodSymbol.IsInitOnly).


Add ability for language server to request handling part of file as different language

Hello! I want to propose the ability for a language server to instruct a client to handle part of a file as if it's another language.
The biggest usecase would be embedding a language like HTML in a constant string in another language. That way, as part of the string, code completion and the like will be provided for the other langauge. (See example at the end).
The way the user informs the language server that this is desired would be language specific. In a dynamic language, a comment could be used. In a static language, something like annotations could be used.
The client could potentially handle this by treating the part of the file with different language as a separate "virtual" file, and allowing the other language server to operate on the "virtual" file.
Optionally, arguments could be specified in order to provide useful info to the other language server. An example would be where to find the JSON Schema for a JSON string.
Example in pseudo-C#:
public class Test
{
    [StringLanguage("html")]
    public const string TEMPLATE = "
Test
";
}

Example in JavaScript:
/** @language css */
var test = "#element { text-align: center; }"

document.getElementById("yes").innerHTML = "JS lang server could know that innerHTML is an HTML string and instruct the client accordingly"

Example in Ruby:
# @language json(schema: "url to schema")
query = <<-JSON
{
  "this": "json",
  "is auto": "completed based on",
  "the schema": [
    "provided",
    "as parameter"
  ]
}
JSON

Here are some use cases and corner cases around nested language handling with a stalking horse to stimulate discussion.  I'm sure there are others.
Maybe the following flow would work:

Client receives metadata associating token types with nested languages."nestedLanguages": {
    "someTokenType":  { "languageId": "nested-language-id" },
    ...
}

Client receives token stream, either by applying a contributed grammar or from a semantic tokens response.
Client issues a decodeEmbeddedLanguageContent request: { "method": "decode-nested-language-text",
   "text": "foo &= bar"
 }

Server responds with the decoded text.  If the nested language metadata did not specify a language id here, the server may specify one here.  Else language identification would fall back to first-line, etc. {
   "text": "foo &= bar",
   "decodePositionMap": { ... },
   "languageId": "different-nested-language-id"
 }

An untitled document is created with the decoded text and as long as the nested language id is associated with a server that can handle untitled documents, it is parsed as normal.

If a set of documents contains multiple nested language tokens that decode to the same textual content,
A client may cache the results of unwrap-nested-language-text requests so that edits to a nesting document that do not affect the textual content of a nested language token may not cause unwrap requests.
Decoded position remapping
Actions that highlight text or move the cursor may need to work through nested languages.

The text of the onclick attribute above might decode to
// line comment
console.log("Hello, World!")

Simple operations like pairing parentheses require mapping token positions in a nested code document to actual positions in the nesting document.
One way to handle this is for decode-nested-language-text responses to include, at a minimum, a mapping from Positions of characters that do not decode to exactly one character to the number of characters they decode.
These could be packed into int[] using a similar scheme to the semantic tokens data.
// line comment
console.log("Hello, World!")
The example above might decode to [0, 14, 5, 1,   0, 15, 6, 1,   0, 19, 6, 1] since

the
 at position [0, 14] consists of 5 characters and decodes to 1
on the same line, 15 characters later, " consists of 6 characters and decodes to 1
on the same line, and 19 characters later, the second " consists of 6 characters and decodes to 1

Reencoding substrings
Actions that edit nested text, like refactoring may need to re-encode text.
For example, in
<button onclick='console.log("Hello")'>

a change that applies lint rules to normalize quotes in console.log("Hello") to console.log('Hello') might need to re-encode so that the HTML becomes
<button onclick='console.log('Hello')'>

It is not always straightforward to re-encode program text, so re-encoding requests may fail as when removing parentheses around the array access below which would cause the ]] to merge with > and be interpreted as ]]>, an end to the CDATA section in the embedding document, instead of as tokens in the embedded document.
<svg></svg>

It is probably not possible to re-encode with minimal changes in all cases, as in data:image/svg+xml;base64,... where the nested content is textual but nevertheless includes a transform such that most of the characters after a re-encoding that changes decoded text length will change.
Semantically significant file/position metadata
How do chunks of nested language text use macros like cpp's __FILE__ and __LINE__ and Swift's #line that depend on file name and position information, interact with untitled documents (step 5 above)?
Should something allow attaching the position of the nested language token to the untitled document?
Does this require lots of re-parsing on inserts into the embedding document before the nested language token?

FWIW, in Eclipse IDE, one can defined derived ProjectionDocument from a master document. This allows mapping of subparts of the document. This is typically used for folding, but IIRC some tools used to leverage it for eg SQL assistance in .java files.
One possibility, instead of sending annotations, would be that the LSP specifies that a server can send "projected" documents that consist of subparts of the master document + a mapping + some info about the language; and that client process such projected documents with the appropriate language server.
One benefit is that the LS could decide of treating blocks independently or together (eg if declaration in one of the blocks can be used by some other blocks). Basically doing a 1-1 or 1-N mapping between documents and blocks.
One difficulty would be how to express derived/projected documents as URIs, since it's the only thing LSP understand. I imagine it could be some extension to the existing TextDocumentItem

@mickaelistria

One possibility, instead of sending annotations

I think the reference to annotations in the original was an example of syntactic cues an embedding language might use to indicate an embedding.  I don't think it was a suggestion about how different LSP agents communicate.

@mickaelistria
I think your larger point that the LS for the embedding document is the source of the embedding relationship is a good one.
It seems like the kind of thing that might not be realized until later stages.  For example, a DSL might only be recognized as such after imports are resolved as in
// javascript
import { someDomainSpecificLanguage } from '...';

let x = someDomainSpecificLanguage`
    source in domain specific language here
`;

The embedding relationship may only be apparent after the langserver has some information about the imported identifier someDomainSpecificLanguage.
workspace/semanticTokens/refresh should suffice to cause a re-request of token information where a run of whole tokens correspond to a block.


Testing framework does not support .Times(0) on mocks

I am testing a workflow where I call a few activities in sequence. If activity A fails, then the workflow should be aborted, and activity B should not be called. I have written the following test code:
	m.env.OnActivity(m.workflow.ActivityA, mock.Anything, mock.Anything).Return(&myStruct{}, nil)
	m.env.OnActivity(m.workflow.ActivityB, mock.Anything, mock.Anything).Times(0)
	m.env.ExecuteWorkflow(m.workflow.Start, myArg)

When I run this test, I get the following error from the workflow:
    --- FAIL: TestMyWorkflow/TestSecondActivityIsNotCalled (0.45s)
        my_test.go:60: PASS:	github.com/.../workflow.(*MyWorkflow).ActivityA-fm(string,string)
        my_test.go:60: FAIL:	github.com/.../workflow.(*MyWorkflow).ActivityB-fm(string,string)
            		at: [workflow_testsuite.go:225 my_test.go:92]
        my_test.go:60: FAIL: 1 out of 2 expectation(s) were met.
            	The code you are testing needs to make 1 more call(s).
            	at: [my_test.go:60 suite.go:126 suite.go:134]

Could the mocks be updated to support .Times(0)?

I believe you want the env.AssertNotCalled exposed.
As a workaround use env.SetOnActivityStartedListener interceptor to check that activity of a certain type is not called.


Add alt attributes to images

All img tags must have alt attributes. For collection images, review generic tag such as "image preview of file name XX.jpg" since the description does not exist at time of QC.

Include alt attribute for dashboard chart to the effect of "Cumulative object and image count chart". Add long description providing all the information on the chart such as "Line graph of cumulative object and image count from August 2013 to present." Ref: https://www.w3.org/WAI/WCAG21/Techniques/general/G95.html


Unable to log in

Your files are extremely well-organized and your code is very clean! I also like how your React files aren't too long and they're all organized into separate parts. On the live site though, I was unable to log in and it threw a 500 error — could be just on my end but thought I'd let you know.

Your files are extremely well-organized and your code is very clean! I also like how your React files aren't too long and they're all organized into separate parts. On the live site though, I was unable to log in and it threw a 500 error — could be just on my end but thought I'd let you know.

In case you still want to try it out, the final project was deployed to https://log-my-pet.herokuapp.com instead of Vercel


[Bug]

Version
No response
Current Behavior
I found data in hypercrx is associated with the username instead of user_id
for example, I changed my username last year and the data displayed is only after I changed the name

Expected Behavior
No response
Environment
- OS:
- Browser:

Any additional comments?
No response

Hi, @xgdyp, thanks for your feedback!
We will consider this. Hey, @frank-zsy, currently the files on oss are all named after their login_name or repo_name, right?

Yes, but in the database, I also use id to identify an entity. So the username change will not affect at all. I think you only have activity after 2021.7.

Thanks! I understand


Add utility to convert string to boolean type to fix quant parse arg

Thanks for your solution.
I pushed a slight different fix. Please let me know if that can work for you. Thanks!
https://github.com/google/gemma_pytorch/commit/5f2c166bd7bdd24daa868a827cfbec3bb5405ef3

@pengchongjin Works for me, thank you! Closing this.


Clarification Needed on Fused Axial Attention in FAX module

In the local-global attention block of the CrossViewSwapAttention class, I noticed that there are two rearrange operations applied to the key tensor: From my understanding, these two operations seem to cancel each other out as they appear to reshape the key tensor first into a global feature map and then back into the original window partitioned shape. Could you help explain the purpose of these operations? Why does the key tensor need to be reshaped twice in this way?
    # local-to-local cross-attention
    query = rearrange(query, 'b n d (x w1) (y w2) -> b n x y w1 w2 d',
                      w1=self.q_win_size[0], w2=self.q_win_size[1])  # window partition
    key = rearrange(key, 'b n d (x w1) (y w2) -> b n x y w1 w2 d',
                      w1=self.feat_win_size[0], w2=self.feat_win_size[1])  # window partition
    val = rearrange(val, 'b n d (x w1) (y w2) -> b n x y w1 w2 d',
                      w1=self.feat_win_size[0], w2=self.feat_win_size[1])  # window partition
    query = rearrange(self.cross_win_attend_1(query, key, val,
                                            skip=rearrange(x,
                                                        'b d (x w1) (y w2) -> b x y w1 w2 d',
                                                         w1=self.q_win_size[0], w2=self.q_win_size[1]) if self.skip else None),
                   'b x y w1 w2 d  -> b (x w1) (y w2) d')    # reverse window to feature   全部恢复原来的形状

    query = query + self.mlp_1(self.prenorm_1(query))

    x_skip = query
    query = repeat(query, 'b x y d -> b n x y d', n=n)              # b n x y d

    # local-to-global cross-attention
    query = rearrange(query, 'b n (x w1) (y w2) d -> b n x y w1 w2 d',
                      w1=self.q_win_size[0], w2=self.q_win_size[1])  # window partition
    # Todo: 这不是相互抵消的操作吗?
    key = rearrange(key, 'b n x y w1 w2 d -> b n (x w1) (y w2) d')  # reverse window to feature
    key = rearrange(key, 'b n (w1 x) (w2 y) d -> b n x y w1 w2 d',
                    w1=self.feat_win_size[0], w2=self.feat_win_size[1])  # grid partition
    val = rearrange(val, 'b n x y w1 w2 d -> b n (x w1) (y w2) d')  # reverse window to feature
    val = rearrange(val, 'b n (w1 x) (w2 y) d -> b n x y w1 w2 d',
                    w1=self.feat_win_size[0], w2=self.feat_win_size[1])  # grid partition
    query = rearrange(self.cross_win_attend_2(query,
                                              key,
                                              val,
                                              skip=rearrange(x_skip,
                                                        'b (x w1) (y w2) d -> b x y w1 w2 d',
                                                        w1=self.q_win_size[0],
                                                        w2=self.q_win_size[1])
                                              if self.skip else None),
                   'b x y w1 w2 d  -> b (x w1) (y w2) d')  # reverse grid to feature

Also, I can't find any difference between local-to-local and local-to-global cross-attention. Because the shape of input k,v of cross_win_attend_1 and cross_win_attend_2 are both 'b n x y w1 w2 d'. And the definition of cross_win_attend_1 and cross_win_attend_2 are the same. So, what's the difference of window partition and grid partition mentioned in the paper?

The only possible explanation is that the weights of the two
cross_win_attend are different? But this still can't explain why one is
local-local, and the other is local-global.
OliverGu @.***> 于2023年7月24日周一 09:29写道：

Also, I can't find any difference between local-to-local and
local-to-global cross-attention. Because the shape of input k,v of
cross_win_attend_1 and cross_win_attend_2 are both 'b n x y w1 w2 d'. And
the definition of cross_win_attend_1 and cross_win_attend_2 are the same.
So, what's the difference of window partition and grid partition mentioned
in the paper?
—
Reply to this email directly, view it on GitHub
https://github.com/DerrickXuNu/CoBEVT/issues/11#issuecomment-1647063087,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARWIXVGXZ5EWABD67WKNVXLXRXFWDANCNFSM6AAAAAA2UHJGKE
.
You are receiving this because you authored the thread.Message ID:
@.***>

It is different for sure.  Then it groups as ` x = rearrange(x, 'b m d (w1 x) (w2 y) -> b m x y w1 w2 d', which will perform attention globally as w1 w2 now represent the number of grids.
Similarly, in FAX CA, you can see the key and value are 'b n d (x w1) (y w2) -> b n x y w1 w2 d' for local attention, while latter they become  'b n (w1 x) (w2 y) d -> b n x y w1 w2 d'. Different from FAX-SA, in FAX-CA, the query is always local window for the best performance. But you can change to grid attention as well.


Not working in Webcomponents

The keyboard does not work in Webcomponents. Maybe cause of Shadow dom?
see: https://www.webcomponents.org/element/PolymerElements/paper-input

We are seeing similar issue with Angular 2.0, any thoughts on this issue?

pull https://github.com/xontab/chrome-virtual-keyboard/pull/25


Return errors to user

As mentioned in PR #7 There is no log for the errors on the server side. I need to either add logs or return errors to the client side.

fixed in PR #13 commit 6a5f407


Bump to 3.0.4 and switch to rattler

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

DONT MERGE BEFORE https://github.com/conda-forge/conda-forge-ci-setup-feedstock/pull/337


Cannot do simple stuff like invert text or create touch button

Describe the bug
Please add the possibility of creating a touch button and invert the text required for a menu. or create a sketch that shows these features as examples. i think this is the main use of these devices
To reproduce
nothing to reproduce, is not there!
Expected behavior
should have been in the examples
Screenshots
No response
Environment

OS:
IDE &IDE Version:
Repository Version:

Additional context
No response
Issue checklist

[X] I searched for previous reports in the issue tracker
[X] My report contains all necessary details

Try setTextColor(0, 15) or setTextColor(15, 0) to invert text color.
And this lib is only for graphic functions, not for UI elements. You could use another UI lib for button or draw it your self.


[ENH] Setting doc attribute of properties

Is your feature request related to a problem? Please describe.
I am trying to dynamically set method/property docstrings to pull the methods from another class.
I have so far managed normal methods and static methods (which need setting via __func__.__doc__)
The issue I currently have is properties where apparently the __doc__ attribute is read only.
I don't know if this is fixable on your end or if this is a python issue you are constrained by.
This code gives the compile error 'test' is not a constant, variable or function identifier. I think for some reason it just isn't defined at this point. This might be a mechanic of the property decorator that I don't understand
cdef class Cls:
    @property
    def test(self):
        return "val"
    test.__doc__ = "docstring"

Taking the doc into the module scope gives a runtime error.
AttributeError: attribute '__doc__' of 'getset_descriptor' objects is not writable
cdef class Cls:
    @property
    def test(self):
        return "val"
Cls.test.__doc__ = "docstring"

Ideally there would be some mechanism of setting the doc attribute like can be done in normal python.

I suspect this is a Python limitation and so is unfixable - cdef class properties are implemented in an optimized direct way that imposes more restrictions that a regular Python property.
My best suggestion would be to force a call to the Python property function instead:
totally_not_property = property

cdef class C:
    @totally_not_property
    def something(self):
        ...

    # or
    something_else = property(some_func)

I can't remember right now if either of these are expected to work on cdef classes but it's something to try anyway.

I suspect this is a Python limitation and so is unfixable

"unfixable" by us, not by the CPython project. I can't see a semantic reason why such a docstring should not be changed.
Note, though, that the docstring is tied to the property. If you're reusing descriptor objects, changing the docstring would change it everywhere that same object is used.

Okay. The equivalent can be done in standard python but I assume that uses a different thing.

I assume that uses a different thing.

No - properties of cdef class are implemented using the tp_getset structure in the Python C API so the limitation is with that.


Delete index.md

Docs Build status updates of commit 95ca975:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/index.md
:white_check_mark:Succeeded
View (azure-node-preview || azure-node-legacy || azure-node-latest)

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

@kexugit
This file has been redirected and (I believe) doesn't need to be included in the repo anymore. Is it serving a purpose that I'm not aware of?

Hi @v-alje! Please let me know if you would like any changes to this PR? Thank you!

I believe this file remains to keep the folder from being deleted.


Nan losses during training on new dataset

> Loaded.
Fix VGG16 layers..
Fixed.
iter: 20 / 70000, total loss: 2.107100
 >>> rpn_loss_cls: 0.689572
 >>> rpn_loss_box: 0.538556
 >>> loss_cls: 0.878972
 >>> loss_box: 0.000000
 >>> lr: 0.000010
speed: 0.860s / iter
iter: 40 / 70000, total loss: 1.400519
 >>> rpn_loss_cls: 0.672595
 >>> rpn_loss_box: 0.627981
 >>> loss_cls: 0.099943
 >>> loss_box: 0.000000
 >>> lr: 0.000010
speed: 0.791s / iter
iter: 60 / 70000, total loss: 1.890739
 >>> rpn_loss_cls: 0.664076
 >>> rpn_loss_box: 1.136271
 >>> loss_cls: 0.090392
 >>> loss_box: 0.000000
 >>> lr: 0.000010
speed: 0.707s / iter
iter: 80 / 70000, total loss: 0.884432
 >>> rpn_loss_cls: 0.619964
 >>> rpn_loss_box: 0.239456
 >>> loss_cls: 0.025013
 >>> loss_box: 0.000000
 >>> lr: 0.000010
speed: 0.669s / iter
iter: 100 / 70000, total loss: 1.159740
 >>> rpn_loss_cls: 0.625335
 >>> rpn_loss_box: 0.505168
 >>> loss_cls: 0.029237
 >>> loss_box: 0.000000
 >>> lr: 0.000010
speed: 0.658s / iter
/home/gabbar/ML/tf-faster-rcnn/tools/../lib/model/bbox_transform.py:28: RuntimeWarning: invalid value encountered in log
  targets_dw = np.log(gt_widths / ex_widths)
iter: 120 / 70000, total loss: nan
 >>> rpn_loss_cls: 0.692661
 >>> rpn_loss_box: nan
 >>> loss_cls: 2.072727
 >>> loss_box: 0.000000
 >>> lr: 0.000010
speed: 0.686s / iter
iter: 140 / 70000, total loss: nan
 >>> rpn_loss_cls: 0.692553
 >>> rpn_loss_box: nan
 >>> loss_cls: 2.069435
 >>> loss_box: 0.000000
 >>> lr: 0.000010
speed: 0.700s / iter
iter: 160 / 70000, total loss: nan
 >>> rpn_loss_cls: 0.692714
 >>> rpn_loss_box: nan
 >>> loss_cls: 2.065971
 >>> loss_box: 0.000000
 >>> lr: 0.000010
speed: 0.717s / iter
iter: 180 / 70000, total loss: nan
 >>> rpn_loss_cls: 0.692636
 >>> rpn_loss_box: nan
 >>> loss_cls: 2.062488
 >>> loss_box: 0.000000
 >>> lr: 0.000010
speed: 0.728s / iter
iter: 200 / 70000, total loss: nan
 >>> rpn_loss_cls: 0.692119
 >>> rpn_loss_box: nan
 >>> loss_cls: 2.059007
 >>> loss_box: 0.000000
 >>> lr: 0.000010
speed: 0.737s / iter
iter: 220 / 70000, total loss: nan
 >>> rpn_loss_cls: 0.691994
 >>> rpn_loss_box: nan
 >>> loss_cls: 2.055528
 >>> loss_box: 0.000000
 >>> lr: 0.000010
speed: 0.748s / iter
iter: 240 / 70000, total loss: nan
 >>> rpn_loss_cls: 0.692261
 >>> rpn_loss_box: nan
 >>> loss_cls: 2.052053
 >>> loss_box: 0.000000
 >>> lr: 0.000010
speed: 0.752s / iter
2017-06-15 12:11:33.044274: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
2017-06-15 12:11:33.045363: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
2017-06-15 12:11:33.045636: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
2017-06-15 12:11:33.045901: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
2017-06-15 12:11:33.047963: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
2017-06-15 12:11:33.049066: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
2017-06-15 12:11:33.049813: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
2017-06-15 12:11:33.049915: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
2017-06-15 12:11:33.049894: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
2017-06-15 12:11:33.050219: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
2017-06-15 12:11:33.050255: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
2017-06-15 12:11:33.050281: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
2017-06-15 12:11:33.050306: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
2017-06-15 12:11:33.050333: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
2017-06-15 12:11:33.050356: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
2017-06-15 12:11:33.050380: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
2017-06-15 12:11:33.050405: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
2017-06-15 12:11:33.050431: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
2017-06-15 12:11:33.050456: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
2017-06-15 12:11:33.050476: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
2017-06-15 12:11:33.103636: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
Traceback (most recent call last):
  File "./tools/trainval_net.py", line 136, in <module>
    max_iters=args.max_iters)
  File "/home/gabbar/ML/tf-faster-rcnn/tools/../lib/model/train_val.py", line 336, in train_net
    sw.train_model(sess, max_iters)
  File "/home/gabbar/ML/tf-faster-rcnn/tools/../lib/model/train_val.py", line 225, in train_model
    self.net.train_step_with_summary(sess, blobs, train_op)
  File "/home/gabbar/ML/tf-faster-rcnn/tools/../lib/nets/network.py", line 395, in train_step_with_summary
    feed_dict=feed_dict)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 778, in run
    run_metadata_ptr)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 982, in _run
    feed_dict_string, options, run_metadata)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1032, in _do_run
    target_list, options, run_metadata)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1052, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
	 [[Node: vgg_16/anchor/PyFunc/_319 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/gpu:0", send_device="/job:localhost/replica:0/task:0/cpu:0", send_device_incarnation=1, tensor_name="edge_1164_vgg_16/anchor/PyFunc", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/gpu:0"]()]]

Caused by op u'TRAIN/vgg_16/conv3/conv3_1/weights', defined at:
  File "./tools/trainval_net.py", line 136, in <module>
    max_iters=args.max_iters)
  File "/home/gabbar/ML/tf-faster-rcnn/tools/../lib/model/train_val.py", line 336, in train_net
    sw.train_model(sess, max_iters)
  File "/home/gabbar/ML/tf-faster-rcnn/tools/../lib/model/train_val.py", line 105, in train_model
    anchor_ratios=cfg.ANCHOR_RATIOS)
  File "/home/gabbar/ML/tf-faster-rcnn/tools/../lib/nets/network.py", line 333, in create_architecture
    self._add_train_summary(var)
  File "/home/gabbar/ML/tf-faster-rcnn/tools/../lib/nets/network.py", line 72, in _add_train_summary
    tf.summary.histogram('TRAIN/' + var.op.name, var)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/summary/summary.py", line 209, in histogram
    tag=scope.rstrip('/'), values=values, name=scope)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_logging_ops.py", line 139, in _histogram_summary
    name=name)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 768, in apply_op
    op_def=op_def)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2336, in create_op
    original_op=self._default_original_op, op_def=op_def)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1228, in __init__
    self._traceback = _extract_stack()

InvalidArgumentError (see above for traceback): Nan in summary histogram for: TRAIN/vgg_16/conv3/conv3_1/weights
	 [[Node: TRAIN/vgg_16/conv3/conv3_1/weights = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](TRAIN/vgg_16/conv3/conv3_1/weights/tag, vgg_16/conv3/conv3_1/weights/read/_287)]]
	 [[Node: vgg_16/anchor/PyFunc/_319 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/gpu:0", send_device="/job:localhost/replica:0/task:0/cpu:0", send_device_incarnation=1, tensor_name="edge_1164_vgg_16/anchor/PyFunc", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/gpu:0"]()]]

Command exited with non-zero status 1
275.06user 24.81system 5:00.02elapsed 99%CPU (0avgtext+0avgdata 3047940maxresident)k
216inputs+390712outputs (1major+680645minor)pagefaults 0swaps

Tracing the error it seems I get nan values in my ex_widths the proposal target layer.

maybe check if your nms is compiled right? you can try to do the training/testing on pascal voc first. also you can set gpu_nms to be false.

It works perfectly fine on the pascal voc dataset as far as I saw.

Gpu nms is false.

Worked for me by removing " padding='VALID', activation_fn=None " for rpn_bbox_pred in build_network() in nets.resnet_v1. Maybe it will work for nets.vgg16 too...

Are you getting a similar runtime warning like in my comment(after 100th iter) ?

I got that warning before the iterations started.

Right. I still couldn't get around the error. Check if your dataset works with the faster rcnn model in the new Object Detection API in Tensorflow, released recently.

Also did you check your ex_widths tensor? After I got the run time warning, my ex_widths tensor seemed to be populated by nan values mostly.

My dataset seems to run with the API of tensorflow. I was just hoping if there was a way I could get/save detected boxes for evaluation set. I have transformed the file structure and Annotations of my dataset to match with PASCAL VOC.
I wasn't able to trace the origin of nan values for ex_widths. But I do guess that it has something to do with RPN ROIs.

Hey mind if I mail you on the id on your github profile?

Yeah sure. I don't mind. :)

Maybe you should check your training data and label first.

@R3v0lut10nist were you able to figure out the issue. I am having the same problem with my dataset

oh i should mention that with a new dataset you may need to tune the lr a bit.

@endernewton hello, can you give me some more detail that how to tune the lr with a new dataset.

@abhiML hi, how did you solve the problem finally?

@atorefrank , @R3v0lut10nist , @endernewton  @zdm123 , I get the same problem with train my data , the rpn_box_loss is nan, after some research, it's because  in the file 'pascal_voc.py',  the function  '_load_pascal_annotation' has an operation of make pixel indexes 0-based,the code is :
x1 = float(bbox.find('xmin').text) - 1
y1 = float(bbox.find('ymin').text) - 1
x2 = float(bbox.find('xmax').text) - 1
y2 = float(bbox.find('ymax').text) - 1
but if your data  is not based 1, such as my data is based 0, then it will get -1 in the data, may be you can try to delete the -1 operation,hope helpful!

thanks @lonlonago, this is one small detail that needs attention.

For my case it was opposite. I was creating bounding box in matlab and converting them into tfrecord in python. so both xmax, ymax could be greater than width, height in some cases. Thanks for pointing out this silent issue.

oh i should mention that with a new dataset you may need to tune the lr a bit.

I  reduce lr from 0.002 to 0.001. Nan disappear.


Shift Select Rows

Implementation for using shift select on rows.

i have implemented a version of shift selection that will be in the next release. the version that is checked in btw works with groups, which this pr didnt' do. thanks :)


[dif] Fix dif_keymgr

keymgr status is W1C and coded like this

idle: 0
WIP: 1
Success: 2
Error: 3

Before this change,  we always read status and write the read-back value.
So, when it reads WIP, then write 1 to it. Between this read and write, HW may updates
status to Error (0x3). In this case, SW accidentally clears the 1st bit and the status
becomes Success (0x2).
Now changed to only clear status when it's either success or error.
Signed-off-by: Weicai Yang<EMAIL_ADDRESS>

Added a fix for unittest from @timothytrippel. CI should be passing now


Mobile pop

In mobile, When the user clicks (or taps) the hamburger button, the mobile menu appears, When the user clicks the close (X) button, the mobile menu disappears, When the user clicks any of the mobile menu options, the mobile menu disappears.

find the link to project requirement below, all what you requesting for is
not in the project requirements
https://github.com/microverseinc/curriculum-html-css/blob/main/portfolio/7_mobile_menu.md
On Tue, Dec 21, 2021 at 12:08 PM Henry Kc @.***> wrote:

@.**** requested changes on this pull request.
STATUS: CHANGES REQUESTED♻
[image: Changes needed]
https://camo.githubusercontent.com/c8fd5d0a4b7c269aaaf0334c2d25edae9f38c6822810cd98906fac7c015391ff/68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f4f48363778726b626e5156595757795566572f67697068792e676966
Hi @ismailakinkunmi https://github.com/ismailakinkunmi👋,
Good job so far!
There are some issues that you still need to work on to go to the next
project but you are almost there!
Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop
the approval of this PR. However, I strongly recommend you to take them
into account as they can make your code better.
You can also consider:

I think that making some typographical errors might create a bad
impression. Le's correct this line to be error-free.
[image: image]
https://user-images.githubusercontent.com/45668340/146915510-2ab3ad1e-6775-4c16-a7e9-3ea3f29861c7.png
"Hat tip 👒 to Microverse for the opportunity, my coding partners,
and code reviewers for their contributions."
what do you think?
Don't you think including the link to your issue page would make it
easier for other developers to collaborate?
[image: image]
https://user-images.githubusercontent.com/45668340/146916140-a424261c-d8a6-4886-bcc9-691f4ab5b3ab.png
Please, add a link to the issue page here.
I think it will be most appropriate to use "star ⭐" here 👇
[image: image]
https://user-images.githubusercontent.com/45668340/146916414-896e2048-6418-49f5-b621-6472b60b3afe.png
That is what GitHub uses after all. Make sure to start the sentence
with a capital letter.
Your live link is broken. Please fix it. It would be frustrating to
users when they follow a link that is broken. 👇
[image: image]
https://user-images.githubusercontent.com/45668340/146917171-d37e06c6-1a14-4a32-9b0a-198ded47b2a0.png
I want us to talk about your mobile design.
[image: mobile]
https://user-images.githubusercontent.com/45668340/146917604-3d34d2fd-a468-4046-a85f-5f79b434ee06.gif
Comparing this design to the Figma template, I think you need to
embrace pixel-perfection. Flowing the design make you a better developer
and increases your chances of getting hired.
Figma Design👇
[image: image]
https://user-images.githubusercontent.com/45668340/146917930-b5af88f3-3c5d-4c3c-aa3e-e315622fdca1.png
Please, implement the following
Make sure the app name (your name) uses the same font and color as
specified in the Figma file. ⬇
[image: image]
https://user-images.githubusercontent.com/45668340/146918319-beb50de7-def3-4cb6-9057-5bcda9ebb91d.png
Make sure the margins and padding are the same as the Figma template.
Your text is touching the left edge of the screen and there is unnecessary
space to the right.
The overlay(popup) mobile menu should cover the entire screen and have
the background blurred. You should also stop the screen from scrolling to
prevent weird behavior and also make sure to use the z-index CSS
property to keep on top. Also, make sure that clicking any menu item takes
the user to the exact portion of the page. The "Contact" option should take
the user to the contact section, etc.
Look at this for a better udesrtanding👇
[image: Ismail]
https://user-images.githubusercontent.com/45668340/146919505-87fd3715-d7d9-4b03-aab1-3fd0b5b121b3.gif
[OPTIONAL] I highly recommend that you use spaces to separate
functions and some implementations in your JavaScript code to enhance
readability.
[image: image]
https://user-images.githubusercontent.com/45668340/146920202-d387b0af-f42c-4c0f-8163-7951b4404a06.png
What do you think🤔
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something
is not 100% clear.
Please, do not open a new Pull Request for re-reviews. You should use the
same Pull Request submitted for the first review, either valid or invalid
unless it is requested otherwise.
As described in the Code reviews limits policy
https://microverse.zendesk.com/hc/en-us/articles/1500004088561 you have a
limited number of reviews per project (check the exact number in your
Dashboard). If you think that the code review was not fair, you can request
a second opinion using this form https://airtable.com/shrQAqnBwek5a0O0s.
—
Reply to this email directly, view it on GitHub
https://github.com/ismailakinkunmi/portfolio-site/pull/16#pullrequestreview-837308564,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI5YZRWEELOPB7IK7JQQDGDUSBN3RANCNFSM5KPVZMKA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

I went through the review five times, all are optional, no required and the
project wasn't approved moreso none of the feedback contribute to the
project requirements.
On Tue, Dec 21, 2021 at 12:29 PM adekunle ismail @.***>
wrote:

find the link to project requirement below, all what you requesting for is
not in the project requirements
https://github.com/microverseinc/curriculum-html-css/blob/main/portfolio/7_mobile_menu.md
On Tue, Dec 21, 2021 at 12:08 PM Henry Kc @.***>
wrote:

@.**** requested changes on this pull request.
STATUS: CHANGES REQUESTED♻
[image: Changes needed]
https://camo.githubusercontent.com/c8fd5d0a4b7c269aaaf0334c2d25edae9f38c6822810cd98906fac7c015391ff/68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f4f48363778726b626e5156595757795566572f67697068792e676966
Hi @ismailakinkunmi https://github.com/ismailakinkunmi👋,
Good job so far!
There are some issues that you still need to work on to go to the next
project but you are almost there!
Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop
the approval of this PR. However, I strongly recommend you to take them
into account as they can make your code better.
You can also consider:

I think that making some typographical errors might create a bad
impression. Le's correct this line to be error-free.
[image: image]
https://user-images.githubusercontent.com/45668340/146915510-2ab3ad1e-6775-4c16-a7e9-3ea3f29861c7.png
"Hat tip 👒 to Microverse for the opportunity, my coding partners,
and code reviewers for their contributions."
what do you think?
Don't you think including the link to your issue page would make it
easier for other developers to collaborate?
[image: image]
https://user-images.githubusercontent.com/45668340/146916140-a424261c-d8a6-4886-bcc9-691f4ab5b3ab.png
Please, add a link to the issue page here.
I think it will be most appropriate to use "star ⭐" here 👇
[image: image]
https://user-images.githubusercontent.com/45668340/146916414-896e2048-6418-49f5-b621-6472b60b3afe.png
That is what GitHub uses after all. Make sure to start the sentence
with a capital letter.
Your live link is broken. Please fix it. It would be frustrating to
users when they follow a link that is broken. 👇
[image: image]
https://user-images.githubusercontent.com/45668340/146917171-d37e06c6-1a14-4a32-9b0a-198ded47b2a0.png
I want us to talk about your mobile design.
[image: mobile]
https://user-images.githubusercontent.com/45668340/146917604-3d34d2fd-a468-4046-a85f-5f79b434ee06.gif
Comparing this design to the Figma template, I think you need to
embrace pixel-perfection. Flowing the design make you a better developer
and increases your chances of getting hired.
Figma Design👇
[image: image]
https://user-images.githubusercontent.com/45668340/146917930-b5af88f3-3c5d-4c3c-aa3e-e315622fdca1.png
Please, implement the following
Make sure the app name (your name) uses the same font and color as
specified in the Figma file. ⬇
[image: image]
https://user-images.githubusercontent.com/45668340/146918319-beb50de7-def3-4cb6-9057-5bcda9ebb91d.png
Make sure the margins and padding are the same as the Figma template.
Your text is touching the left edge of the screen and there is unnecessary
space to the right.
The overlay(popup) mobile menu should cover the entire screen and
have the background blurred. You should also stop the screen from scrolling
to prevent weird behavior and also make sure to use the z-index CSS
property to keep on top. Also, make sure that clicking any menu item takes
the user to the exact portion of the page. The "Contact" option should take
the user to the contact section, etc.
Look at this for a better udesrtanding👇
[image: Ismail]
https://user-images.githubusercontent.com/45668340/146919505-87fd3715-d7d9-4b03-aab1-3fd0b5b121b3.gif
[OPTIONAL] I highly recommend that you use spaces to separate
functions and some implementations in your JavaScript code to enhance
readability.
[image: image]
https://user-images.githubusercontent.com/45668340/146920202-d387b0af-f42c-4c0f-8163-7951b4404a06.png
What do you think🤔
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if
something is not 100% clear.
Please, do not open a new Pull Request for re-reviews. You should use
the same Pull Request submitted for the first review, either valid or
invalid unless it is requested otherwise.
As described in the Code reviews limits policy
https://microverse.zendesk.com/hc/en-us/articles/1500004088561 you have a
limited number of reviews per project (check the exact number in your
Dashboard). If you think that the code review was not fair, you can request
a second opinion using this form https://airtable.com/shrQAqnBwek5a0O0s.
—
Reply to this email directly, view it on GitHub
https://github.com/ismailakinkunmi/portfolio-site/pull/16#pullrequestreview-837308564,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI5YZRWEELOPB7IK7JQQDGDUSBN3RANCNFSM5KPVZMKA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @ismailakinkunmi,
I understand you perfectly. I am sorry if this caused any inconveniences. One major requirement required of me in reviewing your code is to make sure that your design is almost identical with the chosen design on Figma.
I understand you have exerted a whole lot of effort building this project and I respect that.
Please, do your best to make sure your project follow the design and that you document it as professionally as possible.
If you need any assistance in any of the implementation of the design, please, reach out to any of us at Microverse. You may try reaching out to your peers first.
Thank you.

From the link you included above, I got this too.

It says you MUST stick to the design as much as possible.
I know you can do this, @ismailakinkunmi. Good luck💪👍


Fix SqlSequentialStream multipacket reads stalling and add covering test

Fixes https://github.com/dotnet/SqlClient/issues/600
When I reworked async infrastructure a couple of subtle errors crept in and because there was no covering test weren't visible. This corrects the problem and adds a test.
@cheenamalhotra @David-Engel I'd suggest that this go into 2.0.0 release.

Hi @Wraith2
This looks like a workaround but not the real issue fix.
The same code exists in NetFx project but does not cause any problems.
We should investigate when this issue was introduced in NetCore and fixing the real problem when it was introduced.

The async changes I've made aren't in the fx codebase and they are what will have introduced the issue so I'm not surprised that it isn't reproducible on fx.
It is intended to be the correct fix and not a workaround though. I debugged through for a quite a while and I was satisfied that there wasn't a huge underlying problem but that it was due to the changes from async captures to using a state object.

It'll have been introduced in https://github.com/dotnet/SqlClient/pull/328

We'll take it in for GA.

Excellent thanks.


Running Python

I did everything you said to make it work and ran Atom through the command prompt, but I'm still running into the same error...
https://gyazo.com/10c5aeb554f50b39e5d5dc29b34fad3a
And yes, I tried typing atom . instead.

Python installations on Windows don't default to putting it on your path. When you run python from the command line in Windows, do you get a prompt?


feat: add support for the new SDK server

This change introduces the fork/exec of the SDK server. Then all operations are requests to that server. The starting and stopping of this server is handled by creating/closing clients.

Requires https://github.com/gptscript-ai/gptscript/pull/387


Fail-soft search but Fail-hard transposition table look up?

Hi, I noticed you are using the Fail-soft version of Alpha-beta algorithm.
In search.go there is this comment:
// Return the best score, which is alpha.
  return bestScore

But I think that "bestScore" is not always alpha here, in Fail-soft Alpha-beta it can be lower than alpha (for so called "All-Nodes" where every move fails-low). Fail-soft is supposed to be optimization of alphabeta, in fail-soft version you don't clamp returned values to alpha/beta. But I noticed that you do clamp values returned from transposition table to alpha/beta in case of AlphaFlag/BetaFlag:
if entry.Flag == ExactFlag {
  adjustedScore = score
}
if entry.Flag == AlphaFlag && score <= alpha {
  adjustedScore = alpha
}
if entry.Flag == BetaFlag && score >= beta {
  adjustedScore = beta
}

Shoudn't you just always do adjustedScore = score ? I checked source code of Stockfish and I think they don't clamp values returned from tt.
Another interesting topic is whether we should store "bestMove" for "All-Nodes" (AlphaFlag) or not. I noticed that you do store it, but Stockfish don't (they store "MOVE_NONE" in case of AlphaFlag).
For more details look here: https://stackoverflow.com/questions/72252975/transposition-table-look-up-for-fail-hard-vs-fail-soft-alpha-beta-how-do-they-d
I am new to this stuff so I may be wrong, but it's very interesting, what you think?

Hi @kubpica,
You're correct; I am using the fail soft version of the alpha-beta algorithm. That comment should be corrected; thanks for the heads-up! For the rest of your questions I'm going to try to answer as best I can although I have to be honest that it's been a while since I looked at my own code, so my analysis will be going off of quickly scanning back through things.
As for the transposition table, I believe I'm using alpha and beta instead of score because I found through testing that that approach worked best. I have to confess I don't remember why though. I'd have to spend some time going back through my notes to see if I could find anything. I imagine Stockfish is doing the same because they found, as you noted, that not clamping values worked best. As nice as it would be if chess programming was an exact science, that isn't always the case, and often times what works best for one engine might not work well at all in another. That's why always testing things yourself and not just copying-and-pasting is so important!
As for storing a best move, scanning back through my code and if I remember correctly, although I'm storing a best move at fail-low nodes, it's never actually used. If you look back at the search code, whenever I stored a best-move at a fail-low node, the score for that TT entry will also be lower than alpha. And in the transposition table code, if we ever visit this entry again, it's stored score will be less than alpha, and since it is an alpha node we're going to be ending the search early, returning that score and never using the best move.
It's been a while since I've worked with the code as I've said, but in hindsight right now, I don't think I had a good reason for doing things the way I described above, and I should be explicit in my code about not storing best moves for nodes that failed low, since clearly no move searched was good enough to raise alpha.
I appreciate your comment a lot! In the coming months I'm hopefully going to get back in the mood to re-write Blunder from scratch, improving upon some past mistakes, so whenever I revisit this particular section of and if you're still interested, I'll be sure to try to give a better answer!

@algerbrex
Okay that makes sense that for some engines fail-soft look up may work better while for others it will be fail-hard (clamping stored values to alpha/beta). I was trying to understand transposition tables (instead of just copying-and-pasting ;) ) and I was confused when I saw different implementations of tt loop up method. At first I tought the difference depends on whether we are using fail-soft or fail-hard alpha-beta but then I was even more confused when I saw implementations that used "fail-hard search" but "fail-soft transposition table" and vice versa.
As for storing a best move, correct me if I'm wrong, but I think alpha and beta may be different when we encounter the same position (but maybe in different way), so it's not guaranteed that stored score will always be less than alpha. So I think that it may happen that storedScore will be bigger than new-alpha and then ttMove ("bestMove") will be used. If alpha was always the same for the same entry why would we need to check score <= alpha in tt look up? Also using your logic why would we store "bestMove" for BetaFlag, if you assume we would always end search early? I found some old discussion about this: https://groups.google.com/g/rec.games.chess.computer/c/p8GbiiLjp0o They claim there that storing "bestMove" for "All-Nodes" (AlphaFlag) resulted in faster search but it may not necessery mean stronger play because they where woried about search instability.
Thank you very much for your response! I am eager to hear your conclusions as you redo this part of engine. I will check what works best in my draughts engine so I can also share if I find anything interesting ;)

hi, maybe i can inspire.
i follow this Issue with interest .. i'm a programmer myself, but not yet of any engine .. i'm a bit familiar with the terms you use here, like alpha beta TT etc .. overall i like the way you help eachother by describing technical issues in detail by clear wording !  While reading this Issue i have these thoughts :

keep things simple.

use special chess positions to test any new code ? = design / find such positions for any case ?

one thing i learned at school : always write comments in your code, also mentioning things that did NOT work and why, because later you might see that code again and think "something was wrong .. i found info on it and did tests, but i don't remember .."

rewriting things from scratch may seem unnecessary, but indeed useful and often the only way to correct code parts.