fix(uat): resolve issue when control uses outdated address of restart

Issue #, if available:
resolve issue when control uses outdated address of restart
Description of changes:

Fix bug in control when agent is restarted
Add more tags in scenarios

Why is this change necessary:
'no local' feature should be tests
How was this change tested:
By running scenarios
Test results:
With sdk-java client
$ ./run_test_aws_T100_sdk.sh
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
[INFO ] 2023-05-19 18:14:58.694 [main] GreengrassContextModule - Extracting greengrass-nucleus-latest.zip into /tmp/gg-testing-15744393887570050675/greengrass
[INFO ] 2023-05-19 18:14:59.371 [main] LoggerSteps - OTF Version is otf-1.1.0-SNAPSHOT
[INFO ] 2023-05-19 18:14:59.371 [main] LoggerSteps - Attaching thread context to scenario: 'GGMQ-1-T100-sdk-java: Local broker supports 'no local' MQTT v5.0 feature'
[WARN ] 2023-05-19 18:14:59.495 [main] ProfileFileReader - Ignoring profile 'sso-session default' on line 7 because it did not start with 'profile ' and it was not 'default'.
[WARN ] 2023-05-19 18:14:59.495 [main] ProfileFileReader - Ignoring profile 'sso-session Developers-219258050757' on line 11 because it did not start with 'profile ' and it was not 'default'.
[WARN ] 2023-05-19 18:14:59.931 [main] ProfileFileReader - Ignoring profile 'sso-session default' on line 7 because it did not start with 'profile ' and it was not 'default'.
[WARN ] 2023-05-19 18:14:59.932 [main] ProfileFileReader - Ignoring profile 'sso-session Developers-219258050757' on line 11 because it did not start with 'profile ' and it was not 'default'.
[WARN ] 2023-05-19 18:14:59.988 [main] ProfileFileReader - Ignoring profile 'sso-session default' on line 7 because it did not start with 'profile ' and it was not 'default'.
[WARN ] 2023-05-19 18:14:59.988 [main] ProfileFileReader - Ignoring profile 'sso-session Developers-219258050757' on line 11 because it did not start with 'profile ' and it was not 'default'.
[WARN ] 2023-05-19 18:15:00.060 [main] ProfileFileReader - Ignoring profile 'sso-session default' on line 7 because it did not start with 'profile ' and it was not 'default'.
[WARN ] 2023-05-19 18:15:00.060 [main] ProfileFileReader - Ignoring profile 'sso-session Developers-219258050757' on line 11 because it did not start with 'profile ' and it was not 'default'.
[WARN ] 2023-05-19 18:15:00.409 [main] ProfileFileReader - Ignoring profile 'sso-session default' on line 7 because it did not start with 'profile ' and it was not 'default'.
[WARN ] 2023-05-19 18:15:00.410 [main] ProfileFileReader - Ignoring profile 'sso-session Developers-219258050757' on line 11 because it did not start with 'profile ' and it was not 'default'.
[INFO ] 2023-05-19 18:15:00.727 [main] AbstractAWSResourceLifecycle - Created IotPolicy in IotLifecycle
[INFO ] 2023-05-19 18:15:01.892 [main] AbstractAWSResourceLifecycle - Created IamPolicy in IamLifecycle
[INFO ] 2023-05-19 18:15:02.457 [main] AbstractAWSResourceLifecycle - Created IamRole in IamLifecycle
[INFO ] 2023-05-19 18:15:02.751 [main] AbstractAWSResourceLifecycle - Created IotRoleAlias in IotLifecycle
[INFO ] 2023-05-19 18:15:02.855 [main] AbstractAWSResourceLifecycle - Created IotPolicy in IotLifecycle
[INFO ] 2023-05-19 18:15:02.965 [main] AbstractAWSResourceLifecycle - Created IotThingGroup in IotLifecycle
[INFO ] 2023-05-19 18:15:03.440 [main] AbstractAWSResourceLifecycle - Created IotCertificate in IotLifecycle
[INFO ] 2023-05-19 18:15:03.527 [main] AbstractAWSResourceLifecycle - Created IotThing in IotLifecycle
[INFO ] 2023-05-19 18:15:03.662 [main] feature - Finished step: 'my device is registered as a Thing' with status PASSED
[INFO ] 2023-05-19 18:15:04.505 [main] DefaultGreengrass - Starting Greengrass on pid 301341
[INFO ] 2023-05-19 18:15:04.505 [main] feature - Finished step: 'my device is running Greengrass' with status PASSED
[INFO ] 2023-05-19 18:15:06.679 [main] AbstractAWSResourceLifecycle - Created S3Bucket in S3Lifecycle
[INFO ] 2023-05-19 18:15:11.794 [main] AbstractAWSResourceLifecycle - Created S3Object in S3Lifecycle
[INFO ] 2023-05-19 18:15:11.795 [main] RecipeComponentPreparationService - Uploaded /tmp/gg-testing-15744393887570050675/0dd49efd50564325f2ed/components/aws.greengrass.client.Mqtt5JavaSdkClient/aws.greengrass.client.Mqtt5JavaSdkClient.jar to s3://gg-0dd49efd50564325f2ed-gg-component-store/greengrass/artifacts/aws.greengrass.client.Mqtt5JavaSdkClient.jar
[INFO ] 2023-05-19 18:15:12.642 [main] AbstractAWSResourceLifecycle - Created GreengrassComponent in GreengrassV2Lifecycle
[INFO ] 2023-05-19 18:15:12.643 [main] RecipeComponentPreparationService - Created component aws.greengrass.client.Mqtt5JavaSdkClient:1.0.0-0dd49efd50564325f2ed from /greengrass/components/recipes/client_java_sdk.yaml
[INFO ] 2023-05-19 18:15:12.644 [main] feature - Finished step: 'I create a Greengrass deployment with components' with status PASSED
[INFO ] 2023-05-19 18:15:12.857 [main] EngineControlImpl - MQTT client control gRPC server started, listening on 39003
[INFO ] 2023-05-19 18:15:12.858 [main] MqttControlSteps - MQTT clients control started gRPC service on port 39003 addresses [<IP_ADDRESS>, <IP_ADDRESS>]
[INFO ] 2023-05-19 18:15:12.961 [main] AbstractAWSResourceLifecycle - Created IotPolicy in IotLifecycle
[INFO ] 2023-05-19 18:15:13.264 [main] AbstractAWSResourceLifecycle - Created IotCertificate in IotLifecycle
[INFO ] 2023-05-19 18:15:13.265 [main] AbstractAWSResourceLifecycle - Created IotThing in IotLifecycle
[INFO ] 2023-05-19 18:15:13.266 [main] feature - Finished step: 'I create client device "clientDeviceTest"' with status PASSED
[INFO ] 2023-05-19 18:15:13.361 [main] feature - Finished step: 'I associate "clientDeviceTest" with ggc' with status PASSED
[INFO ] 2023-05-19 18:15:13.378 [main] feature - Finished step: 'I update my Greengrass deployment configuration, setting the component aws.greengrass.clientdevices.Auth configuration to:' with status PASSED
[INFO ] 2023-05-19 18:15:13.380 [main] feature - Finished step: 'I update my Greengrass deployment configuration, setting the component aws.greengrass.client.Mqtt5JavaSdkClient configuration to:' with status PASSED
[INFO ] 2023-05-19 18:15:13.716 [main] AbstractAWSResourceLifecycle - Created GreengrassDeployment in GreengrassV2Lifecycle
[INFO ] 2023-05-19 18:15:13.716 [main] DeploymentSteps - Created Greengrass deployment: 3abbb31e-109f-4d19-bd8a-833a26ab0b76
[INFO ] 2023-05-19 18:15:13.716 [main] feature - Finished step: 'I deploy the Greengrass deployment configuration' with status PASSED
[INFO ] 2023-05-19 18:15:44.925 [grpc-default-executor-0] GRPCDiscoveryServer - RegisterAgent: agentId aws.greengrass.client.Mqtt5JavaSdkClient
[INFO ] 2023-05-19 18:15:45.017 [grpc-default-executor-0] GRPCDiscoveryServer - DiscoveryClient: agentId aws.greengrass.client.Mqtt5JavaSdkClient address <IP_ADDRESS> port 46875
[INFO ] 2023-05-19 18:15:45.019 [grpc-default-executor-0] EngineControlImpl - Created new agent control for aws.greengrass.client.Mqtt5JavaSdkClient on <IP_ADDRESS>:46875
[INFO ] 2023-05-19 18:15:45.062 [grpc-default-executor-0] MqttControlSteps - Agent aws.greengrass.client.Mqtt5JavaSdkClient is connected
[INFO ] 2023-05-19 18:15:53.151 [main] feature - Finished step: 'the Greengrass deployment is COMPLETED on the device after 300 seconds' with status PASSED
[INFO ] 2023-05-19 18:15:53.781 [main] MqttControlSteps - Discovered data for broker default_broker:
[INFO ] 2023-05-19 18:15:53.781 [main] MqttControlSteps - groupId greengrassV2-coreDevice-gg-0dd49efd50564325f2ed-ggc-thing with 1 CA
[INFO ] 2023-05-19 18:15:53.782 [main] MqttControlSteps - Core with thing Arn arn:aws:iot:eu-central-1:285891398846:thing/gg-0dd49efd50564325f2ed-ggc-thing
[INFO ] 2023-05-19 18:15:53.782 [main] MqttControlSteps - Connectivity info: id <IP_ADDRESS> host <IP_ADDRESS> port 8883
[INFO ] 2023-05-19 18:15:53.782 [main] MqttControlSteps - Connectivity info: id <IP_ADDRESS> host <IP_ADDRESS> port 8883
[INFO ] 2023-05-19 18:15:53.783 [main] feature - Finished step: 'I discover core device broker as "default_broker" from "clientDeviceTest"' with status PASSED
[INFO ] 2023-05-19 18:15:53.784 [main] MqttControlSteps - Creating MQTT connection with broker default_broker to address <IP_ADDRESS>:8883 as Thing gg-0dd49efd50564325f2ed-clientDeviceTest on aws.greengrass.client.Mqtt5JavaSdkClient MQTT v5
[INFO ] 2023-05-19 18:15:54.789 [main] AgentControlImpl - Created connection with id 1 CONNACK 'sessionPresent: false
reasonCode: 0
retainAvailable: true
maximumPacketSize: 268435455
wildcardSubscriptionsAvailable: true
subscriptionIdentifiersAvailable: true
sharedSubscriptionsAvailable: true
'
[INFO ] 2023-05-19 18:15:54.789 [main] AgentControlImpl - createMqttConnection: MQTT connectionId 1 created
[INFO ] 2023-05-19 18:15:54.789 [main] MqttControlSteps - Connection with broker default_broker established to address <IP_ADDRESS>:8883 as Thing gg-0dd49efd50564325f2ed-clientDeviceTest on aws.greengrass.client.Mqtt5JavaSdkClient
[INFO ] 2023-05-19 18:15:54.789 [main] feature - Finished step: 'I connect device "clientDeviceTest" on aws.greengrass.client.Mqtt5JavaSdkClient to "default_broker" using mqtt "v5"' with status PASSED
[INFO ] 2023-05-19 18:15:54.789 [main] feature - Finished step: 'I set MQTT5 'no local' to True' with status PASSED
[INFO ] 2023-05-19 18:15:54.790 [main] MqttControlSteps - Create MQTT subscription for Thing gg-0dd49efd50564325f2ed-clientDeviceTest to topics filter iot_data_0 with QoS 0
[INFO ] 2023-05-19 18:15:54.790 [main] AgentControlImpl - SubscribeMqtt: subscribe on connection 1
[INFO ] 2023-05-19 18:15:54.802 [main] MqttControlSteps - MQTT subscription has on topics filter iot_data_0 been created with reason code 0
[INFO ] 2023-05-19 18:15:54.803 [main] feature - Finished step: 'I subscribe "clientDeviceTest" to "iot_data_0" with qos 0' with status PASSED
[INFO ] 2023-05-19 18:15:54.803 [main] MqttControlSteps - Publishing MQTT message Test message as Thing gg-0dd49efd50564325f2ed-clientDeviceTest to topics filter iot_data_0 with QoS 0
[INFO ] 2023-05-19 18:15:54.803 [main] AgentControlImpl - PublishMqtt: publishing on connectionId 1 topic iot_data_0
[INFO ] 2023-05-19 18:15:54.814 [main] MqttControlSteps - MQTT message Test message has been succesfully published
[INFO ] 2023-05-19 18:15:54.814 [main] feature - Finished step: 'I publish from "clientDeviceTest" to "iot_data_0" with qos 0 and message "Test message"' with status PASSED
[INFO ] 2023-05-19 18:15:54.815 [main] MqttControlSteps - Awaiting for MQTT message Test message on topic iot_data_0 on Thing gg-0dd49efd50564325f2ed-clientDeviceTest for 10 seconds
[INFO ] 2023-05-19 18:16:04.816 [main] feature - Finished step: 'message "Test message" received on "clientDeviceTest" from "iot_data_0" topic within 10 seconds is false expected' with status PASSED
[INFO ] 2023-05-19 18:16:05.498 [main] DefaultGreengrass - Stopped Greengrass on pid 301341
[INFO ] 2023-05-19 18:16:06.038 [main] AbstractAWSResourceLifecycle - Removed GreengrassDeployment in GreengrassV2Lifecycle
[INFO ] 2023-05-19 18:16:06.235 [main] AbstractAWSResourceLifecycle - Removed GreengrassComponent in GreengrassV2Lifecycle
[INFO ] 2023-05-19 18:16:06.453 [main] AbstractAWSResourceLifecycle - Removed S3Object in S3Lifecycle
[INFO ] 2023-05-19 18:16:06.956 [main] AbstractAWSResourceLifecycle - Removed S3Bucket in S3Lifecycle
[INFO ] 2023-05-19 18:16:08.184 [main] AbstractAWSResourceLifecycle - Removed IamRole in IamLifecycle
[INFO ] 2023-05-19 18:16:08.684 [main] AbstractAWSResourceLifecycle - Removed IamPolicy in IamLifecycle
[INFO ] 2023-05-19 18:16:08.828 [main] AbstractAWSResourceLifecycle - Removed IotThing in IotLifecycle
[INFO ] 2023-05-19 18:16:09.084 [main] AbstractAWSResourceLifecycle - Removed IotCertificate in IotLifecycle
[INFO ] 2023-05-19 18:16:09.208 [main] AbstractAWSResourceLifecycle - Removed IotPolicy in IotLifecycle
[INFO ] 2023-05-19 18:16:09.326 [main] AbstractAWSResourceLifecycle - Removed IotThing in IotLifecycle
[INFO ] 2023-05-19 18:16:09.621 [main] AbstractAWSResourceLifecycle - Removed IotCertificate in IotLifecycle
[INFO ] 2023-05-19 18:16:09.695 [main] AbstractAWSResourceLifecycle - Removed IotThingGroup in IotLifecycle
[INFO ] 2023-05-19 18:16:09.816 [main] AbstractAWSResourceLifecycle - Removed IotPolicy in IotLifecycle
[INFO ] 2023-05-19 18:16:09.887 [main] AbstractAWSResourceLifecycle - Removed IotRoleAlias in IotLifecycle
[INFO ] 2023-05-19 18:16:10.026 [main] AbstractAWSResourceLifecycle - Removed IotPolicy in IotLifecycle
[INFO ] 2023-05-19 18:16:10.027 [main] AWSResourcesSteps - Successfully removed externally created resources
[INFO ] 2023-05-19 18:16:10.028 [main] MqttControlSteps - Agent aws.greengrass.client.Mqtt5JavaSdkClient is disconnected
[INFO ] 2023-05-19 18:16:10.033 [main] EngineControlImpl - gRPC MQTT client control server stopped
[INFO ] 2023-05-19 18:16:10.038 [main] LoggerSteps - Clearing thread context on scenario: 'GGMQ-1-T100-sdk-java: Local broker supports 'no local' MQTT v5.0 feature'
[INFO ] 2023-05-19 18:16:10.045 [main] StepTrackingReporting - Passed: 'GGMQ-1-T100-sdk-java: Local broker supports 'no local' MQTT v5.0 feature'
[INFO ] 2023-05-19 18:16:10.153 [Thread-1] AWSResourcesCleanupModule - Cleaned up com.aws.greengrass.testing.resources.greengrass.GreengrassV2Lifecycle$$EnhancerByGuice$$22480187@676356d2
[INFO ] 2023-05-19 18:16:10.153 [Thread-1] AWSResourcesCleanupModule - Cleaned up com.aws.greengrass.testing.api.device.local.LocalDevice@2fbe26da

