text:
The release assets for v4.14.3 contain 2 .jar files, which is a sleeping issue for automatically downloading

Download code, as found in https://github.com/RMLio/fetch-rmlmapper-java-js and https://github.com/RMLio/rmlmapper-webapi-js for example picks the FIRST a *.jar file asset.
In releases before v4.14.3, rmlmapper only had ONE such asset. Now there are two! Fortunately, the "big" one (including the dependencies) is the first one, so we're lucky, but this can be pure coincidence.
Also, other automatic download implementations might iterate over the assets in reverse order...
It is not a good solution to modify download implementations to search for *-all.jar files, because that is not compatible with all earlier rmlmapper releases...
Suggestion: do not add the "small" one (without depedencies) in next releases.

Hi @mvanbrab !
Thanks for notifying us about this!
We will adjust the release process to only include the -all.jar version.

Fixed in 4.15.0, closing.

authors: DylanVanAssche mvanbrab

repo: RMLio/rmlmapper-java


text:
firmware_installer

Hey,
Where can I download latest version MX-28.hex files for my op2 use ?

The file in the link below is the latest version of MX-28 firmware for OP2.
https://sourceforge.net/p/darwinop/code/HEAD/tree/trunk/robotisop2/Linux/project/firmware_installer/
If you want to download the latest firmware (version 40), please update the firmware using Dynamixel Wizard (Windows).

This issue will be closed since there were no actions for a while. You can reopen this issue to show this issue to the users whenever. Thanks.

source: gharchive/issue

authors: ROBOTIS-zerom idminerwilliam robotpilot

license_type: permissive

license_source: github-api


text:
Errors that occur while running Gazebo : No P gain ~

Hello~ I installed the following packages in the Ubuntu 18.04 environment and then launched the Gazebo
$ sudo apt-get install ros-melodic-ros-controllers ros-melodic-gazebo* ros-melodic-moveit*
$ cd ~/catkin_ws/src
$ git clone -b kinetic https://github.com/ros-industrial/industrial_core.git
$ git clone -b melodic-devel https://github.com/ROBOTIS-GIT/DynamixelSDK.git
$ git clone -b melodic-devel https://github.com/ROBOTIS-GIT/dynamixel-workbench.git
$ git clone -b melodic-devel https://github.com/ROBOTIS-GIT/dynamixel-workbench-msgs.git
$ git clone -b melodic-devel https://github.com/ROBOTIS-GIT/open_manipulator.git
$ git clone -b melodic-devel https://github.com/ROBOTIS-GIT/open_manipulator_msgs.git
$ git clone -b melodic-devel https://github.com/ROBOTIS-GIT/open_manipulator_simulations.git
$ git clone -b melodic-devel https://github.com/ROBOTIS-GIT/robotis_manipulator.git
$ sb & cm
$ roslaunch open_manipulator_gazebo open_manipulator_gazebo.launch
SUMMARY
PARAMETERS

/gazebo/enable_ros_network: True
/gazebo_ros_control/pid_gains/gripper/antiwindup: False
/gazebo_ros_control/pid_gains/gripper/d: 500.0
/gazebo_ros_control/pid_gains/gripper/i: 1000.0
/gazebo_ros_control/pid_gains/gripper/i_clamp: 0.2
/gazebo_ros_control/pid_gains/gripper/p: 100000.0
/gazebo_ros_control/pid_gains/gripper/publish_state: True
/gazebo_ros_control/pid_gains/gripper_sub/antiwindup: False
/gazebo_ros_control/pid_gains/gripper_sub/d: 1000.0
/gazebo_ros_control/pid_gains/gripper_sub/i: 250.0
/gazebo_ros_control/pid_gains/gripper_sub/i_clamp: 0.2
/gazebo_ros_control/pid_gains/gripper_sub/p: 100000.0
/gazebo_ros_control/pid_gains/gripper_sub/publish_state: True
/gazebo_ros_control/pid_gains/joint1/antiwindup: False
/gazebo_ros_control/pid_gains/joint1/d: 100.0
/gazebo_ros_control/pid_gains/joint1/i: 1000.0
/gazebo_ros_control/pid_gains/joint1/i_clamp: 0.2
/gazebo_ros_control/pid_gains/joint1/p: 100000.0
/gazebo_ros_control/pid_gains/joint1/publish_state: True
/gazebo_ros_control/pid_gains/joint2/antiwindup: False
/gazebo_ros_control/pid_gains/joint2/d: 500.0
/gazebo_ros_control/pid_gains/joint2/i: 1000.0
/gazebo_ros_control/pid_gains/joint2/i_clamp: 0.2
/gazebo_ros_control/pid_gains/joint2/p: 100000.0
/gazebo_ros_control/pid_gains/joint2/publish_state: True
/gazebo_ros_control/pid_gains/joint3/antiwindup: False
/gazebo_ros_control/pid_gains/joint3/d: 500.0
/gazebo_ros_control/pid_gains/joint3/i: 1000.0
/gazebo_ros_control/pid_gains/joint3/i_clamp: 0.2
/gazebo_ros_control/pid_gains/joint3/p: 100000.0
/gazebo_ros_control/pid_gains/joint3/publish_state: True
/gazebo_ros_control/pid_gains/joint4/antiwindup: False
/gazebo_ros_control/pid_gains/joint4/d: 500.0
/gazebo_ros_control/pid_gains/joint4/i: 1000.0
/gazebo_ros_control/pid_gains/joint4/i_clamp: 0.2
/gazebo_ros_control/pid_gains/joint4/p: 100000.0
/gazebo_ros_control/pid_gains/joint4/publish_state: True
/open_manipulator/gripper_position/joint: gripper
/open_manipulator/gripper_position/type: position_controll...
/open_manipulator/gripper_sub_position/joint: gripper_sub
/open_manipulator/gripper_sub_position/type: position_controll...
/open_manipulator/joint1_position/joint: joint1
/open_manipulator/joint1_position/type: position_controll...
/open_manipulator/joint2_position/joint: joint2
/open_manipulator/joint2_position/type: position_controll...
/open_manipulator/joint3_position/joint: joint3
/open_manipulator/joint3_position/type: position_controll...
/open_manipulator/joint4_position/joint: joint4
/open_manipulator/joint4_position/type: position_controll...
/open_manipulator/joint_state_controller/publish_rate: 1000
/open_manipulator/joint_state_controller/type: joint_state_contr...
/robot_description: <?xml version="1....
/rosdistro: melodic
/rosversion: 1.14.3
/use_sim_time: True

NODES
/
gazebo (gazebo_ros/gzserver)
gazebo_gui (gazebo_ros/gzclient)
urdf_spawner (gazebo_ros/spawn_model)
/open_manipulator/
controller_spawner (controller_manager/spawner)
gripper_sub_publisher (open_manipulator_gazebo/gripper_sub_publisher)
auto-starting new master
process[master]: started with pid [7651]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to aa6a9d54-64d6-11e9-84ad-e82a448a8dc5
process[rosout-1]: started with pid [7662]
started core service [/rosout]
process[gazebo-2]: started with pid [7669]
process[gazebo_gui-3]: started with pid [7674]
process[urdf_spawner-4]: started with pid [7679]
process[open_manipulator/controller_spawner-5]: started with pid [7680]
process[open_manipulator/gripper_sub_publisher-6]: started with pid [7681]
[INFO] [1555920877.705735, 0.000000]: Controller Spawner: Waiting for service controller_manager/load_controller
[ INFO] [1555920877.985260193]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1555920877.986951011]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
[ INFO] [1555920878.060406160]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1555920878.062113348]: waitForService: Service [/gazebo_gui/set_physics_properties] has not been advertised, waiting...
[INFO] [1555920878.297025, 0.000000]: Loading model XML from ros parameter robot_description
[INFO] [1555920878.313919, 0.000000]: Waiting for service /gazebo/spawn_urdf_model
[INFO] [1555920878.618052, 0.000000]: Calling service /gazebo/spawn_urdf_model
[INFO] [1555920878.918211, 0.000000]: Spawn status: SpawnModel: Successfully spawned entity
[ INFO] [1555920879.083849301]: Loading gazebo_ros_control plugin
[ INFO] [1555920879.084073021]: Starting gazebo_ros_control plugin in namespace: open_manipulator
[ INFO] [1555920879.084658127]: gazebo_ros_control plugin is waiting for model URDF in parameter [/robot_description] on the ROS param server.
[urdf_spawner-4] process has finished cleanly
log file: /home/whehddns2/.ros/log/aa6a9d54-64d6-11e9-84ad-e82a448a8dc5/urdf_spawner-4*.log
[ERROR] [1555920879.206903100]: No p gain specified for pid.  Namespace: /open_manipulator/gazebo_ros_control/pid_gains/joint1
[ERROR] [1555920879.208206473]: No p gain specified for pid.  Namespace: /open_manipulator/gazebo_ros_control/pid_gains/joint2
[ERROR] [1555920879.209289278]: No p gain specified for pid.  Namespace: /open_manipulator/gazebo_ros_control/pid_gains/joint3
[ERROR] [1555920879.210309576]: No p gain specified for pid.  Namespace: /open_manipulator/gazebo_ros_control/pid_gains/joint4
[ERROR] [1555920879.211646010]: No p gain specified for pid.  Namespace: /open_manipulator/gazebo_ros_control/pid_gains/gripper
[ERROR] [1555920879.212790568]: No p gain specified for pid.  Namespace: /open_manipulator/gazebo_ros_control/pid_gains/gripper_sub
[ INFO] [1555920879.220204426]: Loaded gazebo_ros_control.
[INFO] [1555920879.522182, 0.000000]: Controller Spawner: Waiting for service controller_manager/switch_controller
[INFO] [1555920879.532287, 0.000000]: Controller Spawner: Waiting for service controller_manager/unload_controller
[INFO] [1555920879.546549, 0.000000]: Loading controller: joint_state_controller
[INFO] [1555920879.589858, 0.000000]: Loading controller: joint1_position
[INFO] [1555920879.645711, 0.000000]: Loading controller: joint2_position
[INFO] [1555920879.678206, 0.000000]: Loading controller: joint3_position
[INFO] [1555920879.727092, 0.000000]: Loading controller: joint4_position
[INFO] [1555920879.764402, 0.000000]: Loading controller: gripper_position
[INFO] [1555920879.797502, 0.000000]: Loading controller: gripper_sub_position
[INFO] [1555920879.835591, 0.000000]: Controller Spawner: Loaded controllers: joint_state_controller, joint1_position, joint2_position, joint3_position, joint4_position, gripper_position, gripper_sub_position
There's no problem running Gazebo yet, Can you tell me which file is relevant and how to fix it?

Hi @JoDongWoon
Sorry to late reply.
I checked about this error, it is cause by it can not read PID gains in position controller of updated gazebo. You can fix that as modifying the open_manipulator_controller.yaml file of open_manipulator_gazebo pkg and  open_manipulator.urdf.xacro of open_manipulator_description pkg as following
open_manipulator_description/urdf/open_manipulator.urdf.xacro
<?xml version="1.0"?>
<!-- Open_Manipulator Chain -->
<robot name="open_manipulator" xmlns:xacro="http://ros.org/wiki/xacro">

  <!-- Import all Gazebo-customization elements, including Gazebo colors -->
  <xacro:include filename="$(find open_manipulator_description)/urdf/open_manipulator.gazebo.xacro" />
  <!-- Import Rviz colors -->
  <xacro:include filename="$(find open_manipulator_description)/urdf/materials.xacro" />

  <!-- Transmission macro -->
  <xacro:macro name="SimpleTransmission" params="joint n">
    <transmission name="tran${n}">
      <type>transmission_interface/SimpleTransmission</type>
      <joint name="${joint}">
        <hardwareInterface>hardware_interface**/EffortJointInterface**</hardwareInterface>
      </joint>
      <actuator name="motor${n}">
        <hardwareInterface>hardware_interface**/EffortJointInterface**</hardwareInterface>
        <mechanicalReduction>1</mechanicalReduction>
      </actuator>
    </transmission>
  </xacro:macro>

  <!-- World -->
  <link name="world">
  </link>

  <!-- World fixed joint-->
  <joint name="world_fixed" type="fixed">
    <origin xyz="0 0 0" rpy="0 0 0"/>
    <parent link="world"/>
    <child link="link1"/>
  </joint>

  <!-- Link 1 -->
  <link name="link1">
    <visual>
      <origin xyz="0 0 0" rpy="0 0 0"/>
      <geometry>
        <mesh filename="package://open_manipulator_description/meshes/chain_link1.stl" scale="0.001 0.001 0.001"/>
      </geometry>
      <material name="grey"/>
    </visual>

    <collision>
      <origin xyz="0 0 0" rpy="0 0 0"/>
      <geometry>
        <mesh filename="package://open_manipulator_description/meshes/chain_link1.stl" scale="0.001 0.001 0.001"/>
      </geometry>
    </collision>

