OpenCV's VideoCapture does not seem to work: "Found 0 plugin(s) for ..." error message

If I build OpenCV myself, or I install it with sudo apt-get install libopencv-dev (Ubuntu 20.04) then it works fine.
But if I install it with vcpkg, then at runtime I get failures and exceptions thrown when I attempt to use the cv::VideoCapture class.
This is the command I used to install it:
`./vcpkg install --triplet x64-linux opencv[core,dnn,ffmpeg,jpeg,opengl,openmp,png,tiff,webp]`

This gives me OpenCV 4.3.0-0c6047baf6.  When I attempt to use the cv::VideoCapture class to open a .m4v or .webp video file, I get this output indicating that it is looking for some plugins which it fails to find:
[ INFO:0] global /home/stephane/src/vcpkg/buildtrees/opencv4/src/4.3.0-0c6047baf6.clean/modules/videoio/src/videoio_registry.cpp (187) VideoBackendRegistry VIDEOIO: Enabled backends(7, sorted by priority): FFMPEG(1000); GSTREAMER(990); INTEL_MFX(980); V4L2(970); CV_IMAGES(960); CV_MJPEG(950); FIREWIRE(940)
[ INFO:0] global /home/stephane/src/vcpkg/buildtrees/opencv4/src/4.3.0-0c6047baf6.clean/modules/videoio/src/backend_plugin.cpp (342) getPluginCandidates VideoIO pluigin (FFMPEG): glob is 'libopencv_videoio_ffmpeg*.so', 1 location(s)
[ INFO:0] global /home/stephane/src/vcpkg/buildtrees/opencv4/src/4.3.0-0c6047baf6.clean/modules/videoio/src/backend_plugin.cpp (349) getPluginCandidates     - /home/stephane/src/DarkHelp/build/src-tool: 0
[ INFO:0] global /home/stephane/src/vcpkg/buildtrees/opencv4/src/4.3.0-0c6047baf6.clean/modules/videoio/src/backend_plugin.cpp (353) getPluginCandidates Found 0 plugin(s) for FFMPEG
[ INFO:0] global /home/stephane/src/vcpkg/buildtrees/opencv4/src/4.3.0-0c6047baf6.clean/modules/videoio/src/backend_plugin.cpp (342) getPluginCandidates VideoIO pluigin (GSTREAMER): glob is 'libopencv_videoio_gstreamer*.so', 1 location(s)
[ INFO:0] global /home/stephane/src/vcpkg/buildtrees/opencv4/src/4.3.0-0c6047baf6.clean/modules/videoio/src/backend_plugin.cpp (349) getPluginCandidates     - /home/stephane/src/DarkHelp/build/src-tool: 0
[ INFO:0] global /home/stephane/src/vcpkg/buildtrees/opencv4/src/4.3.0-0c6047baf6.clean/modules/videoio/src/backend_plugin.cpp (353) getPluginCandidates Found 0 plugin(s) for GSTREAMER
[ INFO:0] global /home/stephane/src/vcpkg/buildtrees/opencv4/src/4.3.0-0c6047baf6.clean/modules/videoio/src/backend_plugin.cpp (342) getPluginCandidates VideoIO pluigin (INTEL_MFX): glob is 'libopencv_videoio_intel_mfx*.so', 1 location(s)
[ INFO:0] global /home/stephane/src/vcpkg/buildtrees/opencv4/src/4.3.0-0c6047baf6.clean/modules/videoio/src/backend_plugin.cpp (349) getPluginCandidates     - /home/stephane/src/DarkHelp/build/src-tool: 0
[ INFO:0] global /home/stephane/src/vcpkg/buildtrees/opencv4/src/4.3.0-0c6047baf6.clean/modules/videoio/src/backend_plugin.cpp (353) getPluginCandidates Found 0 plugin(s) for INTEL_MFX
[ INFO:0] global /home/stephane/src/vcpkg/buildtrees/opencv4/src/4.3.0-0c6047baf6.clean/modules/videoio/src/cap_images.cpp (282) icvExtractPattern Pattern: set_07/%04d-10-02-082129.m4v @ 2020
[ INFO:0] global /home/stephane/src/vcpkg/buildtrees/opencv4/src/4.3.0-0c6047baf6.clean/modules/videoio/src/cap_images.cpp (313) open CAP_IMAGES: Stop scanning. Can't read image file: set_07/2020-10-02-082129.m4v
OpenCV(4.3.0) Error: Unspecified error (could not open 'set_07/2020-10-02-082129.m4v') in open, file /home/stephane/src/vcpkg/buildtrees/opencv4/src/4.3.0-0c6047baf6.clean/modules/videoio/src/cap.cpp, line 177
Caught exception: OpenCV(4.3.0) /home/stephane/src/vcpkg/buildtrees/opencv4/src/4.3.0-0c6047baf6.clean/modules/videoio/src/cap.cpp:177: error: (-2:Unspecified error) could not open 'set_07/2020-10-02-082129.m4v' in function 'open'

Anyone know what it might be looking for, and how I can get it built or installed using vcpkg versus apt-get install?

@cenit could you please take a look?
Thanks.

Did you try building ffmpeg with x264 feature enabled?

The exact command I ran is this:
./vcpkg install --triplet x64-linux opencv[core,dnn,ffmpeg,jpeg,opengl,openmp,png,tiff,webp]

What is REALLY needed is some documentation from the vcpkg project on non-trivial packages like OpenCV.  Cause it isn't obvious what all the [core,dnn,ffmpeg,...etc...] parameters are when a user wants to build a library, where to find them, etc.
And from your question, now it sounds like vcpkg may not correctly install/build the necessary dependencies?  Should I instead have run:
./vcpkg install --triplet x64-linux opencv[core,dnn,ffmpeg,x264,jpeg,opengl,openmp,png,tiff,webp]

?  This is what I mean, the documentation is lacking and/or non-obvious for people not deeply involved in the vcpkg project.
Another problem:  looks like highgui isn't working either.  Is there another parameter required for that?  Maybe:
./vcpkg install --triplet x64-linux opencv[core,dnn,ffmpeg,x264,highgui,jpeg,opengl,openmp,png,tiff,webp]

?

@cenit Ping for response.

@cenit Ping for response.

Hi, does #16882 fix this issue?

Another problem: looks like OpenCV's Highgui API calls aren't working either. Is there another parameter required for that? Maybe:

For Linux I needed to change -DWITH_GTK=OFF to ON in ports/opencv4/portfile.cmake.  Not sure patch vcpkg to enable it if Linux is detected.

For Linux I needed to change -DWITH_GTK=OFF to ON in ports/opencv4/portfile.cmake. Not sure how to patch vcpkg to enable it if Linux is detected.

#13100 is required for that

I am having this same error with opencv in windows.  My exact command was:
./vcpkg install --triplet x64-windows-static opencv[core,opengl]

Installing the ffmpeg option recreates the same problem as #9571

F:\vcpkg\buildtrees\opencv4\x64-windows-static-dbg\modules\dnn\graph.pb.h(17): fatal error C1189: #error:  This file was generated by an older version of protoc which is

@mcmtroffaes please see if you can help here

@stephanecharette I am having the same problem on Armadillo IOT device(Linux). did you find the solution?

@stephanecharette I am having the same problem on Armadillo IOT device(Linux). did you find the solution?

Don't ask me, I gave up on vcpkg long ago.  Once I realized that building OpenCV on Linux using vcpkg doesn't build highgui and provides zero method for doing so, that was the end as far as I was concerned.  Even the most basic "hello world" type of tutorials with OpenCV requires highgui, so by leaving it out, it means that vcpkg is unusable.

it has high-gui since a long time now...

@stephanecharette I am having the same problem on Armadillo IOT device(Linux). did you find the solution?

can you please share some logs?

it has high-gui since a long time now...

The last time you commented was April of last year, at which time you said that something else was needed.  I didn't see any further comments on this ticket saying that either Highgui or the video plugins problem was solved on Linux.

@stephanecharette I am having the same problem on Armadillo IOT device(Linux). did you find the solution?

can you please share some logs?

In my case, installing ffmpeg and gstreamer1.0 solved the issue. Thank you for the respond.

it has high-gui since a long time now...

The last time you commented was April of last year, at which time you said that something else was needed. I didn't see any further comments on this ticket saying that either Highgui or the video plugins problem was solved on Linux.

