what's the best way to detect a python type in rust?

I'm trying to serialize a python dict into a json in rust.
what's the best way to detect python types?
currently I'm doing python_var.get_type().name().unwrap(), with a string comparison. it seems  to be inefficient?
is there a better way doing this? Thanks!
Another question, how to initialize python's NoneType? there is no document covering that?
And how can I convert from PyDict to PyAny?
Thanks.

You should be able to directly compare the result of get_type()? (better not use unwrap unless forced) for equality.  However, obj.is_instance is also available which might be a better fit.
What do you mean by "initialize NoneType"?
&PyDict should automatically deref to &PyAny, so for specific problems please post a bit of code.


remove tests folder from sdist

Description
remove tests folder from sdist
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[x] Changelog entry
[x] Correct, in line with design
[x] End

Processing this pull request

Merged into branches master in 52fae2a2f460fb24358c0f5d326f4917671926b7


Add contributors to landing

Remove bold from compiled date
Add "View commits" text on new line
Add "Contributors" link next to "View commits"

Thanks @DrDrij !
Two small additional requests: Could you please remove the sentence "The language of instruction is Python", which should be pretty obvious from the title, as well as the sentence after (which starts "This is one of...").
Also, please change "Contributors" to "See all contributors".

Two small additional requests: Could you please remove the sentence "The language of instruction is Python", which should be pretty obvious from the title, as well as the sentence after (which starts "This is one of...").
Also, please change "Contributors" to "See all contributors".

Perfect.  Thanks @DrDrij.  Please merge when ready @mmcky .

thanks @DrDrij -- once the projects are split -- we will put together a contributors page and update the links for the split project.


Feature Request: support change to simple theme

The Vue theme's font size and font color Green  reads not feeling like reading a book... I guess. Any way, it's just personal taste issue.

Compare to /The simple theme/:

Thanks.

@Vonng 你看看呢？

That make sense.
Closed by https://github.com/Vonng/ddia/commit/8d8272371853c60bafb4ff0f0a6c1e6560ec79d1


[Feat] NAS Security with NIA3 and NEA3

Issue Description
NAS package in your repository has supported NIA3 and NEA3, which version is v1.0.4, but the free5gc uses v1.0.0, when will update it?
What's the version are you using
Version 3.0.6
Is your feature request related to a problem? Please describe.
NAS Security:
Describe the solution you'd like
Just change the NAS package version in "free5gc/NFs/amf/go.mod", and rebuild amf, will it cause error?

@wHangsHuGe
It is fixed on v3.1.0.
Please get v3.1.0 and try.


fix(mangastream)!: fix title parsing and use proper id's

This fixes the repetitive chapter titles, "Ch. 123 - Chapter 123" and should be able to parse titles properly now.

Warning BREAKING CHANGE!: Now proper id's are used, instead of full url's - All MangaStream sources will have to be migrated!

