feat: add chains filter for its assets

Description
James (BD team) suggest to add a filter:

Recommendation — we should add a filter by chain option here on the axelarscan under the ITS section. It would be helpful to be able to check by ecosystem what assets have been registered.
https://axelarscan.io/resources/assets?type=its

Slack thread
https://interoplabs.slack.com/archives/C035KBHNP8A/p1729780147445699
Jira ticket
https://axelarnetwork.atlassian.net/jira/software/c/projects/AXE/boards/19?selectedIssue=AXE-6218

Please check the text label color in dark mode.


Handling new netlog visit URL

URL is not escaped and payload is not json.

Will change to JSON payload in https://github.com/2beens/serj-tubin-com/pull/92
Might not be necessary then

done


Have option to write to metaindex in debug mode

It would be a nice feature to have the option to write to the writeback meta-indexes.
https://github.com/Yelp/elastalert/blob/1334b611fdd7adf39991a1b0b11689568d612690/elastalert/elastalert.py#L1533
It would help testability if we could directly query the meta-indices to test elastalert and alerts firing.

Yelp/elastalert is no longer maintained. Please use jertel/elastalert2.
https://github.com/jertel/elastalert2


Revert laser controls dependency

I have run npm run test:machinima, and this patch passes all machinima tests: yes
Bring all raycaster config for point mode in-house

@vincentfretin Would you do me a huge favor and see if the pointer controls example works with GearVR in this build?

I'll be able to test it tomorrow evening.

I confirm, the ray on the ground for the left hand is back and the ray for the right hand doesn't stop at the intersection of the cube, so two issues we fixed previously with laser-controls. :-(

For those two issues, I didn't succeed to pinpoint what laser-controls does more that progressive-controls exactly so those two issues disappear.
For the grab part, yes it works.

Thanks for the report! The line not shortening is an issue in A-Frame 0.7.0
raycaster (aren't you the author of the patch that fix that?), so that
should resolve itself. The second controller activation, on the other hand,
is something we can solve. I just failed to consider the single controller
case before, but it shouldn't be too hard.
On Wed, Oct 11, 2017, 12:57 PM Vincent Fretin<EMAIL_ADDRESS>wrote:

I confirm, the ray on the ground for the left hand is back and the ray for
the right hand doesn't stop at the intersection of the cube, so two issues
we fixed previously with laser-controls. :-(
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/wmurphyrd/aframe-super-hands-component/pull/92#issuecomment-335895621,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJkeq08C6LBTNSzAQWDeSSerQEPRKtXgks5srQGagaJpZM4PzKjS
.

Yes I contributed to the patch. I'm testing with aframe master on my project too. The weird part it that with progressive-controls the ray go through the cube, and if I don't use progressive-controls and set everything myself, it stop at the intersection.

For reference:
<a-entity id="cameraRig" progressive-controls="objects: .cube"/>

and manually:
        <a-entity id="cameraRig">
          <a-entity
            class="right-controller"
            laser-controls
            raycaster="objects: .cube"
            super-hands="colliderEvent: raycaster-intersection; colliderEventProperty: els; colliderEndEvent: raycaster-intersection-cleared; colliderEndEventProperty: clearedEls; colliderState:"
            static-body="shape: sphere; sphereRadius: 0.02"
          />
        </a-entity>

@vincentfretin  I was about to start pulling my hair out over the raycaster line issue, but I found it: aframevr/aframe#3170

@wmurphyrd Bravo for finding out!


Height map import error

When importing a height map (16384x16384), an error occurred at the location shown in the figure, and the error was constantly reported when selecting terrain nodes.

What version or commit of Terrain3D?
You stated "when importing", but this screen shot is not of the importer, so it's not during the import process. Did importing produce any errors? How did you import the data then get it in this other scene? AFAIK it's not possible to save 16k resource files. #159
You wrote "an error". Are you referring to the visual artifact on screen or the 44k errors? What exact process did you go through to do this? We've had 16k imports  just fine without issue.

What version or commit of Terrain3D?
You stated "when importing", but this screen shot is not of the importer, so it's not during the import process. Did importing produce any errors? How did you import the data then get it in this other scene? AFAIK it's not possible to save 16k resource files. #159
You wrote "an error". Are you referring to the visual artifact on screen or the 44k errors? What exact process did you go through to do this? We've had 16k imports  just fine without issue.

Version terrain3d_ 0.8.3-alpha_ Gd4.1.1
Sorry, I didn't explain it clearly. There was a problem during the import process.
Import error occurred in one corner of the terrain (X.MAX, Z.MAX)
In addition, when selecting the Importer node and moving the mouse to the error area, the following error will occur:
core/io/image.cpp:3265 - Index p_x = 1315 is out of bounds (width = 1024).
core/io/image.cpp:3265 - Index p_x = 1316 is out of bounds (width = 1024).
core/io/image.cpp:3265 - Index p_x = 1317 is out of bounds (width = 1024).
core/io/image.cpp:3265 - Index p_x = 1318 is out of bounds (width = 1024).
core/io/image.cpp:3265 - Index p_x = 1319 is out of bounds (width = 1024).
core/io/image.cpp:3265 - Index p_x = 1320 is out of bounds (width = 1024).
core/io/image.cpp:3265 - Index p_x = 1321 is out of bounds (width = 1024).
core/io/image.cpp:3265 - Index p_x = 1322 is out of bounds (width = 1024).

In the current master branch and Godot 4.1.2, I'm able to import 16k x 16k without error messages. There were artifacts outside of the global region boundary, fixed in 4fc9b4c, but that is different than the issue reported here.
The only problem is that last added region shows as flat. There's likely an array index error somewhere. When that is fixed, this ticket will be closed.
Also note:

This large terrain can't be saved (so the scene can't be run) due to an engine bug documented in #159.
Collision takes up too much memory #161

The region_map is an array of 256 bytes, which holds the ID number of each region. Since there are 256 regions available and each byte can hold 0-255, this would work fine. However we currently store 0 if no region is present. So, we need a range of 0-256, or 257 values. Most likely the last region is being created and stored with region id 256, which wraps to 0, which means no region.
We'll have to figure out a different way to either ID the regions or store the IDs. Perhaps either making it an array of 2 byte ints, or storing the presence in an array of bits, which could fit in 8 bytes. Probably the former so we can expand to much larger terrains later.

Fixed in #250


Create get started guide

Would getting started be made runnable and automatically tested? See comment in https://github.com/dagger/dagger/issues/2552#issuecomment-1259973039

@vikram-dagger how many days would you need to write this with the updated API? @aluzzardi needs to know, so we can backtrack the API timeline for you

@aluzzardi @sipsma @vito talked with Vikram, and he would need about 2-3 days to create the guide after you feel more confident about the API changes


feat: replace map_foreach function with foreach for iterating through iterables (array, map, string)

all aboard?


Ability to define update groups (monorepos)

With Greenkeeper, one cool feature is that I can have it update a dependency across multiple packages in the same repo in a single PR.
In the config you would create these groups and they would be (example for JavaScript) an array containing paths to the package root relative to the repository's root

Duplicate of #1190


GraalVM native image compatibility

Hello!
Thank you for such an amazing library, I'm using it for some Micronaut projects.
I found that this library is not supporting the GraalVM native image feature, I have tried to build an application with logback-appender-nodep and it failed with an exception:
Error: Detected a direct/mapped ByteBuffer in the image heap. A direct ByteBuffer has a pointer to unmanaged C memory, and C memory from the image generator is not available at image runtime.A mapped ByteBuffer references a file descriptor, which is no longer open and mapped at run time.   To see how this object got instantiated use --trace-object-instantiation=java.nio.DirectByteBuffer. The object was probably created by a class initializer and is reachable from a static field. You can request class initialization at image runtime by using the option --initialize-at-run-time=<class-name>. Or you can write your own initialization methods and call them explicitly from your main entry point.
[application:38538]    Detailed message:
  [total]:  96,274.29 ms, Trace: Object was reached by
 7.97 GB
        reading field pl.tkowalcz.tjahzi.org.agrona.concurrent.UnsafeBuffer.byteBuffer of
                constant pl.tkowalcz.tjahzi.org.agrona.concurrent.UnsafeBuffer@f8a283 reached by
        reading field pl.tkowalcz.tjahzi.LogBufferSerializer.buffer of
                constant pl.tkowalcz.tjahzi.LogBufferSerializer@6740bb47 reached by
        reading field pl.tkowalcz.tjahzi.TjahziLogger.serializer of
                constant pl.tkowalcz.tjahzi.TjahziLogger@4da08d11 reached by
        reading field pl.tkowalcz.tjahzi.logback.LokiAppender.logger of
                constant pl.tkowalcz.tjahzi.logback.LokiAppender@1c61966b reached by
        indexing into array
                constant java.lang.Object[]@2da676b6 reached by
        reading field java.util.concurrent.CopyOnWriteArrayList.array of
                constant java.util.concurrent.CopyOnWriteArrayList@7516bfd8 reached by
        reading field ch.qos.logback.core.util.COWArrayList.underlyingList of
                constant ch.qos.logback.core.util.COWArrayList@4aa193f reached by
        reading field ch.qos.logback.core.spi.AppenderAttachableImpl.appenderList of
                constant ch.qos.logback.core.spi.AppenderAttachableImpl@7a6d3c78 reached by
        reading field ch.qos.logback.classic.Logger.aai of
                constant ch.qos.logback.classic.Logger@3a065022 reached by
        reading field ch.qos.logback.classic.LoggerContext.root of
                constant ch.qos.logback.classic.LoggerContext@61d7f698 reached by
        reading field ch.qos.logback.classic.Logger.loggerContext of
                constant ch.qos.logback.classic.Logger@658579fb reached by
        scanning method io.micronaut.runtime.Micronaut.lambda$null$0(Micronaut.java:111)
Call path from entry point to io.micronaut.runtime.Micronaut.lambda$null$0(EmbeddedApplication, CountDownLatch, boolean, Thread):
        at io.micronaut.runtime.Micronaut.lambda$null$0(Micronaut.java:111)
        at io.micronaut.runtime.Micronaut$$Lambda$1044/0x00000007c26c8b08.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:833)
        at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:596)
        at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
        at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)