Any additional information or context required to review the change:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

You have a PMD failure now.


Including extra metadata from search results into the dataframe

Is your feature request related to a problem? Please describe.
I want to filter simulations based on the time period. More specifically, I want to build a catalog of simulations available post 2100 and understand what kind of data coverage I'll get in terms of experiment_ids, source_ids, variables, etc.
Describe the solution you'd like
The esgf-search API supports temporal search using the start and end search parameters. See https://esgf.github.io/esg-search/ESGF_Search_RESTful_API.html#temporal-coverage-queries
Example query:
https://esgf-node.llnl.gov/esg-search/search?cf_standard_name=air_temperature&activity_id=ScenarioMIP&start=2101-01-02T00:00:00Z

I can pass start and end params to ESGFCatalog().search provided I enable at least one SolrESGFIndex node. However, the resulting DataFrame does not include the datetime_start and datetime_stop information, which are necessary to estimate how many years of simulations are available.
The facet extraction logic is in get_dataframe_columns, which cannot be easily modified by subclassing the SolrESGFIndex class.
A solution to this specific problem would be to add datetime_start and datetime_end to facets extracted from the response if search params include start or end.
A more generic solution would be give the user some manual control over extracted facets.
Describe alternatives you've considered
Another option would be to save the full search response document within the ESGFCatalog instance, over which user-defined functions could operate.

Thanks for this suggestion David. I am struggling to organize my thoughts and so here is a bit of a stream of consciousness:
For no particular reason, I included as dataframe columns the facets ESGF uses to uniquely define datasets. This is of course an artificial limitation. It isn't a big deal to include other columns by default--I just need to think about how to handle other projects that may not have those data in their records.
I would propose that we keep a configuration variable additional_df_cols which is a list of other metadata to extract from the response and include in the pandas dataframe. I would add the below in as defaults, but then the user could also set whatever else they want:
intake_esgf.conf.set(additional_df_cols=["datetime_start","datetime_end"])

Then I can remove any dataframe column that is all NaN/empty so it doesn't pollute the interface if the project does not contain that metadata in the records. Does that feel like a natural way to interact with the functionality?
However, I am not sure that what you propose to do will work because as I understand the records were not ingested to reflect proper datetime ranges. See this list of datetime_end facet values:
https://esgf-node.llnl.gov/esg-search/search?limit=0&facets=datetime_end
Unless I have misunderstood something, you will see that the latest entry is in the 1970's. Frankly, it is embarrassing to see the index in such a state. The good news is that, unofficially, ESGF is moving to STAC. We had a meeting last week about this and it means the whole index needs re-ingested. Personally I will scream and yell for this to get fixed.

I think your proposed solution makes sense. I would maybe add some way to show the list of available facets, so users have a sense of what they can ask for, and debug typos.
I'm confident it will ! You're just looking at the first "page" of facets, the full list has 15383515 entries.

Ah yes, there must be some limit to the facets that it will return, when I add an activity_id I see later dates:
https://esgf-node.llnl.gov/esg-search/search?type=Dataset&limit=0&activity_id=ScenarioMIP&facets=datetime_end
I can also make the Globus indices behave in the same way. They contain the same information, it is just that I didn't special case the datetime_XXX search facets to behave as the ESGF REST API. So it is looking at == implicitly instead of >=, etc..
I have a bit of a queue at the moment and need to catch up on other projects, but will get to this as soon as I can.

Added in #54


Add support for synchronous USART mode

Thanks for the review! Pushed new commits to address the comments. Should be good to go now.


brave: add support for command line arguments

Add formal argument commandLineArgs to the brave derivation and append it
to the gappsWrapperArgs expected by the wrapGAppsHook. This adds some
flexibility to the wrapper creation of brave, and aligns with customization
avalible in other chromium derivation.

Motivation for this change
Switches are ubiquitous in chromium distributions, they are used to toggle flags, features, prefs and settings.  Though all of the configurations mentioned can be enabled through the browser itself, a majority are automatically persistent across restarts and may be deprecated or changed which makes debugging and tracking configurations diffucult. Switches have all the capabilities of other configuration interfaces can be used for virtually any purpose, while being ephemeral which aligns with reproducibility aspects with Nix (i.e any number of transformation of switches ending with the same command line should exhibit the same behavior)
Users can still set configurations dynamically through the browser, but the addition of the commandLineArgs parameter allows users to pass switches to the brave wrapper itself without creating another derivation which just overwrites the wrapper using symlinkJoin or buildEnv.
Note I use switches here to refer to a subset of arguments prefixed with '-', '--' or '/' in line with definition by the chromium authors. Other arguments do not benefits as much from this change as they should usually be managed imperatively by the user.
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

I realize this PR is extremely similar to https://github.com/NixOS/nixpkgs/pull/115961, but I believe since we are already using a wrapper, it is easily to customize the wrapper hook itself than to vendor a distro-specific patch.

@michaeladler @r-ryantm I noticed you've contributed to Brave recently. Tagging you in hopes you can review this PR.

@haizaar LGTM, I've successfully tested your patch on my machine. In fact, I have a similar solution to pass commandline args to brave (a wrapper for the wrapper, so I don't have to touch nixpkgs), but yours is much cleaner of course. I don't have permission to merge this though, but you've got my thumbs up ;)

Thanks @michaeladler Do you know who would be the right person to ping to get this PR through?

Thank you @mkg20001 :clap:


Some features

Hi,
Changelog:

removed unused variables: Core.marker_text and few variables from method Core.add_network_to_map

minimal map size 320x240, default map size 640x480. I really need small size on my 10'1 netbook.

added verbose informations,

Client: stop
Loading networks.json. Please wait.
Total networks 134825
1943 networks added in 0.9sec, 132882 networks left

avoid queue and save, If you have big list of networks and  low value of autosave. As you can see only 970 networks was added with autosave and  7283 after fix.

413 networks added in 0.901sec, 123159 networks left
saving 134825 networks to /root/.kismon/networks.json
171 networks added in 0.901sec, 122988 networks left
404 networks added in 0.9sec, 122584 networks left
395 networks added in 0.902sec, 122189 networks left
saving 134825 networks to /root/.kismon/networks.json
387 networks added in 0.901sec, 121802 networks left

