Simulator Can´t Generate Map.

Robot Model
Turtlebot4 Standard
ROS distro
Humble
Networking Configuration
I do not know
OS
Ubuntu 22.04
Built from source or installed?
Installed
Package version
Running:
dpkg -s ros-$ROS_DISTRO-turtlebot4-PACKAGE_WITH_ISSUE
Outputs:
dpkg-query: package 'ros-humble-turtlebot4-package_with_issue' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
Expected behaviour
Running the simulator in a new world and generating a map for it using SLAM while driving robot around.
Actual behaviour
Simulator opens up the world and robot runs without problems but Lidar scans are not being shown in Rviz and so mapping the environment is not possible.

Also getting these errors from RobotModel in Rviz:

Error messages
[turtlebot4_node-30] [INFO] [1727966452.530382706] [turtlebot4_node]: OAKD started
[turtlebot4_node-30] [INFO] [1727966452.530431688] [turtlebot4_node]: RPLIDAR started
[planner_server-48] [INFO] [1727966453.024574126] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[controller_server-46] [WARN] [1727966453.086696346] [local_costmap.local_costmap]: Can't update static costmap layer, no map received
[rviz2-54] [INFO] [1727966453.295682258] [rviz2]: Message Filter dropping message: frame 'odom' at time 2,958 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966453.487859787] [rviz2]: Message Filter dropping message: frame 'odom' at time 3,135 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966453.524296269] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-54] [INFO] [1727966453.712474507] [rviz2]: Message Filter dropping message: frame 'odom' at time 3,312 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966453.903559568] [rviz2]: Message Filter dropping message: frame 'odom' at time 3,507 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966454.024216289] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-54] [INFO] [1727966454.095561445] [rviz2]: Message Filter dropping message: frame 'odom' at time 3,699 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966454.289052758] [rviz2]: Message Filter dropping message: frame 'odom' at time 3,879 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966454.512214341] [rviz2]: Message Filter dropping message: frame 'odom' at time 4,056 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966454.524190437] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-54] [INFO] [1727966454.704313752] [rviz2]: Message Filter dropping message: frame 'odom' at time 4,215 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966454.896319432] [rviz2]: Message Filter dropping message: frame 'odom' at time 4,362 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966455.024211216] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[controller_server-46] [WARN] [1727966455.087091890] [local_costmap.local_costmap]: Can't update static costmap layer, no map received
[rviz2-54] [INFO] [1727966455.087689382] [rviz2]: Message Filter dropping message: frame 'odom' at time 4,539 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966455.311972911] [rviz2]: Message Filter dropping message: frame 'odom' at time 4,716 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966455.504059006] [rviz2]: Message Filter dropping message: frame 'odom' at time 4,893 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966455.524194122] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-54] [INFO] [1727966455.695555405] [rviz2]: Message Filter dropping message: frame 'odom' at time 5,070 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966455.888058788] [rviz2]: Message Filter dropping message: frame 'odom' at time 5,265 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966456.024208985] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-54] [INFO] [1727966456.112593497] [rviz2]: Message Filter dropping message: frame 'odom' at time 5,442 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966456.303761560] [rviz2]: Message Filter dropping message: frame 'odom' at time 5,619 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966456.497364350] [rviz2]: Message Filter dropping message: frame 'odom' at time 5,796 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966456.524227941] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-54] [INFO] [1727966456.688198019] [rviz2]: Message Filter dropping message: frame 'odom' at time 5,991 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966456.911975938] [rviz2]: Message Filter dropping message: frame 'odom' at time 6,168 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966457.024261104] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[controller_server-46] [WARN] [1727966457.086605186] [local_costmap.local_costmap]: Can't update static costmap layer, no map received
[rviz2-54] [INFO] [1727966457.103468779] [rviz2]: Message Filter dropping message: frame 'odom' at time 6,363 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966457.295498539] [rviz2]: Message Filter dropping message: frame 'odom' at time 6,522 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966457.488830577] [rviz2]: Message Filter dropping message: frame 'odom' at time 6,699 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966457.488916719] [rviz2]: Message Filter dropping message: frame 'odom' at time 2,967 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966457.524805074] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-54] [INFO] [1727966457.711482613] [rviz2]: Message Filter dropping message: frame 'odom' at time 6,894 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966457.904644806] [rviz2]: Message Filter dropping message: frame 'odom' at time 7,071 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966458.024273419] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-54] [INFO] [1727966458.095283442] [rviz2]: Message Filter dropping message: frame 'odom' at time 7,248 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966458.095359669] [rviz2]: Message Filter dropping message: frame 'odom' at time 3,516 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966458.288395543] [rviz2]: Message Filter dropping message: frame 'odom' at time 7,425 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966458.512127444] [rviz2]: Message Filter dropping message: frame 'odom' at time 7,620 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966458.524190498] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-54] [INFO] [1727966458.703740968] [rviz2]: Message Filter dropping message: frame 'odom' at time 7,812 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966458.703877245] [rviz2]: Message Filter dropping message: frame 'odom' at time 4,062 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966458.896575049] [rviz2]: Message Filter dropping message: frame 'odom' at time 7,992 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966459.024217439] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[controller_server-46] [WARN] [1727966459.086431938] [local_costmap.local_costmap]: Can't update static costmap layer, no map received
[rviz2-54] [INFO] [1727966459.088519497] [rviz2]: Message Filter dropping message: frame 'odom' at time 8,184 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966459.311504004] [rviz2]: Message Filter dropping message: frame 'odom' at time 8,361 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966459.311611064] [rviz2]: Message Filter dropping message: frame 'odom' at time 4,716 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966459.504348442] [rviz2]: Message Filter dropping message: frame 'odom' at time 8,556 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966459.524714916] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-54] [INFO] [1727966459.695755808] [rviz2]: Message Filter dropping message: frame 'odom' at time 8,748 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966459.888913700] [rviz2]: Message Filter dropping message: frame 'odom' at time 8,925 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966459.889195690] [rviz2]: Message Filter dropping message: frame 'odom' at time 5,265 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966460.024148743] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-54] [INFO] [1727966460.111664675] [rviz2]: Message Filter dropping message: frame 'odom' at time 9,120 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966460.304465104] [rviz2]: Message Filter dropping message: frame 'odom' at time 9,297 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966460.496923544] [rviz2]: Message Filter dropping message: frame 'odom' at time 9,492 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966460.497142313] [rviz2]: Message Filter dropping message: frame 'odom' at time 5,805 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966460.525371152] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-54] [INFO] [1727966460.688050617] [rviz2]: Message Filter dropping message: frame 'odom' at time 9,684 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966460.912581694] [rviz2]: Message Filter dropping message: frame 'odom' at time 9,879 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966461.025063932] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[controller_server-46] [WARN] [1727966461.086598851] [local_costmap.local_costmap]: Can't update static costmap layer, no map received
[rviz2-54] [INFO] [1727966461.104540007] [rviz2]: Message Filter dropping message: frame 'odom' at time 10,071 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966461.104770453] [rviz2]: Message Filter dropping message: frame 'odom' at time 6,363 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966461.295361330] [rviz2]: Message Filter dropping message: frame 'odom' at time 10,233 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966461.487731579] [rviz2]: Message Filter dropping message: frame 'odom' at time 10,410 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966461.524199297] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-54] [INFO] [1727966461.712174465] [rviz2]: Message Filter dropping message: frame 'odom' at time 10,587 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966461.712349232] [rviz2]: Message Filter dropping message: frame 'odom' at time 6,900 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966461.906272961] [rviz2]: Message Filter dropping message: frame 'odom' at time 10,764 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966462.024182019] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-54] [INFO] [1727966462.096654015] [rviz2]: Message Filter dropping message: frame 'odom' at time 10,941 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966462.288624653] [rviz2]: Message Filter dropping message: frame 'odom' at time 11,121 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966462.288812171] [rviz2]: Message Filter dropping message: frame 'odom' at time 7,443 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966462.511672864] [rviz2]: Message Filter dropping message: frame 'odom' at time 11,313 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966462.524329173] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-54] [INFO] [1727966462.704753720] [rviz2]: Message Filter dropping message: frame 'odom' at time 11,490 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966462.896852315] [rviz2]: Message Filter dropping message: frame 'odom' at time 11,667 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966462.896962183] [rviz2]: Message Filter dropping message: frame 'odom' at time 8,007 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966463.024211791] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[controller_server-46] [WARN] [1727966463.086614485] [local_costmap.local_costmap]: Can't update static costmap layer, no map received
[rviz2-54] [INFO] [1727966463.087859134] [rviz2]: Message Filter dropping message: frame 'odom' at time 11,847 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966463.311397890] [rviz2]: Message Filter dropping message: frame 'odom' at time 12,006 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966463.503423830] [rviz2]: Message Filter dropping message: frame 'odom' at time 12,201 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966463.503518857] [rviz2]: Message Filter dropping message: frame 'odom' at time 8,565 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966463.524222934] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-54] [INFO] [1727966463.695987276] [rviz2]: Message Filter dropping message: frame 'odom' at time 12,393 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966463.919894908] [rviz2]: Message Filter dropping message: frame 'odom' at time 12,570 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966464.024526742] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-54] [INFO] [1727966464.111916441] [rviz2]: Message Filter dropping message: frame 'odom' at time 12,750 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966464.112053518] [rviz2]: Message Filter dropping message: frame 'odom' at time 9,129 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966464.303909738] [rviz2]: Message Filter dropping message: frame 'odom' at time 12,942 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966464.495825374] [rviz2]: Message Filter dropping message: frame 'odom' at time 13,119 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966464.524186447] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-54] [INFO] [1727966464.688638930] [rviz2]: Message Filter dropping message: frame 'odom' at time 13,296 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966464.688742271] [rviz2]: Message Filter dropping message: frame 'odom' at time 9,693 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966464.912951522] [rviz2]: Message Filter dropping message: frame 'odom' at time 13,458 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966465.024185557] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[controller_server-46] [WARN] [1727966465.086662082] [local_costmap.local_costmap]: Can't update static costmap layer, no map received
[rviz2-54] [INFO] [1727966465.103356822] [rviz2]: Message Filter dropping message: frame 'odom' at time 13,635 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966465.297027358] [rviz2]: Message Filter dropping message: frame 'odom' at time 13,797 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966465.297141653] [rviz2]: Message Filter dropping message: frame 'odom' at time 10,248 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966465.487448648] [rviz2]: Message Filter dropping message: frame 'odom' at time 13,974 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966465.525639436] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-54] [INFO] [1727966465.714222474] [rviz2]: Message Filter dropping message: frame 'odom' at time 14,169 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966465.903923150] [rviz2]: Message Filter dropping message: frame 'odom' at time 14,328 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966465.904049493] [rviz2]: Message Filter dropping message: frame 'odom' at time 10,779 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966466.024150569] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-54] [INFO] [1727966466.095850785] [rviz2]: Message Filter dropping message: frame 'odom' at time 14,508 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966466.288204336] [rviz2]: Message Filter dropping message: frame 'odom' at time 14,667 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966466.511968892] [rviz2]: Message Filter dropping message: frame 'odom' at time 14,862 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966466.512134715] [rviz2]: Message Filter dropping message: frame 'odom' at time 11,319 for reason 'discarding message because the queue is full'
[planner_server-48] [INFO] [1727966466.524360685] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-54] [INFO] [1727966466.703909455] [rviz2]: Message Filter dropping message: frame 'odom' at time 15,039 for reason 'discarding message because the queue is full'
[rviz2-54] [INFO] [1727966466.895948407] [rviz2]: Message Filter dropping message: frame 'odom' at time 15,234 for reason 'discarding message because the queue is full'