<!--    <inertial>
      <origin xyz="0 0 0" />
      <mass value="0.082" />
      <inertia ixx="0.1" ixy="0.0" ixz="0.0"
               iyy="0.1" iyz="0.0"
               izz="0.1" />
    </inertial>-->

     <inertial>
      <origin xyz="3.0876154e-04 0.0000000e+00 -1.2176461e-04" />
      <mass value="7.9119962e-02" />
      <inertia ixx="1.2505234e-05" ixy="0.0" ixz="-1.7855208e-07"
               iyy="2.1898364e-05" iyz="0.0"
               izz="1.9267361e-05" />
    </inertial>
  </link>

  <!-- Joint 1 -->
  <joint name="joint1" type="revolute">
    <parent link="link1"/>
    <child link="link2"/>
    <origin xyz="0.012 0.0 0.017" rpy="0 0 0"/>
    <axis xyz="0 0 1"/>
    <limit velocity="4.8" effort="1" lower="${-pi*0.9}" upper="${pi*0.9}" />
  </joint>

  <!-- Transmission 1 -->
  <xacro:SimpleTransmission n="1" joint="joint1" />

  <!--  Link 2 -->
  <link name="link2">
    <visual>
      <origin xyz="0 0 0.019" rpy="0 0 0"/>
      <geometry>
        <mesh filename="package://open_manipulator_description/meshes/chain_link2.stl" scale="0.001 0.001 0.001"/>
      </geometry>
      <material name="grey"/>
    </visual>

    <collision>
      <origin xyz="0 0 0.019" rpy="0 0 0"/>
      <geometry>
        <mesh filename="package://open_manipulator_description/meshes/chain_link2.stl" scale="0.001 0.001 0.001"/>
      </geometry>
    </collision>

<!--    <inertial>
      <origin xyz="0 0 0" />
      <mass value="0.098" />
      <inertia ixx="0.1" ixy="0.0" ixz="0.0"
               iyy="0.1" iyz="0.0"
               izz="0.1" />
    </inertial>-->

     <inertial>
      <origin xyz="-3.0184870e-04 5.4043684e-04 ${0.018 + 2.9433464e-02}" />
      <mass value="9.8406837e-02" />
      <inertia ixx="3.4543422e-05" ixy="-1.6031095e-08" ixz="-3.8375155e-07"
               iyy="3.2689329e-05" iyz="2.8511935e-08"
               izz="1.8850320e-05" />
    </inertial>
  </link>

  <!--  Joint 2 -->
  <joint name="joint2" type="revolute">
    <parent link="link2"/>
    <child link="link3"/>
    <origin xyz="0.0 0.0 0.0595" rpy="0 0 0"/>
    <axis xyz="0 1 0"/>
    <limit velocity="4.8" effort="1" lower="${-pi*0.57}" upper="${pi*0.5}" />
  </joint>

  <!-- Transmission 2 -->
  <xacro:SimpleTransmission n="2" joint="joint2" />

  <!--  Link 3 -->
  <link name="link3">
    <visual>
      <origin xyz="0 0 0" rpy="0 0 0"/>
      <geometry>
        <mesh filename="package://open_manipulator_description/meshes/chain_link3.stl" scale="0.001 0.001 0.001"/>
      </geometry>
      <material name="grey"/>
    </visual>

    <collision>
      <origin xyz="0 0 0" rpy="0 0 0"/>
      <geometry>
        <mesh filename="package://open_manipulator_description/meshes/chain_link3.stl" scale="0.001 0.001 0.001"/>
      </geometry>
    </collision>

<!--    <inertial>
      <origin xyz="0 0 0" />
      <mass value="0.136" />
      <inertia ixx="0.1" ixy="0.0" ixz="0.0"
               iyy="0.1" iyz="0.0"
               izz="0.1" />
    </inertial>-->

     <inertial>
      <origin xyz="1.0308393e-02 3.7743363e-04 1.0170197e-01" />
      <mass value="1.3850917e-01" />
      <inertia ixx="3.3055381e-04" ixy="-9.7940978e-08" ixz="-3.8505711e-05"
               iyy="3.4290447e-04" iyz="-1.5717516e-06"
               izz="6.0346498e-05" />
    </inertial>
  </link>

  <!--  Joint 3 -->
  <joint name="joint3" type="revolute">
    <parent link="link3"/>
    <child link="link4"/>
    <origin xyz="0.024 0 0.128" rpy="0 0 0"/>
    <axis xyz="0 1 0"/>
    <limit velocity="4.8" effort="1" lower="${-pi*0.3}" upper="${pi*0.44}" />
  </joint>

  <!-- Transmission 3 -->
  <xacro:SimpleTransmission n="3" joint="joint3" />

  <!--  Link 4 -->
  <link name="link4">
    <visual>
      <origin xyz="0 0 0" rpy="0 0 0"/>
      <geometry>
        <mesh filename="package://open_manipulator_description/meshes/chain_link4.stl" scale="0.001 0.001 0.001"/>
      </geometry>
      <material name="grey"/>
    </visual>

    <collision>
      <origin xyz="0 0 0" rpy="0 0 0"/>
      <geometry>
        <mesh filename="package://open_manipulator_description/meshes/chain_link4.stl" scale="0.001 0.001 0.001"/>
      </geometry>
    </collision>

<!--    <inertial>
      <origin xyz="0 0 0" />
      <mass value="0.131" />
      <inertia ixx="0.1" ixy="0.0" ixz="0.0"
               iyy="0.1" iyz="0.0"
               izz="0.1" />
    </inertial>-->

     <inertial>
      <origin xyz="9.0909590e-02 3.8929816e-04 2.2413279e-04" />
      <mass value="1.3274562e-01" />
      <inertia ixx="3.0654178e-05" ixy="-1.2764155e-06" ixz="-2.6874417e-07"
               iyy="2.4230292e-04" iyz="1.1559550e-08"
               izz="2.5155057e-04" />
    </inertial>
  </link>

  <!--  Joint 4 -->
  <joint name="joint4" type="revolute">
    <parent link="link4"/>
    <child link="link5"/>
    <origin xyz="0.124 0.0 0.0" rpy="0 0 0"/>
    <axis xyz="0 1 0"/>
    <limit velocity="4.8" effort="1" lower="${-pi*0.57}" upper="${pi*0.65}" />
  </joint>

  <!-- Transmission 4 -->
  <xacro:SimpleTransmission n="4" joint="joint4" />

  <!--  Link 5 -->
  <link name="link5">
    <visual>
      <origin xyz="0 0 0" rpy="0 0 0"/>
      <geometry>
        <mesh filename="package://open_manipulator_description/meshes/chain_link5.stl" scale="0.001 0.001 0.001"/>
      </geometry>
      <material name="grey"/>
    </visual>

    <collision>
      <origin xyz="0 0 0" rpy="0 0 0"/>
      <geometry>
        <mesh filename="package://open_manipulator_description/meshes/chain_link5.stl" scale="0.001 0.001 0.001"/>
      </geometry>
    </collision>

<!--    <inertial>
      <origin xyz="0 0 0" />
      <mass value="0.141" />
      <inertia ixx="0.1" ixy="0.0" ixz="0.0"
               iyy="0.1" iyz="0.0"
               izz="0.1" />
    </inertial>-->

     <inertial>
      <origin xyz="4.4206755e-02 3.6839985e-07 8.9142216e-03" />
      <mass value="1.4327573e-01" />
      <inertia ixx="8.0870749e-05" ixy="0.0" ixz="-1.0157896e-06"
               iyy="7.5980465e-05" iyz="0.0"
               izz="9.3127351e-05" />
    </inertial>
  </link>

  <!--  Gripper link -->
  <link name="gripper_link">
    <visual>
      <origin xyz="0.0 0.0 0" rpy="0 0 0"/>
      <geometry>
        <mesh filename="package://open_manipulator_description/meshes/chain_link_grip_l.stl" scale="0.001 0.001 0.001"/>
      </geometry>
      <material name="grey"/>
    </visual>

    <collision>
      <origin xyz="0.0 0.0 0" rpy="0 0 0"/>
      <geometry>
        <mesh filename="package://open_manipulator_description/meshes/chain_link_grip_l.stl" scale="0.001 0.001 0.001"/>
      </geometry>
    </collision>

    <inertial>
      <origin xyz="0 0 0" />
      <mass value="0.017" />
      <inertia ixx="1.0e-03" ixy="0.0" ixz="0.0"
               iyy="1.0e-03" iyz="0.0"
               izz="1.0e-03" />
    </inertial>

<!--     <inertial>
      <origin xyz="${0.028 + 8.3720668e-03} ${0.0246 + 9.9696160e-03} -4.2836895e-07" />
      <mass value="3.2218127e-02" />
      <inertia ixx="9.5568826e-06" ixy="2.8424644e-06" ixz="-3.2829197e-10"
               iyy="2.2552871e-05" iyz="-3.1463634e-10"
               izz="1.7605306e-05" />
    </inertial>-->
  </link>

  <!--  Gripper joint -->
  <joint name="gripper" type="prismatic">
    <parent link="link5"/>
    <child link="gripper_link"/>
    <origin xyz="0.0817 0.021 0.0" rpy="0 0 0"/>
    <axis xyz="0 1 0"/>
    <limit velocity="4.8" effort="1" lower="-0.010" upper="0.019" />
  </joint>

  <!-- Transmission 5 -->
  <xacro:SimpleTransmission n="5" joint="gripper" />

  <!--  Gripper link sub -->
  <link name="gripper_link_sub">
    <visual>
      <origin xyz="0.0 -0.0 0" rpy="0 0 0"/>
      <geometry>
        <mesh filename="package://open_manipulator_description/meshes/chain_link_grip_r.stl" scale="0.001 0.001 0.001"/>
      </geometry>
      <material name="grey"/>
    </visual>

    <collision>
      <origin xyz="0.0 -0.0 0" rpy="0 0 0"/>
      <geometry>
        <mesh filename="package://open_manipulator_description/meshes/chain_link_grip_r.stl" scale="0.001 0.001 0.001"/>
      </geometry>
    </collision>

    <inertial>
      <origin xyz="0 0 0" />
      <mass value="0.017" />
      <inertia ixx="1.0e-03" ixy="0.0" ixz="0.0"
               iyy="1.0e-03" iyz="0.0"
               izz="1.0e-03" />
    </inertial>