Fixed

388 networks added in 0.903sec, 122608 networks left
Cannot save networks - queue is running
416 networks added in 0.902sec, 122192 networks left
(...)
289 networks added in 0.901sec, 114909 networks left
Cannot save networks - queue is running
294 networks added in 0.904sec, 114615 networks left

Thanks, I only made a small change to write the networks when kismon gets closed.
https://github.com/Kismon/kismon/commit/f78fc0dae56989ca7787277cce0c57b7d41380da


Fix for_each_pixel for non 1d iterable views

References
Fix #620
Tasklist

[x] Add test case(s)
[ ] Ensure all CI builds pass
[ ] Review and approve

@mloskot When the tests pass, I know we are pretty late in the dev cycle of 1.77 but any chance that this could be merged to master for 1.77?

Some tests fails spurioulsy and generally unrelated to Boost.GIL, for instance clang/ubuntu reports:
/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/memory:200:16: error: no member named 'is_constant_evaluated' in namespace 'std'
      if (std::is_constant_evaluated())

or
error: toolset clang-linux initialization:
error: provided command '"clang++-9"' not found

@lpranam There seems to be an issue with the numeric extension though, MSVC complains:
D:\a\gil\boost-root\boost/gil/extension/numeric/kernel.hpp(126): error C2338: kernel must have size greater than 0

@mloskot How about this one 😀  ?

@mloskot @simmplecoder Any chance that this could be merged? It fixes a pretty annoying bug (silently returns the wrong result)...

Shoot, it's slipped through. Please, merge, of course.

@sdebionne

Some tests fails spurioulsy and generally unrelated to Boost.GIL, for instance clang/ubuntu reports:
/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/memory:200:16: error: no member named 'is_constant_evaluated' in namespace 'std'
      if (std::is_constant_evaluated())

I noticed the same issue using clang 8 but with cxxstd=2a
clang-linux.compile.c++ bin.v2/libs/filesystem/build/clang-linux-8/release/cxxstd-2a-iso/threading-multi/visibility-hidden/operations.o
In file included from libs/filesystem/src/operations.cpp:23:
In file included from ./boost/smart_ptr/scoped_ptr.hpp:22:
/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/memory:200:16: error: no member named 'is_constant_evaluated' in namespace 'std'
      if (std::is_constant_evaluated())
          ~~~~~^
1 error generated.

  "clang++-8" -c -x c++ -std=c++2a -fvisibility-inlines-hidden -fPIC -m64 -pthread -O3 -Wall -fvisibility=hidden -Wno-inline  -DBOOST_ALL_NO_LIB=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_FILESYSTEM_HAS_FDOPENDIR_NOFOLLOW -DBOOST_FILESYSTEM_HAS_INIT_PRIORITY -DBOOST_FILESYSTEM_HAS_STATX -DBOOST_FILESYSTEM_HAS_STAT_ST_BLKSIZE -DBOOST_FILESYSTEM_HAS_STAT_ST_MTIM -DBOOST_FILESYSTEM_SOURCE -DNDEBUG -I"." -I"libs/filesystem/src"   -o "bin.v2/libs/filesystem/build/clang-linux-8/release/cxxstd-2a-iso/threading-multi/visibility-hidden/operations.o" "libs/filesystem/src/operations.cpp"

...failed clang-linux.compile.c++ bin.v2/libs/filesystem/build/clang-linux-8/release/cxxstd-2a-iso/threading-multi/visibility-hidden/operations.o...

clang-8-cxxstd-2a.zip

Are these issues related to partially implemented std / standard library? Again I am super happy with all the work being done on the CI, this will make the project more attractive to users and developers.

Are these issues related to partially implemented std / standard library?

I'm not 100% sure, but looks like it.


Lode Runner: Mad Monk's Revenge

Project Link
https://mmr.quarkrobot.com/
Project License
closed-source, free
Steam App Ids
https://store.steampowered.com/app/628660/Lode_Runner_Legacy
Additional Context
There's no direct equivalent on Steam for Lode Runner: Mad Monk's Revenge Definitive Edition on Steam but Lode Runner Legacy is of the same series. Lode Runner: Mad Monk's Revenge Definitive Edition is entirely standalone. The original game is available on myabandonware.

@sybenx Thanks for the request, i'll look into it and get back to you when I have a chance

@sybenx Is there a way to play the content of the steam game with this standalone game? Mainly wondering due to seeing if these really apply to each other, since usually luxtorpeda games are supposed to be able to play the content of the steam game, not play a different game altogether.

This is a standalone game.

@sybenx Thanks for the issue, but since this game doesn't really apply to the steam game (as in you can't play the content for example), it does not really match with the end goals of the project.
If you'd like you can use the user-packages feature (https://github.com/luxtorpeda-dev/luxtorpeda#user-packages-override) to play the game yourself.


add Hyperledger Fabric Based Access Control

@ryjones closed PR #77, opened this one. DCO should be fine now. Thanks for the help.

This sure looks like something worthy of a hyperledger lab so I'm all for it but the description could be expanded a bit. What kind of access control and information are you talking about? Information stored where?
And I don't think you only mean "to discourage unauthorized accesses", do you? Don't you rather mean "prevent"??

@lehors Thank you for your feedback. I have expanded the description a bit, hope it's clearer now.
This project aims to mediate the access control flow coming from a centralized system. Therefore, it does not prevent completely unauthorized accesses. This tackles the use case where a user can access a different set of files, but should only do that in certain circumstances. On the other hand, it discourages illicit accesses, as the system administrators are not able to tamper the access logs (if applicable). This way, a user can not refute his or her access requests.
If that does not answer your questions, please let me know!

@tkuhrt, @vipinsun if you have any queries, please let me know.

Thanks for the explanation. +1 for me.

+1 from me as well.

@tkuhrt @vipinsun is there anything missing?
Thanks in advance!

@tkuhrt @vipinsun is there anything missing?
Thanks in advance!

Hi,
Although you gave @lehors  an explanation; I still find the lab description opaque. Are you going to follow the design in the second paper (Maesa, Mori & Ricci)w.r.t implementing ABAC using smart contracts. Please refer to this and make the lab description clearer. It is a good project to clear the thinking on ABAC, especially if you can record the Attributes, The rules etc in Smart Contracts/coupled with the ledger itself mediated by the Access management smart contract. I could not understand how this system will help (is this purely for auditing purposes) or will it also function as the Policy Enforcement Point? Are you going to use ABAC or some other scheme. Making these clearer will be beneficial for people who want to engage with this lab.
Vipin
Is there existing code? And is Ry the sponsor?

@vipinsun thank you for your feedback.
This project is in the context of the Hyperledger Summer Internship program. The project plan is not completely defined yet.
Our work will be based on Maesa et al., directed to the context of Hyperledger Fabric.
This system enhances auditability and access control policy enforcement, as it embeds the Policy Decision Point and Policy Information Point. The Policy Enforcement Point is case-dependent, although we can try to create an abstraction on top of Fabric to try to standardize it. We are probably going to use ABAC, as allows fine-grain control, but other options can be taken. We are still researching.
More than auditability, this project allows decentralizing the access control process, while having the necessary privacy measures, if needed. This is particularly useful in a scenario with multiple stakeholders involved (i.e. different public organizations), using one information system.
We are going to maintain a detailed wiki with the design decisions and an updated project plan, for transparency and auditability. Any opaqueness results from on-going decisions.
@ryjones volunteered to sponsor our lab. There is no code yet, as we are currently researching.
Hope this clarifies. In case of any doubt feel free to ask.
Thanks,
Rafael


Cannot redeclare set() function

Seems like deployer/src/functions.php are colliding with Laravel functions like set(), env() and probably other.
Fatal error: Cannot redeclare set() (previously declared in /Users/aleksander/php/proj/vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest.php:455) in /Users/aleksander/php/proj/vendor/deployer/deployer/src/functions.php on line 420

Yes, this bug already known, will be fixed in v4, now you can use phar archive.


Multi Wan- switching GW and static route

18.1.12 -  still does not work
18.7.r1 -still does not work
I want add static route and multiwan (Please correct me if I was this wrong). My steps:

Add 3 Gateway (System - Gateway -> ALL -> Single)
WAN_PPPOE - Main GW
Gateway_2 - Backup GW
Serwer_OpenVPN_GW - For static route (route one subnet)
Add GW group for multiwan (System - Gateway -> ALL -> Group)
WAN1 - Tier1
WAN2 - Tier2
Serwer_OpenVPN - Tier-Never
Add static route for openvpn subnet (System -> Configuration -> Route - Add)
Add Firewall rule for static route and for multiwan rule