sorry but I cannot keep track of every issue... but if you follow the links that are posted above, every PR was merged and so this issue can be closed too (try and verify if it's true, please)

According to @nixondutt comment, this issue was not resolved until ffmpeg and gstreamer became dependencies of opencv.

they are feature of opencv...


Translation to spanish: corrections for api-projects

Thanks to @alejandroperezforcada

@vtamara updated the pull request.

This page was already checked in the spanish chat root.  It is ready to be merged.

:+1:


[WIP] docker compose commands

What does this PR do?
Docker compose files for spinning up individual services, used for mix-n-match on spinning up distributions.
Feature/Issue validation/testing/test plan
spin up pgvector
cd docker/pgvector
docker compose up

Sources
Please link relevant resources if necessary.
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Ran pre-commit to handle lint / formatting issues.
[ ] Read the contributor guideline,
Pull Request section?
[ ] Updated relevant documentation.
[ ] Wrote necessary unit or integration tests.

Closing this for now since we aren't investing in this at this moment. We can bring it back from the dead if needed :)


latest Zanata translation changes in drools-wb from 2016-09-04

Jenkins please retest this.

Jenkins please retest this.

Jenkins please retest this.

PR is identical with PR #280 - this PR will be closed


webots_ros2: 2022.1.0-1 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository webots_ros2 to 2022.1.0-1:

upstream repository: https://github.com/cyberbotics/webots_ros2.git
release repository: https://github.com/ros2-gbp/webots_ros2-release.git
distro file: rolling/distribution.yaml
bloom version: 0.11.2
previous version for package: 1.2.3-1

webots_ros2
* Adapted controllers to communicate with Webots R2022b.
* Added feature to import URDF on the fly.
* Add PointCloud2 support for RangeFinder.

webots_ros2_driver
* Added an URDF importer feature to spawn robots from URDF files.

webots_ros2_importer
* Upgraded to urdf2webots 2.0.0

webots_ros2_msgs
* Added URDF robot messages

webots_ros2_universal_robot
* The 'robot' and 'moveit_demo' scenarios now show a use case of the new URDF importer.

@ad-daniel these releases are all failing on the ROS build farm because of the dependency on urdf2webots-pip.
Packages cannot be built on the build farm unless all of their dependencies are available in the apt / rpm repositories listed in expected rosdep sources.

@nuclearsandwich I'm not sure to understand, according to the docs, pip dependencies are allowed https://github.com/ros/rosdistro/blob/master/CONTRIBUTING.md#pip and in this case urdf2webots is indeed available at https://pypi.org/project/urdf2webots/. The corresponding keys are available in rosdep https://github.com/ros/rosdistro/blob/ca22bb374d02192e7cf9248e12790269afd7b436/rosdep/python.yaml#L9533-L9542
It isn't a new change on our end, it's how the package has always been structured, not sure why this time around the build-farm has issues with it. The apt route isn't very practical for us, we might instead just refactor the code so that it isn't an external dependency, if no other option is available that is.
Either way, do we need to manually revert the changes that have been merged in rosdistro?
Thank you

Perhaps not in the most obvious place, but here: https://github.com/ros/rosdistro/blob/master/REVIEW_GUIDELINES.md#purpose-of-this-repository

ROS packages that depend on "pip" keys cannot be "released" into a ROS distribution. They can only be depended on by from-source builds. Because of this, system packages are highly preferred to pip packages.

In version 1.2.3, I do not see a declared dependency to urdf2webots-pip in any package.xml file, but in the newer 2022.1.0, I do see it declared here: https://github.com/cyberbotics/webots_ros2/blob/d76c2b15a6595645b173f0940519fb643366400b/webots_ros2_driver/package.xml#L28
This is why there was no issue on the buildfarm with the previously released version.


Create pull request to the upstream XIFF project

Seems that you have some changes in your XIFF version.
Would you be interested in adding them to the upstream XIFF project via pull requests?
https://github.com/igniterealtime/XIFF

Sure! I'll try to do it soon.

Here it is: https://github.com/igniterealtime/XIFF/pull/1


Various QOL improvements

Just a long winded general recommendation/suggestion/reminder of various plugins that you might be interested in fixing/updating/improving upon cause why not:

Improve your forked PronounDB plugin- Can you fix the plugin toast to show up the pronouns instead of the default (OP) Original Poster tag? Iirc it used to do that before on discord's older versions in Rosie's proxied plugin version but not anymore...
Referenced pic-

Improve your forked ReviewDB plugin- With Vendetta's EOL, I don't think Maisy will update her plugins so you maybe also be interested in maintaining/improving your forkedReviewDB plugin (or fork anything else from her if you want) while you are at it on fixing the above mentioned PronounDB plugin toast issue...the ReviewDB plugin also got some bugs as well, like the inability to remove other's reviews from your own profile like in vencord version, the inability to remove the Warning message at top of user reviews and the textbox being stuck at bottom when keyboard is opened for typing instead of the chatbox going up above the keyboard as it's supposed to, so now you can't see what you are typing...
Referenced issues pic/video-

https://github.com/janisslsm/vdplugins/assets/107706560/af9da016-43ea-4848-a73c-8834b800f9b3

Fork Fres plugins- there are a lot of plugins he got that you can fork if he decides to not maintain them, this is a lot of work so it's really a long term thing you can do in your free time so it's up to you by forking his repo..
Update your forked Splasher plugin- update the plugin to show up in you tab, integrate Nexpid's UserPFP plugin support such that users can set animated avatar officially just like the profile banner method in the Splasher plugin and add compatibility of the UserPFP plugin as well so both plugin users can see each other's profile pictures/GIFs. Make it compatible with Sapphire's UserBG plugin so both plugin users can see each other's banners same as UserPFP plugin just mentioned prior.
Referenced pic-

Unify some of your plugins- maybe add your aforementioned Splasher, PronounDB, ReviewDB into a single plugin called "fake nitro profile customisations" or something similar to make it easier for users to get everything related to user profiles.

Lastly, all of these are just suggestions/ideas/improvements so it's really up to you to go through with them if you want. It's a lot of work so definitely take all your time for all those and I hope you don't get burnt out because of all these various changes and their horrors.


TypeError: randpos is undefined

I am getting "TypeError: randpos is undefined on line 72" and I don't know how to fix it :(
var randpos = empty[Math.round(Math.random()*(empty.length - 1))];
grid.set(FRUIT, randpos.x, randpos.y);

Can anyone help me?

I had the same issue and solved it by tracking the issue with console.log() entries at different parts of the code to see what the values of variables were at certain stages, and also which parts got executed or not. It turned out in my case that the iteration in setFood() didn't go through the "y-iteration" because I had misspelled a variable in the grid object. Instead of this.height I wrote this.heigt, which prevented the iteration condition in setFood() from being true, which in turn prevented empty from getting any values, which made it undefined.
var grid = {

  width: null,
  height: null,
  _grid: null,

  init: function(d, c, r) {
    this.width = c;
    this.heigt = r;
    this._grid = [];
    for (var x=0; x < c; x++) {
      this._grid.push([]);
      for (var y=0; y< r; y++) {
        this._grid[x].push(d);
      }
    }
  },


Using tmux causes unexpected commands "1;2;"

When I try to launch tmux inside the Upterm, it gives me "1;2;"

I was also able to replicate this, it looks like some sort of escape sequence: \x1b>1;2; not sure if that's a tmux thing that helps identify, or just an unhandled escape sequence by the app. Googling that sequence didn't result in anything useful, I did see a few notes around tmux specific escape sequences, but couldn't see a reference to this anywhere.
Hope that helps clarify the problem here!


Images seem to break on a regular basis

Guidelines
Images do not seem to be stable, two examples. We use images in github actions like such :
neo4j:4.2.4
or
neo4j:latest
With the following setup
services:
      neo4j:
        image: neo4j:4.2.4
        env:
          NEO4J_ACCEPT_LICENSE_AGREEMENT: yes
          NEO4J_AUTH: "neo4j/abcde"
          NEO4JLABS_PLUGINS: '["graph-data-science", "apoc"]'
        options: >-
          --name neo4j-e2e
          --health-cmd "cypher-shell -u neo4j -p abcde 'RETURN 1'"
          --health-interval 10s
          --health-timeout 5s
          --health-start-period 10s
          --health-retries 5
        ports:
          - 7687:7687
       cyphershell:
        image: neo4jbuildservice/cypher-shell-build
        env:
          NEO4J_AUTH: "neo4j/abcde"

One day, the image works, the other days, we can get the following errors  without changing anything in our code
With neo4j:4.2.4 : Error: Failed to initialize, neo4j service is unhealthy.
With neo4j:latest: apoc.xxx procedure not found

@adadgio neo4j:latest will always point to the latest neo4j release. For example, today it is pointing at 5.1, once 5.2 is released, it will then point to that image.
I'm not sure what the error is that you are seeing as they appear to be from two different issues. Is this correct?

With neo4j:4.2.4 : Error: Failed to initialize, neo4j service is unhealthy.

Seems odd as Neo4j is not a service inside the container. Where is this message coming from? Is this the error from Github actions when running it's own health check?

With neo4j:latest: apoc.xxx procedure not found

That looks like apoc has not been installed. But this is using the image 'neo4j:latest`. I'll test this out to make sure it is installed on my local setup.

@sirReeall Sure, seems logical with the latest release. What I don't understand is why there would be a difference with a fixed version.
It is running from a github action indeed. Last time the healthcheck failed on a fixed version, I bumped it up to the next minot version and it resolved... and then the same issue came up a few days later (on said fixed version). Maybe its the number of wait seconds to do the healthcheck...

@adadgio I tested out neo4j:latest with apoc and this installed correctly. One thing to note is there is a change in Neo4j 5 with apoc. Only the core procedures are available in the apoc jar and I wonder if the "With neo4j:latest: apoc.xxx procedure not found" error is from a procedure that this now in the extended library.
Here is the list for Neo4j 5 Apoc Core: https://neo4j.com/docs/apoc/current/overview/
Here is the list for Neo4j 5 Apoc Extended: https://neo4j.com/labs/apoc/5/overview/
With regards to the other issue "With neo4j:4.2.4 : Error: Failed to initialize, neo4j service is unhealthy." Do you know if Github actions caches the previously run container? or are these always deployed from a vanilla image?

Good to know about apoc, yes, that's the problem it seems. I wonder how you install the extended procedures now... I'll look into it.
I don't think github caches anything by defaut.

Also, it's worth knowing that neo4jbuildservice/cypher-shell-build is NOT a documented image, it's used internally in our build system and doesn't contain any cypher-shell executables. You aren't going to have any success using that image.
If you want to use cypher-shell you have to use the neo4j image and set the command cypher-shell instead. EG
docker run -p 7474:7474 -p 7687:7687 neo4j:4.4 cypher-shell <ARGUMENTS>


Timeline on supporting later RN versions?

Hello,
I was just wondering if there was a timeline on when later versions of react native will be supported?
Thank you

Would like to know as well :)

same here.  there is nothing out there that supports react-native e2e mocks.  waiting on this.

+1

hey... I know it's not maintainable... but just to give it a shot -  any chance of supporting newer RN versions? 😇

@DanielZlotin great thanks!


Error installing GIMP

2024-07-17 13:27:03 : INFO  : gimp : Latest version of GIMP is https://
2024-07-17 13:27:03 : REQ   : gimp : Downloading https:// to GIMP.dmg
2024-07-17 13:27:03 : ERROR : gimp : error downloading https://
ls: GIMP.dmg: No such file or directory
2024-07-17 13:27:03 : ERROR : gimp : File list:
2024-07-17 13:27:03 : ERROR : gimp : File type: GIMP.dmg: cannot open `GIMP.dmg' (No such file or directory)
2024-07-17 13:27:03 : INFO  : gimp : Installomator did not close any apps, so no need to reopen any apps.
2024-07-17 13:27:03 : ERROR : gimp : ERROR: Error downloading https:// error:

URL rejected: No host part in the URL
Closing connection
curl: (3) URL rejected: No host part in the URL

#1680

See new comment in issue cited by @hwlans; merge has not yet occurred, issue remains present in Installomator 10.6 with current GIMP DMG revision 1 versions

I believe this Issue is a duplicate of #1676. It will be fixed once #1680 gets merged.


fix(status): fix Constraint & Version json output

What does this do / why do we need it?
Replace Constraint & Version with their json alternative forms JSONConstraint and JSONVersion.

Implementation correctness.
Do you need help or clarification on anything?
No.
Which issue(s) does this PR fix?
No open issue.

could you say a little more about what larger problem this is fixing? just so i can keep up with what all is happening

oops! sorry 😅 yes, so in json output, Constraint and Version would always be empty. Even though other formats would have values for them, json would return empty {} for constraint and version.

Added table tests for BasicLine output for different output types.

Added marshalJSON() with rawStatus struct.
Also, Children is not part of rawStatus. I thought that's not required. Correct me if that's required :)
$ dep status -json | jq
[
  {
    "ProjectRoot": "github.com/Masterminds/semver",
    "Constraint": "branch parse-constraints-with-dash-in-pre",
    "Version": "branch parse-constraints-with-dash-in-pre",
    "Revision": "a93e51b5a57ef416dac8bb02d11407b6f55d8929",
    "Latest": "a93e51b5a57ef416dac8bb02d11407b6f55d8929",
    "PackageCount": 1
  },
  {
    "ProjectRoot": "github.com/Masterminds/vcs",
    "Constraint": "^1.11.0",
    "Version": "v1.11.1",
    "Revision": "3084677c2c188840777bff30054f2b553729d329",
    "Latest": "3084677c2c188840777bff30054f2b553729d329",
    "PackageCount": 1
  },
  {
    "ProjectRoot": "github.com/armon/go-radix",
    "Constraint": "*",
    "Version": "branch master",
    "Revision": "4239b77079c7b5d1243b7b4736304ce8ddb6f0f2",
    "Latest": "1fca145dffbcaa8fe914309b1ec0cfc67500fe61",
    "PackageCount": 1
  },
...
]

yeah, i...don't even remember the original motivation for Children 😄
this LGTM - merge at your convenience!


Load jQuery over HTTPS on example pages

Fixes https://github.com/joequery/Stupid-Table-Plugin/issues/166
Chrome throws mixed-content errors and refuses to load external scripts when they’re loaded using a less secure protocol than the parent page.
Would normally change this to protocol-agnostic (//ajax.googleapis.com) but that would break the current ability to load these with file://.

Thanks @reefdog. Good to hear from you again old friend :)

Hey! Yup, I needed a sortable table and remembered how much I enjoyed yours. :) Hope all's well for you.


SPIKE: Fine Grained PAT Tokens

Background

Github has released a Beta for fine grained PAT tokens.
This is a good feature that will improve security and improve how we currently use PAT tokens.
We want to assess how we might implement this across the MoJ org.
Approach

We have a bunchy of questions to address:

How do we more our current "classic" PAT tokens to new fine grained tokens?
What are the implications of enforcing this across the organisation?
Can we tell what PAT tokens are in use?
Are the new org level features of use?

In the new Personal Access Tokens tab in the Organization Settings, Organization Owners can choose to approve each fine-grained PAT that developers target at that Organization or any of its repositories. This option is enabled by default.

Organization Owners can also view and revoke access to fine-grained PATs that were previously granted access to their Organization.

Acceptance Criteria

[ ] We understand how we might implement this across the MoJ and can create stories to implement these changes.

Reference
How to write good user stories

Following a very popular thread on GitHub about making this expiry: never - will leave it a week and see if any movement to save work.

@ben-al is there any updates on this from Nov 14th?

No further action for us now.


Reuse of "control net poses"

Hi
I like to use controlnet to ensure poses are similar from image to image. However, each time Fast Stable Difussion re-create the poses. Is there a way to "lock" the pose in controlnet. This is especially frustrating when doing multiple images/batches/XYZ using controlnet.
I have tried using extentsions to mitigate it, but I can not figure out how to send "controlnet files" to txt2img or img2img.
Thanks

Even with a fresh install and no extensions it keeps calculating the controlnet for each XYZ. Is there a setting/selection that I am missing somewhere to "preserve controlnet across images"?

Its doing it with these settings:

It seems to load the stuff from catch, not the actual "controlnet file"


additional export infos

closes #599
Prerequisites:

[x] Unless it is a hotfix it should be merged against the dev branch
[x] Branch is up-to-date with the branch to be merged with, i.e. dev
[x] Build is successful
[x] Code is cleaned up and formatted

Summary
extends the exports page, by

showing the common help icon next to signals
add more links to meaning of data structures
add a CSV version with links and hints how to use it with wget

@capnrefsmmat what do you think?
(note the changehc signal is just part of my system)

Question: Most of our data is released under the terms of the CC-BY license, but some data sources have other terms. Is there a good way for us to embed licensing information and show it on the download page?
I think the "We would be happy for you..." would just need to be conditional on source, so by default it would say "under the terms of the Creative Commons Attribution license", but for other sources it would say the data is provided by [some source] under [some terms].

I think the "We would be happy for you..." would just need to be conditional on source, so by default it would say "under the terms of the Creative Commons Attribution license", but for other sources it would say the data is provided by [some source] under [some terms].

what about adding a field to the signal description at https://docs.google.com/document/d/1RLy4O-gtACVjLEVD_vxyPqvp9nWVhqEjoWAKi68RKpg/edit#heading=h.oxebzdy7nl8w which can cover those cases?

current state:

renamed Data source to "Cases and Deaths"
add see also with the links from the description
incorporate the credit section from the description field in google doc

Do we expect the wget command to work on the existing version?
wget --content-disposition "https://delphi.cmu.edu/csv?signal=doctor-visits:smoothed_adj_cli&start_day=2020-10-24&end_day=2020-11-24&geo_type=county"

Failed for me with a 502: Bad Gateway.

Failed for me with a 502: Bad Gateway.

seems more like the server is down

Merging in order to make release branch


Cannot change limit of included items

When requesting a resource, we can include it's relationships for client-side model postprocessing by using the querystring ?include=:
http://<server>/<model>/<id>?include=<hasManyRelationship>

However, if we want to load 60 tokens for a single resource, the application breaks because jsonapi-server hard-limits the included items to 50.
I tried doing this:
http://<server>/<model>/<id>?include=<hasManyRelationship>&page[limit]=100

But I'm still only getting 50.
I reckon this should be:

Configurable in jsonApi.setConfig(), and
Settable in the request, e.g. page[limit] (or some other include-only parameter)

I think we need to forward the pagination request params somewhere, but I am not sure where.
Or add a new parameter page[includelimit], but then we'd still need to forward the request params to the internal include fetch function.

pagination.js
include.js

See https://github.com/holidayextras/jsonapi-server/issues/260 for a solution if you've rolled your own handler.

Thank you @queenvictoria. This is an awesome project which I used in the past. However certain unaddressed issues (like this one or that one) and the stalled development caused me to move on from jsonapi-server.
There was a fork called jagql but I think it might be stalled too.
For smaller projects I use my own small scoped jsonapi-server-mini. For setting up a jsonapi endpoint on node using express and mongodb, it'll just take one file per route/model. I have yet to see anything simpler.
For more complex projects fortune.js seems interesting.


Add csstyle library

csstyle - A SCSS library to help you build modular CSS that generates your selectors for you and deals with specificity automatically.

Looks awesome, Frankie!
Thank you 😃 👍


8573.4 DEV add field isPipelineTriggered to runs schema

https://github.com/Shippable/pm/issues/8573

rc verified.


Add Django 2.2 and Python 3.8 to CI config

Hi there! I'm crossing my fingers that this works, to support an upgrade that I'm currently doing. These seemed more expedient (and useful) than running the tests locally. That said, I've never used CircleCI, so it's possible it will break due to an error on my part.
The Django 2.2 jobs also use a more recent version of django-jinja for better compatibility (changelog)

Looks like that's a no. @owais any insight or advice?
Also, I'm surprised to see the test-3.x-17 jobs in there, since they're not specified in config.yml.

Looks like URLs in test app are not defined the way django 2.2 expects them to be.

@owais Thanks for the tip! Looks like this is passing now, except for those mysterious test-*-17 jobs...
Side note: it was neat to use the CircleCI CLI to verify this locally:
$ circleci local execute --job test-3.6-22
    ...
----------------------------------------------------------------------
Ran 15 tests in 15.626s

OK
Destroying test database for alias 'default'...
Success!

Thank you.


.Net Tutorial

This Artiacl Is Vry Helpul ..
But In Readme -images inbox Are Differ comapir Current Project .
And I Want TO Also Crud Operation With Graph Api ..
please SHare Complete Solution For Do It ..

Closing this issue as I'm archiving this sample. We've retired the tutorial that this is based on and we're redirecting to the Microsoft Graph tutorial at https://docs.microsoft.com/graph/tutorials/aspnet. The corresponding GitHub repo is https://github.com/microsoftgraph/msgraph-training-aspnetmvcapp.


Automatic browser tab opening on serve

trunk serve shows the line listening at http://<IP_ADDRESS>:8080 and opens a new browser tab with url http://localhost:8080/.

It's a bit annoying when you have multiple browser windows opened and the new tab opens in the "wrong" one.
Or when you don't want to open localhost but <IP_ADDRESS>. (It's often useful for performance testing because it eliminates slow DNS.)
Or I want to test another domain that points to <IP_ADDRESS>.
Or when you don't want to open it at all because you've already opened it by yourself or you want to test your website from an external device (e.g. phone) from 192.168.x.x.
Also I don't know what happens when you run trunk serve in a CI environment (you may want it as a part of a custom test/prerender pipeline).

Suggested changes:

Automatic tab opening would be disabled by default. Users can enable it by a parameter, e.g.: trunk serve --open.
Change the line listening at http://<IP_ADDRESS>:8080 to something like listening on port 8080 (http://localhost:8080). That way it should be clear that the server is bonded to multiple IPs and users can open manually a new browser tab with localhost quickly by clicking on the url (if the user's IDE is smart enough to transform urls in the terminal to clickable links.).

Agreed on the --open flag. I was pretty close to doing that as part of the initial release, but I agree that just adding an --open flag to control this would be best. Lots of other common CLI tools — in the Rust community and more broadly — use that approach. Will do.
Agreed on the last suggestion as well. Internally, I definitely want to server to actually listen on all interfaces (<IP_ADDRESS>), but in the terminal we can just present the text which you mentioned: listening on port 8080. Good suggestion, will do.


Include Stolostron icon in OpenShift catalog

It seems that this operator does not show any icon on OpenShift catalog:

It would be great to show one (Stolstron for example)

@sarroutbi Did you log the issue in wrong repo?

It might be ... I will close it. Sorry for confusion


Authentication for REST requests

What would you like to be added:
At the moment there is no notion of authentication within the spec when using a rest state. Let's assume we have a function such as
functions:
- name: secureAPI
  operation: "openapi.yaml#createPets"

The OpenAPI file might contain a security scheme such as Bearer Token. So how do I describe in my SW that I need to provide a bearer token for this request? One of the solutions might be to pass it in the argument for the functionRef but this isn't ideal since you would have to add it every time you want to use that function.
The best solution would be to have a new construct within the spec where you can define the different types of authentication for the functions being used. We can use the existing auth  used to access the resource containing the function invocation information but in this case, it would be authentication information for the function invocation. Not saying we should use the same contract, but a have similar one for function invocation.
Why is this needed:
In order to describe the authentication needed a function invocation.

@EnriqueL8 you can use the top level auth property. It currently supports basic, oauth2 and bearer. I'd recommend using a secret-based OAuth2 auth definition so that you do not expose any sensitive info in your flow.

As far as I understood, the authRef is used to access the resource containing the function invocation information but not  for authentication information at function invocation

The authRef is used to reference an authentication mechanism declared at top level. The referenced scheme and its properties should be implemented and handled by the runtime when calling the function.
For example, if you referenced a basic auth definition, the runtime should, when calling an OpenApi function, add the appropriate Authorization header with the specified username and password.
Does that answer your question or am I missing smtg or failling to understand your use case?

Well, but if you don't have an intermediate human task or a mechanism of the like, what would be the difference between pre-defining the username/password in an authDef or directly within the function?
You don't necessarily have to use a secret btw, you very well could do something like the following:
...
auth:
  - name: basic
    scheme: basic
    properties:
    - username: serverlessworkflow
      password: rules
...

I would, however, advise against using such a scheme (basic or bearer), and would rather advise using oauth2. As a matter of fact, using the oauth2 scheme, the runtime would have to "produce" the token by contacting the configured authority, using the defined client_id, client_secret, etc, which is obviously way safer.

Yeah, OAuth is what @ricardozanini had suggested to me but instead of the client_id and api keys behind defined in the workflow they are passed through at invocation of the whole workflow.
So when the user wants to start the workflow they pass those credentials and then runtime looking at somewhere in the spec can correlate those to right function. Multiple users can use the same workflow but with their own credentials

@cdavernas, the use case is an impersonation pattern for OAuth2, which means that the workflow will impersonate the user to make a call on their behalf. Of course, the SW must have a client_id and secret defined to generate the given token.
But the use case here, I believe, is to pass someway the user calling the flow to the OAuth2 process during runtime. It could be a header in the data payload, for instance. Or the spec could somehow describe how to do it per function definition (just thinking aloud).

In Synapse, if an authRef is defined, we use it, should the OpenApi doc declare an auth mecanism or not.

hmmm, I think there's a misconception here that we need to address in the spec then:

Auth definitions can be used to define authentication information that should be applied to resources defined in the operation property of function definitions. It is not used as authentication information for the function invocation, but just to access the resource containing the function invocation information.

If I interpreted this paragraph correctly, the authDef should not be used to invoke the function but rather the resource (the spec file) instead.
I'm +1000 to change the wording here and reuse the authDef for invocation.

@ricardozanini Ah, I missed that paragraph, which I did not write btw, though I did the auth PR. I always had in mind auth for both declaring doc and function invocation.
+1000 too to fix that misleading paragraph.

@cdavernas, I'm sending a PR.

I would actually create two different structures, one called authInfo, that contains the authorization information (client id and client secret for oauth2 client credential grant type, api key and api prefix for api, user and password for basic, token for bearer..  and authDef, that will contain the  metadata information (token,  refreshURL and grant type for oauth2, paramName and location for apikey).
Reason is that, when you have the open definition, that metadata information is in the open api file. So authRef can be used for reading any uri (including legacy rest) while for openApi we just need authInfo.
My point is that we need to diferentiate between resources potentially protected (any external uri read by the flow, where you do not have any clue about the authorization type) and openapi invocations (where you know the authorization type and you need the credentials)

@fjtirado I disagree. You are only retaining the OpenApi use case, but auth can be applied to GRPC, basic rest, AsyncApi (which has a basic auth definition too), OData and GraphQL. Relying solely on OpenApi spec is IMO gonna make those useless when secured, simply because those protocols do not describe (or describe poorly) auth.
Relying in on single auth is imho both practical, intuitive and easy to implement, as shown in previous links.

I forgot to mention than for gRPC or other function types different than OpenAPi, we will need an authDef. So, Im basically proposing to have four additional optional fields, which are specified as needed. If you want to protect both the spec file (gRPC, OpenApi...) and the function calls done thorugh this spec file, you will have as most 4 fields specified (three for OpenAPI)
Another option is to merge authCredentials and authDef in just one structure with two fields (one for credentials and one for def, def is only needed if the resource does not contain that info), so in the function definition rather than four you will have two fields, one to protect the resource and another to protect the function call.

@cdavernas @tsurdilo what do you think about @fjtirado proposal? I will open a PR with the suggested changes, let me know if you have any comments.

Just an example of what I have in mind (using one structure for credentials and def)
Lets say we are calling an openapi service which definition file can be retrieved using basic authorizaton and which definition define oauth2 to actually invoke the service
we will have
{
   "functions": [
      {
         "name": "HelloWorldFunction",
         "operation": "https://secure.resources.com/myapi.json#helloWorld",
         "resourceAuthRef": "My Basic Auth"
         "invocationAuthRef": "My Oauth Auth"
      }
   ]
}

and then
{
auth: [
  {
    "name": "My Basic Auth",
     "schema" : "basic",
     "credentials": {
        "username" : "javierito",
        "password" : "$SECRET.javierito.password"
      }
  },
  {
   "name": "My Oauth Auth"
   "scheme": "Oauth2",
   "credentials": {
      "clientId" : "javierito",
      "clientSecret" : "$SECRET.javierito.secret}"
   }
]
}

The rest of information for performing the oath2 call will be on the open api definition. Now lets assume that we are not using openAPI and we want to include all the required info for oauth2. Then, we will use something like this for the oauth2 definition
  {
   "name": "My Oauth Auth"
   "scheme": "Oauth2",
   "credentials": {
      "clientId" : "javierito",
      "clientSecret" : "$SECRET.javierito.secret}"
   },
   "properties": {
     "grantType": "clientCredentials",
      "tokenURL": "https:www.givemethetoken.com/token",
      "refreshURL": "https:www.givemethetoken.com/refresh",
  }
}

@ricardozanini  we are also also differentiating between properties and credentials, inside the auth definition (but yes, this is essentially the same as having all properties in the same level and optionally filling them)

@fjtirado Thanks, I think it's a great idea, overall.
I have, however, the following comments:

I would not split the properties into two properties, as I think it's not required and would certainly be confusing to new users of the spec.
I would propose to find a way to allow user specifying the authRef only once, if the same is used for both resource access and function invocation
Here's what I'd propose (though I don't like the terminology I'm using):

Configuring a function to use the same auth definition for both resource access and function invocation:
...
functions:
  - name: MySecuredFunction
    operation: https://secure.resources.com/myapi.json#helloWorld
    auth: My ApiKey Auth
...

Configuring a function to use two different auth definition for resource access and function invocation:
...
functions:
  - name: MySecuredFunction
    operation: https://secure.resources.com/myapi.json#helloWorld
    auth:
      resource: My ApiKey Auth
      invocation: My Basic Auth
...

This way, we would allow for "simple" use of the authRef (similar to what's already in the spec) AND allow further granularity, too (which was a great suggestion btw, many thanks), all that by using the same mechanism we use elsewhere with union types.
@ricardozanini @fjtirado WDYT?

@cdavernas
I liked the approach, but I think auth: My ApiKey Auth should only apply to function call (yes, I know, thats the opposite of what the spec is saying now, but it is probably the most typical case)
Having credentials separated from properties clearly differentiate between fixed information (king of strucuture) and the credentials, but I think is a minor detail in any case (having all of them together and specying only the needed ones will also work )

I liked the approach, but I think auth: My ApiKey Auth should only apply to function call (yes, I know, thats the opposite of what the spec is saying now, but it is probably the most typical case)

It's only my opinion, but I think setting the auth value using a string should apply to both resource and function invocation, considering that the most reliable usage of OpenAPI is code-first generation, in which case the documentation is hosted by the app it describes (which, btw, was the original purpose of the Swagger spec)

Having credentials separated from properties clearly differentiate between fixed information (structural) and the credentials (the proof of that is that the openapi spec include the former but cannot include the latter), but I think is a minor detail in any case (having all of them together and specying only the needed ones will also work )

Yes, I see what you mean, and it does make sense. I'll, however, stand my ground on this one, as I really believe "splitting" the properties would loose in readability without really adding further value, as most of the properties fields are marked as optional anyways.

The problem with auth applying to both is that Im not sure if is very frequent to use the same auth scheme for the resource and the call. If that is the case, lets go for it.

I think it's impossible to know. My only concern is this:
functions:
  - name: MySecuredFunction1
     operation: https://secure.resources.com/myapi.json#helloWorld
     auth: My ApiKey Auth
- name: MySecuredFunction2
     operation: https://secure.resources.com/myapi.json#holaMundo
     auth: My ApiKey Auth

Same resource, how do I describe it? Twice? If only one is defined, should I consider the one with or without?
Maybe the original proposal was to define a auth definition for the function invocation, not the resource. The resource should be unique.
In this case, if we proceed the way we settle here (auth: { invocation: {}, resource: {} } then I will describe in the PR that if the resource has the auth defined in one of the functions, that one is assumed to be the credential.
In this example:
functions:
  - name: MySecuredFunction1
     operation: https://secure.resources.com/myapi.json#helloWorld
     auth: My ApiKey Auth
- name: MySecuredFunction2
     operation: https://secure.resources.com/myapi.json#holaMundo

We would use auth to fetch the resource, so users won't need to replicate.


Missing documentation of typedefs

Doxygen on travis is now complaining about typedefs:
https://travis-ci.org/cmu-db/terrier/jobs/590841551#L3647
AFAIK, nobody changed anything but now this is being caught.
This should be an easy fix.

Fixed.


Update Composer dependencies (2023-09-03-00-13)

Visual regression test passed!
View the visual regression test report


add refined

/cc @fthomas @soronpo @fommil
Oron reminded me this was still missing.  I had tried to add it a year
ago but failed, I don't remember why. let's see how it goes this time.

Many thanks, @SethTisue!
Are sbt subprojects that aggregate all JVM subprojects common? If you think this is beneficial for the community build, we can add such project to the refined build.

@fthomas it's pretty common. typical naming would be refinedJVM. it's a fairly minor issue, but, it would ensure that if you add a new subproject, it will get picked up here.
it can also be useful for contributors who want to get all the JVM stuff working and then worry about Scala.js and/or Scala Native in a separate step. (it is fairly common for prospective open source contributors not to have familiarity or experience with Scala.js or Scala Native.)

Ok, that makes sense. I've opened https://github.com/fthomas/refined/issues/460 to track that in refined. Thanks again @SethTisue.

you can also use https://github.com/sjrd/sbt-dynscalajs which makes the JVM the first class citizen.
Or, like me, you can just let the scalajs community publish independent artefacts of your projects or have source dependencies. Cross building for js and native has become such a huge burden for library authors.


Card may not be displayed in a dashboard edit mode

0.9.1
2023.7.0
In Edit mode, the card is not displayed:

type: custom:horizon-card

It is displayed in Editor:

and in "non-Edit" mode:

How to reproduce:

Open a view.
Select Edit mode.
Add a card.
Save the card.
Refresh the page.
The card is not displayed.

I guess I found exact conditions when the card may not be displayed:
  - theme: ''
    title: xxx
    path: xxx
    badges: []
    cards:
      - type: vertical-stack
        cards:
          - type: history-graph
            entities:
              - sun.sun
      - type: custom:horizon-card

same as happened with custom:windrose-card - it also uses "canvas" element (https://github.com/aukedejong/lovelace-windrose-card/issues/39).

Seems that this happen with all custom card (not only containing"canvas").
The issue was registered for this - https://github.com/home-assistant/frontend/issues/17266

2024.8
Do not observe this issue anymore


Redefinition of structs in .h and .cc requires a whole extra header file

In the following example I've tried to move a pre-existing C++ struct such that it can be used in Rust code too.
#[cxx::bridge(namespace = base)]
pub mod ffi {
    struct DeviceUserDomainJoinState { // previously defined in C++
        device_joined: bool,
        user_joined: bool,
    }

    extern "C" {
        include!("base/enterprise_util.h"); // it was previously defined in here

        fn AreDeviceAndUserJoinedToDomain() -> DeviceUserDomainJoinState;
    }
}

fn get_user_state() -> bool {
    let state = ffi::AreDeviceAndUserJoinedToDomain();
    state.user_joined
}

Existing .h file changes:
diff --git a/base/enterprise_util.h b/base/enterprise_util.h
index e14116e2694b..a61e6c74fab2 100644
--- a/base/enterprise_util.h
+++ b/base/enterprise_util.h
@@ -7,6 +7,7 @@

 #include "base/base_export.h"
 #include "build/build_config.h"
+#include "base/rs/enterprise_util.h" // include cxxbridge-generated file

 namespace base {

@@ -49,10 +50,6 @@ enum class MacDeviceManagementStateNew {
 BASE_EXPORT MacDeviceManagementStateNew IsDeviceRegisteredWithManagementNew();

 // Returns whether the device and/or the current user is enrolled to a domain.
-struct DeviceUserDomainJoinState {
-  bool device_joined;
-  bool user_joined;
-};
 BASE_EXPORT DeviceUserDomainJoinState AreDeviceAndUserJoinedToDomain();

 #endif  // OS_MACOSX

It doesn't build:
gen/base/rs/enterprise_util.cc:7:8: error: redefinition of 'DeviceUserDomainJoinState'
struct DeviceUserDomainJoinState final {

This is because the struct is defined in both the generated .h file and the generated .cc file, so I have this problem:

Generated gen/base/rs/enterprise_util.cc defines DeviceUserDomainJoinState and includes:

Hand-written base/enterprise_util.h which declares the AreDeviceAndUserJoinedToDomain function we need, and includes:

Generated gen/base/rs/enterprise_util.h, which also defines DeviceUserDomainJoinState.

As far as I can see, the only way to break this cycle with the current cxxbridge would be to:

Create a new header, say, enterprise_util_rust_interop.h, containing:

#pragma once
#include "base/base_export.h"

namespace base {
struct DeviceUserDomainJoinState;
BASE_EXPORT DeviceUserDomainJoinState AreDeviceAndUserJoinedToDomain();
}

Modify the .rs file to include!("base/enterprise_util_rust_interop.h");

It would be great to be able to remove this extra interop header. Could we make this less awkward by:

Only ever defining structs once, in the generated .h file
Including the generated .h file from the generated .cc file?

There must be a reason you didn't do things this way in the first place, so let me know what I'm missing!

Yep, this needs to be fixed. Someone else had just run into this last week and I had filed #230 to follow up.

There must be a reason you didn't do things this way in the first place, so let me know what I'm missing!

Currently it's somewhat convenient that the code generator doesn't need to care where you place the generated code or how include paths work. If we had to make the generated .cc file include the generated .h file the caller would need to tell us what include path to use there, either by writing it in the source Rust file which is somewhat strange, or as a command line argument which is okay but I was hoping to get away with avoiding (since the code generator has all the information to manually inline the include instead).
The alternative fix indicated in #230 is to emit an ifdef around the struct definition in both generated files. Do you see any downsides of that for your use case?

It looks like my search-fu needs to be improved :) Yes that would be fine. I'll close this since I think it's fine for it to be a duplicate.


Replace Def.taskDyn by Def.settingDyn where possible.

Regardless of whether the result key is a setting key or a task key, it is possible to use Def.settingDyn as long as the dynamic part (the part that decides what Initialize to return) only depends on settings. That's because a TaskKey[T] is nothing more than a SettingKey[Task[T]], so the type parameter of settingDyn can be instantiated to Task[T] without any problem.
Assuming https://github.com/sbt/sbt/issues/3258 is eventually implemented, using Def.settingDyn will provide a better sbt experience in inspect tree.
Not all taskDyns are removed, but the only remaining ones are all related to the launcher generation, and therefore will not survive in Scala.js 1.x.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/4056/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/5373/
Test FAILed.

OK so this doesn't work at all, but for a different reason. I had to move val s = streams.value inside the anonymous Def.task { }, since streams is a task key and cannot be left in the settingDyn. However that means it now resolves to "the streams of a generic anonymous task". And that in turns that the cacheDirectory is the same for {compile,test}:{fastOptJS,fullOptJS}, so if one does fastOptJS then fullOptJS, the latter thinks it has nothing to do ...
It is unclear at this point what can be done about it.

OK fixed it. It turns out there was even no need to turn the taskDyns of {fast,full}OptJS into settingDyn, because all their dependencies are in the non-dynamic part, which means inspect tree can show them right now. I just made that more explicit in a first commit.

Just for fun: I actually also managed to make it work with a settingDyn, but I had to reimplement all the logic to get the proper TaskStreams (what streams.value normally gives you) from within the anonymous task. The result is pretty ugly, but it works: https://github.com/scala-js/scala-js/compare/0.6.x...sjrd:no-taskdyn-wip

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/4057/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/5375/
Test PASSed.


Mac: Looking at a repo's folders in Finder adds the folders to ModifedPaths.dat

See related #514

`gvfs clone' repo
Open Finder in column view
Click on the src folder (so that its columns are displayed in Finder)

Observe:

Folders that are selected in Finder are added to ModifedPaths.dat
With extra logging in the user-mode lib it appears that VFS4G is receiving a PreDelete notification for the root (from the Finder process)

This was on macOS High Sierra 10.13.6

Rather that assuming that all DELETE vnode operations will be deletes, VFS4G might need to track "potential deletes" and only add them to the ModifiedPaths.dat file when we have confirmation the directory has been deleted.

Fixing #524 should resolve this issue as well.

Could this be something to do with the the KAUTH_VNODE_ACCESS flag? The Finder is probably just be checking permissions rather than attempting a rmdir, so the flag is probably set. We're currently not checking that, and as we're disabling the auth cache, it should in theory be safe to ignore events with that flag for the purposes of messaging. (not so for returning the correct ALLOW/DENY response of course)

Fixed by changes in #602


Remove Clone bound on specialization in TestNetFactory

In support of https://github.com/paritytech/polkadot/pull/202

@rphmeier Looks like we might also want to make Block an item on the testnet factory, because for example PolkadoProtocol implements NetworkSpecialization but not with the test block... What do you think?

Ok so the issue that I think I am running into is the following:
TestNetFactory as an item type Specialization: NetworkSpecialization<Block> + SpecializationFactory;, where Block is test_client::runtime::Block.
However, we want to plug in any NetworkSpecialization<B: BlockT>, for example Specialization<Block> for PolkadotProtocol where Block is polkadot_primitives::Block.
Any ideas on how to do that?
The error I am currently getting at https://github.com/paritytech/polkadot/pull/202 is
 the trait `substrate_network::specialization::NetworkSpecialization<sr_primitives::generic::Block<sr_primitives::generic::Header<u64, polkadot_primitives::BlakeTwo256, sr_primitives::generic::DigestItem<substrate_primitives::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, substrate_network::test::Extrinsic>>` is not implemented for `PolkadotProtocol`

Ok looks like I can fix the test_client::runtime::Block on the polkadot side with compiler flags.
It still looks like removing the Clone bound is a good idea, otherwise we'll have to make the entire PolkadotProtocol Clone as well...
Ready for review.

Should this target master or polkadot-master? It's meant to support https://github.com/paritytech/polkadot/pull/202

master first. And then it can be cherry-picked into polkadot-master if needed.

The goal of polkadot-master is just to have a stable commit for (now less-unstable) APIs that Cumulus needs.


[backport] Add gradient consistency checks in numerical_grad

Backport of #5698

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 85538091a4cac4f1cde58048e1e5420b7a5ca801, target branch v5) succeeded!