<!--     <inertial>
      <origin xyz="${0.028 + 8.3720668e-03} ${-0.0246 - 9.9696160e-03} -4.2836895e-07" />
      <mass value="3.2218127e-02" />
      <inertia ixx="9.5568826e-06" ixy="2.8424644e-06" ixz="-3.2829197e-10"
               iyy="2.2552871e-05" iyz="-3.1463634e-10"
               izz="1.7605306e-05" />
    </inertial>-->
  </link>

  <!--  Gripper joint sub -->
  <joint name="gripper_sub" type="prismatic">
    <parent link="link5"/>
    <child link="gripper_link_sub"/>
    <origin xyz="0.0817 -0.021 0" rpy="0 0 0"/>
    <axis xyz="0 -1 0"/>
    <limit velocity="4.8" effort="1" lower="-0.010" upper="0.019" />
    <mimic joint="gripper" multiplier="1"/>
  </joint>

  <!-- Transmission 6 -->
  <xacro:SimpleTransmission n="6" joint="gripper_sub" />

  <!-- end effector joint -->
  <joint name="end_effector_joint" type="fixed">
    <origin xyz="0.126 0.0 0.0" rpy="0 0 0"/>
    <parent link="link5"/>
    <child link="end_effector_link"/>
  </joint>

  <!-- end effector link -->
  <link name="end_effector_link">
    <visual>
      <origin xyz="0 0 0" rpy="0 0 0"/>
      <geometry>
        <box size="0.01 0.01 0.01" />
      </geometry>
      <material name="red"/>
     </visual>

    <inertial>
      <origin xyz="0.0 0.0 0.0" rpy="0 0 0"/>
      <mass value="0.001"/>
      <inertia ixx="1.0e-06" ixy="0.0" ixz="0.0" iyy="1.0e-06" iyz="0.0" izz="1.0e-06" />
    </inertial>
  </link>

</robot>

open_manipulator_gazebo/config/open_manipulator_controller.yaml
# Publish all joint states -----------------------------------
joint_state_controller:
  type: joint_state_controller/JointStateController
  publish_rate: 1000

# Position Controllers ---------------------------------------
joint1_position:
  type: **effort_controllers**/JointPositionController
  joint: joint1

joint2_position:
  type: **effort_controllers**/JointPositionController
  joint: joint2

joint3_position:
  type: **effort_controllers**/JointPositionController
  joint: joint3

joint4_position:
  type: **effort_controllers**/JointPositionController
  joint: joint4

gripper_position:
  type: **effort_controllers**/JointPositionController
  joint: gripper

gripper_sub_position:
  type: **effort_controllers**/JointPositionController
  joint: gripper_sub

This issue has been closed as there weren't recent activities. Please feel free to reopen this thread if there's any opinion to throw. Thanks.

hello, while launching open_manipulator_gazebo.launch i will get the same error
[ERROR] [1695051052.353447258]: No p gain specified for pid.  Namespace: /gazebo_ros_control/pid_gains/joint1
[ERROR] [1695051052.353732796]: No p gain specified for pid.  Namespace: /gazebo_ros_control/pid_gains/joint2
[ERROR] [1695051052.354036640]: No p gain specified for pid.  Namespace: /gazebo_ros_control/pid_gains/joint3
[ERROR] [1695051052.354431376]: No p gain specified for pid.  Namespace: /gazebo_ros_control/pid_gains/joint4
could you please confirm the solution, please?

authors: JoDongWoon gpwhd07 malihemarzani


text:
Cannot install autorace dependent package in turtlebot.

I am using raspian in the turtlebot. When I follow the autorace tutorial 13.2.3 Tutorial 3
The installation fail because of no package found.
And when I run tutorial 4.3  step 3 on the turtlebot an error stated the image/proc node is not available.

@amakil76
Install Ubuntu MATE for the tutorial.
As for the second question, send screenshots of your error code.