When WAN pppoe is down and firewall option > Default gateway switching is enebled the routes looks:
ipv4	default	<IP_ADDRESS>	UGS	85	1500	em0	lan
ipv4	<IP_ADDRESS>/29	link#10	U	61557	1500	em0_vlan100	WAN2
ipv4	<IP_ADDRESS>	link#10	UHS	0	16384	lo0
ipv4	<IP_ADDRESS>	link#7	UH	49857	16384	lo0
ipv4	<IP_ADDRESS>/26	link#11	U	0	1500	em0_vlan10	MGM_ZONE
ipv4	<IP_ADDRESS>	link#11	UHS	0	16384	lo0
ipv4	<IP_ADDRESS>/26	link#12	U	69	1500	em0_vlan11	SRVALL_ZONE
ipv4	<IP_ADDRESS>	link#12	UHS	0	16384	lo0
ipv4	<IP_ADDRESS>/24	<IP_ADDRESS>	UGS	0	1500	em0	lan
ipv4	<IP_ADDRESS>/24	link#1	U	9290	1500	em0	lan
The default gateway set to Serwer_OpenVPN gate not to  Gateway_2.
This couse that opnsense has no internet connection (I think output trafiic goes through default GW in this example through Server_OpenVPN_GW)
On station there is internet connection, becouse traffic goes through Gateway_2 (set Gateway to Group_WAN in firewall LAN zone).
I think it is not normal behavior. (Default gateway must be chosen from WAN_GROUP (Tier1-Tier5)

Default gateway switching does not use gateway groups. RC2 will have a fix where you can disable your gateway or set it to "force down" in order to skip the gateway switching to that particular gateway.

When "Default gateway switching" not thick multiwan not work.
After MainGate down the workstation on LAN don't have internet connection.
DNS resolve ok but:
ping google.com
google.com [<IP_ADDRESS>] z 32 data byte:
Answer <IP_ADDRESS>: Destination host not reachable
Answer <IP_ADDRESS>: Destination host not reachable
Answer <IP_ADDRESS>: Destination host not reachable

Please take a look at https://docs.opnsense.org/manual/how-tos/multiwan.html

I do this from that How'to.

Sorry, I cannot give setup support on my open source clock. You could try the forum instead. https://forum.opnsense.org/

OK. Thank you for your answers.

For local sevices like Openvpn Client you can only have two stable WAN since there is No method to stage Gateway priority. It only works for traffic going through the Firewall.
As said there will be an option to disable such gateways


Feature mipmapping

Added a simple mipmapping implementation to the texture pool class. Not the most optimal implementation as Jeremiah said. It doesn't handle all use cases yet, will probably be refactored later if needed.

Applied the changes requested. New review needed


We can't post the rating yet, it does not work

When submitting the salary the rating selector does not seem to work

i taked this issue because i had planned to make a small refacto

I had already worked on it here #105, you can refactor if you don't mind..


CI additional formatting checks

Hmm, I fail to understand why a deployed, binary version of SimpleFormatterTool was introduced (as of commit https://github.com/google/startup-os/pull/138/commits/a0ff865496c61b629bd7a79ba3afbe839e610986) and then the source code for SimpleFormatterTool was in turn apparently removed.
Does this not make SimpleFormatterTool very difficult to build again and audit if/when needed? :thinking:

Oops, sorry, SimpleFormatterTool actually still exists as of commit https://github.com/google/startup-os/pull/138/commits/6f1aecf43ecfe4fc865682975cbd0ddbbc013683. Apologies for the noise! :bowing_man:


feat(RegularGrid2DInput): Added the import of png and jpg image files…

… as RegularGrid2D.

@MelchiorSchuh we need to add license information in the COPYLEFT. Libpng, libjpeg and CImg

:tada: This PR is included in version 5.23.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add getAttestationPolicy, setAttestationPolicy, and resetAttestationPolicy.

Added the Attestation Policy family of APIs.
This pull request adds the attestation family of APIs - a new AttestationAdministrationBuilder which builds the attestation administration API clients: AttestationAdministrationClient and AttestationAdministrationAsyncClient.
Currently the clients implement 3 sets of APIs: getAttestationPolicy, setAttestationPolicy and resetAttestationPolicy.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[X] CHANGELOG is updated for new features, bug fixes or other significant changes.
[X] I have read the contribution guidelines.

General Guidelines and Best Practices

[X] Title of the pull request is clear and informative.
[X] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[X] Pull request includes test coverage for the included changes.

API changes have been detected in com.azure:azure-security-attestation. You can review API changes here

API changes have been detected in com.azure:azure-security-attestation. You can review API changes here

API changes have been detected in com.azure:azure-security-attestation. You can review API changes here

API changes have been detected in com.azure:azure-security-attestation. You can review API changes here

API changes have been detected in com.azure:azure-security-attestation. You can review API changes here

API changes have been detected in com.azure:azure-security-attestation. You can review API changes here

/azp run java - attestation - tests

/azp run java - attestation - tests

/azp run java - attestation - tests

/azp run java - attestation - tests

/azp java - attestation - tests

/azp run java - attestation - tests

/azp run java - attestation - tests

/azp run java - attestation - tests

custom-types: AttestationType,PolicyModification,CertificateModification

I do not see these types being added to the models namespace? Did you regenerate the code after these updates?

Refers to: sdk/attestation/azure-security-attestation/swagger/autorest.md:31 in da44c8d. [](commit_id = da44c8d389348e76e7748080e5fa8ae88e40c118, deletion_comment = False)

custom-types: AttestationType,PolicyModification,CertificateModification

I do not see these types being added to the models namespace? Did you regenerate the code after these updates?
Refers to: sdk/attestation/azure-security-attestation/swagger/autorest.md:31 in da44c8d. [](commit_id = da44c8d, deletion_comment = False)

They were already there in the models namespace (my current "models" directory is a copy of the generated models directory so it has a bunch of cruft in it that isn't strictly necessary).
This line removes them from the implementation\models directory.

API changes have been detected in com.azure:azure-security-attestation. You can review API changes here


FulltextSearchable & Fluent dev/build error

Heya, I'm experiencing some pain whilst trying to add FulltextSearchable::enable(); with the Fluent module also enabled. When running dev/build I'm receiving numerous errors surrounding InnoDB supporting one fulltext index creation at a time. Has anyone else run into this or have a solution?
The summary of the build error is as follows:
PHP Fatal error:  Couldn't run query:
ALTER TABLE "SiteTree" ADD fulltext "SearchFields_en_NZ" ("Title_en_NZ","MenuTitle_en_NZ","Content_en_NZ","MetaDescription_en_NZ"),
ADD fulltext "SearchFields_mi_NZ" ("Title_mi_NZ","MenuTitle_mi_NZ","Content_mi_NZ","MetaDescription_mi_NZ"),
ADD fulltext "SearchFields" ("Title","MenuTitle","Content","MetaDescription")

InnoDB presently supports one FULLTEXT index creation at a time in /home/vagrant/Development/Sites/cancer-society/framework/model/MySQLDatabase.php on line 598

in FulltextSearchable::enable it sets the table type to MyISAM. Are you using mysql 5.6 or above?

Closing due to inactivity, feel free to reopen if this is still a problem


Adding WindowAi to LLMs

Context:
-WindowAI is a 'bring your own api key' browser extension - site: windowai.io

Latest windowai browser extension always available at: https://drive.google.com/uc?id=1ExPZuW_rl_RMSGLDcBLdBMVmganecZoq&export=download.
how to install this chrome extensions (load unpacked): https://developer.chrome.com/docs/extensions/mv3/getstarted/development-basics/#load-unpacked

Changes in this PR:

New WindowAi.ts class in src/LLMs

To do:

Add src/LLM/windowai.int.test.ts test file

@n2nco going to close this as stale, if you'd still like to get this in please re-open (with the integration in @langchain/community instead of langchain and I'll review!


Start a job defined in java (programatic) using Rest API

Hi, i like to start using rest api (jbarret-rest), but this not woks for Programatic jobs
curl -X 'POST' \
  'http://localhost:8080/jobs/programaticJob/start' \
  -H 'Content-Type: application/json' \
  -d '{
        "myTestCase" : "SUCCESS"
  }'

16:45:19 WARN  [or.jb.rest-api] (executor-thread-1)  JBERET070500: Exception occurred when accessing JBeret Rest API:: jakarta.batch.operations.NoSuchJobException: Job with xml name programaticJob was not found
My class
import org.jberet.job.model.Job;
import org.jberet.job.model.JobBuilder;
import org.jberet.job.model.StepBuilder;

import jakarta.enterprise.context.Dependent;
import jakarta.enterprise.inject.Produces;
import jakarta.inject.Named;

@Dependent
public class ProgramaticJob {

        public static final String JOB_NAME = "programaticJob";

        @Produces
        @Named(JOB_NAME)
        public Job create() {

                // Mais exemplos:
                // https://jberet.gitbooks.io/jberet-user-guide/content/programmatic_job_definition_with_java/

                String batchlet1Name = "demoJobStep";

                return new JobBuilder(JOB_NAME)
                                .restartable(false)
                                .property("myTestCase", "SUCCESS")

                                .step(new StepBuilder("step-01")
                                                .batchlet(batchlet1Name, new String[] { "myTestCase", "SUCCESS" })
                                                .nextOn("*").to("step-02")
                                                .build())

                                .step(new StepBuilder("step-02")
                                                .batchlet(batchlet1Name, new String[] { "myTestCase", "DELAY" })
                                                .stopOn("STOP").restartFrom("step-01").exitStatus()
                                                .endOn("END").exitStatus()
                                                .failOn("FAIL").exitStatus()
                                                .build())

                                .build();
        }

}

I believe that JBeret does not support Job creation using CDI. At least nothing in the docs indicates that: https://jberet.gitbooks.io/jberet-user-guide/content/programmatic_job_definition_with_java/. We can certainly add such capability.

I think that is easy to add this support in quarkus side.
Only add
Job programaticJob = CDI.current()
                    .select(Job.class, NamedLiteral.of(jobName))
                    .get();

long executionId = jobOperator.start(programaticJob, jobParameters);

On class
https://github.com/quarkiverse/quarkus-jberet/blob/main/core/runtime/src/main/java/io/quarkiverse/jberet/runtime/QuarkusJobOperator.java#L65

I believe it would be better to add them with the rest of the XML jobs here:
https://github.com/quarkiverse/quarkus-jberet/blob/0c96560192c20c605a9ef63f0473f1d7511fc53f/core/runtime/src/main/java/io/quarkiverse/jberet/runtime/JBeretRecorder.java#L36-L60
Would you like to try sending a PR? :) Thanks!

I'm trying to validate if JBeret can replace Spring Batch...
I'm still testing and I'm having difficulty using JBeret in some scenarios...
For example, I was unable to stop a JOB. After trying for a long time, I discovered that it is related to activating jpa for batches, somehow this interferes and it is not possible to stop the JOB.

I'm sending a small example highlighting this problem.
Test by enabling/disabling the datasource, and you will see that the stop does not work if it is enabled.
After calling rest API : /jobexecutions/151/stop, the job keep kurring if JPARespository is enabled for job

I also did a small Junit test to check: mvn test -Dtest=ChunkStopTest
issues-sample.zip

I'll have a look.

It seems that the jpa repository, queries the database to retrieve the execution instead of reusing the cached one that the jobcontext uses to signal state changes.
This needs to be fixed at https://github.com/jberet/jberet-jpa-repository.
I recommend changing to the jdbc repository type, which works as expected.


Add PROFILE.md

Change welcome for Güelcome and add profile name

I have created a new branch. new file and made a commit!


Uniform lists for posts/discussions/groups etc.

Best to have at least some uniformity 😄

more details?

Well for one I'm using the Bootstrap list groups instead of the panel body for most of the project, but am using list groups within the panel body elsewhere on the project. This just needs cleaning up so it is uniform 😄

Decided I'll fix this in #100


BACK-1274: Require units for Knob.Duration strings

Add a test in testDurationKnob (that expects exception)?

Done 👍

Can I assume you'll take care of publishing the new java-client jar (I'm not even sure what the process is) and updating scalyr-parent to use the new lib? 😄

Yup! I've done this before :)
@goldfrapp04 ready for another look 👀

Add a test in testDurationKnob (that expects exception)?

also known as a "negative test" =)


Built results misses some unocss styles.

Describe the bug
Built results missed some unocss styles.
To Reproduce
Please follow this repo: https://github.com/mosuzi/vue3-slidev.
Runpnpm dev:

But run pnpm build

See, the position of the github icon is different because of some unocss styles missing.
Desktop (please complete the following information):

OS: Windows 11
Browser: Chrome 123.0.6312.122
Slidev version: 0.49.0-beta.4

The problem is that md is not included in your uno.config.ts:
  content: {
    pipeline: {
      include: [/\.(css|postcss|sass|scss|less|stylus|styl)($|\?)/, /\.(vue|ts|md)/]
//                                                                            ^^^ Add this
    }
  }

Thanks a lot!!!


function for listing all components

like bower ls hav something like yo kickstart:ls that lists all components in app/

ls -al components/app/


Consent V3

Part of https://github.com/xmtp/libxmtp/issues/801
This adds the ability to get and set consent records in V3
Dual sends so we are always setting both V2 and V3 consent. And adds a check to see if a V2Client is present to support pure V3 clients.

iOS
Android


Hard to distinguish form fields

I almost didn’t notice the form fields in the demo. When the form fields are not focussed in the browser they have no outline/border and are only distinguished from the website by their background colour. But the element background colour is extremely close to the page background colour.

Mode
Page Background
Element Background
Contrast Ratio

Dark
#000000
#111111
1.11

Light
#FFFFFF
#F6F8FA
1.06

There should be some form of form element indication in place at a higher contrast. Possibly just the border around it.

:+1: Will be fixed in 1.1.0.


RO terms that don't normalize

