doc: subsystems: shell: Add documentation.

Move shell documentation to legacy_shell
Create documentation for new shell module.
Fix shell.h comments to be able to generate API documentation.

Signed-off-by: Jakub Rzeszutko<EMAIL_ADDRESS>

@dbkinder : I tried to address all of your findings. However I have no idea how to fit the table with meta keys in 80 characters. I have no idea how to break a line to not destroy the table.

@dbkinder : I think that all your suggestions are in.

@nordic-krch @dbkinder : Please check - major rework.

All tests passed.

Minor, but there're punctuation issues in the commit message: doc : subsystems: shell : Add - there should not be spaces before :, only after.

fixed

Thanks!


Decouple matrix computation (equation solving) from high level transform code

Underlying matrix libraries shall be exchangeable. There are different libraries available, such as La4J, Ejml, JAMA or Apache Math Commons. All of these provide means to solve systems of linear equations.
It would be of advantage, if the user would be able to opt-in for the library of choice.
Consider a more generic approach to decouple matrix computation from image-registration API and abstracttion.

To finalize this, a Service Provided Interface is needed in order to allow automatic choice of solver implementation. Furthermore, a classByName way to choose the solver is also needed (mostly for testing).


Optional parameters plan_id service_id - deletion

Hi, please can you consider this change in the system ?
In a recent migration to open service broker we got some problems during deletion and unbind of services.
Cloud foundry is not providing service_id for the service broker, is that possible to make those parameters optional ?
With the attached changes I could deploy and execute my service-broker implementation.
best regards,
Allan SIlva

This change should not be necessary, and would go against the OSB API spec (which says that the service_id and plan_id request parameters are required).
Let's continue to the conversation in #114 and try to get to the bottom of the issue.

this change is not necessary , it was a mistake during creation of service broker without a suffix in the end of the URL,


Failed to render on the iMX8

Hi,
I wanna use webkit to play streaming on the iMX8 but the render was fail.
The following command will work.
$ gst-launch-1.0 filesrc location=shinjuku.mp4 ! video/quicktime ! aiurdemux ! queue ! h264parse ! v4l2h264dec ! imxvideoconvert_g2d ! queue ! waylandsink

When trying to use cog to play a h264 video fails.
$ cog https://people.igalia.com/clopez/wkbug/video/simplevideo.html

Here's my configuration:
DISTRO ?= 'fsl-imx-xwayland'
PREFERRED_PROVIDER_virtual/wpebackend = "wpebackend-rdk"
PACKAGECONFIG_pn-wpebackend-rdk = "wayland"
IMAGE_INSTALL_append = " wpewebkit cog"

How can I add the imxvideoconvert_g2d into the pipeline?

Do you have compelling reasons to use the proprietary vivante driver instead of etnaviv?

Hi phiin,
Sorry for late to reply.
I compiled wpewebkit on the imx8qxp and it didn't support etnaviv driver.

WPE_INIT_VIEW_WIDTH=800 WPE_INIT_VIEW_HEIGHT=480 cog https://www.youtube.com

Do you have any idea to figure out this problem?

I doubt you can mix aiurdemux and v4l2h264dec in the same pipeline...

HI, philn,
What would you recommend?
I followed the document(p.35) to video playback.
https://www.nxp.com/docs/en/release-note/IMX_LINUX_RELEASE_NOTES.pdf

Good afternoon,
I'm currently trying to find a way to fix this issue. As soon as I saw the glitches, I knew it was related to imxvideoconvert_g2d because I've seen those same glitches in the past and it was directly related to that NXP-specific plugin. Once that plugin is in the gstreamer pipeline, the glitches disappear, so I'm certain the solution here is to do the same.
So far I've been looking into the wpewebkit-2.28.1 source code trying to find a place where I could add that plugin into the pipeline, but I'm unfamiliar with both the gstreamer API  and the WPE WebKit source code, so I don't really know what the change should look like or when it should be used to begin with (as I'm sure it isn't needed for absolutely every gstreamer use case). Maybe it's a matter of taking the time to learn how the code works, but does anybody who is more knowledgeable have an idea on where this change could be implemented?

If this works and playbin plugs the vivante plugin, it work the same way in WPE...
gst-play-1.0 --videosink glimagesink /path/to/video.mp4
By setting this var GST_DEBUG_DUMP_DOT_DIR=/tmp you will get graphviz pipeline dumps that you can inspect to check the pipeline topology includes the decoder you want. or not.

Hi @philn ,
Thank you for the quick reply. I'm currently building images with the WebKit to be able to debug this with your instructions. I will compare the pipelines of gstreamer on its own with the WebKit one and get back to you ASAP

Hi @philn ,
Apologies for the delayed response, my last couple of weeks have been quite busy. Using this pipeline on an i.MX8X:
gst-play-1.0 --videosink glimagesink /path/to/video.mp4
Results in the same graphical glitches described in the OP of this issue. However, these glitches are fixed by manually adding the i.MX videoconvert plugin to the videosink parameter:
gst-play-1.0 --videosink "imxvideoconvert_g2d ! queue ! glimagesink" /path/to/video.mp4
I verified that both pipelines are identical save for the inclusion of the i.MX plugin using GST_DEBUG_DUMP_DOT_DIR=/tmp.
The gstreamer application provided by NXP in their BSP, gplay, also uses this plugin by default. Looking through the app's code, I can see they hardcode the pipeline (imxvideoconvert_g2d ! queue ! waylandsink) using the gst_parse_bin_from_description() function. I can't see that function being used anywhere in the WPE code, but I will try to find an appropriate place to add the i.MX plugin to the pipeline.

Might fit behind ifdefs in WebKit's GL video sink bin.

Hi everyone,
I managed to patch WPE webkit 2.28.1 so it adds imxvideoconvert_g2d to the default gstreamer pipeline. So far, every video I've played renders correctly:
`diff --git a/Source/WebCore/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp b/Source/WebCore/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp
index 8d8f3822..3e047ebb 100644
--- a/Source/WebCore/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp
+++ b/Source/WebCore/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp
@@ -93,11 +93,13 @@ static void webKitGLVideoSinkConstructed(GObject* object)
ASSERT(sink->priv->appSink);
g_object_set(sink->priv->appSink.get(), "enable-last-sample", FALSE, "emit-signals", TRUE, "max-buffers", 1, nullptr);

GstElement* imxconvert = gst_element_factory_make("imxvideoconvert_g2d", nullptr);
GstElement* queue = gst_element_factory_make("queue", nullptr);
GstElement* upload = gst_element_factory_make("glupload", nullptr);
GstElement* colorconvert = gst_element_factory_make("glcolorconvert", nullptr);
ASSERT(upload);
ASSERT(colorconvert);

gst_bin_add_many(GST_BIN_CAST(sink), upload, colorconvert, sink->priv->appSink.get(), nullptr);

gst_bin_add_many(GST_BIN_CAST(sink), imxconvert, queue, upload, colorconvert, sink->priv->appSink.get(), nullptr);
// Workaround until we can depend on GStreamer 1.16.2.
// https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/commit/8d32de090554cf29fe359f83aa46000ba658a693
@@ -121,9 +123,9 @@ static void webKitGLVideoSinkConstructed(GObject* object)
gst_caps_set_features(caps.get(), 0, gst_caps_features_new(GST_CAPS_FEATURE_MEMORY_GL_MEMORY, nullptr));
g_object_set(sink->priv->appSink.get(), "caps", caps.get(), nullptr);

gst_element_link_many(upload, colorconvert, sink->priv->appSink.get(), nullptr);

gst_element_link_many(imxconvert, queue, upload, colorconvert, sink->priv->appSink.get(), nullptr);

GRefPtr pad = adoptGRef(gst_element_get_static_pad(upload, "sink"));

GRefPtr pad = adoptGRef(gst_element_get_static_pad(imxconvert, "sink"));
gst_element_add_pad(GST_ELEMENT_CAST(sink), gst_ghost_pad_new("sink", pad.get()));
}`

Note that I haven't added any ifdefs, for now I'm simply adding the patch to the wpewebkit Yocto recipe when compiling for imx8qxp platforms.

There might be a way to upstream this without ifdef. The player has some code already detecting imxvpudec at runtime (look for ImxVPU in the player), so the sink could perhaps dynamically add those elements... It might require a pad probe, I think...

Hi, gvalcaza,
Thanks for your patch. It's working properly.

Leaving this open until no downstream hack is required.

Should work now. Make sure to have this patch applied: https://bugs.webkit.org/show_bug.cgi?id=223693


GO:0051824 recognition of other organism involved in symbiotic interaction

We need to decide what to do with this branch
There is overlap with "response to" and other areas
GO:0051824 recognition of other organism involved in symbiotic interaction

There are  ZERO annotation in this branch.
What  does it mean specifically?
Another organism is recognised by a  receptor  interaction.
This term does not seem to be required.
I would annotatate  to a receptor for recognition.
I suggest we just obsolete. There clearly hasn't been a need (the immune system signalling pathways  *are * the recognition processes).
It's just another way of saying the same thing ?

@mgiglio99 ?

This branch has 3 terms:
'recognition of other organism involved in symbiotic interaction'
'recognition of host'
'recognition of symbiont'
I propose we merge them into GO:0098543 detection of other organism.
@mgiglio99 @val OK ?

Yes.
But, I don't  even think the detection term is required. I think we discussed this on Friday so it could be in another ticket.
 So detection is a function not a process?

I'll first do the merge of
'recognition of other organism involved in symbiotic interaction'
'recognition of host'
'recognition of symbiont'
if it's OK with @mgiglio99