Before, the full url of a series or chapter was set as the id. This is bad for many reasons, the main on being if the source changes it's url or path names even slightly, the id changes, and you will be forced to migrate all saved library entries for that source.
Now, the id is parsed from the url, no longer the full url, this means the chances of a series breaking and requiring migration is far lower. A site could change its url and pathnames all they want, and no migration would be necessary, all existing library entries will work fine (once the url's and pathnames have been updated).
I also formatted all json files with jq --tab so the formatting will finally be consistent
Checklist:

[x] Updated source's version for individual source changes
[x] Updated all sources' versions for template changes
[x] Set appropriate nsfw value
[x] Did not change id even if a source's name or language were changed
[x] Tested the modifications by running it on the simulator or a test device

since this breaks every mangastream source, I'm thinking I might move the in-app migration tool to the top of my priority list and get that done quick before merging...

I think you could also update aidoku-rs for mangastream while you're at it? I believe it's using the outdated version, just delete Cargo.lock and recompile and you'll have to make a few changes.


sys.path

The module paths of miubrt are not automatically located in the sys.path. Currently, I am manually locating it. How do we resolve this, setup some environment variable ?

Just noticed the line above !

@prabshr Yeah, an automated discovery isn't possible. So I thought that this would be the easiest method :grin:


Citations and Cited by

Each article should have a citations and cited by links. Ideally they should be created automatically through an external web service like crossref. This service is however not free, so until we are ready to spend the 2000$/y on this feature we suggest to add a way for users to upload a copy of the references for an article. The system should then automatically detect the citation (maybe through the DOI) and populate the links. The cited-by would then be also created indirectly.
Alternatively we could ask the users to upload the full pdf and use a library that extract references from pdf, such as the one developed by crossref.

These citations/cited-by metrics should also go into the metric panel #4.


Fixed anaconda install link

Updated broken link for anaconda distribution download

@Joon : Thanks for your contribution! The author, @hrasheed-msft, has been notified to review your proposed change.


ROS catkin_make

Hi I'm trying to make this repo work without docker.
But even after installing osqp-eigen (from source and with conda) I obtain this error:
In file included from /usr/include/OsqpEigen/OsqpEigen.h:10,
                 from /home/parallels/capstone/workspace/src/a1_cpp/src/test/test_rotation.cpp:8:
/usr/include/OsqpEigen/Constants.hpp:12:10: fatal error: osqp.h: No such file or directory
   12 | #include <osqp.h>
      |          ^~~~~~~~
compilation terminated.
make[2]: *** [a1_cpp/CMakeFiles/test_rotation.dir/build.make:63: a1_cpp/CMakeFiles/test_rotation.dir/src/test/test_rotation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2868: a1_cpp/CMakeFiles/test_rotation.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Invoking "make -j4 -l4" failed

Does someone have an idea on how to solve this ?

Hi @JulienRineau, thanks for the issue.
Could you please post here the steps you are following. That could give us a possibility to reproduce the issue.

Thank you @S-Dafarra. Here is what I have done:

Create a ros workspace and copy past the a1_cpp package in src
Try with conda: conda install -c conda-forge osqp-eigen
Try to build my ros workspace with catkin_make but obtain the above error
Try to install osqp-eigen from source: git clone https://github.com/robotology/osqp-eigen.git in the folder containing my ros workspace
cd osqp-eigen
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ../  (I'm not sure of this part)
make
sudo make install
OsqpEigen_DIR=/path/to/osqp-eigen/  ('m not sure of this part)
Obtain the above error

I'm using ros Noetic with Ubuntu 20.04

Hello @JulienRineau, how did you installed the ROS installation with which you created the ROS workspace? If you did it with apt (the default and official installation method), then in general you can't install and use conda(-forge) packages. apt and conda effectively are completly separated distributions of C++ libraries, that even have different libstdc++ version, so you can't mix them.
Furthermore, never install in /usr, that location is reserved for apt package. To recover your system I suggest to:
A. Make sure that you do not have any conda environment active when you work with ROS/apt, ensuring that you are not activating any in the .bashrc or similar, and that even your base environment is not active (i.e. call conda config --set auto_activate_base true once). This should revert any problem introduced by step 2.
B. Uninstall the osqp-eigen that you installed in /usr, by going in the build dir and running `sudo make uninstall . This should revert any problem introduced by step 8.
At this point, I think you can start again, probably installing osqp-eigen by source either in a user directory. From the problem you have, probably it is important to check:

the CMakeLists.txt of your project, to ensure that it is correctly linking OsqpEigen::OsqpEigen
double check how you installed osqp

By the way, now that I think of @wxmerkt in https://github.com/robotology/osqp-eigen/pull/109 added a package.xml in osqp-eigen for catkin compatibility, so perhaps if he has time he may have some hints on how to compile and install osqp-eigen directly via catkin (thanks in advance, my experience with ROS build tools is mostly limited to colcon).

You can directly compile OSQP and osqp-eigen in a catkin workspace. To do so, clone OSQP from https://github.com/ori-drs/osqp (the only modifcation being an added package.xml) and osqp-eigen from this repository - directly into your catkin_ws/src. You can then compile with catkin build or catkin_make_isolated - but not catkin_make. I did not have to modify any environment variables but I am noticing a transitive dependency issue when including constants - it appears that the osqp::osqp target that is linked to OsqpEigen::OsqpEigen does not get searched/its INTERFACE_INCLUDE_DIRECTORIES appended?

Thanks a lot @wxmerkt !

Thanks @wxmerkt and @traversaro for your help.
Running catkin_make give me now another error. Have you ever encountered this ?
parallels@ubuntu-linux-20-04-desktop:~/capstone/workspace$ catkin_make_isolated
Base path: /home/parallels/capstone/workspace
Source space: /home/parallels/capstone/workspace/src
Build space: /home/parallels/capstone/workspace/build_isolated
Devel space: /home/parallels/capstone/workspace/devel_isolated
Install space: /home/parallels/capstone/workspace/install_isolated
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~  traversing 13 packages in topological order:
~~  - a1_description
~~  - aliengo_description
~~  - b1_description
~~  - go1_description
~~  - laikago_description
~~  - osqp (plain cmake)
~~  - osqp-eigen (plain cmake)
~~  - unitree_legged_msgs
~~  - a1_cpp
~~  - unitree_controller
~~  - unitree_gazebo
~~  - unitree_legged_control
~~  - unitree_legged_real
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

==> Processing catkin package: 'a1_description'
Makefile exists, skipping explicit cmake invocation...
==> make cmake_check_build_system in '/home/parallels/capstone/workspace/build_isolated/a1_description'
==> make -j4 -l4 in '/home/parallels/capstone/workspace/build_isolated/a1_description'
<== Finished processing package [1 of 13]: 'a1_description'

==> Processing catkin package: 'aliengo_description'
==> Building with env: '/home/parallels/capstone/workspace/devel_isolated/a1_description/env.sh'
Makefile exists, skipping explicit cmake invocation...
==> make cmake_check_build_system in '/home/parallels/capstone/workspace/build_isolated/aliengo_description'
==> make -j4 -l4 in '/home/parallels/capstone/workspace/build_isolated/aliengo_description'
<== Finished processing package [2 of 13]: 'aliengo_description'

==> Processing catkin package: 'b1_description'
==> Building with env: '/home/parallels/capstone/workspace/devel_isolated/aliengo_description/env.sh'
Makefile exists, skipping explicit cmake invocation...
==> make cmake_check_build_system in '/home/parallels/capstone/workspace/build_isolated/b1_description'
==> make -j4 -l4 in '/home/parallels/capstone/workspace/build_isolated/b1_description'
<== Finished processing package [3 of 13]: 'b1_description'

==> Processing catkin package: 'go1_description'
==> Building with env: '/home/parallels/capstone/workspace/devel_isolated/b1_description/env.sh'
Makefile exists, skipping explicit cmake invocation...
==> make cmake_check_build_system in '/home/parallels/capstone/workspace/build_isolated/go1_description'
==> make -j4 -l4 in '/home/parallels/capstone/workspace/build_isolated/go1_description'
<== Finished processing package [4 of 13]: 'go1_description'

==> Processing catkin package: 'laikago_description'
==> Building with env: '/home/parallels/capstone/workspace/devel_isolated/go1_description/env.sh'
Makefile exists, skipping explicit cmake invocation...
==> make cmake_check_build_system in '/home/parallels/capstone/workspace/build_isolated/laikago_description'
==> make -j4 -l4 in '/home/parallels/capstone/workspace/build_isolated/laikago_description'
<== Finished processing package [5 of 13]: 'laikago_description'

==> Processing plain cmake package: 'osqp'
==> Building with env: '/home/parallels/capstone/workspace/devel_isolated/laikago_description/env.sh'
==> cmake /home/parallels/capstone/workspace/src/osqp -DCMAKE_INSTALL_PREFIX=/home/parallels/capstone/workspace/devel_isolated/osqp -G Unix Makefiles in '/home/parallels/capstone/workspace/build_isolated/osqp/devel'
-- We are on a Linux system
-- Embedded is OFF
-- Printing is ON
-- Profiling is ON
-- User interrupt is ON
-- Floats are OFF
-- Long integers (64bit) are ON
-- Code coverage is OFF
-- MKL Pardiso: ON
CMake Error at lin_sys/direct/qdldl/CMakeLists.txt:2 (add_subdirectory):
  The source directory

    /home/parallels/capstone/workspace/src/osqp/lin_sys/direct/qdldl/qdldl_sources

  does not contain a CMakeLists.txt file.

-- Configuring incomplete, errors occurred!
See also "/home/parallels/capstone/workspace/build_isolated/osqp/devel/CMakeFiles/CMakeOutput.log".
<== Failed to process package 'osqp':
  Command '['/home/parallels/capstone/workspace/devel_isolated/laikago_description/env.sh', 'cmake', '/home/parallels/capstone/workspace/src/osqp', '-DCMAKE_INSTALL_PREFIX=/home/parallels/capstone/workspace/devel_isolated/osqp', '-G', 'Unix Makefiles']' returned non-zero exit status 1.

Reproduce this error by running:
==> cd /home/parallels/capstone/workspace/build_isolated/osqp && /home/parallels/capstone/workspace/devel_isolated/laikago_description/env.sh cmake /home/parallels/capstone/workspace/src/osqp -DCMAKE_INSTALL_PREFIX=/home/parallels/capstone/workspace/devel_isolated/osqp -G 'Unix Makefiles'

Command failed, exiting.

Thank you @traversaro!
I still I'm a still missing something unfortunately. To be sure there is no issues due to my previous work I created a separated workspace. Here is what I've done
mkdir test_ws
cd test_ws
mkdir src
catkin_make

Move a1_cpp in src
cd src
git clone https://github.com/ori-drs/osqp.git --recursive
git clone https://github.com/robotology/osqp-eigen.git --recursive
cd ..
catkin_make_isolated

Here is what I obtain
parallels@ubuntu-linux-20-04-desktop:~/capstone/test_ws$ catkin_make_isolated
Base path: /home/parallels/capstone/test_ws
Source space: /home/parallels/capstone/test_ws/src
Build space: /home/parallels/capstone/test_ws/build_isolated
Devel space: /home/parallels/capstone/test_ws/devel_isolated
Install space: /home/parallels/capstone/test_ws/install_isolated
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~  traversing 3 packages in topological order:
~~  - a1_cpp
~~  - osqp (plain cmake)
~~  - osqp-eigen (plain cmake)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The packages or cmake arguments have changed, forcing cmake invocation

==> Processing catkin package: 'a1_cpp'
==> Creating build directory: 'build_isolated/a1_cpp'
==> cmake /home/parallels/capstone/test_ws/src/a1_cpp -DCATKIN_DEVEL_PREFIX=/home/parallels/capstone/test_ws/devel_isolated/a1_cpp -DCMAKE_INSTALL_PREFIX=/home/parallels/capstone/test_ws/install_isolated -G Unix Makefiles in '/home/parallels/capstone/test_ws/build_isolated/a1_cpp'
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_PREFIX_PATH:
-- Using CATKIN_DEVEL_PREFIX: /home/parallels/capstone/test_ws/devel_isolated/a1_cpp
-- Using CMAKE_PREFIX_PATH: /home/parallels/capstone/workspace/devel;/home/parallels/CS206_final/workspace/devel;/home/parallels/catkin_ws/devel;/opt/ros/noetic
-- This workspace overlays: /home/parallels/capstone/workspace/devel;/home/parallels/CS206_final/workspace/devel;/home/parallels/catkin_ws/devel;/opt/ros/noetic
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Found PY_em: /usr/lib/python3/dist-packages/em.py
-- Using empy: /usr/lib/python3/dist-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/parallels/capstone/test_ws/build_isolated/a1_cpp/test_results
-- Forcing gtest/gmock from source, though one was otherwise available.
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python3 (found version "3.8.10")
-- Found Threads: TRUE
-- Using Python nosetests: /usr/bin/nosetests3
-- catkin 0.8.10
-- BUILD_SHARED_LIBS is on
CMake Error at CMakeLists.txt:39 (find_package):
  By not providing "FindOsqpEigen.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "OsqpEigen", but CMake did not find one.

  Could not find a package configuration file provided by "OsqpEigen" with
  any of the following names:

    OsqpEigenConfig.cmake
    osqpeigen-config.cmake

  Add the installation prefix of "OsqpEigen" to CMAKE_PREFIX_PATH or set
  "OsqpEigen_DIR" to a directory containing one of the above files.  If
  "OsqpEigen" provides a separate development package or SDK, be sure it has
  been installed.

-- Configuring incomplete, errors occurred!
See also "/home/parallels/capstone/test_ws/build_isolated/a1_cpp/CMakeFiles/CMakeOutput.log".
See also "/home/parallels/capstone/test_ws/build_isolated/a1_cpp/CMakeFiles/CMakeError.log".
<== Failed to process package 'a1_cpp':
  Command '['cmake', '/home/parallels/capstone/test_ws/src/a1_cpp', '-DCATKIN_DEVEL_PREFIX=/home/parallels/capstone/test_ws/devel_isolated/a1_cpp', '-DCMAKE_INSTALL_PREFIX=/home/parallels/capstone/test_ws/install_isolated', '-G', 'Unix Makefiles']' returned non-zero exit status 1.

Reproduce this error by running:
==> cd /home/parallels/capstone/test_ws/build_isolated/a1_cpp && cmake /home/parallels/capstone/test_ws/src/a1_cpp -DCATKIN_DEVEL_PREFIX=/home/parallels/capstone/test_ws/devel_isolated/a1_cpp -DCMAKE_INSTALL_PREFIX=/home/parallels/capstone/test_ws/install_isolated -G 'Unix Makefiles'

Command failed, exiting.

I can't find the two files OsqpEigenConfig.cmake and osqpeigen-config.cmake
Am I doing something wrong ?

At this point, I think it is an issue of a1_cpp that does not specify osqp-eigen as dependency: https://github.com/ShuoYangRobotics/A1-QP-MPC-Controller/blob/de07f355b93bee95151296d814fc47d3c1fb8349/src/a1_cpp/package.xml#L42-L50

@JulienRineau I have a fork with the fixes needed to compile it here: https://github.com/wxmerkt/A1-QP-MPC-Controller
Note that we also use a different unitree_legged_sdk, but I didn't test that here. But the OsqpEigen code is fixed in the above repository

Awesome. I still have issues with the a1_cpp repo but everything concerning osqp-eigen has been solved.
I'll close this issue then.
Thank you @wxmerkt @S-Dafarra and @traversaro for your help

Hey @wxmerkt I have switch to docker and use your forked version of A1-QP-MPC because even by including unitree_legged_sdk in the catkin workspace it did not worked. However when I try to docker build -t a1_unitree_gazebo_image .
I obtain this:
(meng) bike@bike:~/Documents/meng/A1-QP-MPC-Controller/gazebo_docker$ docker build -t a1_unitree_gazebo_image .
Sending build context to Docker daemon  7.168kB
Step 1/44 : FROM osrf/ros:melodic-desktop-full
 ---> 490a8fac9e16
Step 2/44 : LABEL<EMAIL_ADDRESS> ---> Using cache
 ---> 54b2d4888795
Step 3/44 : ENV REFRESH_AT 2022-03-22
 ---> Using cache
 ---> 2085865d58c9
Step 4/44 : ENV NVIDIA_VISIBLE_DEVICES     ${NVIDIA_VISIBLE_DEVICES:-all}
 ---> Using cache
 ---> 4142b5cab356
Step 5/44 : ENV NVIDIA_DRIVER_CAPABILITIES     ${NVIDIA_DRIVER_CAPABILITIES:+$NVIDIA_DRIVER_CAPABILITIES,}graphics
 ---> Using cache
 ---> 01ad7398ae2f
Step 6/44 : RUN   if [ "x$(nproc)" = "x1" ] ; then export USE_PROC=1 ;       else export USE_PROC=$(($(nproc)/2)) ; fi &&       apt-get update && apt-get install -y       vim       libatlas-base-dev       libeigen3-dev       libgoogle-glog-dev       libsuitesparse-dev       python-catkin-tools       python3-matplotlib       gfortran       autoconf       coinor-libipopt-dev       libgfortran3       curl       libopenmpi-dev       apt-utils       software-properties-common       build-essential       libssl-dev       wget       libtool       cmake
 ---> Running in 8ba808a22298
Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:2 http://packages.ros.org/ros/ubuntu bionic InRelease [4680 B]
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:4 http://packages.ros.org/ros/ubuntu bionic/main amd64 Packages [796 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [83.3 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB]
Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB]
Reading package lists...
E: Release file for http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 7h 8min 18s). Updates for this repository will not be applied.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease is not valid yet (invalid for another 7h 10min 12s). Updates for this repository will not be applied.
E: Release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 7h 6min 44s). Updates for this repository will not be applied.

Did you ever had this issue ?

Thanks a lot @wxmerkt. I take the liberty of asking more questions about this repo here because the issue is already closed. I ran your repo with Docker because it seems easier. However when trying to run the simulation with
sudo roslaunch unitree_gazebo normal.launch rname:=a1 wname:=stairs_single
I obtain
[gazebo_gui-3] process has died
And the log is:
cat: /root/.ros/log/a8a1848a-76b4-11ed-bad4-a8a1596e44b4/gazebo_gui-3.log: Permission denied
This seems to be an issue related to launching a GUI with docker hower the repo implemented all the requirements I found (e.g https://wiki.ros.org/docker/Tutorials/GUI)
Did you ever had this problem ?

Hi @JulienRineau
I haven't run the code in the repository or looked into it too deeply so cannot comment in too much detail. One reason this issue could happen is if your uid/gid inside the Docker is not the same as your username outside e.g. if you want to give access to the xhost. You can manually set the uid/gid of the user inside docker when building the image to equal the one of your user outside if that was the issue. But that may only be one cause of failure.
Second, and this is only an observation, I am not sure why you need sudo for roslaunch. I am aware that Unitree in some cases does some unorthodox memory blocking/allocation that requires sudo (e.g. on the robot and for controlling robots rather than managing permissions more explicitly), but not sure why that would be the case here for Gazebo. Again, I haven't run or analysed the code in the linked repositories too closely, with my related experience only stemming from running experiments on the physical robot and packaging/build system fixes for the related libraries including Unitree's SDK


solfina list instead of normal list

I'm submitting a ...
[ ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ x] question about how to use this project

Summary

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
My SPL token with logo is uploaded to GitHub  with the token program but for some reason,the explorer goes to solfinaprotocol list instead of the regular list and doesnt show the logo, also not in the wallet.

looks like it was a copy paste error
fixed in https://github.com/solana-labs/token-list/pull/6096


Time expire token when login!

Hi @kahmali !
I found a issue. When i used login provide by Meteor with method Meteor.loginWithPassword() then i saw services.resume.loginTokens = [1: {when: ...., hashedToken: ....}]. But when I login with REST API api/login  then services.resume.loginTokens = [0: {hashedToken: ....}] not have when. So i think it login forever and hasn't time expire token

p/s: How do time expire token after login with rest api: api/login

@tanmynguyen were you able to figure this out?


Implementing feature for pdf to docx conversion

Most online pdf to doc convertors use OCR to do the job. OCR has already been implemented in the app. A feature to convert pdf files into docx can be done.

Hello there,
I would like to add work on this issue. Kindly assign me this issue as a part of DWOC.

@mishraaditya595 I would also like to work on this issue. Kindly assign me this issue when the GSSoC starts.

I have not received any notice from the organisers to start assigning issues. I will do it as soon as I get confirmation from their side. Glad to see your interest.

@mishraaditya595 sure

can you please assign this to me?

yeah , mentors told us to go to projects we like and ask you all to assign in particular issue

@mishraaditya595 sir, Please assign this issue to me. I would love to work on this issue.

Hey @kunal299, what is the status of your work? It has been 6 days. If you are facing some issues, let me know.

@mishraaditya595 I was just researching about ocr and learning how to implement it. As I am new to android dev, could you just break down the tasks for this issue so that i would complete it faster.

Ok! That's cool. I will try to simplify it. In the meantime, does anyone else also want to work on it? @sudhansukinng @Shaswat-2203 @subhangi2731

Yeah sure I want to work in it @mishraaditya595


To-do after email PR merged

Some things on the email PR are running on a few assumptions, so make sure to check this after merging:

[ ] Change email "from" field to the legit one, including in app/mailer's default from: and spec/mailer's  DEFAULT_FROM
[ ] implement duties#dropped for grab list
[x] ProblemReport model has the venue column changed into place with belongs_to :place
[ ] uncomment #problem_report test in spec/mailer after problem-report branch is merged

(refer to #34)


Add missing argument in passwordMeter.js

A call of setPassword in passwordMeter.js is missing second argument. This causes an error when user clears password field when setting a new password ex. due to the password policy).

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


LINK-1480 | Bump NodeJs packages to the latest versions

Description

Upgrade NodeJs packages to the latest versions
Simplify eslint configuration and remove unnecessary dependencies
Import useTranslation always from next-i18next to avoid mismatch between client and server
Fix deprecation warnings from fakes functions
In function when() of yup package values are always passed as an array and schema, and options always the second and third argument. Take this in the consideration in the validation schemas
Format code automatically when saving in VSCode

Closes
LINK-1480

Codecov Report

Merging #69 (8abda9c) into develop (7700056) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop      #69      +/-   ##
===========================================
+ Coverage    99.67%   99.71%   +0.03%
===========================================
  Files          137      137
  Lines         2463     2451      -12
  Branches       397      394       -3
===========================================
- Hits          2455     2444      -11
+ Misses           8        7       -1

Files Changed
Coverage Δ

src/common/components/dateInput/DateInput.tsx
100.00% <ø> (ø)

src/common/components/numberInput/NumberInput.tsx
100.00% <ø> (ø)

src/common/components/phoneInput/PhoneInput.tsx
100.00% <ø> (ø)

...rc/domain/signupGroup/SignupGroupCompletedPage.tsx
100.00% <ø> (ø)

...in/signupGroup/signupGroupForm/SignupGroupForm.tsx
100.00% <ø> (ø)

src/domain/signupGroup/summaryPage/SummaryPage.tsx
100.00% <ø> (ø)

src/domain/app/cookieConsent/CookieConsent.tsx
100.00% <100.00%> (ø)

.../domain/signup/hooks/useSeatsReservationActions.ts
100.00% <100.00%> (ø)

...otification/AuthenticationRequiredNotification.tsx
100.00% <100.00%> (ø)

...c/domain/signupGroup/instructions/Instructions.tsx
100.00% <100.00%> (ø)

... and 4 more

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


[flakes] respect nixpkgs commit hash

Summary
The nixpkgs URL in the flakes template was using the latest nixpkgs
and not respecting the version in devbox.json
How was it tested?
ran DEVBOX_FEATURE_FLAKES=1 devbox shell in go1.19 example project.
inspected devbox.lock and verified that the nixpkgs version matches that
of devbox.json (and confirmed that with main branch's devbox binary these would not match)

Current dependencies on/for this PR:

main

PR #535   👈

This comment was auto-generated by Graphite.


Double-clicking custom title bar doesn't restore maximized window on Mac

Does this issue occur when all extensions are disabled?: Yes

VS Code Version:  1.77.3
OS Version: macOS Ventura 13.3.1

Steps to Reproduce:

Ensure using the "custom" window title bar style (the default)
Resize the VSCode window to something easily distinguishable from maximized
Double-click the title bar; window maximizes
Double-click the title bar again; window does not restore to the previous size as it should

I also opened an issue about quirky restore behaviour when using the native title bar style: #180138

Actually this now seems entirely handled natively when appkit region drag is set. You can configure the behaviour you want from macOs settings:


Update to gender neutral language

Replace uses of "he" and "him" with gender neutral terms

Thanks, @Jonny-vb!


Error in app.tavily.com (Uncaught (in promise) TypeError: Error in input stream)

Often I get the following error - "Uncaught (in promise) TypeError: Error in input stream".
To reproduce:

Use Firefox
On https://app.tavily.com/chat run a search like so: "Efficacy and safety of PRP (Platelet Rich Plasma) therapy on knee osteoarthritis"

Task never completes and we see the error.
See attached screenshot for further potential clues.

Thanks for raising this @vikram-s-narayan we're looking into. Probably due to a disconnection from the streaming. We'll verify and fix the issue asap!


README: Add the pick-random-color example

This PR adds the example from a comment in #67 to the README.

fixes #67

Awesome 👍


Error executing lua .../.vim/plugged/nvim-cmp/lua/cmp/config/default.lua:23: snippet engine is not configured.

Hi there,
I'm transitioning from nvim-compe, I managed to get it almost running with the same settings as with compe, however when I try to complete a lsp snippet it throws with the title error.
Can I get some help please? it gets replaced with a 0 when I hit enter

I had simmilar error - it was caused by bad mapping config (it is better to create new config from  cmp readme, rather than trying to convert old compe mappings config imo -  or else u end up with above bug). Here is config that worked witout error (I use tab, to cycle through entries, or just to snippet tabstops;  ctrl+space accepts selected item, or expands snippet ) :+1:
mapping = {
		['<C-p>'] = cmp.mapping.select_prev_item(),
		['<C-n>'] = cmp.mapping.select_next_item(),
		['<S-Tab>'] = function(fallback)
				if vim.fn['vsnip#jumpable']() == 1 then
					vim.fn.feedkeys(t('<plug>(vsnip-jump-prev)'), '')
				elseif vim.fn.pumvisible() == 1 then
					vim.fn.feedkeys(t('<C-p>'), '')
				else
					fallback()
				end
		end,
		['<Tab>'] = function(fallback)
				if vim.fn['vsnip#jumpable']() == 1 then
					vim.fn.feedkeys(t('<plug>(vsnip-jump-next)'), '')
				elseif vim.fn.pumvisible() == 1 then
					vim.fn.feedkeys(t('<C-n>'), '')
				else
					fallback()
				end
		end,
		['<C-d>'] = cmp.mapping.scroll_docs(-4),
		['<C-f>'] = cmp.mapping.scroll_docs(4),
		-- ['<C-Space>'] = cmp.mapping.complete(),
		['<C-e>'] = cmp.mapping.close(),
		['<CR>'] = cmp.mapping.confirm({
			behavior = cmp.ConfirmBehavior.Insert,
			select = true,
		}),
		['<C-Space>'] = function(fallback)
			if vim.fn['vsnip#available']() == 1 then
				vim.fn.feedkeys(t('<Plug>(vsnip-expand-or-jump)'), '')
			elseif vim.fn.pumvisible() == 1 then
				vim.fn.feedkeys(t('<CR>'), '')
			else
				fallback()
			end
		end,
	}

I am getting the same thing. I think it is related to attempting to use the builtin snippet support, rather than installing a snippet engine. With nvim-compe the following LSP configuration allowed for snippet support, without installing vsnip, LuaSnip, etc.:
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = true
capabilities.textDocument.completion.completionItem.resolveSupport =
{
	properties =
	{
		'documentation',
		'detail',
		'additionalTextEdits',
	}
}

lspconfig['<server>'].setup {capabilities = capabilities}

However, trying this gives the following in cmp:
E5108: Error executing lua ...te/pack/packer/start/nvim-cmp/lua/cmp/config/default.lua:23: snippet engine is not configured.

@acicco Do you dislike snippet engine? I think it will be solved if you install snippet engine.
What should I do with the get ~ item if I don't set up the snippet engine?

@hrsh7th
I do have a snippet engine installed, I have vsnips, I followed the instructions and added it to the sources, is there anything else I should do?

Have you tried this?
https://github.com/hrsh7th/cmp-nvim-lsp

I'm personally using that, don't know about OP

I'm having the same issue

I'm getting the same error.
I tried installing vim-vsnip and cmp-vsnip as dependencies(using packer.nvim) for nvim-cmp and added cmp-vsnip in my sources but it didn't work for me.
Also is there a way to opt out of using the snippet engine completely? I don't want to cmp to complete the signatures for the selected function as I'm often passing a function as an argument. I liked how compe just selected the function name. It would be really nice if using signatures was an optional feature.
Let me know if I can do anything to help in solving this issue.
Thanks.
PS: This is my config for reference:
/lua/plugins/init.lua
vim.cmd([[ packadd packer.nvim ]]);

return require('packer').startup({
  function(use)
    use({
      "hrsh7th/nvim-cmp",
      config = [[ require('plugins.nvim-cmp') ]],
      requires = {
        "hrsh7th/cmp-nvim-lsp",
        "hrsh7th/cmp-buffer",
        "hrsh7th/cmp-path",
        "hrsh7th/vim-vsnip",
        "hrsh7th/cmp-vsnip",
      }
    });
  end
});

/lua/plugins/nvim-cmp.lua
local cmp = require('cmp');
local types = require('cmp.types');

local check_back_space = function()
  local col = vim.fn.col('.') - 1;
  if col == 0 or vim.fn.getline('.'):sub(col, col):match '%s' then
    return true
  else
    return false
  end
end

local custom_select_next = function()
  if vim.fn.pumvisible() == 1 then
    vim.fn.feedkeys(vim.api.nvim_replace_termcodes('<C-n>', true, true, true), 'n');
  elseif check_back_space() then
    vim.fn.feedkeys(vim.api.nvim_replace_termcodes('<Tab>', true, true, true), 'n');
  else
    local cmp_complete = cmp.mapping.complete();
    cmp_complete();
  end
end

cmp.setup({
  preselect = types.cmp.PreselectMode.Item,
  mapping = {
    ['<S-Tab>'] = cmp.mapping.select_prev_item(),
    ['<Tab>'] = custom_select_next,
    ['<C-Space>'] = cmp.mapping.complete(),
    ['<C-e>'] = cmp.mapping.close(),
    ['<CR>'] = cmp.mapping.confirm({
      behavior = cmp.ConfirmBehavior.Insert,
      select = true,
    })
  },
  sources = {
    { name = 'nvim_lsp' },
    { name = 'buffer' },
    { name = 'path' },
    { name = 'vsnip' }
  },
});

I understoo dIt's documentation bug.  Because you've set nvim-cmp up correctly.
@acicco @avatsavirs @Iron-E
I've updated the README.md See https://github.com/hrsh7th/nvim-cmp#basic-configuration
We must set snippet.expand up.
And I've added minimal vimrc (it works with nvim-lspconfig). https://github.com/hrsh7th/nvim-cmp/blob/main/utils/vimrc.vim

Is there a snippet.expand function that doesn't require a dedicated snippet plugin? compe had LSP snippet expansion builtin and I'm trying to replicate that.
Thank you!

I think your solution has a cursor position problem... but good to hear.

Thanks a lot @hrsh7th , with your basic configuration I get what I had on compe, I prefer how vsnip completes my snippets rather than luasnips

@hrsh7th I'm still getting the same error even after reading the updated readme.
This is my cmp.lua config file:
`local present, cmp = pcall(require, "cmp")
if not present then
return
end
cmp.setup({
confirmation = { default_behaviour = cmp.ConfirmBehavior.Replace },
sources = {
{ name = "buffer" },
{ name = "nvim_lsp" },
{ name = "nvim_lua" },
{ name = "path" },
{ name = "vsnip" }
-- { name = "luasnip" }
},
mapping = {
[""] = cmp.mapping.confirm(),
[""] = cmp.mapping.select_prev_item(),
[""] = cmp.mapping.select_next_item(),
},
formatting = {
format = function(entry, vim_item)
vim_item.menu = ({
buffer = "[Buffer]",
nvim_lsp = "[LSP]",
luasnip = "[LuaSnip]",
nvim_lua = "[Lua]",
latex_symbols = "[Latex]",
})[entry.source.name]
vim_item.kind = ({
Text          = ' Text',
Method        = ' Method',
Function      = ' Function',
Constructor   = ' Constructor',
Field         = ' Field',
Variable      = ' Variable',
Class         = ' Class',
Interface     = 'ﰮ Interface',
Module        = ' Module',
Property      = ' Property',
Unit          = ' Unit',
Value         = ' Value',
Enum          = ' Enum',
Keyword       = ' Keyword',
Snippet       = '﬌ Snippet',
Color         = ' Color',
File          = ' File',
Reference     = ' Reference',
Folder        = ' Folder',
EnumMember    = ' EnumMember',
Constant      = ' Constant',
Struct        = ' Struct',
Event         = ' Event',
Operator      = 'ﬦ Operator',
TypeParameter = ' TypeParameter',
})[vim_item.kind]
return vim_item
end,
snippet = {
expand = function(args)
vim.fn"vsnip#anonymous"
end
},
},
})
`

@bragjo I don't found the cause in  your part of config. Could you provide your full config?

@bragjo  Could it be that you're missing
    Plug 'hrsh7th/cmp-vsnip' in your requires map?

@bragjo I don't found the cause in your part of config. Could you provide your full config?

Here is my complete plugins.lua:
local fn = vim.fn
local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
if fn.empty(fn.glob(install_path)) > 0 then
    fn.system({'git', 'clone', 'https://github.com/wbthomason/packer.nvim', install_path})
    vim.cmd 'packadd packer.nvim'
end

return require('packer').startup(function()

    -- Packer can manage itself
    use 'wbthomason/packer.nvim'

    -- Lsp config and cmp-nvim-lsp
    use {
        'neovim/nvim-lspconfig',
        config = function() require("config.lspconfig") end
    }

    -- Lspinstall for easier installation of LSPs via :LspInstall
    use {
        'kabouzeid/nvim-lspinstall',

        -- LspInstall config
        config = function() require("config.lspinstall") end
    }

        -- Completion engine
    use {
        'hrsh7th/nvim-cmp',
        requires = {
            'hrsh7th/cmp-buffer',
            'hrsh7th/cmp-nvim-lsp',
            'hrsh7th/vim-vsnip',
            'hrsh7th/cmp-vsnip',
            'hrsh7th/cmp-buffer',
        },
        -- Cmp config
        config = function() require("config.cmp") end
    }

     -- Snippets collection for all kinds of different programming languages
    use {
        "rafamadriz/friendly-snippets"
    }

    -- Galaxyline base
    use {
        'glepnir/galaxyline.nvim',
        branch = 'main',

        -- Galaxyline config
        config = function() require("config.galaxyline") end,

        -- Some optional icons
        requires = {'kyazdani42/nvim-web-devicons', opt = true}
    }

    -- Show colors instead of just hexcode in e.g. css via colorizer
    use {
        'norcalli/nvim-colorizer.lua',

        -- Colorizer config
        config = function() require("config.colorizer") end
    }

    -- Colorpicker, NOTE! Zenity needs to be installed
    use {
        'KabbAmine/vCoolor.vim'
    }

    -- Telescope fuzzy finder
    use {
        'nvim-telescope/telescope.nvim',
        requires = {{'nvim-lua/popup.nvim'}, {'nvim-lua/plenary.nvim'}},

        -- Telescope config
        config = function() require("config.telescope") end
    }

    -- Bufferline
    use {
        'akinsho/bufferline.nvim',
        requires = 'kyazdani42/nvim-web-devicons'
    }

    -- Colorscheme tokyonight
    use {
        'ghifarit53/tokyonight-vim'
    }

    -- Better syntax highlightning via treesitter
    use {
        'nvim-treesitter/nvim-treesitter',
        run = ':TSUpdate',

        -- Treesitter config
        config = function() require("config.treesitter") end
    }

    -- Easy commenting/uncommenting using nvim-comment

    use {
        use "terrortylor/nvim-comment",
        require('nvim_comment').setup()

    }

    -- Live preview
    use {
        'turbio/bracey.vim',
        run = "'do': 'npm install --prefix server'"
    }

end)

and this is the full config / cmp.lua file:
local present, cmp = pcall(require, "cmp")
if not present then
    return
end

cmp.setup({
    confirmation = { default_behaviour = cmp.ConfirmBehavior.Replace },
    sources = {
        { name = "buffer" },
        { name = "nvim_lsp" },
        { name = "nvim_lua" },
        { name = "path" },
        { name = "vsnip" }
    },
    mapping = {
        ["<cr>"] = cmp.mapping.confirm(),
        ["<s-tab>"] = cmp.mapping.select_prev_item(),
        ["<tab>"] = cmp.mapping.select_next_item(),
    },
    formatting = {
        format = function(entry, vim_item)
            vim_item.menu = ({
                buffer = "[Buffer]",
                nvim_lsp = "[LSP]",
                vsnip = "[vsnip]",
                nvim_lua = "[Lua]",
                latex_symbols = "[Latex]",
            })[entry.source.name]
            vim_item.kind = ({
                Text          = ' Text',
                Method        = ' Method',
                Function      = ' Function',
                Constructor   = ' Constructor',
                Field         = ' Field',
                Variable      = ' Variable',
                Class         = ' Class',
                Interface     = 'ﰮ Interface',
                Module        = ' Module',
                Property      = ' Property',
                Unit          = ' Unit',
                Value         = ' Value',
                Enum          = ' Enum',
                Keyword       = ' Keyword',
                Snippet       = '﬌ Snippet',
                Color         = ' Color',
                File          = ' File',
                Reference     = ' Reference',
                Folder        = ' Folder',
                EnumMember    = ' EnumMember',
                Constant      = ' Constant',
                Struct        = ' Struct',
                Event         = ' Event',
                Operator      = 'ﬦ Operator',
                TypeParameter = ' TypeParameter',
            })[vim_item.kind]
            return vim_item
        end,
        snippet = {
            expand = function(args)
                vim.fn["vsnip#anonymous"](args.body)
            end
        },
    },
})

@acicco I have tried that aswell, see above

I think you could try remove packer compiled file and run PackerSync again

I got this fixed by installing friendly-snippets, but it should work with just LSP too, removed packer compiled file and ran PackerSync without results.

Hey, thanks for letting me know! I'll see if I can get it to work with another string.match later today


I install LibPQ but test fails.

Hi,
I couldn't find anything on this issue, so here I am.
I installed LibPQ.jl except I think I broke it. I installed and ran test but failed. I can use some parts of LibPQ.jl, but a lot of stuff isn't recognized.  I can connect to Database, but some functions aren't recognized. What did I do wrong?
Here is the test:

Looks like for the tests you may need to ensure you have a database running: https://iamed2.github.io/LibPQ.jl/dev/pages/faq/#How-do-I-test-LibPQ.jl-on-my-own-computer?
The instructions above show Docker being used but I typically have a PostgreSQL server installed and set the appropriate environment variables for LibPQ.jl to point to it.


Remove Docker Desktop from instructions

Context
Docker Desktop isn't free anymore so we should default devs to a free tool that supports docker CLI

Running into issues with Colima. Gonna put this on ice for now.


Warning Error

Warning: realpath(): open_basedir restriction in effect. File(/) is not within the allowed path(s): ...on line 1790
	<td>".floor((disk_total_space(realpath("/")))/(1073741824))." GB</td>

Is this something that should be fixed or is it okay?

Can you make one that doesn't output error logs? I think its very sketchy.

The reason this warning is popping up is because of the value of open_basedir, in your case.
We can try and change the value in many ways but I don't think it's worth it at all for now since this line of code gets us the size of the server and shows it to us, nothing else, that value isn't used by DAws either so it won't affect it at all.
I suggest you just replace the whole line with  if the warning is bothering you.
We'll release a fix for this in our free time. Thanks a lot for reporting this mate.

Your welcome, it also didn't let me upload a file eaither, it was just
giving me an error message. I didn't save it but I could recreate the error
if you think its something with the shell or the server.
On Sat, Jun 25, 2016 at 9:21 AM, dotcppfile<EMAIL_ADDRESS>wrote:

The reason this warning is popping up is because of the value of
open_basedir, in your case.
We can try and change the value in many ways but I don't think it's worth
it at all for now since this line of code gets us the size of the server
and shows it to us, nothing else, that value isn't used by DAws either so
it won't affect it at all.
I suggest you just replace the whole line with if the warning is bothering
you.
We'll release a fix for this in our free time. Thanks a lot for reporting
this mate.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dotcppfile/DAws/issues/8#issuecomment-228540775, or mute
the thread
https://github.com/notifications/unsubscribe/APjrjuX8D6VZbZ6rz1xiZ27Ga4y-Vt5cks5qPStagaJpZM4I-OK1
.

Uploading files works just fine, I believe the error was about not being able to modify header information since it was just sent and that is the case because the warning was popping up, the upload will works just fine if you apply the temporary solution that I suggested in my last post.


dataset process

Can anyone please tell me how to preprocess the dataset?

We extract equal-length motion and audio clips of BEAT (34 frames) and SHOW (88 frames) via sliding window, where the step size is the half of window size, and then save them into lmdb format. You can refer to original BEAT GitHub repo for the preprocessing code.

Thank you so much for your quick reply. However, I am still confused about how to process talkshow dataset. Is this the same with Beat? The repo you attached is empty. Could you please tell me where the script is?

Seems that they remove the code in this repo. Here is their anonymous code for CaMN https://github.com/beat2022dataset/beat, and you can find the lmdb caching code in beat.py. I cached the motion of SHOW dataset in the same way as BEAT.

Thank you so much for your quick reply.  For beat dataset, there are mutiple data formats, like wav, bvh, json, txt. I assume these files are all used in https://github.com/beat2022dataset/beat/blob/main/dataloaders/beat.py. However, for show dataset, there are only wav and pkls, how to solve this? Thank you.

You can utilize TalkSHOW's dataloader to load the data, and then cache them into lmdb.

So basically, for the show dataset, we only need the some of the dicts from the pkl files and extracted hubert and melspec feature from the wavs?

Hi can you please tell me what the speaker_id is? I noticed that in your code, it needs '-20' which makes me confusing.

So, we don't need to normalize the audio for the Show dataset right?

Hi @abcdvzz,

So basically, for the show dataset, we only need the some of the dicts from the pkl files and extracted hubert and melspec feature from the wavs?

Yes, you can extract the data you want from the loaded data of SHOW using their dataloader, and then cache them into lmdb format.

Hi can you please tell me what the speaker_id is? I noticed that in your code, it needs '-20' which makes me confusing.

Since the original id from the SHOW dataset starts from 20, I minus 20 to let the id start from 0.

So, we don't need to normalize the audio for the Show dataset right?

Yes. I did not normalize the audio.


adding marathi-wiki dataset

Adding marathi-wiki-articles dataset.

Can you make it a draft PR until you've added the dataset please ? @ekdnam

Done

Thanks for your contribution, @ekdnam. Are you still interested in adding this dataset?
We are removing the dataset scripts from this GitHub repo and moving them to the Hugging Face Hub: https://huggingface.co/datasets
We would suggest you create this dataset there. Please, feel free to tell us if you need some help.


Taboola Bidder Adapter: Support Prebid Server New Adapter

🏷 Type of documentation

[ ] new bid adapter
[ ] update bid adapter
[x]new feature
[ ] text edit only (wording, typos)
[ ] bugfix (code examples)
[ ] new examples

📋 Checklist
PR for taboola as adapter under prebid server:
https://github.com/prebid/prebid-server/pull/2455

Crud - @ahmadlob I didn't notice you had another PR open on this file so now that's merged and this PR has conflicts. Please resolve?

@bretg  conflict resolved.


Spectral Flatness is out of range, and incorrectly scaled

#Spectral Flatness has an issue!
It seems to vary between 0 and 1.13ish. It needs to be between 0 and 1.

Just checked against YAAFE, we get very similar results. They also get ~0.83 for pure white noise. I think the difference between us and them is in the implementation of the FFT so there is nothing we can do at the moment.


Fixes to tabs PR

Remove unneeded style and semicolon
Move client code to be executed within useEffect so it doesn't break SSR

it looks broken on mobile (Samsung S20) something like this (from dev tools / mobile)
maybe we should remove the "עמוד ראשי"  tab as there is also the site tite which is a link

But it looks strange, as the user doesn't know where he is. I'll try to find a solution.


7271 fix embed widgets

Fixes #7271
The issue was that analysis source nodes are created ad-hoc for the editor context (if not already existing), but were not persisted until an non-source node was created on top of it. So when vis was loaded as embed the widgets reference non-existing nodes.
So, changed the editor to persist the save when the widget is created, which in turn persist the referenced analysis and its source node.

[ ] This however causes cartodb.js to break in some cases, so need to investigate how that should be fixed, I'll need you @alonsogarciapablo to discuss this.

While at it also fixed a bug with the nodeModel.toJSON that didn't serialize options param on nested nodes…
@xavijam can you review meanwhile?

:+1:

Checking out the branch and investigating this issue.

[ ] This however causes cartodb.js to break in some cases, so need to investigate how that should be fixed, I'll need you @alonsogarciapablo to discuss this.

This should NOT "break" with the latest version of Windshaft-CartoDB. Please update your environment and you shouldn't see any errors :)


Why rx.js included in the bundle?

I'm submitting a ...
[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
when I include NgxDatatableModule into my lazy-loaded component, bundle size grows up 800kb, because rx.js included in your build
Expected behavior
I don't want such huge dependencies in the library, your code probably should be around 200kb - 300kb
Reproduction of the problem
probably will make later
What is the motivation / use case for changing the behavior?
I care about my users(they suffer enough) and don't want rx.js included twice in my bundle and in lazy-loaded bundle
Please tell us about your environment:
any

Table version: 11.1.5

Angular version: 5.1.1

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
any

Language: [all | TypeScript X.X | ES6/7 | ES5]
any

Oh this should not be happening! This is a regression, fix coming!

I guess this is the main reason, you use Observable.fromEvent in 3 directives

resizable
long-press
draggable

seems should be easy to replace with HostListener, it reduces the bundle size

fixed in 11.1.6


SW-4733 Don't generate all plots on shapefile import

Currently, when a shapefile is imported to create a new planting site, or when a
new planting site is created via the admin UI, we create a grid of all the
possible monitoring plots across the entire site. For large sites, this can be
a bit slow and also fills the monitoring plots table with plots that won't be used
any time soon, if ever.
Now that the application code can create new plots on the fly as needed, there is
no longer a reason to create all the plots up front. Remove that part of the
import process.

You can see a minimal site by going to an organization in the admin UI and clicking on the button to draw a planting site on a map. There'll be a button to autogenerate a minimal site.
It looks like this (you can change the position of the temporary plot):

Merge activity

Apr 17, 6:26 PM EDT: @sgrimm started a stack merge that includes this pull request via Graphite.


browser: v1.9, webpack bundler and safer DOM generatings

Added a webpack build step (make should do the trick if yarn is available).
Simple entry point for injecting third-party dependencies into a single built js/bundle.js file.
Currently just using bel and morphdom

For now we're only using webpack for third-party deps. Later we could switch the rest of our code to go through a build step, but right now it's not very appealing because there are about as many permutations of entry points (content inject, background, popup) as there are javascript files.
Please double check that there are no innerHTML-y type stuff remaining.
FYI: Released internally as v1.9.x

The commits af146685f89c...edbf1072db34 introduce visual changes on linux. :mag_right: 9 changed

Changed: Update_Passphrase-Normal_Show_Typing (before) (after)

Changed: Update_Passphrase-Normal_Has_PGP_on_server (before) (after)

Changed: Update_Passphrase-Normal_Empty (before) (after)

Changed: Update_Passphrase-Normal (before) (after)

Changed: Update_Passphrase-Error_Wrong_Passphrase (before) (after)

Changed: Update_Passphrase-Error_New_Passphrase_Mismatch (before) (after)

Changed: Search_V_3_results_List-keybase_Results_One (before) (after)

Changed: Search_V_3_results_List-keybase_Results (before) (after) (diff)
Changed: Search_V_3_results_List-facebook_Results (before) (after) (diff)


Npm publish issue

Thanks. Now I get E404 in https://github.com/gengjiawen/monkey-rust/runs/1647197523.
I have set the token in my repo. Any other thing can cause this ?

Originally posted by @gengjiawen in https://github.com/google-github-actions/release-please-action/issues/172#issuecomment-754320865

Or this because this is my first publish on npm, current action only supports update ?
Or just a npm bug ? https://github.com/npm/cli/issues/1637

Or this because this is my first publish on npm, current action only supports update ?
Or just a npm bug ? https://github.com/npm/cli/issues/1637

@gengjiawen you should be able to do the initial publication from the action, one thing that looks slightly weird to me is that there's no scheme on the URL.
You could add the stanza:
 - uses: actions/setup-node@v1
        with:
          node-version: 14
          registry-url: 'https://registry.npmjs.org/'
        if: ${{ steps.release.outputs.release_created }}

@gengjiawen you should be able to do the initial publication from the action, one thing that looks slightly weird to me is that there's no scheme on the URL.
You could add the stanza:
 - uses: actions/setup-node@v1
        with:
          node-version: 14
          registry-url: 'https://registry.npmjs.org/'
        if: ${{ steps.release.outputs.release_created }}

The default node env in github action is already 14, though now the latest version

The default node env in github action is already 14, though now the latest version

It works. Thanks.

It works. Thanks.


Update Octomap to work with servo for bite transfer

As of ada_feeding#135 and PRL's fork of moveit2 (branch: amaln/main), we were facing two issues with the servo_node respecting the Octomap:

The servo_node would allow the robot to move right up till the point of collision, which would sometimes result in real-world collisions due to mismatches between the planning scene and real world or due to the servo node not being able to stop in time.
As the robot moves closer to the Octomap, the Octomap's default self-filtering starts thinking the colliding voxels are part of the robot arm and removes them from the Octomap.

This PR addresses that in two ways:

Start decelerating servo at 1cm from collision.
Remove the scaling and padding offset on the Octomap, so that it only removes voxels that directly overlap with the robot, not in an expanded radius around the robot. (Note: this means that the camera calibration needs to be good, to prevent detected robot voxels from appearing as collisions.)

Tested and approved as part of ada_feeding#135


cmake: silence warnings due to poor PCI/DT integration

The 'reg' on PCI devices is currently overloaded on some x86 platforms
to hold the bus/device/function rather than an actual address, and dtc
throws warnings because the device@address doesn't match the 'reg'.
Until PCI and Zephyr DT are better integrated, this patch squashes
those warnings on affected platforms.
Fixes: #16721
Signed-off-by: Charles E. Youse<EMAIL_ADDRESS>

Let's create a proper PCI bus node and put the UART & I2C device in it. We can work on migrating this over time to proper PCI device tree spec.

@galak Sounds good to me, but I'll need your assistance.  I'm willing to do the grunt work if you can provide some pointers-- I'm not very DT knowledgeable and the waters are murky because Zephyr's DT isn't quite standard (i.e., Python post-processing etc).

Apparently @galak and @ulfalizer are rewriting the devicetree scripts.  I will wait for that and then reformulate my submission.


Emit ErrorFatal when chromium CHECK fails.

This should help us get meaningful LinkerFault data when chrome crashes due to internal assertions.
For RUN-1395 (https://linear.app/replay/issue/RUN-1395/convert-logmessagelogmessage-to-emitting-some-replay-specific-crash)

Just happened to me. Took me a few minutes to find out what was wrong until I saw CHECK and then remembered that you had this pending PR for that 😅

I think we should merge this as is.  I know it'd be preferrable to use a more robust mechanism to indicate this, but leveraging the linkerOutput parsing for now gets this particular problem out of the way.


feat: SearchQuery.filterResult, an optional filter on results

This should be a more conformant version of this PR.
I added an optional filter on results, that work the same way of checkWordBoundary.
In particular I wanted to search for a text that also has some Marks.
I changed the internal checkResult function -- originally intended only for the wholeWord option -- this way:
  checkResult(state: EditorState, result: SearchResult) {
    let ok = this.wholeWord ? checkWordBoundary(state, result.from) && checkWordBoundary(state, result.to) : true
    if (!ok) return false
    if (this.filterResult) ok = this.filterResult(state, result)
    return ok
  }

This are two filters that I use to check if the searched text has one or all the Marks in a set:
const allMarksFilter: (marks: Mark[]) => SearchResultFilter = (marks) => (state, result) => {
  if (marks) {
    const { from, to } = result
    return marks.every(mark => state.doc.rangeHasMark(from, to, mark))
  }
  return true
}

const oneOfMarksFilter: (marks: Mark[]) => SearchResultFilter = (marks) => (state, result) => {
  if (marks) {
    const { from, to } = result
    return !!marks.find(mark => state.doc.rangeHasMark(from, to, mark))
  }
  return true
}

I've also added a test.

Merged as b285dc6105a3be1a3b29113e0364a52a97936654 and tweaked a bit in 91463ed1b1e9e166688f6cb186e968e9dcacc3e7


[NNVM][TOP] broadcast versions corresponding to topi: mod, max, min, pow, left_shift, right_shift greater, less, equal, not_equal, greater_equal and less_equal.

- pow operator support for onnx frontend.

Thanks for contributing to TVM!   Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from others in the community.

@zhreshold @masahi  welcome for a review.

@masahi thanks for the review.

https://docs.tvm.ai/contribute/code_review.html#ensure-test-coverage

@tqchen  thanks for asking test cases. I came across a bug while adding test cases.
@masahi please review.

@masahi ready for review now. Thanks

thanks @masahi for the helpful reviews, thanks @srkreddy1238 for the contribution, this is now merged!


Improve viewing logs in CI

The file in S3 is now a multipart document and the output of each command from DumpLogs gets added to a separate part with an appropriate filename.
I chose to use a single multipart file rather than uploading multiple files to S3 so that we can easily fallback to viewing the raw log in S3 if necessary (it will just include some extra multipart header lines which can be ignored).
Once a build has finished, rather than redirecting to the log in S3, I have added a new page which shows a list of generated files on the left, and the corresponding logs on the right. The logs are delivered to the browser via an SSE stream, one line at a time.
I have added a -f flag to flynn-host ps to format the output so that DumpLogs can create descriptive filenames (e.g. blobstore-web-b4d8e10b-4ec7d4d73bce40d897395848c30db097.log).
The UI could do with some improvements:

Make the list of files "sticky", so clicking a file only scrolls the logs div, not the whole window
When scrolling the logs, highlight the current file being viewed

@jvatic could you help with the improvements?
I will leave my custom CI running with these changes, you can see a log page here:
https://ci.flynn.io:8443/builds/20150620141337-8efc25bd

@lmars Implemented the UI improvements

@titanous comments addressed, @jvatic thanks for the UI tweaks :smile:

https://github.com/flynn/flynn/commit/d0a01ece687b84857e009a4dff776d2af261b35b has a typo in the message scrollbale

@titanous comments addressed

LGTM


[#1316] fix: Support keyword in column name in MySQL/PG catalog

What changes were proposed in this pull request?
back quoted keyword like long, 'integer' in column name
Why are the changes needed?
Users may use this keyword to create table.
Fix: #1316
Does this PR introduce any user-facing change?
N/A
How was this patch tested?
IT

Do we also need to fix PostgreSQL?

Do we also need to fix PostgreSQL?

I have added the keyword check for PG, PG uses '"' to quote keyword.

@Clearvive please help to review this.

I think it is a good fix, we should avoid any corner case.


(work in progress) reformat arduino sensor example

Follow-up to #166, fixes #463
Changes:
Proper escaping of <script> tags in:
src/data/examples/en/10_Interaction/24_ArduinoSensor.js
src/data/examples/es/10_Interaction/24_ArduinoSensor.js
src/data/examples/zh-Hans/10_Interaction/24_ArduinoSensor.js

Plus a re-arranging of code for readability, and use of a wrapper library here: https://github.com/jywarren/p5js-webjack-sensor/blob/main/webjack-p5-wrapper.js
Remaining:

[ ] pack the wrapper and webjack.js into the same include file so there's only one
[ ] update script file in header of each to point at the new combined wrapper

OK, I've:

refactored this and tested it
included a shorter URL to include to the wrapper library (haven't combined it with the main WebJack library yet, but that'll take some upstream changes to how we concatenate things, and this is a faster fix to get the example working)
linked to a working example
moved the example ellipse to the left so it's onscreen even on mobile phones
made changes to all language files.

I /think/ this one is ready to merge... @lmccart @catarak how does it seem to you? Thank you!

this is great, thanks for the followup @jywarren!


Devyn Yuhashi

{
"preferred_name": "Devyn",
"csulb_email"<EMAIL_ADDRESS>"pronouns": "she/her/hers",
"previous_gis_experience": "coursework in undergrad and current work in MSGISci program",
"previous_remote_sensing_experience": "coursework in MSGISci program",
"previous_programming_experience": "python and a little of javascript",
"github_repo_link": "https://github.com/devyuhashi/GISC-606.git",
"github_project_link": "https://github.com/users/devyuhashi/projects/1",
"what_you_hope_to_get_out_of_this_class": "More knowledge in general since I don't have any experience out of class",
}

Hey @devyuhashi ,
Thanks for sharing about yourself. Could you also share about your larger MS project taking place outside this class?
I'd like to curate the course content to the interests of the students (including you), so anything you can share about your project or interests in remote sensing will help me. It sounds like you're most interested in content related to what's generally possible with remote sensing and perhaps a bit of automating analyses with code?
Along those lines, I'd like you to start thinking about your final project for this class. I'm encouraging all students to pick a topic related to their larger MS project, but you are free to select any apply remote sensing topic of interest.
Look forward to working with you this semester.
Best,
Alex

https://github.com/devyuhashi/GISC-606/blob/8d9ac7b60d5b62b6b6764e5763a4eebc8e3ee448/GISC606_Lab1.ipynb

https://github.com/devyuhashi/GISC-606/blob/b50c62cec9c54313e9f11dccee0f33f4d6cedcc4/GISC606_L2.ipynb

https://github.com/devyuhashi/GISC-606/blob/3f0170a732fe741bfdfb01a864e7debdbcb49671/GISC606_L4.ipynb


image fills are not supported

while converting a complex soil project with complex image fills, mapqonverter reports that this fills are not supported at the moment. Not supported fills are converted into a white fill, which makes it diffucult to find theese errors, better would be a special fill for errors or not converted fills. Is it possible to make this a new feature?
QGIS:

original ArcMap:

hi eurojam,
thanks for the Request. Currently we are reorganizing the development and hopefully having some new features this year.
Greetings


improve: Zarr frame meta

I had the problem that reading appending and re-writing the frame meta data become pretty slow for long acquisitions. First simple approach here to gather the metadata during the acqusition and write it on sequenceFinished.
Tests passing locally, not sure if frame metadata is tested though. Can have a look next week.

yeah, this looks sound to me.  Have you been using it and liking it?

Yes, made the stack viewer work for long acquisitions reliably.

Ready for merge then?

will merge in a moment.  In the future, if you're done tinkering with a PR, feel free take it out of "draft" and click request review.


[BUG] terraform fails when use_network_security_groups is set to false

Describe the bug
When use_network_security_groups is set to false, terraform fails with error:
11:54:42 INFO cli.src.providers.azure.InfrastructureBuilder - Starting step
11:54:42 INFO cli.src.providers.azure.InfrastructureBuilder - Step finished in: 0.01s
11:54:42 ERROR epicli - local variable 'subnet_nsg_association' referenced before assignment
11:54:44 INFO dump_debug_info - Error dump has been written to: /shared/epicli_error_20220601-115442.dump
11:54:44 WARNING dump_debug_info - This dump might contain sensitive information. Check before sharing.
11:54:44 INFO run_time - Total run time: 2.98s

when switched back to true it works fine, with all other settings in config file left unchanged.
How to reproduce
Steps to reproduce the behavior:

execute epicli init ... (with params)
edit config file
change use_network_security_groups to false
execute epicli apply ...

Expected behavior
Working like in previous releases.
Config files
Not applicable, just this one option is changed.
Environment

Cloud provider: Azure

epicli version: 2.0.0
Additional context
n/a

DoD checklist

Changelog

[ ] updated
[ ] not needed

COMPONENTS.md

[ ] updated
[ ] not needed

Schema

[ ] updated
[ ] not needed

Backport tasks

[ ] created
[ ] not needed

Documentation

[ ] added
[ ] updated
[ ] not needed

[ ] Feature has automated tests
[ ] Automated tests passed (QA pipelines)

[ ] apply
[ ] upgrade
[ ] backup/restore

[ ] Idempotency tested
[ ] All conversations in PR resolved

It looks like the subnet_nsg_association variable is not assigned if use_network_security_groups is set to false but it's used later anyway.

Jup, already testing a fix for just that:)


Push subContentsview from left menu

Hi, your side menu is awesome, I love it. Just one little thing, how can i push a subContentView to the current navigation controller of the main view when I click to a item on left menu ? Is it possible to get the current main view of left menu and make a push. I tried add these code in didSelectRowAtIndexPath method of LeftMenuController:
let storyboard = UIStoryboard(name: "SubContentsViewController", bundle: nil) let subContentsVC = storyboard.instantiateViewControllerWithIdentifier("SubContentsViewController") as! SubContentsViewController   self.slideMenuController()?.mainViewController!.navigationController?.pushViewController(subContentsVC, animated: true)
but it didn't work ?
Could you please give me some ideas about implementing this ?
Thank you.

nvm, I just did it:
            let storyboard = UIStoryboard(name: "SubContentsViewController", bundle: nil)             let subContentsVC = storyboard.instantiateViewControllerWithIdentifier("SubContentsViewController") as! SubContentsViewController             let nvc = self.slideMenuController()?.mainViewController as! UINavigationController             nvc.pushViewController(subContentsVC, animated: true)             // close             self.slideMenuController()?.closeLeft()
Thank you for great package now I'm adding it to my project 👍

How We go to other view controller on click on menu list item under "didSelectRowAtIndexPath" method.

Having Write Code below:
anyone may help me ?
Thanks in Advanced
let storyboard = UIStoryboard(name: "Main", bundle: nil)
let subContentsVC = storyboard.instantiateViewControllerWithIdentifier("AboutusVC") as! AboutusVC
    let nvc = self.slideMenuController()?.mainViewController as! UINavigationController
        nvc.pushViewController(subContentsVC, animated: true)
    self.slideMenuController()?.closeLeft()


Quick question about model used

Hi,
I was just trying to see what model you use - it looks like you have a link that points to stable diffusion, but I was a bit confused since stable diffusion generally does text-to-image without a mask. Is it a specific variant of sd/sdxl that does inpainting like this one?
Regards,
Surya

It's using an older version of Stable Diffusion that had init_image and mask as inputs.
Code: https://github.com/replicate/inpainter/blob/92274fe8c460d93873f12e454975ac985b3c84f3/pages/api/predictions/index.js#L16-L18
Model version: https://replicate.com/stability-ai/stable-diffusion/versions/be04660a5b93ef2aff61e3668dedb4cbeb14941e62a3fd5998364a32d613e35e
We should probably update it to use SDXL which is faster, higher quality, and has support for init images and masks. See https://replicate.com/stability-ai/sdxl
If you wanna take a shot at updating that in a pull request, I'd be happy to review it and ship it. :)


Docs - Broken link in Quickstart Page

Dead link pointing to langchain. https://burr.dagworks.io/getting_started/simple-example/langchain.io
Current behavior

Link to langchain.io is incorrect

Additional context
This bug was found using an automation built by https://www.demodrive.tech/. We are looking at popular OSS projects and helping them ensure their documentation is error-proof.

Fixed in #478  - thanks!


Check for all file change

Render the model according to the last file modified. This way it's easy to switch between models without updating the url.

fixed in 0586ad8


[Bug]: build uses latest branch code instead of specified commit in ci/cd

Details
Related to #7757
In fact, the actual modification of trait Dependency is made in the latest main branch, not the branch where the build is located.
   Compiling rspack_plugin_javascript v0.1.0 (/build/crates/rspack_plugin_javascript)
error[E0407]: method `span` is not a member of trait `Dependency`
  --> crates/rspack_plugin_javascript/src/dependency/context/require_resolve_context_dependency.rs:45:3
   |
45 | /   fn span(&self) -> Option<ErrorSpan> {
46 | |     Some(ErrorSpan::new(self.range.start, self.range.end))
47 | |   }
   | |___^ not a member of trait `Dependency`

You can create a new branch based on the commit history prior to commit f19562 to reproduce the issue.

I used to be troubled by this problem too... 😂
Can I see the specific wrong github action link?

I used to be troubled by this problem too... 😂 Can I see the specific wrong github action link?

At present, only Action records are available, and the PR has been updated.
https://github.com/web-infra-dev/rspack/actions/runs/10786518541/job/29913523550

It is relatively difficult to locate the problem, which may be due to the following reasons

checkout action bug (I checked the commit hash, it is fine)
ci status is dirty (only in self-hosted machine)
cargo cache

Wait for the next time repro.


⚠ Hydeos has degraded performance

In 5d56745, Hydeos (https://hydeos.fr) experienced degraded performance:

HTTP code: 200
Response time: 1790 ms

Resolved: Hydeos performance has improved in 1979267 after 19 minutes.


Addendumer addenda

Create support for BatchCOR types and expose them file.NotificationOFChange

Coverage increased (+2.7%) to 95.364% when pulling 1e397671df4afeacbf762c9e93ab48f03fb19dcd on wadearnold:addendumer-addenda- into 8fcf5c33be290107868aff741257d9f2f55cb742 on moov-io:master.

This PR has a breaking change to the API. Previously NewAddenda() returned 1 variable.
addenda := ach.NewAdded()

Now it returns 2 variables with the second being an error if it exists.
addenda, err  := ach.NewAdded()
if err != nil {
   // do something with the error
}


Shading behind About Box does not fill whole window after resize

Environment
Windows build number: 10.0.18363.1379
Windows Terminal version (if applicable): 1.7.572.0
Steps to reproduce
Make the window reasonably small and show the about box. Then dismiss the about box and make the window bigger.  Then show the About box again.
Also, just resizing the window while the about box is shown does not resize the shaded area.
Expected behavior

Actual behavior

Also seems to similarly affects the Close all tabs and Paste Warning dialogs.

Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #2380 for more discussion.
/dup #2380
/dup microsoft/microsoft-ui-xaml#3577


Issues following bg-prov instructions, may be several bugs or user error

Thanks for this project, it's awesome!
I am trying to write new bootguard metadata to a sapphire rapids board, and found this, which is perfect. I ran into a few issues.
I'm following use case 1 here: https://github.com/9elements/converged-security-suite/blob/main/cmd/bg-prov/README.md
First, bg-prov template foo.cfg doesn't exist, but I looked at the help output and found bg-prov template-v-2 foo.cfg should be right. I get a nil pointer dereference:
$ ./bg-prov template-v-2 ./bg2.cfg
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5a01be]

goroutine 1 [running]:
github.com/linuxboot/fiano/pkg/intel/metadata/bg/bgbootpolicy.(*Manifest).WriteTo(0x0, {0x79af60, 0xc0002318f0})
	/home/user/go/pkg/mod/github.com/linuxboot/fiano@v1.1.4-0.20230131115913-85ddba13ba44/pkg/intel/metadata/bg/bgbootpolicy/manifest_manifestcodegen.go:209 +0x3e
github.com/9elements/converged-security-suite/v2/pkg/provisioning/bootguard.(*BootGuard).WriteBPM(0xc000231800)
	/home/user/devel/converged-security-suite/pkg/provisioning/bootguard/bootguard.go:331 +0x5a
main.(*templateCmdv2).Run(0x976ee0, 0x1?)
	/home/user/devel/converged-security-suite/cmd/bg-prov/cmd.go:910 +0x3d3
reflect.Value.call({0x6d2ae0?, 0x976ee0?, 0x44d1d6?}, {0x722762, 0x4}, {0xc000013b48, 0x1, 0x1?})
	/usr/lib/go/src/reflect/value.go:586 +0xb07
reflect.Value.Call({0x6d2ae0?, 0x976ee0?, 0x6dd540?}, {0xc000013b48?, 0x721240?, 0x0?})
	/usr/lib/go/src/reflect/value.go:370 +0xbc
github.com/alecthomas/kong.callMethod({0x72256c, 0x3}, {0x719760?, 0x976ee0?, 0x3?}, {0x6d2ae0?, 0x976ee0?, 0x0?}, 0x0?)
	/home/user/go/pkg/mod/github.com/alecthomas/kong@v0.7.1/callbacks.go:95 +0x4fa
github.com/alecthomas/kong.(*Context).RunNode(0xc00011a600, 0xc000167680, {0xc000125f00, 0x1, 0x1})
	/home/user/go/pkg/mod/github.com/alecthomas/kong@v0.7.1/context.go:755 +0x60f
github.com/alecthomas/kong.(*Context).Run(0x6b83e0?, {0xc000125f00?, 0xc000125f30?, 0x4408b1?})
	/home/user/go/pkg/mod/github.com/alecthomas/kong@v0.7.1/context.go:780 +0x14e
main.main()
	/home/user/devel/converged-security-suite/cmd/bg-prov/main.go:31 +0x29e

I can read-config, so I generated a config.json from an existing image. You can take a publically available image from SuperMicro for example, but I suspect any Sapphire Rapids (or W790?) image will suffice. This works, so I keep following the steps.
I get as far as:
/bg-prov bpm-gen-v-2 ./bpm_unsigned.bin ./oem_bios.bin --config=./oem.cfg
which just gives me
can't identify bootguard header
WriteBPM: can't identify bootguard header

I'm new to this, so I may be doing something terribly wrong here. Let's assume the fuses are not locked in the ME, so replacing keys here should be ok if I understand correctly. I'd like to resign an existing BIOS with my own keys.

Hello.
Do you mind sharing the files you used to reproduce this problem? Or otherwise could you try branch bugfix/cbnt-prov-typo and check if it works?

You can download an example BIOS at https://www.supermicro.com/en/support/resources/downloadcenter/firmware/MBD-X13SEM-TF/BIOS (I suspect all X13 LGA4677 boards will have the same issues). I see there is an SPR-SP branch too, which is probably needed as well for these boards.
Running bugfix branch, this problem seems unrelated to your change (codegen?):
$ ./bg-prov template-v-2 test
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5a01be]

goroutine 1 [running]:
github.com/linuxboot/fiano/pkg/intel/metadata/bg/bgbootpolicy.(*Manifest).WriteTo(0x0, {0x79af60, 0xc0002318f0})
	/home/user/go/pkg/mod/github.com/linuxboot/fiano@v1.1.4-0.20230131115913-85ddba13ba44/pkg/intel/metadata/bg/bgbootpolicy/manifest_manifestcodegen.go:209 +0x3e
github.com/9elements/converged-security-suite/v2/pkg/provisioning/bootguard.(*BootGuard).WriteBPM(0xc000231800)
	/home/user/devel/converged-security-suite/pkg/provisioning/bootguard/bootguard.go:331 +0x5a
main.(*templateCmdv2).Run(0x976e40, 0x1?)
	/home/user/devel/converged-security-suite/cmd/bg-prov/cmd.go:910 +0x3d3
reflect.Value.call({0x6d2ae0?, 0x976e40?, 0x44d1d6?}, {0x722762, 0x4}, {0xc000013b48, 0x1, 0x1?})
	/usr/lib/go/src/reflect/value.go:586 +0xb07
reflect.Value.Call({0x6d2ae0?, 0x976e40?, 0x6dd540?}, {0xc000013b48?, 0x721240?, 0x0?})
	/usr/lib/go/src/reflect/value.go:370 +0xbc
github.com/alecthomas/kong.callMethod({0x72256c, 0x3}, {0x719760?, 0x976e40?, 0x3?}, {0x6d2ae0?, 0x976e40?, 0x0?}, 0x0?)
	/home/user/go/pkg/mod/github.com/alecthomas/kong@v0.7.1/callbacks.go:95 +0x4fa
github.com/alecthomas/kong.(*Context).RunNode(0xc00011a600, 0xc000167680, {0xc000125f00, 0x1, 0x1})
	/home/user/go/pkg/mod/github.com/alecthomas/kong@v0.7.1/context.go:755 +0x60f
github.com/alecthomas/kong.(*Context).Run(0x6b83e0?, {0xc000125f00?, 0xc000125f30?, 0x4408b1?})
	/home/user/go/pkg/mod/github.com/alecthomas/kong@v0.7.1/context.go:780 +0x14e
main.main()
	/home/user/devel/converged-security-suite/cmd/bg-prov/main.go:31 +0x29e

Continuing on:
./bg-prov read-config test bios.bin works fine, contents of test seem legitimate.
./bg-prov key-gen RSA3072 "" --path=sign works fine
This is a new problem, I think:
$ ./bg-prov km-gen-v-2 ./km_unsigned.bin signkm_priv.pem --config test --pkhashalg SHA384 --bpmpubkey signbpm_pub.pem --bpmhashalgo SHA384
bg-prov: error: asn1: structure error: tags don't match (16 vs {class:0 tag:2 length:1 isCompound:false}) {optional:false explicit:false application:false private:false defaultValue:<nil> tag:<nil> stringType:0 timeType:0 set:false omitEmpty:false} AlgorithmIdentifier @2

Note that trying the above with 2048 keys/algo 14 also fails with a similar message.

github.com/linuxboot/fiano/pkg/intel/metadata/bg/bgbootpolicy.(*Manifest).WriteTo(0x0, {0x79af60, 0xc0002318f0})
	/home/user/go/pkg/mod/github.com/linuxboot/fiano@v1.1.4-0.20230131115913-85ddba13ba44/pkg/intel/metadata/bg/bgbootpolicy/manifest_manifestcodegen.go:209 +0x3e
github.com/9elements/converged-security-suite/v2/pkg/provisioning/bootguard.(*BootGuard).WriteBPM(0xc000231800)
	/home/user/devel/converged-security-suite/pkg/provisioning/bootguard/bootguard.go:331 +0x5a
main.(*templateCmdv2).Run(0x976e40, 0x1?)

Does not look right. Are you sure you are working from that branch? In that branch it should get to pkg/intel/metadata/cbnt instead of pkg/intel/metadata/bg from pkg/provisioning/bootguard/bootguard.go:331.
I hope I won't forget to investigate this on the next week :(

I have exactly the same issue on main branch. Also template-v-1 does not create a JSON file, but a binary, and looking at the code it seems that the template-v-1 and template-v-2 commands indeed don't create JSON files, but BPM files. See here: https://github.com/9elements/converged-security-suite/blob/d249aa65ddf9e30b532e7a785b0f902e8a520646/cmd/bg-prov/cmd.go#L949-L955

I'm definitely still interested in getting this project working for SPR, though I ran into some other annoyances with Supermicro particularly DRMing their board to their own keys with an external FPGA (something they call RoT, but I might dispute the T). This may be bypassable, but I have another board which is hopefully less annoying. Let me know if there's anything I can test, I'll likely try again soon.

Related to #355


Allow usage of Polymer 1.2.x

There are some incompatible changes between Polymer 1.1 and Polymer 1.2.

@netopyr should we move this to 0.8.1 ?


Search bar can't find message names

When searching for a message name, no results are found
Here is the existing message:

Here is the search input:

Here is the search result:

Thanks for creating the issue with a detailed example!
I remember Lunr search was a bit tricky to configure correctly, and I tried testing it thoroughly at the time, but something might've changed since then, I'll investigate why the message name is not working as the search term.

@soleilankerbaril , this seems to be related to case sensitivity.
To confirm: if you search for lowercase "contextsconfig", do you get the search result then?

@soleilankerbaril Attempted to fix in #43, it's released as a prerelease version: https://pypi.org/project/sabledocs/0.11.541.dev0/, if you could give it a try to see if it fixes the issue, that'd be appreciated!

Hi, Thanks for the quick fix.
I confirm that it wasn't a case-sensitive issue, since it did not work with upper case or lower case.
The fix works perfect, thank you. I am now able to search for messages, and it is not case-sensitive as bonus 😉
PS: Love the work you did with this doc generator.

@soleilankerbaril Right, there was another issue, that the full type name was not split per . during the indexing, so if you had a type Person in package foo.bar, then only searching for "foo.bar.person" was working, "person" was not, probably you were hitting this issue as well 🙂. That's also fixed now.
Thanks, I'm glad that you like it! I'll merge the PR so the fix will be released in the next stable version.

Cool, thanks. Should I close this issue or are you going to close it with when the next stable version comes out?

@soleilankerbaril The fix was released to stable, closing this now.


Add flag to skip excessively flushing tar output buffer

Fixes #219.

I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the SharpZipLib open source product (the "Contribution"). My Contribution is licensed under the MIT License.

Closing this due to lack of interest.


Gitops e2e for vSphere

Issue #, if available:
Description of changes:
This PR adds vSphere E2E tests for the API with GitOps
Testing (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/retest

/retest


operator project-quay (3.9.0-nightly.20230711)

Add 3.9.0-nightly.20230711 to community operators

/merge possible

/merge possible


Increase Payload Size

Not going to merge this change, will create a hotfix from main and deploy to prod for now.


refactor: resolveExports

Description
At the time I created #10683, I was going to propose changing resolve.conditions's default to ['production', 'development', 'module', 'node', 'browser', 'import', 'require'].
This way people can remove default conditions. (The implementation will be like overrideConditions that I implemented in #10683)
But I realized there's a problems with this.
It's not possible to make #9860 work. Even if resolve.conditions was set to ['node', 'import', 'require'], node condition won't be used for targetWeb.
This PR just cleans the logic around this as I didn't come up with a solution.
refs #10683
Additional context

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[x] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

You can probably skip this PR, since #10504 touches this as well. Could you help me with the tests on #10504 so we can merge it?

/ecosystem-ci run


issue with ssr, html class not update when i refresh page ( f5 )

Environment

Operating System: Windows_NT
Node Version:     v16.16.0
Nuxt Version:     3.2.0
Nitro Version:    2.2.1
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      modules, build, ssr, css, postcss
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Reproduction
.
Describe the bug
https://user-images.githubusercontent.com/69683870/219596000-c7948a28-4ca5-4768-8156-db794ac0d12c.mp4
Additional context
No response
Logs
No response

Would you provide a reproduction? 🙏

Hmm, it works fine in StackBlitz, but not on my computer.
https://stackblitz.com/edit/node-mbapcr

same problem - #19030

I think this is the same issue as https://github.com/nuxt/nuxt/issues/18635. Let's track there.


x64 bit support

It's still in DEV branch, but hoping we can get support for x64 exe?  Thanks!

Sorry, took me a while to figure out that you were referring to the ArmA x64 execuable. I'll see if I can get my dev environment setup for this project again and add it (no promises on how long that could take, I haven't touched this codebase in months).

Much appreciated!  Sorry i wasn't clear about the app.

Just put out v0.2.12 - please let me know if you run into any issues with it. Unfortunately you will need to clear your config file for the changes to take effect 😞.
Bit of background on why the config clear is necessary, we had anticipated the need to add new executables down the line and made it configurable - however it wasn't a pressing concern when we were working on the project and so we never built a user interface for making those changes - the result is that the only way to change the list of executables is by loading an empty config file... Not the smartest approach, I know, and I do apologize for the inconvenience.

No need for apologies, much appreciated that you updated for the community!
May i please ask what config file you are referring to?  Sorry if it's obvious, but check my user folder and app folder and could not find such file.
Thanks again.

No worries, in the release notes I've documented the steps you need to take to upgrade it (including where to find the file) - you can find the release notes here.
Let me know if it doesn't work for you.

Geez, can't believe i missed it.  Sorry once again.  Only note to add, is for me anyways, it was in the %AppData%\Roaming\Articulate folder.
I cant tell ya right off the bat its working!  Will report back if i find any major bugs.  Thanks again man, really appreciate it!

Oh right, you're entirely correct - I'll fix that in the docs.
It's a pleasure, enjoy


fix resouce leak.

Motivation:
fix issue : https://github.com/sofastack/sofa-rpc/issues/689
Modification:
Describe the idea and modifications you've done.
Result:
Fixes #.
If there is no issue then describe the changes introduced by this PR.

Codecov Report

Merging #691 into 5.5 will decrease coverage by 0.07%.
The diff coverage is 25%.

@@             Coverage Diff              @@
##                5.5     #691      +/-   ##
============================================
- Coverage     70.92%   70.85%   -0.08%
+ Complexity     1150     1148       -2
============================================
  Files           382      382
  Lines         15888    15891       +3
  Branches       2567     2568       +1
============================================
- Hits          11268    11259       -9
- Misses         3276     3286      +10
- Partials       1344     1346       +2

Impacted Files
Coverage Δ
Complexity Δ

.../main/java/com/alipay/sofa/rpc/common/Version.java
100% <ø> (ø)
0 <0> (ø)
:arrow_down:

...ay/sofa/rpc/client/AllConnectConnectionHolder.java
62.02% <25%> (-0.52%)
0 <0> (ø)

...ipay/sofa/rpc/server/bolt/BoltServerProcessor.java
67.2% <0%> (-5.6%)
23% <0%> (-3%)

...n/java/com/alipay/sofa/rpc/common/SofaConfigs.java
80.35% <0%> (-1.79%)
0% <0%> (ø)

...ipay/sofa/rpc/tracer/sofatracer/RpcSofaTracer.java
88.27% <0%> (-0.93%)
0% <0%> (ø)

...va/com/alipay/sofa/rpc/server/rest/RestServer.java
73.27% <0%> (-0.87%)
0% <0%> (ø)

...alipay/sofa/rpc/registry/zk/ZookeeperRegistry.java
63.25% <0%> (+0.6%)
0% <0%> (ø)
:arrow_down:

...sian/MultipleClassLoaderSofaSerializerFactory.java
93.33% <0%> (+6.66%)
5% <0%> (+1%)
: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 6487ce8...7fbaaad. Read the comment docs.

在主站版本扩展修复，override addRetry 方法


RFTools Crafter Deleting Items

If you press the sort button using a RFTools crafter it puts the item into the top grid rather then the inventory grid. This causes the items to be deleted as the crafting area is not a storage area but a place to input recipes.
https://github.com/AllTheMods/ATM-5/issues/185

Can reproduce, will be working on it.


does this work properly with redux containers?

Project seems to be still in infancy stage.

Hi faceyspacey, Redux apps are able to be simulated in Reactide's in-app simulator. We have also preinstalled Redux & React chrome devtools for use in the simulator. Cheers!


Fix LiteLLM Metadata

Description
Fix wrong metadata of litellm, which cause Pydantic ValidationError.
Type of Change

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

[x] Added new unit/integration tests

Suggested Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

cc: @jerryjliu @logan-markewich any help on this would be great!


Support namespaces

From @sebgoa on July 10, 2016 11:23
Currently, we only display default namespace objects.
We need to support multiple namespaces...
Copied from original issue: skippbox/cabin-sw#12

@kemcake looks like this got broken with the latest pull.
when clicking on the namespace I get an error 'Immutable.list is not a function, (In Immutable.list()', 'Immutable.list is undefined'

From @kemcake on July 12, 2016 12:54
I've added the current namespace under the cluster title. You can click and switch namespace with an ActionSheet.
Current namespace for a cluster is stored in localstorage.
Preview:

ok tested. I will close this issue.
Not sure how to test this so it does not break in the future.

From @kemcake on July 15, 2016 13:6
yes, just fixed that :)


Proposed Terminal API onData

Fixes #23177

API
export interface Terminal {
	/**
	 * Experimental API that allows listening to the raw data stream coming from the terminal's
	 * pty process (including ANSI escape sequences).
	 *
	 * @param callback The callback that is triggered when data is sent to the terminal.
	 */
	onData(callback: (data: string) => any): void;
}

Usage
const terminal = vscode.window.createTerminal();
terminal.onData(data => console.log(data));

Results in something like this:

If we wanted to ship this it might make more sense to strip escape sequences before firing the onData callback. In the meantime use something like Strings.removeAnsiEscapeCodes or TerminalDecoder to strip them.
Notes

Only one onData callback can be registered at once, called it again will override the old one.
Only when onData is called will the terminal send the data stream over IPC.

@Tyriar Thanks for the API. Will use for my explorations.


blog: helm improvements

Hello @lianmakesthings, @milas,
Please review the following commits I made in branch nicks/morehelm:
5328e901a176f93667b2e7055576911e818736a9 (2022-01-25 17:37:47 -0500)
blog: helm improvements
Code review reminders, by giving a LGTM you attest that:

Commits are adequately tested
Code is easy to understand and conforms to style guides
Incomplete code is marked with TODOs
Code is suitably instrumented with logging and metrics

I basically just cannibalized the docs, punched up the text a bit, and slapped some elephant seals on the top!


Console output should prefix messages with "Suite" instead of "Test" for suites

This changes the console output to prefix messages with the word "Suite" instead of "Test" for events representing suites.
Motivation:
It's helpful to users to distinguish between test functions (aka "tests") and suite types (aka "suites") in the human-readable console output shown while running tests, to clarify the role each item plays.
Modifications:

Change logic in Event.HumanReadableOutputRecorder to check for suites and use the appropriate word.
Add new test and adjust others.

Result:
Console output now shows "Suite" for suites.
Checklist:

[x] Code and documentation should follow the style of the Style Guide.
[x] If public symbols are renamed or modified, DocC references should be updated.

Resolves rdar://120962053

@swift-ci please test

@swift-ci please test

There are known issues impacting CI currently so merging based on local testing.


Add section to docs on duplicate messages in changefeeds

Fixes DOC-7182, DOC-7289
This PR adds a section to the Changefeed Message page to provide more info on why users may see duplicate messages.
The intention here is to add:

why duplicates happen in a changefeed
what scenarios trigger the changefeed to send duplicate messages

Preview
https://deploy-preview-17442--cockroachdb-docs.netlify.app/docs/v23.1/changefeed-messages.html

Hey @HonoreDB, would you mind reviewing this one? (I stole some language of yours from a support issue for one of the notes here.) Beyond changes to what I have added here, are there any other points missing re duplicate messages that we would want to mention here?

@HonoreDB I have incorporated your feedback and responded to your notes. PTAL when you have time!