Config.User field on docker containers is not set.

Rancher Version: Build from master - oct 10
Following 2 automated  tests cases report failure:
cattlevalidationtest.core.test_container_run_option.test_container_run_with_options_1 (from pytest)

Failing for the past 2 builds (Since Failed#38 )
Took 45 sec.
add description
Error Message

assert '' == 'root'   + root
Stacktrace

client = <cattle.Client object at 0x7f25d81dcfd0>, test_name = 'test-933034'
socat_containers = None

    def test_container_run_with_options_1(client, test_name,
                                          socat_containers):

        hosts = client.list_host(kind='docker', removed_null=True)
        assert len(hosts) > 0
        host = hosts[0]

        volume_in_host = "/test/container"
        volume_in_container = "/test/vol1"
        docker_vol_value = volume_in_host + ":" + volume_in_container + ":ro"

        env_var = {"name1": "value1"}
        host_name = "host1"
        domain_name = "abc.com"
        dns_name = ["test.com"]
        dns_search = ["<IP_ADDRESS>"]
        cap_add = ["CHOWN"]
        cap_drop = ["KILL"]
        user = "root"
        restart_policy = {"maximumRetryCount": 5, "name": "on-failure"}
        memory = 16000000
        memory_swap = 16000000
        cpu_set = "0"
        cpu_shares = 400
        command = ["sleep", "450"]

        # Create a container to link the data volume of the container for
        # validate dataVolumesFrom

        con_vol = client.create_container(name=test_name + "-forvolume",
                                          networkMode=MANAGED_NETWORK,
                                          imageUuid=TEST_IMAGE_UUID,
                                          requestedHostId=host.id
                                          )
        con_vol = client.wait_success(con_vol, 120)
        assert con_vol.state == "running"

        docker_vol_from_value = con_vol.externalId

        # Create container with different docker options and validate the option
        # testing with docker inspect command

        c = client.create_container(name=test_name,
                                    networkMode=MANAGED_NETWORK,
                                    imageUuid=TEST_IMAGE_UUID,
                                    requestedHostId=host.id,
                                    dataVolumes=docker_vol_value,
                                    dataVolumesFrom=con_vol.id,
                                    publishAllPorts=False,
                                    privileged=False,
                                    environment=env_var,
                                    hostname=host_name,
                                    domainName=domain_name,
                                    stdinOpen=False,
                                    tty=False,
                                    dns=dns_name,
                                    dnsSearch=dns_search,
                                    capAdd=cap_add,
                                    capDrop=cap_drop,
                                    user=user,
                                    memory=memory,
                                    memorySwap=memory_swap,
                                    cpuSet=cpu_set,
                                    cpuShares=cpu_shares,
                                    restartPolicy=restart_policy,
                                    command=command
                                    )

        c = client.wait_success(c, 120)
        assert c.state == "running"

        docker_client = get_docker_client(host)
        inspect = docker_client.inspect_container(c.externalId)
        print inspect

        dns_name.append(RANCHER_DNS_SERVER)
        dns_search.append(RANCHER_DNS_SEARCH)

        assert inspect["HostConfig"]["Binds"] == [docker_vol_value]
        assert inspect["HostConfig"]["VolumesFrom"] == [docker_vol_from_value]
        assert inspect["HostConfig"]["PublishAllPorts"] is False
        assert inspect["HostConfig"]["Privileged"] is False
        assert inspect["Config"]["OpenStdin"] is False
        assert inspect["Config"]["Tty"] is False
        assert inspect["HostConfig"]["Dns"] == dns_name
        assert inspect["HostConfig"]["DnsSearch"] == dns_search
        assert inspect["Config"]["Hostname"] == host_name
        assert inspect["Config"]["Domainname"] == domain_name
>       assert inspect["Config"]["User"] == user
E       assert '' == 'root'
E         + root

tests/v2_validation/cattlevalidationtest/core/test_container_run_option.py:96: AssertionError

Error Message
assert '' == 'root'   + root
Stacktrace
admin_client = <cattle.Client object at 0x7f25ccc48490>
client = <cattle.Client object at 0x7f25ccd57590>, socat_containers = None
def test_services_docker_options(admin_client, client, socat_containers):

    hosts = client.list_host(kind='docker', removed_null=True, state="active")

    con_host = hosts[0]

    vol_container = client.create_container(imageUuid=TEST_IMAGE_UUID,
                                            name=random_str(),
                                            requestedHostId=con_host.id
                                            )

    vol_container = client.wait_success(vol_container)

    volume_in_host = "/test/container"
    volume_in_container = "/test/vol1"
    docker_vol_value = volume_in_host + ":" + volume_in_container + ":ro"

    cap_add = ["CHOWN"]
    cap_drop = ["KILL"]
    restart_policy = {"maximumRetryCount": 10, "name": "on-failure"}
    dns_search = ['<IP_ADDRESS>']
    dns_name = ['<IP_ADDRESS>']
    domain_name = "rancher.io"
    host_name = "test"
    user = "root"
    command = ["sleep", "9000"]
    env_var = {"TEST_FILE": "/etc/testpath.conf"}
    memory = 8000000
    cpu_set = "0"
    cpu_shares = 400

    launch_config = {"imageUuid": TEST_SERVICE_OPT_IMAGE_UUID,
                     "command": command,
                     "dataVolumes": [docker_vol_value],
                     "dataVolumesFrom": [vol_container.id],
                     "environment": env_var,
                     "capAdd": cap_add,
                     "capDrop": cap_drop,
                     "dnsSearch": dns_search,
                     "dns": dns_name,
                     "privileged": True,
                     "domainName": domain_name,
                     "stdinOpen": True,
                     "tty": True,
                     "memory": memory,
                     "cpuSet": cpu_set,
                     "cpuShares": cpu_shares,
                     "restartPolicy": restart_policy,
                     "directory": "/",
                     "hostname": host_name,
                     "user": user,
                     "requestedHostId": con_host.id
                     }

    scale = 2

    service, env = create_env_and_svc(client, launch_config,
                                      scale)

    env = env.activateservices()
    service = client.wait_success(service, 300)
    assert service.state == "active"

    check_container_in_service(admin_client, service)

    container_list = get_service_container_list(admin_client, service)

    dns_name.append(RANCHER_DNS_SERVER)
    dns_search.append(env.name+"."+RANCHER_DNS_SEARCH)
    dns_search.append(service.name+"."+env.name+"."+RANCHER_DNS_SEARCH)
    dns_search.append(RANCHER_DNS_SEARCH)

    for c in container_list:
        docker_client = get_docker_client(c.hosts[0])
        inspect = docker_client.inspect_container(c.externalId)

        assert inspect["HostConfig"]["Binds"] == [docker_vol_value]
        assert inspect["HostConfig"]["VolumesFrom"] == \
            [vol_container.externalId]
        assert inspect["HostConfig"]["PublishAllPorts"] is False
        assert inspect["HostConfig"]["Privileged"] is True
        assert inspect["Config"]["OpenStdin"] is True
        assert inspect["Config"]["Tty"] is True
        assert inspect["HostConfig"]["Dns"] == dns_name
        assert inspect["HostConfig"]["DnsSearch"] == dns_search
        assert inspect["Config"]["Hostname"] == host_name
        assert inspect["Config"]["Domainname"] == domain_name

      assert inspect["Config"]["User"] == user

E           assert '' == 'root'
E             + root
tests/v2_validation/cattlevalidationtest/core/test_services.py:163: AssertionError

https://github.com/rancher/agent/pull/57

Waiting on a new release of agent to test this one.

Tested with latest build from master.
This test case now succeeds.


SvelteKit development mode generates error messages.

npm run dev
...
3:49:46 AM [vite] ✨ new dependencies optimized: @vercel/speed-insights/sveltekit
3:49:46 AM [vite] ✨ optimized dependencies changed. reloading
Error: Not found: /_vercel/speed-insights/vitals
    at resolve (/node_modules/@sveltejs/kit/src/runtime/server/respond.js:483:13)
    at resolve (/node_modules/@sveltejs/kit/src/runtime/server/respond.js:277:5)
    at #options.hooks.handle (/node_modules/@sveltejs/kit/src/runtime/server/index.js:49:56)
    at Module.respond (/node_modules/@sveltejs/kit/src/runtime/server/respond.js:274:40)

I see this as well. I'm on sveltekit2.0 if that matters.

Interesting the README says to put the initialization in your +layout.svelte file but the example has it in +layout.ts

Hello and thank you for the bug report.
I've fixed the README: the best way to use injectSpeedInsights() function is in the +layout.ts/js file (which will be run on server side), as per our docs
However, I'm not seeing any error in console.
Could you please provide the version of @vercel/speed-insights  and sveltekit that you're using?
Thanks a million.


iOS - Remove UIWebview usage from project.

Description
LEARNER-7846
To find the usage of UIWebview in an iOS project I used the following command.
grep -rnw . -e 'UIWebView' it gives this output:
./Pods/AppAuth/Source/AppAuth.h:    for the auth request. UIWebViewandWKWebVieware explicitly *not* ./Pods/AppAuth/README.md:for the auth request.UIWebViewandWKWebView are explicitly *not* ./Pods/GoogleSignIn/CHANGELOG.md:- Supports sign-in via UIWebView rather than app switching to a browser,
In this PR I updated the GoogleSignIn library from version 4.0.0 to 5.0.2 which would hopefully resolve the apple restriction for using the UIWebview in an iOS application.
Notes
By running the above mention command you still may see the output
./Pods/GoogleSignIn/CHANGELOG.md:- Supports sign-in via UIWebView rather than app switching to a browser,. this is something strange and after reading a lot of stuff from google I found out that the CHANGELOG.md file has this UIWebview string as a static message so it won't actually break the apple restriction.
How to test this PR
As I updated the GoogleSignIn library so make sure the google sign-in is working fine.

@salman2013
Google Signin is working fine. I have a suggestion, can we upload build to test flight to see if iTunesConnect give any warning or error regarding UIWebView usage, if any.

@mumer92 I'm not sure it will be useful or not but we can give it a try. Can we use the Validate App option instead of uploading a build to test flight? Thoughts?

@salman2013

Google Signin is working fine. I have a suggestion, can we upload build to test flight to see if iTunesConnect give any warning or error regarding UIWebView usage, if any.

@mumer92 I'm not sure it will be useful or not but we can give it a try. Can we use the Validate App option instead of uploading a build to test flight? Thoughts?

Sure. Sounds good.

@mumer92 I have fixed the comments and validated the app archive with a validated app.


How do I get the keystore?

The API you are interested in is this one: https://github.com/ethers-io/ethers.objc/blob/master/ethers/src/Account.h#L87
:)