Then open an annotation ticket for your other comment (https://github.com/geneontology/go-ontology/issues/17977#issuecomment-544892013)

Are the proposed merges as follows:
-'recognition of other organism involved in symbiotic interaction' into 'detection of other organism'?
-'recognition of symbiont' into 'detection of symbiont'?
Those I'm fine with.
But there is no 'detection of host' term and I think we really need that. Could we turn 'recognition of host' into 'detection of host'?
There are Rhizobium genes that specify host range and are involved with the bacterium associating with specific hosts.
I have worries about the 'detection' branch, I'm not sure about have all of the separate terms for detection of each type of thing - but that can be a separate issue.

In principle I am fine with 'detection of host' but I  do you have examples?
We should maybe discuss precisely what is meant by "detection" -I'm still confused by this term as a biological process. Possibly I am missing something but I can't immediately think of anything that detects but is not a "receptor."
I would annotate this  "detection process" as
MF "x receptor" part_of BP "x immune signalling process".
This raises a question about "detection" terms in general.
Ignoring , for now,  the "detection of (insert you favourate organism or clade) there are lots of  other terms:
detection of oxygen (12 EXP) why not use a  receptor or signalling pathway?
detection of nutrient (2 EXP)  ditto
detection of cAMP (1 EXP)   ditto
detection of pheromone  (20 EXP mainly IEP) ditto
detection of glucose (11 annotations) ditto
I'm sure we discussed/agreed to obsoleting these terms at the signalling workshop?  @ukemi  @pgaudet  do you agree?  Did this just get overlooked? If so I can open a ticket. These terms appear to be "biological processes" describing the molecular function of a receptor? (Actually I will do this anyway)
Clearly, these terms are massively  under-annotated which indicates a likely problem.

I agree that all the detection stuff sounds very much like some sort of 'receptor' MF.

'recognition of host' already had exact synonym 'detection of host' (I thought we had a check preventing this - @dougli1sqrd )
I changed the label to 'detection of host'

GO:0051855 recognition of symbiont -> Merged into GO:0009602 detection of symbiont

GO:0051824 recognition of other organism involved in symbiotic interaction -> Merged into GO:0098543 detection of other organism

Pascale

I also agree that the detection terms sound a lot like receptors.
So then the  process for the symbiotic ones would be just 'interaction with host' or 'interaction with symbiont' - is that correct?

detection of oxygen (12 EXP) why not use a receptor or signalling pathway?
-> suggest obsoletion, consider: MF GO:0019826 oxygen sensor activity + BP GO:0032364 oxygen homeostasis
detection of nutrient (2 EXP) ditto
-> suggest obsoletion and reannotation; papers don't seem to talk about the compounds detected as nutrients
detection of cAMP (1 EXP) ditto
-> suggest obsoletion, consider: GO:0030552 cAMP binding
detection of pheromone (20 EXP mainly IEP) ditto
-> suggest obsoletion, consider GO:0016503 pheromone receptor activity
detection of glucose (11 annotations) ditto
-> suggest obsoletion, and create 'glucose sensor activity'?


Creates my custom theme.

I wanted a different prompt than was available. I will likely make changes to it as I go along. Refine it.

Care to share a screenshot?

sure. Do you know if there is a tool I can use to anonymize my prompt so that it doesn’t reflect my name or my project I am working on but will still show off the features of the prompt?

On Oct 1, 2015, at 3:02 AM, Nils Winkler<EMAIL_ADDRESS>wrote:
Care to share a screenshot?
—
Reply to this email directly or view it on GitHub https://github.com/Bash-it/bash-it/pull/583#issuecomment-144662448.

I can help out there, I don't mind sharing my prompt:

One improvement I would suggest would be to intorduce a space after the $ a the end of the prompt: $cd .. VS $ cd ...

Thank You!

On Oct 1, 2015, at 10:29 PM, the-undefined<EMAIL_ADDRESS>wrote:
I can help out there, I don't mind sharing my prompt:
https://cloud.githubusercontent.com/assets/191664/10239497/73d29126-68c6-11e5-9a7e-9a437d6215c0.png
One improvement I would suggest would be to intorduce a space after the $ a the end of the prompt: $cd .. VS $ cd ...
—
Reply to this email directly or view it on GitHub https://github.com/Bash-it/bash-it/pull/583#issuecomment-144914066.

This PR has gone stale, so I am closing it. Thanks for contributing!

This PR has gone stale, so I am closing it. Thanks for contributing!


Patch folder not completely functional

Describe the bug
Using the patch folder is not fully functional. While the classes are indeed added to the classpath, they don't necessarily get used.
To Reproduce
Steps to reproduce the behavior:

Add a new class in Ghidra/Features/Base/src/main/java/ghidra/app/util/exporter extending Exporter.
Compile the jar and drop the new Base.jar into the patch folder.
Start ghidra and go to export a program.
Notice exporter not in list of exporters.
Open python
Enter ghidra.app.util.exporter.{new exporter class}
See <type 'ghidra.app.util.exporter.{new exporter class}'> returned
Exit ghidra, move Base.jar from the patch folder and into its correct path.
Repeat step 3 and see new exporter.

Environment (please complete the following information):

OS: Microsoft Windows [Version 10.0.18363.628]
Java Version: 13.0.2
Ghidra Version: 9.2

Additional context
This might only affect ExtensionPoints but I cannot say for sure yet. This has been around for a while but I've always written it off as something on my end. Since I saw the new classes were in the classpath I'm sure now that it isn't.

I probably broke this when I did the extension point priority stuff.

I probably broke this when I did the extension point priority stuff.

I'm not to sure about that. I recall having difficulty with it when writing the gcc rtti analyzer over the summer.

Confirmed.
The ClassSearcher is not scanning jar files from the patch directory in development mode.   Further, this is fallout from a change I put in long ago.

I am testing a fix now.  In the meantime, if you need this functionality, you can try adding the following system property:
-Dclass.searcher.search.all.jars=true'

What should the behavior be between extension point priority and patch directory?  Which should be more important?

What should the behavior be between extension point priority and patch directory? Which should be more important?

I would think classes in the patch directory would need to be found first and then only insert everything else found if the list doesn't contain it, and then sort by priority. This way extension points can be patched too. If they are added before or after sorting then the same prior issue would be encountered.

I am testing a fix now. In the meantime, if you need this functionality, you can try adding the following system property:
-Dclass.searcher.search.all.jars=true'

I took a quick look at the class searcher to check what container the classes are put in and happened to notice that the class searcher isn't using the SEARCH_ALL_JARS field. I'm not sure if the option would make a difference as far as the class searcher is concerned unless a parameter comes as a result of the field. I don't have time to check tonight though.

I took a quick look at the class searcher to check what container the classes are put in and happened to notice that the class searcher isn't using the SEARCH_ALL_JARS field. I'm not sure if the option would make a difference as far as the class searcher is concerned unless a parameter comes as a result of the field. I don't have time to check tonight though.

The ClassJar class uses it as part of its filtering criteria.  I have not tried it,but it passes the eyeball test.

What should the behavior be between extension point priority and patch directory? Which should be more important?

I am operating with the assumption that patch rules all.   I have always used this as a means to make the contained code the highest priority.

Out of curiosity, is it possible to have .class files loaded directly instead of needing to be in a .jar file? It could make minor quick changes relatively easy outside of a debug environment.

Out of curiosity, is it possible to have .class files loaded directly instead of needing to be in a .jar file? It could make minor quick changes relatively easy outside of a debug environment.

The code used to support this in the past.  I cannot recall at the moment why we stop supporting that feature.

Fixed in 9f66126cef10642b1a56cd2721968b10911af3c7


cleaned up getConfigMillis code

This just makes it cleaner to read, but functionally it's exactly the same.

Didn't notice you made a similar change already, feel free to delete.

Things are going too fast tonight :-D


Butchers Bridge (map 14) + Preseasons

Butchers Bridge is still missing, maybe Riot forgot to add it ?  Maybe it's better to wait and see which name Riot uses for the constant.
Preseasons do exist

Yeah, it looks like they forgot to add the mapId to the game constants page.
Thanks for noticing, and correcting!


Status Page Columns

I'm considering displaying uptime-kuma on a TV screen in my IT office where I work, for at a glance knowledge of outages for various services that I have to support.
As of now, uptime-kuma has a beautiful status page, as long as you don't have so many items that you'd have to scroll down.
What I'd like, is the ability to have 2 or 3 columns, to display more information without scrolling down.
Not sure how doable that would be.

I second this - I've just done the exact thing on our monitoring TV on the wall at work.  Will be fine until I have a lot of monitors, then I'd need some kind of autoscroll plugin or something unless we can adjust the layout

Great suggestion!  We have these on our TVs at work too.

I fully second this, I was just searching through all feature requests as it was somehow obvious, someone already requested it as well :-). Workaround so far is a 90° rotated monitor, which gives some more space.

+1 for this as well

Would something like this be possible through custom CSS?

Referencing #4236 which did include a better mock up using the custom css feature


Test ASv2 contracts deployed on mainnet

@Jesse-Sawa ran test suite of scripts successfully in mainnet :D


Opensource Git notebook storage support

[x]  add abstract NotebookProviders interface
[x] add FileSystemNotebookProvider
[x] add Git notebook storage ( git-notebook-provider module)

see git/README and the sample  for how to configure it
see conf/application-git-storage.conf for example of how to configure it (environment variables are optional)
there is a test-git-support.bash which runs the tests on your git repo (config picked up from env variables)

[x] add run-dev.sh script which picks the right config
[x] need to test if ssh auth with identity file (still) works
[x] mention Git in the main README
[x] hide revision-history when using provider not supporting versions 231d702

cc @andypetrella @maasg

ready to 🚢


Redesign the archive page to allow for more sorting of boards

Feature Request
The current archive board page works fine as a starting point but I believe more polish can be done in order to make it more obvious what the user is looking at.
Right now the archive page uses elements from thoughts and action items and the archived boards look like they are more thoughts and action items than a grouping of them. The current design also does not allow for filtering and sorting in an obvious way from the users perspective.
This new design, I believe, solves these issues.
These are mockups, not real!
Design

Also the UI for viewing the archived board will look a little different but basically the same.

This is how the archive page now looks.

Should we be able to delete boards? Isn't that the point of archives, so that they are complete?

Adds sorting to the archives page.


Slo status

I wasn't able to resolve the relative links that docusaurus should allow like [./backends.md], could you take a look  @sanjay920
The links I couldn't make work are marked with #TODO-link


Bug in handling Click event of LocalStorage webpage

Describe the bug
Click event is not properly handled, due to which checkbox is also not working
To Reproduce
Steps to reproduce the behavior:

Just input an item to be stored in LocalStorage
After pressing enter, try to mark the checkbox, you'll find that it is not working as expected.
Also, if we click anywhere on screen, the fish logo vibrates, which leads to a bad UX

Expected behavior
Checkbox should work as it should be and clicking anywhere on screen vibrates the fish logo, which needs to be changed.
There should be a delete option, which is not present now!
Logs
If applicable, add logs to help explain your problem (e.g. the error message and/or exception traceback).
Environment (please complete the following information):

OS: Ubuntu 20.04.1
Browser: Brave Browser v<IP_ADDRESS>

@AnandBIT can you please give some more info about it, by putting the screenshot or video so that we can see it. Kindly reply within 2 days or I have to close this.


Why squash is the only choice on merge ?

I just want to know the reason and why not rebase ?

I like how repository like https://github.com/vitejs/vite and others always squash PR. It favor small PR and as a contributor you can amend your PR by just pushing an extra commit instead of doing careful rebasing to keep a clean history.


dockerize the tool

I managed to (inefficiently) squeeze the youCanCodeAGif into a Docker-based solution to make it easier for others to not worry about the dependency chain involved.
I added a readme entry to help highlight how to use it. I know I used references to my assets, and I'm more than happy to change that to yours if you choose to build them as well.
Docker Hub repo for reference: https://hub.docker.com/r/slikshooz/youcancodeagif/

Using Docker Toolbox for Windows, after successfully run the command and downloaded the image, I get this error:
/bin/sh: -c requires an argument

@FenrirUnbound I would extend README to mention that this docker image is just environment for using this repo, not full implementation. So run command should also mention python main_script.py

@alkuzad Thank you for pointing that out and for the recommendation! I'm poor with words and tried to update the README to describe that key distinction.
@enorazza The README should be updated with more specific commands. Hopefully you can see the main_script.py get executed 🤞


sys/linux: add basic USB PRINTER descriptions

Also put USB HID descriptions together.

Codecov Report

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

@@            Coverage Diff            @@
##           master   #1316      +/-   ##
=========================================
- Coverage   57.66%   57.6%   -0.06%
=========================================
  Files         131     131
  Lines       24661   24661
