text:
[Docu]: Adjust Documentation and maybe add a language pls (?)

What are we changing or adding?

[X] Repository
[ ] Wiki

Location
README Files and documentation on the obsidian app
The issue is...
🇬🇧:
Documentation and Support:
I've reviewed the plugin, very well done, and I have some suggestions to improve the accessibility of the documentation for newcomers.
🇮🇹:
Documentazione e Supporto:
Ho guardato il plug-in, molto ben fatto, e avrei qualche suggerimento per migliorare la fruizione della documentazione per i nuovi arrivati
Suggestions?
🇬🇧:

Clarity in the numbering of subfolders for campaign elements. Unfortunately, there is no clear guidance in the documentation, and often one has to resort to trial and error in creating them to understand which ones are available and where they are in the folder tree.
Given the frequent use of the "reload without saving" command to reset the reloading of elements loaded from the front-end, I would suggest including in the documentation and README a section emphasizing the importance of using this command (and any versions for IOS, Linux, and Windows).
Reports for each patch of hotfixes, not just updated documentation, when the plugin is updated.

🇮🇹:

Chiarezza nella numerazione delle sotto-cartelle degli elementi di una campagna, non vi è una traccia chiara nella documentazione purtroppo e spesso si deve andare prima a tentativi di creazione per capire quali sono disponibili e dove nell'albero di cartelle.
Visto l'utilizzo frequente del comando "ricarica senza salvare" per reimpostare il reloading degli elementi caricati dal front-end, suggerirei di mettere proprio nella documentazione e nel read-me la sezione in cui si ribadisce l'importanza dell'utilizzo di questo comando (e le eventuali versioni per IOS, Linux e Windows).
Report ad ogni patch degli hot fixes, non della documentazione aggiornata e basta, quando viene aggiornato il plug-in.

Anything else?
🇬🇧:
I would suggest an Italian version of the README documentation for a better understanding for Italian Masters and programmers and also for a sense of national pride 🤣. If needed, I volunteer to draft the initial version.
🇮🇹:
Suggerirei una Versione italiana della documentazione del README per uno spirito sia di miglior comprensione per i Master e programmatori italiani che per puro spirito di patria 🤣, nel caso servisse mi offro volontario per la prima bozza.

🇬🇧:
I've implemented the Italian version for both the README.md and the front-end interface. Now, I proceed with the pull for the other proposed sections.
🇮🇹:
Ho implementato la versione italiana sia del README.md sia dell'interfaccia front-end. Ora procedo con la pull delle altre parti proposte.

source: gharchive/issue

repo: carlonicora/obsidian-rpg-manager

license: MIT

license_type: permissive

license_source: github-api


text:
Custom prompts not being saved after updates

What happened?
When there is an update to the plugin, it tends to erase any custom prompts and replace them with the default prompts.
Relevant log output or stack trace
There isn't any.

Steps to reproduce
This appears to happen only occasionally. It does happen whenever I manually update the plugin rather than when Pycharm is reloaded. It happens less often if the plugin isn't manually updated, but it still happens. I'm happy to provide any additional details you might need.
CodeGPT version
2.8.3-241.1
Operating System
macOS

Thank you for reporting! I will take a look at it during the next iteration.

Unfortunately, I'm unable to reproduce this issue. So far, I've tried manual updates to the plugin, as well as updating the IDE (PyCharm). The only reason for this to happen is when the configuration state could not be found, or the path changes, but this hasn't been changed since February.
I might need some additional information, such as on which specific update did it occur, and the contents of your settings which can be found here. For me, it would be accessible from /Users/carlrobertoh/Library/Application Support/JetBrains/IntelliJIdea2024.1/options/CodeGPT_ConfigurationSettings_210.xml

This has happened around 4 or 5 times YTD. After looking at the configuration settings, it does seem to be related to Pycharm updates. The custom prompts associated with each version update are very different.
I'll add some insights to see if it helps, but if not, you can close this, and I'll comment if it happens again.
I found that I had 2 versions of Pycharm installed 2023.3 and 2024.1
The config settings of 2023.3 don't have any custom prompts. Is it possible that each .1.1 update of the 2024 pycharm was looking for the settings of 2023.3, not finding any configs, and creating the default prompts?

After deleting version 2023.3, I closed and reopened PyCharm and all my custom prompts disappeared again.

It happened again when updating to PyCharm2024.2. I checked CodeGPT_ConfigurationSettings_210.xml from PyCharm2024.1 and the config settings still exist in that folder so it should have been able to pull from there. The only settings it seemed to retain are: autocompletionContextAwareEnabled, autocompletionPostProcessingEnabled, and maxTokens but I could just have those on the defaults.

Was the configuration file CodeGPT_ConfigurationSettings_210.xml copied over to the new PyCharm version options folder (e.g., /Users/admin/Library/Application Support/JetBrains/PyCharm2024.2/options)?

The file exists, but the contents were not copied.

Ok, I was finally able to reproduce the issue by downloading an older version of PyCharm and immediately updating it to a newer one. Weirdly, on the first attempt to open the IDE, the previous settings were retained until I restarted the IDE. It looks like it was using some cached values until it got restarted. Altho for me, the configuration file was never copied over. I assume you probably modified some values, which created a new .xml file because the default state got changed.
Regardless, I'm still not sure what is actually happening and why this specific cfg file is never copied over 🙄

Hi, I have a similar problem. Every plugin update in PhpStorm deletes my CodeGPT_ConfigurationSettings_210.xml file in ~/.config/JetBrains/PhpStorm2024.2/options
The last 3-4 updates have been happening like this.
Yes, I also modify the values in this file.

Update 2.10.2-241.1 and it already works. The file is not deleted. Great. Thanks a lot. Petr

authors: carlrobertoh jp26jp petrovo-as

repo: carlrobertoh/CodeGPT


text:
Recommend pipx to install offlinedatasci