The API you are interested in is this one: https://github.com/ethers-io/ethers.objc/blob/master/ethers/src/Account.h#L87
:)

thank you !


Kconf config warning

Warn about the leading CONFIG_ in .yml files
Also regenerate configs.

Otherwise looks good.


Remove warnings/errors from Autoware.Universe Documentation

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I've agreed with the maintainers that I can plan this task.

Description
Autoware.Universe documentation is hosted in https://autowarefoundation.github.io/autoware.universe/main/ with mkdocs, but some pages outputs warnings and errors when mkdocs build is executed. We should remove these for the health of documentation.
Purpose
Remove errors/warnings from our documentation page.
Possible approaches
Run mkdocs build locally and fix the errors one by one.
Definition of done
All errors and warnings are removed from mkdocs build.

I'm currently seeing errors like the following, which comes from the scripts that converts json schema into a markdown table.
INFO     -  [macros] - ERROR # _Macro Rendering Error_

            _File_: `system/autoware_processing_time_checker/README.md`

            _KeyError_: 'default'

            ```
            Traceback (most recent call last):
              File "/home/mitsudome-r/.local/lib/python3.10/site-packages/mkdocs_macros/plugin.py", line 527, in render
                return md_template.render(**page_variables)
              File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1291, in render
                self.environment.handle_exception()
              File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 925, in handle_exception
                raise rewrite_traceback_stack(source=source)
              File "<template>", line 32, in top-level template code
              File "/home/mitsudome-r/autoware.test/src/universe/autoware.universe/mkdocs_macros.py", line 72, in json_to_markdown
                return format_json(data)
              File "/home/mitsudome-r/autoware.test/src/universe/autoware.universe/mkdocs_macros.py", line 63, in format_json
                markdown_table = tabulate(extract_parameter_info(parameters), headers="keys", tablefmt="github")
              File "/home/mitsudome-r/autoware.test/src/universe/autoware.universe/mkdocs_macros.py", line 52, in extract_parameter_info
                param["Default"] = v["default"]
            KeyError: 'default'

            ```
INFO     -  [macros] - ERROR # _Macro Rendering Error_

            _File_: `system/bluetooth_monitor/README.md`

            _FileNotFoundError_: [Errno 2] No such file or directory: 'system/bluetooth_monitor/schema/bluetooth_monitor.schema.json'

            ```
            Traceback (most recent call last):
              File "/home/mitsudome-r/.local/lib/python3.10/site-packages/mkdocs_macros/plugin.py", line 527, in render
                return md_template.render(**page_variables)
              File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1291, in render
                self.environment.handle_exception()
              File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 925, in handle_exception
                raise rewrite_traceback_stack(source=source)
              File "<template>", line 49, in top-level template code
              File "/home/mitsudome-r/autoware.test/src/universe/autoware.universe/mkdocs_macros.py", line 70, in json_to_markdown
                with open(json_schema_file_path) as f:
            FileNotFoundError: [Errno 2] No such file or directory: 'system/bluetooth_monitor/schema/bluetooth_monitor.schema.json'

            ```


Push index.html

Index.html has been created from last week, I just need to push it to Github.

Completed.


SAML - 'InResponseToField doesn't correspond to sent message' error and SAMLContextProviderLB

Using a proxy chain in front of the shinyproxy server with an "outer proxy" as entrypoint (and leading to the SAML-authenticated shinyproxy server, which uses a different hostname, and which is also exposed externally), users will see SSO login attemps fail when attempted via the "outer proxy" but not when going "directly" to the shinyproxy server.
The shinyproxy log at that point complains with:
o.s.security.saml.log.SAMLDefaultLogger  : AuthNResponse;FAILURE;****;https://app_identifier;https://saml_idp_server/idp/shibboleth;{cryptic_string_goes_here};;org.opensaml.common.SAMLException: InResponseToField of the Response doesn't correspond to sent message a4eed0g849d0b7030e89bfh89g0j7d
Wishing for a feature be added to shinyproxy so that the checking of the InResponseToField  be disabled in shinyproxy when using SAML auth. Or (if this is already possible) for documentation to describe how to activate such behaviour.
The spring-security-saml docs suggests this could be done by re-configuring the context provider: https://docs.spring.io/spring-security-saml/docs/current/reference/html/chapter-troubleshooting.html#d5e1935
And these docs indicate that this use case (accessing shinyproxy via a proxy chain through an external load balancer) might be possible to support w spring-security-saml?
https://docs.spring.io/spring-security-saml/docs/current/reference/html/configuration-advanced.html#configuration-load-balancing

I'm not sure if it addresses your issue, but I've made a pull request that adds support for SAMLContextProviderLB. You can find a build of the ShinyProxy jar with these changes here.

Hi @mskyttner
In ShinyProxy 2.5.0, we included the contribution by @johannestang. Please check our documentation on how to configure it.
I'm looking forward whether this solves your issue.

Hi @LEDfan I will test the release and ping back here with results.
Looking at the documentation I think it looks like two links may need repointing:

https://shinyproxy.io/documentation/securirty (should be https://shinyproxy.io/documentation/security)
https://shinyproxy.io/faq/#invalid-redirect_uri-when-using-openid-connect-or-keycloak (should be https://shinyproxy.io/documentation/faq/#invalid-redirect_uri-when-using-openid-connect-or-keycloak)

Thanks for reminding me about the broken links, they are all fixed now.

As I believe that your question is answered, I'm closing this issue. Feel free to re-open it if you need more help.

Sorry, late response, this seems to have solved the issue, thanks!


Drop rustc-serialize dependency

It has been deprecated: announcement.

@vimmerru Can you please look at this?

We are already in discussion of this. We have few issues with rustc-serialize and considering switching to serde. Most probable we will completely switch to serde in few days.

We removed rustc-serialize dependency in this merged PR https://github.com/evernym/sovrin-client-rust/pull/39 and switched to usage of serde for serialization/deserialization functionality.


Add support for feeds (RSS/Atom/etc.)

No explicit support yet for feeds.

As of v0.2.2, it's now possible to generate any kind of output file extension from views, instead of just HTML files.


Correction for raw affiliation LTSI, Inserm U1099, Université de Rennes 1, Rennes, France

Correction needed for raw affiliation LTSI, Inserm U1099, Université de Rennes 1, Rennes, France
raw_affiliation_name: LTSI, Inserm U1099, Université de Rennes 1, Rennes, France
new_rors: 015m7wh34;02vjkv261;01f1amm71
previous_rors: 015m7wh34;02vjkv261
works_examples: W4292411720
contact: cb123f4d2031b8b9f57cf8ad42acdf6a:ef47d3217695a471fe47258748e89c9f @ univ-rennes.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Next.js standalone mode excludes @bull-board/ui package from final build

Describe the Bug
When using Next.js in standalone mode, the @bull-board/ui package is not included in the final build, even though it is listed as a dependency in the package.json. The package itself contains important static files required for the UI, but these files are missing from the final standalone output.
Root Cause
The reason for this issue is that the @bull-board/ui package does not get directly imported into the application code. Next.js's standalone mode uses a file-tracing mechanism that relies on analyzing direct imports and references in the code to determine which files and packages should be included in the final build output. Since @bull-board/ui is not directly imported but rather contains static assets that are necessary for the UI, the file-tracing mechanism does not detect it as needed for inclusion in the build. Consequently, the package's contents are omitted from the final standalone output, leading to missing assets and broken functionality.
Expected Behavior
The @bull-board/ui package, along with all its static files, should be included in the standalone output when it's listed as a dependency.
Suggested Solution
It would be beneficial if Next.js's standalone build process could more effectively handle such packages that contain essential static files but are not directly imported. One approach could be to enhance the file-tracing mechanism to consider these types of dependencies or provide a configuration option to manually include them.

Do you have any insights of how to solve it?
AS far as I know, next.js standalone mode has the ability to copy static files, do that, and provide your own options.uiBasePath.

@felixmosh I tried several ways, including nextjs's webpack configuration, but none of them worked. Your solution should be the same as me copying node_modules/@bull-board/ui directly to standalone in ci/cd. It needs to be copied dynamically.

What is the problem of this solution? it works.


A problem with sending large amounts of data using UDP.

Hello,
I am testing the sending of a large amount of data using COAP based on UDP. This test is just a preparation before the performance test of the protocol I developed which using COAP as the communication protocol. However, I sometimes get an error that I don't understand. Does anyone perhaps know how to prevent this?
The error:
Error sending request: cannot do bw request: context deadline exceeded, test: 3410

Example code:
func send() {
	for i := 0; i < max; i++ {
		log.Printf("Test: %v", i)
		co, err := udp.Dial("<IP_ADDRESS>:5688")
		if err != nil {
			log.Fatalf("Error dialing: %v", err)
		}
		ctx, cancel := context.WithTimeout(context.Background(), time.Second)
		defer cancel()
                // send_message - string with 10kB of random data
		resp, err := co.Post(ctx, path, 0, bytes.NewReader([]byte(send_message)))
		if err != nil {
			log.Fatalf("Error sending request: %v, test: %v", err, i)
		}
		data, _ := io.ReadAll(resp.Body())
		if string(data) != send_message {
			log.Panicf("Bad response!!")
		}
		co.Close()
	}
}

context deadline exceeded  means that timeout occurs.
So could you try to increase timeout from 1 sec to 30sec.
ctx, cancel := context.WithTimeout(context.Background(), time.Second * 30)

Btw: there is a limit how much CON coap messages can be send per second (2^16/247) - this limit is defined by deduplication cache.

Ok, Thank you. Now it is clear for me. I reached the limit of CON messages.


Require minimum Java version and ignore tests