=========================================
- Hits        14221   14207      -14
- Misses       9765    9780      +15
+ Partials      675     674       -1

Impacted Files
Coverage Δ

pkg/csource/csource.go
76.31% <0%> (-5.85%)
:arrow_down:

prog/rand.go
85.14% <0%> (+0.2%)
:arrow_up:

prog/mutation.go
93.89% <0%> (+1.13%)
:arrow_up:

Continue to review full report at Codecov.

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


[boost-modular-headers] download the license file only once

This PR minimizes internet access during installation of Boost header-only libraries.

Thanks for your PR. There is one vcpkg_download_distfile in files of boost-vcpkg-helpers, it means vcpkg just download the license from souce once. Maybe my understanding of the logic is wrong.

Thanks for your PR. There is one vcpkg_download_distfile in files of boost-vcpkg-helpers, it means vcpkg just download the license from souce once. Maybe my understanding of the logic is wrong.

boost-modular-headers is a helper port that provides a CMake function boost_modular_headers() that is called for every header-only Boost library. I've moved the download of the Boost license file from the boost_modular_headers function to the portfile.cmake, which is called once during the installation of the boost-modular-headers port.

Ah, cool, thanks!


Training KAN on a diabetes classification dataset

Now, I tried to train the KAN on a dataset that deals on classification.
My question are these:

Now when I tried to run this:

This was the error that I was seeing: ValueError: array must not contain infs or NaNs
I'm currently stuck here:

hi, does model.train() work well (doesn't show any NaN)? Can you nail down to whether the problem comes from train or auto_symbolic.

I tried it on a SCM dataset and my RAM gets full whatas ur specs

@KindXiaoming i think his issue is with the auto_symbolic function cuz it looks like his model is trained and pruned

@KindXiaoming I do think that this issue might be from the auto_symbolic.
Like @ChrisD-7 said, the model has been trained and pruned.

yup the low  visualization is not that good for classification probs

The dataset that I used isn't big but a little dataset used to train and test classification models. I will share my notebook

I ran a model and will share it as well will link my repo

@Chukwuebuka-2003  take a look : https://github.com/ChrisD-7/Fraud-Detection-in-Supply-Chains-with-Kolmogorov-Arnold-Networks

@ChrisD-7  I was able to run it, but I came across related errors
Here's the link to my repo on this: https://github.com/Chukwuebuka-2003/kan_diabetes

@Chukwuebuka-2003 let me take a look

@Chukwuebuka-2003 I have submitted a pull request. Please let me know if there are any additional changes needed:

@KindXiaoming I believe this issue can now be closed. The model is functioning well and achieved around 80% accuracy. I encountered some issues with converting the formula to NumPy, but I managed to resolve them.


Switch example to HTTPS

The demo is currently broken because GH pages moved to HTTPS some time ago. This PR switches all CDN and the tileserver to use HTTPS to avoid mixed content error on GH pages

Thank you very much!


Suddenly receiving 401 unauthorized message

Just noticed today that I wasn't getting any results from the addon (i've been selfhosting it and its been running fine for a long time). I updated to 1.3.1 a couple weeks ago and have had no issues. I thought I would restart the addon, when that didn't look i checked the container logs:
Same error received for every 'search'
{
message: 'failed to handle stream',
error: Error: Failed to fetch search results of query 'TITLE_OF_SHOW_HERE': 401 Unauthorized
at EasynewsAPI.search (/app/packages/api/dist/api.js:43:19)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async /app/packages/addon/dist/addon.js:111:19,
context: { resource: 'stream', id: 'tt1684562', type: 'movie' }
}
I removed / readded the addon, checked credentials, etc. Then i even used the public instance and its still returning no results. I thought something changed on the easynews side, but the other easynews addon is still working.
Not sure what is going on.

It's because they patched this  https://github.com/sleeyax/stremio-easynews-addon/pull/44

Can't reproduce this anymore. Can you? Maybe it was a temporary auth issue on their end.

I saw your comment and checked my setup again. It was still having the unauthorized issue on 1.3.1
I pulled 1.3.2 and everything is working again. So all good with latest update.


feat: conform more closely to OGC Processes API spec

Purpose

This PR updates the usage of the OGC Processes API python client to more closely conform to the OGC API Processes - Part 2: Deploy, Replace, Undeploy specification.

Proposed Changes

[CHANGE] Usage of the OGC Processes API python client to match client interface updates.

Issues

https://github.com/unity-sds/unity-sps/issues/129

Testing

SPS was successfully deployed with this version of the OGC API server. Following deployment, the cwl_dag process was deployed using the OGC API and executed multiple times with different inputs. The different inputs were reflected in the DAG run that was triggered by the execution. Job status was polled using the job status endpoint. Executions/jobs were also dismissed and dismissed jobs were verified to have been deleted from the list of OGC jobs as well as from the list of DAG runs. The cwl_dag was also successfully undeployed. This process was also performed using the unity-sds-client integration of this client.

@mike-gangl This PR is ready for review whenever you have time.

@drewm-jpl I was able to test the changes in your branch but the job completed in a failed state, the final status message I got was "Job 5d57cd23-196c-4702-aec9-c4f53544ca7d completed with status JobStatus.FAILED".  Not sure if that is expected or what, I was running the echo_message.cwl with a different message passed as an input, e.g., 'cwl_args': "{'message': 'Hello Godwin!'}".  I also tried running with the default "https://raw.githubusercontent.com/unity-sds/unity-sps-workflows/main/demos/echo_message.yaml" file and got the same JobStatus.FAILED state.  Not sure if this is an expected result or what, is that supposed to happen?

One last thing, we can turn off pre-commit checking of the Markdown files. i don't mind it being opinionated in the code, but changing README/CHANGELOG files for the sake of it isn't terribly useful. Anyone not using that pre-commit hook will probably blast those change in the next set of PRs.

One last thing, the checks are failing at the coveralls section because, for some reason, the job gets closed when we re-issue runs with updated changes. i'm not 100% sure why that happens, but we'll look into fixing that in the future,


Readme updates

Updated chart and sensor list.
Will need some editing once sensor ids are reworded.

Thanks for this. I edited the remaining pieces and uploaded a new README


Certificate Signing Request

This patch adds support for working with Certificate Signing Requests to
swift-certificates.
CSRs are a common feature of X.509 based PKIs. They're used to encapsulate
a number of details about the certificate being requested, and are
typically handed to CAs in exchange for a certificate. Their purpose is
to prove possession of a private key, and optionally some other useful
pieces of data.
This patch provides a complete representation of the CSR type, as well as
semantic types to cover the attributes that can be applied to a CSR.
Additionally, CSR signature validation is also available.

Addressed those comments, thanks!


C# 12 support

Tracking issue for supporting any new C# 12 language features in Razor for .NET 8.

Duplicate of https://github.com/dotnet/razor/issues/8965


Issue with onSeek callback

Bug

Platform

Which player are you experiencing the problem on:

Android ExoPlayer

Environment info

React native info output:
 // paste it here
System:
    OS: Windows 10
    CPU: (8) x64 AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
    Memory: 1.51 GB / 6.95 GB
  Binaries:
    Node: 12.13.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.19.1 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.12.0 - C:\Program Files\nodejs\npm.CMD
  SDKs:
    Android SDK:
      API Levels: 19, 21, 22, 23, 24, 25, 26, 27, 28
      Build Tools: 21.1.2, 24.0.1, 25.0.0, 26.0.2, 27.0.1, 28.0.3
      System Images: android-24 | Google APIs Intel x86 Atom_64, android-28 | Intel x86 Atom_64
  IDEs:
    Android Studio: Version  <IP_ADDRESS> AI-171.4443003
  npmPackages:
    react: 16.8.1 => 16.8.1
    react-native: 0.61.3 => 0.61.3

Library version: 4.4.5
Steps To Reproduce

Initialize the video player with onSeek callback handle
Seek the video using seek() method
The onSeek callback is called immediately

Expected behaviour

As per the documentation the onSeek callback should be called only after the seek completion.

I have the same issue...
Any updates on this issue?
@JohnPremKumar, were you able to fix it somehow?:)


Integrate evil-lion into evil-mode

This is a direct response to #2559.
I've updated :editor evil's docs about it accordingly.
evil-lion autoloads the correct operators, so there's really not much left for
me to do.

Adds gl, gL operators for alignment.

Only trouble with this is that evil-collection binds gl in a few places:
./modes/guix/evil-collection-guix.el:98:    "gl" 'guix-output-list-lint
./modes/guix/evil-collection-guix.el:113:    "gl" 'guix-package-info-lint
./modes/guix/evil-collection-guix.el:186:    "gl" 'guix-hydra-build-list-view-log)
./modes/dired/evil-collection-dired.el:201:      "gl" 'dired-subtree-down
./modes/pdf/evil-collection-pdf.el:163:    "gl" 'pdf-view-goto-label
./modes/debug/evil-collection-debug.el:59:    "gl" 'debugger-list-functions
./modes/mu4e/evil-collection-mu4e.el:166:     "gl" mu4e-show-log
./modes/mu4e/evil-collection-mu4e.el:223:     "gl" mu4e-show-log

We'd need exceptions for these.

Actually, nevermind. They all bind to their respective keymaps, which should override our global defaults. I'll double check when I get home.

Ok, I think I properly rebased this time.

Sorry for the trouble, and thanks for the help!


a step towards enforcing max_ejection_percentage

Part 1: https://github.com/envoyproxy/envoy/issues/26877
Commit Message: Do not eject more hosts than max_ejection_percentage allows.
Additional Description: Currently max_ejection_percentage of 50% will eject 2/3 pods. Which is more than 50%. This PR fixes that.
Risk Level: low
Testing: can add a unit test
Docs Changes: will do
Release Notes: Will add

/wait while I figure out why EXPECT_CALL isn't working

Thanks @KBaichoo for reviewing this 🙇

Can we also have a test for this?

I have added a test. PTAL and let me know your thoughts.
 Sharing just for context.


Dynamic breakpoints

Add support in the debug protocol for dynamic breakpoints.
Also add stopgap fixes for the unsupported breakpoints (i.e. add stop statements). While not ideal, it's still better to have them available.

This was implemented in #84


docker cp not working as documented

BUG REPORT INFORMATION
Description
The command:
docker cp containerid:source/path/src_folder_name/ dest/path/dest_folder_name/
puts the contents of src_folder_name in dest/path/dest_folder_name/src_folder_name instead of the parent dir dest/path/dest_folder_name as documented.  See documentation here:
https://docs.docker.com/engine/reference/commandline/cp/
Both source/path/src_folder_name/ and dest/path/dest_folder_name/ exist and are directories.
Output of docker version:
Client:
 Version:      1.12.6
 API version:  1.24
 Go version:   go1.6.4
 Git commit:   78d1802
 Built:        Wed Jan 11 00:23:16 2017
 OS/Arch:      darwin/amd64

Server:
 Version:      1.12.6
 API version:  1.24
 Go version:   go1.6.4
 Git commit:   78d1802
 Built:        Wed Jan 11 00:23:16 2017
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 11
 Running: 0
 Paused: 0
 Stopped: 11
