Work on OutlineNode and AmbientOcclusionNodes

Contains

Refactored OutlineNode to take advantage of the new architecture
Split AmbientOcclusionPassNode into AmbientOcclusionNode and BlurredAmbientOcclusionNode
Both new nodes take advantage of the new architecture.
Created a new SetInputTextureFromFBO state change class: now in use in BlurredAmbientOcclusionNode but couldn't make it work in ApplyDeferredLightingNode [1]
Minor changes to the RefractiveReflectiveBlocksNode

How to test

Run Terasology
Create a new game or load an existing one
Verify there have been no changes in the way the 3d world looks

[1] this is an issue with the way the default FBOs are implemented I think. Eventually I plan to implement them differently (not enum-based) and I hope many problems will go away.

Hooray Jenkins reported success with all tests good!

Hi emanuele3d!
I checked out your branch, but when I try to load/create a world, I get the following exception:
19:49:32.079 [main] ERROR o.terasology.engine.TerasologyEngine - Uncaught exception, attempting clean game shutdown
java.lang.NullPointerException: null
	at org.terasology.rendering.dag.stateChanges.SetInputTextureFromFBO.update(SetInputTextureFromFBO.java:188)
	at org.terasology.rendering.opengl.AbstractFBOsManager.notifySubscribers(AbstractFBOsManager.java:99)
	at org.terasology.rendering.opengl.fbms.DisplayResolutionDependentFBOs.swapReadWriteBuffers(DisplayResolutionDependentFBOs.java:130)
	at org.terasology.rendering.dag.nodes.ApplyDeferredLightingNode.process(ApplyDeferredLightingNode.java:86)
	at org.terasology.rendering.dag.NodeTask.execute(NodeTask.java:30)
	at java.util.ArrayList.forEach(Unknown Source)
	at org.terasology.rendering.world.WorldRendererImpl.render(WorldRendererImpl.java:452)
	at org.terasology.engine.modes.StateIngame.render(StateIngame.java:193)
	at org.terasology.engine.subsystem.lwjgl.LwjglGraphics.postUpdate(LwjglGraphics.java:190)
	at org.terasology.engine.TerasologyEngine.mainLoop(TerasologyEngine.java:422)
	at org.terasology.engine.TerasologyEngine.run(TerasologyEngine.java:368)
	at org.terasology.engine.Terasology.main(Terasology.java:152)

Good catch @Avalancs. Did you by any chance start with Ambient Occlusion disabled? I can imagine in that circumstance the task would be null. I will harden the method with a null check.

Yes! I started with the default options, and there it is disabled. Enabled it and was able to load the world.

I tried to test this tonight, and ended up getting a crash with the following stack trace.
22:06:29.004 [main] ERROR o.terasology.engine.TerasologyEngine - Uncaught exception, attempting clean game shutdown
java.lang.NullPointerException: null
	at org.terasology.rendering.dag.stateChanges.SetInputTextureFromFBO.update(SetInputTextureFromFBO.java:188)
	at org.terasology.rendering.opengl.AbstractFBOsManager.notifySubscribers(AbstractFBOsManager.java:99)
	at org.terasology.rendering.opengl.fbms.DisplayResolutionDependentFBOs.swapReadWriteBuffers(DisplayResolutionDependentFBOs.java:130)
	at org.terasology.rendering.dag.nodes.ApplyDeferredLightingNode.process(ApplyDeferredLightingNode.java:86)
	at org.terasology.rendering.dag.NodeTask.execute(NodeTask.java:30)
	at org.terasology.rendering.world.WorldRendererImpl$$Lambda$267/427226423.accept(Unknown Source)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.terasology.rendering.world.WorldRendererImpl.render(WorldRendererImpl.java:452)
	at org.terasology.engine.modes.StateIngame.render(StateIngame.java:193)
	at org.terasology.engine.subsystem.lwjgl.LwjglGraphics.postUpdate(LwjglGraphics.java:190)
	at org.terasology.engine.TerasologyEngine.mainLoop(TerasologyEngine.java:422)
	at org.terasology.engine.TerasologyEngine.run(TerasologyEngine.java:368)
	at org.terasology.engine.Terasology.main(Terasology.java:152)

Any ideas what could be happening?

@indianajohn : I'd say it is the same problem encountered by Avalancs, above. It occurs when you create a new game or load an existing one and you have Ambient Occlusion disabled. Can you please confirm you can start a game with Ambient Occlusion enabled?
In any case I fixed it in my local repository. I'm just waiting some more feedback before I push the new commit.

Sorry about that, I swear I checked this thread for updates before posting but I guess I posted in a stale window.
Anyway, I can confirm that the crash goes away with SSAO enabled. However, I have a new issue to report too.
On my main PC (Windows, GeForce GTX 1070), everything works as expected in both VR mode and regular mode.
On my Macbook Air, starting the game with the default settings + SSAO results in a the entire world being mostly dark, except for a couple particle effects and random bits of light. The crosshairs and all other UI widgets are visible. If I go into settings after launching with SSAO on and disable SSAO, everything renders as normal. This happens for me on a clean clone of your branch. Furthermore, I cloned the develop branch and tried the exact same thing, and it works with SSAO enabled; i.e. the exact same sequence of input yields no problems in any circumstance.

@indianajohn : thank you for reproducing the error. I just pushed a new commit that addresses the problem on PC at least.
Regarding the Macbook Air, what kind of GPU does it have?

Hooray Jenkins reported success with all tests good!

It's an Intel HD Graphics 5000 (the Macbook is this model https://support.apple.com/kb/sp678?locale=en_US). I guess I should also clarify that it's running MacOSX El Capitan.

Anyway, after pulling your latest branch the NPE upon launch with SSAO enabled is gone, of course. Just to disentangle the test case a bit:
-The latest develop branch renders fine on my Macbook Air Late 2013 with HD Graphics 5000.
-On the same machine, this branch exhibits the behavior shown in the below screenshot:

Thank you @indianajohn for letting me know.
The HD Graphics 5000 is an integrated GPU and integrated GPUs are known to cause problems to Terasology's rendering engine. So far it appears this is due to incomplete or incorrect OpenGL implementations within their drivers rather than a problem on Terasology's side. A proof of this is that on PCs with strongly compliant, discrete GPUs the same code works. A typical advice in this context is to install the latest drivers, but even that might not solve the problem.
Unfortunately the cruel state of affair is that we do not have the resources to support GPUs that are only partially compliant. Discrete GPUs tend to be strongly compliant and we tend to develop just for those, not even taking advantage of quirks that a particular hardware might have on other in some situations. But even if the problem did lie on Terasology's side, I can only solve issues that I can reproduce on my (Windows-based) PC.
If it can be of any consolation the architectural work I'm slowly bringing forward will make it much easier to migrate everything to more modern OpenGL releases, more modern libraries (Lwjgl 3.0 and LibGDX have been discussed) and potentially even allow multiple renderers in the same distribution, for the user or the application to choose from depending on the available hardware and the actual capabilities.
Furthermore, I will go through another one or two rounds of node-refactoring. In particular I will address a number of FBO-related issues and I will simplify the associated code. The problem your Macbook system exhibits I suspect is related to FBO management. Perhaps I will inadvertently fix it by addressing other problems currently plaguing the rendering engine.
Sorry I can't be more helpful.

@Cervator: I don't know how much more feedback I'm going to get on this PR. I suspect it's good to go.

Tested around a little bit toggling the SSAO setting, didn't note any issues.
It is a pity we're breaking something by reworking the code, but with SSAO being a somewhat peripheral effect (I suppose?) with the Intel HDs already likely to encounter issues I'm thinking we can survive for a while that way. I expect we'll have a fun time when finally "done" with all the DAG stuff going back over various issues to see what then can be fixed :-)
@indianajohn thanks for noting that issue, if you end up curious to dig into it further feel free, but I think it would be a somewhat low priority issue.

@Cervator: thank you for merging this PR. Regarding the SSAO issue, it is likely that users with integrated GPUs will not want to use more expensive effects such as SSAO. But of course I'm also not happy with breaking things that previously worked. I am hopeful however that many of these issues will be resolved in the next refactoring pass, starting immediately after this one is finished.

By the way, I will nevertheless write an issue about the problem encountered by indianajohn. At some point we'll want to verify if it still occurs.

I have opened issue #2683 on this matter.


moar fixes for [gitlab] auth

closes #8143
I feel like one way and another we collectively dropped the ball a bit on code review with these gitlab badges

Warnings

:warning:

:books: Remember to ensure any changes to config.private in services/gitlab/gitlab-base.js are reflected in the server secrets documentation

:warning:

:books: Remember to ensure any changes to config.private in services/gitlab/gitlab-contributors.service.js are reflected in the server secrets documentation

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @chris48s!

  Generated by :no_entry_sign: dangerJS against 575db9681678d3b92aad536bcd37e10b9093869d


New version: LocallyWeightedRegression v0.4.0

Registering package: LocallyWeightedRegression
Repository: https://github.com/juliohm/LocallyWeightedRegression.jl
Created by: @juliohm
Version: v0.4.0
Commit: b76ce22062b6e6cfbc1055b94c379986049c071b
Reviewed by: @juliohm
Reference: https://github.com/juliohm/LocallyWeightedRegression.jl/commit/b76ce22062b6e6cfbc1055b94c379986049c071b#commitcomment-35567081

Your new version pull request met all of the guidelines for automatic merging.
I will automatically merge this pull request during the next cron job.
If you want to prevent this pull request from being auto-merged, simply leave a comment.
(If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment.)

On a separate note, I see that you are registering a release with a version number of the form v0.X.Y.
Does your package have a stable public API? If so, then it's time for you to register version v1.0.0 of your package. (This is not a requirement. It's just a recommendation.)
If your package does not yet have a stable public API, then of course you are not yet ready to release version v1.0.0.

[noblock]


Include working samples for ASP.NET Core SPA templates.

I created a default ASP.NET Core 2.0 - Angular application using the SPA templates via the dotnet new angular command.  I would like to run / build the application using Docker; therefore, I added the .dockerignore and Dockerfile from the aspnetapp sample and changed the base image labels to 2.0.  While docker build -t myapp . and docker run -it --rm -p 5000:80 myapp successfully built the image and started the container, I receive a Node Missing Exception.txt when browsing to http://localhost:5000.
I understand that the exception is due to Node not being installed in the microsoft/aspnetcore:2.0 image  What I'm having trouble finding (probably partially due to not using Linux before) is the appropriate commands to put into the Dockerfile to perform the Node installation.  I'm also not having much luck finding an example Dockerfile that enables the webpack hot module support and dotnet watch tools in a dev image from microsoft/aspnetcore-build:2.0 while still testing/running the app from a
microsoft/aspnetcore:2.0 based image.
As such, it would be extremely helpful if these base samples also included a sample based on the SPA templates for the above use-cases.  Another sample on how to attach the debugger to an image also seems extremely helpful.