When I download the sources and do mvn package then I get an error:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 37.244s
[INFO] Finished at: Mon Oct 05 15:12:59 UTC 2015
[INFO] Final Memory: 9M/22M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ldf-client: Compilation failure: Compilation failure:
[ERROR] /home/vagrant/freme/Client.Java/src/main/java/org/linkeddatafragments/model/LinkedDataFragmentGraphCapabilities.java:[7,5] error: annotations are not supported in -source 1.3
[ERROR]
[ERROR] (use -source 5 or higher to enable annotations)
[ERROR] /home/vagrant/freme/Client.Java/src/main/java/org/linkeddatafragments/model/LinkedDataFragment.java:[21,30] error: generics are not supported in -source 1.3
[ERROR]
[ERROR] (use -source 5 or higher to enable generics)
[ERROR] /home/vagrant/freme/Client.Java/src/main/java/org/linkeddatafragments/utils/Config.java:[13,14] error: generics are not supported in -source 1.3
[ERROR]
[ERROR] (use -source 5 or higher to enable generics)
[ERROR] /home/vagrant/freme/Client.Java/src/main/java/org/linkeddatafragments/solver/OpExecutorLDF.java:[28,9] error: annotations are not supported in -source 1.3

Actually there are way more errors annotations are not supported...
I propose to add this bit to the pom.xml (in the build / plugins section) so it uses java 8 and compiles:
<plugin>
	<groupId>org.apache.maven.plugins</groupId>
	<artifactId>maven-compiler-plugin</artifactId>
	<configuration>
		<source>1.8</source>
		<target>1.8</target>
	</configuration>
</plugin>

I applied the change but I still get errors:
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.linkeddatafragments.LinkedDataFragmentsClientTest

Tests run: 9, Failures: 1, Errors: 7, Skipped: 0, Time elapsed: 22.078 sec <<< FAILURE!

Results :

Failed tests:   testSize(org.linkeddatafragments.LinkedDataFragmentsClientTest): expected:<[427670470]> but was:<[377367913]>

Tests in error:
  testTypeSparql(org.linkeddatafragments.LinkedDataFragmentsClientTest)
  testBasicSparql(org.linkeddatafragments.LinkedDataFragmentsClientTest)
  testSingleJoinSparql(org.linkeddatafragments.LinkedDataFragmentsClientTest)
  testSingleCountPredicateSparql(org.linkeddatafragments.LinkedDataFragmentsClientTest)
  testSingleCountSubjectSparql(org.linkeddatafragments.LinkedDataFragmentsClientTest)
  testSingleCountObjectSparql(org.linkeddatafragments.LinkedDataFragmentsClientTest)
  testLiteralSparql(org.linkeddatafragments.LinkedDataFragmentsClientTest)

Tests run: 9, Failures: 1, Errors: 7, Skipped: 0

Any hint what I can do?

Never mind the test failures; the tests at this moment are too fragile as they depend on a public dataset that has changed in the meantime. You can do:
mvn install -DskipTests

We should indeed add the version to pom.xml (but probably just Java 5 or so, which is the minimum version).

@RubenVerborgh @jnehring I just submitted a pull request for this issue. However, as @RubenVerborgh said, even without the compiler level (5) issue reported below, the tests are still failing.

The tests should probably be removed for now, they are not sufficiently modular.

Fixed with #17.


Don't swallow escape when focusing on find widget options

This PR fixes #94445
Like the issue says, the steps to reproduce:

Press Ctrl+F to open the find widget
Press Tab to focus on one of the find option buttons (e.g. Match Case)
Press Escape

Before, the option would be unfocused.
Now, it closes the find widget.

UX
I personally find it bad UX to not close the find widget when pressing Escape, especially when you're focused somewhere inside it.
The widget even closes on Escape if you're focused on the editor and not it.
Currently pressing Escape makes nothing be focused, which means you can't use the editor,
can't use the find widget, and also can't close it. All you can do is press a keybinding which doesn't require focusing anything.
Currently to close the find widget after you've pressed Escape on the find options,
you have to press Ctrl+F and then Escape again.

Closing this in favor of https://github.com/microsoft/vscode/commit/0fd22ec0b530097df427a9ec0fa9c313c279628a, thanks anyways for your contribution, thanks!


How to control the frequency of output information ?

I try to use 'metric_freq':100, to control the frequency of output metric information. But it doesn't work. How should I tune the parameters to control the frequency, for example, every 100 iters or just print the final result of best iteration. Thanks.
[480]	training's auc: 0.981719	valid_1's auc: 0.82906
[481]	training's auc: 0.981773	valid_1's auc: 0.829027
[482]	training's auc: 0.981834	valid_1's auc: 0.829089
[483]	training's auc: 0.981901	valid_1's auc: 0.829041
[484]	training's auc: 0.981942	valid_1's auc: 0.829028
[485]	training's auc: 0.982006	valid_1's auc: 0.829035
[486]	training's auc: 0.982053	valid_1's auc: 0.829083

bst_none = lgb.train(params,verbose_eval=100,lgb_train, num_boost_round=1000, valid_sets=[lgb_train,lgb_eval],early_stopping_rounds=400)
I also use verbose_eval=100 to control, but the error comes: SyntaxError: non-keyword arg after keyword arg

@wxchan

@yananchen1989 https://stackoverflow.com/questions/15723294/syntaxerror-non-keyword-arg-after-keyword-arg-error-in-python-when-using-requ

solved, thanks.


creating a problem

can please explain to create our own problem pickle file.

You should take a look at the function we use to generate these problem pickle files. Here is the one used to generate the task oriented pickle files: https://github.com/NVlabs/motion-policy-networks/blob/3c3a632d238622477f29347dfd7b6df34bfe0d18/mpinets/data_pipeline/gen_data.py#L814
The structure of the files is:
environment_name = "my new environment"
{
  environment_name: {
    'task_oriented': [],
    'neutral_start': [],
    'neutral_goal': [],
  }
}

Each of those lists above should be lists of the PlanningProblem class, which is defined here: https://github.com/NVlabs/motion-policy-networks/blob/3c3a632d238622477f29347dfd7b6df34bfe0d18/mpinets/types.py#L1
I will close this but please re-open if you need more help!


Clarification on units returned through different APIs

Hi,
I am seeing this behavior that the settings API always return the values in SI unit regardless of what units were set in Fluent UI and TUI API returns the value according to the unit set in Fluent? Is this the expected behavior based on summary of #76 ?

If yes, it would be better to document it.
Regards,
Sravan

APIs return values in SI units, which is documented: https://fluent.docs.pyansys.com/version/stable/user_guide/units.html.


Replace bool with int for function symbols in ffi

This is a continuation of a fix for #179 replacing bools with ints for all applicable functions in ffi.Topmost Rust interface is untouched, so there are no compatibility issues.
At this point I'm not sure how to properly replace function pointer arguments for combo3 and list_box2 - since in the symbol description these pointers are supposed to return a c_int, we either will have to perform some ugly casting or make a slight design change. Topic open for discussion!

Thanks!


Rendering particles as points

Instead of rendering quads, would it be possible to have particles rendered as points? As in, PrimitiveTopology::PointList
This would always render each particle as exactly one pixel in size. I bet this would have performance gains, but also particles would no longer scale based on distance to camera, which matches the style I'm going for in my game. Combined with HDR and bloom you can still get good looking particles.
(As a bonus, maybe even render as lines, using velocity? Just a thought)

Hi,
Yes we can add a modifier to render particles with a constant camera-space size, that shouldn't be too difficult.
For the "line" case using velocity, that's called trails or stripes and that's a tiny bit involved (requires multiple particles per trail following each other with a custom motion integration logic) but it's very much on my radar of things to add yes.

Please correct me if I'm wrong, as I've only been using this library for a week so far. But to my knowledge, there isn't a way to rotate the quads currently used as particles, which means on 3D my effects can "disappear" when a camera looks edge-on at the effect. Allowing the use of points I believe would resolve this problem I'm having.

Yes the BillboardModifier does that. And again unless a GPU expert corrects me there's no such thing as "point rendering" on modern GPUs it's just small quads, so there's no point trying to special case this.

The reason I see to implement this, is that the small quads are 1x1 pixel in screenspace, instead of being scaled based on how far away they are is from the camera.

Yes, we do need to add a ScreenSizeModifier for sure, so I want to keep this issue open for tracking that. But that is not really "point rendering" (although you can achieve that with a fixed size of 1px).

This should be fixed using the new screen_space_size property of either SetSizeModifier or SizeOverLifetimeModifier.


conversion to webp

Hey i'm having problems getting conversions of images.
I have the config to create a webp conversion but it is not generating a .webp file (it gives me another like filename.webp.png) and it's maintaining the size of the thumbnail and not the webp width and height also I think that if the image file is large like 2mb+ it's not converting at all.
Question: how can I make a conversion without a width and height so it keeps the current image size?

In this case it was the order of the conversions, i had to use webp first and then thumbnail

i'm using latest version of Laravel 9, Nova 4 and last version of nova-media-hub
<?php

use Spatie\Image\Manipulations;