Images: 52
Server Version: 1.12.6
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 98
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: host bridge null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.4.41-moby
Operating System: Alpine Linux v3.4
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 1.951 GiB
Name: moby
ID: XEI4:KV5E:QUMI:STWS:2Y2X:MXS2:X5QC:FUHS:Z27W:ZW3I:4ZKO:O4KR
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 17
 Goroutines: 29
 System Time: 2017-01-12T00:03:34.814396512Z
 EventsListeners: 1
No Proxy: *.local, 169.254/16
Registry: https://index.docker.io/v1/
WARNING: No kernel memory limit support
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):
Running on Mac OS 10.11.6

This behavior seems consistent with the *nix cp command.

From the same page; https://docs.docker.com/engine/reference/commandline/cp/

DEST_PATH exists and is a directory

SRC_PATH does not end with /
the source directory is copied into this directory
SRC_PATH does end with /
the content of the source directory is copied into this directory

Did a quick check;
$ docker run -d --name mycontainer nginx:alpine

A) Without trailing slash; creating the destination directory first
$ mkdir -p dest
$ docker cp mycontainer:/usr/share/nginx/html dest

$ tree dest
dest
└── html
    ├── 50x.html
    └── index.html

1 directory, 2 files

B) Trailing slash on source, creating the destination directory first;
$ mkdir -p dest2
$ docker cp mycontainer:/usr/share/nginx/html/ dest2
$ tree dest2
dest2
└── html
    ├── 50x.html
    └── index.html

1 directory, 2 files

C) Trailing slash, but not creating the destination directory first
$ docker cp mycontainer:/usr/share/nginx/html/ dest3
$ tree dest3
dest3
├── 50x.html
└── index.html

0 directories, 2 files

"B" looks to be either incorrect, or the documentation is incorrect
ping @jlhawn could you check? ^^

Looks like you just misread the documentation. I took a screenshot:

As you can see from the screenshot, the actual line is:

SRC_PATH does [not] end with /.

The trailing . is not punctuation.
Generally, if you specify a directory such as /path/to/foo as the SRC_PATH, that means copy this directory in its entirety. But if you specify it as /path/to/foo/. then that extra . path component means "copy all of the contents of this directory".
If you modify your case B) with this change then I would expect this result:
$ mkdir -p dest2
$ docker cp mycontainer:/usr/share/nginx/html/. dest2
$ tree dest2
dest2
├── 50x.html
└── index.html

@jlhawn You are correct.  I definitely read the . as punctuation.  I apologize for the silly issue.

@josh-tepper no problem! I don't think it's a silly issue, really. I remember back to when I was trying to get the behavior correct to match the *nix cp utility. There are actually subtle differences between BSD and GNU copy utilities that I discovered. For example, in Mac OS X's cp utility, specifying path/to/foo/ is the same as specifying path/to/foo/..
Another interesting thing to note is that, on most systems, the trailing / means to dereference a symlink if the last component is a symlink, e.g.: if /path/to/foolink is a symbolic link, then cp -a /path/to/foolink /dest/foolink copies the symlink and not the symlink target, however cp -a /path/to/foolink/ /dest/foo resolves the symlink and copies its target!

Oh! Yes, I definitely overlooked it, I was aware of differences between trailing slash or not, but missed the dot. 👍

Would ending the list items with some actual punctuation (":" looks like it would be appropriate in the context) make this clearer do you think?
i.e.

DEST_PATH exists and is a directory:

SRC_PATH does not end with /.:
the source directory is copied into this directory
SRC_PATH does end with /.:
the content of the source directory is copied into this directory

or/and perhaps just spelling it out, literally saying:
... end with /. (that is: slash followed by dot)
?

I think spelling it out literally takes away any confusion, so would have my preference (even if it is verbose).

@thaJeztah I'd offer to make a PR but I'm unsure which of docs/reference/commandline/cp.md and/or man/src/container/cp.md I should change.

@ijc25 they may both have to be updated; I think the plan is to use a single source (and use the man pages), but the man pages currently lack a lot of information that is present in the "reference" docs, so  please update both :)

Thanks for the fix @ijc25.
There's one other ambiguity in the documentation/implementation that I've come across.  @jlhawn - Maybe you can confirm the behavior/whether I should open another new github issue:  When I run:
docker --follow-link container_id:source/path dest/path

I would expect that when source/path/ contains files that are symlinked, e.g. source/path/file.symlink, and subdirectories that are symlinked, e.g., souce/path/dir.symlink/more_files, that all of those would be resolved, and that I would get the files at dest/path.  This is not the case.  Instead I end up with broken symlinks.
My best guess is that --follow-link refers to links that are in source/path/ itself, e.g., souce.symlink/path/, but I haven't tested that.  Even so, that doesn't really make so much sense for me as a feature.  This is because as @jlhawn pointed out above, there is already a *nix cp notion as to whether to resolve symlinks at the end of path (based on the trailing /), and it seems that symlinks in the middle of a path should always be resolved.
Let me know if this is also confusing to you guys -- if so I'll open a new issue.

It doesn't work if you have not installed the latest version. I was using podman-docker and it didn't have docker cp command. However, docker-ce package has docker cp command


I can not get SN Code

Hi Darryncampbell:
I'm a communitor of GreaterWMS--An open source warehouse management system .
GreaterWMS Link: Github
Now, I wanna to get the PDA SN code , but failed .
How I can get SN code by this plugin?

Currently, We use this plugin in our WMS , Our user can use zebra scanner to scan the barcode .
cordova template link: GreaterWMS Cordova

Hi, The Android serial number API was changed by Google in A10 to prevent unprivileged apps from accessing the serial number.  Zebra devices do expose the SN through a different API but that is based on a content provider so this plugin could not access it.  More info and native code samples for the Zebra SN API are here: https://developer.zebra.com/blog/device-identifiers-zebra-devices-running-android-10-%25E2%2580%2593-complete-guide

Hi , Could I build it in a cordova plugin?

Hi , Could I build it in a cordova plugin?

Yes, this plugin is released under MIT so there are no restrictions


CMake: cannot install target doctest_with_main

Hello,
I'm currently trying to package doctest for conan-center-index, but I'm struggling with the target doctest_with_main, which has the property EXCLUDE_FROM_ALL.
This property prevents the target from being installed normally. Is this a wanted behavior?

I don't think it's necessary to package doctest_with_main - the user could easily make some .cpp file and just define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN before including doctest.h.
The EXCLUDE_FROM_ALL property is there so it doesn't get compiled by default when the CMakeLists.txt is used as a subproject - not everyone would need it.

I'm closing this since I don't think anything more needs to be done here :)


error with runing offlline_node cartographer_paper_deutsches_museum.bag without ros,

First of all !
Thanks for your share!
I made it successfully.
However,when i run  cartographer_paper_deutsches_museum.bag using offline_node,
it print out said "W0802 13:53:34.000000  8483 ordered_multi_queue.cc:155] Queue waiting for data: (0, echoes) "
and the result file .pbstream is so small which is just about 90 bytes.It seemed to be wrong?
Could you help me to run this bag?
Maybe there is some mistakes during my code.
I just modify the code just as below:
DEFINE_string(configuration_directory, "/home/mm/cartographer_superbuild/cartographer_ros/cartographer_ros/configuration_files",
"First directory in which configuration files are searched, "
"second is always the Cartographer installation to allow "
"including files from there.");
DEFINE_string(
configuration_basenames, "backpack_2d.lua",
"Comma-separated list of basenames, i.e. not containing any "
"directory prefix, of the configuration files for each trajectory. "
"The first configuration file will be used for node options. "
"If less configuration files are specified than trajectories, the "
"first file will be used the remaining trajectories.");
DEFINE_string(
bag_filenames, "/home/mm/Downloads/cartographer_paper_deutsches_museum.bag",
"Comma-separated list of bags to process. One bag per trajectory. "
"Any combination of simultaneous and sequential bags is supported.");
DEFINE_string(urdf_filenames, "/home/mm/cartographer_superbuild/cartographer_ros/cartographer_ros/urdf/backpack_2d.urdf",
"Comma-separated list of one or more URDF files that contain "
"static links for the sensor configuration(s).");
DEFINE_bool(use_bag_transforms, true,
"Whether to read, use and republish transforms from bags.");
DEFINE_string(load_state_filename, "",
"If non-empty, filename of a .pbstream file to load, containing "
"a saved SLAM state.");
DEFINE_bool(load_frozen_state, true,
"Load the saved state as frozen (non-optimized) trajectories.");
DEFINE_bool(keep_running, false,
"Keep running the offline node after all messages from the bag "
"have been processed.");
DEFINE_double(skip_seconds, 0,
"Optional amount of seconds to skip from the beginning "
"(i.e. when the earliest bag starts.). ");

Because there is no ros installed on my computer,I can't use ros launch file or rosrun to run the code,pls help me to launch the code
by the correct way.Thanks!!!