Installing pipx (https://pipx.pypa.io) will be an additional step, but afterwards installing and updating offlinedatasci becomes simpler. Using pipx also ensures best practice such as installing binaries into a virtual environment.
Alternatives

Keep using pip as now
Give instructions to install offlinedatasci into a virtual environment

This should also bypass the long path error on Windows #119

Is pipx appropriate since we also include a Python interface?

pipx replaces a subset of pip's functionality; it lets you install cli applications but NOT libraries that you import in your code.

https://pipx.pypa.io/latest/comparisons/
Given this I don't think this can be the only or primary recommendation, but I'd be happy to add a second install description that will work but only if using the CLI.
Note that #119 has been solved so pip now works for all OSs.

Yes, we should include both. I think most people will use the CLI, so probably pipx first, with pip if they want to use it as a library.

Thanks! Just opened a PR and requested a review. I left pip first since it is the default and doesn't require installing a package that will be new to many folks, but I restructured things so that pipx is immediately after and states that we recommend it for CLI install.s

authors: abhidg ethanwhite

repo: carpentriesoffline/offlinedatasci


text:
Extracting trajectory/poses

Short version: I haven't found anything adressing this topic, so: Is there a way how to get robots trajectory from Cartographer with ROS?
Long version:
Hello, I am comparing SLAM algorithms based on their poses throughout their trajectory in my thesis and I can't come up with a way to get a trajectory from cartographer. I use .bag data with ground truth from MIT Stata center (link below). Currently I'm obtaining trajectory via hector trajectory server and it worked fine with both Hector SLAM and gMapping but Cartographers trajectory is quite off

This is from run at 0.2 speed. When I run it at realtime and robot is coming back from that part "north" to the main long hall (that part that looks like two curved horns) back that long hall to go "east" it simply skips like this

I believe there is some hard computing when cartographer is closing the loop from that "north" part which is not compatible with hector trajectory server. I also hope that I have right settings for cartographer because map on the outcome is correct.
source code: https://www.dropbox.com/s/6mhipp0keaj1ee3/cartographer_source.rar?dl=0
used bag: 2012-01-28-11-12-01.bag.noimages (in ground truth) at http://projects.csail.mit.edu/stata/downloads.php
Thanks for any feedback in advance.

I can't come up with a way to get a trajectory from cartographer.

You run Cartographer  and once all your data has been replayed, you use rosservice call /finish_trajectory map. It will put files in ~/.ros/map*, one of them is the trajectory in a protobuf. Alternatively you can use the offline tool to run through your bag as quickly as possible and receive the trajectory next to the bag.

via hector trajectory server

To me this sounds like you are comparing apples with oranges then.
My understanding is that you are interested in the transform map -> base_link over time. But while the SLAM is running, earlier poses will be pushed around constantly, so you cannot listen to map -> base_link live and compare these later. For all systems, you have to let the whole SLAM run finish and compare the  final trajectory. Cartographer gives you this data (as said), the other systems probably do too.
As of the ground truth data, I would suggest taking their ground truth with a grain of salt though - the procedure they describe does not sound like it would give 2cm accuracy. From http://projects.csail.mit.edu/stata/groundtruth.php:

Relaxing this posegraph (using iSAM, developed by Michael Kaess) produces the final groundtruth poses for that small batch. This process is repeated for each subsequent batch of scans. The scanmatching mentioned above uses the Fast and Robust Scan Matching (developed by Abe Bachrach) which produces very low drift rates in all situations (except long corridors).

I had a look at your bag and there is a pretty long hallway and since you only use the laser for your SLAM solution, Cartographer slides in there quite substantially. It only fixes it once you get back to the start - and maybe not completely (unsure, no time to investigate). You probably should mix in odometry to get a much better result.
My map is below. See the last few commits in my branch - I only did less work than your config. I ran your bag using roslaunch cartographer_ros cartographer.launch bag_filename:=$HOME/Downloads/2012-01-28-11-12-01.bag.noimages

Thank you for quick response and provided files.
I have a problem with opening the .pb file wich contains the trajectory. I tried to install protobuf today but errors like " The C compiler is not able to compile a simple test program." are popping up and I haven't found a way how I could open it with it. I found something about .proto files are making classes needed to work with .pb files.
Could you please give me one more advice about this?

In the root of your cartographer GitHub checkout, this should work (on Linux) to get a human readable version of the trajectory:
protoc --decode cartographer.mapping.proto.Trajectory -I. $(find . -name '*.proto') < ${trajectory_filename}

Thank you and sorry for the delay. This trajectory is (big surprise) better than the method I used. It is still a little off though.

I think we can do better than that. Probably relying more on the linear model prediction. I'll have another look at the tuning, but it will require a few days.

Could you provide the ground truth and your plotting and comparing code somewhere?

Here is the matlab script I use. It's a bit messy and written in czech but I changed some descriptions so it could be understandable for english speaker.
comparing_slam_trajectory.zip
The error I use for comparing trajectories is (4) in On Measuring the Accuracy of SLAM Algorithms.
Script generates plots for compared SLAM solutions and then prints RMSE of trajectories, mean of error from the article, its variance and standard deviation. All prints consists of 3 numbers, first for hectorslam, second for gmapping, third for cartographer.

I took another look at your data. I wanted to use the IMU or odometry to improve the result a bit, but both data seems bogus in the bag (for example /base_odometry/odom has an empty child_frame_id which seems improbable to me).
I instead told the SLAM to penalize changing of speed which also improved the result - in fact I think the slipping is basically gone now. I was unable to get your scripts running to do the comparison against the provided ground truth. Could you try?
My changes are again in this branch. The important change is this commit but I also merged #342 into the branch to make offline processing faster.

After I changed the translation weight for scanmatcher as you did in your commit I ran the experiments again and results are much better. Cartographer now even has the lowest RMSE of all SLAM solving implementations. This is how the trajectory looks now

and matlab script with the new trajectory is here
Thank you very much for all your help.

Cartographer now even has the lowest RMSE of all SLAM solving implementations.

Great! Of course giving the authors of the other system also a chance to tune for their implementation will yield the best comparison results.
Looking at the result, I cannot shake the feeling that the ground truth is funky. For example in the long corridor leading to the right you can see this black 'yarn ball'. If you look at the visualization in Cartographer you can see that the robot turns in place there (same for the corridor going left). I think Cartographer is configured to track the center of the robot (so there is very litte yarn, since the robot turns around its center), while the ground truth seems to track the position of the laser. You probably want to double check that and account for it in your comparisons.
Another thought: the method they use to establish their ground truth is essentially manual scan matching. This seems quite susceptible to angular errors - so I am skeptical if Cartographer or the ground truth is more correct compared to the physical world.
Let us know once your thesis is done!

Will look up that ground truth although I don't have much time left to do some super research. I have 12 hours to deadline.
And before we get any expectations about my thesis in here I should set something straight. It's Bachelor thesis and unfortunately for you it's not in english.
But if you would be interested in the results I would be more than happy to share them with you.

The results would be very interesting. Even if it is just a paragraph of your conclusion.

How do I get the data in this paperhttp://www2.informatik.uni-freiburg.de/~stachnis/pdf/kuemmerle09auro.pdf，i can't open its given link http://ais.informatik.uni-freiburg.de/slamevaluation ,do you help me?

@SirVer do you already have something programmed to load a trajectory of the cartographer 3d in rviz? I am interested in that. I also don't know yet how to extract the trajectory from the console.
@sunmk2006 I don't think he can help you with that. You are probably better off asking someone at the university Freiburg or someone from the paper.

They used the data in their 2D cartographer paper,I have sent an e-mail to the authors of the paper, but there is no reply.

@HolmarSeffelgruber I do not think rViz has a plugin to visualize trajectories. We did not write one. I outlined how to get to the final trajectory in this issue further up.
@sunmk2006 The site used to be available when we wrote the paper. I am sorry, I cannot help there, you need to talk to the freiburg people.

Some recent update changed the protobuf output. Now it looks like this:
before:
rotation {
x: 0.086251528618212767
after:
2 {
1: 0xbf59e9f2e45a3309
I don't know if it is needed now that we can get the trajectory from a ros message but I wanted to inform you.

@HolmarSeffelgruber could you post the full commandline you are running? In which directory are you running it?

@SirVer Sure! This one is new and doesn't work.  willing@a234:~/mapping/cartographer_ws/src/cartographer$ protoc --decode cartographer.mapping.proto.Trajectory -I. $(find . -name '*.proto') < ~/.ros/kreisel_front_rev533.pb  It works, if I use an old one and I only change the file in the command.
Here is the terminal output recorded with script:
trajectory.txt

@HolmarSeffelgruber Oh, I know what's wrong. Since #365, we serialize the full pose graph instead of just the trajectory. Try using cartographer.mapping.proto.SparsePoseGraph instead of Trajectory. It is now this schema.

Firstly, thanks for the great work with Cartographer! I am building an outdoor map with a 2D LiDAR and cartographer builds a very nice map with loop closure. I use finish_trajectory service to write the map and the corresponding .pb file. Is there a way I could stream the .pb file as a ROS topic while replaying the .bag file?
I want to assemble the scans from another tilted 2D LiDAR on the robot and consequently use PCL for registration. As mentioned above, we need to use the trajectory generated after the map is built. Any help would be much appreciated!

You can add a little bit of code to your cartographer program to convert it into a nav_msgs/Path message  after getting a new point of trajectory.

There is also the Hector Trajectory Server that does essentially that. I do not know how well it deals with jumps through loop closure though, since imho Hector has no loop closure.

I do not think hector will deal with jumps,since it get the pose of trajectory from tf transform(base_link ---> map)

Thanks for all your suggestions! I agree with sunmk2006 about Hector Trajectory Server.
I am curious about the contents of the .pb file. From previous discussions it seems like it contains pose over time for the final trajectory after all the loop closures. For my dataset, there are at least 3 loop closure instances which cause significant shift in the pose of the robot. Does the trajectory in .pb file include the sudden jumps in pose due to loop closure? If not, it would be useful to have a rosbag time synchronized trajectory player for processing other sensor data after the map is built using the "true" trajectory of the robot. Just curious if this already included in any of the ROS nodes.

From previous discussions it seems like it contains pose over time for the final trajectory after all the loop closures.

That is correct. It used to be a binary Trajectory proto, but now it is a binary SparsePoseGraph proto - which also contains the Trajectory.

Does the trajectory in .pb file include the sudden jumps in pose due to loop closure?

No, the proto is entirely in map frame, i.e. it will contain the fully optimized Trajectory after all data is incorporated and optimization has run.

If not, it would be useful to have a rosbag time synchronized trajectory player for processing other sensor data after the map is built using the "true" trajectory of the robot. Just curious if this already included in any of the ROS nodes.

This is essentially what the assets_writer_main node does. It does not publish the sensor data though, so no other nodes can use the data - but it is easy to add another PointsProcessor to get more out of the binary.

Btw, Cartographer now also publishes the trajectory in form of markers, so you can get to the information now.

Thanks a lot for your input SirVer! Yes I already tried visualizing the trajectory markers in RVIZ and they are very useful for visualization. However, I would really like to use the SparsePoseGraph proto (the .pb generated using the assets writer node) since it gives good structure to the mapping procedure and "load" the trajectory along with the corresponding map and play it along with the bag file. Do you have any recommendations on where I could start with implementing this? I am looking at the assets_writer_main node to see if I can refactor the code for the above purpose.
Thanks again for your quick responses and help!

I am not exactly sure what you want to achieve, but this is my guess and how I would go about it: Yes, the assets_writer_main is exactly where you want to do this change. My suggestion to go about this is:

Optional, but probably useful: Fix googlecartographer/cartographer#174, so that you get the trajectory on assets. Might not help if you are purely 2D (i.e. all your points are in the same plane and you have no tilt information).
If you are purely 2D, you must fix googlecartographer/cartographer#355 first.
Next, change assets_writer_main to take in the proto (it does already) and a list of .bags that maps to the trajectories in the proto. The idea is that you run offline_node --bag_filenames bag1, bag2,bag3 and then assets_writer --bag_filenames bag1,bag2,bag3 --proto output.pb.
Then loop over each bag in the asset writer and do essentially what we are doing right now, but keeping the points pipeline alive to get a combined result.

@abhinitd If you implement this or something like it, you are my personal hero :)

@SirVer Thanks for all the help and inputs. I will definitely try to fix the above mentioned issues. However, I need to spend some time to understand the software architecture since a lot of it is new to me. I am referring to the online documentation and the ICRA paper to begin with. Let me know if you have any other suggestions.

This and the code is all that we currently have. It is not too much, we understand and hope we can fix this eventually.

Hello
I have been using an older version of cartographer_ros, where an offline run would generate a trajectory protobuf file (".pb"), along with xrays and a PLY file (This is similar to the discussion here).
I was able to parse the trajectory file using trajectory.proto (on python)
After updating my code to the a newer revision (16-Aug-2017), I see the all latter files are no longer generated, and a get ".pbstream" instead. I cannot seem to be able to parse this protobuf even using  sparse_pose_graph.proto

@litgm, I'll refer you to the new asset writer documentation. It discusses how to ingest the pbstream and turn it into a x-ray or PLY.

I have a similar issue but the workaround suggested produces an error...
I'm trying to convert the resultant *.pbstream to a trajectory in readable text format. I was able to get it with the *.pb output but i'm having trouble with the *.pbstream.
this is the command i'm using and the resulting error :
as@as-VirtualBox:~/new_catkin_ws$ protoc --decode cartographer.mapping.proto.SparsePoseGraph -I. $(find . -name '*.proto') < ~/Desktop/Local_Bags/0457.bag.pbstream
cartographer/common/proto/ceres_solver_options.proto: File not found.
src/cartographer/cartographer/mapping_3d/scan_matching/proto/ceres_scan_matcher_options.proto: Import "cartographer/common/proto/ceres_solver_options.proto" was not found or had errors.
src/cartographer/cartographer/mapping_3d/scan_matching/proto/ceres_scan_matcher_options.proto:33:12: "cartographer.common" seems to be defined in "src/cartographer/cartographer/common/proto/ceres_solver_options.proto", which is not imported by "src/cartographer/cartographer/mapping_3d/scan_matching/proto/ceres_scan_matcher_options.proto".  To use it here, please add the necessary import.
Any help would be greatly appreciated!

@Andalph You are running it in the wrong directory. You have to run it so that the paths are resolvable from the current work directory. So probably cd src/cartographer && <rerun command> might work for you.

@SirVer , Thanks for your reply! Glad to know I'm sort-of on the right track.
I should have been more detailed with my edit - I did try changing my directory and rerunning already. I tried again this morning. Do I need to resource something? Here are the returns i'm getting from /src/cartographer:
_as@as-VirtualBox:~$ cd new_catkin_ws/
as@as-VirtualBox:~/new_catkin_ws$ source install_isolated/setup.bashas@as-VirtualBox:~/new_catkin_ws$ cd src
as@as-VirtualBox:~/new_catkin_ws/src$ cd cartographer
as@as-VirtualBox:~/new_catkin_ws/src/cartographer$ protoc --decode cartographer.mapping.proto.SparsePoseGraph -I. $(find . -name '*.proto') < ~/Desktop/Local_Bags/0457.bag.pbstream
Failed to parse input.
as@as-VirtualBox:~/new_catkin_ws/src/cartographer$ protoc --decode cartographer.mapping.proto.SparsePoseGraph -I. $(find . -name '*.proto') < '/home/as/Desktop/Local_Bags/0457.bag.pbstream'
Failed to parse input.
as@as-VirtualBox:~/new_catkin_ws/src/cartographer$ protoc --decode cartographer.mapping.proto.SparsePoseGraph -I. $(find . -name '*.proto') < '/home/as/Desktop/Local_Bags/0457.bag.pbstream' >
bash: syntax error near unexpected token `newline'
as@as-VirtualBox:~/new_catkin_ws/src/cartographer$ protoc --decode cartographer.mapping.proto.SparsePoseGraph -I. $(find . -name '*.proto') < '/home/as/Desktop/Local_Bags/0457.bag.pbstream' > '/home/as/MyTrajectoryDecoded3.txt'
Failed to parse input.
_

Sorry, I misread. The .pbstream is not a flat proto anymore. You have to actually parse it using ProtoStream, like it is done in assets_writer_main. There is no longer a simple command-line way of getting to the trajectory poses, you have to code something.

OK good to know; thanks for your quick replies!

@Andalph I use roscd cartographer, then I run the command:
protoc --decode cartographer.mapping.proto.SparsePoseGraph -I. $(find . -name '*.proto') < '/home/zxkj/Downloads/bs.pb' > '/home/zxkj/Downloads/trajectory.txt'
but the terminal show 'Missing input file.'
Could you help me? Thanks in advance.

Unless you use an antique version of Cartographer, this will never work. As @SirVer pointed out, the format is not plain .pb anymore.
This might help you: https://github.com/googlecartographer/cartographer_ros/issues/1000#issuecomment-419068894

@MichaelGrupp I use the command:
rosservice call /write_state ${HOME}/Downloads/bs.pb
to generate a .pb file instead of .pbstream file
you mean the .pb file is not the same format as it used to be?

Unless you use an antique version of Cartographer

.pbstream has been the serialization format for more than a year, that's why I pointed that out. Your Cartographer version seems to be older then.

@MichaelGrupp I install my Cartographer by folllowing the tutorial of Cartographer, so I think my version is not so old. I just change the command
rosservice call /write_state "{filename: '${HOME}/Downloads/b3-2016-04-05-14-14-00.bag.pbstream', include_unfinished_submaps: 'true'}"
to generate a .pb file. I don't know the change is right or not. I have also read the commit you recommended, but I have no idea where to add the code. Thanks for your reply.

Here is a code sample which loops through all trajectory nodes:
https://gist.github.com/ojura/85507cd6c8be419357305b30d9bb949d

@ojura I try to compile the cpp file you give, but I get wrong. Here is my CMakeLists:
cmake_minimum_required(VERSION 2.8.3)
project(read)
Compile as C++11, supported in ROS Kinetic and newer
add_compile_options(-std=c++11)
find_package(PCL 1.7.2 REQUIRED)
find_package(
catkin REQUIRED COMPONENTS
roscpp
rospy
std_msgs
)
include_directories(
include
${PCL_INCLUDE_DIRS}
${catkin_INCLUDE_DIRS}
/home/zxkj/Cartographer/install_isolated/include
/usr/local/include/eigen3/
/usr/include/lua5.2
)
add_executable(read export_trajectories.cpp)
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${PCL_LIBRARIES})
Could you give some advice? Thanks.

Your CMakeLists is incorrect. You should not use include_directories. You need to have find_package(cartographer), and cartographer_ros_msgs and cartographer_ros as Catkin components.
I recommend you add export_trajectories.cpp to cartographer_ros so you don't have to set up a separate Catkin project.

@ojura I add
add_executable(read export_trajectories.cpp)
target_link_libraries(read ${catkin_LIBRARIES} cartographer )
at the end of the CMakeLists in the cartographer_ros, and then use catkin_make_isolated --install --use-ninja, but the compiler say fatal error: ros/types.h: no such file or directory. I think find_package(catkin REQUIRED COMPONENTS ${PACKAGE_DEPENDENCIES}) in the CMakeLists will find the types.h, but indeed I  cannot compile after adding my code. Could you point out what I should do? I‘m not good at CMakeLists. Thanks.

If you're adding it to cartographer_ros' CMakeLists, you should just link your executable with cartographer_ros.

I have got a better result.

The ROS service call for a TrajectoryQuery (rosservice call /trajectory_query) can only be done with cartographer in online mode. This service call is not available in offline mode. This means that if you would like to export a trajectory of a pbstream, you would need to load the pbstream as a loaded state file in online mode, only to be able to export the trajectory of that same loaded pbstream file. Is there any method to export the trajectory from the pbstream directly using a command line tool? Or any plan to implement that? Exporting the trajectory from a pbstream to e.g. a list of geometry_msgs/PoseStamped would make it possible to use the exported trajectory in @MichaelGrupp 's SLAM evaluation tool [1].
[1] https://github.com/MichaelGrupp/evo

In master, there's rosrun cartographer_ros cartographer_dev_pbstream_trajectories_to_rosbag --input <pbstream> --output <bagfile> src. It does exactly that.

In master, there's rosrun cartographer_ros cartographer_dev_pbstream_trajectories_to_rosbag --input <pbstream> --output <bagfile> src. It does exactly that.

Thanks a lot! That's very useful.

How do I execute this?
rosrun cartographer_ros cartographer_dev_pbstream_trajectories_to_rosbag --input <pbstream> --output <bagfile>
as I get the following error:
[rosrun] Couldn't find executable named pbstream_trajectories_to_rosbag_main.
I have sourced my environment using 'source install_isolated/setup.bash'.

rosrun cartographer_ros cartographer_dev_pbstream_trajectories_to_rosbag --input /home/arjun/Desktop/rosbags/bagname.bag.pbstream --output output_bag
This worked for me @BenJamin-ad

Long version: Hello, I am comparing SLAM algorithms based on their poses throughout their trajectory in my thesis and I can't come up with a way to get a trajectory from cartographer. I use .bag data with ground truth from MIT Stata center (link below). Currently I'm obtaining trajectory via hector trajectory server and it worked fine with both Hector SLAM and gMapping but Cartographers trajectory is quite off

Hello dear,
Can you tell me how did you access the estimated trajectory of Gmapping?

hector trajectory server

i know this is YEARs LATER but does anyone know how does hector saves trajectories???

authors: Andalph BenJamin-ad Flandoe HolmarSeffelgruber MichaelGrupp MrDarknessWolf RonaldEnsing SirVer ZuhairAbdulJabbar abhinitd arjunskumar damonkohler fuxingyin litgm ojura struncp sunmk2006

license_source: bigquery


text:
I made a version with a bunch of new features, optimized for Windows, and comes in a GUI!

Hey CaryKH! I was wondering if you could check out this custom version which I made with is exactly as the title says? I'd love that The GUI was made with Tkinter, and includes File Selection and YouTube input 😄
https://github.com/ThatOneCalculator/PyJumpcutterV2

I suggest that you write to him at Discord rather than making an issue 😛

Oh, what's the invite?
On Wed, Apr 24, 2019, 12:34 AM kbartek05 notifications@github.com wrote:

I suggest that you write to him at Discord rather than making an issue 😛
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/carykh/jumpcutter/issues/97#issuecomment-486104906,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKVJJ3J32CKQKB4ANHJBR7TPSAEPNANCNFSM4HHUGKPQ
.

You stole my job... nvm

You should've pr this

What does that mean?
On Fri, Apr 26, 2019, 2:33 AM Kenny notifications@github.com wrote:

You should've pr this
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/carykh/jumpcutter/issues/97#issuecomment-486994684,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKVJJ3J52O77TXJVQSAMUXDPSLEABANCNFSM4HHUGKPQ
.

You can make a pull request on Cary's jumpcutter and make your changes gone
real.
On Fri, Apr 26, 2019 at 9:25 PM Kainoa Kanter notifications@github.com
wrote:

What does that mean?
On Fri, Apr 26, 2019, 2:33 AM Kenny notifications@github.com wrote:

You should've pr this
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/carykh/jumpcutter/issues/97#issuecomment-486994684,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AKVJJ3J52O77TXJVQSAMUXDPSLEABANCNFSM4HHUGKPQ
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/carykh/jumpcutter/issues/97#issuecomment-487055592,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADI736ZPW5BP3W4P5KOXOJLPSL7D7ANCNFSM4HHUGKPQ
.

Oh thanks! I sent him a discord DM but he didn't reply. I'll make sure to
do a pull request!!!
On Fri, Apr 26, 2019, 6:44 AM Kenny notifications@github.com wrote:

You can make a pull request on Cary's jumpcutter and make your changes gone
real.
On Fri, Apr 26, 2019 at 9:25 PM Kainoa Kanter notifications@github.com
wrote:

What does that mean?
On Fri, Apr 26, 2019, 2:33 AM Kenny notifications@github.com wrote:

You should've pr this
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/carykh/jumpcutter/issues/97#issuecomment-486994684
,
or mute the thread
<

https://github.com/notifications/unsubscribe-auth/AKVJJ3J52O77TXJVQSAMUXDPSLEABANCNFSM4HHUGKPQ

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/carykh/jumpcutter/issues/97#issuecomment-487055592,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ADI736ZPW5BP3W4P5KOXOJLPSL7D7ANCNFSM4HHUGKPQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/carykh/jumpcutter/issues/97#issuecomment-487062084,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKVJJ3OE3HKDP362LHO6VD3PSMBMZANCNFSM4HHUGKPQ
.

Oh should I have made it a fork instead of a new repo?
On Fri, Apr 26, 2019, 6:53 AM Kainoa Kanter 2021kanter.ka@pchs.palihigh.org
wrote:

Oh thanks! I sent him a discord DM but he didn't reply. I'll make sure to
do a pull request!!!
On Fri, Apr 26, 2019, 6:44 AM Kenny notifications@github.com wrote:

You can make a pull request on Cary's jumpcutter and make your changes
gone
real.
On Fri, Apr 26, 2019 at 9:25 PM Kainoa Kanter notifications@github.com
wrote:

What does that mean?
On Fri, Apr 26, 2019, 2:33 AM Kenny notifications@github.com wrote:

You should've pr this
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/carykh/jumpcutter/issues/97#issuecomment-486994684>,
or mute the thread
<

https://github.com/notifications/unsubscribe-auth/AKVJJ3J52O77TXJVQSAMUXDPSLEABANCNFSM4HHUGKPQ

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/carykh/jumpcutter/issues/97#issuecomment-487055592
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ADI736ZPW5BP3W4P5KOXOJLPSL7D7ANCNFSM4HHUGKPQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/carykh/jumpcutter/issues/97#issuecomment-487062084,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKVJJ3OE3HKDP362LHO6VD3PSMBMZANCNFSM4HHUGKPQ
.

fork=repo

ok, now how i use this better version?

Go on my profile and check for PyCutterV2
On Sun, May 12, 2019, 2:04 PM RakuStuff notifications@github.com wrote:

ok, now how i use this better version?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/carykh/jumpcutter/issues/97#issuecomment-491629178,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKVJJ3IYGA7KZ3ZMMPTBLQ3PVCA6XANCNFSM4HHUGKPQ
.

mr calculator what did i break
Expected number for ar but found: -vn
Traceback (most recent call last):
  File "jumpcutter.py", line 131, in <module>
    sampleRate, audioData = wavfile.read(TEMP_FOLDER+"/audio.wav")
  File "C:\.......Python37\lib\site-packages\scipy\io\wavfile.py", line 233, in read
    fid = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'TEMP/audio.wav'

Hmm. Try deleting the TEMP folder, and then try and put your video in the
folder with the.py file.
On Fri, May 17, 2019, 8:48 AM neonfishingrod notifications@github.com
wrote:

mr calculator what did i break
Expected number for ar but found: -vn
Traceback (most recent call last):
File "jumpcutter.py", line 131, in
sampleRate, audioData = wavfile.read(TEMP_FOLDER+"/audio.wav")
File "C:.......Python37\lib\site-packages\scipy\io\wavfile.py", line 233, in read
fid = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'TEMP/audio.wav'
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/carykh/jumpcutter/issues/97?email_source=notifications&email_token=AKVJJ3INBCO64XHQJFKZ3H3PV3HTTA5CNFSM4HHUGKP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVVEA4A#issuecomment-493502576,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKVJJ3KAVQILONAQEZLQDDDPV3HTTANCNFSM4HHUGKPQ
.

yeah, that's how i was running it already
On Fri, May 17, 2019, 10:21 AM Kainoa Kanter, notifications@github.com
wrote:

Hmm. Try deleting the TEMP folder, and then try and put your video in the
folder with the.py file.
On Fri, May 17, 2019, 8:48 AM neonfishingrod notifications@github.com
wrote:

mr calculator what did i break
Expected number for ar but found: -vn
Traceback (most recent call last):
File "jumpcutter.py", line 131, in
sampleRate, audioData = wavfile.read(TEMP_FOLDER+"/audio.wav")
File "C:.......Python37\lib\site-packages\scipy\io\wavfile.py", line
233, in read
fid = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'TEMP/audio.wav'
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/carykh/jumpcutter/issues/97?email_source=notifications&email_token=AKVJJ3INBCO64XHQJFKZ3H3PV3HTTA5CNFSM4HHUGKP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVVEA4A#issuecomment-493502576
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AKVJJ3KAVQILONAQEZLQDDDPV3HTTANCNFSM4HHUGKPQ
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/carykh/jumpcutter/issues/97?email_source=notifications&email_token=AKVVDWJOQKKPMKN7FNTJEYLPV3LPTA5CNFSM4HHUGKP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVVGWRQ#issuecomment-493513542,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKVVDWKDOPY2T3XIZFHPO2DPV3LPTANCNFSM4HHUGKPQ
.

Hmm that has never happened before to me. Try force quitting python
On Fri, May 17, 2019, 9:25 AM neonfishingrod notifications@github.com
wrote:

yeah, that's how i was running it already
On Fri, May 17, 2019, 10:21 AM Kainoa Kanter, notifications@github.com
wrote:

Hmm. Try deleting the TEMP folder, and then try and put your video in the
folder with the.py file.
On Fri, May 17, 2019, 8:48 AM neonfishingrod notifications@github.com
wrote:

mr calculator what did i break
Expected number for ar but found: -vn
Traceback (most recent call last):
File "jumpcutter.py", line 131, in
sampleRate, audioData = wavfile.read(TEMP_FOLDER+"/audio.wav")
File "C:.......Python37\lib\site-packages\scipy\io\wavfile.py", line
233, in read
fid = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory:
'TEMP/audio.wav'
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<

https://github.com/carykh/jumpcutter/issues/97?email_source=notifications&email_token=AKVJJ3INBCO64XHQJFKZ3H3PV3HTTA5CNFSM4HHUGKP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVVEA4A#issuecomment-493502576

,
or mute the thread
<

https://github.com/notifications/unsubscribe-auth/AKVJJ3KAVQILONAQEZLQDDDPV3HTTANCNFSM4HHUGKPQ

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/carykh/jumpcutter/issues/97?email_source=notifications&email_token=AKVVDWJOQKKPMKN7FNTJEYLPV3LPTA5CNFSM4HHUGKP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVVGWRQ#issuecomment-493513542
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AKVVDWKDOPY2T3XIZFHPO2DPV3LPTANCNFSM4HHUGKPQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/carykh/jumpcutter/issues/97?email_source=notifications&email_token=AKVJJ3JNRCPLTOAVS4MS3ZDPV3L7BA5CNFSM4HHUGKP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVVHBII#issuecomment-493514913,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKVJJ3IMTQFPL3XWBRBLB6LPV3L7BANCNFSM4HHUGKPQ
.

mr calculator what did i break
Expected number for ar but found: -vn
Traceback (most recent call last):
  File "jumpcutter.py", line 131, in <module>
    sampleRate, audioData = wavfile.read(TEMP_FOLDER+"/audio.wav")
  File "C:\.......Python37\lib\site-packages\scipy\io\wavfile.py", line 233, in read
    fid = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'TEMP/audio.wav'

Ok. I may or may not have found your problem:
TEMP/audio.wav needs to exist, otherwise your system won't find it (because it isn't there.)
Windows has C:\*\, not C:/*/

Yeah, but in Python you phrase the system files like that because it'll
immediately break if you use C:. That's why we use C://
On Sat, Jul 27, 2019, 2:09 PM jojomoore2007 notifications@github.com
wrote:

mr calculator what did i break
Expected number for ar but found: -vn
Traceback (most recent call last):
File "jumpcutter.py", line 131, in
sampleRate, audioData = wavfile.read(TEMP_FOLDER+"/audio.wav")
File "C:.......Python37\lib\site-packages\scipy\io\wavfile.py", line 233, in read
fid = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'TEMP/audio.wav'
Ok. I may or may not have found your problem:
TEMP/audio.wav needs to exist, otherwise your system won't find it
(because it isn't there.)
Windows has C:*, not C:/*/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/carykh/jumpcutter/issues/97?email_source=notifications&email_token=AKVJJ3NNBQKYQILGQCA7HALQBS2PFA5CNFSM4HHUGKP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD26SVWY#issuecomment-515713755,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKVJJ3JVHHMKR4UBUXP6HK3QBS2PFANCNFSM4HHUGKPQ
.

authors: RakuStuff ThatOneCalculator jojomoore2007 kbartek05 kcomain neonfishingrod

repo: carykh/jumpcutter


text:
Add CI and code coverage badges and semantic-release

Like: https://github.com/casdoor/casdoor-js-sdk/issues/3

@wenxuan70

repo: casdoor/casdoor-react-sdk


text:
fix: modify the permissions of org admin

Fix: https://github.com/casdoor/casdoor/issues/1266
Fixed the issue where org admins lacked permission to operate on their organization-related attributes. The issue was caused by subowner and subname values of the user being the organization name and username respectively, while the default objowner and objname values on resources such as permission page were "admin" and null.  Subowner and objowner have different meanings, and it is not clear whether ownership of some resources is attributed to "admin" or the organization.
https://user-images.githubusercontent.com/34300181/236259158-f09f26ea-34a0-4b0e-9405-d0c3a42b4a9c.mp4
Now, permissions is confirmed only if both the user and objowner are admin, but it is still unable to differentiate between admins of different orgs. For example, org1's admin should not have permission to access org2's resources, but it's unable to differentiate between org1's admin and org2's admin.
To address this issue, I have two approaches:

Adopt the RABC model.
Standardize objowner as organization, since only admin can operate on relevant resources.

Both approaches require significant code changes, but I am currently more inclined towards the second approach.

Replaced by: https://github.com/casdoor/casdoor/pull/1822

source: gharchive/pull-request

authors: XDTD hsluoyz

repo: casdoor/casdoor


text:
BEP 47: Padding files and extended file attributes

BEP 47
Add padding files and align files in torrents to piece boundaries. Should probably be enabled by default.
(I got 99 issues and this is one.)

I'm looking for a CLI tool that supports creating torrents with symbolic links. The libtorrent library seems to support it per https://github.com/arvidn/libtorrent/issues/3636 but I haven't found a (CLI) way to actually create one.

I'm looking for a CLI tool that supports creating torrents with symbolic links. The libtorrent library seems to support it but I haven't found a (CLI) way to actually create one.

@deliciouslytyped
As in the utility will "follow" symlinks and the resulting .torrent will include the actual files they point to, or create symlinks once downloaded? For the former, imdl has actually been perfect! It is the only utility I have found that will actually follow symlinks, and actually ignores hidden files. I thought it was too good to be true, so I gathered all the scattered files up into one folder and made a torrent again with my client. Same hash. The only thing stopping me from using it is the lack of BEP 47 support...
PS S:\Definitely\Not\Movies\Actually\Linux\ISOs> ls

    Directory: S:\Definitely\Not\Movies\Actually\Linux\ISOs

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
la---          2023-11-10  2:27 PM              0 Not_A_Movie_Part_1.mp4 -> K:\A\Dying\Hard\Drive\Not_A_Movie_Part_1.mp4
la---          2023-11-10  2:27 PM              0 Not_A_Movie_Part_2.mp4 -> K:\A\Dying\Hard\Drive\Not_A_Movie_Part_2.mp4
la---          2023-11-10  2:27 PM              0 Not_A_Movie_Part_3.mp4 -> K:\A\Dying\Hard\Drive\Not_A_Movie_Part_3.mp4
-a---          2023-08-05  8:29 PM     2424255151 Not_A_Movie_Part_4.mp4

S:\Definitely\Not\Movies\Actually\Linux\ISOs>dir . /A H
 Volume in drive S is
 Volume Serial Number is

 Directory of S:\Definitely\Not\Movies\Actually\Linux\ISOs

2023-11-10  02:27 PM    <DIR>          .
2023-11-10  02:27 PM    <DIR>          ..
2019-06-02  08:23 AM           170,163 folder.jpg
2019-06-02  08:04 AM           130,178 Not-A-Screenshot-1.jpg
2019-06-02  08:04 AM            68,244 Not-A-Screenshot-2.jpg
2019-06-02  08:04 AM            70,865 Not-A-Screenshot-3.jpg
2019-06-02  08:04 AM            70,909 Not-A-Screenshot-4.jpg
2019-06-02  08:05 AM            66,952 Not-A-Screenshot-5.jpg
2019-06-02  08:05 AM            69,209 Not-A-Screenshot-6.jpg
2019-06-02  08:05 AM            72,925 Not-A-Screenshot-7.jpg
2023-11-10  02:27 PM    <SYMLINK>      Not_A_Movie_Part_1.mp4 [K:\A\Dying\Hard\Drive\Not_A_Movie_Part_1.mp4]
2023-11-10  02:27 PM    <SYMLINK>      Not_A_Movie_Part_2.mp4 [K:\A\Dying\Hard\Drive\Not_A_Movie_Part_2.mp4]
2023-11-10  02:27 PM    <SYMLINK>      Not_A_Movie_Part_3.mp4 [K:\A\Dying\Hard\Drive\Not_A_Movie_Part_3.mp4]
2023-08-05  07:29 PM     2,424,255,151 Not_A_Movie_Part_4.mp4

The resulting .torrent ignored all of the hidden images, although I was ready to just use the glob option with *.mp4 if that didn't work, and it actually hashed Parts 1-3 too. No other utility I've tried followed through on doing both even when they claimed to.
For the latter, I am not sure how that would work. My symlink on Windows is nothing like your symlink on Linux which is nothing like Jimbob's symlink on MacOS. Sure, they might behave or look the same, but now in addition to dealing with however they work on Linux or Mac, you've got NTFS hardlinks for files (adds a new MFT record pointing to the same data) and directories, plus symbolic "soft" links which are closer to, but still not quite what you get on Linux with a symlink. And even across Windows systems, an NTFS file "hardlink", if you somehow got a .torrent to represent it, would cause issues for the 3 people actually using ReFS; that only supported symlinks until very recently. Hell, Windows programs cannot even tell hardlinked files or directories (a.k.a junctions) apart - they look like actual files and folders to them.
And it's a coinflip as to whether or not NTFS symlinks will: get treated as files, treated like .lnk shortcuts, or just ignored, by any programs other than cmd/explorer/pwsh. A lot of cross platform stuff flat out treats NTFS like it doesn't support symlinks at all as a result. e.g. jdupes has flags that will allow it to read and deduplicate symlinks (with warnings against using them, I think default behavior ignores them so that you don't delete an actual file and keep the symlink on accident), but if you ask it to create links to deduplicate files...it only makes hardlinks on NTFS, never actual symlinks.

authors: casey deliciouslytyped vt-idiot

repo: casey/intermodal


text:
Feature Request: Add an option to log task timings

I'm trying to find a nice pattern to log out task timings.  I'm using just for various processes and I have cases where I'd like to understand the impact of cmd switch on performance.
I've just come up with this way of logging out the timestamps, but it is a bit manual and messy.  The alternative is use an external tool an annotate the justfile.
It would be good for just to summarise at least the top level task execution stats or a graph in a json file if you wanted to support a full breakdown.
just --timestamp mytask

_start_task name="":
  echo "Start {{ name}}"

_end_task name="":
  echo "End {{ name }}"

mytask: (_start_task 'mytask') && (_end_task 'mytask')
  #!/usr/bin/env bash
  set -eufo pipefail
  tool --slow-switch

Thanks for such a cool project. It's really changing the way I document my tiny projects.

Maybe there could be a config option which would log a JSON summary of a just invocation to a file.
One quick and dirty thing you could do in meantime is use strace to log syscalls, look for process invocations, and figure out the timings from that.

Thanks for such a cool project. It's really changing the way I document my tiny projects.

Glad you like it! ☺

Another thing maybe to OTEL enable it.  I mean this would open up a whole world of possibilities for monitoring build pipelines and any subprocesses that are also OTEL enabled.
Scope Creeping already :D

One quick and dirty thing you could do in meantime is use strace to log syscalls, look for process invocations, and figure out the timings from that.

Currently I'm using time like this -> time just mytask
Thanks for the quick reply.

repo: casey/just


text:
Figure out why /inscriptions is slow

I think that there are some inscriptions that are very heavy to load, and slow down fully rendering pages in which they appear. I haven't looked into it too heavily, but using load=lazy might help:
https://developer.mozilla.org/en-US/docs/Web/Performance/Lazy_loading

We are loading the content from Bitcoin Core so maybe that's bottleneck

lag starts on the explorer at ordinals.com/inscriptions/19701 with the voids
and basically bricks out when more of them are minted around ordinals.com/inscriptions/20100

ordinals.com/inscriptions/49200 loads fine in the page but scrolling past ordinal 49162 is very slow

this page is also omega slow
ordinals.com/inscriptions/57020

Next step on this is figuring out what the offending inscriptions are.

authors: OrdinalChad casey raphjaph

repo: casey/ord


text:
String input instead of file input

Hi,
currently I create the jte-files as templates.
Sometimes I do not have a file but a short string containing the jte-file-content. Is there a way to use this string directly as in input instead of a template file?
If there is no possibilty at the moment, would it be possible to add a String input in the future?

Hey @M-Plu,
I'm not entirely sure what you want to try to achieve. Maybe you could provide a code example of what you want to do?
Cheers!

Hey @casid
sure. Currently I have JTE files in the project resources. Then I use the following code to create a string output with these files.
CodeResolver codeResolver = new ResourceCodeResolver("de/svws_nrw/module/reporting");
TemplateEngine templateEngine = TemplateEngine.create(codeResolver, ContentType.Html);
templateEngine.setTrimControlStructures(true);
StringOutput output = new StringOutput();
templateEngine.render("jte/schule.jte", reportingSchule, output);

So the CodeResolver needs a folder and the templateEngine.render method needs a file.
What I would like to do is passing a string (with content of a JTE file) to the templateEngine.render method, e. g.
var myString = """
@import ...
@param ..."""

CodeResolver codeResolver = new **String**CodeResolver();
TemplateEngine templateEngine = TemplateEngine.create(codeResolver, ContentType.Html);
templateEngine.setTrimControlStructures(true);
StringOutput output = new StringOutput();
templateEngine.render(**myString**, reportingSchule, output);

I hope that makes sense to you. Thank you for your help.

Could you share some details on your use case?

Currently we test JTE as a replacement for thymeleaf.
We have created a server-side PDF-Reporting with thymeleaf and OpenHtmlToPDF.

From the html-template-files we create the html-files with data.
Then these files are converted to PDF using PrintCSS and OpenHtmlToPDF.

One plan is to store those html-templates in the DB of the project (instead of the resources of teh project). So it would be nice to pass the html-template from DB directly to the template-engine.
With thymeleaf this is possible, in JTE I did not find a way to do the same.

@M-Plu you could implement the CodeResolver interface, so that templates are loaded from the database.
However, I wouldn't recommend jte for your usecase.
First, there probably won't be any IDE support for templates in the database, so maintaining the templates could become easily a pain, since jte without code completion is pretty hard to write. Think of Java without an IDE.
Second, you would need to run a JDK compiler in production. When a bad actor somehow is able to insert a jte template in your database, it will be compiled and you instantly have a remote code execution problem.
jte is really meant to be used in a way like regular code. Part of the repository and precompiled before running in production, like regular Java code.
Hope this helps with your decision!

@casid Thank you for your feedback and opinion. We will keep it in mind.

authors: M-Plu casid kelunik

repo: casid/jte


text:
Syntax updates for PEP8

These changes allow pep8 to execute without errors.

lgtm

two minor comments, otherwise LGTM.

repo: caskdata/cdap-ambari-service


text:
macdjview 0.1.2

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.
[x] Named the cask according to the token reference.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.
[x] Checked there are no open pull requests for the same cask.
[x] Checked that the cask was not already refused in closed issues.

I’ve added interpolation to the url. Please next time do it yourself, @yurikoles. You have been contributing for a good while, you know we always want that.

@vitorgalvao sorry, I was too fast on this PR.

authors: vitorgalvao yurikoles

repo: caskroom/homebrew-cask


text:
Initial Mini vMac (v3.3.3)

Tested on 10.10

Thanks!

authors: jedahan rolandwalker


text:
🛑 Baked Bean is down

In 8cbd292, Baked Bean (https://baked-bean.co.uk) was down:

HTTP code: 403
Response time: 247 ms

Resolved: Baked Bean is back up in 1ae412e.


text:
add Link to Manifest

**add Lik to Manifest **
Please add '*casper-swap.herokuapp.com' domain to the allowed list

@George-cl Don't do that. As heroku is a SaaS domain for the Heroku service anybody that will have an heroku domain will be able to use the signer.

Sorry about that, there was a miscommunication on this one @KillianH, @George-cl.  The address we meant to submit was
casperswap.app and all subdomains.

There is a new process for this - please use the Whitelisting issue type.

@adrees0512133526 Hey! Thanks for creating the issue. Could you please go to the issues, and create a  Whitelisting Request by using the provided form? Thank you!
CC: @davidtai

authors: KillianH adrees0512133526 davidtai mrkara mssteuer

repo: casper-ecosystem/signer


text:
Security issues detected & need to be fixed

A few security issues have been detected  after installing this package
20 packages are looking for funding
  run `npm fund` for details

2 high severity vulnerabilities

To address all issues, run:
  npm audit fix

Run `npm audit` for details.

Here is the audit
# npm audit report

trim-newlines  <3.0.1 || =4.0.0
Severity: high
Regular Expression Denial of Service - https://npmjs.com/advisories/1753
fix available via `npm audit fix`
node_modules/trim-newlines
  meow  3.4.0 - 5.0.0
  Depends on vulnerable versions of trim-newlines
  node_modules/meow

2 high severity vulnerabilities

To address all issues, run:
  npm audit fix

Nevermind, it was on my end with a application I was working on was using a old version of electron.

God Npm can be annoying, it is actually because of this package..

@khwaaj

@coreybruce, I think I'll need some additional information here. ECS is based on stock Electron and make no changes to which npm packages are used, so there should be no difference between the same version of ECS and Electron. A quick look in the v14 branch tells me that neither trim-newlines nor meow is used there as part of the ECS install.
Which version of ECS are you using? What platform? Also some details about what your package.json looks like, or a small example showing the same issue, and exactly what you are executing would be helpful.

Well it looks like this forked version used in your instructions is based on Electron 6.0.0 nor did I know you had any newer version since I was just following your install instructions on the readme so you might want to update that. I am Manjaro Linux.

Ok, that probably explains it, the v6 series  is very old, and no longer supported.
The README is just an example and we are not updating it for every release. We should probably at least add a note saying to make sure to use a currently supported version though.

Ahh ok and yeah I think you probably do that tho I think you should update your readme with the latest version than link the supported versions below. :)
By the way is v14.0.0-wvvmp-beta.7 a stable version?

No, the beta versions are based on the stock Electron beta versions so they are not considered stable, and they should be listed as In development in the table of supported versions I linked. The latest stable series is v13 with the v13.1.2-wvvmp release.

Oh Alright, you should document that also. :P
Is there a Arm64 Linux version in the works?

Well, it is sort of documented already. That alpha/beta/rc versions are not considered stable is well established in software versioning schemes, e.g. in Semantic Versioning. And the Releases page lists all releases, so finding the latest one is pretty straightforward. The README itself lives in the repo, and is thus versioned, so depending on which tag you are on it might show different information. This is why we are not using it for certain things that might need to change, only more generally applicable information.
linux-arm64 is not currently something we can support due to the lack of an officially supported CDM from Widevine. For more information see #23 and #41.
You can probably use electron-packager if you jump through some hoops, we have instructions for electron-builder in our FAQ though, so it might be easier.

Closing due to inactivity, please reopen if the issue persists.

authors: coreybruce khwaaj

repo: castlabs/electron-releases


text:
Obscure prefect exception can happen during development

Sometimes when I'm coding and testing my changes by running test etl, the prefect library throws this obscure exception:
[2021-02-05 18:18:21-0700] ERROR - prefect.FlowRunner | Unexpected error: TypeError("object of type 'KeyError' has no len()")
Traceback (most recent call last):
  File "/home/jaro/data/anaconda3/envs/p2/lib/python3.8/site-packages/prefect/engine/runner.py", line 48, in inner
    new_state = method(self, state, *args, **kwargs)
  File "/home/jaro/data/anaconda3/envs/p2/lib/python3.8/site-packages/prefect/engine/flow_runner.py", line 494, in get_flow_run_state
    children = executors.flatten_mapped_children(
  File "/home/jaro/data/anaconda3/envs/p2/lib/python3.8/site-packages/prefect/utilities/executors.py", line 559, in flatten_mapped_children
    [executor.submit(lambda c: len(c._result.value), c) for c in mapped_children]
  File "/home/jaro/data/anaconda3/envs/p2/lib/python3.8/site-packages/prefect/utilities/executors.py", line 559, in <listcomp>
    [executor.submit(lambda c: len(c._result.value), c) for c in mapped_children]
  File "/home/jaro/data/anaconda3/envs/p2/lib/python3.8/site-packages/prefect/executors/local.py", line 28, in submit
    return fn(*args, **kwargs)
  File "/home/jaro/data/anaconda3/envs/p2/lib/python3.8/site-packages/prefect/utilities/executors.py", line 559, in <lambda>
    [executor.submit(lambda c: len(c._result.value), c) for c in mapped_children]
TypeError: object of type 'KeyError' has no len()

Usually, there are also associated task failures (perhaps this happens when mapped task gets strange input) but this feels like a prefect bug because it is making incorrect type assumptions.
In this case, KeyError seems to be stored in c._result.value while the code assumes list here.
This exception seems to propagate and crash flow.run()

It seems that storing exceptions in the results is a feature described here: https://docs.prefect.io/core/advanced_tutorials/local-debugging.html#re-raising-execeptions-post-hoc which makes it even more surprising that the code did not handle it well.

Poked at this some more and filed https://github.com/PrefectHQ/prefect/issues/4084 against prefect codebase along with a simple example of a failing flow.

No longer relevant due to the Dagster refactor. See e.g. #1960 #2104

authors: rousik zaneselvans

repo: catalyst-cooperative/pudl

license: mit


text:
小bug

这里可能为空, 所以需要加个问号判断

@zhan520g 谢谢您对这个项目感兴趣！
可以提个RP过来的哟 😄

要的

repo: catcherwong/nacos-sdk-csharp


text:
fix seed for reproducibility

Fixes the random seed for reproducibility

Good idea

authors: abdouaziz catid

repo: catid/dora


text:
refactor: use whiskers

Adds Whiskers, Catppuccin's internal templating tool, to build the themes. Instead of editing the .skin & .svg files directly, edit the .tera files in templates/ and then run just build to build the output themes. You will need Whiskers (linked above) and optionally Just installed.

Leaving it for now for consistency but the template SVGs should definitely be optimized at some point to remove the extra Inkscape junk.

Note: this does change some of the produced images, as they were incorrect before (frappe used mocha colours), so this isn't a diff-free PR.

Looks good to me, I'm all for not editing the SVGs manually.

authors: nullishamy southqaw uncenter

repo: catppuccin/yakuake


text:
My First PR commit

PR comments

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: cjxd-bot-test
If they are not already assigned, you can assign the PR to them by writing /assign @cjxd-bot-test in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

:star: PR built and available in a preview environment cb-kubecd-bdd-sbhg-1586084182-pr-1 here


text:
chore: bdd-nh-1586295754 to 0.0.1

chore: Promote bdd-nh-1586295754 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


text:
chore: bdd-nh-1597083349 to 0.0.1

chore: Promote bdd-nh-1597083349 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


text:
Dynamic website?

Hi, I'd like to use this technology in tiddlywiki, but it is a dynamic site, that new things will add to the page.
I tried call `window.setPagePreviews` multiple times, but it doesn't work. Can you make it recognize newly appeared a when call setPagePreviews again?

Hey, I've rewritten this package a bit since this issue was opened; this should be addressed. You can individually instantiate each element with linkPreview(elt) and any updates to the referenced element are reflected in the preview. Any new elements can be instantiated whenever. You can find a react example here.

authors: cbroms linonetwo

repo: cbroms/link-previews


text:
微信小程序在pc端显示异常

@Lukangkang123

过段时间排查一下，最近太忙了~

小程序PC端现已正常显示（竖屏）

repo: ccfddl/ccf-deadlines


text:
MuJS doesn't create the array of user objects

I'm trying to use this code to create the array, but it fails:
static void createUserArray(js_State *J) {
  js_newarray(J);
  for (int a = 0; a < 100; a++) {
    //js_pushnumber(J, a);
    js_newuserdata(J, TAG, new MyObj(a), nullptr/*no destructor*/);
    js_setindex(J, -2, a);
  }
}

In JS, this fails:
var a = createUserArray()
print("sz="+a.length)

TypeError: cannot convert undefined to object

It succeeds if js_newuserdata is replaced with js_pushnumber above.

You need to push a prototype object to the stack before the js_newuserdata() call, so that it can set the internal prototype attribute that is used for the userdata object. Typically you will want to use an object that has the methods you want on the userdata type. Hide the object in the registry, or make it a global.
static void createUserArray(js_State *J) {
  js_newarray(J);
  for (int a = 0; a < 100; a++) {
    js_pushnull(); // or js_getregistry(TAG) or js_getglobal(TAG)
    js_newuserdata(J, TAG, new MyObj(a), nullptr/*no destructor*/);
    js_setindex(J, -2, a);
}

Adding js_pushnull(J); doesn't fix the problem, the error is still the same. Same with js_getregistry(J, TAG);

This works, thanks!

authors: ccxvii yurivict

repo: ccxvii/mujs

license: isc


text:
Equivalence checking with a certain restriction

Environment information
OS: MacOS
MQT version: 2.6.0
Compiler: C++
Description
I'm trying to compile circuits with a certain restriction that measurements can only be performed using certain qubits.
For example, in the following coupling map, measurement can only be performed using physical qubit 2

The input circuit is a GHZ state preparation:

After compiling:
Initial mapping (logical->physical) : 0->2, 1->1, 2->0
Logical qubit 0 is already mapped to physical qubit 2, so it is measured
But to measure logical qubit 1, it needs to be swapped with logical qubit 0 so that it is mapped to physical qubit 2
Hence, a SWAP is inserted between logical qubits 1 and 0 after measuring logical qubit 0
And the compiled circuit looks like below:

Is it possible to check equivalence of this compiling?
I tried with the following code:
from mqt import qcec
result = qcec.verify(circ, circ_comp, transform_dynamic_circuit=True,)

# print the result
print(result.equivalence)

Output: not_equivalent
I also tried running the equivalence with combinations of  backpropagate_output_permutation=True and fix_output_permutation_mismatch=True, but the output is not_equivalent.
Sometimes it is equivalent
In a very particular case where logical qubit is mapped to physical qubit 0 (mapping of logical qubit 1 and 2 doesn't matter),
the circuits before and after compiling are equivalent

Expected behavior
Circuits should be equivalent in both the cases, not just when logical qubit 0 is mapped to physical qubit 0.
How to Reproduce
Import qiskit, mqt.qcec and the run the code/circuit blocks mentioned above.

I am fairly sure that QCEC cannot handle this special case at the moment.
What you are describing here is a dynamic circuit that contains mid-circuit measurements. So it needs some kind of transformation before being able to be checked.
I am fairly sure that QCEC currently messes up the initial layout or the output permutation when it tries to transform the circuits above.
I think this could be fixable in principle for cases like these with a combination of the optimization passes we have in place already.
I'll see what I can do once I am back from vacation.

repo: cda-tum/mqt-qcec


text:
add argument 'length_exception'

add the argument 'length_exception' at Readability class, Allow users to choose whether the program throws an exception or issues a warning when the text length is less than 100 words.

and could fix #1 #14

This looks good, however please rename to min_words, where min_words is the minimum number of words. Clients can set min_words to 0 to avoid the exception. Set min_words default to 100

Thank you for your comment!
I change the length_exception to min_words as your request. I also add an "ignore_length" argument to SMOG test, this argument is for avoid length limit of SMOG test. If you think this is not a good idea, you can delete this argument.

Hi, Last version available on pip is 1.4.5 from Aug 2020.

authors: EpsIotaPi antonioFlavio cdimascio

repo: cdimascio/py-readability-metrics


text:
Define rule: A StudyAmendment reason linked to a StudyAmendment as the primaryReason cannot also be linked as a secondayReason.

From Berber's list: "StudyAmendmentReason is only referred to once: as primaryReason or as secondaryReason. (check of uniqueness of referenced id value)"
Since only one primary reason is allowed (and would be part of the cardinality schema checking), the check above means the primary reason cannot also be a secondary reason.

@DianeWold I think this might be a duplicate of #114

Yes, it does seem to be a duplicate, though it's a slightly different approach, trying to use the fact that there can be only one primaryReason.

duplicate of https://github.com/cdisc-org/ddf-core-poc/issues/114

authors: ASL-rmarshall DianeWold nickdedonder

repo: cdisc-org/ddf-core-poc


text:
feat(deps): upgrade compiler dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-compiler-dependencies-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1617

Questions ?
Please refer to the Backport tool documentation


text:
chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2527

Questions ?
Please refer to the Backport tool documentation


text:
chore(deps): upgrade runtime dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-runtime-dependencies-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2953

Questions ?
Please refer to the Backport tool documentation


text:
chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-25-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2634

Questions ?
Please refer to the Backport tool documentation


text:
Ensure S3 bucket has server-side encryption enabled

Control ID:
SC-13/SC-28
AWS Config Rule:
s3-bucket-server-side-encryption-enabled
Story:
As an AWS consultant
I would like to check if my S3 bucket configuration is compliant (has server-side encryption enabled)
So that I can check if my application conforms with Control IDs SC-13 and SC-28 within NIST 800-53.
Acceptance Criteria:
* Given a CDK stack with *a* *non-compliant S3* bucket
    * When NIST-503 Secure Aspects is run
    * Then the CDK stack does not deploy and the consultant receives an explanation about the non compliant S3 bucket for Control IDs SC-13 and SC-28 within NIST 800-53 .
* Given a CDK stack with *a* *compliant S3* bucket and other compliant resources
    * When NIST-503 Secure Aspects is run
    * Then the CDK stack deploys and the consultant does not receive an explanation about NIST 800-53.
* Given a CDK stack *without an S3* bucket and other compliant resources:
    * When NIST-503 Secure Aspects is run
    * Then the CDK stack deploys and the consultant does not receive an explanation about NIST 800-53

Closing as it's a duplicate of #104

authors: dontirun jen-rich

repo: cdklabs/cdk-nag


text:
Can't build the project, vite error

I forked the project to test some fixes to a current BToast issue but I am having issues bulding it, which is kinda unexpected.
I just run npm install (which I see is converted to prepare script)
npm install
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!

> bootstrap-vue-3@0.1.7 prepare D:\Projects\bootstrap-vue-3
> husky install && vite build

husky - Git hooks installed
vite v2.8.6 building for production...
✓ 11 modules transformed.
[vite]: Rollup failed to resolve import "bootstrap/js/dist/alert" from "src/components/BAlert.vue".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
error during build:
Error: [vite]: Rollup failed to resolve import "bootstrap/js/dist/alert" from "src/components/BAlert.vue".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
    at onRollupWarning (D:\Projects\bootstrap-vue-3\node_modules\vite\dist\node\chunks\dep-9c153816.js:39242:19)
    at onwarn (D:\Projects\bootstrap-vue-3\node_modules\vite\dist\node\chunks\dep-9c153816.js:39020:13)
    at Object.onwarn (D:\Projects\bootstrap-vue-3\node_modules\rollup\dist\shared\rollup.js:23129:13)
    at ModuleLoader.handleResolveId (D:\Projects\bootstrap-vue-3\node_modules\rollup\dist\shared\rollup.js:22419:26)
    at D:\Projects\bootstrap-vue-3\node_modules\rollup\dist\shared\rollup.js:22380:26
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! bootstrap-vue-3@0.1.7 prepare: `husky install && vite build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bootstrap-vue-3@0.1.7 prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\ricca\AppData\Roaming\npm-cache\_logs\2022-03-16T10_16_00_521Z-debug.log

Even if I try to fix the problematic import, the same error arise in another component and so on.
Am I missing something?

@xvaara guess this is related to https://github.com/cdmoro/bootstrap-vue-3/pull/315 ?

@Oni07R npm install doesn't install boostrap, since it's peerDepency. try npm install bootstrap
@mariusa maybe we should include it in devDepencies?

@Oni07R It also seems you are using a quite old version of npm, try to upgrade that to see if it helps.
Check if you are missing node_modules/bootstrap, to narrow down it the problem is with bootstrap missing, or importing the files.

It also works for me

> bootstrap-vue-3@0.1.7 build
> vite build

vite v2.8.6 building for production...
✓ 222 modules transformed.
dist/bootstrap-vue-3.css     12.61 KiB / gzip: 2.76 KiB
dist/bootstrap-vue-3.es.js   463.77 KiB / gzip: 92.19 KiB
dist/bootstrap-vue-3.umd.js   240.77 KiB / gzip: 66.20 KiB

bootstrap is in peerDeps

@Oni07R It also seems you are using a quite old version of npm, try to upgrade that to see if it helps. Check if you are missing node_modules/bootstrap, to narrow down it the problem is with bootstrap missing, or importing the files.

I have installed the latest npm and it's working now. Thank you for the help!

authors: Oni07R mariusa xvaara


text:
Search in the repository URL, owner and maintainer names as well.

This PR fixes #55

@redox Awesome!

Works fine @redox, GJ! I like the works been taken by others :smile:

Ahah, you're welcome!

authors: PeterDaveHello redox

repo: cdnjs/new-website

license: ISC


text:
when run "yarn start",a bug appear!

when I down the code and install dependencies, when I run "yarn start", a bug appear like this:

I strongly want to know how to solve this question。

Related Issues

Instead of running yarn start, run the following:
yarn install
NODE_ENV=production VERSION=local-dev yarn task build:server:binary
./packages/server/cli-linux-x64 --help

Instead of running yarn start, run the following:
yarn install
NODE_ENV=production VERSION=local-dev yarn task build:server:binary
./packages/server/cli-linux-x64 --help

when I try your method runs ./cli-darwin-x64, the terminal module does not working, details as follow:

pty.node is supplied from node-pty: https://github.com/microsoft/node-pty/issues/256. Ensure python --version returns 2.x (if not, change your python preference to python2), as most native Node packages require python2 to build properly, then clean and reinstall with yarn.
Make sure your Node version is v10.15.1, as this is the version we use when building nbin and code-server. node-pty will fail to load pty.node if the version it was compiled with (node --version) doesn't match the version of Node used when running it.

pty.node is supplied from node-pty: microsoft/node-pty#256. Ensure python --version returns 2.x (if not, change your python preference to python2), as most native Node packages require python2 to build properly, then clean and reinstall with yarn.
Make sure your Node version is v10.15.1, as this is the version we use when building nbin and code-server. node-pty will fail to load pty.node if the version it was compiled with (node --version) doesn't match the version of Node used when running it.

Well done! As I use npm v10.15.1,  terminal works well, thanks for your work ^ ^

repo: cdr/code-server


text:
Hand gesture nav fix

Summary | Résumé
Made a fix for removing the hand gesture symbol on the login screen and also for adding the About the portal and contact us menu option on the Login screen. Details of the issue have been outlined in Trello ticket - https://trello.com/c/5pJzycVm/845-remove-the-hand-gesture-on-log-in-page-and-fix-nav

I have deleted the svg file from profiles/static/img/

repo: cds-snc/covid-alert-portal


text:
Update calendar tests to use valid days arrays for tests

Update calendar tests to use valid days arrays for tests
This updates adds a new function to seek out a month to use for the tests that has at least 3 valid dates.
The tests have been fragile as we have been relying either upon the inital view to have multiple dates available or simulating clicks on the view to get to a month where we have enough dates.  This was falling out of sync with the dates trying to be selected.

Does this need to be rebased or something after #287 goes in, or what were you thinking?

Correct will rebase this and go from there.

repo: cds-snc/ircc-rescheduler


text:
Text on the translation page does not match the choices in the add modal

The single-choice option is labelled as a radio button on the translation page. Change one to be consistent,
Private Zenhub Image

** Review all copy in EN and FR for all question types and blocks

@anikbrazeau now is probably a good time to look at this since we've made some language adjustments to the modal

@anikbrazeau can you review the copy on the translation page to ensure alignment with the new add modal?

authors: anikbrazeau connorscarolyns

repo: cds-snc/platform-forms-client


text:
🛑 tanecni-divadlo.cz is down

In c713de2, tanecni-divadlo.cz (https://www.tanecni-divadlo.cz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: tanecni-divadlo.cz is back up in 63bb791.

repo: cebreus/upptime


text:
🛑 Silberbauerovo hudební Podyjí is down

In 33c2a3c, Silberbauerovo hudební Podyjí (https://www.hudebnipodyji.eu/) was down:

HTTP code: 500
Response time: 3103 ms

Resolved: Silberbauerovo hudební Podyjí is back up in e12fe4b.


text:
🛑 tanecni-divadlo.cz is down

In 1a89e04, tanecni-divadlo.cz (https://www.tanecni-divadlo.cz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: tanecni-divadlo.cz is back up in f0fc5f8.


text:
🛑 tanecni-divadlo.cz is down

In cf21bde, tanecni-divadlo.cz (https://www.tanecni-divadlo.cz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: tanecni-divadlo.cz is back up in 27197e7.


text:
🛑 CDN is down

In e9e8138, CDN (https://cdn.ceccun.com/cdynamic/captive) was down:

HTTP code: 522
Response time: 15265 ms

Resolved: CDN is back up in eae0503.

repo: ceccun/status


text:
🛑 CDN is down

In bae9697, CDN (https://cdn.ceccun.com/cdynamic/captive) was down:

HTTP code: 522
Response time: 15635 ms

Resolved: CDN is back up in 3bb97c8.


text:
update xarray opening of zarr

This updates the deprecated call to xarray.open_zarr() which results in an error as described in issue cedadev/cmip6-object-store#51.

Hi @AJueling, if I make this change I get this error:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-10-107905d5492a> in <module>
----> 1 hist_tas = cat_to_ds(hist_cat)['tas']
      2 ssp_tas = cat_to_ds(ssp_cat)['tas']

<ipython-input-9-79e3116fc346> in cat_to_ds(cat)
      2     zarr_path = cat.df['zarr_path'][0]
      3     fsmap = fsspec.get_mapper(zarr_path)
----> 4     return xr.open_dataset(fsmap, consolidated=True, use_cftime=True, engine='zarr')

TypeError: open_dataset() got an unexpected keyword argument 'consolidated'

Do I need a minimum version of xarray and intake for this to work?

authors: AJueling agstephens


text:
[#DEV-6887] Adds env Light

Adds an new type of light that "removes" light frome a scene where
object is not lighted, allowing for envirronment shadowing

It feels bad to have this type of light in osgjs, not sure what the best way to do it, maybe setting the Light class customizable to add new type. But it does not feel right to add a new type of light only useful for sketchfab in the general Light class. We should talk about it this week

I feel it's not good to put this light type in regular Light class or in osgjs. Maybe Light should be customizable to add new type outside or in application specific. This light will be only useful for sketchab, not sure it should go into Light default type. We could talk about it this week

When ? Sooner than later ?
On Mon, Feb 15, 2016 at 8:18 PM Cedric Pinson notifications@github.com
wrote:

I feel it's not good to put this light type in regular Light class or in
osgjs. Maybe Light should be customizable to add new type outside or in
application specific. This light will be only useful for sketchab, not sure
it should go into Light default type. We could talk about it this week
—
Reply to this email directly or view it on GitHub
https://github.com/cedricpinson/osgjs/pull/537#issuecomment-184351950.

authors: Kuranes cedricpinson

repo: cedricpinson/osgjs


text:
chore(main): release 0.40.3

:robot: I have created a release beep boop
0.40.3 (2024-10-23)
Bug Fixes

bump @babel/core from 7.25.8 to 7.25.9 (#897) (02eabf4)
bump @babel/preset-env from 7.25.8 to 7.25.9 (#898) (cba27a9)
bump doctrine/sql-formatter from 1.5.0 to 1.5.1 (#895) (a875f50)
bump laravel/framework from 11.28.1 to 11.29.0 (#896) (f28acb6)
bump otel/opentelemetry-collector-contrib from 0.111.0 to 0.112.0 in /docker/otelcol (#901) (c7a8a1b)
bump phpunit/phpunit from 11.4.1 to 11.4.2 (#894) (ba2b81b)
bump sebastian/comparator from 6.1.0 to 6.1.1 (#891) (81b394d)
bump symfony/stimulus-bundle from 2.20.0 to 2.21.0 in the symfony group (#899) (8913e79)
bump the open-telemetry group with 2 updates (#900) (204ffdd)
bump zenstruck/browser from 1.8.1 to 1.9.0 (#893) (7f47d83)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

0.40.3
:sunflower:

repo: cedricziel/faro-shop


text:
Server 2012 R2 Compatibility

The 'FriendlyName' parameter is not available for the 'New-SelfSignedCertificate' command in Windows Server 2012 R2. The workaround is to create the certificate without a FriendlyName and add it in a subsequent call.

Thanks!

authors: camjcorley cedrozor

repo: cedrozor/myrtille


text:
Semantic Versioning

Documentation on semantic versioning.

Documentation on semantic versioning reviewed and approved.


text:
Update acceptance tests

WIP

retest

repo: cegeka/puppet-newrelic


text:
Investigate and Fix Non-deterministic Halting Behavior in Square Fuzzer with Max Blob Size Close to Square Row Size

Problem
Originally raised in this comment
When setting the max blob size close to the square row size (# shares per row * share size), the square fuzzer exhibits non-deterministic halting behavior (on my local machine).  This  issue is to investigate this problem and identify a fix. This problem has not been noticed previously since all the test fixtures used a max blob size  around 1000 bytes.

Upon further investigation, it has been determined that this issue is not consistently occurring across all machines. It seems to be isolated to my local machine only. Therefore, I will be closing this issue.

repo: celestiaorg/celestia-app


text:
chore: adds NMT Wrapper specifications

Overview
This PR addresses issue #1296 by adding the specification for the NMT wrapper. The specification is based on the state of implementation after the inclusion of the changes made in pull request #1438.
Checklist

[ ] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

Codecov Report

Merging #1442 (eca33b4) into main (917b7f4) will increase coverage by 0.01%.
The diff coverage is 100.00%.

:exclamation: Current head eca33b4 differs from pull request most recent head bee6aad. Consider uploading reports for the commit bee6aad to get more accurate results

@@            Coverage Diff             @@
##             main    #1442      +/-   ##
==========================================
+ Coverage   49.21%   49.22%   +0.01%
==========================================
  Files          79       79
  Lines        4482     4477       -5
==========================================
- Hits         2206     2204       -2
+ Misses       2091     2089       -2
+ Partials      185      184       -1

Impacted Files
Coverage Δ

pkg/wrapper/nmt_wrapper.go
82.50% <100.00%> (ø)

testutil/testnode/rpc_client.go
65.38% <0.00%> (-5.35%)
:arrow_down:

testutil/testnode/full_node.go
83.10% <0.00%> (+3.83%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

I would appreciate it if you could kindly provide any further feedback you may have on the specification. If there are no further comments or changes needed, I plan to merge it tomorrow.


text:
docs: add section on SHA256 performance to namespace size ADR

Context
Based on a Slack thread with @preston-evans98
Remaining tasks

[ ] instrument the Go NMT HashNode implementation to see how many times Sha2::compress is invoked for different sizes of data
[ ] clarify namespace ID vs namespace in all the tables

Assuming that the analysis of SHA256 compression invocations is correct, I am in favor of decreasing the namespace size to 29 bytes:

1 byte for namespace version
18 reserved bytes that much be zero
10 useful non-reserved bytes that can be non-zero
= 29 bytes

Assuming that the analysis of SHA256 compression invocations is correct, I am in favor of decreasing the namespace size to 29 bytes in order to reduce the number of SHA256 compression invocations from 4 to 3:

1 byte for namespace version
18 reserved bytes that much be zero
10 useful non-reserved bytes that can be non-zero
= 29 bytes

This would be fantastic for us. That should translate into roughly a 30% reduction in proof cost for our system. This is probably also a big win for elliptic curve snarks. I think it's pretty common to use a field size of around 255 bits - so a 33 byte namespace would be too big to represent in a single field element. Which means that even just checking namespace equality or ordering would be quite expensive, requiring decomposition into limbs etc.

Thanks to @preston-evans98 for helping me analyze the SHA256 loop invocations!

authors: musalbas preston-evans98 rootulp


text:
chore: backport dep bumps from main to v1.x

Closes https://github.com/celestiaorg/celestia-app/issues/2620

Codecov Report

Merging #2621 (eb30fa8) into v1.x (637aa3e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             v1.x    #2621   +/-   ##
=======================================
  Coverage   20.41%   20.41%
=======================================
  Files         140      140
  Lines       15934    15934
=======================================
  Hits         3253     3253
  Misses      12373    12373
  Partials      308      308

I made test-short a Required check but v1.x doesn't have it yet: https://github.com/celestiaorg/celestia-app/blob/637aa3e985d85afe9e9db6327a815582ee3b3777/.github/workflows/test.yml

so going to make it optional on v1.x, backport it, then make it required again.

Re-opened https://github.com/celestiaorg/celestia-app/pull/2379

authors: codecov-commenter rootulp


text:
Throw an error when attempting to prove transaction inclusion

Since we've upgraded to using non-interactive defaults, tx inclusion proofs have been broken. Currently, we are not throwing an error when users request that an inclusion proof be generated. This results in the tendermint using the abci query w/ the application, and blocks indefinitely.
Until we fix support for tx inclusion, we need to throw and error instead of blocking indefinitely.

after we merge https://github.com/celestiaorg/celestia-core/pull/878, we should be able to adapt that code to prove tx inclusion since it can prove arbitrary shares of the same namespace.

repo: celestiaorg/celestia-core


text:
Adds SNARK-friendly encoding of validator diff

Description
The SNARK would enjoy a SNARK-friendly encoding of the epoch block, or more concretely the validator diff inside that block. That would make the SNARK more efficient.

It basically encodes:
• Removed validator bitmap
• Padded "added validators public keys"
This would allow us to do a deterministic selection over every index in the validator set:
• If bitmap[i] is 0, take the current compressed validator public key
• if bitmap[i] is 1, take the provided compressed validator public key from the padded list
Then, you do this:
• Hash this encoded message using the composite hash - maybe with some other data after the Pedersen hash such as block number (TBD)
• Decompress each of the validator keys and build the aggregated public key from the provided witness of (signature bitmap, signature)
• Verify the signature using those details
Compression is currently: x coordinate as 377 bits and 1 bit for "is y over than half the field size - 1"
This should be cheaper than the cost of the hash over the possible extra uncompressed bits

Done in kobigurk/snark.

repo: celo-org/bls-zexe


text:
Demo wallet connect in docusaurus

Do not merge. I changed the build command to omit the crowdin translation process.
View "Wallet Connection Test" page in the Welcome section.

Closing but can revisit as example if using wallet connect in docs in the future

authors: critesjosh joenyzio

repo: celo-org/docs


text:
Autolayout support

Would it be possible to create a MaterialCardView instance without sizes (i.e. MaterialCardView() ), such that I can control the card size using Autolayout?

Need auto layout support.

authors: TThana cohix

repo: cemolcay/MaterialCardView


text:
Probably wrong links on the main website

Links v3.3.2 and v3.4.0 reference to v3.3.1

Yes the links are a bit misleading. In fact, if the API did not change at all we do not re-upload a full version of the documentation. This happens when a new version only contains bugfixes that have no impact on the API. It appears this was the case for the versions you mentioned.
I guess we could always upload the documentation regardless of the fact it did not change.

@woutersl , thank you for explain. I close this issue.

authors: aleksmelnikov woutersl

repo: cenotelie/hime


text:
Stats: Add API MeasureMap.withAttachments() for recording exemplars.

Add a builder API that supports attaching contextual information of exemplars to measure maps. This should make the API easier to use, compared to overloading and having multiple versions of record (https://github.com/census-instrumentation/opencensus-java/pull/1284).
To do next (in another PR): add the Exemplar class, record and store Exemplars in impl.
/cc @rghetia

Codecov Report

Merging #1285 into master will decrease coverage by 0.07%.
The diff coverage is 66.66%.

@@             Coverage Diff              @@
##             master    #1285      +/-   ##
============================================
- Coverage     82.71%   82.64%   -0.08%
- Complexity     1298     1299       +1
============================================
  Files           198      198
  Lines          6231     6245      +14
  Branches        576      577       +1
============================================
+ Hits           5154     5161       +7
- Misses          919      925       +6
- Partials        158      159       +1

Impacted Files
Coverage Δ
Complexity Δ

.../src/main/java/io/opencensus/stats/MeasureMap.java
100% <ø> (ø)
1 <0> (ø)
:arrow_down:

...i/src/main/java/io/opencensus/stats/NoopStats.java
95.23% <0%> (-3.13%)
4 <0> (ø)

...a/io/opencensus/implcore/stats/MeasureMapImpl.java
86.66% <0%> (-13.34%)
6 <0> (ø)

...io/opencensus/implcore/stats/MeasureToViewMap.java
96.51% <100%> (+0.12%)
26 <0> (ø)
:arrow_down:

.../io/opencensus/implcore/stats/MutableViewData.java
97.15% <100%> (ø)
15 <1> (ø)
:arrow_down:

.../opencensus/implcore/stats/MeasureMapInternal.java
81.25% <66.66%> (-6.75%)
4 <2> (+1)

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 b47d7c4...a73aa86. Read the comment docs.

Thanks!

repo: census-instrumentation/opencensus-java