return [
    // Table name
    'table_name' => 'media_hub',

    // Base URL path in Nova
    'base_path' => 'media-hub',

    // Classes configuration
    'model' => \Outl1ne\NovaMediaHub\Models\Media::class,
    'file_namer' => \Outl1ne\NovaMediaHub\MediaHandler\Support\FileNamer::class,
    'file_validator' => \Outl1ne\NovaMediaHub\MediaHandler\Support\FileValidator::class,

    // This default PathMaker puts files in a /prefix/<mediaid>/* structure
    'path_maker' => \Outl1ne\NovaMediaHub\MediaHandler\Support\PathMaker::class,

    // If you want files to be in a /prefix/year/month/<mediaid>/* folder structure, use DatePathMaker instead
    // 'path_maker' => \Outl1ne\NovaMediaHub\MediaHandler\Support\DatePathMaker::class,

    // Disk configurations
    'disk_name' => 'public',
    'conversions_disk_name' => 'public',

    // Path configuration
    'path_prefix' => 'media',

    // Locales (for translatable alt texts and titles)
    // Set to null if you don't want translatability
    // Example value: ['et' => 'Estonian', 'en' => 'English']
    'locales' => null,

    // File size upper limit
    'max_uploaded_file_size_in_kb' => 15000,

    // Allowed mime types list
    'allowed_mime_types' => [
        'image/jpeg',
        'image/png',
        'image/gif',
        'image/svg+xml',
        'image/webp',
        'video/mp4',
        'text/csv',
        'application/pdf',
    ],

    // Job queue configuration
    'original_image_manipulations_job_queue' => null,
    'image_conversions_job_queue' => null,

    // Default collections that will always be displayed (even when empty)
    'collections' => [
        'default',
    ],

    // Defines whether user can create collections in the "Upload media" modal
    // If set to false, the user can only use the collections defined in the config
    'user_can_create_collections' => true,

    // Thumbnail conversion name
    // If you want Nova to use thumbnails instead of full size files
    // when dispalying media, define the name of the conversion here
    'thumbnail_conversion_name' => null,

    // Image manipulation driver
    // If null, it will try to read config('image.driver')
    // Final fallback is 'gd'
    // Options: null, 'imagick', 'gd'
    'image_driver' => 'gd',

    // -- Conversions
    // 'collection_name' => ['conversion_name' => [options]]
    // Use '*' as wildcard for all collections
    'image_conversions' => [
        '*' => [
            'thumbnail' => [
                // Image format, null for same as original
                // Other options: jpg, pjpg, png, gif, webp, avif, tiff
                'format' => null,
                'width' => 150,
                'height' => 150,
                'fit' => Manipulations::FIT_MAX,
            ],
            'webp' => [
                'format' => 'webp',
                'width' => 300,
                'height' => 300,
                'fit' => Manipulations::FIT_MAX,
            ]
        ],
    ],

    'original_image_manipulations' => [
        // Set to false if you don't want the original image to be optimized
        // The mime type must still be in the optimizable_mime_types array
        // If set to false, will also disable resizing in max_dimensions
        'optimize' => true,

        // Maximum number of pixels in height or width, will be scaled down to this number
        // Set to null if you don't want the original image to be resized
        'max_dimensions' => null,
    ],

    // ------------------------------
    // -- Image optimizations
    // ------------------------------

    // NB! Must have a matching image_optimizer configured and binary for it to work
    'optimizable_mime_types' => [
        'image/jpeg',
        'image/webp',
        'image/png',
        // 'image/gif',
    ],

    'image_optimizers' => [
        Spatie\ImageOptimizer\Optimizers\Jpegoptim::class => [
            '-m85', // set maximum quality to 85%
            '--force', // ensure that progressive generation is always done also if a little bigger
            '--strip-all', // this strips out all text information such as comments and EXIF data
            '--all-progressive', // this will make sure the resulting image is a progressive one
        ],

        Spatie\ImageOptimizer\Optimizers\Pngquant::class => [
            '--force', // required parameter for this package
        ],

        Spatie\ImageOptimizer\Optimizers\Optipng::class => [
            '-i0', // this will result in a non-interlaced, progressive scanned image
            '-o2', // this set the optimization level to two (multiple IDAT compression trials)
            '-quiet', // required parameter for this package
        ],

        Spatie\ImageOptimizer\Optimizers\Svgo::class => [
            '--disable=cleanupIDs', // disabling because it is known to cause troubles
        ],

        Spatie\ImageOptimizer\Optimizers\Gifsicle::class => [
            '-b', // required parameter for this package
            '-O3', // this produces the slowest but best results
        ],

        Spatie\ImageOptimizer\Optimizers\Cwebp::class => [
            '-m 6', // for the slowest compression method in order to get the best compression.
            '-pass 10', // for maximizing the amount of analysis pass.
            '-mt', // multithreading for some speed improvements.
            '-q 90', //quality factor that brings the least noticeable changes.
        ],
    ],
];

Heya! I think this was related to the issue mentioned in #37. I believe it to be fixed in version 1.5.3.


 Goodbye.
在主进程添加代码会被回写
Electron-Vite Version
2.0.0
Electron Version
28.2.0
Vite Version
5.0.12
Validations

[X] Follow the Code of Conduct.
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

这与electron-vite无关，electron常见问题，并不是所有设备都会出现的问题，你可以尝试关闭electron的GPU使用。


Better UI

Problem:
The UI especially the main menu is pretty clunky, and I would love to see a lighter and better approach.
If you want to refactor this. That would be great. Also add your name to the readme.md if you want.

@skayablars Okay, im looking forward to your pull request!

@skayablars Uhm, do you still on it?

I would like to take this ticket

First menu attempt:

I will use the text-ui


Add notice about maintenance mode

@bshaffer @michaelbausor can you please review?

LGTM

@danoscarmike + @bshaffer is this for the 5.2 compatible version only or for master as well? For those building new php based applications which client library hsould we be using?

@chriscct7 apologies for the slow response.  Rest assured we continue to support these libraries.  This notice means that the libraries in this repository are considered mature and complete; so we do not expect to add any more major features.  We will continue to support these libraries, fix bugs, and add minor features as required.  We will also continue to release new versions of all API libraries as they are available; and release new API libraries as new services become available.
For those building new php applications using Google Cloud APIs we also encourage you to look at the latest client libraries available on cloud.google.com and developed open-source here on GitHub at googlecloudplatform/google-cloud-php.
Thanks for reaching out!


Remote kernels: add rename command

This adds a command for renaming remote sessions.
The names were originally intended to be paths to notebook files, but in the case of Hydrogen they can really be anything. The only consequence of picking a non-path name is that the notebook web UI can't be used to talk to that kernel.
I had to add a new text input view, because I wanted it to be cancellable by pressing esc. The InputView doesn't do this, which is probably a good thing in the case of input.

There is a lot of duplicated code in RenameView and InputView.
I'm a bit unsure if introducing the new class or modifying InputView to work for both use cases is better. @rgbkrk @n-riesco @nikitakit What do you think?

I'll defer stylistic questions to someone who has worked more in the atom/js ecosystem.
Though personally, I should say that I think it's possible to reduce the number of view-related classes even further. For example the SignalListView and the CustomListView I wrote for the WSKernelPicker aren't really that different. It might even be possible to use the parent SelectListView class without subclassing it, by creating instances and on-the-spot overriding a few methods that need to contain application logic.

If you're unsure if modifying both to work is the best, I'd aim for creating the new one until a refactor is obvious later.

I've pushed a rebase that bumps the jupyter-js-services dependency, so the workaround for the path bug is no longer included.
Let me know if you'd like me to refactor the view code in any way.

Great I'll test now.
I'm good with doing the refactoring in in the future.


feat: Update service feature

Proposed changes

feature to update the "Service"

demo below 👇

Created a new service (id: 27) for illustration and successfully updated the agentID to 2 as expected.
The previous functionality of updating for EVM should function the same as well.

https://github.com/valory-xyz/autonolas-registry-frontend/assets/22061815/b7fdb0aa-a901-427b-9ab5-020abebd8c8d

Fixes

Types of changes
What types of changes does your code introduce to autonolas-registry-frontend?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist
Put an x in the boxes that apply.

[x] My pull request is targeted against the main branch (left side), and I've started my branch from our main.
[ ] I've ensured that linting and unit tests pass locally with my changes, and CI also passes successfully.
[ ] I've included tests to validate the effectiveness of my fix or to demonstrate that my feature functions correctly.
[ ] I've verified that my changes do not reduce code coverage.
[x] I've added any necessary documentation as needed.
[x] I've confirmed that any dependent changes have been merged and published in downstream modules.
[ ] If the onload page involves contract interaction, I've ensured it is client-side rendered using next/dynamic.
[ ] I've updated next.config.js header to include the new URL for secure app interaction

@mohandast52

Could we already enable this?

The form should already be pre-filled with the existing state. Otherwise it's much too big of a UX hurdle – can lead to big errors.
Also, even though the Owner Address input is disabled, the Prefill Address button is still visible. The button should be hidden if the input is disabled.
https://github.com/valory-xyz/autonolas-registry-frontend/assets/66292936/ad825839-eaaa-466f-85f0-6fb222d8aa82
Not sure if related to this PR, but on devent My Services, only 10 services are showing, but this address has more than 20 minted to it.

Why is Update present on My Services action column, but not on Services? Should be a pretty simple conditional, no?
https://valory-workspace.slack.com/files/U044UPWNZ5L/F06EASBLL9M/solana-update-submit_copy.mov
The update form doesn't actually work for me – I don't get an error or any information about why not.

The third issue above is still present @mohandast52 – on devnet I have minted more than 10 services, but only 10 are visible.

@mohandast52 – service is still not updating – no Phantom model is being triggered.
https://valory-workspace.slack.com/files/U044UPWNZ5L/F06FR49JTR7/solana-update-no-trigger.mov
The console mentions something related to chainId, so maybe there's some interference with EVM wallet? Or maybe it's related to how my service was created?

Again, from a usability point of view, if the Owner Address input isn't editable, the Prefill Address link should also be disabled.

OK, seems to be working again for me now. Maybe was related to the devnet issues? Either way, lgtm.


link problem

I'v heared this version has not link problem in ie8 and firefox but it still has the problem
I have a problem with nicEdit link creation in IE and Firefox.
if(!this.ln) {
var tmp = 'javascript:nicTemp();';
this.ne.nicCommand("createlink",tmp);
this.ln = this.findElm('A','href',tmp);
// set the link text to the title or the url if there is no text selected
alert(this.ln);
if (this.ln.innerHTML == tmp) {
this.ln.innerHTML = this.inputs['title'].value || url;
};
}
the code above is called when no text is selected, Chrome returns 'javascript:nicTemp()' for the alert(this.ln) while IE 8 and Firefox returns 'undefined' so the next line after the alert get error in IE and Firefox.
it seems findElem can't find the newly created link by nicCommand which in turn calls execCommand
How can I solve this problem? how can I force the document to be updated ....
please help

This project isn't maintained anymore. If you'd like to add a fix a PR is welcome otherwise you might want to fork it or look for another editor.


PHPStan\Type\TypeTraverser::mapInternal() with Spatie\QueryBuilder\QueryBuilder