When I use cmd below :
./cartographer_offline_node -configuration_directory /home/mm/cartographer_superbuild/cartographer_ros/cartographer_ros/configuration_files -configuration_basenames backpack_2d.lua -urdf_filenames /home/mm/cartographer_superbuild/cartographer_ros/cartographer_ros/urdf/backpack_2d.urdf -bag_filenames /home/mm/Downloads/cartographer_paper_deutsches_museum.bag
It always print out below:
I0803 12:17:16.000000  9091 configuration_file_resolver.cc:41] Found '/home/mm/cartographer_superbuild/cartographer_ros/cartographer_ros/configuration_files/backpack_2d.lua' for 'backpack_2d.lua'.
I0803 12:17:16.000000  9091 configuration_file_resolver.cc:41] Found '/home/mm/cartographer_superbuild/cartographer/configuration_files/map_builder.lua' for 'map_builder.lua'.
I0803 12:17:16.000000  9091 configuration_file_resolver.cc:41] Found '/home/mm/cartographer_superbuild/cartographer/configuration_files/map_builder.lua' for 'map_builder.lua'.
I0803 12:17:16.000000  9091 configuration_file_resolver.cc:41] Found '/home/mm/cartographer_superbuild/cartographer/configuration_files/pose_graph.lua' for 'pose_graph.lua'.
I0803 12:17:16.000000  9091 configuration_file_resolver.cc:41] Found '/home/mm/cartographer_superbuild/cartographer/configuration_files/pose_graph.lua' for 'pose_graph.lua'.
I0803 12:17:16.000000  9091 configuration_file_resolver.cc:41] Found '/home/mm/cartographer_superbuild/cartographer/configuration_files/trajectory_builder.lua' for 'trajectory_builder.lua'.
I0803 12:17:16.000000  9091 configuration_file_resolver.cc:41] Found '/home/mm/cartographer_superbuild/cartographer/configuration_files/trajectory_builder.lua' for 'trajectory_builder.lua'.
I0803 12:17:16.000000  9091 configuration_file_resolver.cc:41] Found '/home/mm/cartographer_superbuild/cartographer/configuration_files/trajectory_builder_2d.lua' for 'trajectory_builder_2d.lua'.
I0803 12:17:16.000000  9091 configuration_file_resolver.cc:41] Found '/home/mm/cartographer_superbuild/cartographer/configuration_files/trajectory_builder_2d.lua' for 'trajectory_builder_2d.lua'.
I0803 12:17:16.000000  9091 configuration_file_resolver.cc:41] Found '/home/mm/cartographer_superbuild/cartographer/configuration_files/trajectory_builder_3d.lua' for 'trajectory_builder_3d.lua'.
I0803 12:17:16.000000  9091 configuration_file_resolver.cc:41] Found '/home/mm/cartographer_superbuild/cartographer/configuration_files/trajectory_builder_3d.lua' for 'trajectory_builder_3d.lua'.
Parsing robot urdf xml string
I0803 12:17:16.000000  9091 playable_bag.cc:63] Processed 0 of 1912.98 seconds of bag /home/mm/Downloads/cartographer_paper_deutsches_museum.bag
I0803 12:17:16.000000  9091 submap_2d.cc:187] Added submap 1
I0803 12:17:16.000000  9091 map_builder_bridge.cc:130] Added trajectory with ID '0'.
I0803 12:17:16.000000  9091 offline_node.cc:274] Assigned trajectory 0 to bag /home/mm/Downloads/cartographer_paper_deutsches_museum.bag
W0803 12:17:16.000000  9091 ordered_multi_queue.cc:155] Queue waiting for data: (0, echoes)
W0803 12:17:16.000000  9091 ordered_multi_queue.cc:155] Queue waiting for data: (0, echoes)
W0803 12:17:16.000000  9091 ordered_multi_queue.cc:155] Queue waiting for data: (0, echoes)
W0803 12:17:16.000000  9091 ordered_multi_queue.cc:155] Queue waiting for data: (0, echoes)
W0803 12:17:17.000000  9091 ordered_multi_queue.cc:155] Queue waiting for data: (0, echoes)
W0803 12:17:17.000000  9091 ordered_multi_queue.cc:155] Queue waiting for data: (0, echoes)
W0803 12:17:17.000000  9091 ordered_multi_queue.cc:155] Queue waiting for data: (0, echoes)
W0803 12:17:17.000000  9091 ordered_multi_queue.cc:155] Queue waiting for data: (0, echoes)
W0803 12:17:17.000000  9091 ordered_multi_queue.cc:155] Queue waiting for data: (0, echoes)
W0803 12:17:17.000000  9091 ordered_multi_queue.cc:155] Queue waiting for data: (0, echoes)
...


Topics '/camera/image_raw' and '/camera_info' do not appear to be synchronized

After launching rectify_resize_fpga_streamlined application using below command, duplicate node has been observed on KR260. This seems to be breaking the functionality of the app
We observed only a 4-5 frames  during 5 minutes of testing and most of the time there is no message published on /resize topic,.
ros2 launch perception_2nodes trace_rectify_resize_fpga_streamlined.launch.py

[INFO] [launch]: All log files can be found below /root/.ros/log/2022-06-27-18-31-27-439445-kria-3015
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [tracetools_launch.action]: Writing tracing session to: /root/.ros/tracing/trace_rectify_resize_fpga_streamlined
[INFO] [rectify_resize_fpga_streamlined_node-1]: process started with pid [3028]
[rectify_resize_fpga_streamlined_node-1] [WARN] [1656354692.192969458] [rcl.logging_rosout]: Publisher already registered for provided node name. If this is due to multiple nodes with the same name then all logs for that logger name will go out over the existing publisher. As soon as any node with that name is destructed it will unregister the publisher, preventing any further logs for that name from being published on the rosout topic.
[rectify_resize_fpga_streamlined_node-1] [WARN] [1656354705.248085520] [rectify_resize_fpga_streamlined_node]: [image_transport] Topics '/camera/image_raw' and '/camera_info' do not appear to be synchronized. In the last 10s:
[rectify_resize_fpga_streamlined_node-1] 	Image messages received:      3
[rectify_resize_fpga_streamlined_node-1] 	CameraInfo messages received: 0
[rectify_resize_fpga_streamlined_node-1] 	Synchronized pairs:           0
[rectify_resize_fpga_streamlined_node-1] [WARN] [1656354937.192651937] [rectify_resize_fpga_streamlined_node]: [image_transport] Topics '/camera/image_raw' and '/camera_info' do not appear to be synchronized. In the last 10s:
[rectify_resize_fpga_streamlined_node-1] 	Image messages received:      6
[rectify_resize_fpga_streamlined_node-1] 	CameraInfo messages received: 17
[rectify_resize_fpga_streamlined_node-1] 	Synchronized pairs:           5

below are the list of nodes observed
ubuntu@kria:~$ ros2 node list
WARNING: Be aware that are nodes in the graph that share an exact name, this can have unintended side effects.
/rectify_resize_fpga_streamlined_node
/rectify_resize_fpga_streamlined_node

It is unclear to me if this duplication of nodes can cause synchronization issue.
Can you please help in resolving?

After commenting the line 91 in the launch fine, the duplicate nodes issue is resolved.

after the fix suggested by @mohammedrafi-sk , duplicate node issue got resolved. but still /image_raw and /camera_info topics appears to be out of sync.


Incorrect number of unsaved files shown after rename symbol

VSCode Version: 1.4
OS Version: Windows 10

Steps to Reproduce:

Open a file
Rename a symbol that is used in other files

Other files that referenced it are opened and show as dirty in tabs, the file list and the count on the explorer badge, but it still says "1 unsaved" next to the "open editors" heading.

@isidorn can you look into this?

Hi guys, submitted a PR for this issue. Please let me know if there are any issues.

@isidorn I think any unread indicator needs to react to events from the text file service and not the stacks model to find out that something got dirty. You might want to revisit this in openEditorsView.ts

Thanks! @ramamurthynagaraj


Building ORT Sample

I am using ubuntu to run batch inferencing. I couldn't find the file image_classifier .exe in my build folder to perform inferencing. I have few questions on doing this,

Can you tell me what's the alternative for image_classifier.exe as I am using Ubuntu?.
Is building onnxruntime for inferencing same as building onnxruntime sample?
Please revert back ASAP.
Thanks in advance!!

could you tell me how it can be done on linux?


Adding game icon

Describe your changes
Adding an icon for our game. This will be used for the .exe file and when in the taskbar
Issue number and link
#194
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I have written any applicable tests
[x] I have commented my code, particularly in hard-to-understand areas
[x] This complies with the product coding guidelines

Added an icon to the game files and to the readme. Would love feedback on how people like it. The icon shows up both on the .exe and in the task bar when the game is open. You need to build it in a new folder so the cache doesn't use the old icon


Feature/mpcd sine channel

Roughly in good shape.
I've tested with hoomd 2.6.0 and 2.9.7, on ubuntu 18 and mac, with and without CUDA 10.1. Everything seems to be working as intended. I only tested with -DBUILD_MPCD=ON, so we should double check that all files are imported and listed where they belong.
Currently, there is a unit test for mpcd particles only. I'm considering creating a separate (identical) unit test for MD particles.
I've removed the wall velocity, and introduced a check that the periodicity of the wall needs to be an interger. I also put in errors for mpcd on GPU as it is not working currently (polymorphism issue).
Please have a look and let me know what you think. I'm also going to send you scripts for testing with DPD seperately.

Minus some formatting, this should also be good to go. Please let me know if I forgot something you want me to address.

Essentially all unit tests are now passing. I think the failing 2.8.0-nocuda-mpi-double is probably a random deadlock due to the MPI configuration, as no changes have been made to these files and it is passing no problem on develop. I will review all the code and then I think this will be set to merge.

Everything looks good, unit tests pass. Ready to merge!


Create dvmhum.txt

Add other domain, mail domain for students, from DvM Humaniora to the list.

@datassthough Pull request merged. Thank you.


Demo Page Login fails

Demo Page Login fails when using credentials: admin/admin:
message.error
login.authFail

someone changed the password, but the message is not correct

Got the error
"POST http://localhost:9001/api/auth/local 404 (Not Found)"

I didn't get the post error. Could you please show me the steps to reproduce? @KL-Kim

$ vue init erguotou520/vue-fullstack vueFullstack
? Project name vue-fullstack
? Project description A vue-fullstack project
? Author KL-Kim<EMAIL_ADDRESS>? Use real backend server or mock server Backend
? Port that backend server listen at development environment 9000
? Port that frontend server listen at development environment 9001
? MongoDB uri, '-dev' will be appended in development, default is local uri
? Need vue-i18n? Yes
$ npm install
$ npm run server
I can see that admin user is added to mongodb.
$ npm run client
In the login page, but I failed to login with admin/admin, and I can saw the error message from browser console.

@KL-Kim  fixed in https://github.com/erguotou520/vue-fullstack/commit/1e518d916c3d5256ca68c0bff23776759f62e2ea

Awesome! @erguotou520

Currently I change the demo project to be generated by travis-ci automatically after a lot of attempts, and the login message was fixed. So close this issue.


Rename Trusted Application Pipeline to Konflux

/cc @Hyperkid123 @karelhala

The stage is automated, and prod is usually once a day. Just pushed the prod changes.


PackageId:CPython39.Exe.x64;PackageAction:DownloadPackage;ReturnCode:0x80131620;

This issue has been moved from a ticket on Developer Community.

Describe your issue here
===DO NOT EDIT BELOW THIS LINE===
PackageId:CPython39.Exe.x64;PackageAction:DownloadPackage;ReturnCode:0x80131620;

Original Comments
Feedback Bot on 12/26/2022, 06:17 PM:
(private comment, text removed)

Original Solutions
(no solutions)

duplicate of #7324


Implement Core Algorithms in JAX

The other day @janosg suggested that implementing some of the core algorithms in JAX might provide exceptional performance improvements.
pyfixest's alternating projections algorithm is implemented here.
A vectorized numpy version of the algorithm is implemented in the pyhdfe library.
A very simple implementation of the MAP algorithm is sketched out in R in the lfe documentation (at the bottom of page 5):
demean <- function(v, fl) {
  Pv <- v
  oldv <- v - 1
  while (sqrt(sum((Pv - oldv)**2)) >= 1e-7) {
    oldv <- Pv
    for (f in fl) Pv <- Pv - ave(Pv, f)
  }
  Pv
}

Also tagging @jeffgortmaker, as I recall you suggesting using JAX to solve the MAP fixed point problem at some point =)

No guarantees but could be worth a try. The important thing would be to use lax control flow operators instead of Python loops and vectorize as much as possible.

Which could be a good candidate algorithm to start with? I might also wanna try it :)