For others that it may help, I finally managed to get Node installed within the microsoft/aspnetcore:2.0 image using the following sample dockerfile:
# Stage 1 - Build App
 FROM microsoft/aspnetcore-build:2.0 AS build-env
 WORKDIR /app

 # Create starter angular app
 RUN dotnet new angular \
     && dotnet publish -c Release -o out

# Stage 2 - Run App
 FROM microsoft/aspnetcore:2.0

 # Install Node (used for server pre-rendering)
 RUN buildDeps='gnupg' \
     && set -x \
     && apt-get update && apt-get install -y $buildDeps --no-install-recommends \
     && rm -rf /var/lib/apt/lists/* \
     && curl -sL https://deb.nodesource.com/setup_6.x | bash - \
     && apt install nodejs \
     && rm -rf /usr/lib/systemd/* \
     && apt-get purge -y --auto-remove $buildDeps \
     && ln -s /usr/local/bin/node /usr/local/bin/nodejs \
     && node -v

 WORKDIR /app
 COPY --from=build-env /app/out .
 ENTRYPOINT ["dotnet", "app.dll"]

That said, I still could use an example on how to get the webpack hot module support / dotnet watch running in the microsoft/aspnetcore-build:2.0 image allowing me to completely develop within the container rather than relying on having .NET Core installed on my machine.

Can you elaborate on dotnet watch within a container?  For that to work, what do you plan to use to edit the asp.net site files within the container? Or do you plan to volume mount your site directory so that you can edit them outside the container?

I was looking for the same rich development experience that currently occurs on your local machine to instead be contained within Docker.  In this way, I would only need Docker, Git, and VS Code installed on my "dev" machine.  All other required components would be provided by Docker containers including the .NET Core SDK or other application specific needs (database / caching / etc).  In this way, as the team's brand new developer on ProjectA; I don't need to figure out how to correctly initialize ProjectA's dev environment beyond knowing which Docker containers I need, which likely would be provided by a docker-compose config.
Yes, I would manage ProjectA's source code on the local machine with Git / VS Code; therefore, I expect that I would need to volume mount the project's root directory into the .NET Core SDK docker container.  After which, I should be able to easily use any of the .NET CLI commands within the docker container whether it's dotnet new to create a new project or dotnet watch (and Webpack's HMR) to dynamically update the running application code as I modify source code via VS Code.  I should also have an uncomplicated way to attach the debugger to the application running in the docker container.
Essentially, all of the existing dev tooling (at least the .NET Core related ones) would just work without requiring me to think much about the fact that ProjectA is actually being compiled / executed within Docker rather than on my local machine.
After typing up this response, I realize that this goal is likely a bit more overarching than just the dotnet-docker-samples repo.  However, the main reason I first arrived at this repro was to obtain the correctly configured Dockerfile that enabled this goal; particularly since I was just starting out with .NET Core / Docker and was confused as to why a brand new dotnet new angular project would not execute in the Docker container built from the sample Dockerfile obtained from this sample repro.

I found a solution. Take a look at this commit on 2017-12-12 in the aspnet/aspnet-docker repository: https://github.com/aspnet/aspnet-docker/commit/942f61df4d0305082491f8e3f0b4fc5a8278ca7c
I am using Visual Studio 2017 version 15.5.2 as my IDE on a Windows 10 host machine. I have Angular 5.1.2 in the project alongside .NET Core 2.0.4. My Docker image is 2.0.4-stretch. Adding the text below to my Dockerfile solved the problem:
ENV NODE_VERSION 6.11.3
ENV NODE_DOWNLOAD_URL https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz
ENV NODE_DOWNLOAD_SHA 610705D45EB2846A9E10690678A078D9159E5F941487ACA20C6F53B33104358C
RUN curl -SL "$NODE_DOWNLOAD_URL" --output nodejs.tar.gz
&& echo "$NODE_DOWNLOAD_SHA nodejs.tar.gz" | sha256sum -c -
&& tar -xzf "nodejs.tar.gz" -C /usr/local --strip-components=1
&& rm nodejs.tar.gz
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs
&& npm install -g bower gulp
&& echo '{ "allow_root": true }' > /root/.bowerrc

Issue moved to dotnet/dotnet-docker #393 via ZenHub


ClientRect is not defined

I've noticed that v.0.12 uses new ClientRect() in some places...
Well, I've been attempting to implement mdc-slider in React, and tried returning a new ClientRect() and got a ClientRect is not defined error.
Googling took me to: https://github.com/Microsoft/TypeScript/issues/18615
It seems that while TypeScript's typings still have ClientRect, Chrome has replaced it with DOMRect .
Further, DOMRect itself is experimental according to MDN: https://developer.mozilla.org/en-US/docs/Web/API/DOMRect
I'm not sure if these are getting properly polyfilled by Webpack and Babel either.
Was there a specific reason to switch from the explicit { top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 } to new ClientRect()?

@cpboyd - you're correct. These shouldn't have changed. I caught a few cases, but missed these. Would you mind fixing? Otherwise we will try to prioritize for future release. Thanks!

closing for #855


Robot name

Ashton, I have incorporated your review comments. Can you please have a quick look?

Just an FYI, you ca use a self block instead of appending self. to all the class methods. I actually prefer appending self to all the class methods, So I like what you have here. Just and FYI FWIW FTW

LGTM


Missing dbStatement  MERGE_CPE_ECOSYSTEM for OracleDB

Describe the bug
When using Oracle as database, since dependencycheck 6.1 an errors occurs.
First analysis
prepared Statement MERGE_CPE_ECOSYSTEM is missing in dbStatements_oracle.properties
Version of dependency-check used
since dependency check 6.x
Log file
[ERROR] java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key MERGE_CPE_ECOSYSTEM
org.owasp.dependencycheck.data.nvdcve.DatabaseException: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key MERGE_CPE_ECOSYSTEM
        at org.owasp.dependencycheck.data.nvdcve.CveDB.prepareStatement(CveDB.java:361)
        at org.owasp.dependencycheck.data.nvdcve.CveDB.prepareStatements(CveDB.java:330)
        at org.owasp.dependencycheck.data.nvdcve.CveDB.open(CveDB.java:271)
        at org.owasp.dependencycheck.data.nvdcve.CveDB.<init>(CveDB.java:236)
        at org.owasp.dependencycheck.Engine.openDatabase(Engine.java:1047)
        at org.owasp.dependencycheck.Engine.doUpdates(Engine.java:923)
        at org.owasp.dependencycheck.Engine.doUpdates(Engine.java:906)
        at org.owasp.dependencycheck.App.runUpdateOnly(App.java:385)
        at org.owasp.dependencycheck.App.run(App.java:164)
        at org.owasp.dependencycheck.App.main(App.java:81)

To Reproduce
Steps to reproduce the behavior:

Start with empty Oracle Database
Init DB using script: initialize_oracle.sql
Update version in properties version accordingly (e.g. 6.1)
Run dependency check using oracle with updateonly.

dependency-check.sh \
    --connectionString 'jdbc:oracle:thin:@oracle.company.tld:1521/owaspdb' \
    --dbDriverName oracle.jdbc.driver.OracleDriver \
    --dbDriverPath . \
    --dbUser myUSER	\
    --dbPassword 'myPA$$WORD' \
    --updateonly

Expected behavior
Pull data from the internet and populate DB

With the 6.0.0-6.0.2 we still do not support Oracle. See https://github.com/jeremylong/DependencyCheck/issues/2755 and the Release Notes.

There is much more than just the missing merge statement.


update Neuron SDK in LifeCycleScript

The HyperPod AMI release process does not sync with Neuron SDK release schedule, this PR is proposing to update them in LifeCycleScript.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Sharing the results of my test, where I ran the update_neuron_sdk.sh script directly on a HyperPod trn1-32.xlarge worker node.
@KeitaW , can you please confirm whether this is intended behavior? I was expecting to see 2.19*
$ neuron-ls --version
neuron-ls <IP_ADDRESS>%kaena-tools/2.17@685ebdc built on 2024-01-26T19:01:50Z

$ bash update_neuron_sdk.sh
....
(output logs attached)
...

$ neuron-ls --version
neuron-ls <IP_ADDRESS>%kaena-tools/2.18@e7386d8 built on 2024-05-16T02:23:38Z

update-neuron-output.txt

Thank you for the comment @nghtm .  The neuron-ls or any other tool version is not sync with "Neuron SDK" version (actually it is thighed with "System Tools" version).   According to the release note, Neuron SDK 2.19.1 (latest as of today) includes the following packages.
List of packages in Neuron 2.19.1 (picked up few relevant to this discussion):
Component                           Package
Collective Communication Library    aws-neuronx-collectives-<IP_ADDRESS>
Driver                              aws-neuronx-dkms-<IP_ADDRESS>
OCI                                 aws-neuronx-oci-hook-<IP_ADDRESS>
Runtime Library                     aws-neuronx-runtime-lib-<IP_ADDRESS>
System Tools                        aws-neuronx-tools-<IP_ADDRESS>

and you can see if those are installed with the command as follows:
ubuntu@ip-10-1-10-50:~$ srun -N1 dpkg -l | grep neuron
ii  aws-neuronx-collectives                <IP_ADDRESS>-69b77134b                   amd64        neuron_ccom built using CMake
ii  aws-neuronx-dkms                       <IP_ADDRESS>                             amd64        aws-neuronx driver in DKMS format.
ii  aws-neuronx-oci-hook                   <IP_ADDRESS>                               amd64        neuron_oci_hook built using CMake
ii  aws-neuronx-runtime-lib                <IP_ADDRESS>-fb1705f5f                   amd64        neuron_runtime built using CMake
ii  aws-neuronx-tools                      <IP_ADDRESS>                              amd64        Neuron profile and debug tools

and you can

Does this script try to install the latest version of the Neuron SDK always?
Let's make sure we are considering version consistency between nodes in a cluster.
e.g., when instance replacement happens 3 months after the cluster creation, do all the nodes use same SDK version?

Does this script try to install the latest version of the Neuron SDK always? Let's make sure we are considering version consistency between nodes in a cluster. e.g., when instance replacement happens 3 months after the cluster creation, do all the nodes use same SDK version?

This is a good point. Currently, the script installs the latest SDK version available. At present, this version is 2.19.1, but it could be 2.20 or higher in three months. The initial approach I considered involved fixing the SDK version in the lifecycle script and periodically updating it in this repository.

I suggest going with commit 1e92461e44bfd388908a2304e88434d5d85e56b3 which contains hard coded SDK versions due to this conversation. We can always provide instructions for customers to run the LCS via srun to get latest versions if required.
One final thought, should this be a configurable via config.py like the observability sollution, or do we make this LCS default? I think configurable (opt-in) is best.

Tested 16 node cluster deployment with Commit 16fdad6e82dc12a5d68096bb36e29f9f725fec38 enabled (latest commit for this PR)...
Set  enable_observability = True in config.py.
Confirmed successful cluster deployment and version updates on the nodes:
$ srun -N1 dpkg -l | grep neuron
ii  aws-neuronx-collectives                <IP_ADDRESS>-69b77134b                   amd64        neuron_ccom built using CMake
ii  aws-neuronx-dkms                       <IP_ADDRESS>                             amd64        aws-neuronx driver in DKMS format.
ii  aws-neuronx-runtime-lib                <IP_ADDRESS>-fb1705f5f                   amd64        neuron_runtime built using CMake
ii  aws-neuronx-tools                      <IP_ADDRESS>                              amd64        Neuron profile and debug tools

$ sinfo
PARTITION        AVAIL  TIMELIMIT  NODES  STATE NODELIST
dev*                up   infinite     16   idle ip-10-1-0-44,ip-10-1-1-31,ip-10-1-3-177,ip-10-1-6-80,ip-10-1-10-78,ip-10-1-50-140,ip-10-1-51-17,ip-10-1-56-188,ip-10-1-83-33,ip-10-1-87-[23,54],ip-10-1-90-176,ip-10-1-94-90,ip-10-1-107-36,ip-10-1-108-90,ip-10-1-116-148
ml.trn1.32xlarge    up   infinite     16   idle ip-10-1-0-44,ip-10-1-1-31,ip-10-1-3-177,ip-10-1-6-80,ip-10-1-10-78,ip-10-1-50-140,ip-10-1-51-17,ip-10-1-56-188,ip-10-1-83-33,ip-10-1-87-[23,54],ip-10-1-90-176,ip-10-1-94-90,ip-10-1-107-36,ip-10-1-108-90,ip-10-1-116-148

$ srun -N16 dpkg -l | grep aws-neuronx-tools
ii  aws-neuronx-tools                      <IP_ADDRESS>                              amd64        Neuron profile and debug tools
ii  aws-neuronx-tools                      <IP_ADDRESS>                              amd64        Neuron profile and debug tools
ii  aws-neuronx-tools                      <IP_ADDRESS>                              amd64        Neuron profile and debug tools
ii  aws-neuronx-tools                      <IP_ADDRESS>                              amd64        Neuron profile and debug tools
ii  aws-neuronx-tools                      <IP_ADDRESS>                              amd64        Neuron profile and debug tools
ii  aws-neuronx-tools                      <IP_ADDRESS>                              amd64        Neuron profile and debug tools
ii  aws-neuronx-tools                      <IP_ADDRESS>                              amd64        Neuron profile and debug tools
ii  aws-neuronx-tools                      <IP_ADDRESS>                              amd64        Neuron profile and debug tools
ii  aws-neuronx-tools                      <IP_ADDRESS>                              amd64        Neuron profile and debug tools
ii  aws-neuronx-tools                      <IP_ADDRESS>                              amd64        Neuron profile and debug tools
ii  aws-neuronx-tools                      <IP_ADDRESS>                              amd64        Neuron profile and debug tools
ii  aws-neuronx-tools                      <IP_ADDRESS>                              amd64        Neuron profile and debug tools
ii  aws-neuronx-tools                      <IP_ADDRESS>                              amd64        Neuron profile and debug tools
ii  aws-neuronx-tools                      <IP_ADDRESS>                              amd64        Neuron profile and debug tools
ii  aws-neuronx-tools                      <IP_ADDRESS>                              amd64        Neuron profile and debug tools
ii  aws-neuronx-tools                      <IP_ADDRESS>                              amd64        Neuron profile and debug tools

Approving PR


web page in task module can not be loaded?

i am playing teams task module, my api response like below(via network tab in browser F12):
{
  "task": {
    "value": {
      "url": "https://dc223076.ngrok.io/UpdateItem/9270bf7e-9512-4508-81e7-9c88d3a42962",
      "height": 510,
      "width": 800,
      "title": "Update Item",
      "fallbackUrl": "https://dc223076.ngrok.io/UpdateItem/9270bf7e-9512-4508-81e7-9c88d3a42962"
    },
    "type": "continue"
  },
  "responseType": "task"
}

BTW, it was ok about two weeks ago, any official updates?

another issue: the app icon was not displayed properly.

@paul-cheung  from what ive seen the task module functionality is completely broken for url based modules. Even all the Microsoft example projects the functionality is not working. Deep links works fine though.
Use this function and just add a Action.OpenUrl card action with the taskmodule link and skip the manual invoke "continue". Should work for you. Task module links are essentially the task continue in link form
// Helper function to generate task module deep links export function taskModuleLink(     appId: string,     // tslint:disable:no-inferrable-types     title: string = "",     height: string | number = "medium",     width: string | number = "medium",     url: string,     card: any = null,     fallbackUrl?: string,     completionBotId?: string): string {         if ((url === null) && (card === null)) {             return("Error generating deep link: you must specify either a card or URL.");         }         else {             let cardOrUrl = (card === null) ? url=${url}:card=${JSON.stringify(card)};             let fallBack = (fallbackUrl === undefined) ? "" : &fallbackUrl=${fallbackUrl};             let completionBot = (completionBotId === undefined) ? "" : &completionBotId=${completionBotId};             return(encodeURI(https://teams.microsoft.com/l/task/${appId}?${cardOrUrl}&height=${height}&width=${width}&title=${title}${fallBack}${completionBot}`));
}
}`

i am playing teams task module, my api response like below(via network tab in browser F12):
{
  "task": {
    "value": {
      "url": "https://dc223076.ngrok.io/UpdateItem/9270bf7e-9512-4508-81e7-9c88d3a42962",
      "height": 510,
      "width": 800,
      "title": "Update Item",
      "fallbackUrl": "https://dc223076.ngrok.io/UpdateItem/9270bf7e-9512-4508-81e7-9c88d3a42962"
    },
    "type": "continue"
  },
  "responseType": "task"
}

BTW, it was ok about two weeks ago, any official updates?

I am sharing the same problem, this was ok a few days ago, but now is broken.
Any update?

@Navega the task module for using invoke continue is completely broken suddenly. I recommend switching to using deeplinks as they are working as expected.

@Navega the task module for using invoke continue is completely broken suddenly. I recommend switching to using deeplinks as they are working as expected for task modules
Simply have adaptive card have action Action.OpenUrl with the task module link url

Hey Andres, thanks for your suggestion.
But, do you know if it will be fixed soon?
I will research about the deeplinks, thanks again.

@Navega I have no idea but honestly after switching I wouldnt go back. Deeplinks are useful for more than just the task module and its a much simpler usage.
Essentially all you need is this method to create the url

This has been fixed. Please re-open if you are still facing this issue.


--version returns blank when built from source, version number only supplied in travis build

Describe the bug
Running the -v or --version command against kombustion built from the source returns "kombustion version" without a version number, as this version number is supplied as part of the Travis build and so only visible in releases.
To Reproduce
Steps to reproduce the behavior:

Build kombustion from source (sh init.sh)
Run ./kombustion -v in the project directory
You will receive "kombustion version" without a version

Expected behavior
A version number should be supplied, eg "kombustion version 0.6.1"
Additional context
Given that most people are expected to use the supplied releases and that versioning is handled in part of the build this is unlikely to impact most people, but I think it's worth having a default and consistently valid value returned from this command (as anyone who builds from source is quite likely to use this to test if the build was successful). I'm thinking something like "kombustion version BUILT_FROM_SOURCE", thoughts?

I think a sane fallback version, if none is supplied is a good way to resolve this.
I'm happy to vote for BUILT_FROM_SOURCE

This was fixed recently in master.


Add missing encryption attr

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


TOC update: Content model compliance

TOC updated to comply at the top-level nodes to the Content & Learning doc model. More changes to article arrangement to come.

Docs Build status updates of commit b482289:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/TOC.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Close PR and create new one.


[BUG] - rsync is missing

To Reproduce
rsync

Observed Behavior
xavier@Azure:~$ rsync
bash: rsync: command not found

Expected behavior
rsync was working on Aug-10, and not anymore now
Is this specific to Cloud Shell?
yes
Interface information
How are you accessing Cloud Shell - https://shell.azure.com, https://portal.azure.com
If a browser, which Operating System and browser are you using? Edge on Windows 10

CloudShell didn't install this tool specifically, not sure why it became missing. We'll do some investigation. Thanks for reporting.

rsync should be back now. Please double check. Thanks. @xpillons

I confirm it's there now


An appropriate error message must be returned when incorrect client credentials grant request

When Client credentials grant request comes to an authorize endpoint in form of query parameters instead of x-www-form-urlencoded an appropriate error message must be returned

Sorry, wrong repository


ref(examples): update azure terraform bundle

What does this change

Updates the Azure Terraform example bundle to harness Porter's ability to persist outputs across actions

Depends on https://github.com/deislabs/porter/pull/1205 (or similar)
What issue does it fix
Notes for the reviewer
Checklist

[ ] Unit Tests
[ ] Documentation
[ ] Schema (porter.yaml)

If this is your first pull request, please add your name to the bottom of our Contributors list. Thank you for making Porter better! 🙇♀

I hope we are harnessing the power of oxygen AND porter state. 💪

Oh oops, need to update the README.md...


Make links collapsable

Would be nice if the links acted like a dropdown, collapsable list

Thanks for feedback. Do you think of an expandable / collapsible tree view?


Add ignored field for inference and metrics in builtin 2D OD

Linked issue(s):
Fixes: KOL-2723
What change does this PR introduce and why?
Extends builtin 2D OD workflow to allow for ignored Inferences
Please check if the PR fulfills these requirements

[ ] Include reference to internal ticket and/or GitHub issue "Fixes #NNNN" (if applicable)
[x] Relevant tests for the changes have been added
[ ] Relevant docs have been added / updated

Unit tests look good 👍


intervalId is not guaranteed to be cleared

Recently, my teammates found that when hubot was queried for whether a URL was fast twice in quick succession, that hubot would essentially enter into a loop, polling the result and reporting back each time.
One of my teammates found that on transpilation, the coffeescript for setting the intervalId would turn to:
return this.intervalId = setInterval(function() {
...

If this.intervalId is already set and not cleared by the time the second request to hubot comes in, this.intervalId will be set to the second request's corresponding intervalId. This means that when the polling comes back successfully for the first request, that this.intervalId no longer corresponds to the first request, and thus the interval cannot be cleared.
None of us are particularly well-versed in coffeescript, but suspect that this can be solved by creating some sort of map datastructure which holds onto (e.g.) a message id and the corresponding intervalId, and clearing the interval and map entry based on the original message's id.

hey, thanks! glad to know this is being used :D
will take a look, sorry for not spotting this until now


Implement import stripper for JSKit-less and WASI-less binary

When testing a JSKit linked binary by carton test, it always requires --environment defaultBrowser even if the binary doesn't use JS related features at all while testing.
It's also useful to make WASI-less binary from current our WASI binaries.
There is a similar tool in Rust community, but it would be useful to implement it here for carton integration.
https://github.com/rustwasm/wasm-snip

Or it may be enough to insert a stub implementation as an import to the instance in carton side


How to install bundle after getting an error?

I'm trying to install bundle from 2018, at first I got this error:
'Index Key Too Long'
So I used the mongodb command to fix this.
But now I get this error:
'A bundle with version 2018.0.1 already exists in the database'
But it is not sucessfull installed I only have the 2016 and 2017 bundles installed in my pophealth sucessfully. How I clean the 2018.0.1 from database so I can install it again ( without the Index error this time)

The 2018 bundle is designed to work with the CQL based Cypress 4.0.  We are in the process of developing version 6.0 to handle 2018 bundle.  PopHealth version 5.1 will not be able to install 2018 bundle.


Add DesktopWindow trait

Alternative to https://github.com/PistonDevelopers/piston/issues/1073 and https://github.com/PistonDevelopers/piston/issues/1061.
Perhaps we should put it in its own crate? Create a new core library?

Could create a new library pistoncore-desktop and wait with re-exporting it under the piston crate until it gets more stable.
Related to https://github.com/PistonDevelopers/conrod/issues/726 as it might contain abstractions for drag and drop.

Will some methods directly to AdvancedWindow instead.
Closing as drag and drop will be considered independently.


packit: remove f39

F39 builds have been disabled on the podman-next copr because of go1.22 bump on golang projects.
This can be set back to fedora-all once F39 goes EOL.

What type of PR is this?

/kind failing-test
What this PR does / why we need it:
removes failing test for soon-to-be-EOL Fedora 39
Which issue(s) this PR fixes:

Fixes #2428
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

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

Project coverage is 62.53%. Comparing base (4e0f474) to head (14f90b1).
Report is 745 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2429       +/-   ##
===========================================
+ Coverage   37.53%   62.53%   +24.99%
===========================================
  Files          15      117      +102
  Lines        1268     3969     +2701
  Branches      414      815      +401
===========================================
+ Hits          476     2482     +2006
- Misses        526     1487      +961
+ Partials      266        0      -266


Update README.md

Fixes #.
Motivation
Explain the content here.
Explain why you want to make the changes and what problem you're trying to solve.
Modifications
Describe the modifications you've done.
Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

Would delete this unmerged branch because its change has been merged in https://github.com/apache/eventmesh/pull/3938.


Gatwick endorsement checker

Allow members to easily check their progress to meeting the requirements to apply for a Gatwick endorsement. Requirements listed here: https://vatsim.uk/gatwick-endorsement/

@atoff All comments actioned, can you take another look please

@NFarrington I've renamed the controller to avoid confusion but have left the routes as "Controllers" as it will be more in line with "Pilots" when implemented via smartCars.
Happy to generalise more for use elsewhere - how would you like to see the requirements/groups/ratings implemented for use elsewhere?

@NFarrington or @atoff Any support/help/advice to tidy up the gatwick_ground view would be fab

For the view, at first glance you should be able to do @foreach($outcomes as $outcome) and loop through each outcome for each of the sections.
In the controller, when mapping or transforming, it might make more sense to use a stdClass object with two properties, the requirement and the outcome, rather than losing meaning in an array.

@NFarrington If we do a foreach on the outcomes, the text will need to be stored in the database too then I guess for each box?
Concerned this will over complicate massively.

@CalumTowers Is the text for each group not the same essentially, with a few variables? For the airport ICAOs, they're already in the DB for the requirements, and if you really wanted you could pull the names from the airports table.
Shouldn't matter too much though, this now only concerns the view, so there's very little technical debt increase if we don't refactor that bit.

@NFarrington If you're happy for this to be left as is, I think it gives us a little more flexibility within the view (and saves me a job)


Debian Service Support

Debian service support doesn't work the way it should. Don't know if it's a problem with the init files, or something else. The correct parameters are being passed to the Puppet service resource, but enabling, starting, restart on notification do not occur the way they should.
Running acceptance tests on the debian nodesets will show the errors that occur. I am ignoring these failures until i have time to research these platform specific issues.

I think this is due to my not having correctly configured init scripts.

I think this is due to my not having correctly configured init scripts.

This works on Debian 8+, since it uses systemctl.


[Feature Request] el-table may need a method to prevent the selection change when the user clicked another row.

Existing Component
Yes
Component Name
el-table
Description
Just like the method in NSTableView of Cocoa:
- (BOOL)selectionShouldChangeInTableView:(NSTableView *)tableView;
called whenever the user is about to change the selection. Return NO to prevent the selection from being changed at that time.
Currently, for a single select el-table, it will chang selection when the user click another row no matter whether he/she really wants it change or not.
For example:
An el-table in the left and every table row means a details view in the right. I modified some info in the details view but not save, and then I clicked another row, here I want to show a confirm of "Unsaved changs will lost", if the user clicked cancel, selection will keep and nothing will happen, but now el-table changes selection to the new clicked row immediately.
Waiting for your reply !

https://jsfiddle.net/zwyqa7v7/1/


Getting an error when trying to start server

when the server is running in a docker, the error will come, but when the server is running in local Mac os, It's ok.
E0527 11:38:43.953469741   32144 server_chttp2.cc:40]        {"created":"@1558928323.953405859","description":"No address added out of total 1 resolved","file":"../deps/grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc","file_line":348,"referenced_errors":[{"created":"@1558928323.953401090","description":"Failed to add port to server","file":"../deps/grpc/src/core/lib/iomgr/tcp_server_custom.cc","file_line":402,"referenced_errors":[{"created":"@1558928323.953399233","description":"Failed to bind to port","file":"../deps/grpc/src/core/lib/iomgr/tcp_uv.cc","file_line":72,"grpc_status":14,"os_error":"invalid argument"}]}]}

The server is trying to bind <IP_ADDRESS>:50051

same problem in:
node v10.15.0
<EMAIL_ADDRESS>

I found a clue to reproduce. With the host with Linux kernel v3.x has this problem, while kernel v4.x has not.

I have 2 containers. Can reproduce this problem in one container.
By setting export GRPC_TRACE=api and export GRPC_VERBOSITY=debug, the output looks like below:
D0608 09:57:42.240702558  258678 dns_resolver.cc:288]        Using native dns resolver
I0608 09:57:42.240890868  258678 init.cc:164]                grpc_init(void)
I0608 09:57:42.241378704  258678 completion_queue.cc:503]    grpc_completion_queue_create_internal(completion_type=0, polling_type=0)
I0608 09:57:42.319340189  258678 server.cc:1015]             grpc_server_create(0x221c550, (nil))
I0608 09:57:42.319383473  258678 server.cc:998]              grpc_server_register_completion_queue(server=0x22a5440, cq=0x2299f30, reserved=(nil))
I0608 09:57:42.460273062  258678 server.cc:1015]             grpc_server_create(0x22848c0, (nil))
I0608 09:57:42.460331314  258678 server.cc:998]              grpc_server_register_completion_queue(server=0x23ee500, cq=0x2299f30, reserved=(nil))

(node:258678) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead
I0608 09:57:42.515037886  258678 credentials.cc:99]          grpc_server_credentials_release(creds=(nil))
I0608 09:57:42.515096536  258678 server.cc:1394]             grpc_server_destroy(server=0x23ee500)
I0608 09:57:42.515151340  258678 credentials.cc:43]          grpc_channel_credentials_release(creds=(nil))
I0608 09:57:42.515171444  258678 credentials.cc:43]          grpc_channel_credentials_release(creds=(nil))
I0608 09:57:42.515185363  258678 credentials.cc:43]          grpc_channel_credentials_release(creds=(nil))
I0608 09:57:42.515197807  258678 credentials.cc:43]          grpc_channel_credentials_release(creds=(nil))
  Async functionality
I0608 09:57:42.519946879  258678 server_chttp2.cc:34]        grpc_server_add_insecure_http2_port(server=0x22a5440, addr=<IP_ADDRESS>:0)
E0608 09:57:42.521773959  258678 server_chttp2.cc:40]        {"created":"@1559959062.521742695","description":"No address added out of total 1 resolved","file":"../deps/grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc","file_line":348,"referenced_errors":[{"created":"@1559959062.521739031","description":"Failed to add port to server","file":"../deps/grpc/src/core/lib/iomgr/tcp_server_custom.cc","file_line":402,"referenced_errors":[{"created":"@1559959062.521737561","description":"Failed to bind to port","file":"../deps/grpc/src/core/lib/iomgr/tcp_uv.cc","file_line":72,"grpc_status":14,"os_error":"invalid argument"}]}]}
I0608 09:57:42.522044381  258678 server.cc:1119]             grpc_server_start(server=0x22a5440)

And in another good container, following lines won't show up.
I0608 09:57:42.515037886  258678 credentials.cc:99]          grpc_server_credentials_release(creds=(nil))
I0608 09:57:42.515096536  258678 server.cc:1394]             grpc_server_destroy(server=0x23ee500)
I0608 09:57:42.515151340  258678 credentials.cc:43]          grpc_channel_credentials_release(creds=(nil))
I0608 09:57:42.515171444  258678 credentials.cc:43]          grpc_channel_credentials_release(creds=(nil))
I0608 09:57:42.515185363  258678 credentials.cc:43]          grpc_channel_credentials_release(creds=(nil))
I0608 09:57:42.515197807  258678 credentials.cc:43]          grpc_channel_credentials_release(creds=(nil))

Setting breakpoints at credentials.cc:99 and server.cc:1394, the output in gdb are listed below:
credentials.cc:99
#0  grpc_server_credentials_release (creds=0x0) at ../deps/grpc/src/core/lib/security/credentials/credentials.cc:99
#1  0x00007ffff462db7f in ~ServerCredentials (this=0x22b4630, __in_chrg=<optimized out>) at ../ext/server_credentials.cc:61
#2  grpc::node::ServerCredentials::~ServerCredentials (this=0x22b4630, __in_chrg=<optimized out>) at ../ext/server_credentials.cc:62
#3  0x0000000000dde47e in v8::internal::GlobalHandles::DispatchPendingPhantomCallbacks(bool) ()
#4  0x0000000000dde6ea in v8::internal::GlobalHandles::PostGarbageCollectionProcessing(v8::internal::GarbageCollector, v8::GCCallbackFlags) ()
#5  0x0000000000e0d7d7 in v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) ()
#6  0x0000000000e0eac8 in v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [clone .constprop.935] ()
#7  0x0000000000e0f7f6 in v8::internal::Heap::FinalizeIncrementalMarkingIfComplete(v8::internal::GarbageCollectionReason) ()
#8  0x0000000000e111dd in v8::internal::IncrementalMarkingJob::Task::RunInternal() ()
#9  0x0000000000b42e96 in v8::internal::CancelableTask::Run() ()
#10 0x0000000000924bfb in node::PerIsolatePlatformData::FlushForegroundTasksInternal() ()
#11 0x00000000009b989b in uv__async_io (loop=0x2186aa0 <default_loop_struct>, w=<optimized out>, events=<optimized out>) at ../deps/uv/src/unix/async.c:118
#12 0x00000000009ca5c0 in uv__io_poll (loop=loop@entry=0x2186aa0 <default_loop_struct>, timeout=0) at ../deps/uv/src/unix/linux-core.c:375
#13 0x00000000009ba265 in uv_run (loop=0x2186aa0 <default_loop_struct>, mode=UV_RUN_DEFAULT) at ../deps/uv/src/unix/core.c:370
#14 0x00000000008d6815 in node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) ()
#15 0x00000000008d5b70 in node::Start(int, char**) ()
#16 0x00007ffff6972445 in __libc_start_main () from /lib64/libc.so.6
#17 0x000000000089f301 in _start ()

server.cc:1394
#0  grpc_server_destroy (server=0x22b5910) at ../deps/grpc/src/core/lib/surface/server.cc:1394
#1  0x00007ffff462b38f in ~Server (this=0x22b58d0, __in_chrg=<optimized out>) at ../ext/server.cc:147
#2  grpc::node::Server::~Server (this=0x22b58d0, __in_chrg=<optimized out>) at ../ext/server.cc:147
#3  0x0000000000dde47e in v8::internal::GlobalHandles::DispatchPendingPhantomCallbacks(bool) ()
#4  0x0000000000dde6ea in v8::internal::GlobalHandles::PostGarbageCollectionProcessing(v8::internal::GarbageCollector, v8::GCCallbackFlags) ()
#5  0x0000000000e0d7d7 in v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) ()
#6  0x0000000000e0eac8 in v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [clone .constprop.935] ()
#7  0x0000000000e0f7f6 in v8::internal::Heap::FinalizeIncrementalMarkingIfComplete(v8::internal::GarbageCollectionReason)
    ()
#8  0x0000000000e111dd in v8::internal::IncrementalMarkingJob::Task::RunInternal() ()
#9  0x0000000000b42e96 in v8::internal::CancelableTask::Run() ()
#10 0x0000000000924bfb in node::PerIsolatePlatformData::FlushForegroundTasksInternal() ()
#11 0x00000000009b989b in uv__async_io (loop=0x2186aa0 <default_loop_struct>, w=<optimized out>, events=<optimized out>)
    at ../deps/uv/src/unix/async.c:118
#12 0x00000000009ca5c0 in uv__io_poll (loop=loop@entry=0x2186aa0 <default_loop_struct>, timeout=0)
    at ../deps/uv/src/unix/linux-core.c:375
#13 0x00000000009ba265 in uv_run (loop=0x2186aa0 <default_loop_struct>, mode=UV_RUN_DEFAULT)
    at ../deps/uv/src/unix/core.c:370
#14 0x00000000008d6815 in node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) ()
#15 0x00000000008d5b70 in node::Start(int, char**) ()
#16 0x00007ffff6972445 in __libc_start_main () from /lib64/libc.so.6
#17 0x000000000089f301 in _start ()

any news on this?

it's also not working for me. have you got any news?

I'm also experiencing this

so for us it seemed to be related to missing ipv6 functionality https://github.com/grpc/grpc/issues/16363

P1 since it's affecting multiple users.

Any resolves ?

Is someone found a solution which not related to enable ipv6?

so for us it seemed to be related to missing ipv6 functionality #16363

but modprobe not found in node:10

Any progress here?

@murgatroid99 Ping

@murgatroid99 Any updates on this? Is this still relevant? (This has been marked as a P1.)
I don't have much context here but looking at the error "Failed to bind to port" it seems to me that there is a configuration/environment issue at hand.

Over a year onwards and I'm still experiencing this bug. Our solution is to pin the version as 1.23.0, patch tcp_server_custom.cc, and rebuild locally, by having this in our dockerfile:
# patch the source of grpc so that it does not
# coerce IPv4 addresses into IPv6. This prevents
# a segfault on machines that do not have IPv6
# support due to grpc attempting to open an IPv6
# socket, which fails, and then ignoring the error
# and assuming that the socket is open.

# this changes the following line:
# https://github.com/grpc/grpc/blob/v1.23.0/src/core/lib/iomgr/tcp_server_custom.cc#L366

# --- `if (grpc_sockaddr_to_v4mapped(addr, &addr6_v4mapped) {`
# +++ `if (false) {`
RUN sed -i 's#grpc_sockaddr_to_v4mapped(addr, &addr6_v4mapped)#false#' node_modules/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_custom.cc

RUN npm rebuild grpc --build-from-source

Hi all!
maybe if this help someone
I am using nestjs to create a microservice with grpc inside docker  where I got the error below
{
  "created"<EMAIL_ADDRESS>  "description": "Only 1 addresses added out of total 2 resolved",
  "file": "../deps/grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc",
  "file_line": 403,
  "referenced_errors": [
    {
      "created"<EMAIL_ADDRESS>      "description": "Failed to add port to server",
      "file": "../deps/grpc/src/core/lib/iomgr/tcp_server_custom.cc",
      "file_line": 403,
      "referenced_errors": [
        {
          "created"<EMAIL_ADDRESS>          "description": "Failed to bind to port",
          "file": "../deps/grpc/src/core/lib/iomgr/tcp_uv.cc",
          "file_line": 72,
          "grpc_status": 14,
          "os_error": "address not available"
        }
      ]
    }
  ]
}

@nestjs/microservices start running by default in localhost:5000
but it was resolved defining the url to <IP_ADDRESS>:5000 in options { ..., url: '<IP_ADDRESS>:5000', ... }
and the error gone!


Refactor modules

Codecov Report

Merging #112 into master will decrease coverage by 0.15%.
The diff coverage is 58.22%.

@@            Coverage Diff             @@
##           master     #112      +/-   ##
==========================================
- Coverage   39.10%   38.94%   -0.16%
==========================================
  Files          83       83
  Lines        9986     9990       +4
  Branches     2088     2085       -3
==========================================
- Hits         3905     3891      -14
- Misses       5880     5890      +10
- Partials      201      209       +8

Impacted Files
Coverage Δ

...p/models/modules/sync_bidir_multihead_attention.py
0.00% <0.00%> (ø)

neural_sp/models/seq2seq/decoders/transformer.py
58.93% <ø> (-0.37%)
:arrow_down:

neural_sp/models/modules/mocha.py
80.41% <49.12%> (-0.23%)
:arrow_down:

neural_sp/models/modules/transformer.py
50.66% <50.00%> (ø)

neural_sp/models/modules/attention.py
94.11% <100.00%> (ø)

neural_sp/models/modules/causal_conv.py
95.83% <100.00%> (ø)

neural_sp/models/modules/cif.py
87.34% <100.00%> (-1.27%)
:arrow_down:

neural_sp/models/modules/conformer_convolution.py
100.00% <100.00%> (ø)

neural_sp/models/modules/glu.py
32.50% <100.00%> (ø)

neural_sp/models/modules/gmm_attention.py
96.15% <100.00%> (ø)

... and 9 more

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 8252d02...0b55881. Read the comment docs.


New ‘newevmchain’ script, subset of ‘newcoin’

Description
Added new newevmchain script, a subset of newcoin, to be used in the EVM chain case. It skips some changes/additions that are not needed in this use case.
Fixes #2791.
How to test
Add a new Etehreum chain to registry.json, invoke codegen/bin/newevmchain <id>, observe changed/added files.
Types of changes

New feature (non-breaking change which adds functionality)

Checklist

[x] Create pull request as draft initially, unless its complete.
[x] Add tests to cover changes as needed.
[x] Update documentation as needed.
[x] If there is a related Issue, mention it in the description.

If you're adding a new blockchain

[ ] I have read the guidelines for adding a new blockchain.

Description
Added new newevmchain script, a subset of newcoin, to be used in the EVM chain case. It skips some changes/additions that are not needed in this use case.
Fixes #2791.
How to test
Add a new Etehreum chain to registry.json, invoke codegen/bin/newevmchain <id>, observe changed/added files.
Types of changes

New feature (non-breaking change which adds functionality)

Checklist

[x] Create pull request as draft initially, unless its complete.
[x] Add tests to cover changes as needed.
[x] Update documentation as needed.
[x] If there is a related Issue, mention it in the description.

If you're adding a new blockchain

[ ] I have read the guidelines for adding a new blockchain.

We'd be happy to look into this for you. Kindly file a support ticket here
https://forms.gle/zVGLP7GATPsDHdkH9

Refactored to minimize code duplication.
Moved newcoin to lib, and although I did rename in a separate commit, diff shows it as a new plus old file...


[QUESTION] 在使用信号处理器官方自带的WorkerStopHandler时, Ctrl+c会报all coroutines (count: 2) are asleep - deadlock!

Hyperf 版本
composer info | grep hyperf
friendsofhyperf/http-client             0.1.5         HTTP Client for Hyperf, from Laravel.
hyperf-ext/auth                         v2.2.0        The Hyperf Auth package.
hyperf-ext/encryption                   v2.2.0        The Hyperf Encryption package.
hyperf-ext/hashing                      v2.2.2        The Hyperf Hashing package.
hyperf-ext/jwt                          v2.2.1        The Hyperf JWT package.
hyperf-ext/translatable                 v2.2.0        The Hyperf Multilingual Model package.
hyperf/async-queue                      v2.2.8        A async queue component for hyperf.
hyperf/cache                            v2.2.0        A cache component for hyperf.
hyperf/command                          v2.2.9        Command for hyperf
hyperf/config                           v2.2.0        An independent component that provides configuration container.
hyperf/constants                        v2.2.0        A constants component for hyperf.
hyperf/contract                         v2.2.8        The contracts of Hyperf.
hyperf/crontab                          v2.2.10       A crontab component for Hyperf.
hyperf/database                         v2.2.13       A flexible database library.
hyperf/db-connection                    v2.2.0        A hyperf db connection handler for hyperf/database.
hyperf/devtool                          v2.2.5        A Devtool for Hyperf.
hyperf/di                               v2.2.14       A DI for Hyperf.
hyperf/dispatcher                       v2.2.0        A HTTP Server for Hyperf.
hyperf/engine                           v1.1.6
hyperf/event                            v2.2.0        an event manager that implements PSR-14.
hyperf/exception-handler                v2.2.0        Exception handler for hyperf
hyperf/filesystem                       v2.2.6        flysystem integration for hyperf
hyperf/flysystem-oss                    v1.0.0
hyperf/framework                        v2.2.14       A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middle...
hyperf/guzzle                           v2.2.0        Swoole coroutine handler for guzzle
hyperf/http-message                     v2.2.12       microservice framework base on swoole
hyperf/http-server                      v2.2.13       A HTTP Server for Hyperf.
hyperf/logger                           v2.2.14       A logger component for hyperf.
hyperf/macroable                        v2.2.13       Hyperf Macroable package which come from illuminate/macroable
hyperf/memory                           v2.2.0        An independent component that use to operate and manage memory.
hyperf/model-cache                      v2.2.0        A model cache component for hyperf.
hyperf/model-listener                   v2.2.14       A model listener for Hyperf.
hyperf/paginator                        v2.2.0        A paginator component for hyperf.
hyperf/pool                             v2.2.0        An independent universal connection pool component.
hyperf/process                          v2.2.3        A process component for hyperf.
hyperf/redis                            v2.2.9        A redis component for hyperf.
hyperf/resource                         v2.2.1        A api resource component for hyperf.
hyperf/server                           v<IP_ADDRESS>     A base server library for Hyperf.
hyperf/session                          v2.2.7        A session library
hyperf/signal                           v2.2.0        A signal library for Hyperf.
hyperf/translation                      v2.2.13       An independent translation component, forked by illuminate/translation.
hyperf/utils                            v2.2.13       A tools package that could help developer solved the problem quickly.
hyperf/validation                       v2.2.13       hyperf validation
hyperf/watcher                          v<IP_ADDRESS>      Hot reload watcher for Hyperf
wilbur-yu/hyperf-opcache                0.0.4         PHP Opcache command for Hyperf
wilbur-yu/hyperf-options                0.1.2         Global key-value store in the database
wilbur/hyperf-soar                      2.0.4         SQL optimizer and rewriter for Hyperf component.
yansongda/hyperf-pay                    v1.0.0-beta.2 可能是基于 hyperf 的最优雅的支付宝、微信支付 SDK 了

Swoole 版本
php --ri swoole

swoole

Swoole => enabled
Author => Swoole Team<EMAIL_ADDRESS>Version => 4.7.1
Built => Aug 19 2021 17:50:32
coroutine => enabled with boost asm context
kqueue => enabled
rwlock => enabled
openssl => OpenSSL 1.1.1k  25 Mar 2021
dtls => enabled
http2 => enabled
json => enabled
curl-native => enabled
pcre => enabled
c-ares => 1.17.2
zlib => 1.2.11
brotli => E16777225/D16777225
async_redis => enabled

Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 262144 => 262144

config/autoload/signal.php
return [
    'handlers' => [
        Hyperf\Signal\Handler\WorkerStopHandler::class => PHP_INT_MIN,
        // Hyperf\Process\Handler\ProcessStopHandler::class,
    ],
    'timeout' => 5.0,
];

➜ composer start-dev
> composer dump-autoload -o
Generating optimized autoload files
> rm -rf runtime/container
Generated optimized autoload files containing 5054 classes
> php ./bin/hyperf.php server:watch
Generating optimized autoload files
Generated optimized autoload files containing 5054 classes

Start server ...
[INFO] Process[queue.default.0] start.
[INFO] Worker#0 started.
[INFO] Process[LessonOrderConsumerProcess.0] start.
[INFO] Worker#1 started.
[INFO] Process[CreateStudentLessonConsumerProcess.0] start.
[INFO] Worker#2 started.
[INFO] HTTP Server listening at <IP_ADDRESS>:9820
[INFO] Worker#3 started.
[INFO] Process[NotificationConsumerProcess.0] start.
^C
===================================================================
 [FATAL ERROR]: all coroutines (count: 2) are asleep - deadlock!
===================================================================

 [Coroutine-3]
--------------------------------------------------------------------
#0  Swoole\Coroutine\System::waitSignal() called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/signal/src/SignalManager.php:80]
#1  Hyperf\Signal\SignalManager->Hyperf\Signal\{closure}() called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/utils/src/Functions.php:274]
#2  call() called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/utils/src/Coroutine.php:62]

 [Coroutine-2]
--------------------------------------------------------------------
#0  Swoole\Coroutine\System::waitSignal() called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/signal/src/SignalManager.php:80]
#1  Hyperf\Signal\SignalManager->Hyperf\Signal\{closure}() called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/utils/src/Functions.php:274]

===================================================================#2  call() called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/utils/src/Coroutine.php:62]

===================================================================
===================================================================
 [FATAL ERROR]: all coroutines (count: 2) are asleep - deadlock!
===================================================================

 [FATAL ERROR]: all coroutines (count: 2) are asleep - deadlock!
===================================================================

 [Coroutine-3]
--------------------------------------------------------------------

 [Coroutine-3]
--------------------------------------------------------------------
#0  Swoole\Coroutine\System#0  ::Swoole\Coroutine\SystemwaitSignal() called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/signal/src/SignalManager.php:80]
::#1  waitSignal(Hyperf\Signal\SignalManager) called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/signal/src/SignalManager.php:80]
->Hyperf\Signal\{closure}(#1  Hyperf\Signal\SignalManager->) called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/utils/src/Functions.php:274]
Hyperf\Signal\{closure}(#2  call() called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/utils/src/Functions.php:274]
) called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/utils/src/Coroutine.php:62]
#2
call(
 [Coroutine-2]
--------------------------------------------------------------------
) called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/utils/src/Coroutine.php:62]
#0
Swoole\Coroutine\System
 [Coroutine-2]::
--------------------------------------------------------------------
waitSignal() called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/signal/src/SignalManager.php:80]
#1  Hyperf\Signal\SignalManager->Hyperf\Signal\{closure}() called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/utils/src/Functions.php:274]
#2  call() called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/utils/src/Coroutine.php:62]

#0  Swoole\Coroutine\System::waitSignal() called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/signal/src/SignalManager.php:80]
#1  Hyperf\Signal\SignalManager->Hyperf\Signal\{closure}() called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/utils/src/Functions.php:274]
#2  call() called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/utils/src/Coroutine.php:62]

 [FATAL ERROR]: all coroutines (count: 2) are asleep - deadlock!
===================================================================

 [Coroutine-3]
--------------------------------------------------------------------
#0  Swoole\Coroutine\System::waitSignal() called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/signal/src/SignalManager.php:80]
#1  Hyperf\Signal\SignalManager->Hyperf\Signal\{closure}() called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/utils/src/Functions.php:274]
#2  call() called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/utils/src/Coroutine.php:62]

 [Coroutine-2]
--------------------------------------------------------------------
#0  Swoole\Coroutine\System::waitSignal() called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/signal/src/SignalManager.php:80]
#1  Hyperf\Signal\SignalManager->Hyperf\Signal\{closure}() called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/utils/src/Functions.php:274]
#2  call() called at [/Users/wilbur.yu/MyCode/Work/api-server/vendor/hyperf/utils/src/Coroutine.php:62]

这个可以不用管，因为实际上不影响使用

不过也可以提个 pr 改改这里

这个可以不用管，因为实际上不影响使用

期待大佬修复一下，php8宝塔supervisor重启也会一直出现这个

请问这个问题最终是如何处理的啊？
[FATAL ERROR]: all coroutines (count: 6) are asleep - deadlock!


Movies Page -- Add more pages to visit & more info to the modals (See Also, Trailers, Reviews, etc)

Allow for more API calls to fetch more pages of movies and display all of them, with different pages.
Get the additional info on the modal to work

Pagination works for movies.
Used a carousel within the modal. Each carousel item has a card, which will be used to display more information


typo: missing close-quote

Thank you @lnmx - much appreciated!
Your fix is live now: https://docs.mender.io/Devices/Partition-layout#configuring-the-partition-sizes


Make suggestion about --ignore-exceptions more obvious in migration output

(Based on a suggestion from @jwren)
When the migration tool encounters an exception, it prints out a suggestion to the user to tell them they can try re-running with --ignore-exceptions.  But it prints out a lot of other info too (a link to github for where to file a bug, the SDK version, and a stacktrace), and it's easy for user to miss the --ignore-exceptions suggestion.
We should consider re-ordering the output so that the --ignore-exceptions suggestion is at the bottom, and in bold.

As of 1c7fe7196dd7a542f7f91cd6ea2ac81e1a13146c, the null safety migration tool has been removed from active development and retired. No further work on the tool is planned.
If you still need help, or you believe this issue has been closed in error, please feel free to reopen.


Unable to run az connectedk8s show command

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az connectedk8s show
Errors:
The command failed with an unexpected error. Here is the traceback:
Cannot load native module 'Crypto.Hash._MD5': Trying '_MD5.cp38-win32.pyd': cannot load library 'C:\Users\mozaid\.azure\cliextensions\connectedk8s\Crypto\Util\..\Hash\_MD5.cp38-win32.pyd': error 0x7e.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'C:\\Users\\mozaid\\.azure\\cliextensions\\connectedk8s\\Crypto\\Util\\..\\Hash\\_MD5.cp38-win32.pyd', Trying '_MD5.pyd': cannot load library 'C:\Users\mozaid\.azure\cliextensions\connectedk8s\Crypto\Util\..\Hash\_MD5.pyd': error 0x7e.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'C:\\Users\\mozaid\\.azure\\cliextensions\\connectedk8s\\Crypto\\Util\\..\\Hash\\_MD5.pyd'
Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 556, in execute
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/__init__.py", line 517, in load_arguments
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 313, in load_arguments
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/commands.py", line 104, in load_arguments
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 367, in arguments_loader
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 70, in load_getter_op_arguments
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 59, in get_op_handler
  File "importlib\__init__.py", line 127, in import_module
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\Users\mozaid\.azure\cliextensions\connectedk8s\azext_connectedk8s\custom.py", line 33, in <module>
    from Crypto.IO import PEM
  File "C:\Users\mozaid\.azure\cliextensions\connectedk8s\Crypto\IO\PEM.py", line 39, in <module>
    from Crypto.Hash import MD5
  File "C:\Users\mozaid\.azure\cliextensions\connectedk8s\Crypto\Hash\MD5.py", line 29, in <module>
    _raw_md5_lib = load_pycryptodome_raw_lib("Crypto.Hash._MD5",
  File "C:\Users\mozaid\.azure\cliextensions\connectedk8s\Crypto\Util\_raw_api.py", line 308, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Hash._MD5': Trying '_MD5.cp38-win32.pyd': cannot load library 'C:\Users\mozaid\.azure\cliextensions\connectedk8s\Crypto\Util\..\Hash\_MD5.cp38-win32.pyd': error 0x7e.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'C:\\Users\\mozaid\\.azure\\cliextensions\\connectedk8s\\Crypto\\Util\\..\\Hash\\_MD5.cp38-win32.pyd', Trying '_MD5.pyd': cannot load library 'C:\Users\mozaid\.azure\cliextensions\connectedk8s\Crypto\Util\..\Hash\_MD5.pyd': error 0x7e.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'C:\\Users\\mozaid\\.azure\\cliextensions\\connectedk8s\\Crypto\\Util\\..\\Hash\\_MD5.pyd'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az connectedk8s show

Expected Behavior
Environment Summary
Windows-10-10.0.19041-SP0
Python 3.8.9
Installer: MSI

azure-cli 2.28.0

Extensions:
appservice-kube 0.2.2
azure-devops 0.18.0
connectedk8s 1.1.11
customlocation 0.1.2
k8s-configuration 1.0.0
k8s-extension 0.4.1
logicapp 0.1.1

Additional Context

route to service team

@zaidmohd Apologies for the late reply. The similar issue was reported https://github.com/Azure/azure-cli/issues/20554#issuecomment-1027533628 and https://github.com/Azure/azure-cli/issues/21306#issuecomment-1040353757. So could you try the plan mentioned in their comment and check if that helps ?
Also could you please try the below steps and let us know if you still face the issue ?

az extension update --name connectedk8s # This will update the existing connectedk8s extension

Then you can try to run the az connectedk8s show command and let us know if you run into any issues.
Also this issue is open for quite sometime. Please let us know if you still need any assistance on this. Awaiting your reply.

@zaidmohd I wanted to do quick follow-up to check if you had a chance to look at my above comment. This github issue is open for quite sometime. Please let us know if you need any further assistance on this. Awaiting your reply.

It was version issue, it was fixed with the updated version. Don't have the version details handy. Thanks


Support parenthesized AssignmentPatterns

Closes #1833

Closing based on https://github.com/jshint/jshint/issues/2269#issuecomment-84515787 for now


Release tracking PR: v0.3.0

In preparation for release add a changelog entry and bump the version number to v0.3.0.
Note that since we are pre-1.0 and this release has no breaking changes we technically could do v0.2.1 - I get more dopamine by bumping the minor patch version and it is still, I believe, technically allowed.
Note: Now includes an initial patch to remove explicit version of hex from the fuzz crate.

Bump please @apoelstra

I really think we should do 0.2.1 rather than 0.3.0 since there are no breaking changes.

Tagged and published.


Waypoint: Use hex code for specific color

Link: http://www.freecodecamp.com/challenges/waypoint-use-hex-code-for-specific-colors
Recognizes the hex code portion and marks that part complete.
Does not recognize the color as black for background-color.
This will not allow for the move to next waypoint button to become active.
Have tried using background-color: black and background-color: #000000.
This seems to be an issue for all of the hex code waypoints.

no body element my mistake


Making scripts executable is required for some, not for others on Ubuntu

Description
Hi, this is a weird one. I have a repository with a bunch of associated pipelines and I just added a few extra:
https://github.com/TomasHubelbauer/hubelbauer.net/commit/14854b93601fa01bfbb8f414690a752e0780e589
As you can see, three extra pipelines were introduced, three similar YML files all calling shell scripts of the same name internally. The hubelbauer.cz one just worked straight off the bat. However, the other two were failing with a 126 error code permission denial error:
https://github.com/TomasHubelbauer/hubelbauer.net/actions/runs/1947317567
https://github.com/TomasHubelbauer/hubelbauer.net/actions/runs/1947317565
The error happened for both on the very first push and I re-ran them manually to make sure it wasn't a flake. It stayed the same.
I tried making the shell scripts executable prior to calling them (something that's not necessary for the other scripts) and it helped:
https://github.com/TomasHubelbauer/hubelbauer.net/commit/e22a4b96fa3596395b274ae90196648b263760fd

https://github.com/TomasHubelbauer/hubelbauer.net/actions/runs/1947344827

https://github.com/TomasHubelbauer/hubelbauer.net/actions/runs/1947344816
However, I don't think I should need to do this? At first I figured maybe it was needed because the new pipelines had double periods in their name and their extensions could have been interpreted as domain.tld-redirect.sh instead of just .sh. But if that was the case, why did the hubelbauer.cz-redirect.sh one work and the other two did not? It is the same pattern... Are the file names too long or something?
I think this is a bug, like other shell files, I should not need to make these executable in the pipeline before calling them. I just don't know why these two stand out.
Virtual environments affected

[X] Ubuntu 18.04
[X] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11
[ ] Windows Server 2016
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
ubuntu-latest
Is it regression?
don't know
Expected behavior
chmod +x is not needed to run shell scripts
Actual behavior
chmod +x is sometimes but not always needed to run shell scripts
Repro steps
Fork my repo https://github.com/TomasHubelbauer/hubelbauer.net - it will fork its pipelines and you can see the problem will come back if you remove the chmod +x step I had to introduce to fix the error.

You need to change executable permission bit because git preserves that information in the repository
pj in marten in ~/.loc/tmp/hubelbauer.net/.github/workflows on  master
❯ ll -a
drwxr-xr-x pj pj 4.0 KB Mon Mar  7 23:53:54 2022  .
drwxr-xr-x pj pj 4.0 KB Mon Mar  7 23:53:54 2022  ..
.rw-r--r-- pj pj  72 B  Mon Mar  7 23:53:54 2022  .gitignore
.rwxr-xr-x pj pj 486 B  Mon Mar  7 23:53:54 2022  dns-a-records.sh
.rw-r--r-- pj pj 540 B  Mon Mar  7 23:53:54 2022  dns-a-records.yml
.rwxr-xr-x pj pj 505 B  Mon Mar  7 23:53:54 2022  dns-aaaa-records.sh
.rw-r--r-- pj pj 549 B  Mon Mar  7 23:53:54 2022  dns-aaaa-records.yml
.rwxr-xr-x pj pj 447 B  Mon Mar  7 23:53:54 2022  dns-cname-record.sh
.rw-r--r-- pj pj 553 B  Mon Mar  7 23:53:54 2022  dns-cname-record.yml
.rwxr-xr-x pj pj 376 B  Mon Mar  7 23:53:54 2022  http-https-redirect.sh
.rw-r--r-- pj pj 580 B  Mon Mar  7 23:53:54 2022  http-https-redirect.yml
.rwxr-xr-x pj pj 380 B  Mon Mar  7 23:53:54 2022  http-www-redirect.sh
.rw-r--r-- pj pj 580 B  Mon Mar  7 23:53:54 2022  http-www-redirect.yml
.rwxr-xr-x pj pj 7.2 KB Mon Mar  7 23:53:54 2022  https-ssl-certificates.sh
.rw-r--r-- pj pj 565 B  Mon Mar  7 23:53:54 2022  https-ssl-certificates.yml
.rwxr-xr-x pj pj 381 B  Mon Mar  7 23:53:54 2022  https-www-redirect.sh
.rw-r--r-- pj pj 583 B  Mon Mar  7 23:53:54 2022  https-www-redirect.yml
.rwxr-xr-x pj pj 375 B  Mon Mar  7 23:53:54 2022  hubelbauer.cz-redirect.sh
.rw-r--r-- pj pj 585 B  Mon Mar  7 23:53:54 2022  hubelbauer.cz-redirect.yml
.rw-r--r-- pj pj 380 B  Mon Mar  7 23:53:54 2022  tomashubelbauer.cz-redirect.sh
.rw-r--r-- pj pj 732 B  Mon Mar  7 23:53:54 2022  tomashubelbauer.cz-redirect.yml
.rw-r--r-- pj pj 381 B  Mon Mar  7 23:53:54 2022  tomashubelbauer.net-redirect.sh
.rw-r--r-- pj pj 737 B  Mon Mar  7 23:53:54 2022  tomashubelbauer.net-redirect.yml

You can fix that by running
git update-index --chmod=+x <path to file>

Ah, thank you! I did not realize Git kept this information, I operated with the assumption that the Ubuntu image was configured such that the executable flag was implicit. This makes way more sense. The reason these two workflows specifically were failing was because they were a copy-paste job I figured was not worth testing locally since the changes were so small.


Incorrect URL pattern for "Manually post the request" section

The pattern displayed will return a 404, it needs to be updated to
http://localhost:7071/runtime/webhooks/EventGridExtensionConfig?functionName={FunctionName}
/admin/extensions/ -> /runtime/webhooks/
I found the answer by finding a closed issue in the Azure Functions Python Worker repo https://github.com/Azure/azure-functions-python-worker/issues/87

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

ID: a6bb013c-83b0-84fd-f4eb-364db7b3c507
Version Independent ID: 6a2a7e4a-769f-034a-c9a2-c3decc6b20b0
Content: Event Grid trigger for Azure Functions
Content Source: articles/azure-functions/functions-bindings-event-grid.md
Service: functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@garrytrinder Thanks for providing the feedback. I have assigned the issue to the content author to evaluate and update as appropriate.

@garrytrinder I think that we now have this fixed...@Karishma-Tiwari-MSFT please assign this issue to @craigshoemaker, who now owns the article, so he can verify. Thanks!

Thanks for the heads-up, @garrytrinder! I have created an internal work item to verify or update this article based on your feedback.
#please-close

Having a bear of time configuring the endpoint for local development... Was able to get it with the Ngrok endpoint. Is there a different URL to use when posting the EventGrid Schema locally?
I tried:
http://localhost:7071/admin/extensions/EventGridExtensionConfig?functionName=EventGridTest
&
http://localhost:7071/runtime/webhooks/EventGridExtensionConfig?functionName=EventGridTest

I feel like this shouldn't be closed until the URL for V1 or V2 is verified and marked in the docs.

Very infuriating indeed @timmyreilly !!
After lots of spinning, I found the correct URL to use from here:  https://github.com/Azure/azure-functions-host/issues/3387
e.g
https://localhost:7071/runtime/webhooks/eventgrid?functionName={FunctionName}


Delete cause Unhandled Exception - type 'bool' is not a subtype of 'List'

Simply execute delete function, it causes an exception as following.
[Version]
0.6.0
[Reproduce Steps]
final List result = await PhotoManager.editor.deleteWithIds([entity.id]);
[Result]
The photo in Album is able to be truly deleted but an error message is logged as following. That looks like your deleteWithIds of plugin.dart is not casted to correct type.
================================================================
flutter ( 3928): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: type 'bool' is not a subtype of type 'List' in type cast
E/flutter ( 3928): #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:159:41)
E/flutter ( 3928):
E/flutter ( 3928): #1      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:332:12)
E/flutter ( 3928): #2      Plugin.deleteWithIds (package:photo_manager/src/plugin.dart:170:25)
E/flutter ( 3928): #3      Editor.deleteWithIds (package:photo_manager/src/editor.dart:19:20)
E/flutter ( 3928): #4      _PhotoPageState.deleteImage (package:kindergartenteacher/pages/photopage.dart:329:64)
E/flutter ( 3928): #5      _PhotoPageState.build. (package:kindergartenteacher/pages/photopage.dart:229:38)
E/flutter ( 3928): #6      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:993:19)
E/flutter ( 3928): #7      _InkResponseState.build. (package:flutter/src/material/ink_well.dart:1111:38)
E/flutter ( 3928): #8      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:183:24)
E/flutter ( 3928): #9      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:598:11)
E/flutter ( 3928): #10     BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:287:5)
E/flutter ( 3928): #11     BaseTapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:222:7)
E/flutter ( 3928): #12     PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:476:9)
E/flutter ( 3928): #13     PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:77:12)
E/flutter ( 3928): #14     PointerRouter._dispatchEventToRoutes. (package:flutter/src/gestures/pointer_router.dart:122:9)
E/flutter ( 3928): #15     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:377:8)
E/flutter ( 3928): #16     PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:120:18)
E/flutter ( 3928): #17     PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:106:7)
E/flutter ( 3928): #18     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:358:19)
E/flutter ( 3928): #19     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:338:22)
E/flutter ( 3928): #20     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:267:11)
E/flutter ( 3928): #21     GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:295:7)
E/flutter ( 3928): #22     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:240:7)
E/flutter ( 3928): #23     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:213:7)
E/flutter ( 3928): #24     _rootRunUnary (dart:async/zone.dart:1206:13)
E/flutter ( 3928): #25     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
E/flutter ( 3928): #26     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1005:7)
E/flutter ( 3928): #27     _invoke1 (dart:ui/hooks.dart:265:10)
E/flutter ( 3928): #28     _dispatchPointerDataPacket (dart:ui/hooks.dart:174:5)

Seems been resolved by #460 .


⚠ Bofrost.lu has degraded performance

In 9802af3, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1107 ms

Resolved: Bofrost.lu performance has improved in 98dfa13 after 8 minutes.


Ignore unity files

Ignore untity files, as main application may use its own unity.
In case of MCCE, mbed-os compiles its own untity vesion and we need to ignore these files to avoid compilation errors.

https://github.com/ARMmbed/mbed-cryptoauthlib/pull/6 opened instead of this PR


Enfore https:// for CDN URLs (fixes #609)

Fixes #609

Codecov Report

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

@@            Coverage Diff            @@
##            master      #611   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines            8         8
=========================================
  Hits             8         8

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 2d8a536...4e261d8. Read the comment docs.


Continuous color scale range adjustment when used in Dash callback

When updating the color parameter of a plotly_express scatter plot from a dcc.Dropdown within a Dash call back and returning the output of the scatter plot into the 'figure' property of a dcc.Graph, the range of the color scale (continuous) can increase if the range of the data passed to color increases but does not decrease automatically if the range of the data decreases.
The callback function is the following:
@app.callback(Output("graph", "figure"),
              [Input('x', 'value'),
               Input("y", "value"),
               Input("couleur", "value")])
def update_graph(x, y, couleur):
    fig = px.scatter(days, x=x, y=y, color=couleur, hover_data=days.columns)
    return fig

The issue can be observed in this demo app: https://flask.urandom.xyz/boltev/

Refresh the app to get the default parameter of the "Variable couleur" dropdown. The range of the color scale is -22 to 30.
Change the "Variable couleur" dropdown to "fraction battery utilisée". This variable has a range of 0 to 1 but the color scale still shows -22 to 30 hence all the points have approximately the same color.
Change the "Variable couleur" dropdown to "distance (km)". The colorscale changes to ~< 0 to ~420.
Change the "Variable couleur" dropdown to "consommation (kWh/100km)". This variable has a range of 12 to 32 approx. Just as previously, the color scale keeps the larger range and the points show with a mostly uniform color.
Clear the "Variable couleur" dropdown. The color scale disappears (expected).
Set the "Variable couleur" dropdown back to "consommation (kWh/100km)". This time, the color scale matches the range of the data.

Playing a bit with the different variables and ranges, my conclusion is that the color scale min or max values will adjust only when the new min or max is outside the range or the previously rendered color scale. If a new variable with a range contained within the current range is passed, the color scale will not change at all.
The full code of the demo app is available at https://github.com/DamdlBT/BoltEV-Dash.
I raised this issue here since the app uses plotly_express to generate the figure, however, I can raise it in another repo if more appropriate.

Transferred to https://github.com/plotly/plotly.py/issues/1917.


(BOLT-983) Add plan executor configuration file

What this changes This adds a new config.rb to the plan executor to load and manage configuration for the app. It also adds a plan_config.rb which reads config and starts the puma server. Lastly it updates documentation in the developer-docs subdir to be up to date.
Why So that we can configure and run the plan executor puma application.

Still updating the docs, but I think this is about done.

Waiting for CLA signature by @lucywyman
@lucywyman - We require a Contributor License Agreement (CLA) for people who contribute to Puppet, but we have an easy click-through license with instructions, which is available at https://cla.puppet.com/
Note: if your contribution is trivial and you think it may be exempt from the CLA, please post a short reply to this comment with details. http://docs.puppet.com/community/trivial_patch_exemption.html

I kept the last commit separate in case the changes are too much and we want to break it out into a separate PR.

I like the change to @data :+1:


Server failing unable to restart, able to restart when resetting queues

Here is thee error
  {"init terminating in do_boot",{rabbit,failure_during_boot,{could_not_start,rabbit,{bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{rabbit,failure_during_boot,{badmatch,{error,{{{function_clause,[{rabbit_queue_index,journal_minus_segment1,[{no_pub,del,no_ack},{{<<16 bytes>>,{message_properties,undefined,false},true},del,ack}],[{file,"src/rabbit_queue_index.erl"},{line,989}]},{rabbit_queue_index,'-journal_minus_segment/2-fun-0-',4,[{file,"src/rabbit_queue_index.erl"},{line,973}]},{array,sparse_foldl_3,7,[{file,"array.erl"},{line,1675}]},{array,sparse_foldl_2,9,[{file,"array.erl"},{line,1669}]},{rabbit_queue_index,'-recover_journal/1-fun-0-',1,[{file,"src/rabbit_queue_index.erl"},{line,701}]},{lists,map,2,[{file,"lists.erl"},{line,1224}]},{rabbit_queue_index,segment_map,2,[{file,"src/rabbit_queue_index.erl"},{line,819}]},{rabbit_queue_index,recover_journal,1,[{file,"src/rabbit_queue_index.erl"},{line,693}]}]},{gen_server2,call,[<0.200.0>,out,infinity]}},{child,undefined,msg_store_persistent,{rabbit_msg_store,start_link,[msg_store_persistent,"/var/lib/rabbitmq/mnesia/rabbit@ip-10-63-162-69",[],{#Fun<rabbit_queue_index.2.132977059>,{start,[{resource,<<1 byte>>,queue,<<6 bytes>>}]}}]},transient,4294967295,worker,[rabbit_msg_store]}}}}}}}}}}}

Can you define "resetting" queues?

@michaelklishin maybe you can help out here?

RabbitMQ couldn't recover its queue index. Resetting a node removes the entire internal database.

Ah cool, than that's not a cookbook issue. We don't create queues either with the cookbook, we just set up rabbitmq so this is out of scope.


Not working with www/t411.ch

Hi,
RM was working really well with T411, but no longer: they seem to have found a way to detect its use, and ignore the fake uploads.

Fellow member of T411 here, I actually have absolutely no issue using RatioMaster with the website. Fake uploads get added to my account with no issue. You just have to let the program send the update to the tracker before closing it, or you might lose up to 30 minutes of upload.

Thanks for the tip, I'll try again and see if it was indeed an update problem.
I did not know what the update was for, that's useful information!

Well, you're right, it's working now.
Not sure what happened, it must have been a fluke, Thanks!


isPlainObject function is wrong

Hi, this function is wrong:
https://github.com/survivejs/webpack-merge/blob/2e8780ead820b9b2eecb13f394613acf325c0d91/src/join-arrays.ts#L63-L65
because returns true when a is null so currently, isPlainObject(null) === true. Why not use is-plain-object package instead?

I went with the minimal amount of external dependencies.
Can you send me a test case where the current check is problematic? Simple configurations to merge would do.

const { merge } = require("webpack-merge")

const a = {
    devServer: { base: true }
}

const b = {
    devServer: null
}

console.log(merge(a, b))

expected result: { devServer: null }

Fixed in 5.1.2. Thanks!


Improve picker fetching logic to use solr doc instead of using performFind

What is the motivation for adding/enhancing this feature?

When using performFind call to fetch the information for pickers, its response from the api is taking too long and thus having a bad user experience.
What are the acceptance criteria?

[ ] Replace performFind call with solr doc for fetching pickers information

Can you complete this feature request by yourself?

[x] YES
[ ] NO

Additional information

Verified the spinner login and found that it is working fine in release v2.6.0.

Verified rest of the changes which are merged later and they are working fine in release v2.9.3. Hence, marking this ticket as closed.

Issue still exists in edit picker modal. Hence, reopening this issue.

Issue verified and working fine in release v2.10.4. Hence, closing it.


Remove hardcoded heights on text elements

Users can choose to increase their text size via their browser settings.
Therefore along with https://github.com/pypa/warehouse/issues/6349, it is important that we do not hard code the height of any element that contains text (so that the element adjusts in height in relation to the text inside).
We need to remove hardcoded values (height and line-height) from:

Buttons
Inputs
Selects
Search form
Skip to content link
Status badge

Note: while doing this we need to fix the alignment of this UI:


Extractor Tutorial: Salesforce

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1141
Originally created by @dmor on 2019-10-16 16:12:43

All extractors need to have the following:

[ ]  step-by-step tutorial in docs that works entirely on the UI (no command line)
[ ]  must include screenshots
[ ]  must include a short video of the tutorial (less than 2 minutes)
[ ]  discoverable in the sidebar navigation
[ ]  successfully dog-fooded with a dogfooding speedrun on Meltano's YouTube channel

View 3 previous comments from the original issue on GitLab


Can it generate atomic code like embedded coder in matlab ?

Hi,
You did great work developing the library. I am trying to use it smt32G4. I have generated a base-level driver from stm32cubeide and modified it to suit my needs. Is there any way this library generates atomic code for the Modelica function? If there is another way to do that, please provide a reference.

Hm, this library doesn't generate C code. It's the Modelica tool which generates the code. MDD just uses the Modelica external function interface for interfacing to C code which finally accesses the hardware device. There is a relevant paper which describes some experimental work targeting STM32F4 Boards (https://doi.org/10.1145/3158191.3158204). It used an experimental code generator target from OpenModelica which probably comes close to what you need in respect of the code structure, but it was very limited in terms of supported Modelica code. I haven't checked for long time what the status of that target is.


chore: remove cloudbuild step to deploy deleted hono example

Problem
Currently, we have a cloud build step to deploy an example that no longer exists.

@tmastrom This is already pointing the correct Dockerfile.
'./packages/hono-api-reference/Dockerfile',


Visualize metadata validation results

Per each metadata record display its conformance with: INSPIRE with link to the validation report. This should be displayed for authorised users only.
Dedicated labels such as: data download available anonymously/authorised/not would be preferable for general audience... Maybe we can find some inspiration for visualization of these labels also here (https://www.geolabel.info/About.htm)

see also the discussions section about this topic