To Reproduce
ros2 launch turtlebot4_ignition_bringup turtlebot4_ignition.launch.py nav2:=true slam:=false localization:=false rviz:=true world:=hospital_test
ros2 launch turtlebot4_navigation slam.launch.py
Other notes
No response

After reading this comment in: https://github.com/turtlebot/turtlebot4_simulator/issues/55#issuecomment-1814759167
I fixed the name in the .sdf file to hospital_teste to match the file name and built from source again. Now the simulation works and the issue can be closed. Thank you


verbose warnings

When I write my 2D triangular mesh, meshio produces these warning messages. Can I silence these with some verbosity option?
Thanks
WARNING:root:msh2 requires 3D points, but 2D points given. Appending 0 third component.
WARNING:root:Appending zeros to replace the missing physical tag data.
WARNING:root:Appending zeros to replace the missing geometrical tag data.

You can silence them by appending the missing data component yourself.

alright


Spring Animation parameters customization

On the main page, you've written that your menu supports "spring animation with params customization". On the same page at the example code, there is no a single word about how to do that. And when I'm looking into the "Sample Code" for more details, I see the very same example code that doesn't clarify spring customization.
I've looked into your source code and tried to do it in the same way, but it doesn't work because 'SpringParams' initializer is inaccessible due to 'internal' protection level.
I'm sorry if I get something wrong or missed something, but please, can you help me to deal with spring animation parameters customization?

Huge thanks, Yury, for your question.
You are doing everything right. It's the library issue. The new version will be released in the coming days. The bug will be fixed there.
Thank you very much again. Please, feel free ask more questions or send pull-requests to us.

This issue has been fixed in version 2.0 - https://github.com/handsomecode/InteractiveSideMenu/releases/tag/2.0.
Thanks again for your comment.


Use List as allowed parameter types of tool

Is possible use list of object as parametr of Claude function calling? If yes, is possible to support this parametr in Claudia library pls?

Yes, that is a feature we would like to include!
It seems a bit difficult to support in the XML version, but I think Tool Use (beta) can do it easily.
I would consider it if only Tool Use is supported.


Capturing libsass cerr output for testing purposes

Libsass directly writes its deprecation warnings to std::cerr in certain functions.
As a result, it becomes very hard to check these warnings in the tests as there is no error object being returned once the sass module has finished rendering (no exception thrown means no error object). Existing packages and methods for capturing the stderr output only works for output coming from the Javascript code and not output coming from native modules.

Should this go into libsass repo?


iOS: keyboard is on top  of the TextInputs

When the keyboard is open, it is on top of the TextInputs. This is a problem
because the users can't see what they is typing.
https://user-images.githubusercontent.com/68615596/193424367-3f58a2f4-04d5-4311-b15c-eed1e802cb61.mp4
Please, leave a comment if you want to work on this issue so I can assign it to you.

Hi @aldo-rl!
I would like to work on this issue, could you please assign it to me 🙂?

@SoldierCorp Of course, I already assigned it to you.


Pluralization not working

I'm trying to use the Polyglot plural syntax but it doesn't seem to be working as expected... I have the following string in my bundle:
"NumberOfNetworksReporting": "%{count} network is reporting |||| %{count} networks are reporting"
If I provide an object with interpolation values, it ends up printing the whole string with both forms, including the pipe characters:

{props.p.tu('NumberOfNetworksReporting', { count: 0 })}

{props.p.tu('NumberOfNetworksReporting', { count: 1 })}

{props.p.tu('NumberOfNetworksReporting', { count: 2 })}

Result:
0 NETWORK IS REPORTING |||| 0 NETWORKS ARE REPORTING
1 NETWORK IS REPORTING |||| 1 NETWORKS ARE REPORTING
2 NETWORK IS REPORTING |||| 2 NETWORKS ARE REPORTING

If I use Polyglot's alternate syntax (pass a number as the second argument), it appears to be doing the proper plural phrase selection, but it doesn't substitute the actual value:

{props.p.tu('NumberOfNetworksReporting', 0)}

{props.p.tu('NumberOfNetworksReporting', 1)}

{props.p.tu('NumberOfNetworksReporting', 2)}

Result:
%{COUNT} NETWORKS ARE REPORTING
%{COUNT} NETWORK IS REPORTING
%{COUNT} NETWORKS ARE REPORTING

Any suggestions?
Rick

Hello @rbarkhouse,
According to the polyglot.js documentation, it seems like you have to use ${smart_count} variable name to activate pluralization feature.
Anyway, I think some tests should be added about this features. (pluralization, interpolation).

Ack, you are very right, I didn't notice that in their docs.  Thanks, and thanks for this library!


Detach a PaymentMethod

Detach a PaymentMethod from a Customer api missing
https://stripe.com/docs/api/payment_methods/detach

Thanks for the contribution!


Access-Control-Allow-Origin

Hi,
is it possible to set Access-Control-Allow-Origin to * ? To test on more than one device in network?
Best regards

You can use .atom-live-server.json with { "cors": true }.


Update information-barriers-policies.md

Made changes to the PS cmdlet from Connect-azureAd to   Connect-AzAccount  as it uses cmdlets from Az PowerShell modules. running it with connect-azuread throws an error
Get-AzADServicePrincipal : The term 'Get-AzADServicePrincipal' is not recognized as the name of a cmdlet,

@JohanFreelancer9 Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/3374

@chrfox Please merge this PR. Thanks.

engineering review requested

@chrfox  - I know we've turned over these topics, did the PG respond and approve?

@chrfox  - I know we've turned over these topics, did the PG respond and approve?


Hook up to TOC

@captainsafia  please review the two places where I'll put this article.

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

ID: 3a9d7eb8-6c1f-4619-00fa-9b69dbe3dcea
Version Independent ID: 3a9d7eb8-6c1f-4619-00fa-9b69dbe3dcea
Content: Configuring authentication for minimal APIs
Content Source: aspnetcore/fundamentals/minimal-apis/security.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @captainsafia
Microsoft Alias: safia

@Rick-Anderson I think it's sufficient to just have this under the "minimal APIs" subheading. It doesn't make sense amongst the top-level topics under "Security".