Probably just simple iterative de-meaning. Here's something close that I threw together for my own research:
def jax_residualize(matrix, ids, iterations=100):
    """Iteratively residualize a matrix within groups. With more than one set of groups, simply de-mean up to a fixed
    number of iterations to allow for reverse mode differentiation (neither custom roots nor returning the same thing
    after a tolerance was reached seemed to be working).
    """
    import jax
    import jax.numpy as jnp

    def demean(values, groups):
        """Demean within groups."""
        group_sums = jax.ops.segment_sum(values, groups, groups.size)
        group_counts = jax.ops.segment_sum(jnp.ones_like(values), groups, groups.size)
        group_means = group_sums / jnp.where(group_counts == 0, 1, group_counts)
        return values - group_means.at[groups].get()

    def demean_all(values):
        """Demean within all sets of groups."""
        return jax.lax.scan(lambda v, g: (demean(v, g), None), values, ids.T)[0]

    def residualize_column(column):
        """Residualize a single column within groups."""
        if len(ids.shape) == 1:
            return demean(column, ids)
        if ids.shape[1] == 1:
            return demean(column, ids.at[:, 0].get())
        return jax.lax.scan(lambda x, _: (demean_all(x), None), column, None, length=iterations)[0]

    return jax.vmap(residualize_column)(matrix.T).T

You probably want to replace the fixed-length lax.scan with a lax.while_loop that terminates either after hitting a max number of iterations or after hitting a termination tolerance. And you can probably improve on not having a static groups size, etc.
(I wrote the above code to always do a fixed number of iterations for multiple dimensions of fixed effects because in my own work this is part of a function that I need to reverse-mode differentiate. And I couldn't manage to wrap lax.while_loop with a lax.custom_root in this setting---not sure why. If you manage to get reverse-mode differentiation working I'd love to see!)

Wow! Thanks for the (fast!) input! I have encountered this issue in the past (see https://github.com/pyro-ppl/numpyro/pull/1731) and I have empirically seen the forward differentiation is much slower for large data sets. I guess that is expected in view of what they explain in https://jax.readthedocs.io/en/latest/notebooks/autodiff_cookbook.html#jvps-in-jax-code I am not an expert though  🙈

Yep! Makes sense that differentiating each iteration of the fixed point would be slower.
I've had success with the backward differentiation-compatible lax.custom_root approach in other settings (applying the implicit function theorem to the root implied by the fixed point), but not sure why it wasn't working here (I was getting derivatives of zero). Could have just been a bug in my code. Also not an expert!

Thanks @jeffgortmaker for chiming in and even providing some code! =) I agree that the demeaning algo is the one we should try first, as it is easily vectorized and it is the most costly algo to run.

Great! Agree with that thread that I'm curious what GPU performance looks like.


[#978][Improvement] Provides a tool class to format CLI output content

What changes were proposed in this pull request?
Provides a tool class to format CLI output content.
Why are the changes needed?
Fix: #978
Does this PR introduce any user-facing change?
The CLI command display is more beautiful.Similar to：

How was this patch tested?
Added UT.

Codecov Report

Merging #979 (b8ffd25) into master (bb61efb) will increase coverage by 12.76%.
The diff coverage is 86.02%.

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

@@              Coverage Diff              @@
##             master     #979       +/-   ##
=============================================
+ Coverage     44.23%   57.00%   +12.76%
- Complexity        0     2084     +2084
=============================================
  Files            20      309      +289
  Lines          2360    12971    +10611
  Branches          0     1200     +1200
=============================================
+ Hits           1044     7394     +6350
- Misses         1245     5159     +3914
- Partials         71      418      +347

Impacted Files
Coverage Δ

...n/java/org/apache/uniffle/cli/CLIContentUtils.java
86.02% <86.02%> (ø)

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

@jerqi This error is not caused by me, take a hard look

It has been modified, please review it @slfan1989 @zuston

It has been modified, please review it @slfan1989 @zuston

Could this apply one cli command in this PR? I'm not sure we will use this in the current implementation currently.
Anyway, this looks good to me.

Merged.
Thanks @yl09099


Using Official MS EDGE Docker image

Is there a way we can use Microsoft Edge Browser Docker image to run tests with Selenoid?
https://hub.docker.com/_/microsoft-msedge-msedgedriver

@inluxc take a look at these instructions: https://github.com/aerokube/windows-images

@inluxc It seems that the MS Edge docker image is Windows docker image instead of Linux docker image, Selenoid could only work with Linux docker image

@chrischjh probably, but so far as I know in Windows Docker images it is impossible to start applications with graphical interface.

Edge coming to Linux: https://www.omgubuntu.co.uk/2020/09/microsoft-edge-linux-preview-october

@chrischjh yeah, we'll build an official image then.

Edge should be available via the packet manager or directly via the dev channel https://www.microsoftedgeinsider.com/de-de/download I'am really looking forward for the new docker image!

@mcahornsirup not yet for Linux.

@mcahornsirup not yet for Linux.
Yes, not yet, but very, very soon : )

Progress: https://www.microsoftedgeinsider.com/en-us/download/?platform=linux-deb

@mcahornsirup closing in favor to aerokube/images#302.


Set table column width in px

Describe the feature you'd like
A way to set table column width in px the same way we can set row height.
Describe the benefits this feature would bring to BookStack users
Precise control of column widths. Right now, setting column width involves dragging borders until it looks just about right.

Hi @ongmark,
This is currently possible although a little hard to find, Check out this video to get an idea how to achieve this.
Let me know if that does what you wanted.

@ssddanbrown yes, this is exactly what i was looking for. Thanks!

@ongmark Awesome! Will therefore close this.


The definitive upgrade guide to SilverStripe 4

A comprehensive step-by-step guide to upgrading a SilverStripe 3 site to SilverStripe 4.
Parent issue
https://github.com/silverstripe/silverstripe-upgrader/issues/72

Shall we hold off merging this until we retag the recipes?

Let's get everything else in here across the line, it's a simple change once we re-tag. But yes, it blocks the merge.

I think I've got all the big points sorted. There's a few things I would like to clear:

Need to confirm if we're merging with the 1.x recipe versions or the the 4.x recipe versions
@chillu mentioned that should updating config value in _config.php will slow execution down ... need some clarification on that
Need to find out if we have an article explaining recipes that I can link to
Need to raise a bug on the upgrader failing when adding namespace with only a vendor name.

Alright, @maxime-rainville I couldn't help myself and done some tweaks. Tried to keep them as isolated commits. Can you review please? I think we're pretty much there now, unless you have anything else.


Fix documentation links in zebrad::config::ZebradConfig

Motivation
The link to the zebra_network (and other) field type Config goes to the wrong page.
https://doc.zebra.zfnd.org/zebrad/config/struct.ZebradConfig.html

Do we already have a ticket for this?

closed as duplicate of #7048


Supports ELK Version : 7.10.0 and 7.10.1

@codingchili
Does kibana mithril support eLK version 7.10.0? ..
Need step by step installation in centos 7.X. For 1 year I have been looking for this kind of tool in my production deployment. Kindly share the installation instruction for ELK ver 7.10.0.
[root@elk-logging bin]# ./kibana-plugin install 'https://github.com/codingchili/kibana-mithril/releases/download/1.2.1/mithril-windows-x86_64-7.0.0-beta1.zip' --allow-root
Found previous install attempt. Deleting...
Attempting to transfer from https://github.com/codingchili/kibana-mithril/releases/download/1.2.1/mithril-windows-x86_64-7.0.0-beta1.zip
Transferring 20609584 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Plugin installation was unsuccessful due to error "No kibana plugins found in archive"
Tried to build
./release.sh 7.10.0
./kibana-plugin install /root/ldap-kibana/kibana/kibana-mithril/build/dist/mithril-GNU.Linux-x86_64-7.10.0.zip --allow-root
Found previous install attempt. Deleting...
Attempting to transfer from /root/ldap-kibana/kibana/kibana-mithril/build/dist/mithril-GNU.Linux-x86_64-7.10.0.zip
Attempting to transfer from https://artifacts.elastic.co/downloads/kibana-plugins//root/ldap-kibana/kibana/kibana-mithril/build/dist/mithril-GNU.Linux-x86_64-7.10.0.zip//root/ldap-kibana/kibana/kibana-mithril/build/dist/mithril-GNU.Linux-x86_64-7.10.0.zip-7.10.0.zip
Plugin installation was unsuccessful due to error "No valid url specified."
[root@elk-logging bin]# ./kibana-plugin install file:///root/ldap-kibana/mithril-GNU.Linux-x86_64-7.0.0-beta1.zip --allow-root
Found previous install attempt. Deleting...
Attempting to transfer from file:///root/ldap-kibana/mithril-GNU.Linux-x86_64-7.0.0-beta1.zip
Transferring 14397620 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Plugin installation was unsuccessful due to error "No kibana plugins found in archive"
[root@elk-logging bin]#

Hello,
Thanks for submitting an issue.
The plugin has not been tested on 7.10.0, its possible the plugin format has changed since the last release.
Note that the versions must match, or the plugin will not be installed - for for 7.10.0 which there's no plugin release for you'll need to run the release script. Should be an easy fix if the plugin is otherwise compatible with the new version.
Here is a plugin generator for Kibana, could be used to create an empty shell to compare to. I'll guess it has something to do with package.json or the file structure of the zip.
https://www.elastic.co/guide/en/kibana/current/plugin-tooling.html
Seems like the directory structure has been updated, maybe it'll work if the kibana-mithril is moved into a plugins directory in the zip. (kibana/plugins/kibana-mithril) instead of (kibana/kibana-mithril)
I'm very busy at the moment and this is one of my projects with lower priority, due to the high maintenance cost of keeping Kibana plugins up to date.

So the directory trick didn't work for me. It seems that since 7.10 legacy plugins need to be migrated to the new Kibana Platform Plugin API...
https://www.elastic.co/guide/en/kibana/current/migrating-legacy-plugins.html
@ck-7 did you manage to migrate the plugin to the new kibana version?


IME support

Now IME candidate window can move with text cursor, both on web(laptop/desktop) and native app.This is part of the work at #248 , it is relatively simple and independent of the rest of the work, a separate PR is submitted.

This looks great! Let me know when it is ready for review.

Well, it is done. Thera is a little bug in composition events part on mobile devices, so it will be commited latter. @emilk


Ros2 and Rviz2 port?

It seems weird that it is not easy to display a mesh in RViz without an external plugin or hacking a URDF file to do it for you.
Then I found this project that looks like everything I need and more.  Great work here.  Is there any effort in place to get it working in Ros2 with Rviz2?  As I understand, RViz has not changed much in porting to Ros2.

https://index.ros.org/doc/ros2/Contributing/Migration-Guide/

Feel free to propose a pull request. Maybe the port to RViz2 will be done in 2021, but maybe the software will be ported not before 2022.

For now, I've moved to using the MESH_RESOURCE marker type in RViz.  It's good enough for my use case.
I had tried to migrate this code myself, but I don't know enough about ROS1, ROS2, or this code base to do it in a reasonable amount of time.


Remove the SSH tunnel and connect to the DB directly

Removed all mentions of the SSH tunnel. Please notice that you will have to locally modify your dbDetails.yml file as shown in the template.

Looks great, much simpler now.
pytest with DB and sim_telarray is all fine.
@orelgueta you may merge it.


feature request: display # of notifications in browser window/tab title (main.js?)

https://github.com/redmatrix/hubzilla/blob/47d55694a4c84b6c12c0db61a69bcac8b671b20e/view/js/main.js#L396
I see that we could insert in this region above a snippet to update the title of the browser window/tab to reflect the number of active notifications. This would allow one to know if there is anything new just by looking at the name of the tab, instead of going back and forth from tab to tab to see if there is no news (in case one is browsing other sites in other tabs).
Examples:

no notifications: browser tab title = "Hub name"
5 active notifications: browser tab title = "(5) Hub name"

[master 4addde7] put unseen network count in page title; hubzilla issue #843

Thanks a lot for the quick action. Data.notify seems more adequate to me as it concerns direct replies/actions only on topics I have showed interest into, network notifications being very frequent and broad.
I lost my hub in the update to 2.6 and the backup restore failed so I can't ask the community what their preference would be right now. I'll load my private key into another hub until my own is back up and running (blessed be nomadic identity).
Thanks again.

Ouch. Sorry to hear that. Anyway I was torn between what to display; and network notifications is the important one to me, but I imagine others may have different preferences; or have it change based on what page/tab is currently loaded. Now that there is a mechanism, feel free to extend it to your needs.
Anyway back to the restore briefly - did you also update addons? That would be critical in a major upgrade like this.

Just did a git pull but couldn't yet get my hands on the command to update the plugins. I just had access to the server for a short time. I'll look into it, thanks!

util/safemode on
will allow you to start without plugins by disabling them all. It stores the names of the disabled plugins in a file in the top level directory so that 'safemode off' can re-enable them.
util/udall will git pull everything - core, addons, themes, and any other third-party resources you're using.

It worked. Thanks again !


tuple: Support Rust-style nested tuple

https://github.com/bluejekyll/foundationdb-rs/pull/47#issuecomment-385746621

I think there is nothing to do here... There is one thing that would be cool, but I'm not sure what we can do here, right now you can't decode into something that's comparible with borrowed tuples, example:
("str", (4,2)).encode_to_vec() == ("str".to_string(), (4,2)).encode_to_vec()
but this is not true:
("str", (4,2)) != <(String, (i64, i64))>.decode_full(&[...])
Not sure what we can do there...

Right now you can't decode into something that's comparable with borrowed tuples

This is a limitation from how Rust compares tuples.
("str", (4,2)) != ("str".to_string(), (4,2))

I think we should drop the single tuple variant generate in the tuple module: (0 T0)
It would remove this confusion: as far as I can tell (1,).encode() == 1.encode(), we really need to validate that. Especially b/c I'm fairly certain that (1, (1,)).encode() != (1, 1).encode() and that's a little awkward...


AP-2333 Dependant attributes

Add remaining Dependant attributes to CLIENT_RESIDING_PERSON entity
This ticket
and
this ticket
Originally, these two tickets were to add single attributes relating to dependants to the payload.  However, these attributes were for adults, and the CLIENT_RESIDING_PERSON entity was only being added for child dependants.  It turns out that there needs to be an instance block for each dependant, with some attributes for adults only, some for children only and some for both.  This rectifiers that situation and should be the last of the dependant attribtues.
Checklist
Before you ask people to review this PR:

[ ] Tests and rubocop should be passing: bundle exec rake
[ ] Github should not be reporting conflicts; you should have recently run git rebase master.
[ ] There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
[ ] The PR description should say what you changed and why, with a link to the JIRA story.
[ ] You should have looked at the diff against master and ensured that nothing unexpected is included in your changes.
[ ] You should have checked that the commit messages say why the change was made.

Codecov Report

Merging #2695 (72cea02) into master (7026c75) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master     #2695   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          531       531
  Lines        11034     11041    +7
=========================================
+ Hits         11034     11041    +7

Impacted Files
Coverage Δ

app/models/dependant.rb
100.00% <100.00%> (ø)

app/services/ccms/requestors/case_add_requestor.rb
100.00% <100.00%> (ø)

...ms/requestors/non_passported_case_add_requestor.rb
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


reorg docs nav + add cloud pages

Description
This pr...

reorgs the docs navigation
restyles the docs navigation
introduces 4 new cloud pages
adds a new partial layout for these 4 new cloud pages

ux designs in figma
Review deets

if you give the files changed tab a few minutes to load, it works better
i kind of hacked the gradient underline for the h1s; my approach will not work for all h1s, so it will need to be reconsidered as part of the type work
i do want to breakout smaller partials, but will pick that up with later work

@anita-trimbur this is ready for a ux design review
things id super appreciate you reviewing closely...

all new cloud pages
docs nav interactions
i think you mentioned not using arrows in certain situations, but i took them from the designs; so pls do let me know if you want any icon updates
i wasn't sure on the accordion hover styles, let me know if you want any changes on them
pls interact on a bunch of links, and let me know if you hit any 404s or thingz

@kimberleyamackenzie these are the main pages to review; def cool to look at other pages, but don't feel like you need to, since this is a massive pr

themes/default/layouts/partials/docs/cloud-overview.html
themes/default/theme/src/scss/docs/_cloud-overview.scss
themes/default/layouts/partials/docs/toc.html
themes/default/theme/src/scss/_toc.scss

@sean1588 these are the main pages to review; def cool to look at other pages, but don't feel like you need to, since this is a massive pr

config/_default/menus.yml
themes/default/layouts/_default/section.html
themes/default/layouts/docs/list.html
themes/default/layouts/partials/docs/cloud-overview.html
themes/default/theme/src/scss/docs/_cloud-overview.scss
themes/default/layouts/partials/docs/toc.html
themes/default/theme/src/scss/_toc.scss
and Sean i also need ur review on these two prs:

https://github.com/pulumi/docs/pull/9061 (nevermind for now on this one, imma leave the SDK files alone for now)
https://github.com/pulumi/registry/pull/2479

fixes https://github.com/pulumi/docs/issues/8997
fixes https://github.com/pulumi/pulumi-hugo/issues/947
fixes https://github.com/pulumi/pulumi-hugo/issues/2610
fixes https://github.com/pulumi/pulumi-hugo/issues/1790
fixes https://github.com/pulumi/pulumi-hugo/issues/785
fixes https://github.com/pulumi/pulumi-hugo/issues/1500
fixes https://github.com/pulumi/pulumi-hugo/issues/927
fixes https://github.com/pulumi/registry/issues/311
several things need to happen before this can ship.

[x] get approval from Joe
[x] get approval from Luke
[x] where should insights and deployments live? (this was answered today in business review: they will live in pulumi cloud)
[x] make top headers with children have carets
[x] make top heading carets function correctly
[x] get cli commands to colapse
[x] add clouds content
[x] move crosswalk to aws folder; delete guides folder
[x] figure out if i can delete all this left over misc??
~[ ] confirm with Luke that aws index of services should be deleted~
[x] talk to Luke about these aws pages, which do we want which do we not want
[x] yaml reference: put with yaml
[x] move package docs from api ref page to language pages
[x] update api ref page
[x] add content for using pulumi, adopting pulumi, and access management landing pages
[x] cross-link faq pages
[x] get clouds menu to start open
[x] get rid of left over stuff we don't need; put redirects on current pages
[x] style fixes to headings, indentation, and arrows; the entire left nav needs to be styled
[x] add all the redirects 😧
[x] all on page links need to get fixed 😧
[x] make sure marketing buttons go to the new get started page
[x] some links in the glossary seem broken
[x] image on audit logs is broken
[x] links here are broken /docs/clouds/kubernetes/kubernetes-crosswalk/playbooks/#overview
[x] all kube guides links seem to be broken
[x] review all titles and meta descriptions 😧
[x] pulumi deployments meta stuff
[x] pulumi cloud access management meta stuff
[x] fix border-left
[x] add line
[x] fix space on first item
[x] add scrolling animation
[x] figure out what the heck this is https://github.com/pulumi/pulumi-hugo/blob/master/themes/default/theme/src/ts/toc.ts
[x] figure out what the heck this is https://github.com/pulumi/pulumi-hugo/blob/master/themes/default/layouts/shortcodes/pulumi-command.html
[x] ask luke questions, then update the last of the redirects: aws-guides, cloudfx
[x] change dynamic resource provider, to dynamic provider
[x] fix resource options links
[x] move migreat to landing to adopting
[x] move migrate from content to adopting parent
[x] move compare to, to concepts
[x] add designs to cloud pages
[x] figure out available versions
[x] move pulumi cloud between concepts and using
[x] h1 styles
[x] update providers with new design
[x] convert/policies cards need hover styles
[x] fix kube converter card
[x] add in kube operator card
[x] add preview label to providers in preview
[x] add in kube cluster management card
[x] responsive cards
[x] add additional styles to kube cards
[x] fix kubernetes extension link
[x] fix aws/cloudfx links
[x] run link cheker
[x] review language pages; is SDK in the best place?
[x] add azure, google cloud, and kube logos to get started button once @anita-trimbur is able to get them
[x] content updates from Scott
[x] add accordions
[x] clean up cloud pages css
[x] redirects for cli
[x] figure out redirect and things for available versions
[x] changes in docs for cli & available versions
[x] clean up toc html
[x] clean up toc styles
[ ] figure out sdk links and redirects
[ ] do qa!

links to fix

[x] docs/concepts/function-serialization
[x] docs/concepts/assets-archives
[x] /docs/reference

related prs that need to go live at the same time
https://github.com/pulumi/registry/pull/2479
https://github.com/pulumi/docs/pull/9061
Checklist:

[x] I have reviewed the style guide.
[x] If blogging, I have reviewed the blogging guide.
[ ] I have manually confirmed that all new links work.
[x] I added aliases (i.e., redirects) for all filename changes.

so so excited this will be shipping soon!! 🚀🚀 just a few style things from me
cloud pages

for the hover styles on the inner cards, can we also change the heading text color to gray900?
for aws, the how to guide for lambda and serverless goes to the IAM
just confirming, do azure and gcp not have a guides card?
this is definitely my bad, i think i gave you the azure icon to use on the k8s cluster management card - we should probably align to either using the microsoft logo or the azure logo across the cloud pages

left nav

this is totally not blocking just curious, was the multiple left borders for children's children in the nav not feasible? i can revisit styling for the other left nav work

No matter what I did, I can't load the files tab (which means I can't comment these items inline), so I compared the diff locally and here are some of my thoughts.  Sorry I can't put them inline:
cloud-overview.html