Do you have any plans to add support for GraalVM?
If you need, I can provide a sample app to reproduce this error.

Hi,
glad you find it useful! I will gladly make changes to make the native image happy. I tried to create a project that builds native image and encountered several errors but not that one yet.
In principle it is complaining about log buffer component that has a buffer object that was allocated off heap. There is the configuration option UseOffHeapBuffer that you can set to false, maybe that will fix it?

That being said - I will appreciate if you can send me that sample app so I can confirm it helps or develop a real fix.


is it possible to do a phase shift?

Curious if it is possible to do a phase shift like a pi/2 or pi/4 shift?

Unfortunately it's not possible to do so with Pizzicato. Nonetheless you can still use web audio nodes alongside Pizzicato to give it a go yourself.


makeIvyXml ignores description and homepage settings

steps
sbt version: 1.3.3
buildt.sbt:
name := "sbt-ivy-test"
description := "This is just a test"
homepage := Some(url("http://example.com"))

project/build.properties:
sbt.version = 1.3.3

problem
sbt makeIvyXml generates an ivy.xml file with an empty <description>:
<description/>

expectation
Downgrading to sbt 1.2.8 and running makeIvyXml again produces a <description> that contains the values of the description and homepage settings:
<description homepage="http://example.com"> This is just a test </description>

I just checked that sbt 1.3.0 and 1.3.0-RC1 also produce an empty description.

If IvyXml.content is used to generate the file written by makeIvyXml, then it is obvious why there is no homepage attribute. But it does not explain why <description> and therefore project.info.description is empty.

Oh, if we set useCoursier := false, the description and homepage are in the ivy.xml file.

@fthomas Thanks for the report! Would you be interesting sending a PR for this?

I can certainly send a PR that sets the homepage attribute with the value of project.info.homePage if it is not empty but I haven't yet figured out why project.info.description is empty when Coursier is enabled.

I should note that this bug can be observed in the wild in this ivy.xml for example: https://dl.bintray.com/sbt/sbt-plugin-releases/com.dwijnand/sbt-dynver/scala_2.12/sbt_1.0/4.0.0/ivys/ivy.xml


Encouraging contributions to our site and API docs

We'd like to do more to encourage our developers and community to contribute to our website and API docs. We believe that by making the call a bit more explicit, with very clear quality guidelines, we can increase the breath and community in our documentation.
We believe we can start in two ways:

Each website page can have a more clear call to action to fix bugs and clarify content.
Select API docs (those we feel are incomplete) can display a call to contribute.

In both cases, we believe that by linking to our guidelines and linking directly to the source file in GitHub, we can lower the bar to contributions.
Often time, it just takes a few small contributions to get involved in an open source community. Let's make contributing to Flutter's doc a bit easier and more welcoming. :)

cc @InMatrix

It's trivial to add Edit Source and File Issue buttons just below the header of every page. In _layouts/page.html, add something like:

{{ page.title }}

             Edit Source

             File Issue

This uses the lavish-bootstrap classes for buttons and icons, which IMO is not a problem but others may differ. Feel free to suggest alternatives...

Adding Edit Source and File Issue probably is a useful first step. It would be interesting to see if people do anything with them. What we'd really like to do is to ask the community to help something more specific, so we get what we're looking for and the community member feels accomplished by adding small but clearly valued content to our docs.

Maybe the next step is to get user feedback on those recently improved docs and work towards a API doc pattern for Flutter. cc @Hixie

We can also try this "edit, file issue" feature on the website.
Can we add data to the "new issue" link, such that it says which file was the source of the issue?

...and it might be good to break the goal into steps:

Make it clear and convenient to access source for the documentation in GitHub.
Publish contribution guidelines that are just restrictive enough.
Maintain a wish list, via issues w/a specific label, the README, or other means.

@sethladd it's possible to pass the path or url of the file where the button is clicked. We construct the URL so it could be a parameter there, or it could be the value of an id attribute in the HTML element. That kind of thing?
A little tooling would need to happen on the GitHub issue side to use this info - to pre-populate an issue, for example.

Even knowing which page the user is filing an issue for should be a big help.
Ah, looks like we can! Here's a format for a URL that pre-populates the title and body of an issue: https://github.com/isaacs/github/issues/new?title=foo&body=bar
So perhaps we can do something like this on the website:
https://github.com/flutter/flutter/issues/new?title=Issue from [insert page title]&body=From URL: [insert url]

Wow, the perfect example! This made it easy to create #https://github.com/flutter/website/pull/592
Feedback welcome...

For number one, it is possible to mark or highlight pages, assuming we can define which ones.  We could provide something a template could check on as part of dartdoc (might be useful for symbols without any documentation at all), or someone could write some javascript to check an external source for whether or not the page needs to be marked.
Adding the File Issue button doesn't seem that hard in theory and I'm willing to help with that.  If possible please file a dart-lang/dartdoc issue describing where you want the button to appear and what you want it to link to.  We'll have to design something that can work for Flutter without negatively impacting Dart's other customers but that's really the only serious complication.
I'm curious about Edit Source in this instance -- for dartdoc, this literally means "edit the source code".   Dartdoc currently knows nothing about where source code it is generating docs for lives on github or elsewhere making it somewhat difficult to construct links to that.  In addition, individual elements on a page can come from wildly different locations.  But I welcome a bug and we can brainstorm the best way to make this happen if we think it is a big win.

There is already a dartdoc issue filed by @eseidelGoogle about linking from doc to source: https://github.com/dart-lang/dartdoc/issues/1454 Thanks for taking a look!

@InMatrix and I just talked about this. I think there are some relatively easy things we can do:

Find the worst offenders (high-traffic Widget dartdoc pages with no sample/image).
Find out if anyone from the community ever contributed to the docs. If so, make a list.
Publish the following (in one Medium / flutter-dev@ post):

List of the pages (worst offenders)
Call to action - "Please contribute samples and screenshots here"
Reassurance that PRs don't need to nail it at first go. Contributing to a project with this high quality of code can be scary. I think we can hand-hold a bit at the beginning. ("It's okay if your first PR is a bit of a mess. We'll work with you.")
Huge thanks to all existing contributors, and links to their github profiles.

Great to see discussions!

Would you like me to go forward with the 1-3 steps above?

sgtm , maybe also email and tweet the medium doc?
Do we have a wiki page for "so you want to contribute to the API docs?"

The documents are:

https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
https://flutter.io/design-principles/

...with particular emphasis on the documentation sections of the style guide and design principles docs.

Thanks, @filiph! Let me know if there is anything I can help. I'd like to make sure we have a way to measure the outcome of any method we try to engage contributors. There can be useful lessons to be learned for OSS projects in general.


projects/mathml/fonts/ leads to a 404

Request type

[ ] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[x] Correction or update

Details

The link to download fonts from the MathML Basics page seems to be dead. I got a 404 upon trying to reach the link where it should lead to, which is exactly: http://www.mozilla.org/projects/mathml/fonts/

Seems to work for me.


mac  php7.2 error

<?php
class Route extends HTTPRouter {
    public function get($pattern, $action) {
        return $this->method('GET', $pattern, $action);
    }
    public function post($pattern, $action) {
        return $this->method('POST', $pattern, $action);
    }
}

$router = new Route('/custom-uri/sub/99?param=val', 'POST');

$router->group('custom-uri', function() use ($router) {
    echo 1;
    $router->group('sub', function() use ($router) {
        echo 2;
        $router->post('{id}', function($id) {
            return $id;
        });
    });
});

echo $router->action();

php bin/swf.php
1299
error:
php(26172,0x1173925c0) malloc: *** error for object 0x7ffc65aa5131: pointer being freed was not allocated
php(26172,0x1173925c0) malloc: *** set a breakpoint in malloc_error_break to debug
Abort trap: 6

Thanks for being interested. I'll take a look on Monday

I checked out tag php-7.2.21 and tested your snippet. Everything ok. I cannot reproduce this error.
If you have any additional info please provide it. Maybe we can reproduce it by installing some additional components inside Dockerfile?


Autofix Issue

Been out of the loop for a while and just getting back, so maybe I'm missing something...
I found that the "Fix all auto-fixable Problems" has  vanished.  But per issue #148 it is now right click and "Format Document". So it still largely works.
Following snippet does not correct correctly.
Before:

After Format Document, there are missing opening brackets:

Running Format Document again just adds another closing bracket.
This is the unfixed code:
**Free
        SELECT;
          WHEN SQLSTT = SQLSuccess;
            EofIn = *off;
          WHEN SQLSTT = SQLNoMoreData;
            EofIn = *ON;
          OTHER;
            SQLProblem('00': 0: 'Fetch EC_In into :IPRUCALCP');
        ENDSL;

Oh damn. Someone did actually mention about the bracket issue. I will fix that today.

@worksofliam Another question...
Didn't it used to fix errors like this:

Or has my memory gone?

@SJLennon the autofix never fixes those qualified lint rules.

@SJLennon fix will be available in 0.15.6!


When publish an API using the APIM CLI, events logs generated have null values for client, app & org