Larastan Version:  0.5.2
--level used: 5

Description
It seems like the phpstan cannot analyse Spatie\QueryBuilder\QueryBuilder for some unknown reason.
Dependencies:
    "nunomaduro/larastan": "^0.5.2",
    "spatie/laravel-query-builder": "^2.5",

phpstan.neon configuration
includes:
    - ./vendor/nunomaduro/larastan/extension.neon
parameters:
    paths:
        - app
    level: 5
    inferPrivatePropertyTypeFromConstructor: true
    checkMissingIterableValueType: false

The internal error output by vendor/bin/phpstan analyse --debug:
Symfony\Component\Debug\Exception\FatalThrowableError  : Argument 1 passed to PHPStan\Type\TypeTraverser::mapInternal() must implement interface PHPStan\Type\Type, null given, called in phar:///app/vendor/phpstan/phpstan/phpstan/src/Type/Generic/GenericObjectType.php on line 179

  at phar:///app/vendor/phpstan/phpstan/phpstan/src/Type/TypeTraverser.php:45
    41|     {
    42|         $this->cb = $cb;
    43|     }
    44|     /** @internal */
  > 45|     public function mapInternal(\PHPStan\Type\Type $type) : \PHPStan\Type\Type
    46|     {
    47|         return ($this->cb)($type, [$this, 'traverseInternal']);
    48|     }
    49|     /** @internal */

  Exception trace:

  1   PHPStan\Type\TypeTraverser::mapInternal()
      phar:///app/vendor/phpstan/phpstan/phpstan/src/Type/Generic/GenericObjectType.php:179

  2   PHPStan\Type\Generic\GenericObjectType::traverse()
      phar:///app/vendor/phpstan/phpstan/phpstan/src/Type/TypeTraverser.php:52

  Please use the argument -v to see more details.

Laravel code where the issue was found
Below is a simple code snippet to reproduce the issue
QueryBuilder::for(User::class)
            ->allowedFilters(['name'])
            ->orderBy('name')
            ->get();

Thank you for your report.
Could you narrow it down to 1 method in spatie/laravel-query-builder?

Thank you for your report.
Could you narrow it down to 1 method in spatie/laravel-query-builder?

Actually it might not be the QueryBuilder, or maybe it's due to a combo of factors.
It happens when I add orderBy after chaining QueryBuilder.
By removing the orderBy the phpstan doesn't complaint.

Thank you for your report.
Could you narrow it down to 1 method in spatie/laravel-query-builder?

In addition, by replacing orderBy with QueryBuilder's defaultSort which can avoid the issue.
QueryBuilder::for(User::class)
            ->allowedFilters(['name'])
            ->defaultSort('name')
            ->allowedSorts('name')
            ->get();

@ondrejmirtes This may need you expertise.

Hi,
Looks like Spatie\QueryBuilder\QueryBuilder is extending the Eloquent Builder. And Eloquent Builder in Larastan is marked as a generic class in the stub file.
So I think you should also mark the Spatie\QueryBuilder\QueryBuilder class as generic. Create your own stub file for the class, add the @template and @extends doc tags, and add it to your phpstan.neon file.

I think the issue can be closed now. It doesn't need any fix, stubs or templates.
The QueryBuilder::for accepts an Illuminate\Database\Eloquent\Builder instance as base query. Basically I should add orderBy or anything else to the base query instance instead of chaining it to the QueryBuilder object.
For example:
QueryBuilder::for(User::orderBy('name')->getQuery())
            ->allowedFilters(['name'])
            ->get();

I am happy to close the issue. Thanks a lot for your helps.


Add Active set according to view in ATX

Overview / Motivation
ATX must contain at least d active identities in it's view, therefore a proper view must be selected.
The Task
Use BFS search toget proper view.
Implementation Notes
TODO: Add links to relevant resources, specs, related issues, etc...
Contribution Guidelines
Important: Issue assignment to developers will be by the order of their application and proficiency level according to the tasks complexity. We will not assign tasks to developers who have'nt introduced themselves on our Gitter dev channel

Introduce yourself on go-spacemesh dev chat channel - ask our team any question you may have about this task
Fork branch develop to your own repo and work in your repo
You must document all methods, enums and types with godoc comments
You must write go unit tests for all types and methods when submitting a component, and integration tests if you submit a feature
When ready for code review, submit a PR from your repo back to branch develop
Attach relevant issue to PR

It should be exactly d.
Maybe there is no need to declare d.
We need to count only the ATX that give eligibility for the current epoch (e.g. free-standing ATXs give eligibility for the previous epoch).


Add k range frames for Window operator

https://docs.google.com/document/d/1mrI4S8Nbw4B2rLlRBO_0lmL9eOUwoYlqTqD-dVXNyJ0/edit gives an elaborate explanation of what this code does.
Will condense it in a commit message post review.

@aditi-pandit, do you have any update on this feature? For any pending issue, I would like to help fix it. Thanks!

@aditi-pandit, do you have any update on this feature? For any pending issue, I would like to help fix it. Thanks!

Hi @PHILO-HE : This PR needs some more work on adding tests where the range frame is on a value in desc order (the tests right now presume an ascending order). I'll prioritize this PR and get it done next week.

@aditi-pandit, do you have any update on this feature? For any pending issue, I would like to help fix it. Thanks!

Hi @PHILO-HE : This PR needs some more work on adding tests where the range frame is on a value in desc order (the tests right now presume an ascending order). I'll prioritize this PR and get it done next week.

Thanks so much for your feedback!
Great work! On my side, some initial tests show this PR works.

@aditi-pandit, we requires this feature for supporting customer's workload. So I directly made some fixes based on your PR. Is it possible to merge our code into this PR? See https://github.com/Ahana-Inc/velox/pull/16.
I also dismiss the support for descent sort order. Maybe, we can implement it in a follow-up PR for velox upstream. Right?

@aditi-pandit, we urgently requires this feature for supporting customer's workload. So I directly made some fixes based on your PR. Is it possible to merge our code into this PR? See Ahana-Inc#16. I also dismiss the support for descent sort order. Maybe, we can implement it in a follow-up PR for velox upstream. Right?

Hi @PHILO-HE : I did more research on how Presto sets up range frames for WindowNode and there were some changes in how I'd authored in this PR.
Presto pre-computes the range boundaries and puts them in a column. The Window operator picks up values from that column and searches for its position in the order by column for the frame boundary.
e.g. if the range frame is between 5 preceding and 3 following, the plans would have a node that has computed 2 columns with (order key - 5) and (orderkey + 2) and the window operator finds the indices corresponding to those values for the frames. I've revised my implementation for this and am close to pushing out a PR tomorrow.
Would that API work for you ? It simplifies the logic in this current PR by a lot.

Hi @PHILO-HE : I did more research on how Presto sets up range frames for WindowNode and there were some changes in how I'd authored in this PR.
Presto pre-computes the range boundaries and puts them in a column. The Window operator picks up values from that column and searches for its position in the order by column for the frame boundary. e.g. if the range frame is between 5 preceding and 3 following, the plans would have a node that has computed 2 columns with (order key - 5) and (orderkey + 2) and the window operator finds the indices corresponding to those values for the frames. I've revised my implementation for this and am close to pushing out a PR tomorrow.
Would that API work for you ? It simplifies the logic in this current PR by a lot.

@aditi-pandit, the new logic looks better. And it may be workable for us also. Expecting to see your new PR. Thanks so much for your work!

Thanks @PHILO-HE. With the new approach all variations of the frames are more easily handled also. I have to write few more tests today and send it out for review.

Hi @PHILO-HE : This look close to the final implementation of range frames code I intend to submit. I might just beautify this code (add comments) etc.
TBD : The code handles nulls, but need to add a test.

Will depend on https://github.com/facebookincubator/velox/pull/5241

@PHILO-HE : I'm not able to add you to the review list. Please do review the code.

@PHILO-HE : I'm not able to add you to the review list. Please do review the code.

Hi @aditi-pandit, I will review the code in the next day. Thanks!

@PHILO-HE, @mbasmanova, @xiaoxmeng : Friendly ping. Please give me some review comments on this PR.

Hi @aditi-pandit, sorry for the late reply. Can the pre-computing for each row's frame bound be offloaded to velox? Spark actually doesn't have such pre-compute behavior. Previously, I thought we can make the pre-computing offloaded and then make it transparent to upper engine. If it is impossible to offload it, we may have to keep the old code path for doing the bound search. Thanks!

Hi @PHILO-HE : Does spark support column references or expressions for k frame bounds ? If we are limited to a constant value for k in range frames, then the code is doable. But if column references or expressions are present, then it would be more complicated.

Hi @aditi-pandit, sorry for the late reply. Can the pre-computing for each row's frame bound be offloaded to velox? Spark actually doesn't have such pre-compute behavior. Previously, I thought we can make the pre-computing offloaded and then make it transparent to upper engine. If it is impossible to offload it, we may have to keep the old code path for doing the bound search. Thanks!

Hi @PHILO-HE : Does spark support column references or expressions for k frame bounds ? If we are limited to a constant value for k in range frames, then the code is doable. But if column references or expressions are present, then it would be more complicated.

Hi @aditi-pandit, spark only supports constant value for k in range frames. So we do NOT need to consider column reference or expression for spark. See spark ref. link, where foldable expression means literal input and can be statically evaluated.

Hi @aditi-pandit, I note this PR was just closed, will it be replaced by some other PR?

@PHILO-HE : Yes, It will be replaced by https://github.com/facebookincubator/velox/pull/7303. That PR had a dependency on Ahana repo which is now removed since we have migrated to IBM infrastructure.


Option to change shell speed

Add a setting to change the shell speed:
https://mods.factorio.com/mod/bigger-artillery/discussion/627e91d5826bdf75e52e5c46

It is a property of the ammo entity (the bullet). See discussion and solution.


[Inspiration] NewtonVR

https://github.com/TomorrowTodayLabs/NewtonVR
Someone shared this with me on Reddit, thought I'd pass it along for others to check out. I'm not sure if there's anything in there that might inspire some new features to incorporate into the Toolkit.