[ ] line 2 - I don't love inline styles, is there a reason we are prevented from doing this in css?  If there is, then this shouldn't be blocking or anything, but we should really file an issue to take these out of inline styles in the future.
[ ] line 64 + 66 and some other spots - I would rename these classes to reference the content vs the styling, I think it will be confusing with tailwind classes.  In general I tend to avoid class names that reference the position or styling of the element since they can get moved and then become very confusing.  (exceptions include things like bold or gradient since those are pretty core to the element itself on the page, it's not a super hard and fast rule).
[ ] tiny style thing - I'm a little thrown off by the text being gray on rest while the icon is still black here

cloud-overview.scss

[ ] For the handful of values we user over and over again (for example #131314 for color) I would make a file level variable like $text-color: #131314 and use that, so that it's clear all those usages should remain aligned with the same color

toc.html + scss

[ ] I noticed this when I looked at the most recent preview where the carets should be, i almost wonder if we should consider building those w CSS since they are so fundamental to using the nav that if FA doesn't load, it's very jarring

[ ] We currently have some smart logic that scrolled the nav down to the current page header item if it was below the fold - we don't have it for sub-items, but with the new nav cleaning up/hiding a lot of sub items, I think it would be nice to add there if we can as a future optimization.

Overall nothing I think should be blocking on these pages, this is so dope and looks so good, y'all have crushed this!!!

small thingz

[ ] per our slack convo, i think it's totally cool if the inner card icons are gray700 inactive and then gray900 on hover to match the text states
[ ] for the cards that go to external links, did we want them to open in a new tab? also, should we add arrows on inner cards like for k8s cluster management as an external link affordance, or do we think it's okay as is?

@anita-trimbur for..

for the cards that go to external links, did we want them to open in a new tab? also, should we add arrows on inner cards like for k8s cluster management as an external link affordance, or do we think it's okay as is?

can you open a follow-up issue instead and put it in the epic, ready column, and milestone. ya can also assign to me. thank you thank you!!


[DO NOT MERGE] Offheap Iterator Fixes

This is the 'proper' fix for the offheap iterator issues around buffer deserialization and detachment.  Right now I've somewhat cleaned the actual 'test' code I used to identify all the unlocked paths. As I see it we have a number of options regarding the test coverage here:

Commit the bug fixes with no test coverage (get rid of the second commit)
Commit the bug fixes with the test code commented out.
Commit the bug fixes and test code as they are in this PR.
Add additional testing seams to the offheap code to allow injection of a subclass of the LazyOffheapValueHolder in enough of the tests to provide coverage.

Okay - so I've made the necessary adaptions to test this properly.  I still need to rebase this on the correct commit for a daggy bugfix... but I'll wait until I have review approval before doing that.

This will need an integration branch... closing.


Build and test with pyarrow 16

This looks good, thanks!
No new release will be needed for 16.1.0, right?

No, that should also work with this PR


syncstorage-rs: 0.13.1 -> 0.13.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/mozilla-services/syncstorage-rs/releases.
meta.description for syncstorage-rs is: Mozilla Sync Storage built with Rust
meta.homepage for syncstorage-rs is: https://github.com/mozilla-services/syncstorage-rs
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.13.2 with grep in /nix/store/0k3ymnwmw24267i26knpi4hmai9s2bvx-syncstorage-rs-0.13.2
found 0.13.2 in filename of file in /nix/store/0k3ymnwmw24267i26knpi4hmai9s2bvx-syncstorage-rs-0.13.2

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
syncstorage-rs

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0k3ymnwmw24267i26knpi4hmai9s2bvx-syncstorage-rs-0.13.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 syncstorage-rs https://github.com/r-ryantm/nixpkgs/archive/ca19c433828fb3e194944063ec0cc9197f9219f2.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0k3ymnwmw24267i26knpi4hmai9s2bvx-syncstorage-rs-0.13.2
ls -la /nix/store/0k3ymnwmw24267i26knpi4hmai9s2bvx-syncstorage-rs-0.13.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 run on x86_64-linux 1

1 package built:

syncstorage-rs

Maintainer pings
cc @pennae for testing.

@wegank In the future, please give the maintainer (a notably active one in this case!) more than mere hours to respond. Yes, this is a simple bump with no regressions, but still, courtesy.


rgxg: Init at 0.1.2

Motivation for this change
Things done

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

[x] 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 nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Thank you for your time and feedback,
i will find out how to do it

i created a new one: https://github.com/NixOS/nixpkgs/pull/99422


Cannot login admin pannel

Hello,
I update from 3.0 to 4.0, and in cannot login in the admin pannel with the default password " 0000 "
I have the following message : failed to authenticate.
I try to login in Chrome private mode : same message.
Someone can help me ?
Thanks !
Yoann

Could you please restart and maybe clear cache once? Maybe there is something going on…

I've reboot another time and clear the cache instead private mode.
It's working sorry for the useless question ...
Thanks a lot !


How to use Chrome Developer Tools to debug?

I want to see console.log data in chrome and debug step by step.

Same here, saw the debugger on the main site screenshots, but was unable to find how to setup it.

Ctrl + Cmd+ Z to toggle the menu. You will find debug option there.

Didn't know about that menu - thanks.
Cmd + D will open debugger too.

thanks @zetachang

please check http://stackoverflow.com/questions/29314839/cant-launch-chrome-devtools-in-ios-simulator,
fix my debug problem.


Improve godoc output

One step towards better godoc output / better docs at godoc.org; not perfect.
Before
No package overview:

Sometimes messy output on the console:

After
Basic package overview:

Better output on the console:

Inspired by #239 / #245.


[Service Bus] Circular dependency between serviceBusMessage.ts and errors.ts files

There is a circular dependency in the master branch between serviceBusMessage.ts and errors.ts files that needs be fixed

Closed with https://github.com/Azure/azure-sdk-for-js/pull/2503


getJwks.getPublicKey always returns an HTTP 404 Not Found error

No matter which domain I provide, and regardless of providerDiscovery being true or false, I always get a 404 back from getJwks.getPublicKey().
The JWT bearer token arrives nicely, and is correctly decoded. The iss contains the Keycloak realm, and also the kid and alg are correctly decoded. The JWKS is located at https://auth.example.com/realms/xyz/protocol/openid-connect/certs. (real domain redacted for privacy). This is a Keycloak v24 instance, which otherwise works fine.
Still I get errors indicating a 404. The given domain URL's are all available without issue.
"type":"GetJwksError",
"message":"JWKS request failed",
"stack":"GetJwksError: JWKS request failed
at retrieveJwk (D:\\Dev\\NodeJs\\hercules\\node_modules\\.pnpm\\get-jwks@9.0.1\\node_modules\\get-jwks\\src\\get-jwks.js:118:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.getPublicKey (D:\\Dev\\NodeJs\\hercules\\node_modules\\.pnpm\\get-jwks@9.0.1\\node_modules\\get-jwks\\src\\get-jwks.js:63:21)",
"name":"GetJwksError",
"code":"JWKS_REQUEST_FAILED",
"response":{"size":0,"timeout":5000},"body":{"error":"HTTP 404 Not Found","error_description":"For more on this error consult the server log at the debug level."}},"msg":"JWKS request failed"}

'use strict'

import fs from "node:fs"
import cors from '@fastify/cors'
import https from 'node:https'

const fastify = require('fastify')({
    logger: true,
    exposeHeadRoutes: true,
    http2: true,
    https: {
        cert: fs.readFileSync('localhost.pem', 'utf8'),
        key: fs.readFileSync('localhost-key.pem', 'utf8'),
    },
})
const fjwt = require('@fastify/jwt')
const buildGetJwks = require('get-jwks')
const getJwks = buildGetJwks({
  providerDiscovery: false,
  //agent: new https.Agent({
  //  keepAlive: true,
  //}),
})

fastify.register(cors, {
    origin: '*',
    methods: ["GET"]
})

fastify.register(fjwt, {
  decode: { complete: true },
  secret: (request, token) => {
    const { header: { kid, alg }, payload: { iss } } = token
    //console.log(iss) // https://auth.example.com/realms/xyz
    //console.log(kid) // 80lOsd...
    //console.log(alg) // RS256
    return getJwks.getPublicKey({
      //domain: 'https://auth.example.com/realms/xyz', // JWKS request failed (404), both with providerDiscovery true and false
      //domain: 'https://auth.example.com/realms/xyz/.well-known/openid-configuration', // JWKS request failed (404)
      domain: 'https://auth.example.com/realms/xyz/protocol/openid-connect/certs', // JWKS request failed (404)
      kid, alg
    })
  }
})

fastify.addHook('onRequest', async (request, reply) => {
  try {
    await request.jwtVerify()
  } catch (err) {
    reply.send(err)
  }
})

fastify.get('/secret', (req, reply) => {
  reply.send({authenticated: true})
})

fastify.listen({port: 3113}, (err) => {
  if (err) {
    fastify.log.error(err.message)
    process.exit(1)
  }
})

Complete errorlog:
{"level":30,"time":1710525332198,"pid":36208,"hostname":"Makemake","msg":"Server listening at https://[::1]:3113"}
{"level":30,"time":1710525332201,"pid":36208,"hostname":"Makemake","msg":"Server listening at https://<IP_ADDRESS>:3113"}
{"level":30,"time":1710525339601,"pid":36208,"hostname":"Makemake","reqId":"req-1","req":{"method":"OPTIONS","url":"/secret","hostname":"localhost:3113","remoteAddress":"::1","remotePort":18791},"msg":"incoming request"}
{"level":30,"time":1710525339605,"pid":36208,"hostname":"Makemake","reqId":"req-1","res":{"statusCode":204},"responseTime":3.435800075531006,"msg":"request completed"}
{"level":30,"time":1710525339606,"pid":36208,"hostname":"Makemake","reqId":"req-2","req":{"method":"GET","url":"/secret","hostname":"localhost:3113","remoteAddress":"::1","remotePort":18791},"msg":"incoming request"}
{"level":50,"time":1710525339632,"pid":36208,"hostname":"Makemake","reqId":"req-2","req":{"method":"GET","url":"/secret","hostname":"localhost:3113","remoteAddress":"::1","remotePort":18791},"res":{"statusCode":500},"err":{"type":"GetJwksError","message":"JWKS request failed","stack":"GetJwksError: JWKS request failed\n    at retrieveJwk (D:\\Dev\\NodeJs\\hercules\\node_modules\\.pnpm\\get-jwks@9.0.1\\node_modules\\get-jwks\\src\\get-jwks.js:118:13)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Object.getPublicKey (D:\\Dev\\NodeJs\\hercules\\node_modules\\.pnpm\\get-jwks@9.0.1\\node_modules\\get-jwks\\src\\get-jwks.js:63:21)","name":"GetJwksError","code":"JWKS_REQUEST_FAILED","response":{"size":0,"timeout":5000},"body":{"error":"HTTP 404 Not Found","error_description":"For more on this error consult the server log at the debug level."}},"msg":"JWKS request failed"}
{"level":30,"time":1710525339634,"pid":36208,"hostname":"Makemake","reqId":"req-2","res":{"statusCode":500},"responseTime":27.520400047302246,"msg":"request completed"}

Found the solution. The jwksPath property was missing, and must be a relative path to whatever is in iss. For Keycloak (at least v24), this is:
const getJwks = buildGetJwks({
  providerDiscovery: false,
  jwksPath: '/protocol/openid-connect/certs',
})

in combination with:
fastify.register(fjwt, {
  decode: { complete: true },
  secret: (request, token) => {
    const { header: { kid, alg }, payload: { iss } } = token
    return getJwks.getPublicKey({
      kid, alg, domain: iss
    })
  }
})

Works perfectly!


Feature/bi 12446/implement free item calculation for admin

Resolves BI-12446

Adding changes to CostCalculator, MIDController/Service  as well as new helper classes EricAuthoriser and StringHelper to implement logic, allowing users who are logged in with the correct permission (free-mids) to full discount giving them free orders.
Adding Unit tests to cover new logic where necessary.

CI: Security warnings found!

CI: Security warnings found!

CI: Security warnings found!

CI: Security warnings found!

CI: Security warnings found!

CI: Security warnings found!