LGTM


libdnf: 0.73.1 -> 0.73.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/rpm-software-management/libdnf/releases.
meta.description for libdnf is: Package management library
meta.homepage for libdnf is: https://github.com/rpm-software-management/libdnf
meta.changelog for libdnf is: https://github.com/rpm-software-management/libdnf/releases/tag/0.73.2
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.73.2 in filename of file in /nix/store/3ksmnwqdylayw0dmad16zpr9n626xvr3-libdnf-0.73.2

Rebuild report (if merged into master) (click to expand)

11 total rebuild path(s)

11 package rebuild(s)

First fifty rebuilds by attrpath

dnf-plugins-core
dnf4
libdnf
microdnf
python311Packages.dnf-plugins-core
python311Packages.dnf4
python311Packages.libdnf
python312Packages.dnf-plugins-core
python312Packages.dnf4
python312Packages.libdnf

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3ksmnwqdylayw0dmad16zpr9n626xvr3-libdnf-0.73.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A libdnf https://github.com/r-ryantm/nixpkgs/archive/28cecc5dc98d890b7d2dbfe29f785e52131a0f18.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/28cecc5dc98d890b7d2dbfe29f785e52131a0f18#libdnf

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3ksmnwqdylayw0dmad16zpr9n626xvr3-libdnf-0.73.2
ls -la /nix/store/3ksmnwqdylayw0dmad16zpr9n626xvr3-libdnf-0.73.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