The Edge Normalization service tries to find a biolink model term that can be used for the possibly more specific curie input.  The first thing we do is check slot_uri and mappings, to see if we find any exact matches.  Failing that, if the input is an RO terms, we start moving up to RO superproperties looking for a match in biolink.
However, not everything in RO comes together into a very generic "related_to" apex (while in biolink model it does).   So that means we get up to the top of an RO branch and still never find a biolink model match.  For edge normalization, we just return "related to" and call it a day, but the question remains: should any of these terms have direct mappings into biolink model?
Attached is a file of all the RO properties that don't biolink-normalize easily.  Can we determine whether any of them should be mapped to existing or new biolink model slots?
RO_with_names.txt

@mbrush @cmungall do you think this is something we could do in the prototype phase?


fix #82 Nest 8 bug.

This fixes the bug with ModuleRef on Nest 8. #82

Please accept this pull request as soon as possible.

@skunight could you check this for us?

+1

I solved my problem by updating the repository to "nestjs-redis": "git+https://github.com/GyanendroKh/nestjs-redis.git#nest8-fix", in my package.json

+1

+1

+1

+1

😬

+1

@skunight Could you please check & merge this for us ? Thanks

@skunight are you looking for maintainers?

👏🏼👏🏼👏🏼👊🏼🚀

Wait for publishing.

Wait for publishing.

Wait for publishing.

Wait for publishing.

Wait for publishing.

Wait for publishing.


Backmerge vercel deployment fix

Description :
We recently merge https://github.com/scaffold-eth/scaffold-eth-2/pull/757, let backmerge it  in all challenges also remove #91 from challenge 0

We should merge https://github.com/scaffold-eth/scaffold-eth-2/pull/780 instead

Completed!


Use a responder struct

Currently every response is formatted independently
I think it would be better to implement a struct to do this.

What do you mean by a "responder struct"?

pub enum RedisResponse {
    Integer(u32),
    SimpleString(String),
    BulkString(String),
    Array(Vec<RedisResponse>),
}

impl RedisResponse {
    fn respond(&self) -> Vec<u8>{
        match data {
            ...
        }
    }
}

This way no matter what the response type is, the handling of the formatting of the response delegated to the Respond function and away from the logic of the other commands.

I agree with that. It will be clearer for everyone

#47


Support querying remote servers using non-pickle formats

I'm building a 2-tier Graphite architecture where I have a number of machines running carbon-cache/relay, etc. with the graphite-web part running separately and aggregating across the machines. Given I didn't really care about having a UI on each individual machine, I thought I could get away with just running Graphite API there and only running the full-blown graphite-web piece on the aggregating machine.
However graphite-web insists on always using pickle format when querying the remote CLUSTER_SERVERS according to this line; I only got as far as debugging the /metrics/find/ which returned no metrics so I couldn't try rendering any graphs, I'm guessing the rendering is also affected. Graphite API doesn't support the pickle format and only returns JSON.
Would it make sense to allow JSON format too for interoperability? At least it seems to be a case of not adding the format=pickle query parameter and then handling JSON-formatted results instead of pickled ones.

It would be far better to support protobufs or something similarly efficient. JSON is far too inefficient for inter-node data transfer imho. See https://github.com/graphite-project/carbon/issues/275 and https://github.com/graphite-project/carbon/pull/601 for related discussions.

Those tickets seemed more towards changing the line receiver/pickle protocol used  for metric ingestion/relaying. I was talking about the interaction between clusters/hierarchies of frontend apps.
Currently I can use Graphite API which doesn't know how to talk to other instances of itself or Graphite web, but it's currently impossible to mix them as neither can agree on a compatible format.
I've worked around it by just running Graphite web everywhere but it's probably overkill on the machines that don't need it.

Yes, I was just giving that as an example. JSON is a horribly inefficient format for exchanging data between nodes.

Don't get me wrong, I'm not a JSON hater. I just don't think it's appropriate for this use case.

That said, if someone wants to add JSON support and show benchmarks to support its inclusion, I'd be happy to consider the related PRs.

I just don't think it's appropriate for this use case.

It's how every other (non-Python) dashboard/frontend talks to Graphite :wink: Graphite web serves JSON content fine, it just won't ever request it from a peer.
I'll see what I can do.

Yeah but that's a 1:1 query. We're talking backend clusters which are by nature one-to-many.


Replace character-literal declarations with string

http://stackoverflow.com/a/16641934
Using ?; instead of ";" obscures intent and isn't doing us any
favors in terms of performance, since the literal is represented as a
string.
This commit removes all occurrences.

merged in https://github.com/thoughtbot/ember-cli-rails/commit/f1d32e6a244f8249bd2f6f7eead0c85810a5f6f8


Import doesn't work neither with .pdf nor .png files

I tryed several attempts to import a pass, but didn't succeed. From error log, there is nothing useful to find out the error, it only states "Pass open failed: []".

Thanks for the feedback. The app does not support importing PDF or PNG files. It only works with passes in .pkpass format (Apple PassKit).

Sorry maybe I didn't understand the purpose of this app in the very first place. However, maybe it's just because I'm not familiar with .pkpass format, something I don't understand: I only own a UT device, never owned an Apple device and never I will. So, what a user like me would care about a format released by Apple? How can I use a pass to be shown in your app, exclusively for Ubuntu Touch devices? Is this format possible to be generated somehow? Thank you for your understanding and for your great job with this. Matteo

Well, the thing is, that most ticket providers (airlines, cinemas, ...) provide passes for their uses in .pkpass format. This allows users with iPhone devices to add the passes to their wallet app. Actually, most providers provide the tickets as .pkpass for iPhone as well as some other format for Android wallet.
So while this format is released by Apple, it is widely used. With this app, you can add those kind of passes to your UT device. For example, if you book a flight, the airline will usually provide a download link to a .pkpass file for the boarding pass, usually labeled with something like "Add to iOS wallet". You can then download this file and add it to the Passes app.

Thanks for your kind explanation. Now it's all understood. Will follow further development of this app ;) Cheers. Matteo


Error export

First of all, thank you for the app, it's amazing, good Job.
When I try to export to any kind of format, the app crash:
Error: Can't find the file.
I think the problem is that it's trying to find the file instead of create it.
If you want, I'd like to help you with some code and ideas.
Thank you!!

the error is from the savefiledialog component, windows antivirus (access control), permission denied, wrong message on save.
Nothing to do


Execute delayed configuration closures only once.

Expected Behavior
Closures used to delay configuration of task properties should only be executed once, not multiple times.
Current Behavior
Depending of the task and property that is configured, the closure is executed up to four (4) times (for Copy.from when not upto-date).
Context
Delayed configuration is often used to avoid expensive operations during configuration phase, so it should not cause those operations to be executed multiple times.
Steps to Reproduce (for bugs)
Unzip gradle_bug.zip, run gradle wrapper, gradlew copy, gradlew clean and see duplicated output.

Hi @mkmaier, thank you very much for your report.
as a workaround, you could move your expensive calculation into a so called configure task, which configures the copy task. You may be able to use memoization to store the result of your expensive calculation.
If you try out your example project with Gradle 4.4, then you see that into closure is printed 10 times, as opposed to the 3 times with Gradle 4.5.1. We actually improved in this area.
While I understand that you expect your configuration closure to only be executed once, Gradle needs to evaluate the inputs at different times:

when determining the dependencies of the task graph
just before executing the task to determine the actual inputs
the task itself evaluates the configuration when it executes, too.

We cannot just assume that the property does not change between building the task graph and actually running the task mostly for backwards compatibility and since some use cases require changing the configuration at runtime (like configure tasks).
We also don't adjust the task implementation in a way that it would use the evaluated configuration we tracked for incremental build.
So it seems like three times would be the minimum for now.
To sum up: Gradle could do better, but it is not trivial. If you have some ideas how to make this better, please provide comments on this issue or a pull request.

Thank you for your quick and comprehensive response, @wolfs!
I do not see any noticeable performance problems, since we mostly have resolves and maybe a zipTree in our config closures, both of which should be cacheable, but I assumed (wrongly, as it turns out) that the closures would be "performance critical" (and thus should only be executed once).
Looking for documentation, I could only find a short post by Mr. Haki and several forum mentions, but no authoritative explanation. Maybe the user documentation should be extended with an explanation of the various lazy configuration techniques, or it should be made easier to find if it is there.
I'd be willing to write something up for you to extend/correct if necessary, if you could point me at the right place to do this.

@mkmaier Thank you for your offer to write something up! https://docs.gradle.org/current/userguide/lazy_configuration.html seems like a good URL, the fact about the number of times a lazy property is evaluated applies to Providers, too.
You can either provide a PR or write something up and post it as a comment to this issue and then we can find a good place in the user guide for the content.

According to my test in #5301, property closure was called once in Gradle 4.2.1, and that was changed in 4.3 RC 1.
So, it was a bug in 4.2.1, and now everything works correctly?

@grv87 Looks like we need to call the Closure for a property registered via the runtime API once more for validation in ValidatingTaskExecuter. That is unnecessary. We may fix this in a future Gradle release.


Requirement: What kind of object do you want me to generate?

Leave your requirement here. I will take some time to implement and upload the corresponding configuration files for you to reproduce.

I would like the ability to have high quality model with normals, proper lighting, and proper texturing.

I would like the ability to have high quality model with normals, proper lighting, and proper texturing.
Sorry, I may not have expressed myself clearly. What I mean is, when you can't adjust it yourself, I can try to help you adjust the parameters. For example, if you want to generate 'A blue tup' but fail, I can try to help you adjust the parameters and upload the relevant configuration files.

Sorry, I may not have expressed myself clearly. What I mean is, when you can't adjust it yourself, I can try to help you adjust the parameters. For example, if you want to generate 'A blue tup' but fail, I can try to help you adjust the parameters and upload the relevant configuration files.

Prompt: "a hamburger", "an astronaut riding a horse"
I would like to run on a single GPU, thank you!

Hi, @bennyguo !  I have preliminarily generated it under the resolution of 128, and tomorrow I will release a more detailed object under the resolution of 256.

Prompt: "A metal five-pointed star decoration"
I have tried this prompt with configs like the car demo.  However, I always get the result like

But what I want is like this (I tried the prompt in Stable Diffusion Text2Img)

How can I adjust the config to get a better result?

I am trying "A northern cardinal with wings spread out" starting with ellipsoid but after 500 iterations, the outputs turn from ellipsoid to pure noise. I am training on 3 A100s with a total of 12 batch size (4*3). This is the config I am using:
{
"mode": "geometry_modeling",
"sdf_init_shape": "ellipsoid",
"sdf_init_shape_scale": [0.5, 0.5, 0.5],
"translation_y": 0,
"random_textures": true,
"iter": 3000,
"coarse_iter": 1500,
"save_interval": 100,
"train_res": [512, 512],
"batch": 4,
"dmtet_grid" : 256,
"display": [{"bsdf" : "normal"}],
"train_background": "black",
"validate" : true,
"mesh_scale" : 2.6,
"out_dir": "cardinal_geometry",
"text" : "A northern cardinal with wings spread out",
"seed" : 0,
"add_directional_text": true,
"camera_random_jitter": 0.45,
"fovy_range": [25.71, 45],
"elevation_range": [-10, 45],
"guidance_weight": 100
}
Please let me know if this can be fixed. Thank you!


python3.pkgs.fiona: relax build dependencies

Description of changes
Since https://github.com/NixOS/nixpkgs/pull/248866, this package no longer builds because it enforces stronger build-time dependency validation. These issues have been fixed upstream but are combined with other changes and have not yet been released, so I chose to patch the dependency constraints in postPatch.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Thank you for the fix @tjni


Crash while trying to open a submission link