Problem solve with ubuntu mate but
Now when running mission , the robot wont move if AUTO_EX_CALIB is set to action. The detect/image_lane only show white screen and
[ERROR] [1556585371.836523]: bad callback: <bound method DetectLane.cbFindLane of <main.DetectLane instance at 0x7fe2ecf907e8>>
Traceback (most recent call last):
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback
cb(msg)
File "/home/amr/catkin_ws/src/turtlebot3_autorace/turtlebot3_autorace_detect/nodes/detect_lane", line 172, in cbFindLane
self.right_fit = np.array([np.mean(self.mov_avg_right[::1][:, 0][0:MOV_AVG_LENGTH]),
AttributeError: DetectLane instance has no attribute 'mov_avg_right'
Error is shown after autorace_core is launch

@amakil76
Please refer to the link below and let us know if it doesn't work.
(https://github.com/ROBOTIS-GIT/turtlebot3_autorace/issues/17)
If it doesn't work, add a reply with more details (e.g., screenshots of Terminal) about what you have done.
Regards,
Ryan

I follow exactly from #17
I still could not find the cfg file

Could not find the folder containing turtlebot3_autorace_camera.cfg file

@amakil76
Type the followings in the terminal window and see if it works.
$ cd ~/catkin_ws/src/turtlebot3_autorace/turtlebot3_autorace_camera/cfg
$ chmod +x *
If it does not work, you might have missed some instructions. Read the following tutorial 13.1~13.6 carefully, and follow it again.
(http://emanual.robotis.com/docs/en/platform/turtlebot3/autonomous_driving/#turtlebot3-autorace)
Regards,
Ryan

This issue has been closed as there weren't recent activities. Please feel free to reopen this thread if you have any other questions. Thanks.


text:
SWDEV-392187 - Changes for non HMM tests with XNACK ON.

Stream Sync after graph launch.Graph does not gurantee that all work is finished with launch
and hence it is required to sync.
hipMemcpy with XNACK cause hostAsync and hence need to sync before validate.
Change-Id: If50c9924926d6d90643cdea31431ea7a0c3554f8

Abandoning this change.
CC: @jaydeeppatel1111

Thanks Maneesh

source: gharchive/pull-request

authors: jtpatel mangupta rocm-ci

repo: ROCm-Developer-Tools/hip-tests

license: MIT


text:
[Issue]: Disassemble Flang Openmp Offloading

Problem Description
Hi,
This is more of a question than an issue.
Is there a way to disassemble the generated amdcgn code when compiling a fortran openmp program with target directives?
Currently, I am doing a kind of trick: generating the assembly with -S and then manually extracting the amdcgn from the .Lllvm.embedded.object string inside.
Operating System
Ubuntu 22.04
CPU
AMD EPYC 9654 96-Core Processor
GPU
AMD MI300X
ROCm Version
ROCm 6.2.0
ROCm Component
No response
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response

Hi @Luigi-Crisci. Internal ticket is created it assist with your question. Thanks!

Hi @Luigi-Crisci, you can also get the assembly by adding the -save-temps flag to save intermediate compilation results and look for *-openmp-amdgcn-amd-amdhsa.s file. It will contain more information than just the kernel assembly. Hope it helps.

authors: Luigi-Crisci ppanchad-amd zichguan-amd

repo: ROCm/aomp


text:
[Issue]: archlinux linux kernel variant cachyos compile with -march=znver4 fails

Problem Description
building archlinux linux kernel variant "CachyOS" and got this error (builds with archlinux packaged llvm)
ld.lld: /home/user/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:235: llvm::SDNode* {anonymous}::DAGCombiner::getNextWorklistEntry(): Assertion `N->getCombinerWorklistIndex() >= 0 && "Found a worklist entry without a corresponding map entry!"' failed.
PLEASE submit a bug report to https://github.com/ROCm-Developer-Tools/aomp and include the crash backtrace.
Stack dump:
0.	Program arguments: /opt/aomp/aomp/llvm/bin/ld.lld -m elf_x86_64 -mllvm -import-instr-limit=5 -z noexecstack -r -o vmlinux.o -T .tmp_initcalls.lds --whole-archive vmlinux.a --no-whole-archive --start-group --end-group
1.	Running pass 'Function Pass Manager' on module 'ld-temp.o'.
2.	Running pass 'X86 DAG->DAG Instruction Selection' on function '@walk_pud_range'
 #0 0x00007f0633ded5fc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0x9ed5fc)
 #1 0x00007f0633dea5fb SignalHandler(int) Signals.cpp:0:0
 #2 0x00007f0632e4c1d0 (/usr/lib/libc.so.6+0x3d1d0)
 #3 0x00007f0632ea53f4 (/usr/lib/libc.so.6+0x963f4)
 #4 0x00007f0632e4c120 raise (/usr/lib/libc.so.6+0x3d120)
 #5 0x00007f0632e334c3 abort (/usr/lib/libc.so.6+0x244c3)
 #6 0x00007f0632e333df (/usr/lib/libc.so.6+0x243df)
 #7 0x00007f0632e44177 (/usr/lib/libc.so.6+0x35177)
 #8 0x00007f063499a4df llvm::SelectionDAG::Combine(llvm::CombineLevel, llvm::AAResults*, llvm::CodeGenOptLevel) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0x159a4df)
 #9 0x00007f0634c0f87f llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0x180f87f)
#10 0x00007f0634c14009 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0x1814009)
#11 0x00007f0634c15b20 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0x1815b20)
#12 0x00007f0634bfeb33 llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0x17feb33)
#13 0x00007f063443c490 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.0) MachineFunctionPass.cpp:0:0
#14 0x00007f0634010124 llvm::FPPassManager::runOnFunction(llvm::Function&) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0xc10124)
#15 0x00007f0634010571 llvm::FPPassManager::runOnModule(llvm::Module&) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0xc10571)
#16 0x00007f0634010f74 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0xc10f74)
#17 0x00007f06363cd0af codegen(CodegenConfig const&, llvm::TargetMachine*, std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, unsigned int, llvm::Module&, llvm::ModuleSummaryIndex const&) LTOBackend.cpp:0:0
#18 0x00007f06363cf810 llvm::lto::backend(llvm::lto::Config const&, std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, unsigned int, llvm::Module&, llvm::ModuleSummaryIndex&) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0x2fcf810)
#19 0x00007f06363bd32a llvm::lto::LTO::runRegularLTO(std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0x2fbd32a)
#20 0x00007f06363c1f03 llvm::lto::LTO::run(std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0x2fc1f03)
#21 0x00005f6733542a1d lld::elf::BitcodeCompiler::compile() (/opt/aomp/aomp/llvm/bin/ld.lld+0x27ca1d)
#22 0x00005f6733488fe7 void lld::elf::LinkerDriver::compileBitcodeFiles<llvm::object::ELFType<(llvm::endianness)1, true>>(bool) (/opt/aomp/aomp/llvm/bin/ld.lld+0x1c2fe7)
#23 0x00005f67334a82c7 void lld::elf::LinkerDriver::link<llvm::object::ELFType<(llvm::endianness)1, true>>(llvm::opt::InputArgList&) (/opt/aomp/aomp/llvm/bin/ld.lld+0x1e22c7)
#24 0x00005f67334ae89b lld::elf::LinkerDriver::linkerMain(llvm::ArrayRef<char const*>) (/opt/aomp/aomp/llvm/bin/ld.lld+0x1e889b)
#25 0x00005f67334af323 lld::elf::link(llvm::ArrayRef<char const*>, llvm::raw_ostream&, llvm::raw_ostream&, bool, bool) (/opt/aomp/aomp/llvm/bin/ld.lld+0x1e9323)
#26 0x00005f67333726fb lld::unsafeLldMain(llvm::ArrayRef<char const*>, llvm::raw_ostream&, llvm::raw_ostream&, llvm::ArrayRef<lld::DriverDef>, bool) (/opt/aomp/aomp/llvm/bin/ld.lld+0xac6fb)
#27 0x00005f6733371db9 lld_main(int, char**, llvm::ToolContext const&) (/opt/aomp/aomp/llvm/bin/ld.lld+0xabdb9)
#28 0x00005f6733370b34 main (/opt/aomp/aomp/llvm/bin/ld.lld+0xaab34)
#29 0x00007f0632e34e08 (/usr/lib/libc.so.6+0x25e08)
#30 0x00007f0632e34ecc __libc_start_main (/usr/lib/libc.so.6+0x25ecc)
#31 0x00005f6733371665 _start (/opt/aomp/aomp/llvm/bin/ld.lld+0xab665)

turns out this error happens when using an option to compile with -march=znver4 from this patch https://github.com/CachyOS/kernel-patches/blob/master/6.11/0005-cachy.patch
also rather nasty while trying to build march=znver4 it sat on LD      vmlinux.o for hours climbing up to 48GBs and maxing out cores...before failing
after switching off this option it builds but the error said please report
Operating System
Archlinux
CPU
7940hs
GPU
780m
ROCm Version
ROCm 6.2.0
ROCm Component
aomp
Steps to Reproduce
archlinux...
https://aur.archlinux.org/packages/linux-cachyos
ugg... cachyos pkgbuild uses a consolidated patchfile that has 3? parts that are in kernel tarball already so i deleted those 3 from the large single patch file
edited the PKGBUILD to use znver4, lto=full, make LLVM=/opt/aomp/aomp/llvm/bin/ all
makepkg
wait hours
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response

Hi @Cfouria. Internal ticket has been created to investigate your issue. Thanks!

so ive tried separating out parts that cause this error and no luck, giving up
did find .config must contain CONFIG_LRU_GEN=y or it fails to build in a different way
and if not using the cachyos provided config, adding config_lru_gen building with zen4 is successful

Hi @Cfouria, just want to clarify: is -march=znver4 something that's being detected and added automatically, or were you adding this yourself? I can see you've given up for now, but I can take a look if you'd like. A caveat is that we don't officially support Arch and don't control the packages provided there, so the support we can give here is limited.

The thing i was using (cachyos) selects the march by default, and a lot of other things. main point of despair is finding 1 thing that caused this error, removing it and still getting error... anyway i managed to reduce magic (and archlinux tools)
https://github.com/torvalds/linux/archive/refs/tags/v6.12-rc6.tar.gz
gzip -d v6.12-rc6.tar.gz
tar -xf v6.12-rc6.tar
cd linux-6.12-rc6/
curl https://raw.githubusercontent.com/CachyOS/kernel-patches/refs/heads/master/6.12/0005-cachy.patch -o 0005-cachy.patch
patch -Np1 < 0005-cachy.patch
make LLVM=/opt/aomp/aomp/llvm/bin/ olddefconfig

echo '
CONFIG_IRQ_REMAP=y
CONFIG_X86_X2APIC=y
CONFIG_INTEL_TDX_GUEST=y

CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3=y
CONFIG_MZEN4=y
CONFIG_X86_USE_PPRO_CHECKSUM=y

CONFIG_LRU_GEN=y
CONFIG_LRU_GEN_ENABLED=y
CONFIG_LRU_GEN_WALKS_MMU=y

CONFIG_CACHY=y

CONFIG_LTO=y
CONFIG_LTO_CLANG=y
CONFIG_LTO_CLANG_FULL=y
' >> .config

make LLVM=/opt/aomp/aomp/llvm/bin/ all

CONFIG_INTEL_TDX_GUEST    is a culprit
CONFIG_CACHY      dont know what this does
CONFIG_X86_USE_PPRO_CHECKSUM     or this one, getting lazy so it stays
CONFIG_LRU_GEN     was needed for my previous attempts, so i just included it
CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3      didnt think it was needed and wow 5 threads with 11GB RAM (ctrl+c) and it didnt even make it to a LD item so its a different problem

What version of aomp do you have installed? Did you build it from source or is it provided in Arch?

built aomp from source on Oct 21
also ive managed to find the 2 problems
CONFIG_AMD_MEM_ENCRYPT=y & CONFIG_INTEL_TDX_GUEST=y
having either will cause this error (they cause the same error), removing them builds successfully
and i managed to remove the patch thing
tar -xf v6.12-rc6.tar
cd linux-6.12-rc6/
make LLVM=/opt/aomp/aomp/llvm/bin/ olddefconfig
echo '
CONFIG_AMD_MEM_ENCRYPT=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_LTO=y
CONFIG_LTO_CLANG=y
CONFIG_LTO_CLANG_FULL=y' >> .config
make LLVM=/opt/aomp/aomp/llvm/bin/ KCFLAGS=' -march=znver4 -mtune=znver4' -j1 all

-j1 ? using -J8 or so causes out of memory
and i got even gives more details on the error.
  CC      mm/gup.o
clang: /home/user/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:235: llvm::SDNode* {anonymous}::DAGCombiner::getNextWorklistEntry(): Assertion `N->getCombinerWorklistIndex() >= 0 && "Found a worklist entry without a corresponding map entry!"' failed.
PLEASE submit a bug report to https://github.com/ROCm-Developer-Tools/aomp and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /opt/aomp/aomp/llvm/bin/clang -Wp,-MMD,mm/.gup.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ --target=x86_64-linux-gnu -fintegrated-as -Werror=unknown-warning-option -Werror=ignored-optimization-argument -Werror=option-ignored -Werror=unused-command-line-argument -fmacro-prefix-map=./= -Werror -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=branch -fno-jump-tables -m64 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mstack-alignment=8 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mretpoline-external-thunk -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fstack-protector-strong -fomit-frame-pointer -ftrivial-auto-var-init=zero -fno-stack-clash-protection -falign-functions=16 -fstrict-flex-arrays=3 -fno-strict-overflow -fno-stack-check -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-gnu -Wvla -Wno-pointer-sign -Wcast-function-type -Wimplicit-fallthrough -Werror=date-time -Werror=incompatible-pointer-types -Wenum-conversion -Wextra -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-format-overflow -Wno-format-overflow-non-kprintf -Wno-format-truncation-non-kprintf -Wno-override-init -Wno-pointer-to-enum-cast -Wno-tautological-constant-out-of-range-compare -Wno-unaligned-access -Wno-enum-compare-conditional -Wno-enum-enum-conversion -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-sign-compare -Wno-unused-parameter -march=znver4 -mtune=znver4 -DKBUILD_MODFILE=\"mm/gup\" -DKBUILD_BASENAME=\"gup\" -DKBUILD_MODNAME=\"gup\" -D__KBUILD_MODNAME=kmod_gup -c -o mm/gup.o mm/gup.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module 'mm/gup.c'.
4.	Running pass 'X86 DAG->DAG Instruction Selection' on function '@follow_page_pte'
 #0 0x0000747436ded5fc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0x9ed5fc)
 #1 0x0000747436deaad4 llvm::sys::CleanupOnSignal(unsigned long) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0x9eaad4)
 #2 0x0000747436cd7c10 CrashRecoverySignalHandler(int) CrashRecoveryContext.cpp:0:0
 #3 0x0000747435e4c1d0 (/usr/lib/libc.so.6+0x3d1d0)
 #4 0x0000747435ea53f4 (/usr/lib/libc.so.6+0x963f4)
 #5 0x0000747435e4c120 raise (/usr/lib/libc.so.6+0x3d120)
 #6 0x0000747435e334c3 abort (/usr/lib/libc.so.6+0x244c3)
 #7 0x0000747435e333df (/usr/lib/libc.so.6+0x243df)
 #8 0x0000747435e44177 (/usr/lib/libc.so.6+0x35177)
 #9 0x000074743799a4df llvm::SelectionDAG::Combine(llvm::CombineLevel, llvm::AAResults*, llvm::CodeGenOptLevel) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0x159a4df)
#10 0x0000747437c0f87f llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0x180f87f)
#11 0x0000747437c14009 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0x1814009)
#12 0x0000747437c15b20 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0x1815b20)
#13 0x0000747437bfeb33 llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0x17feb33)
#14 0x000074743743c490 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.0) MachineFunctionPass.cpp:0:0
#15 0x0000747437010124 llvm::FPPassManager::runOnFunction(llvm::Function&) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0xc10124)
#16 0x0000747437010571 llvm::FPPassManager::runOnModule(llvm::Module&) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0xc10571)
#17 0x0000747437010f74 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0xc10f74)
#18 0x0000747440294a7d clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libclang-cpp.so.20.0_AOMP_STANDALONE_20.0-1+0x2694a7d)
#19 0x000074744082250d clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libclang-cpp.so.20.0_AOMP_STANDALONE_20.0-1+0x2c2250d)
#20 0x000074743e82174c clang::ParseAST(clang::Sema&, bool, bool) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libclang-cpp.so.20.0_AOMP_STANDALONE_20.0-1+0xc2174c)
#21 0x00007474415142b9 clang::FrontendAction::Execute() (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libclang-cpp.so.20.0_AOMP_STANDALONE_20.0-1+0x39142b9)
#22 0x000074744148b0ee clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libclang-cpp.so.20.0_AOMP_STANDALONE_20.0-1+0x388b0ee)
#23 0x00007474415ba0b7 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libclang-cpp.so.20.0_AOMP_STANDALONE_20.0-1+0x39ba0b7)
#24 0x0000644659275004 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/opt/aomp/aomp/llvm/bin/clang+0x15004)
#25 0x000064465926b9c0 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&) driver.cpp:0:0
#26 0x0000747440fc23f9 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const::'lambda'()>(long) Job.cpp:0:0
#27 0x0000747436cd80a2 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libLLVM.so.20.0_AOMP_STANDALONE_20.0-1+0x8d80a2)
#28 0x0000747440fc48a6 clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const (.part.0) Job.cpp:0:0
#29 0x0000747440f78d8c clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libclang-cpp.so.20.0_AOMP_STANDALONE_20.0-1+0x3378d8c)
#30 0x0000747440f79de1 std::_Function_handler<void (), clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const::'lambda'()>::_M_invoke(std::_Any_data const&) Compilation.cpp:0:0
#31 0x0000747440f7fc59 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libclang-cpp.so.20.0_AOMP_STANDALONE_20.0-1+0x337fc59)
#32 0x0000747440f8cc94 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/opt/aomp/aomp_20.0-1/lib/llvm/lib/libclang-cpp.so.20.0_AOMP_STANDALONE_20.0-1+0x338cc94)
#33 0x000064465927112e clang_main(int, char**, llvm::ToolContext const&) (/opt/aomp/aomp/llvm/bin/clang+0x1112e)
#34 0x000064465926af54 main (/opt/aomp/aomp/llvm/bin/clang+0xaf54)
#35 0x0000747435e34e08 (/usr/lib/libc.so.6+0x25e08)
#36 0x0000747435e34ecc __libc_start_main (/usr/lib/libc.so.6+0x25ecc)
#37 0x000064465926afb5 _start (/opt/aomp/aomp/llvm/bin/clang+0xafb5)
clang: error: clang frontend command failed with exit code 134 (use -v to see invocation)
AOMP_STANDALONE_20.0-1 clang version 20.0.0_AOMP_STANDALONE_20.0-1 (https://github.com/ROCm/llvm-project ec10765630e87e113dbe4936b58138d876700d5b)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/aomp/aomp_20.0-1/lib/llvm/bin
Build config: +assertions
Configuration file: /opt/aomp/aomp_20.0-1/lib/llvm/bin/clang.cfg
clang: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/gup-a671a3.c
clang: note: diagnostic msg: /tmp/gup-a671a3.sh
clang: note: diagnostic msg:

********************
make[3]: *** [scripts/Makefile.build:229: mm/gup.o] Error 1
make[2]: *** [scripts/Makefile.build:478: mm] Error 2
make[1]: *** [/home/user/build/pkgbuilds/linux-cachyos-rc/4th/1st/linux-6.12-rc6/Makefile:1936: .] Error 2
make: *** [Makefile:224: __sub-make] Error 2

gup-a671a3.sh.txt
gup-a671a3.c.txt
added .txt to attach files

Oddly this seems to me to be the same as an issue reported a while back: see https://github.com/CachyOS/kernel-patches/issues/48, https://github.com/llvm/llvm-project/issues/82896, https://github.com/llvm/llvm-project/issues/72026. The fix landed in our fork a while ago, and as far as I understand aomp should be pulling an up-to-date llvm, so I'm not sure why this is showing up again. Do you see this issue without aomp (i.e. is this issue isolated to aomp-provided llvm)?

replacing LLVM=/opt/aomp/aomp/llvm/bin/ with LLVM=1
CONFIG_CC_VERSION_TEXT="clang version 18.1.8"
no error
after aomp rebuild, error
CONFIG_CC_VERSION_TEXT="AOMP_STANDALONE_20.0-1 clang version 20.0.0_AOMP_STANDALONE_20.0-1 (https://github.com/ROCm/llvm-project ec10765630e87e113dbe4936b58138d876700d5b)"
before aomp rebuild, error
CONFIG_CC_VERSION_TEXT="AOMP_STANDALONE_20.0-1 clang version 20.0.0_AOMP_STANDALONE_20.0-1 (https://github.com/ROCm/llvm-project ec10765630e87e113dbe4936b58138d876700d5b)"

Thanks for the quick response! I'll take a look at this.

also reading llvm/llvm-project#72026 i remember trying x86-64-v3 and still getting error
CONFIG_AMD_MEM_ENCRYPT=y & CONFIG_LTO_NONE=y
KCFLAGS=' -march=znver4'
ohh it does 'get stuck on gup.o, it will take a few hours and 20GB RAM before giving error'  with LTO off
KCFLAGS=' -march=x86-64-v3' error
KCFLAGS=' -march=x86-64-v2' builds

Interesting, does lscpu | grep bmi report bmi1 support?

lscpu | grep bmi
...bmi1 avx2 smep bmi2...

no patches & eventually started rm & tar -xf after every attempt.
Yes, fresh olddefconfig & echo
those 4 lines after extracting tar file reproduced. (takes so long to finally stack dump, instead of just seeing it stuck on gup.o and saying it will error)
so, kcflags only needs -mbmi or any march that uses it
the -j# can be any amount of threads
and CONFIG_AMD_MEM_ENCRYPT=y can be replaced with (without x2apic and irq, tdx gets ignored?)
CONFIG_IRQ_REMAP=y
CONFIG_X86_X2APIC=y
CONFIG_INTEL_TDX_GUEST=y

AMD_MEM_ENCRYPT & INTEL_TDX_GUEST both have same difference from fresh olddefconfig (and some others they dont share)
CONFIG_DYNAMIC_PHYSICAL_MASK=y
CONFIG_X86_MEM_ENCRYPT=y
CONFIG_ARCH_HAS_CC_PLATFORM=y
CONFIG_UNACCEPTED_MEMORY=y
CONFIG_ARCH_HAS_FORCE_DMA_UNENCRYPTED=y

can set CONFIG_ARCH_HAS_CC_PLATFORM=y by itself and it builds.

Haven't been able to reproduce this so far; granted, I'm on different hardware, so this could be a hardware-specific issue. It takes a while, but I've been able to build the kernel with all the combinations of flags you've listed as failing. I'll have to test this on other hardware and report back.

i do have a old computer, bdver3, so tried with it...and it builds?
copied /opt/aomp/aomp/llvm from 1st to 2nd
tried AMD_MEM_ENCRYPT with -mbmi
to make sure i set LLVM correctly, removed bin and it errored
checked  .config after build for AMD_MEM_ENCRYPT, its present
ill try building march=znver4 on my bdver3-pc?

Sorry, still not able to reproduce this. I do see a single report of that asm constraint error, but we were also unable to reproduce that when it occurred. I also don't see this being reported elsewhere, so perhaps something specific to your configuration is throwing this off. You can try this with upstream llvm, as aomp should just be pulling from upstream, and can report it in upstream llvm if you see the issue there as well.
I'm closing this for now, but if I find a reproducer for this or if others are reporting this we can reopen to investigate further.

ROCm/llvm-project    error
cd $AOMP_REPOS/llvm-project
git pull
cmake -S llvm -G Ninja -B build -DLLVM_USE_LINKER=lld -DLLVM_ENABLE_PROJECTS="clang;lld" -DTARGETS_TO_BUILD="X86" -DLLVM_ENABLE_BINDINGS=OFF -DCMAKE_BUILD_TYPE=Release
ninja -C build
tar -xf v6.12-rc6.tar
cd linux-6.12-rc6/
make LLVM=$AOMP_REPOS/llvm-project/build/bin/ KCFLAGS=' -mbmi' olddefconfig
echo 'CONFIG_AMD_MEM_ENCRYPT=y' >> .config
make LLVM=$AOMP_REPOS/llvm-project/build/bin/ KCFLAGS=' -mbmi'  -j15 all

llvm/llvm-project    builds
cd $AOMP_REPOS
mkdir notfork
cd notfork
git clone https://github.com/llvm/llvm-project.git
cmake -S llvm -G Ninja -B build -DLLVM_USE_LINKER=lld -DLLVM_ENABLE_PROJECTS="clang;lld" -DTARGETS_TO_BUILD="X86" -DLLVM_ENABLE_BINDINGS=OFF -DCMAKE_BUILD_TYPE=Release
ninja -C build
tar -xf v6.12-rc6.tar
cd linux-6.12-rc6/
make LLVM=$AOMP_REPOS/notfork/llvm-project/build/bin/ KCFLAGS=' -mbmi' olddefconfig
echo 'CONFIG_AMD_MEM_ENCRYPT=y' >> .config
make LLVM=$AOMP_REPOS/notfork/llvm-project/build/bin/ KCFLAGS=' -mbmi'  -j15 all

could it be system libraries? its gonna be archlinux again...

authors: Cfouria ppanchad-amd schung-amd


text:
Extend reference operators to support dynamic shapes

Ref Imp needs to support dynamic sizes
Update assert in eval to account for  dynamic shapes when checking output shape of compute

The progress on updating the reference operators can be seen in the MIGX operator support tables.

This can now close I believe

repo: ROCmSoftwarePlatform/AMDMIGraphX


text:
Add verify namespace for better symbol resolution

verify.hpp has symbols like max, sum, max_diff etc. which could interfere with some other symbols in other files.
For example generate.hpp and verify.hpp can not be included inside a same header file, it would throw warning about max being shadowed by another declaration.
Putting verify.hpp inside another namespace would solve it.

LGTM. Style question: what's our stance on using directives (using namespace migraphx::verify) and using declarations (using migraphx::verify::verify_range)?

I think we can use the using directive as long as it doesn't create the same symbol resolution problem. I don't see using directive being used except for couple of places inside the tests though.

LGTM. Style question: what's our stance on using directives (using namespace migraphx::verify) and using declarations (using migraphx::verify::verify_range)?

Not using fully qualified names will be looked up using ADL, which means it could use a different function. For example, if its a custom data type and it has a verify_range function in its namespace then the compiler will pick that over the one in migraphx::verify namespace.
In general, using declarations should only be used for customization points(ie std::swap, std::begin, std::end, etc).


text:
Fix pdb tt gt vw

fixes bug with vectorstore==0, for real

Please fix the pyflakes issue ASAP and resolve Scott's question.  We're planning to do our monthly merge Thursday evening.  Thanks so much.

Extended passed for arcturus on a standalone desktop.

yes that was typo. oops

authors: bensander zaliu

repo: ROCmSoftwarePlatform/Tensile

license: mit

license_source: bigquery


text:
BUG: Vanilla vim motion for repeating f/t operation etc... stops working in visual mode

Consider this piece of text:
http://www.test.com/asd/asd.
Let's say I want to visual select from http to the last slash.
I would go to the beginning of the line and press v to enter visual mode and then press f/.
This will highlight http:/. However, if I want to repeat this search while in visual mode, I have to press
; repeatedly to highlight to the /, but that operation does not work with this plugin (i.e. it doesn't
move the cursor forward and highlight the up to the next /)

Then use a different keymap for nvim-treesitter-textsubjects config. This is configured in your own dotfiles, not in the plugin, the readme just offers a possible suggestion for a keymap which you have full control over configuring.

authors: RRethy shaun-mathew

repo: RRethy/nvim-treesitter-textsubjects


text:
Golem Bridge failed with error 503

HttpException: https://rss.golem.de/rss.php?feed=ATOM1.0 resulted in `503 Service Unavailable` in lib/contents.php line 194

index.php(7): RssBridge->main()
lib/RssBridge.php(15): RssBridge->run()
lib/RssBridge.php(88): DisplayAction->execute()
actions/DisplayAction.php(133): GolemBridge->collectData()
bridges/GolemBridge.php(62): FeedExpander->collectExpandableDatas()
lib/FeedExpander.php(103): getContents()
lib/contents.php(194)

Query string: action=display&bridge=GolemBridge&category=https%3A%2F%2Frss.golem.de%2Frss.php%3Ffeed%3DATOM1.0&limit=50&format=Atom
Version: dev.2022-06-14
Os: Linux
PHP version: 8.0.28

I'm getting this error a couple of times a day now. The Golem.de-feed itself is working every time I check it directly afterwards, so I'm not sure why this 503 is happening.
Often one or two reloads of the Bridge-feed are enough to get it working again and the last time this error happened was today at 08:10 (I update my feeds every hour at XX:10).
@Mynacol

After some days where the bridge worked fine for me, I got the error again today at 13:10:
HttpException: https://rss.golem.de/rss.php?feed=ATOM1.0 resulted in `503 Service Unavailable` in lib/contents.php line 194

index.php(7): RssBridge->main()
lib/RssBridge.php(15): RssBridge->run()
lib/RssBridge.php(88): DisplayAction->execute()
actions/DisplayAction.php(133): GolemBridge->collectData()
bridges/GolemBridge.php(62): FeedExpander->collectExpandableDatas()
lib/FeedExpander.php(103): getContents()
lib/contents.php(194)

Query string: action=display&bridge=GolemBridge&category=https%3A%2F%2Frss.golem.de%2Frss.php%3Ffeed%3DATOM1.0&limit=50&format=Atom
Version: dev.2022-06-14
Os: Linux
PHP version: 8.0.28

Thanks for looking into it!
I also don't think that the errors should be hidden. I already thought about filtering them within my feedreader itself. Either that or I will now configure it as an HTTP error instead, thanks for the pointer!
Also, I guess this issue can be closed then? Would be fine for me at least.

repo: RSS-Bridge/rss-bridge

license: unlicense


text:
Pinterest bridge no longer seems to be working

RSS bridge now returns empty results for Pinterest results.
Example url: https://www.pinterest.com/ashie235/photography/
Atom RSS feed output - https://ghostbin.com/paste/dqbya
I also noticed that Pinterest seems to have a rss feed if you amend .rss at the end of the URL - https://www.pinterest.com/ashie235/photography.rss/
The only issue is that it gives you a small picture as opposed to the actual one.
In RSS feed - https://s-media-cache-ak0.pinimg.com/236x/44/ce/2c/44ce2cfa6267fde44790205135a78051.jpg
actual picture - https://s-media-cache-ak0.pinimg.com/564x/44/ce/2c/44ce2cfa6267fde44790205135a78051.jpg
Changing 236x to 564x in URL provides the full picture.

Hello! Did someone find a fix this?
I believe html from Pinterest boards have changed and now the parsing is broken. Btw, I don't know if I'm missing something, but source code of Pinterest boards look horrible, like it was purposefully made to be hard to parse!?
I've tried to duck-tape something from the existing PinterestBridge, but it didn't work.

I believe html from Pinterest boards have changed and now the parsing is broken. Btw, I don't know if I'm missing something, but source code of Pinterest boards look horrible, like it was purposefully made to be hard to parse!?

At least it was not prepared to be parsed easily. They most probably use some code generator with minifier to remove any unnecessary whitespace in order to reduce bandwidth, though it seems to be implemented very poorly as only certain parts are affected. You can paste the HTML in a compatible beautifier to make it readable again (this one for example).

I've tried to duck-tape something from the existing PinterestBridge, but it didn't work.

Since they now return RSS feeds by the means described above, we can make use of the FeedExpander. I got a working version already, though only for a given username and board. It won't work for searches. However they provide a gigantic amount of JSON-Data in their HTML, so I'll play around with it a bit and see what I can make of it.

Thanks for the explanation.
Please share the implementation using FeedExpander. That would be good enough, at least for my needs.

I would like to see how it was implemented. FeedExpander seems like more simple and easy way to get started with bridges :)

Please share the implementation using FeedExpander. That would be good enough, at least for my needs.

Hmm okay, I just finished a full implementation using the JSON data (it provides a bit more data than the RSS). The bridge now provides both approaches (via provided RSS or optionally using the custom parser) though it is not an easy read.
For a better reference please take a look at the wiki and one of the bridges already using it, like Acrimed.

Hi! Thanks for the update.
There is one issue. When using by username and board, returned RSS contains links to low resolution images (236x instead of 736x), its the same as using RSS directly from Pinterest.
Checking "Use provided RSS" on/off doesn't make any difference, but using "From search" method works as expected – shows large images.

Should be fixed now.

It works! Thanks.
But this code is beyond my level of understanding, I will have to start with something simpler :)

authors: LogMANOriginal g9209 izumitelj


text:
[BAEBridge] Implement bridge for bourse-aux-equipiers.com

My little contribution to rss-bridge ⛵

Thanks for the bridge ! However, I can't manage to make it work... Does it work on your end ?

Haha I'll fix this because they just updated the website to a new version, things that didn't happened since years :)

Now it also works on my end. Merged. Thanks for the PR!

authors: LogMANOriginal couraudt teromene


text:
fast_inference什么时候支持V2？还是直接v1的代码可以直接加载v2模型？

fast_inference什么时候支持V2？还是直接v1的代码可以直接加载v2模型？
我试了fast_inference现在推理v2模型无法返回音频
V1和V2是不是只有symbols变了，导致text_embedding变了，其他都是一模一样的？

已实现

请问解决方法是和您所提出的思路一样吗？

authors: AnonymousmousCoder LLLYF

repo: RVC-Boss/GPT-SoVITS


text:
如何避免中英文混合時英文帶有特殊的口音/腔調?

在使用中英文混合時，在念英文單詞、短句時(PS. 長句通常比較正常)，會發生某些單詞的重音很奇怪的情形。
特別是第一個字和最後一個字，或是三音節字，重音基本上都不對，像是帶有某些特殊腔調或口音的樣子。
舉例來說 disappear 應該發音為/ˌdɪs.əˈpɪr/， 但是實際合成聽起來更像是/ˈdɪs.əpɪr/
這會是底膜訓練資料帶來的問題嗎? 有什麼可以減少或改善的方案嗎?

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."


text:
For some reason I can't open the easyGUI. I get this instead. What does it mean?

fixed it with pip install gradio_client==0.8.1

fixed it with pip install gradio_client==0.8.1

How do i do that? Sorry, I don't really know much about this stuff TT


text:
SqliteDict read-only mode should not create table

The current behavior of SqliteDict is to always create the table it should operate on.  Would a PR be accepted to change this behavior, for mode='r', to not to create a table?
The behavior in sqlitedict right now is as follows:
$ python3
>>> from sqlitedict import SqliteDict
>>> db = SqliteDict('sqlite3.db', 'nonexistant-table', mode='r')
>>> <ctrl-d>
$ sqlite3 sqlite3.db
sqlite> .tables
nonexistant-table
sqlite> .quit
$

Hm, interesting question. I have no preference either way – how did this come up for you? What's your motivation, use-case where this makes a difference? CC @mpenkov thoughts?

Hm, interesting question. I have no preference either way – how did this come up for you? What's your motivation, use-case where this makes a difference? CC @mpenkov thoughts?

Yeah, I think it wouldn't be a bad idea, because it's quite unexpected to modify something by opening it for reading.
I think the expected behavior in the above case would be something like a ValueError being raised if the table does not exist.

Yeah, I think it wouldn't be a bad idea, because it's quite unexpected to modify something by opening it for reading.
I think the expected behavior in the above case would be something like a ValueError being raised if the table does not exist.

I would like to keep things fairly consistent with how things work right now.  Raising an exception would be a new workflow.
I think it would be reasonable for .commit to raise an exception on a read-only db but it should be OK to open a SqliteDict without problem even if the table does not exist.
>>> d=SqliteDict('foo.db', flag='r')
>>> d['foo']='bar'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/site-packages/sqlitedict.py", line 249, in __setitem__
    raise RuntimeError('Refusing to write to read-only SqliteDict')
RuntimeError: Refusing to write to read-only SqliteDict
>>> d.commit()
>>> d
SqliteDict(foo.db)
>>> dict(d)
{}
>>>

I would like to keep things fairly consistent with how things work right now.  Raising an exception would be a new workflow.
I think it would be reasonable for .commit to raise an exception on a read-only db but it should be OK to open a SqliteDict without problem even if the table does not exist.
>>> d=SqliteDict('foo.db', flag='r')
>>> d['foo']='bar'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/site-packages/sqlitedict.py", line 249, in __setitem__
    raise RuntimeError('Refusing to write to read-only SqliteDict')
RuntimeError: Refusing to write to read-only SqliteDict
>>> d.commit()
>>> d
SqliteDict(foo.db)
>>> dict(d)
{}
>>>

Hm, interesting question. I have no preference either way – how did this come up for you? What's your motivation, use-case where this makes a difference?
CC @mpenkov thoughts?

The use case is somewhat bespoke but IMO not unreasonable. I am using SqliteDict to store user account data and I am bolting on an authentication workflow onto this now. The table name is basically the username and the dict is all the user account data for that user.  In the authentication workflow the auth service checks the passwd field in the user account details (stored as a SqliteDict). However, if the username does not exist I do not want the db to change. So, I either have to store valid usernames in a separate db or allow rouge usernames to be created by the auth service.

Internet botnet tries to login as "admin", "root" etc.
reverse proxy calls out to auth service
auth service probes Sqlite('accounts.db', username) for the 'password' field (pw hash)
If they match, allow request, otherwise deny.

The problem right now is that in step 3 the auth service will populate the db with random username that people are trying to login as. Valid or invalid.

Hm, interesting question. I have no preference either way – how did this come up for you? What's your motivation, use-case where this makes a difference?
CC @mpenkov thoughts?

The use case is somewhat bespoke but IMO not unreasonable. I am using SqliteDict to store user account data and I am bolting on an authentication workflow onto this now. The table name is basically the username and the dict is all the user account data for that user.  In the authentication workflow the auth service checks the passwd field in the user account details (stored as a SqliteDict). However, if the username does not exist I do not want the db to change. So, I either have to store valid usernames in a separate db or allow rouge usernames to be created by the auth service.

Internet botnet tries to login as "admin", "root" etc.
reverse proxy calls out to auth service
auth service probes Sqlite('accounts.db', username) for the 'password' field (pw hash)
If they match, allow request, otherwise deny.

The problem right now is that in step 3 the auth service will populate the db with random username that people are trying to login as. Valid or invalid.

Thanks, that makes sense. Yes, a separate table (not DB) with valid usernames makes sense – as long as you can keep it in sync with the corresponding user tables (atomic operations).

.commit to raise an exception on a read-only db but it should be OK to open a SqliteDict without problem even if the table does not exist.

Isn't that what happens now? I don't follow.

Thanks, that makes sense. Yes, a separate table (not DB) with valid usernames makes sense – as long as you can keep it in sync with the corresponding user tables (atomic operations).

.commit to raise an exception on a read-only db but it should be OK to open a SqliteDict without problem even if the table does not exist.

Isn't that what happens now? I don't follow.

Isn't that what happens now? I don't follow.

Per my example it does not look like .commit raises an exception on a read-only db.  It does however raise an exception on assignment. I am not sure that I agree that the semantics are right.  IMO it should raise an exception on commit and not on assignment.  If autocommit is true it should raise an exception on assignment, as that should implicitly commit.

Isn't that what happens now? I don't follow.

Per my example it does not look like .commit raises an exception on a read-only db.  It does however raise an exception on assignment. I am not sure that I agree that the semantics are right.  IMO it should raise an exception on commit and not on assignment.  If autocommit is true it should raise an exception on assignment, as that should implicitly commit.

authors: hholst80 mpenkov piskvorky

repo: RaRe-Technologies/sqlitedict


text:
Android Port

Just Android Port

Android Port

whoever this was, fuck you

authors: MaysLastPlay MemeHoovy

repo: Radhew/Salt-Engine


text:
WindsorConfigurationAttribute in order to support the removal of Ktulu

introduce also some extention methods to retrieve the "Contract" interface and the Configuration.

dependency removed

repo: RadicalFx/Radical


text:
Is there any way to automate basic Window operations such as OpenViewMessage?

OpenViewMessage?
AsDialog : bool
OwnerViewModel : object

replaced by https://github.com/RadicalFx/Radical.Windows/issues/153


text:
[FR] Select folder destination in case of choose another source different to current_folder

Describe the bug
The database becomes unresponsive when a new row is inserted via the row template and must be reloaded by clicking on another note before the change is recognized and changes can be made to the entry. This can also be reproduced when no row template is present as well.
To Reproduce
Steps to reproduce the behavior:

Type in name of new row then click plus sign OR click plus sign for new row.
Click on any column of new row and it will not respond.
Click on another note.
Click back on database to reload and you should now be able to edit columns for that row.

Expected behavior
Row columns should be able to be edited after creation without a manual reload.
Screenshots
See video screen capture. (Apologies for the resolution.)
Desktop (please complete the following information):

OS: masOS Monterey - Version 12.5.1
Version: Obsidian Version 0.15.9 (Installer 0.15.8); DB Folder Version 2.3.3

Additional context
New notes are being moved to appropriate folder via the Auto Note Mover plugin upon creation.
https://user-images.githubusercontent.com/106125987/188204202-9054c16c-2f07-4138-9329-d02220850f4b.mov

Could you share the console errors?
MacOS cmd+shift+I
Windows Ctrl+shift+I
I can not reproduce it, maybe the cause is the own template?

Attached
obsidian.md-1662142880047.log

plugin:auto-note-mover:1850 [Auto Note Mover] Moved the note "Test File.md" to the "TV SERIES DATABASE/TV EPISODE RELEASES".
app.js:1 Uncaught TypeError: Cannot read properties of null (reading 'frontmatter')
looks lime you have another plugin(auto-note-mover) that moves the new note so it cant be edited

Ah, I see what you mean.
I was trying to keep the database outside of its source folder because I did not want the database to get lost inside of the source folder.
I set up the source to be a certain tag (tv_episode) as I found this would allow the database to be outside of the source folder and I would not have to have "current_folder" selected. I would have had the source set up to a query, querying the source folder ("Life/TV SERIES DATABASE/TV EPISODE RELEASES", however I could not get that to work. Hence, this is also why I chose to go with the Auto Note Mover plugin, so once it was created, it could move it to the desired folder. I could set Auto Note Mover to do this manually after I have created and edited the entry note.
I am open to any other suggestions. However, it might be valuable if someone wants the database to be out of the source folder in another place, and have the new entry go into the desired source folder without another plugin involved.

My proposal: In case a source other than the current folder is selected, show an optional configuration with the destination of new files. I can include it in the roadmap as a new feature

In fact I want to include it with https://github.com/RafaelGB/obsidian-db-folder/issues/126
So this issue could be a subtask =)

https://user-images.githubusercontent.com/11924043/188269999-45191491-272e-4c8d-9b2e-c538587a0b36.mov

Wow! I think that could be a great option!

avaliable with 2.3.4

repo: RafaelGB/obsidian-db-folder


text:
[extremely low priority] [early DLC Spoiler]

This will probably never be implemented given the effort-benefit ratio, but it would be neat if you could actually grab and turn the rotating devices on the Stranger rather than using buttons.

Related: are LOOK arrows really necessary when watching a slide reel?

repo: Raicuparta/nomai-vr


text:
🛑 RSOS服务控制面板 is down

In 0e86a86, RSOS服务控制面板 (https://$US_SITE) was down:

HTTP code: 530
Response time: 281 ms

Resolved: RSOS服务控制面板 is back up in 68c6274 after 15 minutes.

repo: RainThings/uptime


text:
🛑 US区服 is down

In 330ff8e, US区服 (https://$US_SERVER) was down:

HTTP code: 0
Response time: 0 ms

fixing

Resolved: US区服 is back up in 2251a32.


text:
Durandal JS wrapShim Configration with grunt issue

I am trying to do wrapShim for external js file which is not coming under AMD and so can not include code under same define on code generation via grrunt. So, where exactly i should put wrapShim: true i am not getting.
Following is basic configuration code fraction for grunt durandal where i innserted wrapShim
durandal: {
                main: {
                    src: ['app/**/*.*', 'lib/durandal/**/*.js'],
                    options: {
                        name: '../lib/require/almond-custom',
                        baseUrl: requireConfig.baseUrl,
			wrapShim: true,
                        mainPath: 'app/main',
                        paths: mixIn({}, requireConfig.paths, { 'almond': '../lib/require/almond-custom.js' }),
                        exclude: [],
                        optimize: 'none',
                        out: 'build/app/main.js'
                    }
                }
            },

Sorry to say, but this repo is four years old and Durandal is no longer maintained.
You might want to take a look at http://aurelia.io/ instead.

authors: RainerAtSpirit malaythecool

repo: RainerAtSpirit/HTMLStarterKitPro


text:
sqlcipher question

In your library, SQLCipher gets the secret like this:
public class SQLCipherHelperImpl extends SQLCipherOpenHelper {

    public SQLCipherHelperImpl(BaseDatabaseDefinition databaseDefinition, DatabaseHelperListener listener) {
        super(databaseDefinition, listener);
    }

    @Override
    protected String getCipherSecret() {
        return "dbflow-rules";
    }
}

If I want to modify the secret, how to solve the problems like database migration?
I have added SQLCipher support to ActiveAndroid. And I manage the secret by a xml file like this:
<databases>
    <database version="1" password="***1"/>
    <database version="2" password="***2"/>
    ...
</databases>

I think this is not a good way, do you have any idea?

hm thats a great point. I did not know something like this existed. I will have to look into it a little more. How does SQLCipher work, does the secret change between database versions?

There would be OK, if the secret doesn't change.
After doing some practice, I found out a database can just have one secret, we cannot decrypt it by a historical or newly secret. So we should decrypt the database by the current secret and encrypt it by the new one, if we want to change the secret. SQLCipher work checklist like this:

current secret is empty, just encrypt it by the new secret
current secret is not empty and new one is empty, just decrypt it by current secret
current secret and new one is not empty, decrypt it by current secret and encrypt by the new one

SQLCipher may throw exception if not follow the step the. So, there will be something concerned to manage the secert. I'm happy to share my idea with u :)

not going to support it.

authors: Jackoder agrosner

repo: Raizlabs/DBFlow


text:
[Feature] Add Infix To Postfix and Prefix Calculator

Description
The program converts an infix mathematical expression to both postfix and prefix forms while displaying the conversion steps. It uses stacks to manage operators and parentheses. It reverses the input expression for processing, maintains precedence rules, and generates steps for both conversions, displaying them in separate tables.
Screenshots

Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

We already have Infix Prefix Postfix Calculator @its-kumar-yash

@Rakesh9100 but that doesn't show the steps in form of stack

You can enhance that calculator then and add more features @its-kumar-yash

Do you want to proceed @its-kumar-yash

@Rakesh9100 Yes

Provide your PR @its-kumar-yash

@Rakesh9100 I can do this

Proceed @Nishakulkarni06


text:
Add local installation guide video

Fixes Issue : #228
Closes #228
Description👨💻
Add a video that helps the contributor in local installation of project.
Type of change📄
Checklist✅

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have added demonstration in the form of GIF/video file
[X] I am an Open Source Contributor

Screenshots/GIF📷

@Rakesh9100 PTAL.

Can you upload the video in Readme insted of drive link @rahat2134

@Rakesh9100 hmm, i can do that. But i thought it would be better.
I will update it.
Thank you.

Can you upload the video in Readme instead of drive link @rahat2134

@Rakesh9100 i tried adding but its saying limitation of 10mb so i think it would be better if i add link.

Try compressing a bit to make it under 10MB without losing the quality @rahat2134

@Rakesh9100 done.

If done, then remove the drive link and upload the video directly @rahat2134

@Rakesh9100 i have removed the drive link and also uploaded the video directly. but don't know why its yet a type of link is visible.


text:
Redesign Footer for Improved User Experience

The current footer section is taking up excessive space on the page and is not visually appealing. The design is cluttered and lacks clear navigation, potentially hindering user interaction. To enhance the user experience, we propose redesigning the footer to be more compact, visually appealing, and user-friendly. This involves reducing the amount of content, reorganizing elements for better clarity, and incorporating more intuitive navigation options. By implementing these changes, we can create a footer that is both functional and aesthetically pleasing, contributing to a more positive overall user experience.
I would love to work on it , as for the pas days I have been working on GSSOc repos and Hacktoberfest ones to contribute. Thanks

Sure @kekubhai assigning the issue to you,
Kindly provide an image of the design you would like to add then send a PR

I was thinking of adding an bg to the footer with this this :

I guess It would go great, tell me what you like or adding a starry theme footer bg will be good ?

Ummm, not this one, can you find something new and unique. It will make the website heavier and slower.

Yeah you are right right . I guess I will find some great static designs and when I am done I will show you how it looks, ASAP

hey there , Check this one :

I guess this goes good with the UI and the overall background. Should I add a PR ?

Okay this one looks better @kekubhai.
Update this one

Good to hear that you liked it.  Raising a PR . Thank you.

authors: Rakshit-gen kekubhai

repo: Rakshit-gen/Slanine


text:
Include native dependencies in META6.json

It needs node, and perl and some more stuff. We should clearly put it in the META6.json, so that it at least fires an error report if you try to install it without them.

Oh, I thought those dependencies could not be included in the META6.json. Is documented anywhere?

Best way is to check out Inline::Python META6.json. Not documented... yet.
El lun., 22 jun. 2020 a las 11:12, Antonio (notifications@github.com)
escribió:

Oh, I thought those dependencies could not be included in the META6.json.
Is documented anywhere?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Raku/Documentable/issues/96#issuecomment-647391097,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAD5DU7B7JKSGCXEP46DDRX4OBNANCNFSM4N7KMUXA
.

--
JJ

If you specify python2.7 it works:
  "depends": [
    "python2.7:from<native>"
  ],

Nonetheless, if you try it with node or perl it won`t work.
  "depends": [
    "node:from<native>",
    "perl:from<native>",
  ],

I think the problem is in this check at Zef. It uses is native to know is a native module is installed (check the docs).
If you run that code with "python2.7" as literal:
use NativeCall;
sub native_library_is_installed() is native("python2.7") {
    !!!
}
native_library_is_installed();

the output will be:
Cannot locate symbol 'native_library_is_installed' in native library 'libpython2.7.so'
  in method setup at /home/antonio/.rakudobrew/versions/moar-2020.06/install/share/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 298
  in block native_library_is_installed at /home/antonio/.rakudobrew/versions/moar-2020.06/install/share/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 587
  in block <unit> at testing_native.p6 line 6

So the function will return True, because the .so file has been loaded correctly. Nonetheless, if you try the same with node or perl, you will get:
Cannot locate native library 'libperl.so': libperl.so: cannot open shared object file: No such file or directory
  in method setup at /home/antonio/.rakudobrew/versions/moar-2020.06/install/share/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 298
  in block native_library_is_installed at /home/antonio/.rakudobrew/versions/moar-2020.06/install/share/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 587
  in block <unit> at testing_native.p6 line 6

I do not know if this a bug or the expected behavior, I will open an issue in Zef.

Docker containers used for testing must be updated to meet the unmet dependencies.

OK, I can do that.

Don't worry, it's already done.

@JJ why perl is a dependency? It is not used in Documentable.

It's used to generate CSS and/or launch web server via Mojo.

But that's not part of Documentable job. CSS is generated by sass utility, provided by ruby-sass.

Not strictly, yes, but you need it to generate resources or to serve them
El lun., 22 jun. 2020 17:56, Antonio notifications@github.com escribió:

But that's not part of Documentable job. CSS is generated by sass
utility, provided by ruby-sass.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Raku/Documentable/issues/96#issuecomment-647612630,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAD5ASSDOMUVOIBK5XTQ3RX55JHANCNFSM4N7KMUXA
.

What resources are generated by perl? And due to it's a static site, each user should be able to choose the tool to serve the site.

authors: JJ antoniogamiz

repo: Raku/Documentable


text:
Fixed corrupted font file

This resolves the issue where "fl" and "fi" were not rendering correctly

:+1:

good catch!

authors: ekong2 kevhuang stevenshuhyow

repo: Rallie-Team/rallie


text:
Feat:Preloader And Page Transition

Describe the feature
Preloaders and page transitions are UI/UX techniques used to enhance the user experience by providing smooth transitions between different states or pages in an application, making the app feel more responsive and polished. Here's a breakdown of these features in the context of a React application:
Add ScreenShots
Improved User Experience: Reduces perceived wait time by providing feedback and smooth transitions.
Polished UI: Makes the application feel more professional and responsive.
Visual Consistency: Maintains a cohesive feel when navigating through th
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a gssoc-24-extd contributor
[X] I want to work on this issue

go for it #25
assigned @itznayan

authors: RamakrushnaBiswal itznayan

repo: RamakrushnaBiswal/PlayCafe


text:
Implement orders view

The order view needs to give out only the orders of the current session
(The view is called index in the orders app
This means you need to take the orders from the session. It is a list (parsed in string because of session format) that contains the order id.
So you have to convert those ids to the actual Order objects using .objects.get() method. and send them to the template using this context structure: context = { "orders": <CURRENT_SESSION_ORDERS> }

completed in #96


text:
[Ajuda] Reinstalação Limpa do Sistema

Como faço a limpeza do sistema para reinstalação em uma nova maquina? o que tenho que remover ou alterar? seria bom atribuir a resolução dessa questão no README para futuros usuários. obrigado pela compreensão!

Parece que o problema foi resolvido e com isso vou fechar a issue.
Caso ainda precise de ajuda pode ainda comentar.


text:
Tests before merge

Clone master and test-run in Node-RED IDE to create current DB format. Make sure data is pulled and written. (you might have to temporarily change request config to simulate a previous run)
Keeping the DB, Clone the branch with the changes in and try to run and check that values are updated in the database

Master branch is currently broken and doesent write values.. Need to revert to an earlier commit to test if the DB changes work.

@st-randers: Found non aligned data-columns...
st-BIL-54 WRITES the data from the TID coloumn as RAW without converting. This change breaks the charts on the dashboard that expects a "Måned" column with an ISO8601 date...


text:
[MBP] Small marbles have broken collision

Title

Fixed in 1.6.0

repo: RandomityGuy/MBHaxe


text:
C API

#21
I wouldn't merge this just yet - there are a few ugly hacks in this. Wanted to run some ideas by you first.
So, the first thing is that I had to redefine all of the structs and typedefs. This is because they're scattered throughout the codebase in files with C++ code. My suggestion is that these structs and typedefs are instead put in some sort of XXX-Structs.h file or something.
Also, for many of the structs, I had to strip out the C++ convenience functions:

typedef struct q3Mat3
{
	q3Vec3 ex;
	q3Vec3 ey;
	q3Vec3 ez;
        // C++ convenience functions were here
} q3Mat3;

This would be an easy fix, just add #ifdef __cplusplus things around the convenience functions.
I was also not able to properly expose the classes to C, since classes aren't supported in C. I had to typedef them to void to get it to work:
// bootstrapped types

typedef void q3Body;
typedef void q3Scene;
typedef void q3BoxDef;
typedef void q3Quaternion;
typedef void q3ContactListener;
typedef void q3Render;

I might suggest changing these classes into structs, since it seems like OOP isn't being used anyway.
This last one I don't have any idea on how to tackle. Basically, I wrote the C API functions using a bunch of macros that basically called the original function in C++ (the EXPOSE macro). However, there's a bit of an issue with the pass-by-reference functions (with the & in the arguments). I can't generate them using EXPOSE. So I wrote a workaround for if the function had only pass-by-reference arguments (the PXPOSE macro, P for pointer). But unfortunately there were about 5 or 6 functions that had mixed pass-by-reference and pass-by-value, which I'd have to write by hand (and would be hell to maintain in the future).
My request is that all functions get rid of this pass-by-reference functionality and instead use regular pointers, unless if there's another solution I haven't thought of.

BTW, I should clarify, this compiles and works. But it's ugly.

Hi there! Very cool, I'm glad you took some time to make this. I'll have some time next week to look into it in detail. You're right, OOP is not used and so all member functions can be either hidden away or just converted to C code fairly easily. I think the idea of adding in a structs header is a good idea, but it might not be necessary if the opaque typedefs work out.
As for pass by value/reference, I actually really don't like references and would be completely happy to see them gone. Passing pointers and strictly by-value everything else would be a positive change.

No problem! Thanks for this awesome library :D
And cool, I'll start implementing these when I have time. This C API works for my use case so it may be a while before getting around to it.

Took a closer look. The macros look practical, but I would not want to pull them in in the current state. I think a proper solution would be to just re-write some of the source files in C form. This would be more or less a C port at that point, and someone is working on a C port right now for the Citro3D library (https://github.com/tommai78101/citro3d/tree/physics/source/physics). Personally I don't think I can dedicate time to a C port, and since you got it working for your purposes, all seems well for now :)

@rweichler I would encourage you to continue with your own C implementation port. My library is ported for the Nintendo 3DS family systems, and it is not for PC/Mac.

authors: RandyGaul rweichler tommai78101

license: Zlib


text:
Wrong conditions in slot pizza_size

Source code in tutorial has a mistake.
The conditions of slot mapping of pizza_type in current domain.yml file:
pizza_size:
  type: text
  influence_conversation: true
  mappings:
  - type: from_entity
    entity: pizza_size
    conditions:
    - active_loop: pizza_form
      requested_slot: pizza_size

This condition will cause slot pizza_size is never filled. Condition should be fixed as the following:
pizza_size:
    type: text
    influence_conversation: true
    mappings:
      - type: from_entity
        entity: pizza_size
        conditions:
          - active_loop: simple_pizza_form
            requested_slot: pizza_size
          - active_loop: fancy_pizza_form
            requested_slot: pizza_size

Thanks for raising this issue, @euklein will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗

authors: lamducanhndgv sara-tagger


text:
Adapt FallbackClassifier to new GraphComponent interface

Overview of the Solution:
Adapt the FallbackClassifier  to the new GraphComponent interface.
See the implementation proposal for further details.

adapt create and load functions to new signatures
implement required_packages and supported_languages
~adapt persistence~ (this component doesn't persist)
~split train and train process~ (this is not necessary for classifiers)
support multiple messages in process (make sure to handle empty messages)

Definition of Done:

[ ] FallbackClassifier adapted to the new GraphComponent interface
[ ] Unit tests are adapted to adapted component
[ ] Other tests (integration tests, etc.) don't break (because they'd (for now) still use the old component implementation)

@joejuzl Because this component doesn't persist, is it correct that I don't need to override the load class method?
It wasn't present in the component to start with.

authors: ancalita joejuzl

repo: RasaHQ/rasa


text:
fixing typo in conversation-driven-development file

Fixed a spelling mistake in the conversation-driven-development doc

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for submitting a pull request 🚀 @akelad will take a look at it as soon as possible ✨

authors: ApurvaMisra CLAassistant sara-tagger


text:
Install issue

Not sure which version of MySQL you are using on your local dev env?
But it does not migrate properly on
 mysql --version
mysql  Ver 8.0.23 for osx10.16 on x86_64

I think a solution would be to remove the default value
- v1.0.0 Initial Release of RatMD.BlogHub
Rollback failed! Reason: "SQLSTATE[42000]: Syntax error or access violation: 1101 BLOB, TEXT, GEOMETRY or JSON column 'posts' can't have a default value (SQL: create table `ratmd_bloghub_visitors` (`id` int unsigned not null auto_increment primary key, `user` varchar(64) not null, `posts` json not null default '[]', `created_at` timestamp null, `updated_at` timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci' engine = InnoDB)"

In Connection.php line 669:

  SQLSTATE[42000]: Syntax error or access violation: 1101 BLOB, TEXT, GEOMETRY or JSON column 'posts' can't have a default value (S
  QL: create table `ratmd_bloghub_visitors` (`id` int unsigned not null auto_increment primary key, `user` varchar(64) not null, `p
  osts` json not null default '[]', `created_at` timestamp null, `updated_at` timestamp null) default character set utf8mb4 collate
   'utf8mb4_unicode_ci' engine = InnoDB)

Hello,
thanks for your bug report.
That's weird, I didn't had this issue on SQLite or MariaDB and you are right, removing the default value fixed it. I could successfully install the extension with MySQL.
I pushed the fix to the master and new dev-1.3.0 branch. The new version is also already available on Octobers repo.
Thanks and sorry for the long wait.
Sincerely,
Sam.

authors: SamDeny chrisvidal

repo: RatMD/bloghub-plugin


text:
Support rln-same in rln-circuits-v2

What's done?
It's part of https://github.com/Rate-Limiting-Nullifier/rlnjs/issues/17: Support rln-same from the rln-circuits-v2. This branch is incompatible with v1, and we still need to confirm whether it should be a standalone branch or it should be merged to main with a new version. Before that the PR is marked a draft to avoid being merged.
How it's done?

messageId is added as a private input and messageLimit as a public input
messageLimit is checked when verifyProof
README is updated

Note

waku.ts is deleted since this version is not compatible with js-rln
This PR depends on #41 . Code diff: https://github.com/mhchia/rlnjs/compare/feat/latest-v1-circuit...feat/v2-circuit

This PR is made a draft to avoid being accidentally merged. We still need to determine whether V2 should be supported simultaneously with V1 or it should just replace V1.

I have not tested this yet, but it looks good, I wasn't sure if your last PR depends on this one.

Thanks for the review. Ah this PR depends on #41, i.e., this PR includes the changes in #41.

Closed since it's included in #61

authors: AtHeartEngineer mhchia

repo: Rate-Limiting-Nullifier/rlnjs


text:
Sampling from z

I noticed that the sampling function seems to be out of date:
https://github.com/RayDeeA/ibinn_imagenet/blob/04b2ab9315e591506d6805e96c35b60222447071/ibinn_imagenet/model/classifiers/invertible_imagenet_classifier.py#L171
However, I'm having trouble doing a proper reverse sampling - for instance if use the following code snippet, I am unable to recreate the input from the output:
z_fc, z_conv = self.model(x)
with torch.no_grad():
    rev_ims = self.model([z_fc, z_conv], rev=True)

x will be in the range [0,1], but rev_ims will be in the range of roughly [-100, 100]. Is there something I'm doing trivially wrong here?

I figured out the issue: I believe it's due to different statistics used in the BN of the subnetworks. This can cause very different activation maps. E.g., if you do forward in training mode, but sample backward in evaluation mode, the recreated input can be orders of magnitude different in scale. Likewise if you do forward with a full batch in training model but sample backward with a sub-batch.
Have you tried using something like InstanceNorm instead, given the impact of 'non-invertibility' if the BN is used  in eval/training mode or with differently sized batches in training mode?
Anyway, I leave this issue open for now, in case my diagnosis was incorrect. Feel free to close. Any insights in the impact of BN would also be welcome - thanks!


text:
"Unable to infer closure type in the current context" in subscription closure

Hi, I'm trying to subscribe view controller to application sub-state and receiving the error:

What am I doing wrong?

When you use select, you need to change your newState function's parameter type to match the type returned from select.
So, if state.repositories is of type [Repository], then you need to have func newState(state: [Repository]) instead of func newState(state: AppState)

Cool, thank you!
Quite an educative issue, didn't expect to find the problem in another method.

authors: grigorryev mjarvis

repo: ReSwift/ReSwift


text:
update to Xcode 9.3/Swift 4.1

Pretty straightforward except the last commit: it compiled, but crashed during runtime because the Middleware<StateType> could not be casted to Middleware<TestStringAppState> (line breaks by me):
2018-04-05 10:00:46.912595+0200 xctest[46272:853770] Could not cast value of type
'((ReSwift.Action) -> (), () -> Swift.Optional<ReSwift.StateType>) -> ((ReSwift.Action) -> ()) -> (ReSwift.Action) -> ()' (0x106e53af8) to
'((ReSwift.Action) -> (), () -> Swift.Optional<ReSwift_macOSTests.TestStringAppState>) -> ((ReSwift.Action) -> ()) -> (ReSwift.Action) -> ()' (0x106e53d28).

It suffices if one middleware is explicity cast  as Middleware<TestStringAppState>, but I found that rather weird-looking. It also works when written as [a,b,c] as [Middleware<TestStringAppState>]. But I figured it'd be a nicer practice to cast the more generic middlewares to the specific type individually. I'm open to change this, though, since it's quite noisy.
Guess that's the new "Conditional conformance" thing. Not sure what to do about it. Sounds like a bug to me.

Ready when you are :)

@DivineDominion If you wrap the changes in #if swift(>=4.1) #else #endif They'll be able to compile & run tests on the older xcode versions for TravisCI, then we can update it to 9.3 when they deploy the stable version.

@mjarvis I have 0 experience with Travis; can you tell why 3/4 builds are failing, e.g. https://travis-ci.org/ReSwift/ReSwift/jobs/363238558 ?

Codecov Report

Merging #335 into master will decrease coverage by 3.46%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #335      +/-   ##
==========================================
- Coverage     100%   96.53%   -3.47%
==========================================
  Files           5        5
  Lines         173      173
==========================================
- Hits          173      167       -6
- Misses          0        6       +6

Impacted Files
Coverage Δ

ReSwift/CoreTypes/Subscription.swift
91.37% <0%> (-8.63%)
:arrow_down:

ReSwift/CoreTypes/Store.swift
98.98% <0%> (-1.02%)
:arrow_down:

Continue to review full report at Codecov.

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

Sacre coer, it builds! :) Thanks @mjarvis. Can you still review the other changes, or are you blocked now that you've commited something?

Hi @DivineDominion
after I upgraded my XCODE to the latest one which uses Swift 4.1 I get a crash when I am trying to run the app

Could not cast value of type '((ReSwift.Action) -> (), () -> Swift.Optional) -> ((ReSwift.Action) -> ()) -> (ReSwift.Action) -> ()' (0x10505e430) to '((ReSwift.Action) -> (), () -> Swift.Optional<trench_dev.AppState>) -> ((ReSwift.Action) -> ()) -> (ReSwift.Action) -> ()' (0x10505e660).
2018-04-10 21:45:05.593831+0300 trench-dev[83480:10706684] Could not cast value of type '((ReSwift.Action) -> (), () -> Swift.Optional) -> ((ReSwift.Action) -> ()) -> (ReSwift.Action) -> ()' (0x10505e430) to '((ReSwift.Action) -> (), () -> Swift.Optional<trench_dev.AppState>) -> ((ReSwift.Action) -> ()) -> (ReSwift.Action) ->

I am using cocoapods and use
pod 'ReSwift', :git => 'https://github.com/ReSwift/ReSwift.git'
And I still get it. Do you know what I should do?
Thanks.

Hi @DivineDominion  I noticed that I get this error when I use multiple middlewares in my. In case I use only one I don't get it. I really don't know how to continue ...

@ranhsd The crash is due to https://bugs.swift.org/browse/SR-7362
You can work around it by pre-defining the middleware array before you create your store:
let middleware: [Middleware<AppState>] = [..]
let store = Store(middleware: middleware)

@mjarvis  thanks man! You're the best!

Just to cross-reference an update -- a PR has been posted to Swift fixing the issue causing our middleware assignment issue: https://github.com/apple/swift/pull/15997

I am experiencing this issue right now after upgrading to XCode 9.4.1
What is the temporary fix to get around this issue?

authors: DivineDominion codecov-io dolanmiu mjarvis ranhsd