I'm going to check it out now. I'd heard it mentioned but wasn't sure what it was. Good to have more of this stuff on github, all helps VR development move forward!

They have some really cool widgets on there, I like their text selection wheel, that's a cool idea. So are the sliders and the number dial.

I actually have been using both this repo and NewtonVR. It would be amazing to see a hybrid of these two for sure!

Yeah they have some really nice widgets. It's a shame we're doing things a different way. Be awesome if their widgets worked here, but then that goes against what they're doing. And if I recreate their widgets then it's going against the generic nature of this repo.
I can probably recreate some of their stuff using the standard scripts.

One of the nice things about Newton is that the physics don't freak out if you pass the controller into a collision while influencing a physics object.  I realize this is because they are blending between the two controller models in a completely different way.

@pixelvspixel The way they do object grabbing looks different, they don't attach objects to the controller with a fixed joint. They constantly update the object's position and rotation to match the controller's, which has some other adverse side effects as you can see with the gun in their scene where it's constantly playing catch up with the controller's position/rotation and feels a bit laggy.
Pros and cons to both ways, physics engines don't have enough computer power behind them yet to act as expected, hopefully the next gen of graphics cards will solve that.

I've implemented the fix for preventing objects from going through other objects and acting crazy.
Now what happens is if you try and do that the object just drops. I think it's a bit more natural than having the item stop where it collided then snap to the controller after. Horses for courses I guess, but at least it doesn't make object go all jittery anymore! :)

another interesting teleportation mechanic on github, https://github.com/Flafla2/Vive-Teleporter

@bcoyle yeah saw it, I dropped the dev a note to see if he wanted to implement it into this toolkit too.
He said he may if he has time, I've asked him if he minds me implementing it on his behalf.

@thestonefox Cool! Yeah I love the idea of getting as many of these mechanics together as possible. I love the work you're doing and having this toolkit for people to experiment with all the options available for themselves.