API-Mgr. CLI version
1.3.2
API-Manager and Service-Pack Version
7.7_202005
Expected behavior
CLI should not assign the runtime ServiceContext values "null" for client,app & org fields for a particular transaction in API gateway event directory.
Actual behavior
CLI assign the runtime ServiceContext values "null" for client,app & org fields for a particular transaction in API gateway event directory.
Log-Output in Debug
When publish an API using the APIM CLI, events logs generated have null values for client, app & org in API gateway event directory :
and that's why information isn't displayed properly in Analytics.
{"type":"transaction", "time":1611745530596, "path":"/sno/devops/healthcheck/", "protocol":"https", "protocolSrc":"8065", "duration":2, "status":"success", "serviceContexts":[{"service":"SNO DEVOPS Healthcheck API", "monitor":true, "client":null, "org":null, "app":null, "method":"GET_Status", "status":"success", "duration":2}], "customMsgAtts":{}, "correlationId":"fa481160a33c361ba55e7783", "legs":[{"uri":"/sno/devops/healthcheck/", "status":200, "statustext":"OK", "method":"GET", "vhost":null, "wafStatus":0, "bytesSent":476, "bytesReceived":375, "remoteName":"<IP_ADDRESS>", "remoteAddr":"<IP_ADDRESS>", "localAddr":"<IP_ADDRESS>", "remotePort":"57764", "localPort":"8065", "sslsubject":null, "leg":0, "timestamp":1611745530594, "duration":2, "serviceName":"SNO DEVOPS Healthcheck API", "subject":"e6fc88e7-1b3a-466f-8779-83259b67196d", "operation":"GET_Status", "type":"http", "finalStatus":"Pass"}, {"uri":"/healthcheck/", "status":200, "statustext":"OK", "method":"GET", "vhost":null, "wafStatus":0, "bytesSent":345, "bytesReceived":406, "remoteName":"localhost", "remoteAddr":"<IP_ADDRESS>", "localAddr":"<IP_ADDRESS>", "remotePort":"8080", "localPort":"48760", "sslsubject":null, "leg":1, "timestamp":1611745530595, "duration":0, "serviceName":"SNO DEVOPS Healthcheck API", "subject":"e6fc88e7-1b3a-466f-8779-83259b67196d", "operation":"GET_Status", "type":"http", "finalStatus":null}]}
This is not the case when they deploy the same API Manually from API manager:
{"type":"transaction", "time":1611745590267, "path":"/sno/devops/manual/healthcheck/", "protocol":"https", "protocolSrc":"8065", "duration":2, "status":"success", "serviceContexts":[{"service":"SNO DEVOPS TEST2 Manuel", "monitor":true, "client":"e6fc88e7-1b3a-466f-8779-83259b67196d", "org":"API Management Group Core Team", "app":"SNO DEVOPS test", "method":"GET_Status", "status":"success", "duration":2}], "customMsgAtts":{}, "correlationId":"36491160c53c8b80f4f7f965", "legs":[{"uri":"/sno/devops/manual/healthcheck/", "status":200, "statustext":"OK", "method":"GET", "vhost":null, "wafStatus":0, "bytesSent":476, "bytesReceived":382, "remoteName":"<IP_ADDRESS>", "remoteAddr":"<IP_ADDRESS>", "localAddr":"<IP_ADDRESS>", "remotePort":"57784", "localPort":"8065", "sslsubject":null, "leg":0, "timestamp":1611745590265, "duration":2, "serviceName":"SNO DEVOPS TEST2 Manuel", "subject":"e6fc88e7-1b3a-466f-8779-83259b67196d", "operation":"GET_Status", "type":"http", "finalStatus":"Pass"}, {"uri":"/healthcheck/", "status":200, "statustext":"OK", "method":"GET", "vhost":null, "wafStatus":0, "bytesSent":345, "bytesReceived":406, "remoteName":"localhost", "remoteAddr":"<IP_ADDRESS>", "localAddr":"<IP_ADDRESS>", "remotePort":"8080", "localPort":"48778", "sslsubject":null, "leg":1, "timestamp":1611745590266, "duration":0, "serviceName":"SNO DEVOPS TEST2 Manuel", "subject":"e6fc88e7-1b3a-466f-8779-83259b67196d", "operation":"GET_Status", "type":"http", "finalStatus":null}]}
When we compare both APIs, the only difference is in the inbound security profile :
With APIM CLI (see api-export-apimcli.json) : "monitorSubject": " ${authentication.subject.id}"
Manually (see api-export.json) : "monitorSubject": "authentication.subject.id"
PFA the swagger files from the APIM CLI and from the API manager.
Apart from this ,In APIM CLI difference for that particular publication is that the API was unpublished first and then published again:
APIM CLI logs extract:
5536 INFO APIImportManager| Update API Strategy: Re-Publish API to apply changes
5544 INFO RepublishToUpdateAPI| Unpublish existing API for update: 'SNO DEVOPS TEST2 Manuel API' (ID: ed265fb4-d7b6-4558-b749-e97310e34a23)
6773 INFO UpdateExistingAPI| Update existing unpublished API: 'SNO DEVOPS TEST2 Manuel API' 1.0.0 (ID: ed265fb4-d7b6-4558-b749-e97310e34a23)
6773 INFO APIChangeState| Updating Frontend-API (Proxy) for the following properties: authenticationProfiles outboundProfiles inboundProfiles

Thanks @gwandwingor providing a fix for it. Honestly I was experiencing the same working on the ELK-Solution, but so far not figured out the root cause. Let’s see if the ELK-Solution shows applications with the next CLI version.

Thanks @gwandwingor providing a fix for it. Honestly I was experiencing the same working on the ELK-Solution, but so far not figured out the root cause. Let’s see if the ELK-Solution shows applications with the next CLI version.

Just tried it now the Kibana dashboard shows the applications as expected:

Thanks @rohitthe for reporting this issue.

Just tried it now the Kibana dashboard shows the applications as expected:

Thanks @rohitthe for reporting this issue.


What is the expected behavior?
Dialog should be sized automatically based on its content.

What is the current behavior?
Dialogs are currently rendering with a height: 100% which causes them to stretch the entire viewport height.

What are the steps to reproduce?
I'm not able to reproduce this in a plunk (http://plnkr.co/edit/Wwkq3vBBPX3YIr79B6x4). I haven't been able to identify what exactly is triggering this behavior in our setup.
I've noticed that removing the height: 100% from the following section fixes the issue:
.mat-dialog-container {
box-shadow: 0px 11px 15px -7px rgba(0,0,0,0.2), 0px 24px 38px 3px rgba(0,0,0,0.14), 0px 9px 46px 8px rgba(0,0,0,0.12);
display: block;
padding: 24px;
border-radius: 2px;
box-sizing: border-box;
overflow: auto;
max-width: 80vw;
width: 100%;
height: 100%; <-- Changing this to height: auto fixes the issue.
}
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, browsers are affected?
Is there anything else we should know?

Can you check whether your document has a doctype? Similar issues have been reported before due to a missing doctype.

Is the same result happening on different devices?

It's not based on the device. This usually happens if the document is missing a doctype which puts it in quirks mode. You can verify that your page has a doctype either by checking your index.html or running alert(!!document.doctype) in the dev console.

Thanks for the tip!
I've verified that the doctype is missing on the document (document.doctype), although we have the  tag on the page. I'll investigate to see if there are any issues with missing closing tags that's triggering this behavior.

There was an unclosed tag on our html page that was causing this issue. Thanks for your help.


Add percentage and statistic selectors into Hubble

This PR contains a basic implementation, built on top of #268, of adding the percentage and statistic selectors from https://github.com/cosmicds/cosmicds/pull/243 into the Hubble data story. I've only focused on the functionality here - the layout is bad, and I wasn't 100% sure where we wanted these.
To test this, go to stage 5, guideline new1.

Everything here is in #275 (via #271), so I am closing it.


add init.py files to all test subdirectories

