Datagrid rename results of column

Q
A

Bug?
no

New Feature?
no

Sulu Version
Sulu Minimal

Hi, I'm actually use my own entity with native datagrid feature of Sulu.
I've implemented this tutorial : http://blog.sulu.io/how-to-develop-a-bundle-in-the-sulu-admin-1
It's work, and print my datas.
I have a boolean property in my Doctrine entity wich is mapped in datagrid.
My problem is that I wanna rename the content of the column who match the boolean property.
In fact, if the result of the boolean property is false I wanna print "No" in column result of the datagrid.
If  the result is true, I wanna print "Yes".
How can I do that ?
Thanks for your help !
Best Regards,
André

there is a feature in the datagrid named contentFilters which enables you on javascript side to change data of a column. see https://github.com/sulu/sulu/blob/develop/src/Sulu/Bundle/AutomationBundle/Resources/public/js/components/automation-tab/main.js#L147
you can specify a function which gets the api-content and returns the content which should be displayed.
I will close this issue if this dont fixes for you please reopen (:

Hi thanks for you reply.
I tried it but doesn't work for me.
I've done it in my list/main.js but it do nothing :/ .

do you want an own column or add it to a existing column?

I just want to change the text of a result column.
Actually I have a datagrid listing my entity.
One of the property is a boolean, so when I print all the datas of the entity I've got "true" or "false" in result.
I just want to change this to "Yes" or "No" in the datagrid line.
The apply of contentFilters didn't change nothing.

can you post your configuration of the datagrid?

ping @AndreFromentalAcelys


WebFlux Reactive Hanging error

I've used spring-cloud-contract (1.2.2.RELEASE and 2.0.0.M8) with Spring Boot WebFlux (2.0.0.RELEASE) Reactive services and because the standalone WireMock has a Jetty of version 9.2.22.v20170606 sometimes it hanging when making calls to WireMock server.
When a new WireMock is available with a newer Jetty (they should do a Jetty upgrade and not stick with 9.2) upgrade to that version and with that fix this hanging problem. For me never hangs with a version of Jetty 9.4.8.v20171121.
Please see related Spring Boot and Reactor-Netty issues:
https://github.com/spring-projects/spring-boot/issues/10569
https://github.com/reactor/reactor-netty/issues/264
https://github.com/tomakehurst/wiremock/issues/914

Thanks for the info. Maybe you should also file this issue in WireMock? So that they bump the library?

I've checked the issues in Wiremock and I found a lot of issues with upgrade to Jetty 9.3.x and 9.4.x
https://github.com/tomakehurst/wiremock/pull/887
https://github.com/tomakehurst/wiremock/issues/407
https://github.com/tomakehurst/wiremock/commit/4368d316ec239bac305f1faadedab24765bbe4b6
I've also added an issue to Wiremock with the WebFlux reactive services hanging problem.
https://github.com/tomakehurst/wiremock/issues/914

Great! So I guess we'll have to wait for them to fix it natively.
OTOH by using Spring Cloud Contract WireMock (we implicitly add that if you use the verifier or stub runner dep) you reuse the app server that comes with Boot. So if it gets fixed in Boot you should have it fixed OOB in Contract. That's not the case?

My examples are in gradle.
I don't know if I understand correctly, but what I have:
\--- org.springframework.cloud:spring-cloud-contract-wiremock:2.0.0.M8
     +--- com.github.tomakehurst:wiremock-standalone:2.15.0
     +--- org.apache.httpcomponents:httpclient:4.5.5 (*)
     +--- org.springframework.boot:spring-boot-starter:2.0.0.RELEASE (*)
     +--- org.springframework:spring-web:5.0.4.RELEASE (*)
     \--- org.assertj:assertj-core:3.9.1

Spring Cloud Contract WireMock comes with Wiremock standalone version, so it won't use the Spring Boot dependencies.
The Wiremock Standalone version library has the Jetty and all the libs inside it, so with this case you will have the possibility to have two version of Jetty in your code. The one from the standalone jar comes with wiremock.org.eclipse.jetty package and the one from org.eclipse.jetty package.
At this moment to use the Jetty 9.4.x I've do a hackish solution:
testCompile("com.github.tomakehurst:wiremock:${tomakehurstWiremockVersion}")
testCompile("org.springframework.cloud:spring-cloud-contract-wiremock:${springCloudContractWiremockVersion}") {
    exclude group: 'com.github.tomakehurst', module: 'wiremock-standalone'
}

So, here I exclude the standalone jar from contract and added the wiremock dependency, without Jetty.
Jetty comes from Spring boot dependencies with version 9.4.8.v20171121, and luckily, by disabling https for http wiremock (@TestPropertySource(properties = {"wiremock.server.https-port=-1"})
on each test class) works with this version, but this solution should be changed when the standalone comes with Jetty 9.4.x
+--- com.github.tomakehurst:wiremock:2.16.0
|    +--- org.eclipse.jetty:jetty-server:9.2.22.v20170606 -> 9.4.8.v20171121
|    |    +--- javax.servlet:javax.servlet-api:3.1.0
|    |    +--- org.eclipse.jetty:jetty-http:9.4.8.v20171121
|    |    |    +--- org.eclipse.jetty:jetty-util:9.4.8.v20171121
|    |    |    \--- org.eclipse.jetty:jetty-io:9.4.8.v20171121
|    |    |         \--- org.eclipse.jetty:jetty-util:9.4.8.v20171121
|    |    \--- org.eclipse.jetty:jetty-io:9.4.8.v20171121 (*)
|    +--- org.eclipse.jetty:jetty-servlet:9.2.22.v20170606 -> 9.4.8.v20171121
|    |    \--- org.eclipse.jetty:jetty-security:9.4.8.v20171121
|    |         \--- org.eclipse.jetty:jetty-server:9.4.8.v20171121 (*)
|    +--- org.eclipse.jetty:jetty-servlets:9.2.22.v20170606 -> 9.4.8.v20171121
|    |    +--- org.eclipse.jetty:jetty-continuation:9.4.8.v20171121
|    |    +--- org.eclipse.jetty:jetty-http:9.4.8.v20171121 (*)
|    |    +--- org.eclipse.jetty:jetty-util:9.4.8.v20171121
|    |    \--- org.eclipse.jetty:jetty-io:9.4.8.v20171121 (*)
|    +--- org.eclipse.jetty:jetty-webapp:9.2.22.v20170606 -> 9.4.8.v20171121
|    |    +--- org.eclipse.jetty:jetty-xml:9.4.8.v20171121
|    |    |    \--- org.eclipse.jetty:jetty-util:9.4.8.v20171121
|    |    \--- org.eclipse.jetty:jetty-servlet:9.4.8.v20171121 (*)

It does come with Jetty deps but we reuse whatever application server you define in Boot. Notice that we have a separate starter that reuses the Jetty from WireMock https://github.com/spring-cloud/spring-cloud-contract/tree/master/spring-cloud-contract-starters/spring-cloud-starter-contract-stub-runner-jetty

My app server is the default from Spring Boot Webflux: Netty.
So I've running my app in Netty and Wiremock in Jetty.
I've tried this (1):
testCompile("com.github.tomakehurst:wiremock:${tomakehurstWiremockVersion}")
testCompile("org.springframework.cloud:spring-cloud-contract- wiremock:${springCloudContractWiremockVersion}") {
    exclude group: 'com.github.tomakehurst', module: 'wiremock-standalone'
}

and as you said with this (I hope I understand ok) (2):
testCompile("org.eclipse.jetty:jetty-server")
testCompile("org.eclipse.jetty:jetty-server")
testCompile("org.eclipse.jetty:jetty-http")
testCompile("org.eclipse.jetty:jetty-util")
testCompile("org.eclipse.jetty:jetty-io")
testCompile("org.eclipse.jetty:jetty-security")
testCompile("org.eclipse.jetty:jetty-servlet")
testCompile("org.eclipse.jetty:jetty-servlets")
testCompile("org.eclipse.jetty:jetty-continuation")
testCompile("org.eclipse.jetty:jetty-webapp")
testCompile("org.eclipse.jetty:jetty-xml")
testCompile("org.eclipse.jetty:jetty-util")
testCompile("org.springframework.cloud:spring-cloud-contract-wiremock:${springCloudContractWiremockVersion}")

With both Wiremock uses Jetty 9.4.x
Note: I've using Spring Boot 2.0.0.RELEASE
It's very strange for me that with solution 1 work nice and with solution 2 tests stops and hangs randomly until timeout.
I really don't understand this...
Usually stops hanging at the retrieve() method in code like this:
import org.springframework.web.reactive.function.client.WebClient;

...

private final WebClient client;

public UserServiceClient(final String endpoint, final WebClient.Builder webClientBuilder) {
    this.client = webClientBuilder.clone()
            .baseUrl(endpoint + "/api")
            .build();
}

public Mono<UserDto> authenticate(final UserLoginDto userLogin) {
    return client.post().uri("/users/login")
            .contentType(MediaType.APPLICATION_JSON)
            .accept(MediaType.APPLICATION_JSON)
            .body(BodyInserters.fromObject(userLogin))
            .retrieve()
            .bodyToMono(UserDto.class)
            .doOnNext(n -> log.info("Client received {} ", n))
            .doOnError(e -> log.error("Error while authenticating user ", e));
}

I'll leave the first solution for me. Maybe it's a problem with the wiremock-standalone and Jetty also (without standalone wiremock, just normal and Jetty 9.2.x doesn't works).
Maybe, if possible one time upgrade to a Wiremock with Jetty 9.4.x.

I've just bumped WireMock to 2.17.0. In the release notes I can see that Jetty was updated. https://groups.google.com/forum/#!msg/wiremock-user/-XESD3nbs5I/LHN5Y51mCgAJ but only by minor https://github.com/tomakehurst/wiremock/commit/d6ffe4bd5eb424e283c5cc74004cf193ff3a8e86

The solution to the hanging issue can be found here: https://github.com/tomakehurst/wiremock/issues/914
Wiremock has two new libraries.

wiremock-jre8 (works nice with Jetty 9.4)
wiremock-jre8-standalone (contains Jetty 9.4)

To have Jetty 9.4 there are two options.

Using the wiremock with separate jetty dependencies:

    testCompile("com.github.tomakehurst:wiremock-jre8:${tomakehurstWiremockVersion}")
    testCompile("org.springframework.cloud:spring-cloud-contract-wiremock") {
        exclude group: 'com.github.tomakehurst', module: 'wiremock-standalone'
        exclude group: 'com.github.tomakehurst', module: 'wiremock-jre8-standalone'  // exclude for future changes
    }

Or using the standalone version:

    testCompile("com.github.tomakehurst:wiremock-jre8-standalone:${tomakehurstWiremockVersion}")
    testCompile("org.springframework.cloud:spring-cloud-contract-wiremock") {
        exclude group: 'com.github.tomakehurst', module: 'wiremock-standalone'
    }

As I see the spring-cloud-contract version 2.2.0.M1 uses the wiremock-jre8-standalone so in the future Jetty 9.4 will be supported be default.


Latex equation broken in RZZGate documentation

Environment
Online docs
What is happening?
On the RZZGate docs page: https://docs.quantum.ibm.com/api/qiskit/qiskit.circuit.library.RZZGate
An equation that is a helpful reference for getting factors of 2 correct does not render. Mousing over gives the tooltip shown with the error message suggesting to use renewcommand instead of newcommand:

How can we reproduce the issue?
https://docs.quantum.ibm.com/api/qiskit/qiskit.circuit.library.RZZGate
What should happen?
Equation should render without an error
Any suggestions?
May just need to replace \newcommand with \renewcommand

This seems to affect other pages as well, such as https://docs.quantum.ibm.com/api/qiskit/qiskit.circuit.library.RXGate

This sounds suspiciously like the KaTeX setup for the markdown components of the new Qiskit/documentation is defining the \th macro in its preamble, which we never used to do when we hosted the docs from this repo (hence the new errors).  Let me move this issue over there for now, though it might be that we end up moving it back here and removing the \newcommand stuff.
(Personally I'm not convinced that it's a great idea to use a macro like this in simple definitions, but I know I write LaTeX differently to a lot of people.)


Skip writing of empty content-body for GET requests

Skip writing of empty content-body for GET requests. This fixes the error in BitMEX GET requests - "Cannot send a content-body with this verb-type".
Fixes issue #335.

Thanks for sharing!


module is not a function ...

Hello guys,
I would like to have charts (area type) and maps on the same page.
in my app.module.ts :
        ChartModule.forRoot(             require('highcharts'),             require('highcharts/highmaps')         ),
I have the following error:
module is not a function at eval (http://localhost:3000/node_modules/angular2-highcharts/dist/index.js:36:13
I can use  require('highcharts'), alon and see my charts or require('highcharts/highmaps') alone and see the maps but I can't use them both.
Any ideas

This is because require('highcharts/highmaps') is not module for highcharts.  You have two variants here:

ChartModule.forRoot(require('highcharts/highmaps'))
or
ChartModule.forRoot(require('highcharts/highmaps'), require('highcharts/modules/map'))

Thanks you so much
Maybe you should write it in the documentation for newbie like me.


OrientDB's available memory estimate ignores cgroup (container) limits

OrientDB Version: 2.2.29
Java Version: OpenJDK 8
OS: Linux
When calculating the available system memory to use as a disk cache, OrientDB currently uses the formula total system memory - JVM heap size - 2GB.
This ignores the fact that OrientDB may be running on, say, a 64GB RAM system, but inside a docker container that is only allowed to use 10GB maximum. This means that OrientDB will keep using more and more memory, thinking there's plenty of capacity, until it gets terminated by the operating system's OOM killer for exceeding its allocated limit.
As a workaround until this issue can be fixed, if you run OrientDB in a container, I recommend setting the -XX:MaxDirectMemorySize option in the ORIENTDB_OPTS_MEMORY environment variable. Keep in mind that the direct memory consumption is on top of the heap and stack memory, so leave some breathing room between the sum of these three values and the container memory limit.
Expected behavior
OrientDB should be aware of any cgroup limits that might apply to it. Other projects have had similar issues in the past, and have developed fixes. OpenBLAS and YARN are two examples.
Actual behavior
OrientDB is not aware of the cgroup limits, and keeps allocating memory until it gets killed by the OS.
Steps to reproduce

Get a 64GB machine / instance / VM.
Start an OrientDB docker container with the --memory option set to significantly less than 64GB, e.g. 6GB.
Put load on the database until OrientDB gets killed by the operating system for using too much RAM.

Some sources to read http://man7.org/linux/man-pages/man7/cgroups.7.html, http://man7.org/linux/man-pages/man2/getrlimit.2.html, https://github.com/java-native-access/jna/blob/master/contrib/platform/src/com/sun/jna/platform/unix/Resource.java , https://fabiokung.com/2014/03/13/memory-inside-linux-containers/

OK, for now, we will implement only cgroup v1 support. Later we will add cgroup 2, but in a separate issue. Taking in account that very few distr us cgroup v2 version. I think it is completely OK for now. Sad thing is that docker does not use "cgroup" namespace of course but at least /sys/fs/cgroup is provided.

Fixed in 2.2.x branch will be in 3.0 soon.

Fixed

Thank you, @laa!


Reload after dynamic added field.

Hello There,
I use knokcoutJS in a repeater field for field creations. When A new field is added i give another call with:
$('input[maxlength],textarea[maxlength]').maxlength({
alwaysShow: true
});
Only the new dynamic fields don't get the maxlength boxes. Is there a function or another way to refresh?

I think you should ask this question on Stackoverflow more than in here. Please post a link in this issue, since it might help someone else as well.

This is the link:
http://stackoverflow.com/questions/28925092/bootstrap-maxlength-plugin
I do call the function, and I think it happens to all dynamic loaded fields. Static fields is no problem, but after the dom is loaded, and the function is called on the specific ID nothing happens for it.


Client Identity Validation Behavior

@jmandel wrote:

Now, playing with the sample app, I notice that even when I have enabled "App Registration Options" of "Client Identity Validation Method: client-confidential-asymmetric", the sample app is still able to get an access token without authenticating. Is this a bug in the token endpoint logic?

Currently, the "Client Identity Validation" option is UI-only, meaning that it will hide or show the fields in which you could enter client secret or JWKS/JWKS-URL. This does not control if the app will actually use a secret or asymmetric auth. I might be able to make such a "connection" between the launcher options and the sample app, but all other apps will still do whatever they want.
In other words, it enables auth validation but cannot force apps to use that type of authentication. Do you have better ideas?

This is just a mockup UI that I have locally. Before I attempt implementing it, do you thinks these options make sense (as well as the labels and descriptions)?

Cool, thanks for sharing this mock up. The ability to get out of sync between the options registered on the registration tab and the options selected on the validation tab would worry me a little bit. Have you thought about whether it's possible to combine them in one screen, or even just to make the validation choices implicit based on which registration details are filled out? My assumption based on our initial prototype was that if you put a detail in your registration screen, you are asking to have it validated.

My assumption based on our initial prototype was that if you put a detail in your registration screen, you are asking to have it validated.

Correct, but it does not cover everything. I'll experiment with combining them...

How about now (deployed)? These are big changes and I still need to clean up the code and tests, but I think it is a slight improvement.

This is looking really good.

I'm thinking it might be more straightforward (and flexible) to allow piecemeal opt-in to the strict validation aspects. To this end, I wonder if it's possible to relax the "Loose" validation to say (and do) something like:

Client ID is not validated (any well-formed value is allowed)
Scopes are not validated (any well-formed value is allowed)
Redirect URIs are not validated (any well-formed value is allowed)
Client authentication is not validated (any well-formed value is allowed)

... and then turning on "strict" could provide metadata-driven behaviors like:

If you provide a Client ID at registration time, your client_id at runtime must match
If you provide Allowed Scopes at registration time, your scope at runtime must be covered by this set
If you provide Allowed Redirect URIs at registration time your redirect_uri must be included in this set
If you provide a JWKS or JWKS URL at registration time your client authentication assertion must be signed with a public key from this set

This is close to what it does. Currently:
Loose is what we used to have. It makes all registration-time options optional, meaning that you can leave them empty to skip that part of the validation. If you do use them, they should be well-formed and should be used at runtime.
Strict goes a step further by requiring all the registration options to be set, so that we have something closer to the real-world launch with well-defined client.
So loose would be the piecemeal option but its description would be more like what you suggested for "strict". I'm not sure relaxing "loose" further would be useful. For example "Client ID is not validated (any well-formed value is allowed)" would mean that I should verify that that client_id is "well-formed" if present, even though I wouldn't use it at runtime...

Hmm, this might be entirely a question of what's documented, so perhaps I'm just saying that I'm confused by the current wording.
When I read "Client ID can be empty to allow any client_id" I'm confused because:

We don't state what happens if Client ID is present
If I supply Client ID, it's treated identically between "loose" and "strict" modes

My suggested "flip" + language above avoids this confusion (for me at least -- perhaps you think it introduces other confusions, though).

Yes, it is quite difficult to figure out the best wording. Note that we should probably avoid "at registration time" within this tab, otherwise some users might wonder where that is supposed to be... How about:
Loose

If you provide a Client ID, your client_id at runtime must match
If you provide Allowed Scopes, your scope at runtime must be covered by this set
If you provide Allowed Redirect URIs, your redirect_uri must be included in this set
If you provide a JWKS or JWKS URL, your client authentication assertion must be signed with a public key from this set
If you provide a Client Secret, the client_secret in your authentication header must be the same

Strict

You must provide a Client ID and your client_id at runtime must match
You must provide Allowed Scopes and your scope at runtime must be covered by this set
You must provide Allowed Redirect URIs and your redirect_uri must be included in this set
You must provide a JWKS or JWKS URL and your client authentication assertion must be signed with a public key from this set
You must provide a Client Secret and the client_secret in your authentication header must be the same

Another, more relaxed way to do this might be:
Loose - hides all inputs and says:

Your app can use any client_id
Your app can request any  scope
Your app can use any redirect_uri
Your app can use any structurally valid authentication assertion JWT
Your app can use any client_secret

Strict

If you provide a Client ID, your client_id at runtime must match
If you provide Allowed Scopes, your scope at runtime must be covered by this set
If you provide Allowed Redirect URIs, your redirect_uri must be included in this set
If you provide a JWKS or JWKS URL, your client authentication assertion must be signed with a public key from this set
If you provide a Client Secret, the client_secret in your authentication header must be the same

Excellent -- both of these suggestions seem clear to me. I prefer the "more relaxed way" (aligns with https://github.com/smart-on-fhir/smart-launcher-v2/issues/14#issuecomment-1295431064)

Well..., this was a tricky UI but I think I finally got it to work fine.


Added a task and messages to handle synching code_safety and deleted …

…files

As a heads up @bpellegr, rubocop would catch many of Josh's suggestions, including the reject I think


remove subgraph compilation/execution step in theano backend conv2d

This change fixes a problem that occurs when the "kernel" used in a convolution is the result of a symbolic operation elsewhere in the graph. In this case, the kernel.eval() step in the current master branch will fail, as the inputs required for compiling and executing the eval are neither available nor provided when calling eval.
I fixed this by changing the code to keep all computations symbolic.
The existing code works for most people because the input kernel is typically a TensorSharedVariable, for which var.eval() can just call var.get_value(), without requiring any additional inputs.
I've tested that the proposed change works for both odd-width and even-width kernels.

Is there any performance impact?

It does require evaluating the kernel.shape at run time. When the node is executed this must already be available, as the kernel must be available (non-symbolically) at that time. Accessing this attribute, evaluating the % operator, and performing the ifelse switch will have non-zero cost. I haven't done any profiling to see what this cost might be, though it should be small relative to computing the actual convolutions.
One place I could see this maybe causing a noticeable slow-down is through its effects on Theano's graph optimizations. I don't know how well these play together with if-else branching.
I'm not sure how else to compute something conditioned on the shape of a fully-symbolic tensor.

If you think this use case is insufficiently common to merit changes to the core implementation of Keras, I'll just close the pull request.

What's your use case exactly? Are you using backend functions outside of layers?

I'm using a custom layer in which the convolution kernel is selected for each input batch by slicing the underlying parameter matrix. E.g., in a large convolutional GRU, if we want to drop out half the state dimensions for the full feedforward pass, we (ideally) could accelerate computation significantly by only performing computation for the relevant dimensions, rather than computing a full state update and masking.


Elysia can't parse query array string and object when aot is off in version 1.1.26

What version of Elysia is running?
1.1.26
What platform is your computer?
WSL
What steps can reproduce the bug?
after creating a new elysia app set aot to false and add a query object with a string array
import { Elysia, t } from "elysia";

const app = new Elysia({ aot: false }).get("/", ({ query }) => {
  console.log(query)
  return "hello"
}, {
  query: t.Object({
    leading: t.String(),
    arr: t.Array(t.String()),
    trailing: t.String(),
  }),
})
  .listen(3000);

What is the expected behavior?
hello
----console----
{
  leading: "foo",
  arr: [ "bar", "baz" ],
  trailing: "qux",
}

What do you see instead?
{
  "type": "validation",
  "on": "query",
  "summary": "Property 'arr' should be one of: 'ArrayString', 'array'",
  "property": "/arr",
  "message": "Expected union value",
  "expected": {
    "leading": "",
    "arr": "[]",
    "trailing": ""
  },
  "found": {
    "leading": "foo",
    "arr": "bar",
    "trailing": "qux"
  },
  "errors": [
    {
      "type": 62,
      "schema": {
        "items": {
          "type": "string"
        },
        "anyOf": [
          {
            "format": "ArrayString",
            "default": "[]",
            "type": "string",
            "items": {
              "type": "string"
            }
          },
          {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        ]
      },
      "path": "/arr",
      "value": "bar",
      "message": "Expected union value",
      "summary": "Property 'arr' should be one of: 'ArrayString', 'array'"
    }
  ]
}

Additional information
in version 1.1.0 it was working just fine
this matters because I'm forced to turn off aot otherwise cloudflare will complain about usage of eval
Have you try removing the node_modules and bun.lockb and try again yet?
yes

The PR https://github.com/elysiajs/elysia/issues/946 also fixes this issue, although I made it initially to fix #950


how to reload the tree when the data is changed ?

for exp: the data is empty at the first,then the data is filled; how to refresh the tree

You shouldn't have to do anything special to add data to your tree - that is to say the new nodes should show up in the tree as you would expect. You may need a $scope.$apply() if the data is added outside the scope of angular.
However, IVH Treeview won't attempt to do any selection validation when you add or remove nodes on the fly. So just keep in mind that when you add or remove nodes you'll need to either set their selected status yourself or use ivhTreeviewSelectionMgr.validate to validate the tree or individual branches.
Does that answer your question?

OK, thanks!
got it!
it's my mistake!

:+1: Sorry for the confusion!


Roll Plugins from e4cabdf56d0d to cedd66cbba5d (1 revision)

https://github.com/flutter/plugins/compare/e4cabdf56d0d...cedd66cbba5d
2022-08-25<EMAIL_ADDRESS>Commit generated boilerplate (flutter/plugins#6311)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Ubuntu 18.04, causes su and polkit to hang

Hi, this piece of work is great and i've been using it for some time. However, on Ubuntu 18.04 LTS I've noticed if the auth line is added to /etc/pam.d/common-auth, all polkit GUI prompts hang. In addition to this, trying to 'su' to another user causes the same hanging behavior. There isn't anything particularly apparent in the logs, the helper runs through the normal 2-stage process of comparing the password and updating the disk / cache as needed and exits - its just that the calling process appears to hang (su, polkit).
sudo works fine, and so does OS login.
To work around this, i've kept the common-auth change in place, however I duplicated the stock common-auth (without the added cryptsetup module) and updated the @include references in /etc/pam.d/polkit-1 and /etc/pam.d/su to point to the original version of common-auth. I'm unsure what else is having the hanging issue, more testing would be needed.
Any ideas?

Hello @Lollaskates ,
I'm glad to hear you've found my little project useful! Sorry to hear it is causing authentication to hang in your Ubuntu 18.04 LTS distro when authenticating with programs other than sudo.
Let me set up an Ubuntu VM on my end and see if I can replicate the issues you are observing; it seems like the PAM auth stack is being modified unexpectedly when this module is run. It's almost reminiscent of a permissions issue I saw during development when I accidentally changed the user the PAM stack ran as.
If you can attach the syslog output of the PAM module with the debug argument set when running su, I would appreciate it; you might also want to try setting backgound=false for more detailed output from the module.

Hi @warrenpw
Same problem on ubuntu 20.04 (@Lollaskates workaround still works)


8 queen problem, please explain?

In the 8 queen problem, as a complete-state formulation, the book says,
"The successors of a state are all possible states generated by moving a single queen to another square in the same column ( so the state has 8 x 7 = 56 successors)."
How is that 8 x 7 ? and what would be the successors of one of these 56 successors?
I do not understand the meaning of "a single queen to another square". Do you mean you generate a successor by placing the queen one at a time in the rest of spaces in the same column? Thus generating 7 new states per queen - which will give 7 x 8 states. However, there is no explanation why this pattern has been chosen, and proof that it is exhaustive when done recursively or a comment on the repetition of such states.
Can someone please break it down for me?  I will appreciate your help.

An initial state has all Queens placed on the board. One queen in each column. The column of amy Queen remains fixed. A Queen changes its square within its column.
To generate a successor, we move one of the Queens to a new square (within its column). There are 8 Queens to choose from and 7 new positions available in its respective column. This makes the number of successors 7*8.
Hope this cleared things for you. We can see that any 1-Queen-per-column configuration can be obtained in atmost moves.


reloading while issuing a certificate leads to failed requests

In environments with very frequent config changes (like mine! :grin:), nginx can sometimes be reloaded while resty-auto-ssl is requesting a certificate. This causes errors and ultimately fails the certificate request.

request a new certificate
spawns dehydrated with AUTO_SSL_HOOK_SECRET
nginx is reloaded (which means the secret changes!)
dehydrated gets around to curling our API, supplying the secret provided earlier.
the curl fails with status 403 Forbidden and dehydrated gives up.

This is particularly bad, because we never output any status, as to why the request was denied.
Now, how do we solve this?
Currently the secret is generated every reload or restart, even if one is already present. I suggest that we first check if a secret is present. If there is one, just leave it. If there is none, generate one.
Is there any reason we currently regenerate the secret every reload?

I just noticed that the secret storage was changed from a shared dict to a global variable. Sadly global variables do not survive a reload. The problem prompting was the shared dict running out of memory, because of too many certificates.
Since I do not see a way to fix this using a global variable I guess having a separate dict for values like hook_server:secret or sockproc_started should be used. There is just one catch: the dict needs to be defined in the nginx config using the lua_shared_dict directive, making this a breaking change.
@GUI what's your take on this?


Touchable* does not support Image?

Wrapping Text in Touchable* works fine. But for Image, onPress callback will not be invoked and there's no highlighting effect.

Thanks for report! Fixed and added the example with <TouchableHighlight><Image /></TouchableHighlight> to UIExplorer. (Also added the example of a simulation of Hover effect via onMouseEnter/onMouseLeave.)

Published as @0.2.2.

Thanks for the quick fix!


add assign raboot to current this repository

Can you please provide more info about this issue? What are the motivations for the assign robot etc.?

My initial idea was to automatically assign the issue by replying to the /assign message in the issue. 😄
Now I think it may not be necessary.


WIP: Create My Stake tab.

Makes progress against #1278.
Description:
Adds a new tab, My Stake, to the Staking page.

from https://router.vuejs.org/guide/essentials/nested-routes.html

a rendered component can also contain its own, nested <router-view>
...
To render components into this nested outlet, we need to use the children option in VueRouter constructor config

basically, just have to include router-view on the page for children in routes.js and also use path friendly path names.

basically, just have to include router-view on the page when you use children in routes.js and also use path friendly path names.

I used my admin privileges to merge this even though it doesn't yet have adequate coverage in order to unblock @jbibla.  I'll continue working on adding test coverage in another PR.


Pass store.getState to get latest state on promise resolution

https://github.com/KELiON/redux-async-initial-state/issues/11

@tuntisz Why did you closed this PR?

I committed breaking changes in my fork. Would you like me to reopen with a cleaner fix?

@tuntisz I think it totally makes sense and deserve a major release to prevent broken builds after package update

Is this still being addressed? If you'd like, I'd be happy to work on this.

can we get this merged in?  or this still maintained at all?


not able to create login with server role selected for Windows auth and AAD auth

Connect to an on-prem server
Open new login dialog
Select windows auth and select a server role
fill out the form and click ok

the request will fail
same issue with AAD login. SQL Auth works fine.

Are you testing with RC build or main?

working fine with latest main now.


Update interleaving process for topics

Generalize interleaving method (consider moving interleaving code under arxivdigest package, and only minimalistic scripts under scripts)

@kbalog It was decided that if there was a common prefix when multileaving articles, no credit would be given to any system, this worked great when there was no explanations. But now that we have explanations how will we decide which explanation to use for articles in the common prefix.
The two obvious solutions I see is to either look at the article and explanation as the recommendation meaning that the prefix if only common when the article and explanation is the same (meaning there will be no common prefix almost all the time for articles),
or to pick a random explanation for the elements in the common prefix
PS. Common prefix still works fine for topics

Should topics be interleaved with just recommendations from the same date or use a weekly pool?
Seeing that there is no limit to how many topics exist, there shouldn't really be a problem with just interleaving from the previous day.
But of course interleaving from a week is a bit more lenient towards systems.

@oyvi96 When doing the interleaving for articles, we should indeed look at the article and explanation in combination when determining the common prefix (which means basically no common prefix). When computing statistics and evaluation measures, we'll want to consider recommendations both with and without explanations.
Not sure I understand the question about interleaving topics. Topics don't have a timestamp, i.e., systems can push any number of recommendations. The top-k (say, 10) would be shown to the user upon login for 24-hours; once there is time for a new batch of topic recommendations, just interleave from the highest scoring recommendations from the systems.

@kbalog Okey, heres a question more related to the user interface for topics then, but it will also affect interleaving.
Users shold be able to accept and reject this list of say 10 topics, and thus making it contain fewer topics for the rest of this day. Will we in anyway try to replenish this list, or will it be more like you get 10 each day and that is it.
Replenishment will probably be a bit difficult to get right as if we interleave more than we show these should ideally be shown the next time, but this would not work as it would change the interleaving order and credits to not be shown as intended.
While dropping not shown interleavings may misrepresent a system so this is not a good idea either.
One solution that might work is to generate interleavings on user request. But as we discussed earlier then you would want to keep them for seesion, my proposal for that is we could save the last generation date in the database and only update the interleavings on the next day or on explicit refresh requests.

Yes, generate interleavings if (i) the previous one has expired (>24 hours since last web login) or (ii) if the user explicitly requests new recommendations (add "get new recommendations" link/button to topic suggestion box).

Each time the user is given 10 suggestions. Each of these is either accepted or rejected, but we're not filling up the list with new suggestions. Also, once these suggestions expire, they won't be shown again to the user (in fact, these should not even be allowed to be submitted anymore as recommendations via the API); the only way to add them is manually by the user themself.

@kbalog If we were to just make the api reject those topics it would be really awkward having to try submitting before getting an answer that some of the topics are ineligible. So then we'd at least have to provide an endpoint with all ineligible topics for each user that the system would have to cross-reference. Is this what you're thinking?

We should not allow systems to submit topics that are already returned by the  /user_feedback/topics API call.

Sure, that could work.

@kbalog if you run the interleaver either for topics or articles  and only one or two systems have valid recommendations (or not enough) should the interleaving still happen, even though the system may get the whole list for itself?

Yes, it should happen.
(That's also the case right now, as there is a single system producing recommendations. This system gets the whole list for itself, but that's OK.)


Display of footer in latest version is not mobile responsive

The footer in the latest docs version is not mobile responsive. The stable version and older are mobile responsive.

@melissawm :wave: I'm assuming https://github.com/napari/napari/pull/7111 will fix this in the docs deployment. If so, feel free to close.

I hope so! Going to mark it ready to merge and hopefully we get this fixed.

Yes it should 🙏thanks for flagging! ❤

This should be fixed now @willingc, would you mind confirming? Thanks again!

Looks good on my phone in Safari

Beautiful! Thanks @melissawm and team.


Add solution of Fractional Knapsack in C++

Fractional Knapsack is a very good question in Greedy Algorithms.I will like to add the solution of this problem in C++.
This is part of LGM-SOC contribution
Programming language

[ ] C
[x] C++
[ ] Java
[ ] Python

Please assign this issue to me

@AKSHATNEMA u have 5 assigned issues so after completing them you will be further assigned.

@Ayush7614 @Amit366 Please Assign me This Issue Under LGMSOC in C++ or Java


Explain inventory file

Explain what inventory file is and how one can generate a new inventory file.

explained in both ubuntu-vagrant and ubuntu-hpc examples.


Jenkins workflow plugin and mesos-plugin

The jenkins workflow plugin has many advantages over the previous approaches.  I did not see the mesos plugin listed as working with workflow.

duplicate of https://github.com/jenkinsci/mesos-plugin/issues/151


Q&A- Tec: Credential info bleeds into second PDF page.

Describe the bug
Credential, when too long, will bleed into second PDF page.

To Reproduce
Steps to reproduce the behavior:

Create PDF to share with credential. Credential, when too long, will bleed into second PDF page.

Expected behavior
Credential should adjust in size in order to fit within first/only PDF page

New template sent via email with fix on 7/25/24.

9/25/24: Still waiting on Tec to see if we can close this ticket

Checking in with Tec to see if this issue has been resolved.

We can re-open if need be.


defaultActiveId doesn't work with useMenuStore

Current behavior
Providing defaultActiveId doesn't seem to do anything. Note that this does get picked up when activeId is used instead However, it doesn't make sense to use activeId without setActiveId, and providing the latter results in the same bug.
Steps to reproduce the bug

Open sandbox: https://stackblitz.com/edit/q9qdwc?file=menu-item-radio%2Findex.tsx&theme=dark
Open the menu

Expected behavior
Element with id="newest" (2nd in the list) should be activated
Workaround
No response
Possible solutions
No response

Element with id="newest" (2nd in the list) should be activated

Do you mean you expect that element to be focused when the menu is open, no matter if it was triggered by a mouse click, enter, arrow down/up, etc.?
Could you please share more details about your specific use case? Screenshots help.

Yes. That's what I was expecting would happen once I activate the dropdown (either via mouse or keyboard):
Note that I'm actually using MenuItemRadio in my code, the example above has MenuItem, but this doesn't seem to make a difference.

Is your use case specifically that (a "sort" dropdown)? If that's the case, I'd suggest using Select instead, which has the focus behavior you want.

Is your use case specifically that (a "sort" dropdown)? If that's the case, I'd suggest using Select instead, which has the focus behavior you want.

In this particular case select will probably work. However, the question about the APIs such as defaultActiveId still stands - did I misunderstand them? Should they even exist in a menu? Or is this a bug?


(compiler) (bf16) Flux.1-dev transformer dispatch fails due to memref element type mismatch.

From the FLUX.1 transformer model in BF16, we see the following error lowering to amdgpu-gfx942:
Original command:
iree-compile --iree-hal-target-device=amdgpu --iree-hip-target=gfx942 --iree-hal-target-backends=rocm --iree-hip-target=gfx942 --iree-execution-model=async-external --iree-preprocessing-pass-pipeline='builtin.module(util.func(iree-global-opt-raise-special-ops, iree-flow-canonicalize), iree-preprocessing-transpose-convolution-pipeline, iree-preprocessing-pad-to-intrinsics, util.func(iree-preprocessing-generalize-linalg-matmul-experimental))' --iree-global-opt-propagate-transposes=1 --iree-opt-const-eval=0 --iree-opt-outer-dim-concat=1 --iree-opt-aggressively-propagate-transposes=1 --iree-hal-force-indirect-command-buffers --iree-codegen-llvmgpu-use-vector-distribution=1 --iree-llvmgpu-enable-prefetch=1 --iree-codegen-gpu-native-math-precision=1 --iree-hip-legacy-sync=0 --iree-opt-data-tiling=0 --iree-vm-target-truncate-unsupported-floats --iree-dispatch-creation-enable-fuse-horizontal-contractions=1 flux_dev_sampler_bs1_512_1024x1024_bf16.mlir -o flux_dev_sampler_bs1_512_1024x1024_bf16_amdgpu-gfx942.vmfb --mlir-print-op-on-diagnostic=false

Error output:
failed to translate executables
<unknown>:0: error: 'memref.get_global' op result type 'memref<64xi16>' does not match type 'memref<64xbf16>' of the global memref @__constant_64xbf16
flux_dev_sampler_bs1_512_1024x1024_bf16.mlir:21817:14: error: failed to run translation of source executable to target executable for backend #hal.executable.target<"rocm", "rocm-hsaco-fb", {abi = "hip", iree.gpu.target = #iree_gpu.target<arch = "gfx942", features = "", wgp = <compute =  fp64|fp32|fp16|int64|int32|int16|int8, storage =  b64|b32|b16|b8, subgroup =  shuffle|arithmetic, dot =  dp4xi8toi32, mma = [<MFMA_F32_16x16x4_F32>, <MFMA_F32_16x16x16_F16>, <MFMA_F32_32x32x8_F16>, <MFMA_F64_16x16x4_F64>, <MFMA_F32_16x16x16_BF16>, <MFMA_F32_32x32x8_BF16>, <MFMA_F32_16x16x32_F8E5M2FNUZ>, <MFMA_F32_16x16x32_F8E5M2FNUZ_F8E4M3FNUZ>, <MFMA_F32_16x16x32_F8E4M3FNUZ>, <MFMA_F32_16x16x32_F8E4M3FNUZ_F8E5M2FNUZ>, <MFMA_F32_32x32x16_F8E5M2FNUZ>, <MFMA_F32_32x32x16_F8E5M2FNUZ_F8E4M3FNUZ>, <MFMA_F32_32x32x16_F8E4M3FNUZ>, <MFMA_F32_32x32x16_F8E4M3FNUZ_F8E5M2FNUZ>, <MFMA_I32_16x16x32_I8>, <MFMA_I32_32x32x16_I8>], subgroup_size_choices = [64], max_workgroup_sizes = [1024, 1024, 1024], max_thread_count_per_workgroup = 1024, max_workgroup_memory_bytes = 65536, max_workgroup_counts = [2147483647,<PHONE_NUMBER>,<PHONE_NUMBER>], max_load_instruction_bits = 128, simds_per_wgp = 4, vgpr_space_bits = 16384>>, ukernels = "none"}>
    %18575 = torch.operator "onnx.Add"(%1159, %18574) : (!torch.vtensor<[64],bf16>, !torch.vtensor<[?,?,64],bf16>) -> !torch.vtensor<[?,?,64],bf16>

Isolated dispatch reproduces this error:
dp1657.mlir.txt
with compile command:
iree-compile --iree-hal-target-device=amdgpu --iree-hip-target=gfx942 --iree-hal-target-backends=rocm --iree-hip-target=gfx942  dp1657.mlir

IR dump shows failure after TranslateTargetExecutableVariantsPass:
ir_dump_dp1657.txt

Seems like we are just missing a bitcast, but that's a naive guess.
There exists a memref.global "private" constant @__constant_64xbf16 whose consumer expects i16 (after ConvertBf16ToUInt16BuffersPass)
I'm not sure what's supposed to be happening with this memref. Should it also be converted to i16?

We have:
memref.global "private" constant @__constant_64xbf16 : memref<64xbf16> = dense<[truncated]> {alignment = 64 : i64}
Which gets consumed by:
%0 = memref.get_global @__constant_64xbf16 : memref<64xbf16>
That eventually gets converted (via iree-codegen-convert-bf16-to-uint16-buffers)  to:
%0 = memref.get_global @__constant_64xbf16 : memref<64xi16>
There are two ways I see this working, but I'm not sure which one, if either, is valid:
One option is to have the memref.global "private" constant @__constant_64xbf16 convert to i16 to match with its consumer.
Another option is to do the cast to i16 after acquiring the bf16 global with memref.get_global , i.e., given:
%0 = memref.get_global @__constant_64xbf16 : memref<64xbf16>
we convert to something like:
%0 = memref.get_global @__constant_64xbf16 : memref<64xbf16>
%1 = memref.cast %0 : memref<64xbf16> to memref<64xi16>

@monorimet can you provide the full MMDiT bf16 torch MLIR too? I wanted to see whether torch MLIR has issues.

@monorimet can you provide the full MMDiT bf16 torch MLIR too? I wanted to see whether torch MLIR has issues.

https://sharkpublic.blob.core.windows.net/sharkpublic/flux.1/12032024/mlir/flux_dev_sampler_bs1_512_1024x1024_bf16_torch.mlir
^ torch IR
https://sharkpublic.blob.core.windows.net/sharkpublic/flux.1/12032024/mlir/flux_dev_sampler_bs1_512_1024x1024_bf16.mlir
^ torch ONNX IR

We found a workaround for this in the ONNX import process by setting --num-elements-threshold=32 in the import_onnx command, effectively externalizing the buffers (dense constants) that encounter this error when materialized as global memrefs.


Implement Debug for Lexer

I recently wanted to implement Debug for a struct that contains a logos::Lexer, but couldn’t. This would solve the problem.

This might need a manual impl since to hide some of the internals that can change in the future.

I don’t think that’s an issue – Debug impls aren’t IMO part of the public interface, and it’s accepted that they can change without warning. What do you think?

@maciejhirsz it's explicitly stated in the Stability paragraph of std::fmt::Debug documentation that its output is should not be considered for any stability guarantees, which is obvious because it's only used by developers to figure out what's happening under the hood without making any assumptions about what's output by std::fmt::Debug.

@Veetaha thank you for the note. I still prefer to have a manual impl not to leak the internals that are not part of any of the API the user is facing. Closing in favor of #217.


Actions for hash based navigation?

I'm trying to use the hash based history, but I can't figure out which actions to use to navigate.
By basic setup:
  <Provider store={store}>
    <Router history={hashHistory}>
      <Route path="/" component={App}>
        <Route path="save" component={Save}/>
        <Route path="open" component={Open}/>
      </Route>
    </Router>
  </Provider>

When I change the url in the url bar to /#/save it works, the save and open components show up.
When I use a react-router Link component like below it works.
<Link to="save">save</Link>

But I don't understand how to use the react-router-redux actions.
The following code removes the hash and navigates to /save:
dispatch(routeActions.push('save'));

The following code moves to /#/save (which is what I want) but it doesn't open my components.
dispatch(routeActions.push('/#/save'));

What am I missing here?
I'm using:

react-router<EMAIL_ADDRESS>react-router-redux<EMAIL_ADDRESS>

@peteruithoven how are you passing history to syncHistory?
I wonder if you have browserHistory in there...

Omg, thanks! So many moving parts...
I indeed still passed browserHistory for syncHistory, changing that to:
const reduxRouterMiddleware = syncHistory(hashHistory);

I can now do a regular push and it all works.
dispatch(routeActions.push('save'));

Thanks again for the help, hopefully someone with the same issue stumbles upon this issue.

:+1: glad it was an easy fix!


Bumps the Terraform provider Version & suppresses warnings

This PR aims at resolving the deprecation warning error by bumping the terraform version

Have encountered this terraform Warning message:
│ Warning: Argument is deprecated
│
│   with module.vpc.aws_eip.nat,
│   on .terraform/modules/vpc/main.tf line 1044, in resource "aws_eip" "nat":
│ 1044:   vpc = true
│
│ use domain attribute instead

More info here:
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eip#vpc


Review before sending to master

You did it @openanthem-admin!
Thank you for signing the Anthem Opensource Software CLA.


[WIP] UI/UX Improvements

This PR is 🔥
I need to wrap a few things before this should be merged. I would appreciate others checking this out and poking around. A lot has changed.
First, we got a new logo from @elioqoshi and that inspired a good bit of the visual design.
We have a new login page!

The signup process has been simplified and stretched out. After this update, new speakers register with an email address and password. They don't have to fill out their entire profile. Eventually, we'll add social logins (GitHub, Facebook, Google, etc.)

When I register as<EMAIL_ADDRESS>this is the first thing I see:

I fill out my profile...

And then I'm dropped onto the "Dashboard". Notice there's progression here and OpenCFP guides me through the process.

I can "Get Started" by submitting a talk:

I can review a list of talks I've submitted to this conference:

That's about it for Speakers. The Admin dashboard got a bit of a face-lift as well. Let's log in as an administrator. The promote/demote command-line tools work exactly the same. This is the new "Admin Dashboard"

Pretty much the same information, just got rid of tables and cleaned up a few things. I feel like this makes it easier to see what's happening at a glance.
I dropped / collapsed a few features. We used to have a "Review Talks" page. This was collapsed as a filter into the "Talks" page:

It works exactly the same. Talks have to be rated and then they're sorted by number of 👍 . It just didn't make sense to keep a whole route + controller + template stack for what was effectively a filter.
Similarly, we used to have an "Admin" page that listed all instance administrators. I collapsed this into Speakers and dropped the relevant controller, routes and templates.

Check out the flash messages... oh snap.
Reviewing talks feels pretty badass now:

All the same stuff, just re-organized a bit and cleaned up. The previous "is this my best talk" and "sponsor" flags on talks are now icons:

Leaving the admin side of things, the front-end pages got restyled:

The background is Chicago... and it matches what shows up on the login/register pages. This could be made customize-able via config in the future so that you can could have it match a conference's venue. Also notice the "Fork me on GitHub". That points to https://github.com/opencfp/opencfp.
There are some less-glamorous changes:

Templates are now in resources/views (previously templates)
We're using tailwindcss.com. This saved me sooooo much time. We're also using Sass and the compiled CSS is committed to be ready out of the box. Doing this work makes customizing / theming OpenCFP much much much easier. There are still improvements that could be made here, for sure.
Started using Illuminate validators to check inputs to controllers rather than heavy Form objects. This should be used for request validation, not domain.
Using Laravel mix to compile Sass/tailwind. Makes dealing with webpack super simple.

There are some things to finish before merging:

[ ] Document how to compile CSS / tailwindcss
[ ] Verify this updates over existing installs without issue
[ ] This being a pretty substantial visual reworking, now is a good time to go through and make sure we're visually representing the most important information adequately.

Anywho... that's all.
🔥 🔥 🔥 🔥 🔥

Codeclimate is aaaaaaaaaaaaaaaaaaaangry.

@mdwheele
Just from inspecting the screenshots, this looks great so far. Chicago, eh?

The only issue I am wondering about is in terms of semantic versioning is this simply v1.1.0 or is it v2? I don't think we're doing anything that breaks backwards compatibility in terms of functionality...

It's worth some additional scrutiny, but I don't think there are any BC breaks with existing installs. The expectation is that you should be able to update normally, run migrations and be good to go. End-users shouldn't even need to install front-end libraries as CSS is source controlled with project.

I've squashed this branch after making sure Codeclimate checks were satisfied.

Looks fabulous! Great work and amazing how swiftly you did these :)
Are the changes live already?

@elioqoshi All you! The logo you gave us inspired making something better to fit it :smile:
The changes were merged and released in v1.2.0. I need to update the README.md to include logo + new screenshots.
non-sequitur: I just wanted to point out that the talk data in the screenshots are NOT my talks. I went out to a few running conferences (sunshine, I think) and grabbed a few talks. :+1:


deno.lad/x edit optional directory in my repo

Hi All,
I am having trouble with my deno.land/x/nats project.
Ever since the change to website 2, references to deno.land/x/nats have been broken. The reason being is that the project's main module is indeed the optional directory of the repo, but the module has other dependencies on other modules on the same repo which are siblings to the optional directory, ie:
my main module is<EMAIL_ADDRESS>but that depends on modules referenced as ../nats-base-client/.... When the URL rewrites, it creates references that are not accessible, thus the module doesn't work (it did way back in the way back upto version v0.1.1-19).
Can you folks remove the optional directory from my project, this should make my project work again using the deno.land/x. Previously it may have been possible to self-fix, but not anymore.
Thanks!

https://github.com/nats-io/nats.deno#109

Just update your webhook. It has the sub directory specified in the query parameters.

Thank you @lucacasonato  - I will do a release to trigger it.

Was this resolved? I believe this issue should be closed.


Fix replicationLag metric name

Changed name to include only the partition ID of interest and not the
entire mountpath. The only part of the mountpath that we needed to
identify a replica was the partition ID.
Reviewers: @pnarayanan, @nsivabalan
Time to review: 5 min.

LGTM


[WIP] Update dash tests to use ingressgateway

The dashboard e2e tests were never updated to use ingressgateway. This
PR is an attempt to "modernize" the network config for those tests.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: douglas-reid
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

tests/OWNERS [douglas-reid]

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

/test e2e-dashboard

@douglas-reid: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
4b49c726d2731f2ef7d16beb8402e0faa813f4e4
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@douglas-reid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
4b49c726d2731f2ef7d16beb8402e0faa813f4e4
link
/test istio-unit-tests

prow/e2e-suite-rbac-no_auth.sh
4b49c726d2731f2ef7d16beb8402e0faa813f4e4
link
/test e2e-suite-rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Note that gateway (ingress and egress) has no mixer features enabled. Attempting to enable just the telemetry causes strange behavior (503s).

@kyessenov yes. fortunately, these tests only need a way to get traffic to the fortio backend. ingress was consistently failing, so I'm trying to convert to ingressgateway. unfortunately, i can't get the local e2e tests to run on any of my machines. So, I guess I need to keep updating this PR in the meantime.

and apparently, i can't get prow to run the dashboard tests anymore.
trying again:
/test e2e-suite-rbac-no_auth.sh

@douglas-reid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
4b49c726d2731f2ef7d16beb8402e0faa813f4e4
link
/test istio-unit-tests

prow/e2e-suite-rbac-no_auth.sh
4b49c726d2731f2ef7d16beb8402e0faa813f4e4
link
/test e2e-suite-rbac-no_auth

prow/istio-pilot-e2e.sh
4b49c726d2731f2ef7d16beb8402e0faa813f4e4
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

PTAL. Updated the network configs and ran the e2e locally. It passes on my minikube instance:
dougreid$ make e2e_dashboard E2E_ARGS="--use_local_cluster" HUB=localhost:5000 TAG=latest
...
2018-06-12T20:07:03.902105Z	info	Running test
=== RUN   TestDashboards
=== RUN   TestDashboards/Istio
=== RUN   TestDashboards/HTTP_Service
=== RUN   TestDashboards/TCP_Service
=== RUN   TestDashboards/Mixer
=== RUN   TestDashboards/Pilot
--- PASS: TestDashboards (0.82s)
	dashboard_test.go:78: Validating prometheus in ready-state...
	dashboard_test.go:478: Waiting for prometheus metrics: 0s
	dashboard_test.go:485: Value found for: 'round(sum(irate(istio_request_count[1m])), 0.001)'
	dashboard_test.go:485: Value found for: 'sum(irate(istio_request_count{response_code=~"4.*"}[1m]))'
	dashboard_test.go:485: Value found for: 'sum(irate(istio_request_count{response_code=~"5.*"}[1m]))'
	dashboard_test.go:83: Sentinel metrics found in prometheus.
    --- PASS: TestDashboards/Istio (0.08s)
    	dashboard_test.go:108: For Istio, checking 20 queries.
    --- PASS: TestDashboards/HTTP_Service (0.06s)
    	dashboard_test.go:108: For HTTP Service, checking 14 queries.
    --- PASS: TestDashboards/TCP_Service (0.08s)
    	dashboard_test.go:108: For TCP Service, checking 14 queries.
    --- PASS: TestDashboards/Mixer (0.36s)
    	dashboard_test.go:108: For Mixer, checking 45 queries.
    --- PASS: TestDashboards/Pilot (0.22s)
    	dashboard_test.go:108: For Pilot, checking 37 queries.
...
2018-06-12T20:08:07.372948Z	info	Namespace dashboard-test-6223ca3267c6437ea064b8 deletion status: true
2018-06-12T20:08:07.373320Z	info	Cleanup complete
ok  	istio.io/istio/tests/e2e/tests/dashboard	214.516s

@douglas-reid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
4b49c726d2731f2ef7d16beb8402e0faa813f4e4
link
/test e2e-suite-rbac-no_auth

prow/istio-pilot-e2e.sh
b6dd73c16375f0d300adaf7525b7aafb8ee83a11
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test e2e-suite-rbac-no_auth

@douglas-reid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
b6dd73c16375f0d300adaf7525b7aafb8ee83a11
link
/test istio-pilot-e2e

prow/e2e-suite-rbac-no_auth.sh
b6dd73c16375f0d300adaf7525b7aafb8ee83a11
link
/test e2e-suite-rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

FAIL	istio.io/istio/tests/e2e/tests/dashboard	33.130s
https://storage.googleapis.com/istio-prow/pull/istio_istio/6194/e2e-suite-rbac-no_auth/1779/build-log.txt
Still failing?

@hklai those failures are the nodeport issue. When running locally, all the tests pass.

One clue is that 33s is not long enough to run a test. This test and others are failing on prow because of test setup issues, and not tgr tests themselves.

we were supposed to not have readyness problem after fixit...

@ldemailly if you are referring to the test setup stuff -- i think there is a bug in the cleanup of a prior test, leaving the nodePorts already bound. There is an issue open tracking that, so I expect resolution in the near-term.


Writea gets slow if there are more than a few posts

title says it :3

probably gonna actually take a look at it soon but right now kinda busy

not a issue, was just my old server being weird w/ cache


[DOCS]: Add system requirements for development

Node 16+ is required
Angular v14.2+

I'll add this to the docs


Change everything from einander-helfen.de to einander-helfen.org

Reason (Why?)
The site is www.einander-helfen.org and not www.einander-helfen.de
Solution (What?)
Change imprint and logo from einander-helfen.de to einander-helfen.org
Not doing
/
Relation to other Issues
/
Acceptance criteria
Imprint and logo are changed to einander-helfen.org

We currently have this string capitalized and non capitalized:
non-capitalized
https://github.com/hochschule-darmstadt/einander-helfen/blob/staging/app/public/index.html#L8
https://github.com/hochschule-darmstadt/einander-helfen/blob/staging/app/src/components/layout/Toolbar.vue#L11
capitalized:
https://github.com/hochschule-darmstadt/einander-helfen/blob/staging/app/src/views/About.vue#L8
https://github.com/hochschule-darmstadt/einander-helfen/blob/staging/app/src/views/About.vue#L10
Should we unify this and if yes, shall all usages be capitalized or non-capitalized?

Should we unify this and if yes, shall all usages be capitalized or non-capitalized?

Everything should be non-capitalized.


fix: Improve the response when referrer is missing or is the self domain (resolves #24)

Resolves https://github.com/fluid-project/personal-data-server/issues/24.
This pull request includes two changes:

When a referrer url is not provided, respond with an error message "Missing the referrer information".
When the referrer is the domain of Personal Data Server, complete the Google sign on process, respond with a success message "Google sign in successfully". The google assigned access token will be output in the server log.

I got one test failure from this branch, running on a native Windows machine:

Sending '/sso/google/login/callback?code=mock-auth-code&state=wrongState' request
07:14:28.897:  jq: FAIL: Module "Personal Data Server Google SSO Tests" Test name "Google SSO integration tests" - Message: When the referer is Personal Data Server self domain, login token is not generated
07:14:28.898:  jq: Expected: 0
07:14:28.900:  jq: Actual: 1


fastp outputs in current working directory

Hi @gbouras13, I noticed that the default HTML and JSON outputs of fastp (fastp.html & fastp.json) for all samples are output to the directory from which the pipeline is executed, and that they are overwritten by following samples. Could be useful to have access to those.

I also noticed that the number of threads was not specified (3 by default), and have added that option as well!


SPFx ListViewCommandSet Extensions are no longer being loaded when switching list context in side navigation!

Category

[x] Bug

Describe the bug
Okay, let't try that again in the right section.
I registered a ListViewCommandSet Extension for a list.
But the extension is not being loaded, if I don't directly navigate to that list:
If I open the list page for a list for which the extension is activated, the extension gets loaded (constructor called, onInit called).
If I open the list page for another list for which the extension is not activated and then navigate to the list for which it is activated, using the navigation tree, the extension does NOT get loaded.
Also, if the extension was loaded for a list and the user switches to another list using the navigation, any extension activated for that list does not get initialized (constructor or onInit is not being called again).
Finally, the onListViewUpdated-Event never worked.
This issue makes list view command set extensions quite useless and breaks our product.
Is there any fix coming for this or should we move on to generic extensions loaded for every page?
Steps to reproduce
Use the yo generator to create a new ListViewCommandSet and try on your own to get it loaded for a list if you don't directly navigate to it (in SharePoint Online), see details above.
Second problem: the onListViewUpdated-Event never fires, no matter what you do in the ListView (provided the extension was loaded at all).
Expected behavior
Extensions should be loaded for lists on which they are registered, when you navigate to the list (using the navigation). Currently they are only loaded if you directly enter the correct list when opening the browser page, not when navigating in the tree (where the page does not reload but merely React controls get rerendered). This behaviour did work before, but is now broken.
Second problem: Changes in the selection of the list view should fire the event. Maybe even changes to the list context (navigating).
Environment details (development & target environment)

OS: Windows 10
Target Environment: SharePoint Online
Framework: Node.js v10
Browser(s): Chromium Edge latest
Tooling: SPFx v1.10.0
Additional details: Suspecting latest changes in SPO, client and solution did not change

Additional context

Can confirm the problem in our SPFx v1.10.0 CommandSet Extension as well. The CommandSet is only loaded correctly if directly accessed. If we use left navigation, the extension is not initialized an onListViewUpdated is never fired. If we reload the page with F5 or STRG+F5 the extension on the same list is loaded and works till we navigate to another list in the left navigation.

I would also like to point out that we are experiencing the exact same issue, but filtering the view even when navigating directly to the list/library causes the command set extension to bug out and stop working.

@RowanAdvisors I just tried to reproduce the filtering issue but I can not confirm a problem here. At least in our solution on our tenant even when filtering is active, the CommandSet Extension works correctly for our use case.

Yes same for me, filtering does not do anything bad to our extension, but then our extension does not add any toolbar buttons. What does "bug out and stop working" mean in your case @RowanAdvisors?

I am facing the same issue:When the document library is opened for the first time from quick launch menu(left navigation menu) it loads the  Command bar spfx extensions But when we switch to another library from quick launch it does not refresh the whole page and as a result
this time the command bar spfx extension does not load.It only loads after we refresh the entire page/press F5

Same here. Command only appears on the first list. When navigating to another list over the left navigation the command bar is not shown anymore.

I just upgraded to SPFx v1.10.0 and can confirm this behaviour. When navigating to another list using the quick launh, the commandbar does not refresh nor is there any hit on  onInit  of the  BaseListViewCommandSet.
Currently this is blocking our corporate deployment.

@69mustang302 Are you implying that this is not a SharePoint issue but a SPFx framework issue, i.e. does this all still work with SPFX < 1.10?

@frevds Just checked on another tenant that still has the 1.9.1 version running of my solution, and no, it's a SharePoint issue, same behaviour there!

@69mustang302 Yes, that's how it should be. So far so good. It seems when they changed their React app recently, they "forgot" about the extensions. It should be a simple matter, but of course will take forever before we see any new release. But I expect this issue will get solved eventually, since extensibility of SharePoint using SPFx is kind of important enough. And if not, well, then I guess we'll have to switch to ApplicationCustomizers being loaded on every modern page.

Let's hope for a quickupdate, and well, i guess you could (ab)use ApplicationCustomizers in that way ;)
Lets keep an eye out for the version update of spo, you can find your version here:

If I'm not mistaken I think the extensions do load again after navigating in the tree.
Can somebody confirm that? Seeing odsp-next-prod-webpack_2020-06-05-sts_20200611.001 here.

On my tenant I have the same version update to  2020-06-05.
Something has changed, however the onInit() now only excecutes twice
The scenario is as follows:

I open the list targettted by the extension by browsing to the url (refresh) :  onInit()  executes.
I navigate using the quick launch to a list that is not targetted by the extension:  onInit() excecutes - that's what we want!
I navigate to the targetted list using the quick launch :  onInit() does NOT excecute.
Repeated navigations, changing lists does not trigger onInit()

Only refreshing the page with [F5] allows you to repeat the above scenario.
So unfortunately, it is not yet the fix we hoped for...

I want to point out that also this (related) issue is still not solved with this version :
this.context.listView.columns is an empty array #5681

@69mustang302 I can confirm that onInit is only called ONCE per targeted list, but i can NOT confirm that onInit is called for non-targeted lists. So if I navigate to a list that is targeted, the extension gets initialized, when I navigate to another targeted list, the extension gets initialized (now with the latest update; this was the original issue). When I then navigate back (using the left-side tree or the browser Back button) to the earlier targeted list, the onInit is not called again (I don't do integrations such as buttons, only page context manipulations, so this is fine for me, but I don't know whether regular interactions with the list view require repeated onInit calls). And if I navigate to any non-targeted list, nothing happens (which is how it should be).

@frevds  A ListView CommandSet should fire on every list visit.  In a listview commandset extension, in  onInit()  you can then decide to show or hide buttons in the commandbar depending on the context of the list provided through  this.context . What I call a " targetted" list is a list which meets my functional requirements and should show my custom buttons and react to item selection depending on your functional requirement.
In this video i demonstrate the effect: ListViewCommandSetDemoVideo.
As you can see, the custom buttons appear when visirting the list, however after navigating slolely using the quick launch. The custom buttons do  no get rendered again.
So imho it's not fixed....

@69mustang302 Ah yes, indeed, that's not solved then, if the UI extensions cannot be reestablished.
Good that we clarified the term "targeted". I refered to lists for which the SharePoint-Custom-Action was deployed (I do this via list.UserCustomActions.Add).
Well, I reckon, since they there was no response here yet from people involved, that they're still in the middle of it. But good to see some progress. It does suffice for me (as I'm merely using onInit to hack into the ActionMap, which needs to be done only once), but I'll leave the ticket open until this is working completely.

PS: @69mustang302 The other ticket about this mentions some workaround (where you can force a reload of the whole page when navigating): https://github.com/SharePoint/sp-dev-docs/issues/5776#issuecomment-640717900

@frevds Thanks for leaving this open, and yes, clarity is key ;)
In my scenario, the extension is bound to multiple lists, and is activated depending on the list’s properties, rather than being bound to one list. So we’ll keep monitoring this issue.
Thanks for the link to the possible  workaround, however we have deployed some 2000+ site collection, hence it is not feasible to instruct users to update their quicklaunch without being buried in support cases...

@69mustang302 Another possible workaround in your case: Since the page URL (location.href) changes during navigation in the tree, you could have a background task (Javascript's setInterval) running to check every 200msec whether the URL is still the same (or similar mechanism to detect changes). If it did change, do a location.reload() to reload the whole page and have your extension activate again. Not pretty but should patch the issue until the time comes when SharePoint fixes it (for a graceful transition store the expected URL in a global variable so all instances of your extension access the same URL (and the URL should only be the location.pathname), then when they fix it, your new extension will set this variable when being activated before the old extension's timer recognizes a change).

I'm still facing the same issue. The problem in my case is that the oninit() for my command set is only executing once. I use the oninit() to enable or disable the command on specific lists. When navigating my lists using the quick launch the oninit() is not fired when opening a list I already opened before.
#6116
I am on this version

We have the same problem. Very simple command bar extension is loaded correctly only if view page is opened directly. It is NOT loaded if we navigate to view from another site page "in-page" (without full page reload).

I might be having the same issue. However for some reason the issue is only occurring with one of my ListViewCommandSet solutions, and not the other. It seems the main difference is that the one that stops working is deployed without a List Template being set.

Hello,
any news on that (from the SharePoint/SPFx-Team)?
We're facing the same or a similar issue: coming from a SitePage (e.g. Home.aspx)
and clicking on a top-navigation-node which targets another SitePage (e.g. SubWeb/SitesPages/MyPage.aspx?WithUrlParameters)
the MyPage.aspx will be loaded, BUT all additional (and in our case important) URL-parameters get removed!?!^ :-(
This SitePage-URL was set as [SubWeb].RootFolder.WelcomePage-property so that surfing to /SubWeb
automatically opens the desired page (with parameters). Doing that manually - or coming from a page not hosted in SitesPages -
works fine! Only when clicking on the navigation-node the parameters get lost. :(
Any idea how to fix this (on our side)?
Thanx in advance and nice regards,
Sebastian

Hi guys. Just wanted to also add that i am experiencing the same as described in this thread. A customer of mine is not very happy:/ even though i cannot do anything about it. scenario is
It works when i enter the library from any other place than the Home link in QL, when i enter the library from Home QL link i need to do a refresh to get it working....
It has so for a while. I luckily stumbled onto this thread to see that i'm not alone. It doesn't help, but maybe it'll get sorted...
I have upgraded the command set to 1.11 and the prodpack says files/odsp-next-prod-webpack_2020-08-21-sts_20200909.001
Would be great to get this sorted (or if someone has a good WO)
thanx in advance and best regards
Ole

This is still a problem for my command set. When i access the list when on "Home" via Quick Launch then i must do a refresh to get the command set button to react.
if i just copy the library link into a browser then it works. If i access the library from any other place than Home it works.  Must be a bug. @frevds @andrewconnell
current webpack: odsp-next-prod-webpack_2020-09-11-sts_20200925.002

Seeing this exact issue in some customer tenants with spfx 1.9.1

Some issue here with 2 customers. It's happening only on new site collections (created in the last month). Old site collections don't have this issue.

Can confirm that this issue still could be reproduced. If navigate to list/library from Client-Side page OnInit fires only after ~1-2 min and Search placed in wrong place.
Any news about this issue?

Seems to be resolved now

Seems to be resolved now

I still have the issue on old and new sites

@ssandu I did a small check on one tenant of mine where i've experienced this and it seemed to work properly now. Will monitor it for a little while before i conclude. I've also informed the users that the bug should be gone and that they should inform if it happens again... fingerscrossed

I did a test on multiple tenants. It doesn't work on any my tenants. Problem is oninit() is only executed once.
Like my helloworld example mentioned here #6116
@trillian74 and @ssandu can you confirm that your oninit() is executed everytime you click on the link in the left nav

Same here, onInit is still called only once per extended List (but at least that works now).

One of my customers is having this exact issue using the ListViewCommandSet extension.  It has the same behaviour as the example mentioned in #6116.

Found my way to this posting after running in to the same problem as described. The issue seems to be related to the partial page rendering which SharePoint performs when navigating using side navigation. I suspect that beause of this partial page rendering certain (SPfx related) information is not being property (re)initialized causing the command set to break down at a certain point. I also noticed this failure to (re)initialize when reading context.pageContext.list.title which often returns the title of the list I previously visited instead of the one that is currently being displayed.
Hitting CTRL + F5 resolves the issue momentarily; deleting and recreating the menu items without .aspx also seems to work (seems to disable partial page rendering) but this is not a workable solution considering the number of (sub)sites already in operation.

OnInit is only called if the navigation is not performing partial page rendering, the first time you go to the list.
after that, the command set stays loaded and only calls onListViewUpdated() on the first load and anytime you change the list selection. This is all by design, but it does leave some holes when using multiple command sets when you want to hide and show items. This is especially true when you want to have the command set only show on certain lists, as it leaves you w/o a way to trigger the hiding of the command. Page navigation event is not available on the context object for command sets.
@patmill is there any guidance you can provide on how we can accomplish this? Is there a way to get the page nav event to trigger the show/hide code based on list names or urls?

Can you give an example on how the onListViewUpdated is insufficient?  My understanding is that the Updated method should be called when you switch between lists, as well as when a single list is updated.  If that isn't firing, then that sounds like a bug.

Check my example in #6116

No, onInit won't fire on every navigation change.  Like I said though, how is onListViewUpdated insufficient to meet requirements?  Is it not firing when navigating from list to list?  Is the context not updated to know if you should show information?

I have to test with that event. I was expecting, when you navigate to a new item in quick navigation, a new request is made so the oninit() would fire. Even when you already visited that item.

Understandable, but no.  Running through the entire page render lifecycle has a big hit on page speed, so wherever possible we keep everything running and update the frame / fire events / etc.  The same applies to app customizers.  If we need to hook up the navigation event we could, but if the onListViewUpdated fires, then it would make life simpler for the developer (only one event to deal with)
Please post back if it works / doesn't work / questions.

@patmill The onListViewUpdated event does not fire at all and never has, at least in my commandset extension. Maybe I'm doing something wrong.

@patmill I just tested with 2 list command sets, and when I do a partial page nav to the list, they don't load and the init as well as onListViewUpdated event doesn't fire so the buttons are not available. I think an older version of the list page was cached somehow, because after I cleared the cache, and then refresh the page and both command sets load.
The init and onListViewUpdated events fired for both.
Now just navigating (partial page load) between the 2 lists, I don't see the onListViewUpdated fired. When I select an item, then both command sets fire onListViewUpdated 2 times each.

It seems there are instances when onListViewUpdated should fire and doesn't which makes the behavior odd.
In this I also noted that the nav links I make for the lists behave differently if I make them to the list, as opposed to the AllItems.aspx page. The latter causes partial page render behavior, but the former does a full page load and avoids the issue.
/sites/siteName/Lists/ListName/ (full page load)
-vs-
/sites/siteName/Lists/ListName/AllItems.aspx (partial page load)

@westleyMS @patmill The behaviour is even weirder. If you have internal links in the navigation, the content is merely replaced by the new webparts on the other page and the URL adjusted, without page reload, so far so good. Unfortunately, when the target page contains the very same webparts, the webparts are not being reinitialized, and not even rerendered (even though they might have different properties). In our solution we have a sitepage.aspx which we have multiple times in the navigation, with different query parameters. when clicking the FIRST TIME on the navigation link, the URL changes but nothing else happens (no onInit, no render call). We had to listen to URL changes in order to work around that issue and reinitialize the webpart. This even happens if the target is on a different sub site. Now if you click a SECOND TIME (or on a link that is already the active link in the navigation), the whole page reloads (before our little workaround hack, users practically had to double-click the navigation nodes to make the page refresh). Why the page reloads on second clicks is not really clear to me.

@frevds this is outside the scope of the OP (ListViewCommandSet Extensions), you might want to start another issue to track the web part problem.

@westleyMS Yeah, it's a different topic and deserves it's own ticket. However, I feel this is closely related. It both concerns the navigation action and its behaviour of reinitializing SPFx solutions, may they be extensions or webparts (it is probably the same event handler/link processor). It might even be the same issue, if the list control experiences the same issues webparts do and is not properly re-initialized when navigating.
On a sidenote I should also mention that loading a CommandSet extension which is using React for UI its components and then navigating to a SitePage with a SPFx webpart on it that uses React as well, this action causes React to be loaded in another instance and crashes the webpart when the first call to a React hook such as useState executes (React error 321). Only a Page reload helps here. This is a separate issue indeed, but demonstrates how this all falls together due to the refresh-strategy of the page.

We are having exactly same problem, is there any update?

We are having exactly same problem, is there any update?

This has been also an issue for us quite a long time. I am really wondering why this ticket is still under review since 7 month because it makes our lib/list extensions nearly unusable because most of the user first open the homepage of the site collection and than (inline) navigate to one of the lists or libraries.

This has been also an issue for us quite a long time. I am really wondering why this ticket is still under review since 7 month because it makes our lib/list extensions nearly unusable because most of the user first open the homepage of the site collection and than (inline) navigate to one of the lists or libraries.

Hi! I just wanted to see if there is any activity on this issue? @VesaJuvonen @andrewconnell ? We have solutions that are not working as aspected and it feels bad to make temporary solutions (like location.reload() ). And do you have some idea of what a possible solution could be?
Thanks
Ariel Johansson (DQC)

Well, workaround  is nice, but could be finally fixed? Actually now it is broken for both teams & communication sites.

This is being actively investigated for a fix. I will update once it is done.

the workaround, that allows to use list views in navigation with SPFX (place in navigation for list view): /sites/MySiteUrl/Lists/MyList/MyListView.aspx?viewid=MyViewGUID

It looks like this works for Tenant wide deployments, but fails when installing app on specific sites or when adding ClientSideComponentId via custom action. What's the difference between how those are loaded?

Still same behaviour on 1.11
/sites/siteName/Lists/ListName/ (full page load)
-vs-
/sites/siteName/Lists/ListName/AllItems.aspx (partial page load)

Does not work
"MyViewGUID" is not solution for us, as we do not know viewID
I think workaround at least in some cases might be using window.location and parsit for the list etc. But that might not work for everyone and is not great solution

@evlo "For our solution onInit is getting triggered on navigation, but context is from the previous page - page FROM where navigation occurred" had same issue, ended on tracking/manipulating window.history and make full page refreshes, this is of course +network and what's else, but at least SPFX is there

@fonbrauzen Thank you for the tip. How exactly are you doing full page refreshes? I only came up with window.location.reload() in onInit of the extension. Is there better way?

@evlo sorry, just normal refresh is enough, via window.location.href  this triggers events

I have update my previous post as some of the statement were found not to be true during testing it again

We do apologize the massive delay on this. Right now fix should be available at 50% level across worldwide tenants and rest should be properly fixed on Wednesday, unless there are unexpected delays.
We had internal root cause analyses on this in previous days and are significantly increasing the investments on the validation, testing and reporting areas. Objective is to ensure that we get the lists/library issues with SPFx extensions properly fixed once and for all... and reduce the possibility of regressions on these areas.
Let's wait for confirmations on the issue being truly fixed, before we close this.
We do acknowledge that only a fraction of our customers and partners have premier support, but in general opening tickets using those channels will have much faster way to get things moving and fixed, given the more official and structural process. We are working for sure updates on the GitHub process as well.
If you see similar issues in future, please open a new issue, if this one has been already confirmed and close.

A fix has been applied to a similar issue... see #6611... can you verify if this resolved your issue?

@andrewconnell @VesaJuvonen
This looks very much improved, thank you. In my tests the onInit of the CommandSet was triggered now when navigating around, at least once per extended list. It also seems to work when coming from a clientside page (e.g. the homepage). I say seems to, because I think I saw a few glitches where it did not trigger, but I now fail to reproduce the issue (will keep trying, but so far it looks good). And also the issue of the two conflicting React frameworks seems to be gone (we had to reload the page when switching between a page with a clientside webpart on it and an extended list page with a command set on it using React - the error occured at the first useState but this seems to be no longer happening).
The only real issue is, that if I have the same clientside webpart on two different pages, the webpart does NOT get reinitialized NOR does it get re-rendered, despite having different webpart properties set up. We have to have a timer running on the page to detect changes to the address and manually trigger a page reload. Would be great if this issue could be resolved (I think it should be related, but I can open a new ticket for it if necessary). Otherwise I'm confident to say we can close this ticket.

Thank you @frevds for confirming. As moving between two pages issue on web part is a separate case, can you open a new issue on that for easier tracking. We try to avoid having two or more issues in one particular case as it's impossible to track them. Thanks.

@frevds are you aware of the navigated event? The web parts are not supposed to re-loaded on a partial page navigation. They are supposed to register for the navigation event to re-asses what is displayed after a navigation occurs. Here is a simple logging sample-
this.context.application.navigatedEvent.add(this, () => {
console.log('Navigated Event:', window.location.href);
});

@westleyMS No, I wasn't, thank you for the tip, however I cannot find that .application member in the WebPartContext of the SPFx version I'm using (1.10) and also not in the ListViewCommandSetContext, and this is not an ApplicationCustomizer).
This would also not solve the problem with the webpart, unless the webpart's properties change as well, so a self-triggered re-render would be able to use those defined on the other page. A navigation from page to page (not list to list) should be more consistent - unloading webparts and loading new webpart, no matter whether they are the same set. There might be other external dependencies and factors.
I have created a separate ticket for this issue: https://github.com/SharePoint/sp-dev-docs/issues/6786

I have tested on one of my older tenants and there I still see the oninit() is fired only once when switching between lists in the quicklaunch.
Does this mean that this is by design? And I should use another route to display a item command button in my list?

@waaromikniet it is by design, once the command set loads for a list on a given page, it doesn't re-load, but does get the onListViewUpdated whenever a change is made on the list view such as when an item is selected. This enables you to run code when a change is made. This is only true of partial page navigation, and not when you do a refresh of the page, or if you do a full navigation.


Navigation arrow does not fade on last slide

It looks like the right arrow of pagination does not fade anymore when on the last slide. The occurs in the latest (0.9.0) version. When switched  to 0.8.1 it works as expected.

Hey @adambartosiewicz, this is related to #215. A bug with slide count calculation was introduced with an update. Going to close this you can follow the progress and post any findings there! Thanks


bsp/dwm1001-dev: spi pin assignement

Was there a reason to move pin assignement from SPI_1 to SPI_0 and remove SPI_1 in
https://github.com/apache/mynewt-core/commit/4e32f9d080d707d70d42a69cf522f98c7a570201
SPI_0 was initially configured with default values to interface with dw1000 (pin 16,20,18) present in the dw1001 module.
Can we revert back to what it was?

the reason was copy&paste so it's ok to configure them as they should be

ok, created https://github.com/apache/mynewt-core/pull/1658 to revert to default configuration.

merged


Is there Spline Algorithm in DotSpatial

This issue was imported from CodePlex
shihuang999 wrote 2013-04-01 at 13:18
I used Dotspatial in meteorology。In this application，I should use some Temperature points to draw color map like the picture of spline part which is in the attachment。I have use IDW to draw ,but the Effect is dissatisfied.
I want to use Spline to draw,but I can't find the algorithm in Dotspatial. the attachment picture is drawed by Spline and IDW in ArcGIS Desktop。
can somebody give me some suggestion how to do？Thanks.

Non actual.


Package and publish data summary and text ouput UI enhancements release v1.7.0

update changelog, etc.

see: https://github.com/RandomFractals/vscode-data-table/blob/main/CHANGELOG.md#v170---2021-08-05


Fix aspect ratio on Adobe [Flash] Media Server

Adobe Flash Media server expects all onMetaData commands to be part of a special @setDataFrame data keyframe. This change allows the relay push module to be used with Adobe's servers (for example, when pushing to large CDNs like Akamai and EdgeCast). It doesn't seem to break any existing functionality from our testing.

@jeffreywescott this still seems to be an issue. Is there any other solution?


Connection-error Azure data studio

How to resolve the Connection-error Azure data studio kindly help me.
I attached screen shot of error for your reference

@rupeshbh123 This error comes when you attempt to connect to locally running SQL Server, where SSL is not present. SSL is required only for cloud facing SQL Server. You need to click Enable Trust server certificate button.


Graph Filtering

This is related to, but basically the opposite of Graph Find (https://github.com/kiali/kiali-design/issues/75).  With Graph Filter we want to remove items from the graph that are perhaps noisy or in some other way unwanted or bothersome.
There is a working POC that can be merged or modified if there is UX feedback.  The control is analogous to the Find and the revised toolbar looks like this:

Behavior:

Filter trumps Find.  So, we remove graph items first and can highlight anything that remains.
The DSL is exactly the same as Find.
The graph is not restructured, the items are "made invisible" and will return to their original locations if unfitered.
-- This seems like the right thing to do, at least initially, because otherwise it is difficult to see how the graph was affected.  I can imagine though that a user may want an option to re-layout after a filter.  That could possibly be a follow-on design issue if deemed necessary.

A demo is possible.

are there any updates on this?

After the change to "Graph Hide" from "Graph Filter" the feature was qualified by QE and has been merged.

@jshaughn does this need additional inputs? if not, please close


[NFC] Reorganize the tests in IncrementalCompilationTests.swift

Bring over a reorganization from main branch (https://github.com/apple/swift-driver/pull/679)  to minimize future conflicts:

The file IncrementalCompilationTests.swift has grown over time and accreted other test classes, encumbering navigation and clarity. Give CrossModuleIncrementalBuildTests and NonincrementalCompilationTests their own files, and reorder the contents of IncrementalCompilationTests.swift to group related tests and their helpers together. Opportunistically, make the helpers private.

This change will facilitate the addition of tests in the future.

@swift-ci please test

@swift-ci please test

Thank you, @akyrtzi  and @artem.

rdar://77998890


Upload of on reactor python file

This script will receive MQTT messages from huggingface and pass them on to the PioReactor
Huggingface interface is started, but I cannot seem to create a new hugginface spaces on the AC repositories. For the time being I have created my own.
View it at https://huggingface.co/spaces/linx5o/pio
More functionality needs to be added to the PioReactor orchestrator
Interactive elements need to be added to the huggingface app to allow for

The file is on the pioreactor as startup.py.
It has been added to crontab with command
@reboot sleep 30 && /usr/bin/python3 /home/pioreactor/startup.py
Sometimes there is an issue of pioreactor.local failed to resolve, but maybe because it was on my computer and not the pioreactor. This is a program ending crash.

Nice! Can you move your hf space to AccelerationConsortium?
In settings (e.g., https://huggingface.co/spaces/AccelerationConsortium/light-mixing/settings)

The filter_mod_N value for querying readings varies. Unsure as to how we can determine this value. Started a forum thread.
Forum Thread

Lmk if/when I should merge.

Lmk if/when I should merge.

Yep it is good to merge. Please don't destroy the branch though. Still working on it.

Do you mind addressing the "prepare" formatting issues? Instructions for pre-commit are available at https://ac-training-lab.readthedocs.io/en/latest/contributing.html#create-an-environment.

@sgbaird I have addressed the issues. Will keep this in mind in the future.

Amazing, thanks! Started realizing I was holding things up on the PRs. Thanks for addressing!