@bcoyle yeah I love seeing other people's ideas too for VR. I really like that teleport script, I love the way the curve is drawn and animated like in The Lab.
I want to try and build up a good collection of scripts and ideas for people to just pick up, use, play with and extend into their own games.
Even things that I think may not work too well (like the touchpad walking thing I'm working on) it's just useful to have a collection of things for people to get inspired by.

I have taken a longer look at NewtonVR now. I love how the button, switch and the drawer just feel right. Also the collision of the controller is much better than with the sphere collider here.
While it has some really nice ideas the development is not at a level that can or should be readily used though. Many things happen in Update methods instead of being event driven. Also not using a fixed joint when holding e.g. a pistol feels just wrong in my opinion as objects now are following very slowly and unnaturally pulling me out of immersion. Suddenly this is not my hand anymore but a controller to which an object is following. I still wish we could unite the projects into one and get more people to concentrate on contributing here.
What I really suggest doing is gradually building up a library of interaction controls. I will start with a button and try to contribute.

Yeah, their object control is nice, but they have different scripts for different types of objects, like the drawer requires a specific script, then they have rotators and other types of hinge scripts.
I wanted to see what could be achieved with a generic script.
Their demo scene has some really nice widgets, but their grab tracking does suck (it can be replicated by setting the grab mechanic to Tracking Object in this repo)
Be nice to have a collection of widgets like they offer but with minimal amount of custom scripts required.

Any objections to closing this thread and moving it to the sub reddit?

Moving this discussion to here:
https://www.reddit.com/r/SteamVRUnityToolkit/comments/4n4425/newtonvr_inspiration_for_ideas/


Update RisingWave image tags from v0.1.13 to v0.1.14

Since the RisingWave has the v0.1.14 released.

🤣 since v0.1.15 has been released, let's update it to v0.1.15.


Gnosis Safe Apps v1.5.0

What's new

WalletConnect app (https://github.com/gnosis/safe-react/issues/1239).

What has changed

safe-apps-sdk bump.

Bugfix

TX-Builder: Support for Array and Tuples (#23)

Is this still effective? Is there some example code for how to format the tuple for Transaction Builder?

What format I should use for this? Any example please
erc20Rewards (tuple(address,uint256)[])

For anyone struggling with this, I found the answer on #701
For input of type tuple(address,uint256)[]
...you can provide an array of tuples like this:
[["0x0000000000000000000000000000000000000000", "2"]]
It's a bit strange because block explorers accept the format below, but Safe Wallet doesn't:
[{ "address": "0x07A125527651e45e22c31a4ba25440fd582A21FB", "myNumber": 2 }]


resized colums hungs on import

I exported XLSX file.
Opened in LibreOffice.
Resized some columns.
Saved in same extension.
Tried to import. It shows 100% CPU usage and after sometime NGINX shows Gateway Timeout.
XLSX file is very small.

That's strange. I think this is more a core issue. You can better open an issue at PHPExcel about this.

I'll do it. Thank you.


Use mdoc everywhere

Current Chisel3 documentation is pulled directly from the chisel3 wiki. This should be updated to be checked with the use of mdoc.
Note: there are a number of things which are woefully out of date or deprecated here. The latter prevents doing a bump of all sub-projects to master.

@seldridge Isn't this basically done?


Error in btree.js

Recently I have started to get the following errors:
rdfstore\src\btree.js:324
                    if(that.comparator(key, node.keys[idx].key)===1) {
                                                          ^
TypeError: Cannot read property 'key' of null

rdfstore\src\btree.js:334
                    idx = node.numberActives -1;
                              ^
TypeError: Cannot read property 'numberActives' of null

I have no idea what leads to this error, and I can't seem to find a pattern to when it occurs.

I fixed that in our copy. Will check.

If you want a quick fix, here it ishttps://github.com/researchstudio-sat/webofneeds/commit/c1ad9240b53bb4ba971ef42e11870280f38758cc#diff-d2647e6139e3a0a971420e20014de71d

Thanks! I will try that. Maybe make a pull request on it?

Oh and there already is a PR fixing it https://github.com/antoniogarrote/rdfstore-js/pull/110/files

Doesn't seem to solve the problem for me :-/

So I think I solved the problem. I was trying to shoot multiple files at the store.load() method at the same time, and it didn't like that. My new strategy is to first concatenate the file content and then load it in store.


make sbt new work to create a simple build without requiring g8 template as arg

steps

$ sbt new
[info] welcome to sbt 1.5.4 (Ubuntu Java 11.0.11)
[info] loading settings for project global-plugins from gpg.sbt ...
[info] loading global plugins from /home/bjornr/.sbt/1.0/plugins
[info] set current project to new (in build file:/tmp/sbt_b525b66e/new/)
Template not found for:
$

problem

The error message is not helpful, esp not to a beginner.
expectation
sbt new should Just Work (TM) and e.g. give me the simplest possible single-project build.sbt with the latest scalaVersion as a bare-bone setting on top level.

notes
see also https://github.com/sbt/sbt/issues/6217

see also https://github.com/sbt/sbt/discussions/6772#discussioncomment-1901624

I'd love to see a volunteer tackle this. Even if it were only to give a much better error message with guidance on what the user should do instead.

This also seems related or plain duplicate of https://github.com/sbt/sbt/issues/3949

Now that we have the interactive menu (https://github.com/sbt/sbt/pull/7228), we probably don't want this anymore.


feat(codefixes): glint; add missing argument to signature int .gts

Add missing argument to component signature to .gts

Will add a template argument to a component signature if not defined.
Type will be stubbed as any to ensure that a subsequent pass or build will fail.

Example
import Component from '@glimmer/component';

export interface WithMissingArgComponentSignature {
  Args: {}
}

export default class WithMissingArg extends Component<WithMissingArgComponentSignature> {
  name = 'Bob';

  <template>
    Hello, I am {{this.name}} and I am {{@age}} years old!
  </template>
}

Output
import Component from '@glimmer/component';

export interface WithMissingArgComponentSignature {
  Args: {
    age: any;
  }
}

export default class WithMissingArg extends Component<WithMissingArgComponentSignature> {
  name = 'Bob';

  <template>
    Hello, I am {{this.name}} and I am {{@age}} years old!
  </template>
}

How does this work?

We update the glint-codefix plugin to apply a series (currently only one) of additional codefixes against diagnostics.
We apply a glint codefix to address TS2339, we are calling this AddMissingArgToComponentSignature

Inside of AddMissingArgToComponentSignature CodeFix we:

We determine if the diagnostic for the undefined property is for a arg in a template using the AST from glint by looking at the transformed range.

Glint manages AST for the compiled intermediate typescript output and the original AST.
We us this AST so we don't have to parse the original .gts file in any way.

We then look to see if the default export is a component and it has a Component Signature interface used for the Component base class.
We then lookup that name, and find the interface and update it with our found argument.

Questions
Does this work with typedefs? With drain mode?
No the definition and creation of types with typedefs currently does not work in .gts files, but it does work in .ts files.
Chores
chore(migrate): Adds ember-template-lint-prettier-plugin to migrate fixture app so output is formatted

Closing this as it will be included in #1141


Prioritize: Cmd (or PS or Bash) from here

Definitely a useful tool.  Some things have to be done from the command-line & being able to right-click and choose "Cmd (or PS or Bash) from here" to drop-in and execute some code is an awesome feature that I miss from the past.

Have you tried typing cmd in the address bar of explorer? Go to a folder - replace the folder name with cmd - you get a command prompt at that folder

I hadn’t tried that – that works.
From: Gary Hunt<EMAIL_ADDRESS>Sent: Wednesday, May 22, 2019 12:18 PM
To: microsoft/PowerToys<EMAIL_ADDRESS>Cc: Daniel Rich<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [microsoft/PowerToys] Prioritize: Cmd (or PS or Bash) from here (#120)
(Caution: This email was received from a source outside of the Citizens network. DO NOT enable macros if an attached document asks you to. DO NOT open attachments or click on any link if this email seems suspicious in any way, especially if it appears to come from a Citizens email address.)

Have you tried typing cmd in the address bar of explorer? Go to a folder - replace the folder name with cmd - you get a command prompt at that folder
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_PowerToys_issues_120-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAJRWU727FEQULJAV4U6L7UTPWVW2DA5CNFSM4HOTQWN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV7SQAI-23issuecomment-2D494872577&d=DwMCaQ&c=-Q2oFtSeUeVdqcGrCCygxt6LResmVl0POOzRQwCZt0Q&r=uaAqG-a60xZwkawsufhGjKEPqAW4dNElp4tSq2uUxfw&m=n50KKWZRI_MdT-XZsz2RlwPfxrWiwQc3qAgRaue023g&s=cLnUd7oKv7W-LPWF24uCLqGpAsEAOUNEV9p0hziynf0&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AJRWU7267YDW3NSROTAZSO3PWVW2DANCNFSM4HOTQWNQ&d=DwMCaQ&c=-Q2oFtSeUeVdqcGrCCygxt6LResmVl0POOzRQwCZt0Q&r=uaAqG-a60xZwkawsufhGjKEPqAW4dNElp4tSq2uUxfw&m=n50KKWZRI_MdT-XZsz2RlwPfxrWiwQc3qAgRaue023g&s=Ob8jbqLyWVHYiiq3X5_Mt0O3P8K6WJO7IXrcbGgtEio&e=.

The PowerToys crew needs to duplicate Classic Shell into PowerToys.  One of the components of Classic Shell is Classic Explorer, which adds a toolbar similar to what Windows XP had, but which is much more configurable. I have a cmd here icon, a bash here icon, and a cmd here as administrator icon in every Explorer window.  The cmd here as administrator uses Nirsoft's nircmd tool; Classic Explorer easily incorporates such things.

If you hold shift and right click you can get 'Open Powershell from here' and 'Open Linux shell from here'.

Thanks, Craig.  I’m missing the Unix shell option, but I do see PowerShell option.
From: Craig Loewen<EMAIL_ADDRESS>Sent: Friday, June 07, 2019 1:44 PM
To: microsoft/PowerToys<EMAIL_ADDRESS>Cc: Daniel Rich<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [microsoft/PowerToys] Prioritize: Cmd (or PS or Bash) from here (#120)
(Caution: This email was received from a source outside of the Citizens network. DO NOT enable macros if an attached document asks you to. DO NOT open attachments or click on any link if this email seems suspicious in any way, especially if it appears to come from a Citizens email address.)

If you hold shift and right click you can get 'Open Powershell from here' and 'Open Linux shell from here'.
[image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_42221804_59123005-2D1158ea80-2D8911-2D11e9-2D965b-2D9d75df26bbf1.png&d=DwMCaQ&c=-Q2oFtSeUeVdqcGrCCygxt6LResmVl0POOzRQwCZt0Q&r=uaAqG-a60xZwkawsufhGjKEPqAW4dNElp4tSq2uUxfw&m=7cQy3wgR74xQUaIUvZaZUdJl_UyAtgF03MsKVvF1M2E&s=lBjAtQgi-kaXqkg2LoSkTqtevLrTADwHc71PKj4PJcw&e=
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_PowerToys_issues_120-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAJRWU733GXNTB2RNH5C6GVTPZKM4PA5CNFSM4HOTQWN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXGQO6Y-23issuecomment-2D499976059&d=DwMCaQ&c=-Q2oFtSeUeVdqcGrCCygxt6LResmVl0POOzRQwCZt0Q&r=uaAqG-a60xZwkawsufhGjKEPqAW4dNElp4tSq2uUxfw&m=7cQy3wgR74xQUaIUvZaZUdJl_UyAtgF03MsKVvF1M2E&s=YEE5K9d64JXwGBslAjHDlOZTjQItJxPi9n-2BZjtm2s&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AJRWU7ZQDOEM7CBKZAN5PG3PZKM4PANCNFSM4HOTQWNQ&d=DwMCaQ&c=-Q2oFtSeUeVdqcGrCCygxt6LResmVl0POOzRQwCZt0Q&r=uaAqG-a60xZwkawsufhGjKEPqAW4dNElp4tSq2uUxfw&m=7cQy3wgR74xQUaIUvZaZUdJl_UyAtgF03MsKVvF1M2E&s=r-BK-k3ojpqordMzarMzuhubE1uODHs8AThK48u2WbY&e=.

To see the 'Open Linux Shell here' option you need to have the Windows Subsystem for Linux installed.

As a matter of course I have been adding Open Command window here to the context menu for drives, folders and folder backgrounds for ages. Having it in the secondary/hidden/Shifted context menu makes no sense to me at all when it is used so often!
Unfortunately Win10 seems to lock access to the required reg keys by default (permissions restricted to TrustedInstaller) for some reason. After overriding the permissions and making the necessary reg edits (and restoring the permissions for good measure), this is what I end up with:
In the 'normal' context menu for drives, folders and folder backgrounds:

Open Command window here
Open PowerShell window here

In the 'Shifted' context menu for drives, folders and folder backgrounds:

Open Elevated Command window here
Open Elevated PowerShell window here

I would really appreciate a PowerToy that can add these for me without having to wrangle with permissions every single time.

If you hold shift and right click you can get 'Open Powershell from here' and 'Open Linux shell from here'.

This is what I have done on the back ground via the registry ie put an icon and put at the bottom using the string "position" = "Bottom"

Great tip – I’ll set that up on mine, too.
From: Richard Parslow<EMAIL_ADDRESS>Sent: Wednesday, October 30, 2019 6:47 PM
To: microsoft/PowerToys<EMAIL_ADDRESS>Cc: Daniel Rich<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [microsoft/PowerToys] Prioritize: Cmd (or PS or Bash) from here (#120)
(Caution: This email was received from a source outside of the Citizens network. DO NOT enable macros if an attached document asks you to. DO NOT open attachments or click on any link if this email seems suspicious in any way, especially if it appears to come from a Citizens email address.)

If you hold shift and right click you can get 'Open Powershell from here' and 'Open Linux shell from here'.
[image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_42221804_59123005-2D1158ea80-2D8911-2D11e9-2D965b-2D9d75df26bbf1.png&d=DwMCaQ&c=-Q2oFtSeUeVdqcGrCCygxt6LResmVl0POOzRQwCZt0Q&r=uaAqG-a60xZwkawsufhGjKEPqAW4dNElp4tSq2uUxfw&m=7rYRPS0n6Z0lOOHjeEUpm-e_Jx3Y59PdGwRIlih1Lw0&s=GF4u8M9cAB2ehqCpzDNczKwqETeZWEjQpVAjuOysFNw&e=
This is what I have done on the back ground via the registry ie put an icon and put at the bottom using the string "position" = "Bottom"
[Here_Background_Right_Click]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_6966118_67904676-2D6111aa00-2Dfb6f-2D11e9-2D9e0b-2Deb49dff6541c.png&d=DwMCaQ&c=-Q2oFtSeUeVdqcGrCCygxt6LResmVl0POOzRQwCZt0Q&r=uaAqG-a60xZwkawsufhGjKEPqAW4dNElp4tSq2uUxfw&m=7rYRPS0n6Z0lOOHjeEUpm-e_Jx3Y59PdGwRIlih1Lw0&s=UujOgFNT6hF6_2aUvbTfR27k25SFSXs-iN7DVLHUD5s&e=
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_PowerToys_issues_120-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAJRWU7YB7EZCSQXZKZC2N33QRIFIDA5CNFSM4HOTQWN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECWAMPA-23issuecomment-2D548144700&d=DwMCaQ&c=-Q2oFtSeUeVdqcGrCCygxt6LResmVl0POOzRQwCZt0Q&r=uaAqG-a60xZwkawsufhGjKEPqAW4dNElp4tSq2uUxfw&m=7rYRPS0n6Z0lOOHjeEUpm-e_Jx3Y59PdGwRIlih1Lw0&s=U7rMD0MrdlRUMsMuUPabhGHqF-9uVtljCIlOd-qqXXQ&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AJRWU72BY34LI3N3L3ACMHDQRIFIDANCNFSM4HOTQWNQ&d=DwMCaQ&c=-Q2oFtSeUeVdqcGrCCygxt6LResmVl0POOzRQwCZt0Q&r=uaAqG-a60xZwkawsufhGjKEPqAW4dNElp4tSq2uUxfw&m=7rYRPS0n6Z0lOOHjeEUpm-e_Jx3Y59PdGwRIlih1Lw0&s=X-0IT2D6v6Yfz7vJ_d7VjwxUEZiINaSnUpVOXiQkzEc&e=.

Our wonderful friends over at terminal beat us!!!  https://github.com/microsoft/terminal/issues/1060
Will be in their v1.1 release.


i got some few questions to ask

went through your documentation  and example usage, they are great but am looking for these two things

how to perform a click on element using xpath ,css or id
2.how to find out if element Exist or find element

thanks

android emulators do not expose UI elements in a manner which pymemuc could query them. i'm not sure this is even possible...

Using the ADB shell, you can find UI elements in some applications, see these stackoverflow answers here and here.
The ADB shell can be used through pymemuc by calling send_adb_command_vm. Something like this:
from pymemuc import PyMemuc

pmc = PyMemuc(debug=True)
MY_VM_INDEX = 0 # replace this with your target vm index

ui_dump = pmc.send_adb_command_vm(command="shell uiautomator dump", vm_index=MY_VM_INDEX)
print(ui_dump) # this will read out the xml ui dump, from which you might parse element positional info

Clicking can only be done through coordinates using the adb input tap command.

ok thanks let me try it out


would you mind posting your results?

hey, I have tested some images using demo.py, the results are always 'no findings in :'.
Thus, I am wondering if you can post the results(accuracy for each disease). I will really appreciate you can help.
Thanks

Hi @yian2271368 .The average AUROC is about 0.84.
In the network,the output function is not a softmax function,so you should choose a proper threshold for best prediction performance.High AUROC only guarantee that you could find a threshold that predict well.BTW, it's a global threshold for all prediction, I will use 14 threshold for each prediction instead of it soon.
Finally,I don't suggest that you use the CheXNet to diagnose according to Luke's blog


Build fixes

Cleaned some things up so that the CI build passes.

featurized the solc bytecode compiler under solc-backend.

now you must run cargo test --features solc-backend to compile with solc and to run the contract tests

ran cargo fmt, which updated alot of files
commented out some parser tests which are now failing. see #29

Am I right to assume we do not run cargo test --features solc-backend in CI yet because the build takes too long? If that's the case, do you already have an idea how to overcome that. I create an issue here to discuss that further. https://github.com/ethereum/fe/issues/32


as_indexed_json and polymorphic associations

How to make include optional in #as_indexed_json dsl ?
I have to index a Selection model that has_many SelectionItems. These items have one polymorphic Resource (ie some Resources may not have artists association...).
Here is my #as_indexed_json definition :
    def as_indexed_json(options={})
        as_json {
              methods: [:moods, :genres, :opened, :shared, :rating, :likes_count, :favorites_count],
              include: {
                user: {
                  only: [:id, :name, :email],
                  include: { station: {only: [:name, :id], methods: [:dpt]} }
                },
                selection_items: {
                  include: {
                    resource: {
                      include: {
                        artists: {
                          only: [:id, :name]
                        },
                        random_tracks: {
                          except: [:available_territories, :high_bitrate, :low_bitrate],
                          methods: [:moods, :moods_with_score],
                          include: {
                            album: { include: { artists: {only: [:id, :name]} }},
                            artists: {only: [:id, :name]},
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
    end

When SelectionItem has uncommon resource (ie with no artists association), it raises a no method error.

@webattitude Do you still have this question? If so, have you tried putting the logic in the definition of how a SelectionItem is converted to json?

@webattitude Do you still have this question? If so, have you tried putting the logic in the definition of how a SelectionItem is converted to json?

Ok thx, I'll try this.

OK thx, I eventually managed to serialize as expected...


Update to Gradle 7

Is your feature request related to a problem? Please describe.
The OpenSearch Plugins are still built using Gradle 6.6.x whereas the Gradle release train has moved to 7.x already. The OpenSearch core is about to be switched to Gradle 7.3 (see please opensearch-project/OpenSearch#1609), it would make sense to switch all plugins to Gradle 7.3 as well.
Describe the solution you'd like
Update Gradle to 7.3
Describe alternatives you've considered (Optional)
N/A
Additional context
See please opensearch-project/OpenSearch#1246 and opensearch-project/opensearch-plugins#107

This will be done with opensearch 2.0

closed by #607


Added support for URL decoding out of the box

Also enforced indentation with two spaces to ensure consistency.

Current coverage is 100% (diff: 100%)

Merging #5 into master will not change coverage

@@           master    #5   diff @@
===================================
  Files           4     5     +1
  Lines         147   149     +2
  Methods         0     0
  Messages        0     0
  Branches        0     0
===================================
+ Hits          147   149     +2
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update 25c3f8b...4d84ad9


toppanel-column too wide on Safari

On Safari 9.1, the width of  .toppanel-column is causing issues. One column is overflowing onto the next line, and so is visible even when the panel is closed.

A potential solution is changing the calculated width of .toppanel-column (260px instead of 240px):
width: calc((100% - 260px) / 4);

This appears to be fixed as of Safari 10. Must have been a browser bug. Closing this issue.


Swipable area is reduced in service home screen

Swiping to left/right is not possible anymore underneath the icons (the red area). Increase the height of this scroll view such that swiping is working again.

Can't reproduce


[classification] cache computed direct/indirect destination edges...

...in InternalIdEdges to speed up normal form generation drastically.
This yields approximately an 80% speed improvement on the entire classification process without any initial data caching.

Codecov Report

Merging #700 into 7.x will increase coverage by 0.00%.
The diff coverage is 92.30%.

@@            Coverage Diff            @@
##                7.x     #700   +/-   ##
=========================================
  Coverage     58.51%   58.52%
- Complexity    12506    12511    +5
=========================================
  Files          1747     1747
  Lines         64363    64371    +8
  Branches       6370     6373    +3
=========================================
+ Hits          37662    37673   +11
+ Misses        23720    23718    -2
+ Partials       2981     2980    -1

Impacted Files
Coverage Δ
Complexity Δ

...omed/datastore/index/taxonomy/InternalIdEdges.java
88.23% <92.30%> (+1.13%)
13.00 <0.00> (+2.00)

...om/b2international/index/es/log/Slf4jAppender.java
52.94% <0.00%> (-11.77%)
4.00% <0.00%> (-1.00%)

...national/index/revision/BaseRevisionBranching.java
89.72% <0.00%> (-0.69%)
53.00% <0.00%> (-1.00%)

...com/b2international/index/es/EsDocumentWriter.java
71.29% <0.00%> (+0.54%)
26.00% <0.00%> (+1.00%)

...g/elasticsearch/client/RestHighLevelClientExt.java
59.43% <0.00%> (+0.94%)
17.00% <0.00%> (+1.00%)

...com/b2international/collections/PrimitiveSets.java
71.42% <0.00%> (+1.58%)
28.00% <0.00%> (+1.00%)

...ternational/collections/ints/IntKeyMapWrapper.java
20.33% <0.00%> (+1.69%)
10.00% <0.00%> (+1.00%)

...nternational/snowowl/core/events/util/Promise.java
70.53% <0.00%> (+1.78%)
19.00% <0.00%> (ø%)

...onal/snowowl/snomed/core/tree/TerminologyTree.java
82.69% <0.00%> (+1.92%)
21.00% <0.00%> (+1.00%)

Continue to review full report at Codecov.

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


check diagnostic testing questions

Should there be 4 distinct test questions (see questions below)?
- antibody test anytime (panels E & F)
- nose/throat within 14 days (panels E & F)
-  nose/throat prior to 14 days ago (panels E & F)
- any covid test (Panels A - D)
Questions:
Panel A - D
Q32. Have you, or any other household member, ever been tested for Coronavirus (Covid-19)? (answer: y/n)
Q33. Who has been tested for Coronavirus (Covid-19)? (answer: household member results)
Q34. To the best of your knowledge, do you think you or anyone else in your household have been in direct contact with someone who has Coronavirus (Covid-19) in the last seven days, or know someone close to them who has Coronavirus (Covid-19)?
Panels E & F
IF SAMPLETYPE = 1 Q32. Have you been tested for Coronavirus (Covid-19) via a nose and/or throat swab in the last fourteen days? IF SAMPLETYPE = 2 Q32. Has NAME been tested for Coronavirus (Covid-19) via a nose and/or throat swab in the last fourteen days? (answer: adult/child results)
Q32a. Have you been tested for Coronavirus (Covid-19) via a nose and/or throat swab prior to the past fourteen days? ASK IF WAVE=1 AND IF SAMPLETYPE = 2 Q32a Has [NAME] been tested for Coronavirus (Covid-19) via a nose and/or throat swab prior to the past fourteen days? (answer: adult/child results)
Q32b. Have you ever been tested for Coronavirus (Covid-19) via a blood test (antibodies test)? IF SAMPLETYPE = 2 Q32b. Has [NAME] ever been tested for for Coronavirus (Covid-19) via a blood test (antibodies test)? (answer: adult/child results)

Panels E & F
In var_name.xlsx file: rename q32 to part_covid_test_recent instead of hhm_covid_test_recent

Panels E & F
In var_name.xlsx file: rename q32 to part_covid_test_recent instead of hhm_covid_test_recent


fix: Add bad_minutes to FormulaAndFunctionSLOMeasure

What does this PR do?

#2767
Addresses https://github.com/DataDog/terraform-provider-datadog/issues/2646
FormulaAndFunctionSLOMeasure is missing a new value (bad_minutes) that can be added via the datadog UI.
We hit this with the terraform provider not handling this new value well.
Additional Notes
N/A
Review checklist
Please check relevant items below:

[x] This PR includes all newly recorded cassettes for any modified tests.

[x] This PR does not rely on API client schema changes.

[ ] The CI should be fully passing.

[ ] Or, this PR relies on API schema changes and this is a Draft PR to include tests for that new functionality.

Note: CI shouldn't be run on this Draft PR, as its expected to fail without the corresponding schema changes.

Hi @jpd4emis, this is now complete:  https://github.com/DataDog/datadog-api-client-go/commit/893993b135c46d8d6e360ab6dfcf635b42c97e1f

@mmeyer724 any idea when the next release is going to get cut?
Once done I can start trying to get the terraform provider updated.


Add dependency installation instructions

Not all users know how to use pip's requirements.txt feature, so documenting it seems useful.

thanks again. sorry for being so late on these


MOAutocompleter - Remove unused params; remove primers not used by mobile app

This PR cleans up the MOAutocompleter's params, and the codebase that deals with autocompleters.

We don't use <datalist>, and won't, because it's not styleable (most importantly text size not adjustable)
We don't pass any primers anymore to the autocompleter, it's always fresh queries
We don't need to support browsers that can't do a scrollbar on the dropdown
We don't pass in any alternative separators (formerly referred to as tokens) to the autocompleters

Also removes unused code for Name, Location and User primers.
Keeps the AJAX primers for the mobile app.

coverage: 94.276% (+0.08%) from 94.196% when pulling c4d4b7cfbdb4bcbb4b73e461d4d7eefc18b3e9cd on nimmo-fix-obs-naming-autocompleters-and-title into 2ddf0c81d346f9331ee723dd700d3d0a5b6d3770 on main.


Improve upon Vim syntax highlighting

The original one was quite rough in more recent versions of the language, functions, macros and compiler builtins were being mixed and some keywords such as interface were missing. I've added the display modifier to (potentially) make matches faster and reorganized and adapted the highlight groups to reduce ambiguity. Some groups were re-named to better represent their purpose, if I forgot anything just let me know, but testing this in both Neovim and Vim9 it seems to work alright in the stdlib code

Thank you


Option to authenticate with Geocode Service

I'm attempting to geocode against a server that requires authentication, but the geocoder plugin doesn't seem to support an option for authentication. Am I misunderstanding the proper method?

which specific object in the constructor are you instantiating?
L.esri.Geocoding.Tasks.Geocode inherits from L.esri.Tasks.Task so you can call token('mytoken') prior to calling run() if you need to authenticate.

Ah, I didn't realize that. Thanks for the clarity, it helped considerably.


Enh/rewrite base code

Rewrite front with React/Redux and node 6
Upgrade ES version
Rewrite backend with Java 9

Not yet ready to be merged