@Rick-Anderson I think it's sufficient to just have this under the "minimal APIs" subheading. It doesn't make sense amongst the top-level topics under "Security".

But it should be someplace under security because it's a security topic. Maybe under both Authn and AuthZ

I think it's sufficient to just have this under the "minimal APIs" subheading.

I agree. We try to avoid having one item in multiple locations in the TOC, as it doesn't work very well. You could add links to this article from articles in the Authn/Authz part of the TOC.


script.create() not returning instance of script

Description
I just found a bug with script.create() function.
I have this line of code:
this.controller = this.entity.script.create(this.controllerType);
It creates the object,  but doesn’t pass it back. It comes back as null. (I think it works first time, but after you do
this.entity.script.destroy(this.controllerType);
then another create down the track, it won’t work. My current work around is this code underneath the create line.
       if(!this.controller)         {             this.controller = this.entity.script[this.controllerType];         }
Steps to Reproduce

script.create(type)
script.destroy(type)
script.create(type)

I've tried to reproduce the error here but was unable to: https://playcanvas.com/project/684213/overview/script-create-issue-205
var Sandbox = pc.createScript('sandbox');

var Sandbox2 = pc.createScript('sandbox2');

Sandbox2.prototype.initialize = function() {
    this.foo = this.entity.script.create('sandbox');
    console.log(this.foo);
    this.entity.script.destroy('sandbox');
    this.foo = null;
    this.foo = this.entity.script.create('sandbox');
    console.log(this.foo);

    this.entity.script.destroy('sandbox');
    this.foo = null;

    this.foo = this.entity.script.create(Sandbox);
    console.log(this.foo);
    this.entity.script.destroy(Sandbox);
    this.foo = null;
    this.foo = this.entity.script.create(Sandbox);
    console.log(this.foo);
};

Would you be able to provide a small project that can reproduce this issue please?

@SnapWoody It's been a while 😅 Is this still an issue?

@SnapWoody It's been a while 😅 Is this still an issue?

It's been nearly a year, so due to inactivity, I'm going to close this. However, if a problem still remains, please do reopen this, @SnapWoody.


[Flutter 3]Text is rendered incorrectly in TextSpan

Steps to Reproduce

The issue is a non-desired TextSpan behavior, which is caused when composing a RichText with some TextSpan Widgets. In this case, we're trying to set a different color for some letters in a text, but some of them get duplicated.

Expected results: highlight some letters with a different color from the rest, without getting some letters duplicated.
Actual results: coloring some letters with a different color from the rest causes some letter duplications.

Code sample

Widget example() {
  var oTS = const TextSpan(children: [
    TextSpan(text: "f", style: TextStyle(color: [Colors.black](https://colors.black/))),
    TextSpan(text: "i", style: TextStyle(color: [Colors.green](https://colors.green/))),
    TextSpan(text: "g", style: TextStyle(color: [Colors.green](https://colors.green/))),
    TextSpan(text: "h", style: TextStyle(color: [Colors.green](https://colors.green/))),
    TextSpan(text: "t", style: TextStyle( color: [Colors.black](https://colors.black/))),
  ]);

  return RichText(text: oTS);
}

Logs

Analyzing nl_flutter...
 info - Name types using UpperCamelCase - lib\globales\enums.dart:2:6 - camel_case_types

1 issues found. (ran in 11.8s)

[√] Flutter (Channel stable, 3.0.1, on Microsoft Windows [Versi¢n 10.0.19044.1706], locale es-ES)
    • Flutter version 3.0.1 at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fb57da5f94 (8 days ago), 2022-05-19 15:50:29 -0700
    • Engine revision caaafc5604
    • Dart version 2.17.1
    • DevTools version 2.12.2

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at c:\Users\Administrador\AppData\Local\Android\Sdk\
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = c:\Users\Administrador\AppData\Local\Android\Sdk\
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Professional 2019 16.11.11)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional
    • Visual Studio Professional 2019 version 16.11.32228.343
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[√] Android Studio (version 2020.3)
    • Android Studio at C:\android\android-studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[√] VS Code, 64-bit edition (version 1.22.2)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 2.12.2

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Versi¢n 10.0.19044.1706]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 101.0.4951.67
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 101.0.1210.53

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Our current workaround
Instead of nesting several TextSpan Widgets in a single RichText Widget, we use a RichText with a single TextSpan Widget as a child for every letter. That is, for every letter, a RichText Widget is used:
RichText(text: TextSpan(text: "f",  style: TextStyle(color: [Colors.black](https://colors.black/))));
RichText(text: TextSpan(text: "i",  style: TextStyle(color: [Colors.black](https://colors.green/))));
RichText(text: TextSpan(text: "g",  style: TextStyle(color: [Colors.black](https://colors.green/))));
RichText(text: TextSpan(text: "h",  style: TextStyle(color: [Colors.black](https://colors.green/))));
RichText(text: TextSpan(text: "t",  style: TextStyle(color: [Colors.black](https://colors.black/))));

Issue is reproducible on latest stable and master but not stable 2.10.5.
I was unable to check for the web on stable 2.10.5 because it kept loading forever and nothing rendered on the screen, but on the web, it reproduces only with the canvaskit renderer.  See screenshots below

screenshots
flutter 2.10.5
From left to right
Android, iOS, macOS

flutter 3+
From left to right
Android, iOS, macOS, Web(Canvaskit), Web(HTML)

Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  Widget example() {
  var oTS = const TextSpan(children: [
    TextSpan(text: "f", style: TextStyle(color: Colors.black, fontSize: 32)),//(https://colors.black/))),
    TextSpan(text: "i", style: TextStyle(color: Colors.green, fontSize: 32)),//(https://colors.green/))),
    TextSpan(text: "g", style: TextStyle(color: Colors.green, fontSize: 32)),//(https://colors.green/))),
    TextSpan(text: "h", style: TextStyle(color: Colors.green, fontSize: 32)),//(https://colors.green/))),
    TextSpan(text: "t", style: TextStyle(color: Colors.black, fontSize: 32)),//(https://colors.black/))),
  ]);
  return RichText(text: oTS);
}

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            example(),
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headline4,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel unknown, 2.10.5, on macOS 12.3.1 21E258 darwin-arm, locale en-GB)
    • Flutter version 2.10.5 at /Users/nexus/dev/sdks/flutter_rc/flutter
    • Upstream repository unknown
    • Framework revision 5464c5bac7 (6 weeks ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.67.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.40.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.3.1 21E258 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 102.0.5005.61

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel stable, 3.0.1, on macOS 12.3.1 21E258 darwin-arm, locale en-GB)
    • Flutter version 3.0.1 at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fb57da5f94 (10 days ago), 2022-05-19 15:50:29 -0700
    • Engine revision caaafc5604
    • Dart version 2.17.1
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.67.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.40.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.3.1 21E258 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 102.0.5005.61

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel master, 3.1.0-0.0.pre.1005, on macOS 12.3.1 21E258 darwin-arm, locale en-GB)
    • Flutter version 3.1.0-0.0.pre.1005 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c2e10541f3 (4 hours ago), 2022-05-30 00:18:09 -0400
    • Engine revision bb9926b0e6
    • Dart version 2.18.0 (build 2.18.0-151.0.dev)
    • DevTools version 2.13.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.67.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.40.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.3.1 21E258 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 102.0.5005.61

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

cc @jason-simmons

We're using 3.0 and 3.1 Flutter versions, which is what we're interested in, but it doesn't work.
For now, we'll keep using our workaround.

This is happening because the font combines the "fi" substring into a single ligature glyph.  But the text is changing the text style midway through the ligature.
SkParagraph shapes the entire text in one line and then maps the resulting glyphs back to styles.  If one glyph intersects two style ranges then SkParagraph's output will be inaccurate.
@Rusino One patch that might help would be changing Run::findLimitingClusters to start with the first cluster that begins within the given text range.
Currently findLimitingClusters returns the cluster associated with the start of the text range.  But in this case that cluster is a ligature that is partially covered by the previous block.  So findLimitingClusters indicates that the ligature is found in both blocks, causing it to be rendered twice.
To work around this the app can disable ligatures using fontFeatures:
const TextSpan(
  style: TextStyle(fontFeatures: <FontFeature>[FontFeature('liga', 0)]),
  children: [
    TextSpan(...),
    ...
  ]);

Thank you for the workaround.
Anyway, is this issue going to be solved in a future?

This has been fixed on the current Flutter master branch.
See https://skia-review.googlesource.com/c/skia/+/602858

Closing this as fixed based on https://github.com/flutter/flutter/issues/104884#issuecomment-1442447773.
If anyone runs into this issue on the master channel or newer versions of flutter, kindly file a new issue and provide all the relevant information required to reproduce the issue.
Thank you


Fixes issue #4413: Undocumented IT requirement: Username "liquibase"

Fixes #4413
Impact

[x] Bug fix (non-breaking change which fixes expected existing functionality)
[ ] Enhancement/New feature (adds functionality without impacting existing logic)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
Despite the title and description of issue #4413, the actual cause of the failing IT was not an undocumented IT requirement, but the fact that the author of the IT (unintentionally) used the static prefix "liquibase" instead of the dynamic prefix provided by the test driver.
The solution hence is to replace the static prefix by the dynamic prefix. Hence, there is nothing wrong with the test documentation.
Things to be aware of
N/A
Things to worry about
N/A
Additional Context
N/A

@filipelautert Kindly requesting you review. Thanks! :-)


[Question]:

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
Hi! I am a new user of llama-index, I appreciate the work done here, but I have a question about VectorStoreIndex object coming from llama_index.core.indices.vector_store.base.py, the functioning of from_documents function is very abstract that I can not see the content of this object, I mean the vectors created after the tokenization and the embedding. And how to make it persist in the vector database? I tried to check for newly inserted data but there is nothing. If any one can also explain me how does the query engine work and what relation does it have with the index because i found it a bit complicated. Thanks in advance.

The persist function actually saves the data to the local pc, although I've already made a pgvector connected to a postgresql database in a docker container.


vite build with your plugin the mui x-datagrid not working

please see the deatils issue details i submited in the mui repo
thanks

How you resolved that issue?


backpack/settings 2.0.0 requires backpack/crud 0.*

I'm struggling to get CRUD installed, I've included it inside my app.php, I've also tried running composer require backpack/crud, here's my response from composer:
Using version ^3.2 for backpack/crud
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - backpack/settings 2.0.0 requires backpack/crud 0.* -> satisfiable by backpack/crud[0.4.1, 0.5.0, 0.5.1, 0.5.10, 0.5.9, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.7, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.7.8, 0.7.9, 0.8.0, 0.8.1, 0.8.10, 0.8.11, 0.8.12, 0.8.13, 0.8.14, 0.8.15, 0.8.16, 0.8.17, 0.8.18, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.8.8, 0.8.9, 0.9.0, 0.9.1, 0.9.10, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.9.8, 0.9.9] but these conflict with your requirements or minimum-stability.
    - backpack/settings 2.0.0 requires backpack/crud 0.* -> satisfiable by backpack/crud[0.4.1, 0.5.0, 0.5.1, 0.5.10, 0.5.9, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.7, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.7.8, 0.7.9, 0.8.0, 0.8.1, 0.8.10, 0.8.11, 0.8.12, 0.8.13, 0.8.14, 0.8.15, 0.8.16, 0.8.17, 0.8.18, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.8.8, 0.8.9, 0.9.0, 0.9.1, 0.9.10, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.9.8, 0.9.9] but these conflict with your requirements or minimum-stability.
    - backpack/settings 2.0.0 requires backpack/crud 0.* -> satisfiable by backpack/crud[0.4.1, 0.5.0, 0.5.1, 0.5.10, 0.5.9, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.7, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.7.8, 0.7.9, 0.8.0, 0.8.1, 0.8.10, 0.8.11, 0.8.12, 0.8.13, 0.8.14, 0.8.15, 0.8.16, 0.8.17, 0.8.18, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.8.8, 0.8.9, 0.9.0, 0.9.1, 0.9.10, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.9.8, 0.9.9] but these conflict with your requirements or minimum-stability.
    - Installation request for backpack/settings (locked at 2.0.0, required as ^2.0) -> satisfiable by backpack/settings[2.0.0].

Installation failed, reverting ./composer.json to its original content.

Any ideas how I can fix this?

Hi @InkedCurtis ,
Hmm... that's odd, I can't seem to get the same thing. What Laravel version are you running this on?

Closing due to inactivity.


How prevent requests

When I try load do ajax request the charts load it four times

@bleekbless how are you doing the ajax request? Chartjs does not handle that itself.

I'm using Vue-Resource for the request, already tried Axios but they always make 4 requests at the same time

It sounds like you're loading the data 4 times. Without seeing your code this is hard to answer. I think this question is better asked on StackOverflow


defaultProfile description setting links aren't working

@roblourens FYI clicking these links clears the search and goes to the top because they're deprecated. Maybe by design?


fix: 8.44.0 hotfix

This PR resolves []
Description

Hotfix pr for 8.44 - do not merge, just here for record.
better comparison here: https://github.com/artsy/eigen/compare/ios-8.44.0-2<IP_ADDRESS>-submission...8.44.0-hotfix?expand=1
#nochangelog

Warnings

:warning:

✅ No changelog changes

  Generated by :no_entry_sign: dangerJS against 385f825f904ed5b0a1981b86ed43b78496311062


Jedi update

Update + refactor to work with latest Jedi version.

@beyang Can you take a look? It's somewhat similar to what you tried to do. Also would love to have a call/chat with you (seems like you have worked on this more than samertm)  to talk about this toolchain and interpreted language toolchains in general.
Flask runs with couple error messages (fails to lookup standard exception definitions, etc). Django code takes quite some time (30mins+, ~6gb ram) to analyze on<EMAIL_ADDRESS>using 1 core (there is no multi-process spawning code yet to keep it simple), but it chokes on some unicode stuff.
Test fails right now are due to slightly different output, but not necessary bad output. I need to look into that more case by case.

@MaikuMori thanks for submitting this! The code looks solid at a first pass, but could you write up a short description/bullet-list-summary of the important logical changes so I can look into those?

@beyang If you could double check this it would be nice. As it is now it seems like it's good to merge in.
I did find a problem with this code at the last moment:
from xkcd import antigravity

class GravityEnabler():
    """ May or may not work. """
    def __init__(self):
        self.stash = antigravity  # All fine, ref is pointing to the external code.
        self.enable(antigravity)  # At this point Jedi fails to lookup the ref.

    def enable(self, g):
        g.enable()

Should maybe add back the parallel execution. src do-all takes about 60s on Flask project. Django ... well .. it's still running.

It looks like the tests are failing on Travis -- are they passing locally for you?
It's been awhile since I've looked at this code, so if you list the high-level logical changes that have been made, it'd be really helpful for review purposes. Thanks again for submitting this!

@beyang Okey, the Travis errors should be fixed now. It was an old "bug" in PyDep where it called systems pip to download stuff instead of using the version from environment it was called from.
One of the manual tests I'd like is to have SourceGraph engine use this to index couple projects and manually check for regressions in web UI.
Not sure how to best describe changes, but here we go:

We're using standard Jedi 0.9 version instead of modified version. This makes it much easier to update.
The core code is now centered around one file and the main function just iterates over all files.
The documentation is now extracted and passed to src.
Overall it should handle code better as I tried to fix all the special cases I came across. I'm quite sure it's not perfect.
Most of the core logic is similar. We still iterate over all defs and refs provided by Jedi while adding self-refs and trying to figure out the correct name for each of them.

Things to do:

[ ] Merge the fix for pydep and change requirements.txt to not use my fork. Ideally it would be nice to release PyDep so you don't have to pull it from GitHub (really slow) and you can just install it from python package repo.
[ ] Add back multiple workers. src do-all on django repository took 30mins on my PC.
[ ] Add support for standard library and builtins by adding/using this https://github.com/JetBrains/python-skeletons
[ ] Fix that parameter bug I mentioned earlier
[ ] Cleanup debug output. Maybe not so big deal since it's not seen by default.
[ ] Pass exact docstring start and end possitions as per API.
[ ] Fix the few errors which are thrown when processing Django (some Django tests do something strange which makes Jedi choke on couple definitions)
[ ] Go trough fixmes/todos and check if they're still valid. I'm quite sure ~70% are not.

Most of these can be be done in new branches/PRs. I kinda want to merge this monster in.
At the end I also got this idea that we could try going trough each Jedi def and use jedi.api.Script.usages instead of iterating trough all defs and refs. As it would be closer to how Jedi is supposed to be used. But I haven't tried that yet.
P.S.
I really really I hate debugging CI fails, sorry for the email spam. :( Had to squash the commit spam.

The two main outstanding issues are the test-related ones (adding the old unit tests back in and fixing the Docker test case output). Other than that, LGTM. I'll merge it and file issues for those. Thanks again for this great patch!


License for this code, and discussion of use of Padmé in 'age'

Just opening this issue to note that I've opened some discussion of using Padmé as a padding format in the 'age' file encryption tool. See https://github.com/FiloSottile/age/issues/83 .
Is the code in this dedis/purb repo available under an open source license? I couldn't find a clear reference to a license for the code.

Most of the code in DEDIS is under AGPL, some under LGPL or MPL2... As this is a library, it should probably be under LGPL or MPL2. @jeffallen ?

Hi @colmmacc! Thanks for pointing this out. We are considering using the same BSD 3-Clause license as Age does. Would it be suitable for you?

In any case, if you want to use the code we'll make sure that license compatibility is not a reason not to. :)


Read cosmology from snapshot

It would be really helpful if VR could read cosmology (Omega_b, Omega_L, Omega_m) information from the snapshot and store this in the output

VR does read cosmology information from a snapshot (if present) and overwrites any values provide in the config file. Should I add a message saying this has occurred?

Then we should remove the entries in the VR config file used for EAGLE-XL. In that way they don't get overwritten by mistake.
Is Omega_b in the output?

Hmm, I think what must be the problem then is the reading of Omega_b - this is always zero in our outputs.

You are correct as by default all other parameters save Omega_m and Omega_L are typically not stored in the header information for most Gadget HDF5 outputs I've used. I will update this to load in all the possible cosmology information if the code is reading a swift snapshot. I assume I can use colibre/eagle snapshots as an example of the cosmology information that will typically be included. If there are updates to run with dark energy with specific equations of state, inclusion of neutrinos, or other fluids, I will have to update VR to use that extra information. For truly arbitrary cosmologies, it may be necessary to provide the cosmic expansion history. And for modified gravity theories, I would have to update the Poisson equation. But I think that's fine to leave on a todo list for a while.

How do you compute the linking length in hydro simulations if you don't have Omega_b ?

I use the mass of gas particles (this was for gadget and ramses input). But now the code reads the information if the input is a swift file.

Coming back to the linking length, I do this in the VR invocation:
https://gitlab.cosma.dur.ac.uk/swift/swiftsim/blob/master/src/velociraptor_interface.c#L518 (up to line 552)
Is that different from what you would internally when using a snapshot?

For simple N-body runs, I just use period/ndark^(1/3) to get the interparticle spacing. But in other circumstances I use the mass of the dark matter particle and the density of dark matter to determine the interparticle spacing like you are doing here.

But I do use omega_b on line 547 in the case of a zoom with hydro.

I also make use of Omega_b to get Omega_cdm. And use the combined mass of a dark matter particle and a baryon particle to use Omega_m. But I can remove mass_baryon which for hydro zooms with star formation and feedback are not the primordial gas particle mass. Easy to do, just need to store rho_cdm and not just rho_m.


Auto rounding bug

About the bug
In pascal, when a Real number has too many digits. For example, "2.999999999999999999999999999999999..." would be rounded to "3". But what we need is "2.999999999999999999..." not "3".
Algorithm
To get around this I would convert all the digits to a string then add it together as a string.

Fixed!!!


added most recent nigp codes, fixes #97

@hamhands could you take one last look to make sure the csv is the right one here?

@bsmithgall LGTM. Should we update the date on the file name though?

meh


build: Micronaut Framework 4.0.0-M1

GitHub Actions sync

@melix this is attempting to resolve platform with micronaut version  4.0.0-M1

Could not find io.micronaut.platform:micronaut-platform:4.0.0-M1.

What should we do? We could workaround not including docs-examples modules and releasing the module.

I have pushed a workaround. Basically we have an inconsistency now, because our build plugins assume that the version of micronaut is for micronaut-core, but the Gradle plugins (righteously) assume that it's the platform version. The fact that it fails simply illustrates a problem with using the Gradle plugin for testing: what we use then is something which is designed for releases, not development: it makes use of the platform, which is the ultimate deliverable of a Micronaut release.
The workaround is simply to use a SNAPSHOT version of Micronaut in the tests, until we have a milestone release of the platform. However, there will most likely always be a mistmatch between the version of Micronaut that a module builds against (here M1) and the version that we can test against using the Gradle plugin (which is a platform, so released with older modules).

what we use then is something which is designed for releases, not development:

Yes, I agree. We should not use Micronaut Gradle Plugin in the projects. We only use them in a subset of repositories.


Shall we extend "meg" to "meeg"

I wonder whether we could use the same machinery for eeg and meg. it would mean that

rawmegdatadir --> rawmeegdatadir
megsubjectoutputformat --> meegsubjectoutputformat
aas_add_meg_session --> aas_add_meeg_session
megname --> meegname
megseriesnumbers -->meegseriesnumbers
meg_sessions --> meeg_sessions

Later some modules maye be also renames/repurposed. I am recently working on EEGLAB and FieldTrip, so I am not interested in using the existing modules at the moment but rather writing new ones.

Right now, I simply use the abovementioned meg machinery for eeg, which should work. But it would be nice (and perhaps less confusing) to reflect this in their name.

This makes sense to me. We are not doing any MEG/EEG at the moment so don't
care too much!
On Fri, Apr 24, 2020 at 2:41 AM Tibor Auer<EMAIL_ADDRESS>wrote:

Right now, I simply use the abovementioned meg machinery for eeg, which
should work. But it would be nice (and perhaps less confusing) to reflect
this in their name.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/automaticanalysis/automaticanalysis/issues/212#issuecomment-618857398,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA22PMIUFHSGS25ZXRWJVDROE7DFANCNFSM4MP3WGAQ
.

I am doing it then.


Truly non sequential hours

For most expensive hours it would be nice option to be able to search for only non sequential expensive hours, or some other type of algorithm to spread out the expensive hours more.
Use case I'm thinking is turning some heating devices off for most expensive hours, but probably wouldn't want to turn them off for 4 hours straight even if those happened to be the most expensive.
I realize one workaround would be to create multiple sensors spread across the day or work around sequential hours in the automation but I think it could be useful feature in the sensor.

Interesting idea and could be beneficial indeed.
Risks of this would be that the heating would start again during the second highest hours and keep heating as the desired temperature has gone so low during previous hour.
If you have some specific logic in your mind, please feel free to suggest :-)

I think a good way to do this is that you specify how many expensive hours you want to "remove" on a day, and also specify minimum and maximum hours between the expensive hours.  So you would start with the most expensive hour, check when next most expensive is but obeying the rule on min/max hours "break". And work you way up to the number or hours you specifies.
Nice function for heating!

Been monitoring my electric floor heating which I have wired with a Shelly 1PM to trigger normally from the thermostat but able to also override the thermostat to either turn floor heating off or on. Currently it seems to be heating for around 15mins every three or more hours so I think my initial idea of non sequential hours would not be that useful for that use case actually.
Another thing I experimented with good results was blasting the floor heating for an hour when electricity price was going up 4x for the rest of the day and it took over 9 hours for the thermostat to kick in after this. So very roughly by heating for 60mins with 4x lower price avoided 45mins of heating with 4x more expensive price, great value!
Based on this experiment I think one beneficial feature would be to pick hours that are x% cheaper before some period of expensive hours. Haven't really come up with logic/algorithm for this but I think some more experimenting and data as the weather cools down will hopefully bring some inspiration. Feel free to expand on the idea, I think it could also be used for smaller water heaters etc. devices that can hold some energy but need more than one heating cycle a day.


Allow indices as part of a path?

It looks like path traversal currently uses serde_json::Value::get, which supports both string keys for maps and numeric keys for arrays.  However, TinyTemplate only invokes the string lookup, so any lookup on an array will fail; this is particularly a hassle for tuples, which serde_json::Value represents as arrays.
This can be fixed by attempting to parse the path element as a usize and using that for value lookup if name lookup fails; doing it only on name lookup failure means that any situations where a map is being constructed with string keys that happen to be parseable as usize will continue to work.
I have a PR ready if this approach sounds reasonable :)

Status? @abr-egn Can you create the PR?


.genDefXml.ps1 doesn't end in x86 powershell. Neither does the command complete in Webcommander

The script to generate _def.xml doesnt work in x86 powershell (ifinite loop) but works fine in a x64 powershell. When i try to generate the definition for the xml file through the webcommander itself it simply loads forever.

All my PowerCLI modules can be read also properly from the terminal (both x86 and x64 ) but doesnt work from Webcommander. Please help. :/

Error 500 means a configuration issue of your IIS.
Please browse the page on your webcommander server locally so that IIS will show more details about the error.


SQL info how output? in index.html page?

Ok, this is just spam at this point and it is not welcomed here.


What about network.http.enablePerElementReferrer ?

network.http.enablePerElementReferrer is commented out in user.js [ghacks]-0.11.js as well as in, here, ghacks-user.js-51.0 but with no additional information.
I read at https://www.anonymous-proxy.eu/firefox-privacy-tuning.php (mentioning this page because info on above setting is hard to find),

Mozilla's Firefox has introduced an experimental "per-element referrer" feature which is transmitting HTTP referrer for particular elements such as:
Hyperlink
Picture
Frame
Clickable area

That sites advises to set it to false (default=true). But not sure the setting is still experimental and not sure as well that site is right.
I've set it to false,
// Disable per-element HTTP referrer (HTTP referrer for particular elements such as Hyperlink, Picture, Frame, Clickable area)
// https://www.anonymous-proxy.eu/firefox-privacy-tuning.php
user_pref("network.http.enablePerElementReferrer", false); // Default=true

What would the experts say?

https://developer.mozilla.org/ru/Firefox/Releases/42#HTML

Experimental support for the referrer attribute of the  (bug 1166910),  (bug 1175736),  and  (bug 1174913) has been added. There is no effect by default, the network.http.enablePerElementReferrer being false by default.

the default is 'true'
you're right in that there seems to be little info regarding this
just reading the pref name, i might interpret it as meaning that, when you, for instance, click on an embedded object that links to elsewhere, the referrer sent would be the source of the embedded object rather than the site the object is embedded in, but i think it could be interpreted differently as well
if that scenario is correct, then, from a privacy POV, it would seem to make sense to leave it at it's default value (true)
not an expert though :)

if that scenario is correct, then, from a privacy POV, it would seem to make sense to leave it at it's default value (true)
Indeed. The problem is the "if". Amazing. A browser includes a setting which is tougher to interpretate than a woman's smile. Far from a near past where everything was classified. Now you have to guess.
Amazing.

That feature is no longer experimental. It's now part of the specification.
It can be used to change the default referrer policy to either include more or less information in the referrer. So ignoring them could actually increase the amount of information leaked via the Referer header.
However, the user controls like http.referer.XOriginPolicy take precedence over this, so it's actually unnecessary from a user point of view. I suspect we will remove that pref at some point (given the feature is no longer experimental).

@fmarier are you sure you're not mistaking with network.http.referer.XOriginTrimmingPolicy? The specification page you mention doesn't state network.http.enablePerElementReferrer
I'm not an expert, just trying to make my way through a myriad of header settings ...
network.http.referer.XOriginPolicy
network.http.referer.spoofSource
network.http.referer.trimmingPolicy
network.http.referer.XOriginTrimmingPolicy
network.http.sendRefererHeader
network.http.enablePerElementReferrer
network.http.referer.userControlPolicy (FF 53+)

They are well detailed in ghacks-user.js-51.0 yet, for a non-expert, appear as a chaotic soup.

@zymase > https://github.com/ghacksuserjs/ghacks-user.js/issues/5

@zymase, first of all, welcome on board here :)

are you sure you're not mistaking with network.http.referer.XOriginTrimmingPolicy?

we had quite the birth struggle with revamping the Referrer section.
@Atavic already linked to it, if you want to read thru some of it.
Towards the end there, you can see why we decided to only use XOriginPolicy for our "recommended Referer policy" for this user.js. We also came up with 3 recommended options for you to use, one of which (Option 2) can also be made more secure but with the risk of more breakage. We decided to go with the "less breakage" Option 2 as our default policy.
When network.http.enablePerElementReferrer is true, sites can use the "per element referrer" to better protect their users when they click on links, etc on that site. But it can also be used to lessen the protection!
But if you have a good setting for Referrer's, then it doesn't matter what the site does or doesn't do. That means if you're using one of our 3 recommended options, you can safely ignore network.http.enablePerElementReferrer, or you can set it to false if you want - it doesn't matter.
I personally also have enablePerElementReferrer set to false, if that helps your decision making :)
I looked at the code for some of it's implementation (namely this for Implement  referrer attribute), and the changes are minuscule and unlikely to be exploitable, but call me paranoid if you want - it does run extra code and since I don't need the feature anyway, I might as well disable it.

The specification page you mention doesn't state network.http.enablePerElementReferrer

The spec doesn't mention this because it's an implementation detail. It's a Firefox feature flag that was used to control when we rolled out this part of the spec.

@earthlng I'me using Option 2 and many thanks for developing this topic in latest ghacks user.js ver.52 Section 1600, which makes it easier to choose and, for a non-techie, makes related settings a bit easier to understand. What is confusing in this sum of header settings is their interaction, otherwise it wouldn't be more problematic than any other setting. Thanks as well for re-opening my thread. I ignored a dedicated thread existed here for such concerns.
@fmarier I was about to say merci! peerhaps presuming on a culture given a name. Thanks as well. The implementation detail explains your knowledge and my ignorance. You learn every day.
At the end my -- our! -- enablePerElementReferrer remains controversial to the point of inducing a margin of subjective appreciation, which is normal since true and false have both the best and worst implications. That very point is a pain but it's the lot of our computer world when an innovation has been driven for the best and gets manipulated for the worst. We have to do with it.
Fine. Thanks guys.

Thanks as well for re-opening my thread

np, I know Pants can be a PITA sometimes ;)

Fine. Thanks guys.

So no more questions? This is your ticket so please feel free to close this yourself

No more questions that I'm aware of for the time being (to make it long).
I thouhjt It was  Roman-Nopantski who had closed the thread.
Whatever the pages of Github I haven't correctly understoof of opening/closing a thread. In my mind I don't close doors of a house which isn't mine :) So the idea is that the registered can close the threads he opened himself only and the admin can close any thread? (that's an off-topic question!). Whatever I couldn't imagine closing someone else's thread, that would be rude, or wouldn't it considering the protocol of Github is not that of a private propriety, strico sensus! You learn every day, some faster than others (some users that is).
OK, I'll close the door!

Pants was @Roman-Nopantski's nickname on ghacks.net before we moved this project to github.

So the idea is that the registered can close the threads he opened himself only and the admin can close any thread?

Yes that's correct. And I think we should handle it that way, unless we (as admins) close something with wontfix for example. I agree, it's rude to close someone else's thread and if we want something closed, we should ask them to do it themselves.
We are also new to github and also still learning :)
I'm not entirely sure, but I think the original thread-creator can still comment even if we close an issue (wontfix for example) - feel free to test and confirm this, should it ever happen again ;)

I had in mind, would be rude a user closing another user's thread, not the admin (owner, whatever the denomination) of the Github "room" (I definitely lack the terminology). Old school here, "the boss is always right even when he's wrong" :)
Anyway, nice to discover this Ghacks-user.js dedicated Github "room". I read Pants' comments on Ghacks but I confess not having noticed a name, his, squeezed between Roman and Polanski. Perhaps was I expecting plain Pants, ironed :)
OK, OK. Well, the best to you, to us all, to a finely tuned Firefox to which you contribute in a much appreciated way.

Every member of this ghacksuserjs organization can close issues.

my avatar has nopants on

@Atavic I had just that in mind after my last comment and as I was lost in musical-driven thoughts, the fact that earthing had been able to close my thread even though he isn't administrator ... now I understand.

I really hope your name is Roman or that you're a fan of that guy's movies and not his butt-fucking-teenager(s) episode(s) :)

Whats with all the opening and closing. @zymase : regardless of who started the issue, anyone can still comment in a closed thread unless it is locked.

@earthlng No, it came from a cracked.com article's image caption (3 or 4 years ago) and, well, it cracked me up. Also, I used the handle pants because, well, it's a very common word - go search for pants hack or private pants. Been using, in this MO, various pants related handles all over the net.
William Makepants Fappery, Otto von Pantsmarck, Benedict Cumberpants, Attipants Finch  :)  PS: u won't be able to trace me, I have 1000's of these and they're all throwaway

Been using, in this MO, various pants related handles all over the net.

nice OpSec :)

Nah, its a silly MO. I also just use random stuff. At Bruce Schneier's site I use a random object (usually a fruit or vege) and add a couple of adjectives like The Hairy Pink Banana, or The Massive Coconut of Doom

@Roman-Nopantski , that's what I figured out after Atavic's comment :
regardless of who started the issue, anyone can still comment in a closed thread unless it is locked.
Otto von Pantsmarck sounds nice, requires a monocle!
I don't care tracing you, Pants, even if I could. But true as well that when someone seems to have a strong character he/she triggers curiosity. What where, when and so on. I'd appreciate meeting you in a pub, discovering you are the Pants we know, and chat around a pint or two. i'm sure it'd be most interesting. But here we are, more or less anonymously and it's just fine when the topics concern less ourselves then our thoughts, mainly about computer stuff.
Re-opened just to answer. I won't close this time!

There's hardly a name or sentence that can't have the word pants substituted in that doesn't make people smile - the chances of running out are slim to none. But ... it's also not 100% random then, is it. Horatio Pantsblower - i mean, come on .. a pantsblower! sounds like fun.
@zymase But the topic should be closed. I think you lost track of what you were doing.


Multiple keys support

Is your feature request related to a problem? Please describe.
I had rait limit error. I think, that if requests of memgpt will be with different tokens - тhis can prevent openai from failing to process requests.
Describe the solution you'd like
def build_keyroller(key_pref) -> Callable[[object], Optional[str]]:
    key_tuple_name:str = key_pref + '_keys'
    key_number_name:str = key_pref + '_key_num'
    def roll_key(self) -> Optional[str]:
        keys = self.__getattribute__(key_tuple_name)
        if not keys:
            return None
        number = self.__getattribute__(key_number_name)
        number += 1
        if number >= len(keys):
            number = 0
        self.__setattr__(key_number_name, number)
        return keys[number]
    return roll_key

@dataclass
class Credentials:
    # openai config
    openai_auth_type: str = "bearer_token"
    _openai_keys: Tuple = ()
    _openai_key_num: int = 0
    openai_key = property(
            fget=build_keyroller('_openai')
            )

    # azure config
    azure_auth_type: str = "api_key"
    _azure_keys: Tuple = ()
    _azure_key_num: int = 0
    azure_key = property(fget=build_keyroller('_azure'))

    openllm_auth_type: Optional[str] = None
    _openllm_keys: Tuple = ()
    _openllm_key_num: int = 0
    openllm_key = property(fget=build_keyroller('_openllm'))

I store my keys in csv file. In my chatbot i load keys, and manage them with simple "keyroller". After request it change key, and it prevents rate limit errors.
Describe alternatives you've considered
Nothing at my opinion

That's just the architecture of the library does not allow you to make such changes so easily.
Although it turned out to be quite possible to make getters, but setters turn out to be useless when the instance is initialized ...
You will have to do a little crutch option:
def build_keyroller(key_pref) -> Callable[[object], Optional[str]]:
    key_tuple_name:str = key_pref + '_keys'
    key_number_name:str = key_pref + '_key_num'
    def roll_key(self) -> Optional[str]:
        keys = self.__getattribute__(key_tuple_name)
        if not keys:
            return None
        number = self.__getattribute__(key_number_name)
        number += 1
        if number >= len(keys):
            number = 0
        self.__setattr__(key_number_name, number)
        return keys[number]
    return roll_key

@dataclass
class Credentials:
    # openai config
    openai_auth_type: str = "bearer_token"
    _openai_keys: Tuple = ()
    _openai_key_num: int = 0
    get_openai_key = build_keyroller('_openai')
    openai_key: Optional[str] = None

    # azure config
    azure_auth_type: str = "api_key"
    _azure_keys: Tuple = ()
    _azure_key_num: int = 0
    get_azure_key = build_keyroller('_azure')
    asure_key: Optional[str] = None

    openllm_auth_type: Optional[str] = None
    _openllm_keys: Tuple = ()
    _openllm_key_num: int = 0
    get_openllm_key = build_keyroller('_openllm')
    openai_key: Optional[str] = None


location does not have previous path

Hello,
In the documentation here you say "Locations represent where the app is now, where you want it to go, or even where it was.". I just asked in chat how to access the previous page path but I was told it is impossible to get the previous path so it seems like that's not correct.

Where you are now is represented by one location object. Where you just were is a separate location object. Except for memory history, the information on old locations is just stored by the browser. If you need to reference old locations, you will need to implement something to store that yourself.

Right so if I understand correctly location does not tell me where I just was right? So the sentence in the doc should be amended I think.

Please submit a PR in that case. Just saying it's wrong doesn't give us anything to work with 😄

If I'm understanding what your post is saying, you interpreted "locations represent" as "a single location represents". I don't think that there is anything wrong with the current phrasing, but I suppose that you could change the beginning of the sentence to "A location object can represent...".


Added predicated ConditionVariable::wait

This PR matches this PR in Rakudo.

Thanks!

Thanks!

I should have been more clear in my PR, this should not have been merged until the linked PR is. It's probably fine, but if that PR isn't accepted this should be reverted).

Not deployed yet anyway.
El dom., 28 feb. 2021 18:05, Leon Timmermans<EMAIL_ADDRESS>escribió:

Thanks!
I should have been more clear in my PR, this should not have been merged
until the linked PR is. It's probably fine, but if that PR isn't accepted
this should be reverted).
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/Raku/doc/pull/3806#issuecomment-787484424, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAD5ABNGJNMCSFZKVEVRLTBJZURANCNFSM4YJ6CDZQ
.


Nullpointer exceptions

As a user I get many time a null pointer exception without any useful information.
For example I am debugging a query in studio:
SELECT in(MyEdge) FROM MyVertex

The error I get in Studio, in the new red bar:
java.lang.NullPointerException

Server console
2014-09-10 09:35:46:677 SEVE Internal server error:
java.lang.NullPointerException [ONetworkProtocolHttpDb]
2014-09-10 09:35:48:265 SEVE Internal server error:
java.lang.NullPointerException [ONetworkProtocolHttpDb]
2014-09-10 09:36:01:571 SEVE Internal server error:
java.lang.NullPointerException [ONetworkProtocolHttpDb]

As a user I expect: A normal error like other databases do, something like SQL error: Unknown function, unknown table, whatever. I do not expect a null pointer exception.
From my Googling I understand that it's hard to fix this in total in Java though I suspected this would be fixed in some way by the testing routines you run before pushing a new snapshot/release?
Another example:
Example in manual:
create edge from #10:3 to #11:4
DELETE EDGE from #11:101 TO #11:117 Where date >= "2012-01-15"

My code made from that example:

CREATE EDGE FROM #5:3 TO #17:0
DELETE EDGE FROM #5:3 TO #17:0
Results in: java.lang.NullPointerException

DELETE EDGE FROM #17:0 TO #5:3
Returns no exception but value: = 0 (which seems to not delete the edge?)

Using 2.1.6 enterprise edition and have a lot of
java.lang.NullPointerException [ONetworkProtocolHttpDb]
2015-11-25 20:24:06:633 SEVER Internal server error:
in my logs too :(

Hi @MathildeLemee
Is this happens when you use the sql profiler?


Pod install failed after upgrade to 0.70.1

New Version
0.70.1
Old Version
0.66.0
Build Target(s)
1
Output of react-native info
System:
OS: macOS 12.5
CPU: (16) x64 Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
Memory: 1.04 GB / 24.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.17.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.15.0 - /usr/local/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK: Not Found
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8815526
Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
Languages:
Java: 11.0.16 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.1 => 0.70.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Issue and Reproduction Steps
Hi, I tried to upgrade my project from 0.66.0 to 0.70.1 via React Native Upgrade Helper, but when I tried to pod install then I get this error

Thanks for the help!

Did you try cleaning the ios/pods and ios/podfile.lock and retrying pod install?
for me sometimes 'npx pod-install' in project folder also works instead of 'pod install' in ios folder

works

yes i did, it's not working :(

react-native-fbt (from ../node_modules/react-native-fbt) was resolved to 0.0.7, which depends on
RCT-Folly (= 2<IP_ADDRESS>-v2)

The issue is with react-native-fbt which is depending on a older version of Folly:
https://github.com/facebook/fbt/blob/d9d86a9f40af564a06c3ccdef7997aad3d4415b7/packages/react-native-fbt/react-native-fbt.podspec#L11
Please open an issue here https://github.com/facebook/fbt and ask folks on FBT to follow up


Changed ENTRYPOINT to CMD to use docker supervisord.

Prasanna, we also would need to merge this to wso2/docker-common repository. Thanks!


Improve logging functionality

Right now there is only minimal info available about the events that happen like a robot or planner being created.
This can be improved by using something like https://docs.python.org/3/library/logging.html so that we can display more information as necessary in order to get better observability and help with debugging.

Been thinking more about this issue lately.
I guess since logging loggers and rclpy loggers have the same interface, would be nice if PyRoboSim basically defaulted to the former unless a ROS node was attached.
Then, all calls to print and warnings.warn could be removed in favor of calling whatever the current logger is.


Add MailMate

NOTE: Each discrete (stand-alone) request should be in its own issue.
Put "Add ____" as Title
[X] Done
Provide a link to the proposed addition.
MailMate.
Explain why it should be added
MailMate is an IMAP email client for macOS featuring extensive keyboard control, Markdown integrated email composition, advanced search conditions and drill-down search links, equally advanced smart mailboxes, automatic signature handling, cryptographic encryption/signing (OpenPGP and S/MIME), tagging, multiple notification methods, alternative message viewer layouts including a widescreen layout, flexible integration with third party applications, and much more.
Additional context
Add any other context or screenshots about the feature request here.
Issue Checklist
Put an x in the boxes once you've completed each step. You can also fill these out after creating the issue. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before responding to the issue.

[X] I have checked for other similar issues
[X] I have explained why this change is important
[X] I have added necessary documentation (if appropriate)

Please close, @jaywcjlove.


fix app.js path

//localhost:8888/build/app.js doesn't work for me and it is the address for api server.

Can you explain what does not work exactly please?

It was trying to load localhost:8888/build/app.js and failed so no client side rendering works for me.

Are you sure you've started your app with gulp not with npm start?

Yes I am starting it with gulp. Otherwise can you explain why localhost:8888/build/app.js is used instead of localhost:8000/build/app.js?
I am using OS X 10.10.4 and Chrome 43.0.2357.81 (64-bit)

I have 10.10.3 OSX with the same Chrome, and everything works. I would blame 10.10.4

From my understanding, localhost:8000 is web server and 8888 is api server. Why is app.js file served from api server?

For dev, webpack dev server is used https://github.com/steida/este/blob/master/webpack/devserver.js#L12 to serving compiled JS files.


Added query

Codecov Report

Merging #147 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #147   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines        1016   1019    +3
=====================================
+ Hits         1016   1019    +3

Impacted Files
Coverage Δ

dist/partial.lenses.cjs.js
100% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Atom error, windows

Atom is opening in developer mode, and is unusable:
Error: EPERM: operation not permitted, open 'C:\Users\Bronson.atom\compile-cache\less\40e22529c8729b65e1d700a7ae3f73d57ed1288f\imports.json'
at Error (native)
at Object.fs.openSync (fs.js:544:18)
at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:118:20)
at Object.fs.writeFileSync (fs.js:1155:15)
at Object.fsPlus.writeFileSync (C:\Users\Bronson\AppData\Local\atom\app-1.0.5\resources\app.asar\node_modules\fs-plus\lib\fs-plus.js:279:17)
at LessCache.module.exports.LessCache.writeJson (C:\Users\Bronson\AppData\Local\atom\app-1.0.5\resources\app.asar\node_modules\less-cache\lib\less-cache.js:155:17)
at LessCache.module.exports.LessCache.setImportPaths (C:\Users\Bronson\AppData\Local\atom\app-1.0.5\resources\app.asar\node_modules\less-cache\lib\less-cache.js:113:12)
at new LessCache (C:\Users\Bronson\AppData\Local\atom\app-1.0.5\resources\app.asar\node_modules\less-cache\lib\less-cache.js:32:12)
at new LessCompileCache (C:\Users\Bronson\AppData\Local\atom\app-1.0.5\resources\app.asar\src\less-compile-cache.js:20:20)
at ThemeManager.module.exports.ThemeManager.loadLessStylesheet (C:\Users\Bronson\AppData\Local\atom\app-1.0.5\resources\app.asar\src\theme-manager.js:299:26)

Maybe try reinstalling Atom? It looks like it's installed somewhere that your account lacks read/write permissions.

deleting my user profile fixed the issue... Not sure what happened as it
was working fine then suddenly that happened.
Cheers :)
On Fri, Aug 14, 2015 at 2:26 AM, Max Brunsfeld<EMAIL_ADDRESS>wrote:

Maybe try reinstalling Atom? It looks like it's installed somewhere that
your account lacks read/write permissions.
—
Reply to this email directly or view it on GitHub
https://github.com/atom/atom/issues/8359#issuecomment-130759609.

I've stumbled upon the same EPERM error in Windows/Atom 1.0.7 while opening file with restricted write permissions. Changing permissions with chmod 777 filename helped.
Could you please make Atom not to respect filesystem write permissions somehow? In my case the file got restricted permissions after windows reinstall and now I just don't want to bother with massive permissions change for every project I work on.

Quite often the permissions issue is at the level of the .atom folder (under C:\Users\[useraccount]\AppData\.atom.
It makes sense to just change that folder (and children) to have full permissions for the current user. I don't know why that sometimes isn't the case.

@batjko maybe sometimes there are such issues with .atom but I've checked it for my case -- setting full permissions to .atom doesn't affect project folder permissions. And it is as it should be.
In my case while reinstalling windows I've changed username so old files write permissions defined for an old user don't work any more for a new user, that's the case.
After some consideration I came to conclusion that Atom can't ignore file owner until it is run as administrator (or root). Only file owner or admin can change permissions. And this makes sense.
So if you are faced with the same error -- just change permissions for files you are trying to edit.
Or run Atom as administrator (under root), you may create a corresponding link in Windows for convenience. And maybe Atom on EPERM error should offer to restart itself with root privileges. That would be great.

Yes, of course your project files need to have the right permissions for the current user, that's a basic given on any OS and should be self-evident.
What I was saying is that on top of that, some people have reported problems working in Atom, that could be traced down to bad permissions on Atom's .atom folder (which contains packages and settings for the current user).
Glad you worked it out for your specific issue!

Error: EPERM: operation not permitted is somewhat cryptic, it may be Can't edit readonly file with current Atom permissions.


[name] make addMultilingualNames() add mac names by default

As discussed in #930.

Hm, not sure why the tests are failing, maybe I messed something up locally when merging #1357

@justvanrossum what's the status of this? Can it be merged?
this TODO in varLib may be related:
https://github.com/fonttools/fonttools/blob/1fd9bf6c298c7aaceb7b87bb0d4b71041f2af740/Lib/fontTools/varLib/__init__.py#L78-L83

Can be merged as far as I'm concerned, thanks!


Improve discovery/upgrade messages

This change fixes an issue where spurious upgrade messages were reported when no azdata was found to be installed. It also adds/fixes other messages to make information in output channel clearer.
This PR fixes #11992

Pull Request Test Coverage Report for Build 229333426

9 of 13 (69.23%)  changed or added relevant lines in 1 file are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 40.623%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/azdata/src/azdata.ts
9
13
69.23%

Files with Coverage Reduction
New Missed Lines
%

extensions/notebook/src/jupyter/serverInstance.ts
4
74.52%

Totals

Change from base Build 229203809:
-0.01%

Covered Lines:
19550

Relevant Lines:
44130

💛  - Coveralls


Process not closing when stopping debugger

Bug Description
Starting the project in debug mode won't close the process once I stop the debugger. It boots up and works as intended, but the moment I stop it the process keeps on going. I have to manually kill it through terminal.
This only happens when I'm debugging the process, running it without debugger works as expected.
Steps to Reproduce

Create a new dotnet application (e.g. dotnet new webapp)
Run with debug configuration
Stop the debug session
Rider signals on the UI that it stopped, but using ps you should be able to see the process is still running
Terminal connected to application within Rider is still showing new logs coming from running app

Backtrace
No response
Relevant Logs
No response
Your operating system and version
macOS 13.4.1
Local process
/usr/local/share/dotnet/dotnet: Mach-O 64-bit executable arm64
Local process version
7.0.102
Additional Info
mirrord config:
{     "accept_invalid_certificates": false,     "feature": {         "network": {             "incoming": "steal",             "outgoing": true         },         "fs": "write",         "env": true     } }

One thing I have noticed as well is that whilst debugging I'm not able to hit any breakpoints.

Found out that bringing remote env COMPlus_EnableDiagnostics both reported issues.
Can be resolved temporarily by having this in the mirrord.json:
        "env": {
            "exclude": ["COMPlus_EnableDiagnostics"]
        }

Created #1728 and #1729 to exclude the env and fix it by default :)


Polling on user-provided file descriptors

Something that could be useful in Mercury for upper libraries like Margo is the possibility to inject user-provided file descriptors in the Mercury polling mechanism. Some use-cases would include injecting timerfds (to manage a set of timers that have to fire at specific time and make the progress loop return to trigger a specific callback), or injecting file descriptors through which we could make the HG_Progress call return without having received an RPC (for instance in conjunction with Argobots custom schedulers).
Some idea of API:
hg_return_t HG_Inject(hg_context_t *context, int fd, hg_cb_t callback, void* udata);

With an additional type of callback info defined as follows:
struct hg_cb_info_user_fd {
    int fd; /* file descriptor */
};

/* change to the hg_cb_info structure */
struct hg_cb_info {
    void *arg;                  /* User data */
    hg_return_t ret;            /* Return value */
    hg_cb_type_t type;          /* Callback type */
    union {                     /* Union of callback info structures */
        struct hg_cb_info_lookup lookup;
        struct hg_cb_info_forward forward;
        struct hg_cb_info_respond respond;
        struct hg_cb_info_bulk bulk;
        struct hg_cb_info_user_fd user_fd;
    } info;
};

/* change to the hg_cb_type_t enum */
typedef enum hg_cb_type {
    HG_CB_LOOKUP,       /*!< lookup callback */
    HG_CB_FORWARD,      /*!< forward callback */
    HG_CB_RESPOND,      /*!< respond callback */
    HG_CB_BULK,          /*!< bulk transfer callback */
    HG_CB_USER_FD /*!< user fd callback */
} hg_cb_type_t;

(there might be some additional relevant information, such as the type of event that was received on the file descriptor, to add to the hg_cb_info_user_fd structure)
An event on the file descriptor would trigger the user-provided callback and remove the file descriptor from the set of fds to poll from (so if the user wants to continue monitoring this fd, the callback should call HG_Inject again).
The mechanism would be sort of like the generalized MPI requests.

Closing this now that HG_Event routines have been added.


improve UI

PLEASE ELABORATE THE ISSUE

PLEASE TELL SOMETHING ABOUT THE ISSUE

Please add description to this issue so that I can look into it.


CI: Update test job to macos-14 (Apple Silicon)

Description

CI: Update test job to macos-14 (Apple Silicon)
Follow-up to c71bbf7137421ec89684bb780c31a2fd4d394436.
Motivation and Context

Tests should probably run on the same runner version as build. The macos-14 runners are also faster and seem less error prone.
How Has This Been Tested?

It hasn't.
Types of changes

Tweak (non-breaking change to improve existing functionality)
Performance enhancement (non-breaking change which improves efficiency)

Checklist:

[x] My code has been run through clang-format.
[x] I have read the contributing document.
[x] My code is not on the master branch.
[ ] The code has been tested.
[x] All commit messages are properly formatted and commits squashed where appropriate.
[x] I have included updates to all appropriate documentation.

I ran a test run on my fork's master branch and this seemed to go fine.