to allow relative imports (issue #20)

we cannot because otherwise we have conflicts with equisolve package


Repository properties integration with security overview

Summary
At both the enterprise and organization levels, you will be able to easily filter the security overview data by repository properties, giving you the ability to more efficiently analyze and manage security risks.
Intended Outcome
Enterprises users have long-requested the ability to group their repositories for easier monitoring of code security status within security overview. Users have specifically requested the ability to filter the risk and coverage views and alert-centric view in security overview by a specific subset of repositories, rather than having to look at all repositories at once.
How will it work?
With this feature, repository properties will be automatically available for filtering via the search bar. This means that you can easily search for specific repositories and filter results based on various repository properties you have setup.

🚢 This has shipped - leaving open to track for GHES release!


CreateEventEx parameters are misleading

All examples use CreateEventEx(nullptr, FALSE, FALSE, EVENT_ALL_ACCESS) but the types used do not match the types in the method declaration. It still works with these exact parameters because FALSE == NULL == 0 but is misleading to the reader.
It should be either CreateEventEx(nullptr, nulltrp, 0, EVENT_ALL_ACCESS) or CreateEvent(nullptr, FALSE, FALSE, nullptr)

Fixed in develop branch.  Will merge to master with next release.

Not really fixed, but good enough. What follows is some additional thoughts on the matter, not necessarily correct, nor really that important. I wouldn't mind if you leave the samples as it currently is in the dev branch since I understand that event security isn't the focus of the samples.
CreateEventEx(nullptr, nullptr, FALSE, EVENT_ALL_ACCESS) is somewhat better but still not entirely right. The 3rd parameter is a bitflag not a boolean. But at least it'd do something sensible if someone passed TRUE.
Actually I'm not entirely sure why you need to use CreateEventEx instead of CreateEvent in the first place, something to do with the gpu driver needing additional access rights? The MSDN docs of DX12 suggest to use CreateEvent and not CreateEventEx, which works just fine according to my tests. Also the original (wrong) parameters of the samples hint that your code originally used CreateEvent and then someone changed it to CreateEventEx to specify access rights, but didn't realize the signature is totally different.
From what I understand the handle returned by CreateEvent already has full access, as does the handle returned from CreateEventEx, regardless of what you specify, the initial handle always has full access. The access rights you specify, I believe, is intended for other sites accessing the event. Since you don't give the event a name that could only happen by handle inheritance (or possibly handle duplication, not sure). So basically you give everyone full access to that event, as long as he can get a hand on the handle in some way.
As I said, thats just some thoughts, and I'm no expert on handle security, so some of this might be wrong. It's just a bit of a mystery to me why the samples use the more complex CreateEventEx and have to specify security stuff, when it seems to work perfectly fine (for me) without doing so.

sigh. And it's only Monday. I agree that there's no added benefit to using CreateEventEx.  I switched the code back to using CreateEvent.

:+1: Thanks, and sorry for bothering with these minor details


[fix] [broker] Prevent long deduplication cursor backlog so that topic loading wouldn't timeout

Motivation
Background 1

When a topic is loading up, it will wait for the deduplication recovery to be finished if deduplication is enabled.

users can enable deduplication on the broker level, namespace level or topic level.

There is a scheduled task to acknowledge messages for the deduplication cursor.

Issue 1
(Highlight) the scheduled task that acknowledges messages for the deduplication cursor can only be created when the broker level deduplication is enabled, leading to an infinite backlog of deduplication cursor; the next deduplication recovery after a topic unloading will take a long time, which leads to topic load timeout.

Background 2

MessageDeduplication maintains a counter that indicates how many messages have not been taken snapshot yet, it increases after per add entry. Broker triggers a snapshot building once the counter is greater than the config brokerDeduplicationEntriesInterval(default value is 1000).

Issue 2, thanks for @mattisonchao 's reminding ❤

send 999 messages, the counter increases to 999, does not reach brokerDeduplicationEntriesInterval(1000) now.
unload the topic, the counter will be reset to 0,
send 999 messages, the counter increases to 999, does not reach brokerDeduplicationEntriesInterval(1000) now.
...
So the snapshot will never be built, resulting the same issue as the scenario 1.

A topic internal stats
topic-internal-stats.txt
Modifications

Always start the scheduled task.

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository: x

The title "Deduplication cursor has infinite backlog causing topic load timeout" is misleading since the backlog isn't infinite.
This fix doesn't really address the case when there's a long backlog at the time of topic loading. It's trying to prevent that from happening. Perhaps "Prevent long deduplication cursor backlog so that topic loading wouldn't timeout" would be a better title?

The title "Deduplication cursor has infinite backlog causing topic load timeout" is misleading since the backlog isn't infinite.
This fix doesn't really address the case when there's a long backlog at the time of topic loading. It's trying to prevent the long backlog from building up. Perhaps "Prevent long deduplication cursor backlog so that topic loading wouldn't timeout" would be a better title?

Done

👍

This may leave BrokerDeduplicationEnabled not working, and we also have admin-API for getting/setting this value

This may leave BrokerDeduplicationEnabled not working, and we also have admin-API for getting/setting this value

Do not worry, it only affects the scheduled task.

@poorbarcode DeduplicationDisabledBrokerLevelTest.testSnapshotCounterAfterUnload fails in branch-3.2 and blocks 3.2.3 release. do you have a chance to fix the problem in branch-3.2 ?

@poorbarcode DeduplicationDisabledBrokerLevelTest.testSnapshotCounterAfterUnload fails in branch-3.2 and blocks 3.2.3 release. do you have a chance to fix the problem in branch-3.2 ?

@lhotari  found the issue. PR 22034 exists in branch-3.2 so the test is wrong. resolved with commit https://github.com/apache/pulsar/commit/c2532b9741c2ef34f88caf6c1440f447b5865eaa


more than one template per language

I've made one cobol template, works.
I've made 3 C templates, depending on what libs I'm gonna use. But the lua plugin only finds only the latest added c template when running :Template
Is it possible to load multiple templates for a single language? Am I doing something wrong in the setup.

it should return all template for this language.  maybe a bug ? I will test it later.

Only hint I noticed is whatever template c file I create latest, is the only template showing up.
I remember now, compiled new nvim from source this morning!
Problem might be something in neovim github repo.
So if you do some testing later today, that's a hint.
I'm actually 99% sure it worked with multiple template files for C last week, or two weeks ago.

nvim --version
NVIM v0.10.0-dev-18+gb6d5047d4
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
:checkhealth
Looks fine!

you mean this commit works fine right ？

No, earlier builds worked. This one from yesterday is when I noticed it broke.
I only get one template with :Template command.
BUT if I manually write out the template file without tab completion the plugin can load the template file.

i think it had fixed .. did you update ?


scripts: Only stop/start existing tornado processes.

Stopping both zulip-tornado and zulip-tornado:* causes errors on
deploys with tornado sharding, as the plain zulip-tornado service
does not exist.
Pass zulip-tornado:*, which matches both plain zulip-tornado, as
well as the sharded zulip-tornado:zulip-tornado-port-9800 cases.
Testing plan: Tested on an unsharded prod host.

Merged, thanks @alexmv!  It's cool that the :* syntax matches.


fix: Date convert wrong type as number (close #462)

Please check if the PR fulfills these requirements

[ ] It's submitted to right branch according to our branching model
[ ] It's right issue type on title
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[ ] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added/updated (for bug fixes/features)
[ ] It does not introduce a breaking change or has description for the breaking change

Description
Fix that the Date instance convert number type.
This patch will also be merged to feat/dooray branch.

Thank you for your contribution to TOAST UI product. 🎉 😘 ✨

@jungeun-cho  Could you release this fix? We are having this issue as well.

@brosbunbo I released v1.12.9 including this fix.


Adding TF versions to submodules

Description
Please provide a description of the changes you have made in this PR.
How has this been tested?
Please explain how you have tested the new changes.
Checklist

[x] I have commented my code, particularly in hard-to-understand areas
[x] I have successfully run the E2E tests, and have included the links to the pipeline runs below
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have updated any relevant documentation to reflect my changes
[x] I have assigned a reviewer and messaged them

@jpassing check the header information.

Please review and validate.


Typo in the apiary documentation

Documentation http://docs.hdyra.apiary.io/#reference/oauth2/manage-the-oauth2-client-collection says hydra expects scopes field but it expects scope .
Fix documentation or rename the field, thanks.

thank you, this is now updated

It still says hdyra for me.
hydra.apiary.io is private and unaccessable to me.

@amerdidit I can't reproduce that. It's not private here. Probably because you went to hydra.apiary.io isntead of docs.hdyra.apiary.io


chore(main): release 2.0.4

:robot: I have created a release beep boop
2.0.4 (2024-09-26)
Bug Fixes

revert to commonjs for compatibility (#51) (3c17764)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v2.0.4
:sunflower:


Android-Attachments-App crashes on uploading specific PDF

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/29743
PROPOSAL: https://github.com/Expensify/App/issues/29743#issuecomment-1766313301
Tests

Launch app
Tap on a report
Tap plus icon near compose
Tap Add attachments
Tap Choose document
Select the below attached PDF
verify load without crash
class-9-maths-chapter-10-solutions.pdf

[x] Verify that no errors appear in the JS console

Offline tests

Same as test
QA Steps

same as test

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/Expensify/App/assets/16595846/7dcce88a-35d2-4d3e-8af7-5a5d1e05d32e

Android: mWeb Chrome

https://github.com/Expensify/App/assets/16595846/c38292c6-0d46-4fa8-a1f9-3cda445078b8

iOS: Native

https://github.com/Expensify/App/assets/16595846/1fdac5c6-c221-4a9d-8148-ba9eea2b2ba2

iOS: mWeb Safari

https://github.com/Expensify/App/assets/16595846/6e54c86b-7d5b-40b1-a2fd-896cf1de19da

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/16595846/e6f57ca2-6781-4c4c-ba00-c421dce02384

MacOS: Desktop

https://github.com/Expensify/App/assets/16595846/c23e0a95-00f2-4c41-8b81-30f3339a682b

@fedirjh this is ready for your review, whats your ETA please?

all updated

Not an emergency the tests were passing, snyk is sometimes flaky

🚀 Deployed to staging by https://github.com/mountiny in version: 1.4.22-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
cancelled 🔪

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/mountiny in version: 1.4.22-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.22-6 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


use TOC on side

as papermod doesn't have support for sidebar toc.. i downloaded this module to see how sidebar toc looks.
but it was showing normal toc only.. even on example site it is normal toc.
how to use toc in this upgraded theme? do i have to use any other parameter.

ok.. thanks.. will give it a try..


Installation scripts need an overhaul

...everything needs to be modernized to use either a more recent version of the Astropy formalism or to use something else rather than what's there enow.

Closed in #71


Models usage docs revisions

Starting revisions of Models usage documentation to match API.
This PR covers up to Error Handling.
Change Summary

Related issue number

Checklist

[ ] Unit tests for the changes exist
[ ] Tests pass on CI and coverage remains at 100%
[x] Documentation reflects the changes where applicable
[ ] changes/<pull request or issue id>-<github username>.md file added describing change
(see changes/README.md for details)
[ ] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

please review

please review


Marlin controller type missing

Can tinyweb add support for marlin based controllers?

Maybe this would do it? https://github.com/cncjs/cncjs-pendant-tinyweb/pull/8


Added Dockerfile and fixed some compilation problems

I've fixed some compilation problems related to the package names which were missing the "dockersecuritytools" name.
I've also created a Dockerfile which we can be used to build & run the project through a Docker image.

Thank you!


bumps dependencies and removes vulnerability caused by apache httpclient

Excluded vulnerable commons-codec version from old Apache client and overrode with new version
Moved Jackson to 2.15.2, current version supported by Databricks 14.2 GA
Moved slf4j back to 1.7.36 (newer and better maintained than 1.8 series)
Bump other dependencies within minor version release train

@ag-ramachandran , can you have a look at this contrinuted version bump PR?
Does this affect our compatibility with Synapse, Databricks, Fabric Spark?

@ag-ramachandran , can you have a look at this contrinuted version bump PR? Does this affect our compatibility with Synapse, Databricks, Fabric Spark?

I'm OK with it - Jackson 2.15.2 also updated in latest ADB

Seems like you need to run the formatter plugin

Seems like you need to run the formatter plugin

Can do! How do I run the plugin?

@The-Funk
If you have intellij you can access it from the maven menu:

Otherwise you can run (with the same maven you run other commands):
mvn formatter:format
``

I ran the formatter plugin however git is indicating no changes. The Java 8 build above is failing due to a dependency issue in the data module however the only thing that was changed directly in the data module was to use the newer commons-codec to replace the one that had the vulnerability.
I will look at the output of the build above a little more closely. The project compiles on my system and all the tests except E2E pass.

Hi @ag-ramachandran ,
Would this PR cause any conflict with one or more of the Spark connector flavors?
If it does not, we'd like to approve it?
Otherwise, let's talk.

The version looks okay @yogilad , it should be compatible

@ohadbitt @AsafMah
This PR seems to be triggering maven-dependency-plugin failures on:
Unused declared dependencies found: commons-codec:commons-codec:jar:1.16.0:compile
Are you sure it's being used in kusto-data?
In the meantime, I'm going to remove it in a PR I'm working on (https://github.com/Azure/azure-kusto-java/pull/341), and if you aren't aware of why we might need it, I'll proceed with merging that PR with the dependency removed.

@yihezkel it was used in kusto-ingest previously but might not be used anymore at all.
The Apache HTTP Client brings in an old version of it as a transitive dependency, so I had explicitly replaced it because the old version has some associated CVEs.


How to set size for native ads?

Admobadapter version or commit:
1.4.6
Android compileSdkVersion:
26
Issue description briefly:
Could not find any methods to set height for native ads, I am using AdmobRecyclerAdapterWrapper.
Steps to reproduce:
Use AdmobRecyclerAdapterWrapper to show native ads.
All the code which you want to share
adapterWrapper = new AdmobRecyclerAdapterWrapper(mActivity, "XXX");
adapterWrapper.setFirstAdIndex(3);
adapterWrapper.setAdapter(mRecyclerAdapter);

same problem


feat: summer 21 updates and dependency updates

What does this PR do?

Updates the version to v52.0 for salesforce components
Update the dev dependencies to latest
Run latest prettier version

What issues does this PR fix or reference?
#
The PR fulfills these requirements:
[ ] Tests for the proposed changes have been added/updated.
[ ] Code linting and formatting was performed.
Functionality Before
<insert gif and/or summary>
Functionality After
<insert gif and/or summary>

@msrivastav13 please apply this PR to a prerelease/summer21 branch so that we see the prerelease CI workflow:
main
  \
   prerelease/summer21
     \
     mo/prerelease/summer21

@msrivastav13 please apply this PR to a prerelease/summer21 branch so that we see the prerelease CI workflow:
main
  \
   prerelease/summer21
     \
     mo/prerelease/summer21

My bad! I changed the base branch as needed.


remove use of deprecated klog flags

Previously deprecated klog flags will be removed completely in kube 1.26.
Logs of bootstrap pods were previously using the --log-file flag, will be available in the cri-o container logs instead.

/lgtm
/approve

/lgtm cancel
/hold
This change preserves the file, but now produces the potential for creating an enormous file that will never be rotated and never be replaced.  This shouldn't merge in the current fashion.
Also, it didn't build on the revert, so it now conflicts.  The revert will always merge, fixes built on top will not have conflict failures like this.

/hold cancel

/lgtm
/approve

/retest

/lgtm

bootkube isn't used in upgrade
/override ci/prow/e2e-aws-ovn-upgrade

https://issues.redhat.com/browse/OCPQE-13723
I think a library-go bump to github.com/openshift/library-go/commit/86dfb3653d218ba7ebc3fdff8e02cd6c011e2625 is needed here


Label Studio - Create new Project [ ERROR ]

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to LabelStudio
Click on 'Create Project"
Scroll down to '....'
See error " Runtime error Database error during project creation. Try again. "

Expected behavior
Create new empty project
Screenshots

Environment (please complete the following information):

OS: [e.g. iOS] Ubuntu Linux ( 20.04 LTS ) Docker version 20.10.8, build 3967b7d
Label Studio Version [1.2]

Additional context
Add any other context about the problem here.

@MateuszUlan please switch to the latest LS version (1.7.1 at this moment)


[Billing] Contact Info & Edit Drawer refinements

Description

Collapse unpopulated Contact Info fields
If left column is unpopulated, don't render it -- this allows the right column to move left instead of having fields in the right column just floating over there
Put "Required" in parentheses next to "Email" in drawer

Type of Change

Non breaking change ('update', 'change')

Note to Reviewers
Try filling out and omitting the pieces of data in various ways to see if you observe any unwanted or odd behavior.

Looks good!
Some minor things I noticed:

The spacing between Address and Address 2 in the display is a little off

Might be addressed with with making panel full width for mobile but consider making the columns in Billing Contact wrap for mobile

Selecting a field for "Country" will clear the dropdown for "State / Province"

Thanks for the review @tiffwong!
I fixed the spacing between the two. The mobile view issue seems fixed to me in Jared's Cleanup PR. A change of the "Country" field resulting in the clearing of the "State / Province" field is the behavior currently in production, so that should be fine.


When the component is paused does not trigger event Position change

I binding component and a slider when the slider changes the position changes the position of the component but the event does not shoot me

Have you tried two way binding?

Check the sample. it binding position to a ProgressBar, but I think it can work with slider too.


docs: correct the links on the images README

Signed-off-by: Miguel Duarte Barroso<EMAIL_ADDRESS>
What this PR does / why we need it:
The links on the images README file are outdata, and return 404 not found.
This PR corrects those links.
Which issue(s) this PR fixes:
Fixes #3244
Release note:

NONE

@dhiller would you override the failing test ? I'm quite sure updating the README links didn't impact the ability of exposing UDP services on a VMI (that's the failing test) :)

/override pull-kubevirt-e2e-k8s-1.16

@dhiller I'm not sure why travis CI doesn't report a correct execution; if you look it's details, we can see the tests passed correctly.
Does it also need to be overridden ?

/override continuous-integration/travis-ci/pr
Build was fine but status was not reported back.


Heroku: ValueError: View function did not return a response

Hi there,
first of all, thank you for the great tool. I am using pep8speaks following the instructions for a private repository since I am working on a student project.
Whenever a change to a PR is made, all I see in the Heroku logs is:
2018-04-30T10:54:36.117667+00:00 heroku[router]: at=info method=POST path="/" host=*****.herokuapp.com request_id=7b90fce9-c331-46d7-9f04-05988c8f7456 fwd="<IP_ADDRESS>" dyno=web.1 connect=1ms service=8ms status=500 bytes=456 protocol=https
2018-04-30T10:54:35.995560+00:00 app[web.1]: [2018-04-30 10:54:35,993] ERROR in app: Exception on / [POST]
2018-04-30T10:54:35.995600+00:00 app[web.1]: Traceback (most recent call last):
2018-04-30T10:54:35.995603+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1988, in wsgi_app
2018-04-30T10:54:35.995604+00:00 app[web.1]:     response = self.full_dispatch_request()
2018-04-30T10:54:35.995611+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1642, in full_dispatch_request
2018-04-30T10:54:35.995612+00:00 app[web.1]:     response = self.make_response(rv)
2018-04-30T10:54:35.995614+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1731, in make_response
2018-04-30T10:54:35.995615+00:00 app[web.1]:     raise ValueError('View function did not return a response')
2018-04-30T10:54:36.003656+00:00 app[web.1]: ValueError: View function did not return a response
2018-04-30T10:54:36.112292+00:00 app[web.1]: [2018-04-30 10:54:36,111] ERROR in app: Exception on / [POST]
2018-04-30T10:54:36.112296+00:00 app[web.1]: Traceback (most recent call last):
2018-04-30T10:54:36.112298+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1988, in wsgi_app
2018-04-30T10:54:36.112299+00:00 app[web.1]:     response = self.full_dispatch_request()
2018-04-30T10:54:36.112301+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1642, in full_dispatch_request
2018-04-30T10:54:36.112302+00:00 app[web.1]:     response = self.make_response(rv)
2018-04-30T10:54:36.112304+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1731, in make_response
2018-04-30T10:54:36.112305+00:00 app[web.1]:     raise ValueError('View function did not return a response')
2018-04-30T10:54:36.114493+00:00 app[web.1]: ValueError: View function did not return a response
2018-04-30T10:54:36.132060+00:00 app[web.1]: [2018-04-30 10:54:36,118] ERROR in app: Exception on / [POST]
2018-04-30T10:54:36.132064+00:00 app[web.1]: Traceback (most recent call last):
2018-04-30T10:54:36.132068+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1988, in wsgi_app
2018-04-30T10:54:36.132069+00:00 app[web.1]:     response = self.full_dispatch_request()
2018-04-30T10:54:36.132071+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1642, in full_dispatch_request
2018-04-30T10:54:36.132072+00:00 app[web.1]:     response = self.make_response(rv)
2018-04-30T10:54:36.132073+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1731, in make_response
2018-04-30T10:54:36.132075+00:00 app[web.1]:     raise ValueError('View function did not return a response')
2018-04-30T10:54:36.140212+00:00 app[web.1]: ValueError: View function did not return a response

The response GitHub receives is an HTTP500 error:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>500 Internal Server Error</title>

Internal Server Error

The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application.

Can anyone help me find the problem?
Thanks,
Philip

When I open the heroku domain for my app, I arrive at the pep8speaks homepage. However, when I download the code from the heroku git repo, there is no code.

Hi @haeusser!
It has taken me long to get back to you. The ValueError: View function did not return a response is not a critical error in Heroku logs. It just means that for some types of payloads sent by Github, no action is taken i.e. No response is returned. As of now, most of the payloads receive a definite response, so you won't see a lot of these in the logs now (if you use the latest version).
I am going to close this issue. Please get back to me if you have any questions that I can answer. :)


org.flywaydb:flyway-commandline:9.20.0 POM on Maven Central references non-existent org.flywaydb:flyway-gcp-spanner:9.20.0-beta

Which version and edition of Flyway are you using?
Version 9.20.0
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Trying to pull the commandline client via Coursier.
Which operating system are you using?
Mac OS.
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
Broken at latest version:
cs fetch org.flywaydb:flyway-commandline:9.20.0

Output:
Resolution error: Error downloading org.flywaydb:flyway-gcp-spanner:9.20.0-beta
  not found: /Users/peter/.ivy2/local/org.flywaydb/flyway-gcp-spanner/9.20.0-beta/ivys/ivy.xml
  not found: https://repo1.maven.org/maven2/org/flywaydb/flyway-gcp-spanner/9.20.0-beta/flyway-gcp-spanner-9.20.0-beta.pom

What did you expect to see?
Same as we see at version 9.15.1:
cs fetch org.flywaydb:flyway-commandline:9.15.1

Output:
https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/9.15.1/flyway-commandline-9.15.1.pom
  100.0% [##########] 32.4 KiB (58.3 KiB / s)
https://repo1.maven.org/maven2/org/flywaydb/flyway-parent/9.15.1/flyway-parent-9.15.1.pom
  100.0% [##########] 32.5 KiB (204.7 KiB / s)
https://repo1.maven.org/maven2/org/flywaydb/flyway-core/9.15.1/flyway-core-9.15.1.pom
  100.0% [##########] 8.4 KiB (233.1 KiB / s)
https://repo1.maven.org/maven2/org/flywaydb/flyway-sqlserver/9.15.1/flyway-sqlserver-9.15.1.pom
  100.0% [##########] 4.6 KiB (109.1 KiB / s)
https://repo1.maven.org/maven2/org/flywaydb/flyway-mysql/9.15.1/flyway-mysql-9.15.1.pom
  100.0% [##########] 4.6 KiB (42.8 KiB / s)
https://repo1.maven.org/maven2/org/flywaydb/flyway-community-db-support/9.15.1/flyway-community-db-support-9.15.1.pom
  100.0% [##########] 4.7 KiB (41.5 KiB / s)
https://repo1.maven.org/maven2/org/flywaydb/flyway-firebird/9.15.1/flyway-firebird-9.15.1.pom
  100.0% [##########] 4.6 KiB (40.8 KiB / s)
https://repo1.maven.org/maven2/org/flywaydb/flyway-gcp-bigquery/9.15.1/flyway-gcp-bigquery-9.15.1.pom
  100.0% [##########] 4.3 KiB (32.7 KiB / s)
https://repo1.maven.org/maven2/org/flywaydb/flyway-gcp-spanner/9.15.1-beta/flyway-gcp-spanner-9.15.1-beta.pom
  100.0% [##########] 4.7 KiB (34.6 KiB / s)
https://repo1.maven.org/maven2/org/flywaydb/flyway-gcp-spanner/9.15.1-beta/flyway-gcp-spanner-9.15.1-beta.jar
  100.0% [##########] 19.7 KiB (141.7 KiB / s)
https://repo1.maven.org/maven2/org/flywaydb/flyway-community-db-support/9.15.1/flyway-community-db-support-9.15.1.jar
  100.0% [##########] 26.2 KiB (144.7 KiB / s)
https://repo1.maven.org/maven2/org/flywaydb/flyway-firebird/9.15.1/flyway-firebird-9.15.1.jar
  100.0% [##########] 16.3 KiB (89.9 KiB / s)
https://repo1.maven.org/maven2/org/flywaydb/flyway-mysql/9.15.1/flyway-mysql-9.15.1.jar
  100.0% [##########] 30.8 KiB (170.0 KiB / s)
https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/9.15.1/flyway-commandline-9.15.1.jar
  100.0% [##########] 48.5 KiB (219.4 KiB / s)
https://repo1.maven.org/maven2/org/flywaydb/flyway-gcp-bigquery/9.15.1/flyway-gcp-bigquery-9.15.1.jar
  100.0% [##########] 21.5 KiB (215.3 KiB / s)
https://repo1.maven.org/maven2/org/flywaydb/flyway-sqlserver/9.15.1/flyway-sqlserver-9.15.1.jar
  100.0% [##########] 41.4 KiB (591.2 KiB / s)
/Users/peter/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/flywaydb/flyway-commandline/9.15.1/flyway-commandline-9.15.1.jar
/Users/peter/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/flywaydb/flyway-core/9.15.1/flyway-core-9.15.1.jar
/Users/peter/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/flywaydb/flyway-community-db-support/9.15.1/flyway-community-db-support-9.15.1.jar
/Users/peter/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/flywaydb/flyway-gcp-bigquery/9.15.1/flyway-gcp-bigquery-9.15.1.jar
/Users/peter/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/flywaydb/flyway-gcp-spanner/9.15.1-beta/flyway-gcp-spanner-9.15.1-beta.jar
/Users/peter/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/flywaydb/flyway-sqlserver/9.15.1/flyway-sqlserver-9.15.1.jar
/Users/peter/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/flywaydb/flyway-mysql/9.15.1/flyway-mysql-9.15.1.jar
/Users/peter/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/flywaydb/flyway-firebird/9.15.1/flyway-firebird-9.15.1.jar
/Users/peter/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.18/jansi-1.18.jar
/Users/peter/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/google/code/gson/gson/2.8.9/gson-2.8.9.jar
/Users/peter/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/fasterxml/jackson/dataformat/jackson-dataformat-toml/2.14.0/jackson-dataformat-toml-2.14.0.jar
/Users/peter/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.14.0/jackson-databind-2.14.0.jar
/Users/peter/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.14.0/jackson-core-2.14.0.jar
/Users/peter/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.14.0/jackson-annotations-2.14.0.jar

Discussion
It seems that new releases of Flyway are no longer including flyway-gcp-spanner among the artifacts published to Maven Central. The latest version published was 9.15.1-beta. However a reference to flyway-gcp-spanner is continues to be included in the POM for the published flyway-commandline up through the latest version (9.20.0 at time of writing).
Depending on whether  the end of publication of flyway-gcp-spanner artifacts was intended or not, I believe this condition could be resolved either by dropping the reference from the flyway-commandline artifact (if intended) or by resuming publication (if unintended).

plobsing, Thank you for brining this to our attention. This is not intentional and will be investigated to find why the deployment has missed the Spanner module and what can be done to retroactively fix this issue.

Until this is resolved, please look at the Flyway Command-line bundles available on flywaydb.org which do have all the jars collected.


Add global attrs to all ADF generated files

This will add attributes for:

timeseries files: ADF user, history files location, and history file name(s)
climo files: ADF user, climo years, and time series file name(s)
regridded files: ADF user, climo years, and climo file name(s). The regridded files will have both the test and baseline climo years in the atributes

Closes #211


Initial ESP32-P4 support

Draft because it's not quite working yet. IR scanning fails in quite an odd way.
Sum of provided IR lengths (10) does not match length of IR scan (6 bits)

Not sure how this can happen, looking into it.

Rebased on the latest multi tap/hart changes, but I will draft until we have a flash algo for it.
cc: @playfulfence

We now have a flash loader, unfortunately I can't get to testing it as probe-rs is struggling with a few things on the ESP32-P4:

core.reset_and_halt doesn't work, the reset occurs then it fails to catch it and reset the chip
Although it seems writing the algo succeeds, reading back the memory hands with USB errors like

WARN write_register_batch: probe_rs::probe::espusbjtag::protocol: Something went wrong in read_bulk Kind(TimedOut) when trying to read 64bytes - pending_in_bits: 551


Support no query or no query pos

https://github.com/yichen928/SparseFusion/blob/b1b14e91c11a769b15f30bdf0b47ef9146b1030e/mmdet3d/models/dense_heads/sparsefusion_head_deform.py#L727
https://github.com/yichen928/SparseFusion/blob/b1b14e91c11a769b15f30bdf0b47ef9146b1030e/mmdet3d/models/utils/deformable_decoder.py#L71
If no object is found, both query and query_pos can be None, which may result in an error here.

I think our method would always detect a fixed number of objects from the LiDAR and images. If there is actually no object, the detection confidence would be very low.


utils.py gives error about cPickle

I watched the first video and saw that you suggested that we use Kaggle.  I cloned the fastbook repo but I don't know how to get to it.  I created a new book and used
!git clone https://github.com/fastai/courses.git
Different install, I have anaconda installed on my computer.  Its a little beefy, 32 GB ram, SSD, 4 GB GPU and dual xeon processors,, so I thought I could run it there.  I created an environment and primed the environment with the contents of 👍 https://github.com/fastai/fastbook/blob/master/requirements.txt
and
https://github.com/fastai/courses/blob/master/requirements.txt
When I ran the following, from : https://github.com/fastai/courses/blob/master/deeplearning1/nbs/lesson1.ipynb
import utils; reload(utils)
from utils import plots

I got the following error
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[5], line 1
----> 1 import utils; reload(utils)
      2 from utils import plots

File ~\Documents\fastai\courses\deeplearning1\nbs\utils.py:3
      1 from __future__ import division,print_function
      2 import math, os, json, sys, re
----> 3 import cPickle as pickle
      4 from glob import glob
      5 import numpy as np

ModuleNotFoundError: No module named 'cPickle'

I looked at the util.py and then googled cPickle and got this page:
http://pymotw.com/2/pickle/
so I installed PyMOTW, this still didnt fix things.
Given that this seems to central to many of the course notebooks, I'm assumming I'm doing something wrong.  I'll happily use kaggle if I can sort that out.  I feel like thats not the problem.

I have played around installing and uninstalling environments, anaconda versions , python versions.  To get everthing to build right I'm using a 2021 version of anaconda and python 3.8.  However this issue still exists.
The course is unusable in the current state.


[feature] Webhook Proxy

Description
Generate a webhook that can be called that will proxy messages to a channel.
This can be used to trigger SRE Bot actions
For instance we'll be able to proxy Cloudwatch/Sentinel/Guarduty/... messages and add enhanced functionality to them.

Trigger incidents from alarms and capture alarm as incident trigger
Open Github Issues from alarms so that the alarm can be tuned
Justify admin actions in an access log

Example

This is sufficiently complete


[hotfix] Update nightly master cron jobs

What is the purpose of the change
This PR updates the nightly master cron jobs to be in sync with the available end-to-end tests.
Brief change log

Missing end-to-end tests added
Redundant end-to-end tests removed

Verifying this change
Not verified yet as builds are failing. We might need to further stabilize the tests and might further split the misc tests.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Thanks @zentol. I will remove the kubernetes test and merge this. Once Travis gives green light.

The changes have been applied to cron-master-e2e and cron-1.7-e2e.


Feature/47/new methods for collection and restoring

Check out my new implementations of data collection. I also added tests for all the methods.

The Test for the path Generation function:
Make the expected assert Statement hard Coded. Because we want to Test of the Code and all variables are working right together. This will only be Changed if the DWD will change Something.


Adjust e2e tests for minting/burning edge cases

[x] Adjust e2e tests for minting/burning edge cases

Comments
Adjust tests after https://github.com/input-output-hk/cardano-wallet/pull/3226.
Issue Number
adp-1542

bors r+


MATTRANSPOSEMAT unknown warning specifier for PETSc 3.18.0

linalg/petsc.cpp(1327): warning #1028: unknown warning specifier
ierr = PetscObjectTypeCompare((PetscObject)(pA->A),MATTRANSPOSEMAT,&istrans);
^

With gcc I get the warning
linalg/petsc.cpp:1327:13: warning: MATTRANSPOSEMAT macro is deprecated use MATTRANSPOSEVIRTUAL (since version 3.18)
       ierr = PetscObjectTypeCompare((PetscObject)(pA->A),MATTRANSPOSEMAT,&istrans);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

which is a deprecation warning from PETSc v3.18.0.
With what compiler did you get the above?
In any case, I think you can safely ignore this for now.
We can keep this open to remind us to add a #if switch for the new name in the new version of PETSc.

I am using icpc from Intel oneAPI 2022.2

Oops, I didn't mean to close this.


Repeat the animation

Hello i want repeat this animation while calling an API. But it's not happening. Please suggest, how to handle it

@SambitPrakash  Can you maybe show some code snippets here?

@SambitPrakash
You may either need to create new instances and queue them; or ensure you are fading out the text -> cleaning up the attributes -> setting the new text.
I have a similar implementation in Swift 3 with chainable text animations if it would help at all.
https://github.com/deadAlienRobotGhost/SecretLabel
I couldn't have done it without studying the hard work that @zipme and others have posted on Github!
So make sure to let everyone know what you come up with!


Issue about get_predictions

Good morning.
I am trying to use the PyCDA algorithm but I encounter the following issue when I try to use it on a HiRISE picture:

The test picture has black parts but I get the same error message even if I remove them.

Thank you for your help.

The issue is linked with scikit.image. The version used in the script is scikit-image==0.13.1 and the latest one is 0.19.2.
The parameter 'neighbors' seems to be deprecated for the function image.label.

The parameter 'neighbors' must be replaced by 'connectivity' (script 'extractors.py' and inside the '_get_label_map' function). I tested it and the issue was solved.
Another issue: inside the script 'extractors.py', replace 'from skimage.morphology import watershed' by 'from skimage.segmentation import watershed'.


Under-reported request timing

Current TimingFilter (implemented per #28) can under-report response times, especially for IO-bound requests (e.g. ProxyServlet). Currently it is implemented as a servlet Filter. Also tried wrapping it a Handler created by ServerFactory. Implementation is cleaner (it was committed per 595632c), but still the same problem. Will need to somehow intercept HttpChannelOverHttp.onCompleted.

Ok, I overlooked the obvious - ProxyServlet is an async servlet, and our approach is measuring execution time of sync servlets. Will need to figure out how to attach a timer to async servlets.


MINIFICPP-1321 Support attribute strategies in MergeContent processor

Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with MINIFICPP-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically main)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[x] If applicable, have you updated the LICENSE file?
[x] If applicable, have you updated the NOTICE file?

For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

Thanks for the modifications, I think this one is still relevant:
Current:
if (mergedAttributes.find(attr.first) != mergedAttributes.end()) {
  if (mergedAttributeIt->second != attr.second) {
    mergedAttributes.erase(attr.first);
    removed_attributes_.push_back(attr.first);
  }
} else if (std::find(removed_attributes_.cbegin(), removed_attributes_.cend(), attr.first) == removed_attributes_.cend()) {
  mergedAttributes[attr.first] = attr.second;
}

Suggestion to avoid double map lookup:
auto mergedAttributeFound = mergedAttributes.find(attr.first);
if (mergedAttributeFound != mergedAttributes.end()) {
  if (mergedAttributeFound->second != attr.second) {
    mergedAttributes.erase(attr.first);
    removed_attributes_.push_back(attr.first);
  }
} else if (std::find(removed_attributes_.cbegin(), removed_attributes_.cend(), attr.first) == removed_attributes_.cend()) {
  mergedAttributeIt->second = attr.second;
}

You can further simplify this by checking the removed elements first:
if(std::find(removed_attributes_.cbegin(), removed_attributes_.cend(), attr.first) != removed_attributes_.cend()) {
  continue;
}
std::map<std::string, std::string>::iterator insertion_res;
bool insertion_happened;
std::tie(insertion_res, insertion_happened) = mergedAttributes.insert(attr);
if(!insertion_happened && insertion_res->second != attr.second) {
  mergedAttributes.erase(insertion_res);
  removed_attributes_.push_back(attr.first);
}

Another thing worth potentially improving is looping on flowAttributes by move, as we can consume it during the loop.

Thanks for the modifications, I think this one is still relevant:
Current:
if (mergedAttributes.find(attr.first) != mergedAttributes.end()) {
  if (mergedAttributeIt->second != attr.second) {
    mergedAttributes.erase(attr.first);
    removed_attributes_.push_back(attr.first);
  }
} else if (std::find(removed_attributes_.cbegin(), removed_attributes_.cend(), attr.first) == removed_attributes_.cend()) {
  mergedAttributes[attr.first] = attr.second;
}

Suggestion to avoid double map lookup:
auto mergedAttributeFound = mergedAttributes.find(attr.first);
if (mergedAttributeFound != mergedAttributes.end()) {
  if (mergedAttributeFound->second != attr.second) {
    mergedAttributes.erase(attr.first);
    removed_attributes_.push_back(attr.first);
  }
} else if (std::find(removed_attributes_.cbegin(), removed_attributes_.cend(), attr.first) == removed_attributes_.cend()) {
  mergedAttributeIt->second = attr.second;
}

You can further simplify this by checking the removed elements first:
if(std::find(removed_attributes_.cbegin(), removed_attributes_.cend(), attr.first) != removed_attributes_.cend()) {
  continue;
}
std::map<std::string, std::string>::iterator insertion_res;
bool insertion_happened;
std::tie(insertion_res, insertion_happened) = mergedAttributes.insert(attr);
if(!insertion_happened && insertion_res->second != attr.second) {
  mergedAttributes.erase(insertion_res);
  removed_attributes_.push_back(attr.first);
}

Another thing worth potentially improving is looping on flowAttributes by move, as we can consume it during the loop.

Sorry I somehow missed this comment, thanks for the tip I'll update the commit with this.

Moved to https://github.com/apache/nifi-minifi-cpp/pull/870 due to pull bot incompatibility with PR from main branch.


fix: make pipeline.requirements_file optional

small fix in anticipation of #51.
makes pipeline's requirements_file attribute optional, with a default value of None (from "./requirements.txt")
updates the pipeline template with instructions for specifying a requirements file, including important note that the path must be an absolute path (a possible future improvement could be to relax this constraint)
updates pipeline validators to handle None as a requirements file gracefully
Overview
Fixes issue where pipelines could not be created by the CLI due to lacking a real requirements file, despite a requirements file not being necessary yet (if at all)
Discussion
This fix is not a hack; the issue just prompted the realization that this attribute should have been optional all along (was only implemented recently in #65)
Testing
using importlib in a repl to import demo pipeline code programmatically, along the same lines as the snippet @WillEngler sent me when trying to implement the actual behavior in #51

:books: Documentation preview :books:: https://garden-ai--92.org.readthedocs.build/en/92/

Codecov Report

Merging #92 (af22ff3) into main (ebba403) will decrease coverage by 0.19%.
The diff coverage is 60.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #92      +/-   ##
==========================================
- Coverage   85.63%   85.45%   -0.19%
==========================================
  Files          25       25
  Lines        1636     1643       +7
==========================================
+ Hits         1401     1404       +3
- Misses        235      239       +4

Impacted Files
Coverage Δ

garden_ai/pipelines.py
85.71% <60.00%> (-2.86%)
:arrow_down:

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


Search for tokens by EVM address

Problem
I'd like to be able to search for a token when I only possess their EVM address, like a contract.

Solution
Searching for a token address should display results properly like searching for a contract.
Alternatives
No response

This is fixed by PR 00188 + 00271 search account …

Thanks for reporting this @Cooper-Kunz.


Standalone openapi yaml schema generation

Is it possible to generate a openapi yaml schema file from the command line? Eg running a npm command? Without the server running.
Rationale:
In development workflow I would like to generate the yaml as it will be used as input for another npm task to generate a openapi client.
During (prod) build I would like to run both to make sure everything is correct.
Second question is whether it is possible to disable the docs endpoint and yaml/json when server is running.

PS: I found this  related issue for disabling /docs etc, but the link in there does lead to anything.

To answer my second question:
const router = OpenAPIRouter({
  docs_url: null,
  redoc_url: null,
  openapi_url: null,
});

See also https://cloudflare.github.io/itty-router-openapi/user-guide/router-options/

For my first question this is interesting: https://cloudflare.github.io/itty-router-openapi/advanced-user-guide/ci-cd-pipelines/
import fs from 'fs'
import { router } from '../src/router'

// Get the Schema from itty-router-openapi
const schema = router.schema

// Optionaly: update the schema with some costumizations for publishing

// Write the final schema
fs.writeFileSync('./public-api.json', JSON.stringify(schema, null, 2))

I tried that like with generate-openapi.ts in my project root containing:
import fs from 'fs';
import { router } from './functions/api/_middleware';

// Get the Schema from itty-router-openapi
const schema = router.schema;

// Write the final schema
fs.writeFileSync('./public-api.json', JSON.stringify(schema, null, 2));

and running it using a script defined in my package.lock like:
"generate-openapi": "ts-node ./generate-openapi.ts",
but it gives:
node:13239) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
/Users/marceloverdijk/workspace/my-project/generate-openapi.ts:1
import fs from 'fs';
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at internalCompileFunction (node:internal/vm:128:18)
    at wrapSafe (node:internal/modules/cjs/loader:1280:20)
    at Module._compile (node:internal/modules/cjs/loader:1332:27)
    at Module.m._compile (/Users/marceloverdijk/workspace/my-project/node_modules/ts-node/src/index.ts:1618:23)
    at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
    at Object.require.extensions.<computed> [as .ts] (/Users/marceloverdijk/workspace/my-project/node_modules/ts-node/src/index.ts:1621:12)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1022:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
    at phase4 (/Users/marceloverdijk/workspace/my-project/node_modules/ts-node/src/bin.ts:649:14)

I tried to resolve it change package.json, introducing a special tsconfig for the script, but I had no luck unfortunately.

@marceloverdijk try using https://github.com/privatenumber/tsx instead of ts-node


Reset form input after action completes

I have a dumb component that contains an input. When the user clicks on the add button, I'm emitting Output with the text. The smart component fetches the event and dispatch to the store.
How can I reset the input value after the action completes?
@Component({
  selector: 'add-post',
  template: "<input #post>
             <button (click)="add.next(post.value)">Add</button>
"
})
export class AddPostComponent {
  @Output() addPost = new EventEmitter();
}

Use angular's FormControl and pass it down from the smart component.

Still, I don't have any way to know when the action completes. ( when you also call a side effect in the middle )

You didn't say you were using effects. You have couple of options, what I do is to import your effect and simply subscribe to it.

Subscribe in my dumb or smart component?

class DumbComponent {
  @Input()
  form: FormControl;

  @Output()
  addPost = new EventEmitter<string>();
}

import { WhateverEffects } from '../whatever.effect';

class SmartComponent {
  form = new FormControl('');

  constructor(private _ef: WhateverEffects) {
    this._ef.onAddSuccess$.subscribe(() => this.form.reset);
  }
}

This is awesome!
One last question, it will not be good practice if I will subscribe in my dumb component to save all the form work in my smart component?

Dumb components should just receive sync data and emit events, no injecting, no subscribing.

OK! thanks a lot!


feat(react-hooks)!: filter mediator connections

React Hook updates to use new connectionType property and filter by / with them. Contributed by @KolbyRKunz and @TheTreek

Also, it seems this removed useConnectionByState which means it'll be a breaking change. Is that intended?

It was, however, we ended up discussing this on the Bifold call this morning--we're going to add backwards-compatibility with the existing hooks and mark them as deprecated (as this will provide the smoothest update/upgrade strategy for devs.


StreamSettingsScreen: s/Private/Privacy/; use radio buttons, not a switch

This includes my current revision for #5360, which we hope to merge soon.

For #5250, we'll need to let the user choose one among more than two
options. That'll call for a radio-button-style input, rather than a
switch.
So, make a new component InputRowRadioButtons, and use it for an
input labeled "Privacy", replacing the SwitchRow input labeled
"Private".
And, to support that component, write and wire up a new
SelectableOptionsScreen.

Before/after:
https://user-images.githubusercontent.com/22248748/165838289-93d9cbe8-5cbb-41d6-8669-a8923d17e263.mp4
https://user-images.githubusercontent.com/22248748/165838059-de0e8d7b-57f8-4344-8021-dcb6fcc00d67.mp4

Cool, looks good!
When we are adding all the privacy options, I think we should try including more detailed description text to each option, like we do in the web app.

I think we should try including more detailed description text to each option, like we do in the web app.

Yeah, I think so too. #5360 is meant to help the appearance when we have explanatory text that's multiple lines long, which is a case we haven't had before.

Thanks for the review, Alya! I've just rebased, and I'll mark this as non-draft for when Greg gets back from vacation.

Rebased.

Thanks for the review! Revision pushed.

Another revision pushed, with some things we discussed in the office yesterday.

Thanks for the review! Revision pushed.

Thanks! Looks good; merging.


no doc guide to enable support h2 and h2 without ssl

As the title says, there is no document to guide how to open the proxy of H2/H2C, and I am sure that H2 is not turned on by default

hi @sodaRyCN , Easegress is based on the standard HTTP package of Golang which has transparent support for the HTTP/2 protocol when using HTTPS from Go 1.6, which means HTTP/2 is enabled when https is set to true.
And Easegress don't support h2c, that's why we don't have an option to enable it.

I got it.
so How should I set up the proxy while I use grpc protocol. Easegress support grpc protocol. and grpc is based on http2 and support no tls.

We have a plan to support gRPC, but it is not ready now.
Please let us know if you find we mentioned gRPC support in our document, we will update it.

oh, sorry.  it is Ease Service instead of Easegress that supports grpc protocol.
thanks for your replay


docs: clarify code comments in optimize-missing-deps

Description
I didn't understand that "missing" meant not discovered. Also, the sentence "this will import missing deps nest built-in deps" seems like it has a typo because it doesn't make sense
Please check that what I've written is correct
Additional context
This test was failing when I was working on another change and I wanted to better understand it

What is the purpose of this pull request?

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

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

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

@ygj6 Do you know why the test is failing (https://github.com/vitejs/vite/pull/6698/checks) when externalizing SSR dependencies (https://github.com/vitejs/vite/pull/6698)?


Iryna : agile-development :  2 weeks

my fork of module repository

Learning Objectives
1. Developing HTML & CSS

[x] use the LiveServer extension to launch an HTML page in the browser
[x] use autocomplete to begin a new HTML document, create new tags, and much
more
[x] use the HTML CSS Support and IntelliSense fo CSS class names
extensions to make writing HTML & CSS more efficient
[x] use VSCode configurations to format your code on save
[x] use npm run format to format all the code in your repository
[x] Linting CSS: You can use the npm run lint:css script to find
mistakes in your CSS, and you can fix the mistakes.
[x] Validating HTML: You can use the npm run validate:html script to
find mistakes in your CSS, and you can fix the mistakes.
[x] inspect the source code of a web page using the Sources tab
[x] find any part of the web page in the Elements tab of your Dev Tools DOM
inspector
[x] find the styles for any element in the Elements tab
[x] make temporary changes in a web page from the Elements tab to see how
they will look

2. Following Plans

[x] Project Definition and Scope: As a group, you can agree on what you
are trying to build, and can clearly describe the project using a README
and a repository description.
[x] External: constraints that come from outside your group
[x] Internal, Involuntary: constraints that come from within your group,
but your group did not decide to have one.
[x] Internal, Voluntary: constraints your group decides on to improve the
quality of your development process and final software.
[x] Communication Plans: You can work with your group mates to agree on a
communication plan to follow during development.
[x] Communicating Challenges: During development, you can discuss with your colleagues
[x] Using a Backlog: You can develop from a backlog of features organized
[x] Follow a Development Strategies: You can follow a development strategy
to understand the code required for must-have user stories.
[x] Create Issues From a Dev Strategy: You can create issues for user
stories in your project based on the development strategy.
[x] assess how well you worked as a group
[x] find ways to improve in the next project
[x] Compare your plan to the reality of developing your website
[x] track your progress with the project board
[x] develop your code locally on a separate branch
[x] Send a PR that passes CI checks and meets the requirements
[x] Code Review: You can both review a group mate's PR, and productively
participate in a review of your own code.
[x] Match a Design & Acceptance Criteria: When developing your tasks, you
can write code that matches the project's Wireframe and meets your issue's
Acceptance Criteria.

3. Writing Plans

[x] Write User Personas: As a group you can describing your site's users
with User Personas, and you can use the personas to plan your website from
the user's perspective.
[x] Write User Stories: Given a working web page, you can describe it with
user stories and acceptance criteria for each user story.
[x] Write a Backlog: After listing all the user stories for a web page,
you can organize them into a Backlog by priority: must-have,
should-have and could-have
[x] Create a Prioritized Design: Using your backlog and the original site
as a guide, you can create a Wireframe of the site your group will build.
You can use different colors and comments to indicate a priority for each
component in the Wireframe.
[x] Write a Development Strategies: You can translate your Wireframe and
Backlog into a Development Strategy for the must-have user stories.

4. Adapting Plans

[x] Adjusting the Backlog: As a group you can agree to changes in the
backlog when necessary.
[x] Adjusting the Design: As a group you can agree on changes to the
design during the development process when it becomes clear your old
design needs updating.
[x] Updating the Project Board: You can manage the project board by
adding, removing or updating issues when necessary. This includes changing
labels, milestones, or assignees when necessary.

Week 1

[x] I have pushed my progress to my fork of exercises repo

I Need Help With:
understanding the difference between section, class and id.
What went well?
Work on project HYF-rebuild.
What went less well?
Project Loruki, time management problems.
Lessons Learned
Working in groups, solving conflicts, how to inspect other people's code.

@IrynaSobetska  I have updated your issue, now it is organized.

@IrynaSobetska  you forgot to add
Week 2
I Need Help With:
What went well?
What went less well?
Lessons Learned

@IrynaSobetska  section is an HTML element, to which we can add more elements.

Course one

course on is a test

class: is an attribute  example :

 Hello there
.

.

.

I will explain the grid box  again on Monday.


Make request a promise

I just added a then method to Request to make it a promise
The request follow the promise A+ rules and can be chained to other promise (return itself a promise)
Not a lot of code and lot of people who like using promises will be very glad

no. sorry.


the json result convert to d3-hierarchy  can not generate the correct format without children

my question is: how can I get correct hierarchy type then generate the correct collapsible Tree?
d3 Version:  v6.1 which is the latest version.
call for d3 function:

the root after the hierarchy call :

the undefined children property:

my json data:

My web:

The html info generated by d3 :

Hello,
Quite a few examples of d3-hierarchy are available at Observable and blockbuilder.
To ask for help, please use the Stack Overflow tag d3.js. Thousands of D3-related questions have been asked there, and some answers may be relevant to you.
When asking for help, please include a link to demonstrate the issue, preferably as an Observable notebook. It is often impossible to debug from code snippets alone. Isolate the issue and reduce your code as much as possible before asking for help. The less code you post, the easier it is for someone to debug, and the more likely you are to get a helpful response.
If you have a question about D3’s behavior and want to discuss it with other users, also consider the d3-js Google Group or joining the d3-js Slack.
Thank you! 🤖


Test project empty

Current dependencies on/for this PR:

main

PR #368   👈

This comment was auto-generated by Graphite.

@alanvardy started a stack merge that includes this pull request via Graphite.

@alanvardy merged this pull request with Graphite.