18 packages built:

dnf-plugins-core (python311Packages.dnf-plugins-core)
dnf-plugins-core.man (python311Packages.dnf-plugins-core.man)
dnf4
dnf4.man
dnf4.py
libdnf
libdnf.dev
libdnf.py (python311Packages.libdnf ,python311Packages.libdnf.dev ,python311Packages.libdnf.py)
microdnf
python311Packages.dnf4
python311Packages.dnf4.man
python311Packages.dnf4.py
python312Packages.dnf-plugins-core
python312Packages.dnf-plugins-core.man
python312Packages.dnf4
python312Packages.dnf4.man
python312Packages.dnf4.py
python312Packages.libdnf (python312Packages.libdnf.dev ,python312Packages.libdnf.py)

Maintainer pings
cc @rb2k @katexochen for testing.

Doesn't look like there are breaking changes.


[PlayGround] Mount the shared file system between client's container and  ACK cluster.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

It should be a volume rather than shared file system.
It feature is not limited to playground, but more boardly, we need to check if our session(volumes=...) support such kind of mount.


[IMPROVEMENT] Add support for JSON log format configuration in Longhorn components (UI, driver)

Is your feature request related to a problem? Please describe (👍 if you like this request)
Currently, the ability to configure the JSON log format is only available for the longhorn-manager component. However, this option is not provided for the following components:
longhorn-ui
longhorn-driver
jobs
The Helm chart does not include conditions or options to set the log format for these components. As a result, it is not possible to configure them to output logs in JSON format.
Describe the solution you'd like
1.Update the Helm chart to include a configuration option for enabling the JSON log format for the following components:
longhorn-ui
longhorn-driver
2.Ensure that these components respect the log format configuration in the same way as longhorn-manager. https://github.com/longhorn/charts/blob/7b7c2b0417c6681c995bc6c6e07ab8278b32cb87/charts/longhorn/values.yaml#L366
3. Provide documentation or examples to guide users on enabling JSON log format for all Longhorn components.
Describe alternatives you've considered