Describe the bug
Just tried to open a given link in the browser with the o key and it crashed.
Describe your environment

Mac OS 10.15.2
Default browser is Safari

Stack trace
rtv version: rtv 1.27.0
rtv module path: /usr/local/Cellar/rtv/1.27.0_1/libexec/lib/python3.8/site-packages/rtv/__main__.py
python version: 3.8.1 (default, Dec 27 2019, 18:06:00)  [Clang 11.0.0 (clang-1<IP_ADDRESS>)]
python executable: /usr/local/Cellar/rtv/1.27.0_1/libexec/bin/python3.8
praw version: packaged, commit 1656ec224e57
locale, encoding: C/UTF-8/C/C/C/C, UTF-8
Environment Variables
  BROWSER         :
  DISPLAY         :
  EDITOR          : vim
  LANG            :
  PAGER           : less
  RTV_BROWSER     :
  RTV_EDITOR      :
  RTV_PAGER       :
  RTV_URLVIEWER   :
  TERM            : screen-256color
  VISUAL          :
  XDG_CONFIG_HOME :
  XDG_DATA_HOME   :

Traceback (most recent call last):
  File "/usr/local/Cellar/rtv/1.27.0_1/libexec/lib/python3.8/site-packages/rtv/__main__.py", line 255, in main
    page = page.loop()
  File "/usr/local/Cellar/rtv/1.27.0_1/libexec/lib/python3.8/site-packages/rtv/page.py", line 94, in loop
    self.controller.trigger(ch)
  File "/usr/local/Cellar/rtv/1.27.0_1/libexec/lib/python3.8/site-packages/rtv/objects.py", line 604, in trigger
    return func(self.instance, *args, **kwargs)
  File "/usr/local/Cellar/rtv/1.27.0_1/libexec/lib/python3.8/site-packages/rtv/subreddit_page.py", line 185, in open_link
    self.term.open_link(data['url_full'])
  File "/usr/local/Cellar/rtv/1.27.0_1/libexec/lib/python3.8/site-packages/rtv/terminal.py", line 453, in open_link
    self.open_browser(url)
  File "/usr/local/Cellar/rtv/1.27.0_1/libexec/lib/python3.8/site-packages/rtv/terminal.py", line 615, in open_browser
    p.start()
  File<EMAIL_ADDRESS>line 121, in start
    self._popen = self._Popen(self)
  File<EMAIL_ADDRESS>line 224, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File<EMAIL_ADDRESS>line 283, in _Popen
    return Popen(process_obj)
  File<EMAIL_ADDRESS>line 32, in __init__
    super().__init__(process_obj)
  File<EMAIL_ADDRESS>line 19, in __init__
    self._launch(process_obj)
  File<EMAIL_ADDRESS>line 47, in _launch
    reduction.dump(process_obj, fp)
  File<EMAIL_ADDRESS>line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'Terminal.open_browser.<locals>.open_url_silent'

rtv has crashed. Please report this traceback at:
https://github.com/michael-lazar/rtv/issues

Same here. Using lynx on OSX 10.15.3.
rtv version: rtv 1.27.0
rtv module path: /usr/local/Cellar/rtv/1.27.0_1/libexec/lib/python3.8/site-packages/rtv/__main__.py
python version: 3.8.1 (default, Dec 27 2019, 18:06:00)  [Clang 11.0.0 (clang-1<IP_ADDRESS>)]
python executable: /usr/local/Cellar/rtv/1.27.0_1/libexec/bin/python3.8
praw version: packaged, commit 1656ec224e57
locale, encoding: en_US.UTF-8, UTF-8
Environment Variables
  BROWSER         : /usr/local/bin/lynx
  DISPLAY         : /private/tmp/com.apple.launchd.Kkqo3BxSm0/org.macosforge.xquartz:0
  EDITOR          : vim
  LANG            : en_US.UTF-8
  PAGER           :
  RTV_BROWSER     :
  RTV_EDITOR      :
  RTV_PAGER       :
  RTV_URLVIEWER   :
  TERM            : screen-256color
  VISUAL          :
  XDG_CONFIG_HOME :
  XDG_DATA_HOME   :

Traceback (most recent call last):
  File "/usr/local/Cellar/rtv/1.27.0_1/libexec/lib/python3.8/site-packages/rtv/__main__.py", line 255, in main
    page = page.loop()
  File "/usr/local/Cellar/rtv/1.27.0_1/libexec/lib/python3.8/site-packages/rtv/page.py", line 94, in loop
    self.controller.trigger(ch)
  File "/usr/local/Cellar/rtv/1.27.0_1/libexec/lib/python3.8/site-packages/rtv/objects.py", line 604, in trigger
    return func(self.instance, *args, **kwargs)
  File "/usr/local/Cellar/rtv/1.27.0_1/libexec/lib/python3.8/site-packages/rtv/subreddit_page.py", line 185, in open_link
    self.term.open_link(data['url_full'])
  File "/usr/local/Cellar/rtv/1.27.0_1/libexec/lib/python3.8/site-packages/rtv/terminal.py", line 453, in open_link
    self.open_browser(url)
  File "/usr/local/Cellar/rtv/1.27.0_1/libexec/lib/python3.8/site-packages/rtv/terminal.py", line 615, in open_browser
    p.start()
  File<EMAIL_ADDRESS>line 121, in start
    self._popen = self._Popen(self)
  File<EMAIL_ADDRESS>line 224, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File<EMAIL_ADDRESS>line 283, in _Popen
    return Popen(process_obj)
  File<EMAIL_ADDRESS>line 32, in __init__
    super().__init__(process_obj)
  File<EMAIL_ADDRESS>line 19, in __init__
    self._launch(process_obj)
  File<EMAIL_ADDRESS>line 47, in _launch
    reduction.dump(process_obj, fp)
  File<EMAIL_ADDRESS>line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'Terminal.open_browser.<locals>.open_url_silent'

rtv has crashed. Please report this traceback at:
https://github.com/michael-lazar/rtv/issues

See https://github.com/michael-lazar/rtv/issues/710


Combine Bar and Line charts?

Hi
Is it possible to combine multiple chart types?
I need to do something like: http://www.highcharts.com/demo/combo-dual-axes
Didn't found any information about this in documentation.
Thanks

@Seb33300 this is possible in version 2 which is currently in a beta release. Documentation for version 2 is available at http://nnnick.github.io/Chart.js/docs-v2/
The v2.0-dev branch has a sample file demoing lines and bars together at https://github.com/nnnick/Chart.js/blob/v2.0-dev/samples/combo-bar-line.html

Awesome!
But is it possible to have separated axes for bars and lines like on the highcharts chart example?
Left axe is for lines (with °C unit) and right axe is for bars (with mm unit).

Ok, i think I just found the solution with: https://github.com/nnnick/Chart.js/blob/v2.0-dev/samples/bar-multi-axis.html

@Seb33300 yep, you can have as many axes as you need. The sample file you linked should get you started.

https://github.com/nnnick/Chart.js/blob/v2.0-dev/samples/bar-multi-axis.html 404

it was moved here: https://github.com/chartjs/Chart.js/blob/master/samples/bar/bar-multi-axis.html

@Seb33300 @etimberg - You guys probably need to update your links. Most of them are 404.
For anyone looking for working link as of today, here are a ton of examples:
http://www.chartjs.org/samples/2.6.0/
To get the bar line combo:
http://www.chartjs.org/samples/2.6.0/charts/combo-bar-line.html


Fix all remaining ESLint violations

Fix all remaining ESLint violations. Commits split up mostly by which linting rule addressed.
$ npm run -s lint

Next step, after this: set up Travis to automatically run linting on PRs.
cc: @lelandrichardson @christopherdro @jrichardlai

I've also smoke-tested all the examples.

Wow thanks! looks good

lgtm

I got react-native-maps/example/examples/AnimatedViews.js   399:5  error  Expected exception block, space or tab after '//' in comment  spaced-comment

I got  react-native-maps/example/examples/AnimatedViews.js 399:5 error Expected exception block, space or tab after '//' in comment spaced-comment

That's worrisome, because I don't see than locally on npm run lint, O_o.
In any case, I fixed that and pushed.

Strange, I'll double check if I have some settings set up somewhere

Just published 0.8.1 that includes this change.

It turns out 0.8.1 was faulty, because my working directory had an additional example app containing the react-native node module, which got published as part of the NPM package (:facepalm:), causing a @providesModule error, so I've unpublished it and published 0.8.2.  Use that instead!


Mention defaulting to BuildKit

Proposed changes
Mention that Docker Desktop 3.2.0 defaults to BuildKit.
Related issues

Fixes docker/for-mac#5458

@usha-mandya Formatting might need to be improved; I'm not sure of the best way to do a code block within a bullet list. Thanks.

Thanks, @usha-mandya, I made your suggested changes.


Automated Package Upgrade

:tada: This PR is included in version 7.1.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


No key repetition on sway 1.0-alpha.1 (Wayland)

Which operating system does the issue occur on?
Gentoo Linux
If  on linux, are you using X11 or Wayland?
Wayland