Additional context

Verified pass on longhorn v1.6.x(longhorn https://github.com/longhorn/longhorn/commit/327465e596c910647844149b3bfd0e7576d50dd9)
json format log in longhorn-manager
{"file":"/go/src/github.com/longhorn/longhorn-manager/vendor/github.com/rancher/dynamiclistener/storage/memory/memory.go:42","func":"github.com/rancher/dynamiclistener/storage/memory.(*memory).Update","level":"info","msg":"Active TLS secret longhorn-system/longhorn-webhook-tls (ver=40868) (count 2): map[listener.cattle.io/cn-longhorn-admission-webhook.longhor-59584d:longhorn-admission-webhook.longhorn-system.svc listener.cattle.io/cn-longhorn-conversion-webhook.longho-6a0089:longhorn-conversion-webhook.longhorn-system.svc listener.cattle.io/fingerprint:SHA1=EA6B1C2EABB59096B2A9234B504F5010496F5DAA]","time":"2024-12-30T07:03:17Z"}

plain format log in longhorn-manager
time="2024-12-30T07:12:14Z" level=info msg="Active TLS secret longhorn-system/longhorn-webhook-tls (ver=42964) (count 2): map[listener.cattle.io/cn-longhorn-admission-webhook.longhor-59584d:longhorn-admission-webhook.longhorn-system.svc listener.cattle.io/cn-longhorn-conversion-webhook.longho-6a0089:longhorn-conversion-webhook.longhorn-system.svc listener.cattle.io/fingerprint:SHA1=54D194AB83C96648A53015D734962DE567AB2EAE]" func="memory.(*memory).Update" file="memory.go:42"

This issue missed the milestone assigned. cc @derekbit

Verified pass on longhorn master(longhorn https://github.com/longhorn/longhorn/commit/f4d7cbba4ee07397691d89d40f34bf812a860cc2), v1.8.x(longhorn https://github.com/longhorn/longhorn/commit/45d4e8029f686a0a5ffc8a1a68c42361b528dcae)
master-head  longhorn-manager json format log
{"file":"/go/src/github.com/longhorn/longhorn-manager/vendor/github.com/rancher/dynamiclistener/storage/memory/memory.go:42","func":"github.com/rancher/dynamiclistener/storage/memory.(*memory).Update","level":"info","msg":"Active TLS secret longhorn-system/longhorn-webhook-tls (ver=45123) (count 2): map[listener.cattle.io/cn-longhorn-admission-webhook.longhor-59584d:longhorn-admission-webhook.longhorn-system.svc listener.cattle.io/cn-longhorn-conversion-webhook.longho-6a0089:longhorn-conversion-webhook.longhorn-system.svc listener.cattle.io/fingerprint:SHA1=B0832726AC8CBD11851BF4055FD48215EB6FA539]","time":"2024-12-30T07:25:11Z"}

master-head  longhorn-manager plain format log
time="2024-12-30T07:28:23Z" level=info msg="Active TLS secret / (ver=) (count 1): map[listener.cattle.io/cn-longhorn-admission-webhook.longhor-59584d:longhorn-admission-webhook.longhorn-system.svc listener.cattle.io/fingerprint:SHA1=5BFE21877E0793B375C4BB498EF3EFC12B4F130E]" func="memory.(*memory).Update" file="memory.go:42"

v1.8.x-head  longhorn-manager json format log
{"file":"/go/src/github.com/longhorn/longhorn-manager/vendor/github.com/rancher/dynamiclistener/storage/memory/memory.go:42","func":"github.com/rancher/dynamiclistener/storage/memory.(*memory).Update","level":"info","msg":"Active TLS secret longhorn-system/longhorn-webhook-tls (ver=50201) (count 2): map[listener.cattle.io/cn-longhorn-admission-webhook.longhor-59584d:longhorn-admission-webhook.longhorn-system.svc listener.cattle.io/cn-longhorn-conversion-webhook.longho-6a0089:longhorn-conversion-webhook.longhorn-system.svc listener.cattle.io/fingerprint:SHA1=A1C3C6BCAB252893B0CF1DE62BE8AABC2C4CABE6]","time":"2024-12-30T07:39:19Z"}

v1.8.x-head  longhorn-manager plain format log
ime="2024-12-30T07:34:13Z" level=info msg="Active TLS secret / (ver=) (count 1): map[listener.cattle.io/cn-longhorn-conversion-webhook.longho-6a0089:longhorn-conversion-webhook.longhorn-system.svc listener.cattle.io/fingerprint:SHA1=2EC2AE60315C44261EF622CC99E732E0E19B1BBF]" func="memory.(*memory).Update" file="memory.go:42"


Resiliency and current retry index in pubsub

Hi, i'm using pubsub with Azure Service Bus.
Based on this: https://docs.dapr.io/reference/components-reference/supported-pubsub/setup-azure-servicebus-topics/ it is not possible manage a delay between many retries.
So i'm doing some test using the "Resiliency" of Dapr in this way:
`apiVersion: dapr.io/v1alpha1
kind: Resiliency
metadata:
name: myresiliency
spec:
policies:
retries:
retry-policy1:
policy: constant
duration: 10s
maxRetries: 2
targets:
components:
mymessagebus:
inbound: # inbound only applies to delivery from sidecar to app
retry: retry-policy1`
But i have some issues:

the "maxRetries" seems adding to the "maxDeliveryCount" set on the topic in Azure Service Bus. So to have a consistent situation i have to limit to 1 the "maxDeliveryCount" of service bus, will this have negative effects in case of failure?
I need to know what is the last retry (in this case the second), so that i can mark the operation as failed in my database. There is a metadata set by Azure with current delivery count, but related to point 1 i have to set it to 1. So, how can i trak current retry using 'Resilicency' component of Dapr

Thanks in advance
Bye

the "maxRetries" seems adding to the "maxDeliveryCount" set on the topic in Azure Service Bus.

That is correct. But the two things are not exactly the same:

Using Resiliency makes Dapr retry messages within the same Dapr sidecar, sending the messages to the same application.
Using "maxDeliveryCount" is a setting for the Azure Service Bus topic on the service. Using it, if an app fails to process a message, it's sent back to Service Bus with a NACK (Negative Acknowledgement). Service Bus will then re-deliver the message possibly with a delay, and it may be received by a different Dapr sidecar.

I need to know what is the last retry (in this case the second), so that i can mark the operation as failed in my database. There is a metadata set by Azure with current delivery count, but related to point 1 i have to set it to 1. So, how can i trak current retry using 'Resilicency' component of Dapr

This was just added today, but only to the binding. Thinking about it, it should be added to the other components too: https://github.com/dapr/components-contrib/pull/3028

Hi, so if i set "maxDeliveryCount" on service bus, but i don't set any resiliency on dapr component i'm not fully covered? Should i set both of them?

Being "fully covered" depends on what your scenario is, what kind of failures you want to handle, and how you want to handle them.
Eventually this is up to you. Although maxDeliveryCount and resiliency are both used to make messages be retried, so there's some overlap, they also work differently and they can be complementary to each other.

Thanks for response, i've only a doubt..."so there's some overlap" what do you mean? I've done some test but i'm not sure about how it works... If i have a method that each time after 10 seconds fails, the retries (from servicebus or dapr) are done sequentially? Or can happens that two execution starts at the same time? Beacuse in this scenario i will have many trouble..
Bye

"so there's some overlap" what do you mean?

The overlap is that both cause messages to be retried. But one is done within Dapr, the other one is done by the ASB server.

If i have a method that each time after 10 seconds fails, the retries (from servicebus or dapr) are done sequentially? Or can happens that two execution starts at the same time?

If Dapr's resiliency is making the messages be retried, ASB doesn't know about it and does not re-deliver to another app.

My goal is that i should have guaranteed at 100% sequential and exclusive retry if:
* pod goes down

* any unexpected crash

* code exception

If you want retries if the pod goes down, you must use maxDeliveryCount > 1. This could be in addition to using resiliency with Dapr.


Remove old docsite app files so it doesn't overwrite on deploy

We're accepting docsite updates from gcloud-common now.
Anytime there is an update for the site committed to gcloud-common, their deploy-docs.sh file is run and updates the listed repos.
These files were being copied and overwriting the latest app files that were getting pushed by gcloud-common.

@callmehiphop can we force run deploy-docs.sh after this is merged to get the latest again from gcloud-common/site?

Not sure, would restarting an older Travis job do the trick?

That's what I was going to do, but I thought I'd ask just to make sure.

LGTM
Why not just run the script locally?
Can any of the other files go? e.g. the JSON files

🎉
Good idea!
I'm updating to remove extra html files. I think the rest is required?

@callmehiphop can you confirm that all we need is home.html in the json dir?

@daspecster Yep!

Looks like it all worked! The top nav is working and the side nav collapsed appropriately.


Remove locale package (and its cgo dependency)

The locale package was used to determine if "UTF-8 box drawing characters" could be enabled. It checked the system locale, and if "UTF-8" was in the locale, it enabled them. For some reason it used cgo and a C function called nl_langinfo() to accomplish this. If this was done for cross-platform reasons, it failed, because if Windows was detected it would always return "US-ASCII".
This PR removes the locale package entirely and replaces it with a getLocale() function. The new logic works like this:
if windows:
   return "US-ASCII"  # same as before
return $LC_ALL or $LANG or "US-ASCII"

@alextoombs @gabrieljackson @variadico

I'm gonna merge if there are no objections. I think removing cgo will make this lib more attractive to outsiders.


Update HyperLinkCell.cs

I've made all the modifications based on the behavior of the Latest Excel under Windows: the cursor change only when the mouse is over the text.
To achieve that:

I've changed the name of the property from IsPressed to IsOverLink.
I've removed OnStartEdit because you can still edit the cell even if the mouse is over the link.
I've remove the event OnMouseEnter and replaced them with OnMouseMove. OnMouseLeave is still there.
OnMouse mouse check if the mouse is over the text and change IsOverLink accordingly and manage the cursor
For each events, the default behavior is kept. Example: Even if the mouse is down over the text, you can still move outside the cell and select a range
In Excel, with the mouse down over the link, if you move the mouse before mouse up, the navigate process is stopped. Unfortunately, I couldn't reproduce since when the mouse is down, OnMouseMove isn't receiving any event. Not sure why. Same for OnMouseLeave, not sure it's useful.

@lamazze Thanks! Nice changes! Since it makes some behaviors doesn't compatible with the original hyperlink, I will make another change to implement your requirement.

Issue #309


packit - autopackaging upstream projects

From the fedoramagazine article (https://fedoramagazine.org/packit-packaging-in-fedora-with-minimal-effort/) we have got inspiration for automatic RPM packaging
https://github.com/clearlinux/autospec.
I don't know if we want to go in this way, but feel free to close it.

we have an internal spike card to research autospec, definitely worth spending the time

tracked in Jira


Feature/data preprocessing step

What?

Adds a list of preprocessor steps as a property of the AndroidViewConfig data class
Updates all FusionViewHolders so that the default argument is an unprocessed model, and so that they use this list of preprocessor steps to pre-process the model data before updating UI with it
Updates the demo app to fit this pattern and to use data pre-processing steps

Why?
This will allow for Fusion data to have preprocessing steps applied to it directly before populating the UI, allowing for features like:

Dynamic localisation of text
Styles which are automatically applied to views missing any declared style information

Additionally, with a proposed future feature (extensions on views), this will allow for far greater customisation of Fusion UI
Anything else?
Please review this PR in the Core library at the same time as this.
This implementation does introduce a tiny amount of boilerplate (having to register a new preprocessor interface for each model class, having to pre-process the data in the ViewHolder).
However, this will usually be 2 extra lines of code per new model type, which is relatively minimal - and, custom views in final projects (i.e release apps rather than libraries) may not even need to add pre-processing steps, if the ViewHolders can be directly manipulated.
The rationale for using this pattern is that it bypasses generic type erasure to ensure that only the pre-processor steps for that specific type of model are applied.
All other approaches I could think of for implementing this pre-processing would have led to some sort of unsafe cast, putting the responsibility on the developer to make sure their preprocessor implementations were safe.
If you can think of a cleaner approach that is as safe as this approach, please let me know.

@ipinlnd

This way, you won't need to search for a preprocessor everytime you're populating a view

That's a good point, my current approach is inefficient in that you have to filter the preprocessors.
However, this is done because a Fusion View may have a child View, or "extend" a View (e.g a ListItem contains two Text and an Image, and uses BaseViewProperties for its common properties).
But, there may be a better way to do this, either declaring all of the needed preprocessor classes, or using cacheing and unchecked (but safe) casts - I'll look into this.

They can't pass multiple preprocessors for the same view model

It's actually intended behaviour that you can pass multiple preprocessors for the same model.
There might be use cases for this - maybe one preprocessor on Text applies a pre-defined text style, and another one localises the Text.content.

@ipinlnd
Another thing I thought of:

a companion object on each view model with a property for preprocessor

I have been trying so far to avoid having global/singleton config on Fusion, and instead allowing the lib users to configure differently in different parts of the app if they need to.
But, I'll see if there's any compromise between these two options that has the benefits of both.

@ipinlnd I have updated the library to use a map of classes to processors - see the latest changes, and also the updated PR in the Core library

I am closing this PR without merging, as the direction of Fusion has changed significantly within the past couple of months.


Provide libs/modules for Angular

Is your feature request related to a problem? Please describe.
Would like to be able to use the libraries from an Angular App.  Would like to collect user input using custom UI , render an AS3 declaration and submit it directly to devices.
Describe the solution you'd like
Need the functions in fast cli callable from an Angular App.
Describe alternatives you've considered
Considered using node.js as a backend processor but that makes the Angular App more complex and larger.

Thanks for requesting this enhancement. We are now tracking it internally with ID MYSTIQUE-347.

Hi John, FAST integration with Angular is out of scope. This is not planned for our roadmap.

@johnalam the functions from the FAST CLI are available as part of the f5-fast-core NPM package, which should be usable from Angular.

Closing.
Please reopen if there is any further input on the issue.


Breaking cell content into multiple cells with varying width and columnHeader

Let's say I have a cell with information about an individual as string
John Doe<EMAIL_ADDRESS>24years  as the content of a cell, but  I want to break this string into multiple cells with column Headers : FirstName, LastName, email and Age. The documentation reference provides no means of doing this.

#1096


STUCK iOS on Splash Screen After Change Signin & Capabilities

Submit feature requests to http://www.mattermost.org/feature-requests/. File non-security related bugs here in the following format:
Summary
I Change all Signin  & Capabilities for iOS
Run in XCode
No error!!!
But, while running simulator. its's stuck on Splash screen and xcode stuck.
Environment Information

Device Name: iPhone 11 ProMaxSimulator
OS Version: 13.5
Mattermost App Version: 1.31.1
Mattermost Server Version:  Private Server

Steps to reproduce
How can we reproduce the issue?
Change all the Sign in & Capabilities
Build & Run
Expected behavior
Describe your issue in detail.
MMKError ("Getting a multi-process MMKV [%@] ithout setting groupDir makes no sense", mmap ID);
MMKV_ASSERT(0);
2020-06-11 18:06:02.046543+0700 Mattermost[21784:1042564] [I] <libMMKV.mm:97::+[MMKV initializeMMKV:groupDir:logLevel:]> groupDir: (null)
2020-06-11 18:06:02.047148+0700 Mattermost[21784:1042564] [I] <MemoryFile_OSX.cpp:36::tryResetFileProtection> protection on [/Users/Admin/Library/Developer/CoreSimulator/Devices/0914C385-4D70-4681-834C-289B7FF2A300/data/Containers/Data/Application/2B3A1CAD-114B-4EFA-A997-ED925F9FA40E/Documents/mmkv/mmkvIdStore] is (null)
2020-06-11 18:06:02.048266+0700 Mattermost[21784:1042564] [I] <MemoryFile_OSX.cpp:36::tryResetFileProtection> protection on [/Users/Admin/Library/Developer/CoreSimulator/Devices/0914C385-4D70-4681-834C-289B7FF2A300/data/Containers/Data/Application/2B3A1CAD-114B-4EFA-A997-ED925F9FA40E/Documents/mmkv/mmkvIdStore.crc] is (null)
2020-06-11 18:06:02.062086+0700 Mattermost[21784:1042564] [I] MMKV.cpp:263::loadFromFile loading [mmkvIdStore] with 0 actual size, file size 4096, InterProcess 0, meta info version:0
2020-06-11 18:06:02.062262+0700 Mattermost[21784:1042564] [I] MMKV.cpp:296::loadFromFile loaded [mmkvIdStore] with 0 values
2020-06-11 18:06:02.265118+0700 Mattermost[21784:1042518] [E] <libMMKV.mm:150::+[MMKV mmkvWithID:cryptKey:relativePath:mode:]> Getting a multi-process MMKV [default] without setting groupDir makes no sense
Assertion failed: (0), function +[MMKV mmkvWithID:cryptKey:relativePath:mode:], file /Users/Admin/Documents/vp-workload/ios/Pods/MMKV/iOS/MMKV/MMKV/libMMKV.mm, line 151.
Observed behavior
What did you see happen? Please include relevant error messages and/or screenshots.
Screenshot:

Possible fixes
If you can, link to the line of code that might be responsible for the problem.

Hi @sadamht you may want to edit this patch file https://github.com/mattermost/mattermost-mobile/blob/master/patches/react-native-mmkv-storage%2B0.3.2.patch#L10 and set your own app group id

Hi @sadamht you may want to edit this patch file https://github.com/mattermost/mattermost-mobile/blob/master/patches/react-native-mmkv-storage%2B0.3.2.patch#L10 and set your own app group id

thank you for reply...
i solved or fixed issue change
on TARGETS
MattermostShare -> AppGroups -> change to my  App Goup
NotificationService -> AppGroups -> change to my  App Goup

Hi @sadamht you may want to edit this patch file https://github.com/mattermost/mattermost-mobile/blob/master/patches/react-native-mmkv-storage%2B0.3.2.patch#L10 and set your own app group id

This link isn't working, can you provide a working link please.

@zeeshanwarriach93 at this point if you follow the documentation you don't have to edit that patch anymore.
You would only nees to set the env var for the group id and the build script will apply it for you.
If you are trying to build it manually you'll have to manually edit the Info.plist files for the three targets

@zeeshanwarriach93 at this point if you follow the documentation you don't have to edit that patch anymore.
You would only nees to set the env var for the group id and the build script will apply it for you.
If you are trying to build it manually you'll have to manually edit the Info.plist files for the three targets

It's  still not working, I'm getting this error. Can you please guide me through steps.
Regards

i'm getting the same error @zeeshanwarriach93  did you manage to fix it?

i'm getting the same error @zeeshanwarriach93  did you manage to fix it?

@fabioespinosa Were you able to fix this? I have the same issue


Send a message when a focused person is pinged

Send a message when a focused person is pinged , similar to afk
but it should allow to send message to #study-together

Go ahead with pull request and link it to this issue

things to-do

make a cogs listener to listen to messages,
see the mentions for users in the message
check if the user has @Studying/Working <@&816873155246817290> role
if so send message that {username} is Studying

Still Todo :(

working on it in study-buddy-ping


audit: typo fix in docs

Typo fix in the audit instructions for multiple API servers

/assign @kbarnard10


lastpass-cli: 1.2.2 -> 1.3.1 (18.03)

Motivation for this change
See: https://github.com/NixOS/nixpkgs/pull/40734
Otherwise lastpass-cli errors with:
Error: Peer certificate cannot be authenticated with given CA certificates.

Both commits were cherry-pick -x.
Things done

✔ Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

✔ NixOS
❌ macOS
❌ other Linux distributions

❌ Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
❌ Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
✔ Tested execution of all binary files (usually in ./result/bin/)
✔ Fits CONTRIBUTING.md.

@GrahamcOfBorg build lastpass-cli

Success on aarch64-linux (full log)
Attempted: lastpass-cli
Partial log (click to expand)
[100%] Built target install-doc
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/kdy0xxn0kd7xz8bfa75h5lvbcmg4kqhr-lastpass-cli-1.3.1
shrinking /nix/store/kdy0xxn0kd7xz8bfa75h5lvbcmg4kqhr-lastpass-cli-1.3.1/bin/lpass
gzipping man pages under /nix/store/kdy0xxn0kd7xz8bfa75h5lvbcmg4kqhr-lastpass-cli-1.3.1/share/man/
strip is /nix/store/ppn001bfygzlqx4h50n9zgxc3kqv2d6k-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/kdy0xxn0kd7xz8bfa75h5lvbcmg4kqhr-lastpass-cli-1.3.1/bin
patching script interpreter paths in /nix/store/kdy0xxn0kd7xz8bfa75h5lvbcmg4kqhr-lastpass-cli-1.3.1
checking for references to /build in /nix/store/kdy0xxn0kd7xz8bfa75h5lvbcmg4kqhr-lastpass-cli-1.3.1...
/nix/store/kdy0xxn0kd7xz8bfa75h5lvbcmg4kqhr-lastpass-cli-1.3.1

Success on x86_64-linux (full log)
Attempted: lastpass-cli
Partial log (click to expand)
[100%] Built target install-doc
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/hh5rxfz13lhkf55pirzp1z0zymdhph9p-lastpass-cli-1.3.1
shrinking /nix/store/hh5rxfz13lhkf55pirzp1z0zymdhph9p-lastpass-cli-1.3.1/bin/lpass
gzipping man pages under /nix/store/hh5rxfz13lhkf55pirzp1z0zymdhph9p-lastpass-cli-1.3.1/share/man/
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/hh5rxfz13lhkf55pirzp1z0zymdhph9p-lastpass-cli-1.3.1/bin
patching script interpreter paths in /nix/store/hh5rxfz13lhkf55pirzp1z0zymdhph9p-lastpass-cli-1.3.1
checking for references to /build in /nix/store/hh5rxfz13lhkf55pirzp1z0zymdhph9p-lastpass-cli-1.3.1...
/nix/store/hh5rxfz13lhkf55pirzp1z0zymdhph9p-lastpass-cli-1.3.1

Success on x86_64-darwin (full log)
Attempted: lastpass-cli
Partial log (click to expand)
install: creating directory '/nix/store/6x1yjij1pnqii6sfza6npi3gahdg2ywr-lastpass-cli-1.3.1/share/man'
install: creating directory '/nix/store/6x1yjij1pnqii6sfza6npi3gahdg2ywr-lastpass-cli-1.3.1/share/man/man1'
'/tmp/nix-build-lastpass-cli-1.3.1.drv-0/source/build/lpass.1' -> '/nix/store/6x1yjij1pnqii6sfza6npi3gahdg2ywr-lastpass-cli-1.3.1/share/man/man1/lpass.1'
[100%] Built target install-doc
post-installation fixup
gzipping man pages under /nix/store/6x1yjij1pnqii6sfza6npi3gahdg2ywr-lastpass-cli-1.3.1/share/man/
strip is /nix/store/bvxfljaqw2qnkd7n1ab88bd67x4giwld-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/6x1yjij1pnqii6sfza6npi3gahdg2ywr-lastpass-cli-1.3.1/bin
patching script interpreter paths in /nix/store/6x1yjij1pnqii6sfza6npi3gahdg2ywr-lastpass-cli-1.3.1
/nix/store/6x1yjij1pnqii6sfza6npi3gahdg2ywr-lastpass-cli-1.3.1

Thank you!


build.phonegap version conflict<EMAIL_ADDRESS>

"plugman install --platform android --project /project --plugin cordova-plugin-photokandy-video-thumbnail": Fetching plugin "cordova-plugin-photokandy-video-thumbnail" via npm Installing "cordova-plugin-photokandy-video-thumbnail" at "2.1.0" for android Failed to install 'cordova-plugin-photokandy-video-thumbnail': CordovaError: Version of installed plugin<EMAIL_ADDRESS>does not satisfy dependency plugin requirement<EMAIL_ADDRESS>Try --force to use installed plugin as dependency.     at /.npm/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/plugman/install.js:581:33     at _fulfilled (/.npm/lib/node_modules/pgb-plugman/node_modules/q/q.js:787:54)     at self.promiseDispatch.done (/.npm/lib/node_modules/pgb-plugman/node_modules/q/q.js:816:30)     at Promise.promise.promiseDispatch (/.npm/lib/node_modules/pgb-plugman/node_modules/q/q.js:749:13)     at /.npm/lib/node_modules/pgb-plugman/node_modules/q/q.js:509:49     at flush (/.npm/lib/node_modules/pgb-plugman/node_modules/q/q.js:108:17)     at _combinedTickCallback (internal/process/next_tick.js:67:7)     at process._tickCallback (internal/process/next_tick.js:98:9) Version of installed plugin<EMAIL_ADDRESS>does not satisfy dependency plugin requirement<EMAIL_ADDRESS>Try --force to use installed plugin as dependency.

Hey @kerrishotts any insight on this? Would this be hard to upgrade?

@oleksiy-nesterov what platform?


PDF title includes .pdf

When I use BookBrowser with PDFs, the title includes the .pdf in it.

This is a known issue. At the moment, BookBrowser is not able to extract PDF metadata.

I have added metadata support.


Message expectation doesn't leverage passed matcher capabilities when reporting error.

Subject of the issue
Calling expect(...).to receive(...).with(...) with a composed matcher doesn't use the full capabilities of the passed matcher in order to provide a more precise error message to the user.
You can argue that the diff produced in the attached example is correct ( the passed array doesn't match the expected one so the diff include the whole array), that said the other example shows that it could be done better.
Your environment

Ruby version: ruby-2.4.6
rspec-mocks version: 3.8.2

Steps to reproduce
begin
  require "bundler/inline"
rescue LoadError => e
  $stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
  raise e
end

gemfile(true) do
  source "https://rubygems.org"

  gem "rspec", "3.8.2" # Activate the gem and version you are reporting the issue against.
end

puts "Ruby version is: #{RUBY_VERSION}"
require 'rspec/autorun'

class A
  def test(params)
  end
end

B = Struct.new(:a, :b)

RSpec.describe 'additions' do
  let(:test_double) {  instance_double(A) }

  let(:passed_attributes) do
    [
      B.new(1, 2),
      B.new(3, 4),
      B.new(5, 6),
      B.new(7, 8)
    ]
  end

  let(:attribute_matcher) do
    [
      have_attributes(a: 1, b: 2),
      have_attributes(a: 3, b: 4),
      have_attributes(a: 5, b: 10),
      have_attributes(a: 7, b: 8)
    ]
  end

  it 'shows the whole array instead of elements which dont match' do
    expect(test_double).to receive(:test).with(a_collection_containing_exactly(*attribute_matcher))
    test_double.test(passed_attributes)
  end

  it 'shows only not matching elements' do
    expect(passed_attributes).to contain_exactly(*attribute_matcher)
  end
end

Expected behavior
I would expect that error message shows only elements of the array which don't match the expectation.
Actual behavior
Error message lists the whole array.

Rspec output:
Randomized with seed 7867
FF

Failures:

  1) additions shows the whole array instead of elements which dont match
     Failure/Error: test_double.test(passed_attributes)

       #<InstanceDouble(A) (anonymous)> received :test with unexpected arguments
         expected: (a collection containing exactly (have attributes {:a => 1, :b => 2}), (have attributes {:a => 3, :b => 4}), (have attributes {:a => 5, :b => 10}), and (have attributes {:a => 7, :b => 8}))
              got: ([#<struct B a=1, b=2>, #<struct B a=3, b=4>, #<struct B a=5, b=6>, #<struct B a=7, b=8>])
       Diff:
       @@ -1,2 +1,5 @@
       -["a collection containing exactly (have attributes {:a => 1, :b => 2}), (have attributes {:a => 3, :b => 4}), (have attributes {:a => 5, :b => 10}), and (have attributes {:a => 7, :b => 8})"]
       +[[#<struct B a=1, b=2>,
       +  #<struct B a=3, b=4>,
       +  #<struct B a=5, b=6>,
       +  #<struct B a=7, b=8>]]

     # rspec_report.rb:47:in `block (2 levels) in <main>'

  2) additions show only not matching elements
     Failure/Error: expect(passed_attributes).to contain_exactly(*attribute_matcher)

       expected collection contained:  [(have attributes {:a => 1, :b => 2}), (have attributes {:a => 3, :b => 4}), (have attributes {:a => 5, :b => 10}), (have attributes {:a => 7, :b => 8})]
       actual collection contained:    [#<struct B a=1, b=2>, #<struct B a=3, b=4>, #<struct B a=5, b=6>, #<struct B a=7, b=8>]
       the missing elements were:      [(have attributes {:a => 5, :b => 10})]
       the extra elements were:        [#<struct B a=5, b=6>]
     # rspec_report.rb:51:in `block (2 levels) in <main>'

Finished in 0.03244 seconds (files took 0.07576 seconds to load)
2 examples, 2 failures

Failed examples:

rspec rspec_report.rb:45 # additions shows the whole array instead of elements which dont match
rspec rspec_report.rb:50 # additions show only not matching elements

This behaviour is complex as mocks matchers are not real matchers in the way they are verified, there is certainly scope for doing this if someone is interested but probably not that high on my list right now. (Also apologies for taking this long to come back to you!)

No worries :)
I took a brief look at the code and it looked like this might be a bigger change. But if you think there is a simple way of doing this I would be happy to help.


Extended to omni-directional camera model ?

Hi, I learned there are many gaussian splatting methods that are capable of reconstructing from omnidirectional cameras: https://github.com/LetianHuang/op43dgs, do you have any plans on implementing that on gsplat?

Hi, I think there are no immediate plans. As an open-source project, contributions are welcomed.


Only fail  quantized Lora unload when actually merging

Lora can only merge parameters when the model is not quantized. However, the error-checking code does not check whether we actually want to merge anything or not.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Thank you very much!


feat: Add success policy

Signed-off-by: cegao<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in Fixes #<issue number>, #<issue number>, ... format, will close the issue(s) when PR gets merged):
Fixes #
Checklist:

[ ] Docs included if any changes are user facing

/hold

It is blocked by https://github.com/kubeflow/common/pull/181

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

32 of 71 (45.07%)  changed or added relevant lines in 5 files are covered.
16 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.04%) to 27.792%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/apis/pytorch/v1/zz_generated.deepcopy.go
0
5
0.0%

pkg/controller.v1/tensorflow/tfjob_controller.go
0
6
0.0%

pkg/apis/pytorch/v1/defaults.go
0
7
0.0%

pkg/apis/pytorch/v1/openapi_generated.go
0
7
0.0%

pkg/controller.v1/pytorch/pytorchjob_controller.go
32
46
69.57%

Files with Coverage Reduction
New Missed Lines
%

pkg/apis/pytorch/v1/defaults.go
2
19.75%

pkg/controller.v1/mpi/mpijob_controller.go
5
75.41%

pkg/controller.v1/pytorch/pytorchjob_controller.go
9
62.53%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
1712

Relevant Lines:
6160

💛  - Coveralls

/retest

/hold cancel

/assign @zw0610


Bump DiffEqCallbacks

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.04%. Comparing base (80f952a) to head (7632470).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #252   +/-   ##
=======================================
  Coverage   91.04%   91.04%
=======================================
  Files          61       61
  Lines        3930     3930
=======================================
  Hits         3578     3578
  Misses        352      352

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


6.8 uses Project.group instead of MavenPublication.groupId for dependencies in a POM

Expected Behavior

Dependency declarations in published POM / module.json should use MavenPublication.groupId if set.
Current Behavior

Dependency declarations in published POM / module.json are using Project.group
Context

To workaround https://github.com/gradle/gradle/issues/847, I have generally been setting project.group to a value different from the desired Maven groupId as per the recommendation in https://github.com/gradle/gradle/issues/847#issuecomment-619950147
That has stopped working in 6.8 it seems, project.group is being used for dependency declarations in POMs (not the actual artifact declaration).
Steps to Reproduce

git clone https://github.com/open-telemetry/opentelemetry-java/
cd opentelemetry-java
./gradlew publishToMavenLocal
cat api/all/build/publications/mavenPublication/pom-default.xml

Note the dependency is
<dependencies>
    <dependency>
      <groupId>io.opentelemetry.api</groupId>
      <artifactId>context</artifactId>
      <version>0.12.0-SNAPSHOT</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>

but it should be
<dependencies>
    <dependency>
      <groupId>io.opentelemetry</groupId>
      <artifactId>context</artifactId>
      <version>0.12.0-SNAPSHOT</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>

This was working until 6.7
Configuration in
https://github.com/open-telemetry/opentelemetry-java/blob/master/build.gradle#L457
https://github.com/open-telemetry/opentelemetry-java/blob/master/api/build.gradle#L2
Your Environment

Build scan URL:

Closing as duplicate of #15731

Closing as duplicate of #15731


Feature - export to csv

Enable csv export link in the toolbar.
This uses FileSaver.js ( https://github.com/eligrey/FileSaver.js/ ) to write the filteredData to proper tab delimited rows.
Usage:
pass in exportCSV={true} to BootstrapTable component to enable the link in the toolbar.

@khinlatt, I will review your codes, Anyway, thanks a lots!


Proposal: Add a default vue Blade template or update documentation

Description:
Just spent an afternoon to try to make a view JS blade template work. Issue was that there was a .extract within webpack.min.js which (for optimization reasons if I understand correctly) generates multiple files, which have to be included within the blade templates if we want vue.js to work:

I don't think this was documented anywhere so I would suggest adding a basic VuejsExample.blade.template somewhere or adding a section on vue.js in the documentation to specify that this extract function exists , because it was very hard to debug this
Steps To Reproduce:
Create a blade template for view, with a component, only include for instance js/frontend.js in the blade template. The component will stay empty.

https://github.com/JeffreyWay/laravel-mix/blob/master/docs/extract.md


New package: JiL v0.1.0

Registering package: JiL
Repository: https://github.com/aptmcl/JiL
Created by: @aptmcl
Version: v0.1.0
Commit: 11ad2e6b49a8cb8da26a5fd72861c3e867a8f83d
Reviewed by: @aptmcl
Reference: https://github.com/aptmcl/JiL/commit/11ad2e6b49a8cb8da26a5fd72861c3e867a8f83d#commitcomment-149853813
Description: The JiL programming language: a Lisp dialect on top of Julia.

Closed in favor of #120583.