Hey there, I'm testing out sway's 1.0-alpha.1 release (first release based on wlroots) and it works quite well. Alacritty does start now too (its Wayland backend didn't work with sway 0.15). That being said, key repetition (holding down a key and repeating the key stroke) doesn't work which makes it barely usable without going mad (navigating files in vim is especially painful).
I'm not sure what information should be provided to dig into this issue. Running alacritty --print-events gives me these events when pressing and releasing the key x:
glutin event: WindowEvent { window_id: WindowId(Wayland(WindowId(139853503294496))), event: KeyboardInput { device_id: DeviceId(Wayland(DeviceId)), input: KeyboardInput { scancode: 45, state: Pressed, virtual_keycode: Some(X), modifiers: ModifiersState { shift: false, ctrl: false, alt: false, logo: false } } } }
glutin event: WindowEvent { window_id: WindowId(Wayland(WindowId(139853503294496))), event: ReceivedCharacter('x') }
glutin event: Awakened
glutin event: WindowEvent { window_id: WindowId(Wayland(WindowId(139853503294496))), event: KeyboardInput { device_id: DeviceId(Wayland(DeviceId)), input: KeyboardInput { scancode: 45, state: Released, virtual_keycode: Some(X), modifiers: ModifiersState { shift: false, ctrl: false, alt: false, logo: false } } } }

To me it looks like glutin correctly recognizes key pressing and releasing. Is this an issue with glutin or Alacritty?

Note: see https://github.com/tomaka/winit/pull/371

This has also been mentioned in #97 but I don't see a problem with having a specific issue for it.

A bit off topic:
I am also running alacritty under sway 1.0 now. Do you also have a grey border around the window and a green, yellow and red square at the top right corner? If not, how did you get rid of it?
Running alacritty under xwayland did not have this and I had a proper border-less full-screen terminal.

If not, how did you get rid of it?

See https://github.com/Smithay/client-toolkit/issues/1
I don't think it's possible to get rid of it yet. It's kind of hardcoded in wayland-window.

Indeed, alacritty can specifically ask winit to not draw the borders (using set_decorate(false)), but that's about it until we implement the server decoration protocol support in smithay's client toolkit, yeah.

Key repetition it's the main locker for me to switch to sway, alacritty for everyday usage.

Same here, hope this gets resolved ASAP

It has just been resolved in winit and will be published with the next update. I'd expect this to land with the #1403 patch.

I tried alacritty https://github.com/mkeeler/alacritty/tree/glutin-0.17-upgrade
It works like a charm. I hope this branch will merge with the main branch soon.

@darkanthey I tried the fork you mentioned, as well as the version with gluting 0.18, and the issue persists with both for me.

@Fierthraix mm, that’s strange. I can’t really think what would cause this to only happen on only some devices as the only compositor specific behaviour is the delay and rate of the key repeats. What compositor are you using?

FWIW, building from the glutin-0.17 branch mentioned above solved the issue for me: https://github.com/jwilm/alacritty/issues/1565

I'm having this happen with Sway (the Wayland Window Manager), and I'm all for diving into the code if need be. Also, I've realized I don't actually press and hold keys that much :thinking:
I would like this fixed, however, so are there any actions I could take to speed this up? I would be happy to come up with a PR if we know where the problem resides (I gather it's because we need to update the glutin dependency?), or to do some investigation if we're still not clear about where the problem lies.

@kenan-rhoton this as been fixed upstream in https://github.com/tomaka/winit/pull/628, and this issue should be resolved once #1403 is merged. Unless you already tried with this branch and the issue persists?

I actually misread the comments about it, it solves it for me, what is blocking the merge?

There was an upstream issue with winit/glutin which is currently blocking the PR. Once that is resolved it should be fairly quick until it can be merged. All of that can be read in #1403 in more detail.

+1


Padrino.root should return a Pathname

I just get confused every time I use Padrino.root because I expect it to work like Rails.root, in that you can say Rails.root.join(foo, bar) as an alias for "#{Rails.root}/#{foo}/#{bar}", which I really like because no need to reimplement functionality that Pathname already gives you. I know this would break everything (and that's the last thing I want to do), but OTOH I figure if we can reduce the number of API differences between Rails and Padrino, the better it is for everyone. Is this something you could possibly consider for 1.0?

What's wrong with the current Padrino.root(*args)?
Padrino.root "foo", "bar"
# => "/path/to/project/foo/bar"

IMHO using using Pathname instances is a waste of memory, when the standard library already is capable of the same things, only at the cost of syntactic sugar.

I agree, I think the current method works pretty well and it is more memory efficient. I don't really want to change it just to comply with a iffy decision Rails made.

What's wrong with the current Padrino.root(*args)?

People that work in Rails every day and then switch to Padrino are going to expect one thing and get another, especially since .root is such a core method. It's even named after Rails.root and it doesn't work the same way.

Yep, and also this require an extra class to manage all magick things of Rails class

True, although there's nothing really magic about it. What about something like this?
class Pathnamelike < String
  def initialize(*args); super(PADRINO_ROOT + _path_join(args)); end
  def join(*args); self << _path_join(args); end
  def _path_join(args); str = ""; args.each {|arg| str << "/" + arg }; str; end
end

module Padrino
  def self.root(*args)
    Pathnamelike.new(*args)
  end
end

So now all of these should work:
Padrino.root
Padrino.root + 'foo/bar'
Padrino.root.join('foo/bar')
Padrino.root('foo/bar') + 'baz/quux'

Just an idea....

Thanks @mcmire we prefer to keep only this way.
The aim of Padrino is to have less possible code.


Bugfix/1720

Contribution to  #1720
Scope
client module
Subject

Change port to port_part
Keep tests as is and make test work

Body
The port function is deprecated so the function is port_part now.
Keep same behavior using new function.

I might need some help to fix the commit-message-check error.


[Bug]: Show a deploy button on Deploy tab [git]

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When I connect app to git repo, all of the files are getting written to remote repo in one commit. After connection, we take users to deploy tab. Since there are no changes to be committed, we disable commit functionality. And now there is no way for users to Deploy from the tab itself.
Either of one solution would suffice:

User should see a deploy button after initial commit. OR
We should not take user to Deploy tab after initial connection.

Steps To Reproduce

Create a new app
Git connect it to a new remote repo
See that user ends up deploy tab, but there is nothing for user to do.

what user sees after initial connection.

Public Sample App
No response
Version
Release

@Nikhil-Nandagopal @vuiets Let me know your thoughts.

@IAmAnubhavSaini what do you think of users being in the committed state after this? Where it says all your changes have b committed and the link to the deployed app is shown below?

We were showing Commit & Push button but it was actually Commit & Push & Deploy. Now, since we commit and push on connect, deploy stays pending. We don't show Deployed information, because we didn't deploy it. (Let me get more information on this from backend)
We can show a toast when the application get connected, that it has been pushed to remote repo too.

Now, one solution is to show a Deploy button instead of showing disabled-commit input and button, when user lands on this tab after connection. I like this one, because for the first time we will see a Deploy button on Deploy tab.

Wait commit and push was always meant to signify deploy as well. Because even in our code once we commit, a DP is auto-created just like for any CI/CD. Is this changing? @abhvsn

@Nikhil-Nandagopal we are deploying whenever we do commit and push. What is changed now is earlier we used to ask user to commit the application files after the connect went through, but now we are doing deploy, commit and push during the connect flow itself
cc: @IAmAnubhavSaini

@IAmAnubhavSaini on the deploy tab we are making a get status call, which now responds with no changes to commit but we should have the current deployed CTA below the commit and push CTA.
Just for more context if useful we are sending the application object as a response for connect API where we have lastDeployedAt field which can be used to display the time.

@Nikhil-Nandagopal I wasn't aware of that.

This is weird behaviour then, just now I disconnected and reconnected and saw the deployed info. But it said 42 minutes ago. Which means, it was deployed when I took original screenshot.

Then after a hard refresh, I saw 2 minutes, which was previous connection.

Will investigate it further.

Is this still an issue? @IAmAnubhavSaini can't reproduce it.

This is reproducible. Working on it.


Improve Developer documentation

Please feel free to break these into sub-tasks

[ ] Document how to make a release
[ ] Document how to get started with local development
[ ] Document how SSA works

hey I would like to work on the task no. 2. Can you assign it to me

@Srishtihere , thanks a lot 🤗 . I have created https://github.com/sustainable-computing-io/kepler-operator/issues/189

Hello @sthaha  I'd love to work on the 3rd task. Can I proceed with that?

@MaryAyobami absolutely, thanks for the help. Please feel free to reuse - https://github.com/rhobs/observability-operator/blob/main/docs/user-guides/server-side-apply.md in case that helps.
I have created #196

Alright

Hey @sthaha I would like to work on the 1st task !

@neelshah2409 Thanks for helping out, but I feel that task that should be done by someone who has made the release to avoid unnecessary toil :)


Comments not getting saved for same content for same user

When under a same post, if one posts a comments with the same content what is already in one of the previous comments of his own then its is NOT getting saved in the database. Please help! @vdboor

This can be done by commenting the line new = self.check_for_duplicate_comment(new) in the forms.py file of django_comments package.
This skips calling of the function check_for_duplicate(...) that doesn't allow duplicate comments to get created.


Commit markers in legend

Fixes for #53 and #54

@Padanian this looks great! Thanks so much!
Note that I had to revert to the original tick code: https://github.com/swharden/ScottPlot/pull/53/commits/4f715ee96abda92961b40d0283f45335cf9c4865 because something was causing the cookbook to crash - apparently there was a condition where the infinite loop was never satisfied.
We plan to redo the tick module from scratch (https://github.com/swharden/ScottPlot/issues/47), so we probably don't need to worry about it for now.


feat: relax typing_extensions version constraint

Hello!
I wanted to use Reacton in a project where the version of typing_extensions is pinned to <IP_ADDRESS> (python3-typing-extensions package from Ubuntu 20.04). However, due to ParamSpec usage, reacton requires at least 4.1.1. I suggest to relax the requirements, as missing type definition does not break anything.
Here I used a simple try-except to set type alias to ellipsis on failed import. Not entirely sure if it is correct as documentation specifies a literal ellipsis as a possible type argument for Callable, but with CPython 3.6+ this works fine.

@egormkn Sorry for taking so long, I missed this one. Do you still need this?


ValidCertificate now supports special characters in subject

Coverage decreased (-3.6%) to 44.25% when pulling 71383a596f1b5db566cbdb28b95e25b38eab5861 on maxhq:fix-validcert-regex into 15b3e5b9fece661212a61ed50c5bdaba751f65a7 on openxpki:develop.


User manual for basic usage.

Mainly for users who connects to the detector via the WiFi Access Point and uses the web interface for settings and detector control.

Version 0.9.0 released. User manual added.


'path' predefined part doesn't show the absolute path as mentioned in the doc

From :help airline-predefined-parts:
* `path`         displays the filename (absolute path) and modifier indicator

I tried this:
 let g:airline_section_c = airline#section#create(['path', 'readonly'])

It's showing me the path relative to the working directory, not the absolute path.

path uses this statusline item:
https://github.com/vim-airline/vim-airline/blob/2e29ab965625d1315f0ad070c928794baea3d66f/autoload/airline/init.vim#L159
%F is supposed to show the complete path. Do you have :set acd possibly set?

I tried this again and it seems to work fine. I can't explain what I did wrong the first time. My bad, sorry for the confusion.


i18n support

So, how about i18n dynamic loader support?

While this is a hugely important topic, I think it's out-of-scope for this project unless someone wants to dedicate some serious time to it.


Ambiguous error when loading from yaml example

Hi,
This is probably not a pyswagger issue but I just want to report what I observe and maybe you can decide whether it is or not an issue.
Looking at the 'quick start' section, the sample code loads spec from
http://petstore.swagger.io/v2/swagger.json
My current project prefers YAML format, so naturally I tried letting pyswagger load from this alternative:
http://petstore.swagger.io/v2/swagger.yaml
Code:
app = pyswagger.App.load('http://petstore.swagger.io/v2/swagger.yaml')
app.prepare()

But then I got the following error when preforming prepare:
TypeError: 'int' object is not iterable

The json version can be prepared without problem, so I went on and compared their differences. The key issue was under paths section, responses part.
      responses:
        405:
          description: "Invalid input"

    "responses": {
      "405": {
        "description": "Invalid input"
      }
    },

In the YAML file the status codes were listed as numbers, but in JSON file they were strings. This will cause error even with strict set to False.
Adding double quotes in YAML solves the problem, but the file is from the same example source so there could be others like me, confused by this in the future.

@jcfrank Thanks for reporting issues. This part should handle this case:

https://github.com/mission-liao/pyswagger/blob/develop/pyswagger/scanner/v2_0/yaml.py

It seems this part didn't do its job well, so it's a bug, :(

@mission-liao Thanks for pointing me to the code!
It appears this error happens before such class is included.
The following stacktrace shows it happens at validate(strict=strict). While the YamlFixer is only used inside prepare_obj,  which is called later.
Stacktrace:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-4-b2a656c09f14> in <module>()
----> 1 app.prepare()

/home/vagrant/.virtualenvs/someenv/local/lib/python2.7/site-packages/pyswagger-0.8.36-py2.7.egg/pyswagger/core.pyc in prepare(self, strict)
    317         """
    318
--> 319         self.validate(strict=strict)
    320         self.__root = self.prepare_obj(self.raw, self.__url)
    321

/home/vagrant/.virtualenvs/someenv/local/lib/python2.7/site-packages/pyswagger-0.8.36-py2.7.egg/pyswagger/core.pyc in validate(self, strict)
    303         """
    304
--> 305         result = self._validate()
    306         if strict and len(result):
    307             for r in result:

/home/vagrant/.virtualenvs/someenv/local/lib/python2.7/site-packages/pyswagger-0.8.36-py2.7.egg/pyswagger/core.pyc in _validate(self)
    256         v = v_mod.Validate()
    257
--> 258         s.scan(route=[v], root=self.__raw)
    259         return v.errs
    260

/home/vagrant/.virtualenvs/someenv/local/lib/python2.7/site-packages/pyswagger-0.8.36-py2.7.egg/pyswagger/scan.pyc in scan(self, route, root, nexter, leaves)
    109
    110         merged_r = self.__build_route(route)
--> 111         for path, obj in nexter(root, leaves):
    112             for the_self, r, res in merged_r:
    113

/home/vagrant/.virtualenvs/someenv/local/lib/python2.7/site-packages/pyswagger-0.8.36-py2.7.egg/pyswagger/scan.pyc in default_tree_traversal(root, leaves)
     13         # to encode it again.
     14         if obj.__class__ not in leaves:
---> 15             objs.extend(map(lambda i: (path + '/' + i[0],) + (i[1],), six.iteritems(obj._children_)))
     16
     17         # the path we expose here follows JsonPointer described here

/home/vagrant/.virtualenvs/someenv/local/lib/python2.7/site-packages/pyswagger-0.8.36-py2.7.egg/pyswagger/spec/base.pyc in _children_(self)
    470
    471         for n in names:
--> 472             down(jp_compose(n), getattr(self, n))
    473
    474         return ret

/home/vagrant/.virtualenvs/someenv/local/lib/python2.7/site-packages/pyswagger-0.8.36-py2.7.egg/pyswagger/spec/base.pyc in down(name, obj)
    467             elif isinstance(obj, dict):
    468                 for k, v in six.iteritems(obj):
--> 469                     down(jp_compose(k, name), v)
    470
    471         for n in names:

/home/vagrant/.virtualenvs/someenv/local/lib/python2.7/site-packages/pyswagger-0.8.36-py2.7.egg/pyswagger/utils.pyc in jp_compose(s, base)
    236
    237     ss = [s] if isinstance(s, six.string_types) else s
--> 238     ss = [s.replace('~', '~0').replace('/', '~1') for s in ss]
    239     if base:
    240         ss.insert(0, base)

TypeError: 'int' object is not iterable

@jcfrank I just found that the test case to check this part only load the document and run the scanner to fix it. Therefore it failed when you call create like others do.
I think the validation can be moved to some place after prepare_obj. This bug would be fixed in next version.
For now, you can workaround this issue by calling the scanner before app.prepare(strict=True), like this:
app = App.load(.....)
s = Scanner(app)
s.scan(app.raw, route=[YamlFixer()], leaves=[Operaton])
app.prepare(strict=True)

@mission-liao Alright. Thanks again!
Needs a little modification to the snippet, though. Otherwise it gets a TypeError: scan() got multiple values for keyword argument 'route'.
Updated:
from pyswagger import App
from pyswagger.scan import Scanner
from pyswagger.core import Operation
from pyswagger.scanner.v2_0.yaml import YamlFixer

app = App.load('http://petstore.swagger.io/v2/swagger.yaml')
s = Scanner(app)
s.scan(root=app.raw, route=[YamlFixer()], leaves=[Operation])
app.prepare(strict=True)


Fuel consumption changed to account for power

Changes the fuel consumption to be proportional to engine power and throttle, instead of RPM.
Did some quick research on BSFC (brake specific fuel consumption) of average piston engines, most plots look as such:

For all intents and purposes, that's a straight line across the RPM range, and so fuel consumption is calculated simply as throttle times power.
This is consistent with the definition of BSFC.
The constants were tweaked so that idle and peak fuel consumption remain roughly the same for the engines I tested.

The remaining linter issues are due to the playermodel chairs, not gonna change that on this pr


Request to have a j2 binary

Is it possible to request that another binary is installed named "j2".
We're trying to get this as a drop in replacement for package "j2cli" and "j2" is called in a lot of scripts internal and external to our team.
Any suggestions?

I apologize for not responding sooner, I have no idea why I never saw an notification for this issue in my email. Six months is far too long for such a simple request!
If this is still a concern, I can find a way to do it, but I'm a little hesitant to steal the CLI command name from another project.

This would be ideal to me, as well. In my opinion, with the old j2cli being deprecated and unmaintained, it's less stealing the name and more continuing its legacy.


Appearance of Border of active pane

Hi - thanks for the article, big fan of this feature. Having trouble working out how to set the appearance of the active pane border as per the screenshots - for me (in PS 7), the border for the active pane is the same as the others, so a little hard to see which pane is actually active.
I tried out the Raspberry color scheme referenced in the article, and I see that is a little better, but doesn't include the blue border setting that is depicted in the article's screenshots.
If a line or two could be added to this doc on how to set that, would be superb.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ae7015da-46b8-2579-690c-c83016d8be22
Version Independent ID: f27e9635-b4a3-3b7f-f7e7-bd0aca099014
Content: Windows Terminal Panes
Content Source: TerminalDocs/panes.md
Product: dev-environment
Technology: windows-terminal
GitHub Login: @cinnamon-msft
Microsoft Alias: cinnamon

After some digging, I see that I can set this through the "accent colour" of the windows theme currently rather than in settings.json, however still not sure how to increase the width of the border - for me even setting this colour to something that stands out, the border between panes is too narrow to easily spot it.

FWIW, those elements aren't configurable yet. They're tracked on the actual Terminal source repo though:

Add a setting to manually set the Pane border width https://github.com/microsoft/terminal/issues/3063
Add a setting to manually set the Pane highlight color https://github.com/microsoft/terminal/issues/3061

So I'm gonna close this as "tracking upstream".
Thanks!


paper-input docs not showing up in catalog

They are there when I run polyserve. Instead, I get paper-textarea and friends.

Closed by 4f6b270a8


Hotdog stand theme

Hi, I noticed the hotdog stand theme is missing from the themes menu. Is this a bug or is it intentional?
Example of hotdog stand:

Let me know if you come up with anything :smile: :hotdog:


enable Gradle wrapper validation

https://blog.gradle.org/gradle-wrapper-checksum-verification-github-action

Codecov Report

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

@@            Coverage Diff            @@
##             master    #2609   +/-   ##
=========================================
  Coverage     92.86%   92.86%
  Complexity     5360     5360
=========================================
  Files            89       89
  Lines         12778    12778
  Branches       1619     1619
=========================================
  Hits          11866    11866
  Misses          723      723
  Partials        189      189

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 31d5fb2...0f435e6. Read the comment docs.


Support building custom Dockerfiles on the node

Currently we force users who want to use a custom container to build an image and upload it to Docker Hub.
Users should have the option to just pass their Dockerfile and have the container built on the node at runtime.
This would also be great for development/testing.

Strictly speaking this is not universally true.  Windows based containers do not require a custom image.
Licensing issues block the flow you describe but we are working on it.

has there been a specific customer ask for this? (just curious)

no specific ask, just a nice-to-have I was thinking about.


Implementation of PartialEq for Rc and Snapshot should compare dereferenced value

Currently, the PartialEq implementation for Rc and Snapshot only compares between pointer values. However, PartialEqs for smart pointer types (e.g., std::rc::Rc) are often defined by actual objects they are pointing to.
It would be better to follow the standard convention and provide a separate ptr_eq for pointer comparison.

Oh, it could have been a big problem if I had kept using it without knowing about this issue.


Can you support python 2

As we cannot install python 3 in our production servers.

Not supporting Python 2 was mainly for time reasons. However, feel free to fork it and send a pull request.

Ditto! I cloned and installed the egg locally and it seemed to mostly work in 2.7 @humiaozuzu were you able to get it to work?

@Rylon Good. But we are using cron-sentry now

Ah yes, I did see that, but the system I have in mind has a lot of moving parts and I'd like to avoid wrapping the various commands, which is what lead me to this project instead :D
Would you maybe still consider merging and pushing the update to PyPi however?
Thanks again!

On 13 Oct 2015, at 2:00 a.m., Maple<EMAIL_ADDRESS>wrote:
@Rylon Good. But we are using cron-sentry now
—
Reply to this email directly or view it on GitHub.

Closing this issue as this was already merged.


Add CMakeLists.txt

Added a CMakeLists.txt for convenience of git/CMake submodule usage, and to make installation of the library(and building of unit tests) a little easier:
% cmake ..
-- Configuring done
-- Generating done
-- Build files have been written to: /blah/blah/blah/build
% sudo make install
Install the project...
-- Install configuration: ""
-- Up-to-date: /usr/local/include
-- Installing: /usr/local/include/mio
-- Installing: /usr/local/include/mio/page.hpp
-- Installing: /usr/local/include/mio/detail
-- Installing: /usr/local/include/mio/detail/string_util.hpp
-- Installing: /usr/local/include/mio/detail/basic_mmap.hpp
-- Installing: /usr/local/include/mio/detail/basic_mmap.ipp
-- Installing: /usr/local/include/mio/shared_mmap.hpp
-- Installing: /usr/local/include/mio/mmap.hpp

also added a BUILD_TESTS option in cmake to build the unit tests(off by default).

This is great, I've been thinking of doing this. Thank you so much!


Signed build of ivshmem

It looks like current version of ivshmem binary is very old here:
https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/upstream-virtio/
It would be cool to have fresh binaries available

there is a new one available at https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/upstream-virtio/virtio-win-08032022.zip
Please note that only Win10 drivers are attestation signed. On Win8 platforms some extra test signing tweaks need to be done.
Best,
Vadim.

I was able to install Win10 drivers to Win11 booted with secureboot enabled.
Thanks.

Closing based on the last comment.


Error everytime [Provoke in cell] command is turned on, either by options or cmd.

Error would persist even when clicking on continue and would disappear if provoke is turned off manually.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Grimoire.Game.World.MonstersInCell(String cell)
at Grimoire.Botting.OptionsManager.d__117.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)

This is fixed on the new update, please check again.

Ok, thank you ♥


Extensive integration test suite

While working on integration between dry-v and hanami-v, I wrote a test suite for all the builtin predicates.
It tests for missing, nil, blank strings, string values (eg. "1"), expected Ruby types (eg 1), unexpected types (eg. a hash when an int is expected).
All these values are used to test all the six combinations of required/optional (for keys) and value, filled, maybe macros (for values).
All these combinations are tested both for Schema and Form.
This results in almost 3000 assertions which run in 3 seconds.

This extensive testing helped to spot issues in dry-v (and related gems) that I reported here.
Each time you folks apply a fix for these issues, I run bundle update and get the fixes (thank you!), but also new failures.
These new failures deserve new tickets. But that will make the feedback process really slow. It will take days to spot the new errors and a week to fix. If dry-v codebase will include these tests, feedback will become immediate and hopefully no broken code will be pushed.
I believe that the hanami-v tests really belong here.
I can take care of open a PR to add them here. But because it's a huge work, before to dive into it, I want to be sure that it will be accepted by you.
WDYT? @solnic @timriley @AMHOL Thank you!

This sounds good to me. It's true that these tests would be testing logic that is in other gems (dry-logic and dry-types), but dry-validation is one of the big places where these things work together in integration, and makes sense as a repository for these high-level integration tests.

I agree. It would be great to get these specs merged in here. It's great and very helpful that you worked on these tests! One thing that we should improve is to have a shared suite that is executed against different types of schemas. Right now it's so-so as we have some tests for Form and some for plain Schema w/o coercions. There are a lot of tests that can be shared to avoid duplication.