M4DModule: updated to match spec update

The chart name should now be in chart.name instead of chart.

ok, so I see that the chart's values.yaml uses:
image:
  repository: ghcr.io/the-mesh-for-data/arrow-flight-module
  tag: latest

but I would go beyond this and change the values.yaml to only use a single composite field image as used by the other modules:
https://github.com/IBM/the-mesh-for-data/blob/master/modules/m4d-db2wh/values.yaml#L8
image: "ghcr.io/the-mesh-for-data/mover:latest"

plus how are you testing this? how are you demonstrating that you can use an image from a different location? in the case of the resident modules I also added in https://github.com/IBM/the-mesh-for-data/blob/master/modules/m4d-db2wh/Makefile#L6
HELM_VALUES := \
	--values values.yaml.sample \
	--set image=${DOCKER_HOSTNAME}/${DOCKER_NAMESPACE}/mover:${DOCKER_TAGNAME}

finally you need to go back and update https://github.com/IBM/the-mesh-for-data/blob/master/manager/testdata/e2e/module-read.yaml:
  chart:
    name: ghcr.io/the-mesh-for-data/arrow-flight-module-chart:latest
    values:
      image: ...

this also demonstrates that the separation of git modules may not be optimal, as

flight-module depends on the core due to M4DModule spec
the core depends on flight-module for e2e testing

having such a cyclic-loop is wrong and means that the flight-module needs to be part of the core ...

Please keep this focused on whether the change addresses the change in M4D or not. I will reply here although it's out of scope.

but I would go beyond this and change the values.yaml to only use a single composite field image as used by the other modules

We use image.tag here and I see no reason to change it.

plus how are you testing this? how are you demonstrating that you can use an image from a different location? in the case of the resident modules I also added in https://github.com/IBM/the-mesh-for-data/blob/master/modules/m4d-db2wh/Makefile#L6

I don't see a value in adding this "test", it doesn't add any real testing of what we do, we're not testing Helm. Anyway, this field will be used in a PR to address https://github.com/IBM/the-mesh-for-data-flight-module/issues/18.

finally you need to go back and update https://github.com/IBM/the-mesh-for-data/blob/master/manager/testdata/e2e/module-read.yaml:

The manager/testdata/e2e/module-read.yaml should not use flight. It should either use a dummy read module for testing purposes or if one insists in using flight then use a fixed version of it once https://github.com/IBM/the-mesh-for-data-flight-module/issues/18 is handled (must less preferable).


Action to refresh libraries (disable and enable) to workaround network related hickups

When working with libraries on a fileserver sketch gets confused as soon as wifi connection changes/macbook is hibernating and linked libraries are not accessible anymore.
Currently this can be workarounded by disabling/enabling all libraries or restarting sketch, whichever is faster.
An Action to do the first workaround on a shortcut/button press would be awesome.

Hi there!
What you describe on the first sentence is definitely something we need to improve natively, so I've filed a bug report and we'll try to make the experience better in that case.
Thanks a lot for the report : )

any progress? 😏
one global "refresh all libraries" button would be sufficient, automatic discovery is not necessary.


Mjv/preferences

Added a global user preferences to save your last selected sprite, name, and host
Added logic around empty names (will default to the skin's name, and the default host)
Added in controller rebinding logic, currently only reading from file

Need to add ability to update controls, everything else works right now

Cool! Didn't go that into depth in the code, but it looks pretty nice.
My one nitpick is the set_pref and get_pref function names, I'd just name them get() and set() to keep it simple and easy to remember
You know you're accessing those function from the user_preferences Node, so it's logical you want to get or set pa certain preference.
Other than that, props to you :)


SAA-839 intial work to aid job resilience. We will be recording job successes as well as failures.

As a first draft this is only being used in the manage allocations jobs.

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.07 :tada:

Comparison is base (688b694) 85.44% compared to head (5db72de) 85.52%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #386      +/-   ##
============================================
+ Coverage     85.44%   85.52%   +0.07%
- Complexity     1920     1931      +11
============================================
  Files           262      264       +2
  Lines          7325     7364      +39
  Branches        384      387       +3
============================================
+ Hits           6259     6298      +39
  Misses          858      858
  Partials        208      208

Impacted Files
Coverage Δ

...l/hmpps/hmppsactivitiesmanagementapi/entity/Job.kt
100.00% <100.00%> (ø)

...ctivitiesmanagementapi/job/ManageAllocationsJob.kt
100.00% <100.00%> (ø)

.../hmppsactivitiesmanagementapi/job/SafeJobRunner.kt
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Release and re-upload failed due to outage

Describe the bug
According to Python Status page, PyPI was facing the CDN and backend outage in 2024-12-06 1:10-1:45 JST. (2024-12-05 16:10-16:45)
In the duration, I was releasing some openapi-generator-cli versions with Actions:
https://github.com/OpenAPITools/openapi-generator-pip/actions/runs/12183546881/workflow
https://github.com/OpenAPITools/openapi-generator-pip/actions/runs/12183546881/job/33985224778
After the outage I noticed that almost "released" versions are not released in actual and re-uploading cannot be accepted due to 400 Client Error: File already exists error.
In short, it seems that an outage occurred in PyPI's CDN and Backend during the package release, so the tar.gz file was uploaded but not released, and that version cannot be released.
Is it possible to have their files removed from PyPI internally?

poetry run task publish in my local env
publish.py:
https://github.com/OpenAPITools/openapi-generator-pip/blob/master/publish.py
$ poetry run task publish
[4.0.0-beta] Downloading...
[4.0.0-beta] URL: 'https://search.maven.org/remotecontent?filepath=org/openapitools/openapi-generator-cli/4.0.0-beta/openapi-generator-cli-4.0.0-beta.jar'
[4.0.0-beta] Updating package version...
[4.0.0-beta] Testing...
======================================================== test session starts =========================================================
platform linux -- Python 3.12.3, pytest-8.3.4, pluggy-1.5.0
rootdir: /home/eggplants/prog/openapi-generator-pip
configfile: pyproject.toml
collected 3 items

========================================================= 3 passed in 1.44s ==========================================================
[4.0.0-beta] Building...
Using virtualenv: /home/eggplants/.cache/pypoetry/virtualenvs/openapi-generator-cli-XnyH23gs-py3.12
Building openapi-generator-cli (4.0.0-beta)
  - Building sdist
  - Built openapi_generator_cli-4.0.0b0.tar.gz
  - Building wheel
  - Built openapi_generator_cli-4.0.0b0-py3-none-any.whl
[4.0.0-beta] Publishing to TestPyPI...
[4.0.0-beta] Publishing to PyPI...

Publishing openapi-generator-cli (4.0.0-beta) to PyPI
 - Uploading openapi_generator_cli-4.0.0b0-py3-none-any.whl 100%
 - Uploading openapi_generator_cli-4.0.0b0.tar.gz FAILED

  HTTPError

  400 Client Error: File already exists ('openapi_generator_cli-4.0.0b0.tar.gz', with blake2_256 hash 'd7667a9175d02f486a91fd7d171bf8a5240e81f766b1f065f521840042c7398a'). See https://pypi.org/help/#file-name-reuse for more information. for url: https://upload.pypi.org/legacy/

  at ~/.local/share/pipx/venvs/poetry/lib/python3.12/site-packages/requests/models.py:1021 in raise_for_status
      1017│                 f"{self.status_code} Server Error: {reason} for url: {self.url}"
      1018│             )
      1019│
      1020│         if http_error_msg:
    → 1021│             raise HTTPError(http_error_msg, response=self)
      1022│
      1023│     def close(self):
      1024│         """Releases the connection back to the pool. Once this method has been
      1025│         called the underlying ``raw`` object must not be accessed again.

The following error occurred when trying to handle this error:

  UploadError

  HTTP Error 400: File already exists ('openapi_generator_cli-4.0.0b0.tar.gz', with blake2_256 hash 'd7667a9175d02f486a91fd7d171bf8a5240e81f766b1f065f521840042c7398a'). See https://pypi.org/help/#file-name-reuse for more information. | b"\n \n  <title>400 File already exists ('openapi_generator_cli-4.0.0b0.tar.gz', with blake2_256 hash 'd7667a9175d02f486a91fd7d171bf8a5240e81f766b1f065f521840042c7398a'). See https://pypi.org/help/#file-name-reuse for more information.\n \n \n
400 File already exists ('openapi_generator_cli-4.0.0b0.tar.gz', with blake2_256 hash 'd7667a9175d02f486a91fd7d171bf8a5240e81f766b1f065f521840042c7398a'). See https://pypi.org/help/#file-name-reuse for more information.\n  The server could not comply with the request since it is either malformed or otherwise incorrect.

\nFile already exists ('openapi_generator_cli-4.0.0b0.tar.gz', with blake2_256 hash 'd7667a9175d02f486a91fd7d171bf8a5240e81f766b1f065f521840042c7398a'). See https://pypi.org/help/#file-name-reuse for more information.\n\n\n \n"

  at ~/.local/share/pipx/venvs/poetry/lib/python3.12/site-packages/poetry/publishing/uploader.py:284 in _upload_file
      280│                 if self._io.output.is_decorated():
      281│                     self._io.overwrite(
      282│                         f" - Uploading {file.name} FAILED"
      283│                     )
    → 284│                 raise UploadError(e)
      285│             finally:
      286│                 self._io.write_line("")
      287│
      288│     def _register(self, session: requests.Session, url: str) -> requests.Response:
Traceback (most recent call last):
  File "/home/eggplants/prog/openapi-generator-pip/publish.py", line 122, in <module>
    publish(dryrun=os.getenv("DRYRUN") == "1")
  File "/home/eggplants/prog/openapi-generator-pip/publish.py", line 113, in publish
    subprocess.check_call([poetry_path, "publish", "-v"])
  File "/home/eggplants/.pyenv/versions/3.12.3/lib/python3.12/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/eggplants/.local/bin/poetry', 'publish', '-v']' returned non-zero exit status 1.

Expected behavior
We are able to re-publishing unreleased versions.
To Reproduce
I don't know.
My Platform
local env:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.1 LTS
Release:        24.04
Codename:       noble
$ uname -vorm
6.8.0-49-generic #49-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov  4 02:06:24 UTC 2024 x86_64 GNU/Linux
$ poetry --version
Poetry (version 1.8.4)
$ python -V
Python 3.12.3

Additional context
My PyPI account: https://pypi.org/user/eggplants/
Related: https://github.com/OpenAPITools/openapi-generator-pip/issues/16

I'm not sure I'm following, I see the file you're attempting to re-release is published here: https://pypi.org/project/openapi-generator-cli/4.0.0b0/#openapi_generator_cli-4.0.0b0.tar.gz

After the outage I noticed that almost "released" versions are not released in actual

What is indicating to you that these versions are not actually released?

If they have been released, can we wait a bit for them to appear?

Does this mean that the release has been made, even though it is not displayed?

I see it at that url:

Can you show me what you are seeing?

curl -s 'https://pypi.org/pypi/openapi-generator-cli/json' | jq -r '.releases | keys[]' returns all "released" versions and the version 3.0.2 not shown in the history page yet can be installed with pipx. It appears that the release had been completed, just not displayed.
Also, the history page now shows all the versions that were currently released, so this issue does not seem to be a problem. Sorry for the trouble!

$ curl -s 'https://pypi.org/pypi/openapi-generator-cli/json' | jq -r '.releases | keys[]'
3.0.0
3.0.1
3.0.2
3.0.3
3.1.0
3.1.1
3.1.2
3.2.0
3.2.1
3.2.2
3.2.3
3.3.0
3.3.1
3.3.2
3.3.3
3.3.4
4.0.0
4.0.0b0
4.0.0b2
4.0.0b3
4.0.1
4.0.2
4.0.3
4.1.0
4.1.1
4.1.2
4.1.3
4.2.0
4.2.1
4.2.2
4.2.3
4.3.0
4.3.1
4.3.1.post0
5.0.0
5.0.0b0
5.0.0b2
5.0.0b3
5.0.1
5.1.0
5.1.1
5.2.0
5.2.1
5.3.0
5.3.1
5.4.0
6.0.0
6.0.0b0
6.0.1
6.1.0
6.2.0
6.2.1
6.3.0
6.4.0
6.5.0
6.6.0
7.0.0
7.0.0b0
7.0.1
7.1.0
7.10.0
7.10.0.post0
7.2.0
7.3.0
7.4.0
7.5.0
7.6.0
7.7.0
7.8.0
7.9.0
$ pipx install openapi-generator-cli==3.0.0
  installed package openapi-generator-cli 3.0.0, installed using Python 3.12.3
  These apps are now globally available
    - openapi-generator-cli
done! ✨ 🌟 ✨

Is there some time lag after the release? Or was the outage related? Either way, it looks fine now...


setTextInputbarHidden Causes crash

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Description

When calling self.setTextInputbarHidden(true, animated: true) I get the following Error: Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'unable to dequeue a cell with identifier FeedbackCell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard' (FeedbackCell is one of the cells in my tableview). The view works fine without the hide call.

Reproducible in:

[x] This is reproducible in the sample project.
SlackTextViewController version:
iOS version(s):
Device(s):

Steps to reproduce:

Expected result:

Hidden Input View

Actual result:

App Crash / Cell registration messed up

Attachments:

e.g. Logs, screenshots, screencast, sample project, funny gif, etc.

This happens when the hide call occurs before the cells are registered. It works fine if hide is called after cell registration. But it seems strange to me that this happens, why does the inputview need to know about the tableview setup?


Add table aws_route53_resolver_query_log_config Closes #1777

Integration test logs

Logs
No env file present for the current environment:  staging
 Falling back to .env config
No env file present for the current environment:  staging
customEnv TURBOT_TEST_EXPECTED_TIMEOUT undefined

SETUP: tests/aws_route53_resolver_query_log_config []

PRETEST: tests/aws_route53_resolver_query_log_config

TEST: tests/aws_route53_resolver_query_log_config
Running terraform
data.aws_partition.current: Reading...
data.aws_caller_identity.current: Reading...
data.aws_region.primary: Reading...
data.aws_iam_policy_document.route53-query-logging-policy: Reading...
data.aws_partition.current: Read complete after 0s [id=aws]
data.aws_region.primary: Read complete after 0s [id=us-east-1]
data.aws_iam_policy_document.route53-query-logging-policy: Read complete after 0s [id=1177966457]
data.aws_region.alternate: Reading...
data.aws_region.alternate: Read complete after 0s [id=us-east-2]
data.aws_caller_identity.current: Read complete after 1s [id=112233445566]
data.null_data_source.resource: Reading...
data.null_data_source.resource: Read complete after 0s [id=static]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # aws_cloudwatch_log_group.aws_route53_example_com will be created
  + resource "aws_cloudwatch_log_group" "aws_route53_example_com" {
      + arn               = (known after apply)
      + id                = (known after apply)
      + name              = "/aws/route53/turbottest31855.com"
      + name_prefix       = (known after apply)
      + retention_in_days = 30
      + skip_destroy      = false
      + tags_all          = (known after apply)
    }

  # aws_cloudwatch_log_resource_policy.route53-query-logging-policy will be created
  + resource "aws_cloudwatch_log_resource_policy" "route53-query-logging-policy" {
      + id              = (known after apply)
      + policy_document = jsonencode(
            {
              + Statement = [
                  + {
                      + Action    = [
                          + "logs:PutLogEvents",
                          + "logs:CreateLogStream",
                        ]
                      + Effect    = "Allow"
                      + Principal = {
                          + Service = "route53.amazonaws.com"
                        }
                      + Resource  = "arn:aws:logs:*:*:log-group:/aws/route53/*"
                    },
                ]
              + Version   = "2012-10-17"
            }
        )
      + policy_name     = "turbottest31855"
    }

  # aws_route53_resolver_query_log_config.named_test_resource will be created
  + resource "aws_route53_resolver_query_log_config" "named_test_resource" {
      + arn             = (known after apply)
      + destination_arn = (known after apply)
      + id              = (known after apply)
      + name            = "turbottest31855"
      + owner_id        = (known after apply)
      + share_status    = (known after apply)
      + tags            = {
          + "Environment" = "Prod"
        }
      + tags_all        = {
          + "Environment" = "Prod"
        }
    }

  # aws_route53_zone.named_test_resource will be created
  + resource "aws_route53_zone" "named_test_resource" {
      + arn                 = (known after apply)
      + comment             = "Managed by Terraform"
      + force_destroy       = false
      + id                  = (known after apply)
      + name                = "turbottest31855.com"
      + name_servers        = (known after apply)
      + primary_name_server = (known after apply)
      + tags_all            = (known after apply)
      + zone_id             = (known after apply)
    }

Plan: 4 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  + account_id    = "112233445566"
  + aws_region    = "us-east-1"
  + log_group_arn = (known after apply)
  + resource_aka  = (known after apply)
  + resource_id   = (known after apply)
  + resource_name = "turbottest31855"
aws_cloudwatch_log_resource_policy.route53-query-logging-policy: Creating...
aws_route53_zone.named_test_resource: Creating...
aws_cloudwatch_log_resource_policy.route53-query-logging-policy: Creation complete after 2s [id=turbottest31855]
aws_route53_zone.named_test_resource: Still creating... [10s elapsed]
aws_route53_zone.named_test_resource: Still creating... [20s elapsed]
aws_route53_zone.named_test_resource: Still creating... [30s elapsed]
aws_route53_zone.named_test_resource: Still creating... [40s elapsed]
aws_route53_zone.named_test_resource: Creation complete after 43s [id=Z0887073N564O1KU0ZZ]
aws_cloudwatch_log_group.aws_route53_example_com: Creating...
aws_cloudwatch_log_group.aws_route53_example_com: Creation complete after 2s [id=/aws/route53/turbottest31855.com]
aws_route53_resolver_query_log_config.named_test_resource: Creating...
aws_route53_resolver_query_log_config.named_test_resource: Creation complete after 3s [id=rqlc-b081eaa95b39446d]

Warning: Deprecated

  with data.null_data_source.resource,
  on variables.tf line 44, in data "null_data_source" "resource":
  44: data "null_data_source" "resource" {

The null_data_source was historically used to construct intermediate values
to re-use elsewhere in configuration, the same can now be achieved using
locals

(and one more similar warning elsewhere)

Apply complete! Resources: 4 added, 0 changed, 0 destroyed.

Outputs:

account_id = "112233445566"
aws_region = "us-east-1"
log_group_arn = "arn:aws:logs:us-east-1:112233445566:log-group:/aws/route53/turbottest31855.com"
resource_aka = "arn:aws:route53resolver:us-east-1:112233445566:resolver-query-log-config/rqlc-b081eaa95b39446d"
resource_id = "rqlc-b081eaa95b39446d"
resource_name = "turbottest31855"

Running SQL query: test-get-query.sql
[
  {
    "destination_arn": "arn:aws:logs:us-east-1:112233445566:log-group:/aws/route53/turbottest31855.com",
    "id": "rqlc-b081eaa95b39446d",
    "name": "turbottest31855"
  }
]
✔ PASSED

Running SQL query: test-list-query.sql
[
  {
    "id": "rqlc-b081eaa95b39446d",
    "name": "turbottest31855"
  }
]
✔ PASSED

Running SQL query: test-not-found-query.sql
null
✔ PASSED

Running SQL query: test-turbot-query.sql
[
  {
    "akas": [
      "arn:aws:route53resolver:us-east-1:112233445566:resolver-query-log-config/rqlc-b081eaa95b39446d"
    ],
    "title": "turbottest31855"
  }
]
✔ PASSED

POSTTEST: tests/aws_route53_resolver_query_log_config

TEARDOWN: tests/aws_route53_resolver_query_log_config

SUMMARY:

1/1 passed.

Example query results

Results

> select * from aws_route53_resolver_query_log_config
+-----------------------+---------------------------------+------------------------------------------------------------------------------------------------+---------------------------+---------+--------->
| id                    | name                            | arn                                                                                | creation_time             | status  | associat>
+-----------------------+---------------------------------+------------------------------------------------------------------------------------------------+---------------------------+---------+--------->
| rqlc-3b7e17a8ec45d4   | test-23-resolver-logging-config | arn:aws:route53resolver:us-east-1:112233445566:resolver-query-log-config/rqlc-3b7e17a8ec45d4   | 2023-06-13T18:03:16+05:30 | CREATED | 0       >
| rqlc-16dd7a91f6264fef | test-53-resolver-kinesis        | arn:aws:route53resolver:us-east-1:112233445566:resolver-query-log-config/rqlc-16dd7a91f6264fef | 2023-06-13T18:03:49+05:30 | CREATED | 0       >
+-----------------------+---------------------------------+------------------------------------------------------------------------------------------------+---------------------------+---------+--------->

> select * from aws_route53_resolver_query_log_config where id = 'rqlc-3b7e17a8ec45d4'
+---------------------+---------------------------------+----------------------------------------------------------------------------------------------+---------------------------+---------+------------->
| id                  | name                            | arn                                                                                | creation_time             | status  | association_>
+---------------------+---------------------------------+----------------------------------------------------------------------------------------------+---------------------------+---------+------------->
| rqlc-3b7e17a8ec45d4 | test-23-resolver-logging-config | arn:aws:route53resolver:us-east-1:112233445566:resolver-query-log-config/rqlc-3b7e17a8ec45d4 | 2023-06-13T18:03:16+05:30 | CREATED | 0           >
+---------------------+---------------------------------+----------------------------------------------------------------------------------------------+---------------------------+---------+------------->

@ParthaI the initial structure of the table looks good 👍.
Follow-up questions for the PR -

Are there any region constraints for this resource?
Could you please share the results wherein the table is able to query resources from other AWS accounts? Do we need any special permission to be able to query such resources? If so, we should update the table docs file to include those permissions.

@misraved Here are the findings for the follow-up questions

Are there any region constraints for this resource?

We can share the resources within the same region where the resource is available, but cross-region sharing is not allowed.

Could you please share the results wherein the table is able to query resources from other AWS accounts? Do we need any special permission to be able to query such resources? If so, we should update the table docs file to include those permissions.

User can only have the permission route53resolver:ListResolverQueryLogConfigs for querying this table. No additional permissions are required for this operation.
The documentation has been updated to include a comment specifying the necessary permissions.
Here is an example of the query result after sharing the query log configuration from the account<PHONE_NUMBER>0 to<PHONE_NUMBER>22:

> select * from aws_aab.aws_route53_resolver_query_log_config
[
 {
  "_ctx": {
   "connection_name": "aws_aab"
  },
  "account_id": "222222222222",
  "akas": [
   "arn:aws:route53resolver:us-east-1:00000000000:resolver-query-log-config/rqlc-291144647a444775"
  ],
  "arn": "arn:aws:route53resolver:us-east-1:00000000000:resolver-query-log-config/rqlc-291144647a444775",
  "association_count": 2,
  "creation_time": "2023-06-20T17:04:34+05:30",
  "creator_request_id": "16872608733291",
  "destination_arn": "arn:aws:logs:us-east-1:00000000000:log-group:/ecs/test53",
  "id": "rqlc-291144647a444775",
  "ip_address_count": null,
  "name": "test34",
  "owner_id": "00000000000",
  "partition": "aws",
  "region": "us-east-1",
  "share_status": "SHARED_WITH_ME",
  "status": "CREATED",
  "title": "test34"
 },
 {
  "_ctx": {
   "connection_name": "aws_aab"
  },
  "account_id": "222222222222",
  "akas": [
   "arn:aws:route53resolver:us-east-2:00000000000:resolver-query-log-config/rqlc-142456cbd8204ed4"
  ],
  "arn": "arn:aws:route53resolver:us-east-2:00000000000:resolver-query-log-config/rqlc-142456cbd8204ed4",
  "association_count": 1,
  "creation_time": "2023-06-20T17:23:55+05:30",
  "creator_request_id": "16872620351761",
  "destination_arn": "arn:aws:logs:us-east-2:00000000000:log-group:/aws/kinesisfirehose/PUT-S3-FBs5h",
  "id": "rqlc-142456cbd8204ed4",
  "ip_address_count": null,
  "name": "test-32",
  "owner_id": "00000000000",
  "partition": "aws",
  "region": "us-east-2",
  "share_status": "SHARED_WITH_ME",
  "status": "CREATED",
  "title": "test-32"
 }
]


[feature] Add custom additionnal time for day/night option

Hey, for "Dusk to Dawn", can we obtain two new field ?

"diff to day", and
"diff to night"

Because value has not good for my installation, and think can alterate official time, can be more customisable 🙂
Like "+ 1 h 15 min"
Ex :
My auto time set day at 7 AM, but sun is here at 8:15 AM, so picture still stuck :

https://github.com/themactep/thingino-firmware/commit/67ae80ab7b6cf82885844c51cc33bace400081a7
please test it out and let me know if any issues.

67ae80a please test it out and let me know if any issues.

Done, but don't know hot to test it

just upgrade the image, all changes are already there.

please reopen if you have issues with the updated script.


Adding support for server facing SSL cipher suite specification

This pull request adds support for specifying ciphers on the server side of the proxy as part of its CLIENTHELLO(--server-ciphers).  It also modifies the current cipher(--ciphers) parameter clarify that it is for the client facing side of the proxy(--client-ciphers).  I tested and observed, with wireshark, ciphers that I expected both leaving and coming to the proxy.
This is in regards to feature issue/request mitmproxy#649.

Excellent work, thanks a lot! :smile:


Dw add micronutrient

Added functionality to add addition micronutrients to premix
General refactoring changes
General style updates

looks like you are getting the same errors about cannot find... as I was seeing @DanielLyleWilliamWarren I had to rename the confused file, repush to GH (which then passed), then rename to the originally intended filename. I'm not sure if this is a temp issue or something we will face more often 🤔

looks like you are getting the same errors about cannot find... as I was seeing @DanielLyleWilliamWarren I had to rename the confused file, repush to GH (which then passed), then rename to the originally intended filename. I'm not sure if this is a temp issue or something we will face more often 🤔

Looks like it.... Easy enough fix but quite annoying!

pipelines passed now, time to rename back to original 🙄

pipelines passed now, time to rename back to original 🙄

Sake, changed back and now getting same error again


Files included with "Content Include" are searched for inside lib folder of nuget package.

Describe the bug
Hello,
I have created a jupyter notebook which calls a nuget, which contains some files (in this case pre-trained neural nets - .onnx files), and these files are included in the nuget using Content include=... and by adding a .targets file. All this works fine when I use the nuget in a C# app, since everything is simply "dumped" into the output folder.
But when I add the same nuget in a jupyter notebook and then call the same function in a cell, I get the following error :
Error message: Load model C:\Users\"PC-name"\.nuget\packages\"nuget-package-name"\"version"\lib\netstandard2.1\".onnx-file" failed. File doesn't exist
AFAIK, contents are not added in the lib folder of a nuget, but in the content folder. Is there something I am missing here, or should I add my .onnx models in another way ? Thanks in advance
Please complete the following:
Which version of .NET Interactive are you using?
1.0.142702

OS

[x] Windows 10
[ ] macOS
[ ] Linux (Please specify distro)
[ ] iOS
[ ] Android

Browser

[ ] Chrome
[ ] Edge
[x] Firefox
[ ] Safari

Frontend

[x] Jupyter Notebook
[ ] Jupyter Lab
[ ] nteract
[ ] Visual Studio Code
[ ] Other (please specify)

Screenshots
Cannot share unfortunately, but I can try and reproduce the problem if needed in a minimal viable example.

@chriss2401 I don't know if this will work for you but I load my local build nuget into vscode using #i and the #r nuget search on the location I specific.
#i "/Users/rspaulino/Downloads/vscodeprojects/microsoftprojects/interactive/artifacts/packages/Release/Shipping"
#r "nuget:Microsoft.DotNet.Interactive.ExtensionLab,1.0.0-beta.20426.1"

What's the code that's trying to load the .onnx file from that path? I don't think I have the context to understand why this might behave differently in .NET Interactive versus a .NET app.

There's no backing .csproj or .fsproj so <Content Include="..." ... /> won't be handled at all.  If you need a file from the NuGet package you could do something like this:
var asmPath = Path.GetDirectory(typeof(SomeTypeFromThePackage).Assembly.Location);
var myAsset = Path.Combine(asmPath, "some-asset.png");


Some nodes are not compatible with UaModeler

Tried to import opc-ua-information-models/EntType.xml into UaModeler - Unified Automation (unified-automation.com) but UaModeler complaints that the file is not compliant to the standards, see below:

Thank you for contributing.
Same here using SIOME on an other line.
What is your working tool  to examin your data model?

Hi. We create the library on UaModeler and then export it and import it to Prediktor´s Edge software, which is the one being used to examine the data model, create information models, etc.

I used the latest UaModeler put it shows the error in the OP

Same pb here using UA modeler

Hi,
seems to be a pb with this nested construct:

seems working when commenting like this

This occurs on lines
197 632, 197 645 et 197 658
Please investigate this issue.


Zero123 bad result

I've been testing various networks on human 2D-to-3D task, on Yoga-82 dataset. This one failed right on the first attempt, as many others:

Background removed _rgba.png
Result

I think this is a reasonable result. Several suggestions to improve the quality:

make the foreground object smaller (pad with empty regions)
use the Magic123 pipeline

Thanks for the tips and your work overall. Padding didn't help, and I've found Magic123 performing roughly the same as Zero123 for the first picture, but better for another one. Here are more test results:
Zero123
https://github.com/threestudio-project/threestudio/assets/1296678/5dc8b75c-5587-45b9-97a7-4eda07dac5ef
Magic123
https://github.com/threestudio-project/threestudio/assets/1296678/1cafc650-cf59-4dfd-9078-2dca3832949a
--------------------------
Zero123
https://github.com/threestudio-project/threestudio/assets/1296678/c7059bd2-137f-4e53-b3ee-64c873489741
Magic123 (unrefined)
https://github.com/threestudio-project/threestudio/assets/1296678/c848672b-cae5-4904-87d4-3f610b46c1c6
--------------------------

Zero123
https://github.com/threestudio-project/threestudio/assets/1296678/d467369f-ba8e-42e4-9920-ebc5fc980bca
https://github.com/threestudio-project/threestudio/assets/1296678/04749439-3634-4122-9bfe-273b7543b107
https://github.com/threestudio-project/threestudio/assets/1296678/9c88ebea-82a4-41ad-8727-c2927115ac6b

Many variables in the config (LR, etc.) affect the final results quite a bit, both in Zero123 and Magic123

Maybe both networks could perform better if they were fine-tuned on humans datasets in order to solve the task of 2D dataset augmentation that I tried to solve through 2D->3D conversion.
Model normals show that the reconstructed models don't have enough meaningful information for the use case, and that this information remained in the texture part.
Here are also tests of NIKI, for comparison:

Due to accuracy, NIKI can't probably be used for reliable augmentation on Yoga-82 dataset either, and would need modification. Here are more examples: https://github.com/Jeff-sjtu/NIKI/issues/17

Thanks for the tips and your work overall. Padding didn't help, and I've found Magic123 performing roughly the same as Zero123 for the first picture, but better for another one. Here are more test results:
Zero123
zero123-it400-test.mp4
Magic123
it10000-test.mp4
Zero123
it700-test.2.mp4
Magic123 (unrefined)
it10000-test.1.mp4
-------------------------- Zero123
it700-test.mp4
it400-test.1.mp4
it400-test.2.mp4

hi drywet, l would like to make a try on my own methods with those pictures, however it's hard to find the specific picture on Yoga dataset, could you help me with the notations of the pictures you test. Thank you very much!

Hello, yxymessi. Sure, here are these particular samples. I actually used a modified version of Yoga-82 dataset after some Kaggle competition, and I haven't check if the images really come from Yoga-82 or if they're still available, since the dataset contains image urls rather than images themselves.
yoga-images-videos.zip

yoga-images-videos.zip

Thank you very much. It really helps me a lot!

Thanks for the tips and your work overall. Padding didn't help, and I've found Magic123 performing roughly the same as Zero123 for the first picture, but better for another one. Here are more test results:
Zero123
zero123-it400-test.mp4
Magic123
it10000-test.mp4
Zero123
it700-test.2.mp4
Magic123 (unrefined)
it10000-test.1.mp4
-------------------------- Zero123
it700-test.mp4
it400-test.1.mp4
it400-test.2.mp4

Hello, I am working on magic123, can you please tell me how to export mesh with texture, how you did it?
It will help me a lot
thank you


Resolve compilation warning

solc v0.4.24 gives:
SimpleMultiSig.sol:30:22: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
    bytes32 txHash = keccak256(byte(0x19), byte(0), this, destination, value, data, nonce);
                     ^-------------------------------------------------------------------^

Thanks for this! Will need to read up on abi.encodePacked to make sure I understand the implications.

This has been addressed in version v2.0.0. Thanks for the input!


More flexible syncing by providing administrative functionality

Right now, we only offer the option to specify a syncing milestone from which INX starts syncing.
We should create a new [sync] section in the Config that gives users more flexibility:

sync_start_milestone = 1 should move to that section
Add an additional option delete_newer that would delete any data that is newer than that milestone

The motivation behind this is, that if there was a problem with Chronicle and we know a safe milestone (like 1 week ago, the milestone before the update) the user can only do a partial wipe of the DB and does not have to resync everything from scratch.

Feels like perhaps that should be part of the CLI, rather than config.


XML configuration extension may need access to user land class loader

Currently, any XML configuration extension will only know about the class loader that created it.
Usage patterns may require access to other ones, the Ehcache main one or the user provided one.
For example, following the changes done in #850, user class may need to be resolved from the transaction XML extension.
Investigation needs to confirm this and depending on the result some XML extension SPI changes may be required.

I think this is all "correct" now... ServiceCreationConfiguration parsers get the managers classloader, ServiceConfiguration parsers get the cache's classloader. If there are other needed loaders then it's up to the implementation to feed them wherever they need to go.


Use memcached as the default cache store.

What
We are going to add a new election lookup service to Frontend. Using a shared memcached server will help performance.
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠

@sihugh Ah, I thought they were only on production machines 🤔 So do we need alphagov/govuk-puppet#11032 at all?

Yep, because that lets us use a shared one between all the nodes to increase our cache hit rate

Ah yep - we need to set the ENV var in staging for frontend to write to memchached in staging. I remember now.


Termux on Adnroid multiprocessing not supported

Can you somehow disable multiprocessing on Termux? because Android phones does not support it?
ERROR CODE:
Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/lib/python3.7/multiprocessing/synchroniz                                          e.py", line 28, in <module>
    from _multiprocessing import SemLock, sem_unlink
ImportError: cannot import name 'SemLock' from '_multiprocessing' (/data/data/co                                          m.termux/files/usr/lib/python3.7/lib-dynload/_multiprocessing.cpython-37m.so)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/bin/git-remote-dropbox", line 10, in <mo                                          dule>
    sys.exit(main())
  File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/git_remote_d                                          ropbox/__init__.py", line 812, in main
    helper.run()
  File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/git_remote_d                                          ropbox/__init__.py", line 375, in run
    self._do_fetch(line)
  File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/git_remote_d                                          ropbox/__init__.py", line 422, in _do_fetch
    self._fetch(sha)
  File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/git_remote_d                                          ropbox/__init__.py", line 610, in _fetch
    input_queue = multiprocessing.Queue()  # requesting downloads
  File "/data/data/com.termux/files/usr/lib/python3.7/multiprocessing/context.py                                          ", line 102, in Queue
    return Queue(maxsize, ctx=self.get_context())
  File "/data/data/com.termux/files/usr/lib/python3.7/multiprocessing/queues.py"                                          , line 39, in __init__
    from .synchronize import SEM_VALUE_MAX as maxsize
  File "/data/data/com.termux/files/usr/lib/python3.7/multiprocessing/synchroniz                                          e.py", line 32, in <module>
    " synchronization primitives needed will not" +
ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.

Oh interesting, I didn't know anyone was using this on Android phones. And I didn't know that the multiprocessing module isn't fully supported on there.
This should be possible to fix by falling back to sequential execution for uploading/downloading files, though it might be a bit slow. I don't know if there's a better intermediate solution (e.g. something like multiprocessing.Queue that can be used on your platform).

Using https://github.com/asciinema/asciinema/issues/271#issuecomment-379389020 as a reference I've fixed the cloning portion of it in my fork:
https://github.com/harounb/git-remote-dropbox/tree/fix-termux.
Yet to test the other parts that rely on multiprocessing modules like pushing. I'll do that soon.

Fixed in #89.


Modify restart function prompt

Restart function can input multiple containers one time to restart, I think you can change the command prompt
Signed-off-by: zhouhao<EMAIL_ADDRESS>

LGTM 🐮
/cc @thaJeztah @sfsmithcha @SvenDowideit

LGTM

@tiborvass this has code changes, marked as process/cherry-pick

LGTM


Normative: Define return value when no time zone info, and canonical

Address https://github.com/tc39/proposal-intl-locale-info/issues/47 and https://github.com/tc39/proposal-intl-locale-info/issues/46
@anba @sffc @ryzokuken @gibson042 @zbraniecki

TC39 approval this PR on 2021-12-14


feat: make atracker + cos opt-in feature

Description
This PR updates the root of the module to make the atracker route and bucket for log storage optional based on a variable provided by the consumer
Release required?

[ ] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

/run pipeline

@MatthewLemmond You prob need to skip upgrade test:
│ Error: Value for undeclared variable
│
│ A variable named "provision_atracker_cos" was assigned on the command line,
│ but the root module does not declare a variable of that name. To use this
│ value, add a "variable" block to the configuration.
╵}

/run pipeline

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

GitHub release
v1.2.0

Your semantic-release bot :package::rocket:


how to get the value if The column ownership of a sub table in a list is hidden ??? Thanks...

Description
A clear and concise description of what the bug is.
Minimal Reproduction

https://stackblitz.com/...
Your Environment

Angular version: X.Y.Z
Formly version: X.Y.Z

Additional context
Add any other context about the problem here.

If you would like to keep the value of hidden field in the mode, pass false to resetOnHide.
Another option if want just to check its value, use:
parentField.get('key_of_hidden_field').formControl.value


Can't find string resource when using productFlavors

I'm getting "No resource found" error for task 'app:processDebugResources'  while trying to sync gradle.
It fails on generating AndroidManifest file.
It was okay until adding flavors.
I have resValue "string", "build_config_package", <myBasePackageName> on the defaultConfig.
EDIT: myBasePackageName as in the Manifest file.
react-native-config: 0.10.0.
What am i doing wrong?
Thanks

Hey there! Sorry for the trouble I believe this was fixed in 0.11.1 – can you give it a try?
Thanks,

Still the same. just to clarify the issue- the build with ENVFILE=.env.dev react-native run-android --variant=<variantName>Debug works fine. the problem is when i'm trying to sync project with gradle(in android studio).

Oops, should be fixed for good now 😬
Sorry for the trouble


309551054 lab4

Description
requirement 1, 2 & elective 2 done
@GrassLab/ta

Hi @Brothre23,
There are some merge conflicts that I can't resolve directly.
Could you help me fix them?
If you need any help, feel free to contact me.
@ljs7619480


Recommend deleting python file if python file overwrites builtins

If kernel startup fails and we detect a user defined file that overwrites builtins, then recommend deleting that file.

Solution:

We can detect the import error message from the stderr when kernel fails to launch
Ensure a python file with the name of a built exists in the stderr & exists in workspace folder (thats not in the python env)
If above conditions are met recommend deleting the above

This is could be the start of kernel doctor


chore(docs): Fix links

This PR makes some absolute links relative, updates some links to point to the correct pages and fixes some formatting on a debugger page

Docs Preview
Hey there! 👋 You can check your preview at https://66a167dd22467d3fc2257cb5--aztec-docs-dev.netlify.app

Benchmark results
Metrics with a significant change:

avm_simulation_time_ms (Token:mint_public): 310 (+405%)
avm_simulation_time_ms (Token:assert_minter_and_mint): 49.1 (-50%)
avm_simulation_time_ms (Token:transfer_public): 34.0 (-32%)
avm_simulation_time_ms (Token:_increase_public_balance): 60.4 (+299%)
protocol_circuit_proving_time_in_ms (base-parity): 1,382 (-36%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_ms
5,786 (+1%)
1,571 (+2%)
726 (+4%)
753 (-1%)
767

proof_construction_time_sha256_30_ms
11,804 (+1%)
3,168 (+1%)
1,426 (+2%)
1,448
1,467

proof_construction_time_sha256_100_ms
43,917
12,316 (+3%)
5,522 (+2%)
5,453 (+2%)
5,605 (+5%)

proof_construction_time_poseidon_hash_ms
78.0
34.0
34.0
59.0
88.0

proof_construction_time_poseidon_hash_30_ms
1,521
420
202
227 (-1%)
268

proof_construction_time_poseidon_hash_100_ms
5,628
1,506
694 (+4%)
736 (+1%)
766 (+3%)

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
708
708
708

l1_rollup_calldata_gas
6,600
6,588
6,600

l1_rollup_execution_gas
584,280
584,419
584,582

l2_block_processing_time_in_ms
779
1,433 (+1%)
2,702 (-1%)

l2_block_building_time_in_ms
10,956 (-1%)
21,150
42,097

l2_block_rollup_simulation_time_in_ms
10,955 (-1%)
21,150
42,097

l2_block_public_tx_process_time_in_ms
9,145 (-1%)
19,178
40,050

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
7,122 (+1%)
10,044 (+1%)

node_database_size_in_bytes
12,722,256
16,891,984

pxe_database_size_in_bytes
16,254
26,813

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Function
time_ms
bytecode_size_in_bytes

GasToken:_increase_public_balance
99.9
13,790

GasToken:set_portal
13.4 (+3%)
3,339

Token:constructor
123
23,692

FPC:constructor
91.1 (-1%)
13,592

GasToken:mint_public
81.1 (-3%)
10,158

Token:mint_public
:warning: 310 (+405%)
19,034

Token:assert_minter_and_mint
:warning: 49.1 (-50%)
12,925

AuthRegistry:set_authorized
47.1
7,812

FPC:prepare_fee
270 (+6%)
11,068

Token:transfer_public
:warning: 34.0 (-32%)
44,012

FPC:pay_refund
73.9 (-4%)
15,961

Benchmarking:increment_balance
1,067
11,281

Token:_increase_public_balance
:warning: 60.4 (+299%)
15,006

FPC:pay_refund_with_shielded_rebate
134 (+2%)
17,056

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.156 (-1%)

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.3 (-1%)
16.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.597 (-1%)
0.512
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
47.8 (-1%)
76.6
131 (-2%)
247 (+1%)
469 (-1%)

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
287
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.489 (-1%)
0.471
0.451 (-1%)
0.447 (+1%)
0.438 (-1%)

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
59.4
112 (-2%)
182 (-2%)
355 (+1%)
692 (-1%)

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
207
355
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.502
0.500 (-2%)
0.483 (-1%)
0.481 (+1%)
0.476 (-1%)

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
72.7 (-1%)
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
133
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.517 (-1%)
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
72,014
666,910

Transaction size based on fee payment method
| Metric |  |
| - |  |


CI build broken due to missing Clippy component

The CI build of PR #110 has failed due to clippy missing for the current version of Rust, see https://mexus.github.io/rustup-components-history/x86_64-unknown-linux-gnu.html.

Closing this issue, as clippy has become available again for recent nightlys.
After merging #90, all builds on CI seem to use the Rust nightly builds as CLIPPY_TOOLCHAIN is always set to nightly.


accelerator.prepare() throws an exception when loading an 8-bit model and trying to train the model on multi-GPU

https://github.com/huggingface/accelerate/blob/d07fd959cc15afe5ab7d890e52f0a9fa85f3acd0/src/accelerate/accelerator.py#L1202
I'm using accelerator+peft+bitsandbytes to train a large language model, my model is initialized as follows:
model = AutoModelForSeq2SeqLM.from_pretrained(
    args.model_name_or_path,
    config=config,
    load_in_8bit=True,
    device_map="auto"
)
model = prepare_model_for_int8_training(model)
model, optimizer, train_dataloader, eval_dataloader, lr_scheduler = accelerator.prepare(
    model, optimizer, train_dataloader, eval_dataloader, lr_scheduler
)

I would like to know how to use accelerator for int8 training on multiple GPUs.
model, optimizer, train_dataloader, eval_dataloader, lr_scheduler = accelerator.prepare(
                                                                        ^^^^^^^^^^^^^^^^^^^^
File "/data2/home/anaconda3/envs/pt2/lib/python3.11/site-packages/accelerate/accelerator.py", line 1094, in prepare
    result = tuple(
             ^^^^^^
  File "/data2/home/anaconda3/envs/pt2/lib/python3.11/site-packages/accelerate/accelerator.py", line 1095, in <genexpr>
    self._prepare_one(obj, first_pass=True, device_placement=d) for obj, d in zip(args, device_placement)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data2/home/anaconda3/envs/pt2/lib/python3.11/site-packages/accelerate/accelerator.py", line 949, in _prepare_one
    return self.prepare_model(obj, device_placement=device_placement)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data2/home/anaconda3/envs/pt2/lib/python3.11/site-packages/accelerate/accelerator.py", line 1143, in prepare_model
    raise ValueError(
ValueError: You can't train a model that has been loaded in 8-bit precision on multiple devices.
WARNING:torch.distributed.elastic.multiprocessing.api:Sending process 68507 closing signal SIGTERM
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 1 (pid: 68508) of binary: /data2/home/anaconda3/envs/pt2/bin/python
Traceback (most recent call last):
  File "/data2/home/anaconda3/envs/pt2/bin/accelerate", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/data2/home/anaconda3/envs/pt2/lib/python3.11/site-packages/accelerate/commands/accelerate_cli.py", line 45, in main
    args.func(args)
  File "/data2/home/anaconda3/envs/pt2/lib/python3.11/site-packages/accelerate/commands/launch.py", line 906, in launch_command
    multi_gpu_launcher(args)
  File "/data2/home/anaconda3/envs/pt2/lib/python3.11/site-packages/accelerate/commands/launch.py", line 599, in multi_gpu_launcher
    distrib_run.run(args)
  File "/data2/home/anaconda3/envs/pt2/lib/python3.11/site-packages/torch/distributed/run.py", line 785, in run
    elastic_launch(
  File "/data2/home/anaconda3/envs/pt2/lib/python3.11/site-packages/torch/distributed/launcher/api.py", line 134, in __call__
    return launch_agent(self._config, self._entrypoint, list(args))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data2/home/anaconda3/envs/pt2/lib/python3.11/site-packages/torch/distributed/launcher/api.py", line 250, in launch_agent
    raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError

cc @younesbelkada

@Silypie
Thanks for the ping!
Currently this is not supported because the accelerator will automatically convert the model into a DistributedDataParallel and this lead to multiple errors in the past using 8bit models.
however, I believe that we can address a fix, that I didn't implemented at that time. Let me get back to you on this


Question: does the tool support arbitrary Darwin Core terms / column names?

I noticed the CSV file with column name, types, ...
I understand the usefulness of having types and restrictions on columns, but given the variability of the DwC-A "in the wild" and the difficulty to know exactly what's part of each standard, I think it would be good if the tool also support arbitrary columns (assign them the type string).
(maybe that's already the case, didn't checked...)

That's indeed already the case. Terms not present in the DwCVocabulary table are treated with 'string' type.


Update to Bevy master v0.4

This is meant to update alongside Bevy's master branch as in the rapid development phase nice features are added all the time. Also, so that people do not have to wait for this project to update to latest Bevy before they can use it.
Changed

Updated to latest Bevy
ChunkComponents renamed to ChunkBundle to stay inline with Bevy API.
TilemapComponents renamed to TilemapBundle to stay inline with Bevy API.
Examples were updated.

Sorry all that this had taken longer than expected. Been a busy holiday season.


Custom fonts not working on React-Native 0.62

Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
I'm trying to use a custom font on my app but it doesn't work. I have followed numerous steps from other similar questions but nothing works.
I'm not getting any error.
The path to the assets folder: https://i.stack.imgur.com/loEph.png
This is what I tried:

Creating react-native.config.js file on root project with the following code:

module.exports = {
    project: {
      ios: {},
      android: {},
    },
    assets: ['./src/assets/fonts']
  };

Running react-native link: This didnt give me any errors:

info Linking assets to ios project
info Linking assets to android project
success Assets have been successfully linked to your project

Naming the font exactly as its named in styles WITHOUT using any fontWeight:

<Text style={[styles.texto_Titulo, {fontFamily: "LatoBlack"}]}>
      ENTRADA
</Text>

Recompiling with npx react-native run-android after react-native link
In android/src/main/assets/fonts they get correctly added.
The name I use is the same and is correct, and I also tried changing the names to lower case but that didn't work.
Why is this not working?
React Native version:
Binaries:
Node: 13.9.0 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 6.13.7 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
IDEs:
Android Studio: Version  <IP_ADDRESS> AI-192.7<IP_ADDRESS>41897
Languages:
Python: 2.7.17
npmPackages:
@react-native-community/cli: Not Found
react: 16.9.0 => 16.9.0
react-native: ^0.62.0 => 0.62.0
npmGlobalPackages:
react-native: Not Found

I also got the same issue.... I follow the guideline<EMAIL_ADDRESS>I Created the react-native.config.js file with
module.exports = {
project: {
ios: {},
android: {},
},
assets: ['./assets/fonts'],
};
run the npx react-native link and also tried with yarn react-native link and there is no error.
I saw the fonts in the android/src/main/assets/fonts folder with my fonts.
I use the same and correct font name which i used in the fonts file but still not getting the desired/custom fonts. I also tried to make the font name in lower case also but that did not work also.
Please look over the issue and resolve it. Thanks

same issue in version 0.62

same issue in version 0.62

I got it working by changing the directory of the assets/fonts folder from the android/src/main/assets to android/app/src/main/assets/fonts
i think the problem is somehow in the linking process/react-native-cli.
This is temporary solution for the problem. But we want it to be fixed as soon as possible, Thanks

As @anwersolangi commented, copying the assets to android/app/src/main/ worked wonders! Please fix this bug for future problems because this is just a workaround and sometimes this just doesnt happen, so its inconsistent.

@anwersolangi did you fix for iOS?

@anwersolangi did you fix for iOS?

I use this for android development only.

npx react-native link isn't working for me after adding
module.export = {
    project: {
        ios: {},
        android: {}
    },
    assets: ['./assets/fonts/']
}

I had to manually copy my assets directory to android/app/src/main to make them work on Android. For iOS, you'll have to search for a guide or something and edit Info.plist or use xcode to generate it.

Use the manual Linking procedure in this guide
<EMAIL_ADDRESS>

Was it fixed?
I'm using react native newest version to test but it seems to not working
I followed 2 links
<EMAIL_ADDRESS>https://medium.com/react-native-training/react-native-custom-fonts-ccc9aacf9e5e
When i ran react-native link. I saw the fonts were linked to android/app/src/main/assets/fonts
But nothing special then. For the ios, it's working smoothly.
Please give me some advices.
Thank in advance!

Was it fixed?
I'm using react native newest version to test but it seems to not working
I followed 2 links
<EMAIL_ADDRESS>https://medium.com/react-native-training/react-native-custom-fonts-ccc9aacf9e5e
When i ran react-native link. I saw the fonts were linked to android/app/src/main/assets/fonts
But nothing special then. For the ios, it's working smoothly.
Please give me some advices.
Thank in advance!

Same problem, looking for solutions

@ilya-raevskiy
I've tried to remove react-native.config.js and added the code below to package.json
It's working now. But i think you can keep react-native.config.js.
"rnpm": {     "assets": [       "./src/assets/fonts"     ]   }
then rm -rf node_module && yarn install && react-native run-android

I have followed the exact same thing mentioned here and it works
<EMAIL_ADDRESS>Using: Mac OS && React Native 0.62

Create a Folder called assets & Create a Fonts folder inside it.
Place the fonts in TTF format within there
run npx react-native link (I am using native CLI)
Open and see your Info.plist and android/app/main/assets/fonts you will see your fonts.

Use the manual Linking procedure in this guide
<EMAIL_ADDRESS>For both iOS and Android.

it didn't work for my andorid

https://medium.com/@mehrankhandev/ultimate-guide-to-use-custom-fonts-in-react-native-77fcdf859cf4 worked on iOS and Android with RN 0.62.2. If it's not working for you:
Double-check

Are your fonts in TTF format?
Did you rename font files as in the article (filename without prefix matches PostScript name)?
Have a) font files been copied to /android/app/src/main/assets/fonts and b) do ios/MyProjectName/Info.plist & ios/MyProjectName.xcodeproj/project.pbxproj contain rows with the font file names? If not:

Did you run npx react-native link (or react-native link, depending on your setup)?
Did you create the react-native.config.js as in the article? (note the two dots, .config.js)

Do you use fontWeight? If yes, try removing it (can cause problems on Android, see https://stackoverflow.com/a/58765980 ).
Is your style definition correct, e.g. style={{ fontFamily: "SFUIDisplay-Bold" }}? Try it on other <Text> elements in your app to weed out problems related to the element itself (e.g. the fontWeight issue).
Have you stopped the Metro bundler and any emulators (e.g. rebooted your machine)?
 Try e.g. the fonts in the article to rule out problems with your fonts.
Are you using Expo instead of vanilla React Native? If yes, check out https://docs.expo.io/guides/using-custom-fonts/

Good luck!

https://medium.com/@mehrankhandev/ultimate-guide-to-use-custom-fonts-in-react-native-77fcdf859cf4 worked on iOS and Android with RN 0.62.2. If it's not working for you:
Double-check

Are your fonts in TTF format?

Did you rename font files as in the article (filename without prefix matches PostScript name)?

Have a) font files been copied to /android/app/src/main/assets/fonts and b) do ios/MyProjectName/Info.plist & ios/MyProjectName.xcodeproj/project.pbxproj contain rows with the font file names? If not:

Did you run npx react-native link (or react-native link, depending on your setup)?
Did you create the react-native.config.js as in the article? (note the two dots, .config.js)

Do you use fontWeight? If yes, try removing it (can cause problems on Android, see https://stackoverflow.com/a/58765980 ).

Is your style definition correct, e.g. style={{ fontFamily: "SFUIDisplay-Bold" }}? Try it on other <Text> elements in your app to weed out problems related to the element itself (e.g. the fontWeight issue).

Have you stopped the Metro bundler and any emulators (e.g. rebooted your machine)?

 Try e.g. the fonts in the article to rule out problems with your fonts.

Are you using Expo instead of vanilla React Native? If yes, check out https://docs.expo.io/guides/using-custom-fonts/

Good luck!

https://medium.com/@mehrankhandev/ultimate-guide-to-use-custom-fonts-in-react-native-77fcdf859cf4 worked on iOS and Android with RN 0.62.2. If it's not working for you:
Double-check

Are your fonts in TTF format?

Did you rename font files as in the article (filename without prefix matches PostScript name)?

Have a) font files been copied to /android/app/src/main/assets/fonts and b) do ios/MyProjectName/Info.plist & ios/MyProjectName.xcodeproj/project.pbxproj contain rows with the font file names? If not:

Did you run npx react-native link (or react-native link, depending on your setup)?
Did you create the react-native.config.js as in the article? (note the two dots, .config.js)

Do you use fontWeight? If yes, try removing it (can cause problems on Android, see https://stackoverflow.com/a/58765980 ).

Is your style definition correct, e.g. style={{ fontFamily: "SFUIDisplay-Bold" }}? Try it on other <Text> elements in your app to weed out problems related to the element itself (e.g. the fontWeight issue).

Have you stopped the Metro bundler and any emulators (e.g. rebooted your machine)?

 Try e.g. the fonts in the article to rule out problems with your fonts.

Are you using Expo instead of vanilla React Native? If yes, check out https://docs.expo.io/guides/using-custom-fonts/

Good luck!

thankyou, my problem is using ### fontWeight

thankyou sir @lauriharpf , my problem is using fontWeight

thankyou sir @lauriharpf , my problem is using fontWeight

me too. I was using fontWeight: 'bold' without including the bold version of the font in the project. after including that too, worked fine

I am facing this problem too

same problem here

in my case on iOS, in some parts i got the fonts working but on other parts it retains default font family and gives error unrecognized font family

in my case on iOS, in some parts i got the fonts working but on other parts it retains default font family and gives error unrecognized font family

edit:
In my case, i got it working by using the font name using postscript style:
e.g: if i have a font that has name Random Font Name Bold i will name the font file RandomFontName-Bold and if i have font such as Random Font Name i will name the font file RandomFontName

edit:
In my case, i got it working by using the font name using postscript style:
e.g: if i have a font that has name Random Font Name Bold i will name the font file RandomFontName-Bold and if i have font such as Random Font Name i will name the font file RandomFontName

https://medium.com/@mehrankhandev/ultimate-guide-to-use-custom-fonts-in-react-native-77fcdf859cf4 worked on iOS and Android with RN 0.62.2. If it's not working for you:
Double-check

Are your fonts in TTF format?

Did you rename font files as in the article (filename without prefix matches PostScript name)?

Have a) font files been copied to /android/app/src/main/assets/fonts and b) do ios/MyProjectName/Info.plist & ios/MyProjectName.xcodeproj/project.pbxproj contain rows with the font file names? If not:

Did you run npx react-native link (or react-native link, depending on your setup)?
Did you create the react-native.config.js as in the article? (note the two dots, .config.js)

Do you use fontWeight? If yes, try removing it (can cause problems on Android, see https://stackoverflow.com/a/58765980 ).

Is your style definition correct, e.g. style={{ fontFamily: "SFUIDisplay-Bold" }}? Try it on other <Text> elements in your app to weed out problems related to the element itself (e.g. the fontWeight issue).

Have you stopped the Metro bundler and any emulators (e.g. rebooted your machine)?

 Try e.g. the fonts in the article to rule out problems with your fonts.

Are you using Expo instead of vanilla React Native? If yes, check out https://docs.expo.io/guides/using-custom-fonts/

Good luck!

Just remove fontWeight guys

https://medium.com/@mehrankhandev/ultimate-guide-to-use-custom-fonts-in-react-native-77fcdf859cf4 worked on iOS and Android with RN 0.62.2. If it's not working for you:
Double-check

Are your fonts in TTF format?

Did you rename font files as in the article (filename without prefix matches PostScript name)?

Have a) font files been copied to /android/app/src/main/assets/fonts and b) do ios/MyProjectName/Info.plist & ios/MyProjectName.xcodeproj/project.pbxproj contain rows with the font file names? If not:

Did you run npx react-native link (or react-native link, depending on your setup)?
Did you create the react-native.config.js as in the article? (note the two dots, .config.js)

Do you use fontWeight? If yes, try removing it (can cause problems on Android, see https://stackoverflow.com/a/58765980 ).

Is your style definition correct, e.g. style={{ fontFamily: "SFUIDisplay-Bold" }}? Try it on other <Text> elements in your app to weed out problems related to the element itself (e.g. the fontWeight issue).

Have you stopped the Metro bundler and any emulators (e.g. rebooted your machine)?

 Try e.g. the fonts in the article to rule out problems with your fonts.

Are you using Expo instead of vanilla React Native? If yes, check out https://docs.expo.io/guides/using-custom-fonts/

Good luck!

Just remove fontWeight guys

Thanks Dude . You made my day

Do NOT use FONT-WEIGHT this was the main culprit for fonts not working on Android..

But then what do you use to specify the fontWeight? It works correctly on iOS for me. Now I would have to create different styles for android and reference different font weights like this: fontFamily: 'nunitosans_light' which is not really ideal.
Was anybody able to make custom fonts work with fontWeight on Android?

But then what do you use to specify the fontWeight? It works correctly on iOS for me. Now I would have to create different styles for android and reference different font weights like this: fontFamily: 'nunitosans_light' which is not really ideal.
Was anybody able to make custom fonts work with fontWeight on Android?

I used different static font files for the regular and bold versions in stead of using weights with the variable fonts.
Why this is better? https://blog.logrocket.com/variable-fonts-is-the-performance-trade-off-worth-it/
I guess this helps.

https://medium.com/@mehrankhandev/ultimate-guide-to-use-custom-fonts-in-react-native-77fcdf859cf4 worked on iOS and Android with RN 0.62.2. If it's not working for you:
Double-check

Are your fonts in TTF format?

Did you rename font files as in the article (filename without prefix matches PostScript name)?

Have a) font files been copied to /android/app/src/main/assets/fonts and b) do ios/MyProjectName/Info.plist & ios/MyProjectName.xcodeproj/project.pbxproj contain rows with the font file names? If not:

Did you run npx react-native link (or react-native link, depending on your setup)?
Did you create the react-native.config.js as in the article? (note the two dots, .config.js)

Do you use fontWeight? If yes, try removing it (can cause problems on Android, see https://stackoverflow.com/a/58765980 ).

Is your style definition correct, e.g. style={{ fontFamily: "SFUIDisplay-Bold" }}? Try it on other <Text> elements in your app to weed out problems related to the element itself (e.g. the fontWeight issue).

Have you stopped the Metro bundler and any emulators (e.g. rebooted your machine)?

 Try e.g. the fonts in the article to rule out problems with your fonts.

Are you using Expo instead of vanilla React Native? If yes, check out https://docs.expo.io/guides/using-custom-fonts/

Good luck!

In my case it works on android after removing font-weight.

Whats worked for me was:
I had to rename the font file name to the same name as the font name which I would use in fontFamily.
Example: fontFamily: "Rancho"
The file name I had for this Rancho font was rancho-regular.ttf (Incorrect)
I renamed it to Rancho.ttf (correct)
And now its working for both Android and iOS

Whats worked for me was:
I had to rename the font file name to the same name as the font name which I would use in fontFamily.
Example: fontFamily: "Rancho"
The file name I had for this Rancho font was rancho-regular.ttf (Incorrect)
I renamed it to Rancho.ttf (correct)
And now its working for both Android and iOS

This worked for me. Thanks for the pointer. I changed Arvo-Regular.ttf to Arvo.ttf.

https://medium.com/@mehrankhandev/ultimate-guide-to-use-custom-fonts-in-react-native-77fcdf859cf4 worked on iOS and Android with RN 0.62.2. If it's not working for you:
Double-check

Are your fonts in TTF format?

Did you rename font files as in the article (filename without prefix matches PostScript name)?

Have a) font files been copied to /android/app/src/main/assets/fonts and b) do ios/MyProjectName/Info.plist & ios/MyProjectName.xcodeproj/project.pbxproj contain rows with the font file names? If not:

Did you run npx react-native link (or react-native link, depending on your setup)?
Did you create the react-native.config.js as in the article? (note the two dots, .config.js)

Do you use fontWeight? If yes, try removing it (can cause problems on Android, see https://stackoverflow.com/a/58765980 ).

Is your style definition correct, e.g. style={{ fontFamily: "SFUIDisplay-Bold" }}? Try it on other <Text> elements in your app to weed out problems related to the element itself (e.g. the fontWeight issue).

Have you stopped the Metro bundler and any emulators (e.g. rebooted your machine)?

 Try e.g. the fonts in the article to rule out problems with your fonts.

Are you using Expo instead of vanilla React Native? If yes, check out https://docs.expo.io/guides/using-custom-fonts/

Good luck!

Font weight was breaking the family


Only import languages needed for syntax highlighting

Fixes #1405

Is JSON the only language  needed currently?

added dockerfile as well

Looks good. Thanks for figuring this out.

Great. It should merge in automatically once approved.


Update VisualStudio.gitignore for VS family & .NET

Update VisualStudio.gitignore to cover all products in the VS family and .NET including:
VS IDE
VS4Mac
VS Code
.NET CLI
Reasons for making this change:
Supporting mixed development teams on different IDEs and different platforms.

@metoly thanks for the contribution!
These templates are designed to be composed together based on your setup and technologies, and merging multiple templates together like this adds a significant maintenance burden that I can't take on currently.

@shiftkey,
Thanks. We need these changes to support cross platform projects in Visual Studio. I already verified the changes with VS Code, VS4Mac and VS IDE.


date range method

hi bro calendar.getSelectedDates() is alwaay return empty array .. how to catch calendar change event?

Hey, can you tell me exactly what are you doing, so I can reproduce the bug.
There is no other method to get the selected dats.

oh i mean bro ...
calendar.getSelectedDates() this fun is always return empty []

it returns an ArrayList of Date Objects, cant seems to reproduce the error

ohnn bro how to get user selected dates ?

CalendarPickerView object has a method getSelectedDates

Can you post ur code snippet, how you are using it;

sorry bro i wrong i got this morning from calendar date array .. i miss some code bro ...thank you for nice library


Added support to create ECC asymmetric keys

Extended AsymmetricPublicKey and AsymmetricKeyPair to support
ECC keys
Updated unit tests
Added guards to functionality that currently only supports RSA
Fixed issue found on the OEAPpadding mode class, used for the
Asymmetric encryption functionality

Added unit test to check if creating PEMs also work when the key was initially load from PEM and not generated by the library.


First Driftdetect

Looks good, please update the PR title to something more complete and descriptive of what is being added, then we can merge.


Minimum and maximum rules validating numbers as strings

The minimum and maximum validation rules incorrectly validate numerical values based on their length instead of their value when programmatically passing a element's value to the validation function.
Iodine.is(element.value, ['minimum:10'])

The default validation messages for these rules are also inappropriate or confusing when validating numbers
      maximum: `Value must not be greater than '[PARAM]' in size or character length`,
      minimum: `Value must not be less than '[PARAM]' in size or character length`,

I propose deprecating the current function to prevent breaking changes, and then creating 'min' and 'max' rules for numbers and 'minlength' and 'maxlength' rules for validating string length. This would be more in keeping with the naming conventions used on html inputs.

Thanks for getting in touch. I'd be happy to accept a PR for this.


ReferenceError: prop is not defined

ncc: Using<EMAIL_ADDRESS>(local user-provided)
(node:67000) UnhandledPromiseRejectionWarning: ReferenceError: prop is not defined
    at Object.enter (evalmachine.<anonymous>:1:470112)
    at visit (evalmachine.<anonymous>:1:285681)
    at visit (evalmachine.<anonymous>:1:285902)
    at visit (evalmachine.<anonymous>:1:285944)
    at visit (evalmachine.<anonymous>:1:285944)
    at visit (evalmachine.<anonymous>:1:285944)
    at visit (evalmachine.<anonymous>:1:285902)
    at walk (evalmachine.<anonymous>:1:285457)
    at Object.e.exports (evalmachine.<anonymous>:1:466106)
    at LOADER_EXECUTION (evalmachine.<anonymous>:3:835818)
(node:67000) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:67000) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I'm encountering this error in the now-build-utils package.
The strange part is that it only happens when running the ./build.sh script directly. When run via yarn build it works as expected 🤔

Nevermind, this was with an older version of ncc (0.16.0).


Document an example of using que with gem shrine

It would be great if we have a working example of using que with the new gem shrine to upload videos and photos. There is only an example with Sidekiq. Thanks!

I really only see the value of including examples like that in the docs if 1) the usage is generic enough that most people would find it helpful (so it's not tied to a specific gem) and 2) the implementation using Que is somehow different from what the implementation would be with a different job queue. If you really think that an example of using Que with Shrine specifically would be helpful to people, might I recommend a blog post?

@alfamemoria The beauty of Shrine's backgrounding design is that you're calling the backgrounding job directly. This means that you just have to look at the docs for the backgrounding library you're using (Que) to find out how job classes are called and defined 😉
Shrine::Attacher.promote { |data| PromoteJob.enqueue(data) }
Shrine::Attacher.delete { |data| Delete.enqueue(data) }

class PromoteJob < Que::Job
  def run(data)
    Shrine::Attacher.promote(data)
  end
end

class DeleteJob < Que::Job
  def run(data)
    Shrine::Attacher.delete(data)
  end
end


Add ability to set dismiss_out_of_range_messages per each message kinds

Feature request
If we set dismiss_out_of_range_messages, all kind of inline comments are dismissed.
However, I want to dismiss specific kind message only.
(For example, warnings out of ranges should be dismissed. errors should be commented.)
I'd like to set dismiss_out_of_range_messages per each kinds.
dismiss_out_of_range_messages = {
  warning: true,
  error: false,
  message: true,
  markdown: true,
}

Could you tell me your opinion?
I think dismiss_out_of_range_messages should accept boolean or [Symbol: boolean].
If it is OK, I'll send PR.

@giginet hi, can we close this?

Yes, this got shipped - unsure if it's in production yet though


Fix golint issues on the windows graph driver.

Signed-off-by: David Calavera<EMAIL_ADDRESS>

@swernli - can you glance over this please? :)

There's one missing I think:
daemon/graphdriver/windows/windows.go:259:1: exported method Driver.Cleanup should have comment or be unexported

@runcom fixed

LGTM once janky is happy

I wonder how I missed that on the last golint PR :sweat:.
It's probably nits but there is some comment that finish with a period, and some not :sweat_smile:.
Once those are fixed and the @swernli comment taken care of, LGTM for me too :wink: :blush:.

I've added punctuation marks all the way down, thanks :smile_cat:

LGTM

LGTM


Make the user feel that they are helping someone in particular

I'd be much more likely to play if I got a
notification saying "Jason from Austin, Texas is
doing a project on Bridges of America and needs
an image of Fremont Bridge". If my work is
helping somebody that would motivate me more. -
Man, age 26-30, India

Nearby is probably the easiest place to show this.
We could say something like:

Wikipedia editor PsiuewfI432 has written an article about Castle of Xciu, and needs an image of it, it is 150 meters from you right now.

The text would be a bit long, but would probably still fit in the Nearby banner on the main page.
We could show that full text only the first time.
I wonder if it is OK to express the presumed need of PsiuewfI432 this way? I guess yes, if PsiuewfI432 has really written most of the article. We need an API that tells us who is the most prominent writer of an article and how much (or how many percent, or many cumulated bytes of diff) they wrote for it. Then we would only show the plea if it is above a particular threshold.

This is a 'next level' idea, and would really motivate contributions. It almost naturally leads to gamification, as tagged. The downside, would contributers just go for high value media, to the detriment of everything else?
Chris


LIDAR Interpolation Methods output TIFF without CRS

I've been using the example scripts provided here: https://jblindsay.github.io/wbt_book/tutorials/lidar.html#grid_lidar
I've used the scripts under the headings "How do I convert a LiDAR point cloud into a raster?" and "I have many LAS/zLidar files and want to interpolate all of them at once". In both cases, whitebox tools outputs a TIFF that doesn't have a coordinate reference system associated with it.
The LAS files are too big to upload but I got them here: https://noaa-nos-coastal-lidar-pds.s3.amazonaws.com/laz/geoid18/9003/index.html
What am I doing wrong?

It looks like in source code of tool lidar_idw_interpolation.rs contains a bug, which is pretty much similar to issue #301
Here we can see, that output raster is being created from configs unlike in most of tools.
let mut output = Raster::initialize_using_config(&output_file, &configs);

Configs are created in this line of code:
https://github.com/jblindsay/whitebox-tools/blob/739c6854d5617e34fe5f696b14e862566e1249f5/whitebox-tools-app/src/tools/lidar_analysis/lidar_idw_interpolation.rs#L884
And I don't see below any configs.projection assignment.

Is there any updates on this issue? I am running into the same error.

Hello, I am running into the same issue. Is there a work around for this?


Alerts REST API Response Schema CHANGING for no reason

Hello,
While testing the Alerts - List by Resource Group REST API yesterday the JSON response changed between executions. This makes parsing the JSON impossible.
This results in Logic App failures because PARSE JSON action does not work:

Please advise on whether this was intentional or an anomaly.
Thank you
Example:

At 6/24/2020 5:40PM PDT, the JSON response from this request https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Security/alerts?api-version=2019-01-01  is shown below:

{
  "value": [
    {
      "properties": {
        "reportedTimeUtc": "2020-06-24T00:33:05.0257171Z",
        "detectedTimeUtc": "2020-06-23T23:40:37.472Z",
        "alertDisplayName": "Potential malware uploaded to a storage account",
        "alertName": "Storage.Blob_MalwareHashReputation",
        "vendorName": "Microsoft",
        "reportedSeverity": "Medium",
        "associatedResource": "/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Storage/storageAccounts/REDACTED",
        "compromisedEntity": "REDACTED",
        "state": "Active",
        "isIncident": false,
        "correlationKey": "RYwSG8FW/l7l/PH4LvZ6RZ3ZeaYtW46exwOTW+4QEG8=",
        "description": "Someone has uploaded potential malware to your Azure Storage account 'REDACTED'.",
        "remediationSteps": "• Remove the malicious blob from your storage account.\r\n• Limit access to your storage account, following the 'least privilege' principle: https://go.microsoft.com/fwlink/?linkid=2075737.\r\n• Revoke all storage access tokens that may be compromised and ensure that your access tokens are only shared with authorized users.\r\n• Ensure that storage access tokens are stored in a secured location such as Azure Key Vault. Avoid storing or sharing storage access tokens in source code, documentation, and email.",
        "actionTaken": "Undefined",
        "subscriptionId": "REDACTED",
        "instanceId": "ada17f78-31e6-4e32-9cb8-ba6a55379264",
        "extendedProperties": {
          "alert Id": "ada17f78-31e6-4e32-9cb8-ba6a55379264",
          "azure AD user": "N/A (Azure AD authentication was not used)",
          "user agent": "Azure-Storage/2.0.0-2.0.1 (Python CPython 3.6.10; Linux 5.3.0-59-generic) AZURECLI/2.7.0 (DEB)",
          "client IP address": "REDACTED",
          "client location": "Seattle, United States",
          "authentication type": "Shared access signature (SAS)",
          "investigation steps": "{\"displayValue\":\"View related storage activity using Storage Analytics Logging. See how to configure Storage Analytics logging and more information\",\"kind\":\"Link\",\"value\":\"https:\\/\\/go.microsoft.com\\/fwlink\\/?linkid=2075734\"}",
          "operations types": "PutBlob",
          "service type": "Azure Blobs",
          "container": "REDACTED",
          "blob": "eicar_test.txt",
          "malware description": "File was identified as malicious, MalwareFamily = Virus:DOS/EICAR_Test_File",
          "detection source": "Team Cymru",
          "mD5 hash": "44D88612FEA8A8F36DE82E1278ABB02F",
          "threat report": "{\"displayValue\":\"View report\",\"kind\":\"Link\",\"value\":\"https:\\/\\/interflowwebportalext.trafficmanager.net\\/reports\\/DisplayReport?callerIdentity=11f6b1d5-4924-41e8-bc4d-011d503247d5&reportCreateDateTime=2020-06-24T00%3a33%3a03&reportName=MSTI-TS-EICAR-File.pdf&tenantId=797d4884-c830-4b7f-a13a-eeb3e6e25ae4&urlCreateDateTime=2020-06-24T00%3a33%3a03&token=REDACTED"}",
          "threat report summary": "The European Institute for Computer Antivirus Research (EICAR)  and the Computer Antivirus Research Organization (CARO)  jointly developed a standard test file protocol called the “EICAR test file” which allows users to test their antivirus solution. The EICAR file is completely benign; however, when scanned, compliant antivirus solutions report the file in the same way as an actual malicious file. This does not mean that the computer is infected with malware, but rather it shows that the computer’s antivirus is functioning as expected.",
          "potential causes": "This alert indicates that a blob containing potential malware has been uploaded to your storage account.\r\nPotential causes:\r\n• An attacker has gained access to the storage account and has intentionally uploaded a malicious blob.\r\n• A legitimate user has unintentionally uploaded a malicious blob.\r\n• A legitimate user is performing tests on the system (e.g. penetration testing).",
          "resourceType": "Storage",
          "killChainIntent": "LateralMovement"
        },
        "workspaceArmId": "/subscriptions/REDACTED/resourcegroups/REDACTED/providers/microsoft.operationalinsights/workspaces/azbisqlalertlogworkspace",
        "confidenceReasons": [],
        "canBeInvestigated": true,
        "entities": [
          {
            "$id": "centralus_1",
            "address": "REDACTED",
            "location": {
              "countryName": "United States",
              "city": "Seattle"
            },
            "type": "ip"
          },
          {
            "$id": "centralus_2",
            "sourceAddress": {
              "$ref": "centralus_1"
            },
            "protocol": "Tcp",
            "type": "network-connection"
          },
          {
            "$id": "centralus_3",
            "resourceId": "/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Storage/storageAccounts/REDACTED",
            "type": "azure-resource"
          }
        ]
      },
      "id": "/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Security/locations/centralus/alerts/2518093451625279999_ada17f78-31e6-4e32-9cb8-ba6a55379264",
      "type": "Microsoft.Security/Locations/alerts",
      "name": "2518093451625279999_ada17f78-31e6-4e32-9cb8-ba6a55379264"
    }
  ]
}

At 6/24/2020 5:58PM PDT (18mins later), the JSON response from the same request https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Security/alerts?api-version=2019-01-01  is shown below

  "value": [
    {
      "properties": {
        "detectedTimeUtc": "2020-06-23T23:40:37.472Z",
        "vendorName": "Microsoft",
        "alertDisplayName": "Potential malware uploaded to a storage account",
        "alertName": "Storage.Blob_MalwareHashReputation",
        "description": "Someone has uploaded potential malware to your Azure Storage account 'stgvendorenscodev'.",
        "remediationSteps": "• Remove the malicious blob from your storage account.\r\n• Limit access to your storage account, following the 'least privilege' principle: https://go.microsoft.com/fwlink/?linkid=2075737.\r\n• Revoke all storage access tokens that may be compromised and ensure that your access tokens are only shared with authorized users.\r\n• Ensure that storage access tokens are stored in a secured location such as Azure Key Vault. Avoid storing or sharing storage access tokens in source code, documentation, and email.",
        "actionTaken": "Undefined",
        "reportedSeverity": "Medium",
        "compromisedEntity": "REDACTED",
        "associatedResource": "/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Storage/storageAccounts/REDACTED",
        "subscriptionId": "REDACTED",
        "instanceId": "ada17f78-31e6-4e32-9cb8-ba6a55379264",
        "extendedProperties": {
          "alert Id": "ada17f78-31e6-4e32-9cb8-ba6a55379264",
          "azure AD user": "N/A (Azure AD authentication was not used)",
          "user agent": "Azure-Storage/2.0.0-2.0.1 (Python CPython 3.6.10; Linux 5.3.0-59-generic) AZURECLI/2.7.0 (DEB)",
          "client IP address": "REDACTED",
          "client location": "Seattle, United States",
          "authentication type": "Shared access signature (SAS)",
          "investigation steps": "{\"displayValue\":\"View related storage activity using Storage Analytics Logging. See how to configure Storage Analytics logging and more information\",\"kind\":\"Link\",\"value\":\"https:\\/\\/go.microsoft.com\\/fwlink\\/?linkid=2075734\"}",
          "operations types": "PutBlob",
          "service type": "Azure Blobs",
          "container": "REDACTED",
          "blob": "eicar_test.txt",
          "malware description": "File was identified as malicious, MalwareFamily = Virus:DOS/EICAR_Test_File",
          "detection source": "Team Cymru",
          "mD5 hash": "44D88612FEA8A8F36DE82E1278ABB02F",
          "threat report": "{\"displayValue\":\"View report\",\"kind\":\"Link\",\"value\":\"https:\\/\\/interflowwebportalext.trafficmanager.net\\/reports\\/DisplayReport?callerIdentity=11f6b1d5-4924-41e8-bc4d-011d503247d5&reportCreateDateTime=2020-06-24T00%3a33%3a03&reportName=MSTI-TS-EICAR-File.pdf&tenantId=797d4884-c830-4b7f-a13a-eeb3e6e25ae4&urlCreateDateTime=2020-06-24T00%3a33%3a03&token=REDACTED"}",
          "threat report summary": "The European Institute for Computer Antivirus Research (EICAR)  and the Computer Antivirus Research Organization (CARO)  jointly developed a standard test file protocol called the “EICAR test file” which allows users to test their antivirus solution. The EICAR file is completely benign; however, when scanned, compliant antivirus solutions report the file in the same way as an actual malicious file. This does not mean that the computer is infected with malware, but rather it shows that the computer’s antivirus is functioning as expected.",
          "potential causes": "This alert indicates that a blob containing potential malware has been uploaded to your storage account.\r\nPotential causes:\r\n• An attacker has gained access to the storage account and has intentionally uploaded a malicious blob.\r\n• A legitimate user has unintentionally uploaded a malicious blob.\r\n• A legitimate user is performing tests on the system (e.g. penetration testing).",
          "resourceType": "Storage",
          "killChainIntent": "LateralMovement"
        },
        "state": "Active",
        "reportedTimeUtc": "2020-06-24T00:33:05.0257171Z",
        "workspaceArmId": "/subscriptions/REDACTED/resourcegroups/REDACTED/providers/microsoft.operationalinsights/workspaces/azbisqlalertlogworkspace",
        "confidenceReasons": [],
        "canBeInvestigated": true,
        "isIncident": false,
        "entities": [
          {
            "$id": "centralus_1",
            "address": "REDACTED",
            "location": {
              "countryName": "United States",
              "city": "Seattle"
            },
            "type": "ip"
          },
          {
            "$id": "centralus_2",
            "sourceAddress": {
              "$ref": "centralus_1"
            },
            "protocol": "Tcp",
            "type": "network-connection"
          },
          {
            "$id": "centralus_3",
            "resourceId": "/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Storage/storageAccounts/REDACTED",
            "type": "azure-resource"
          }
        ],
        "correlationKey": "RYwSG8FW/l7l/PH4LvZ6RZ3ZeaYtW46exwOTW+4QEG8="
      },
      "id": "/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Security/locations/centralus/alerts/2518093451625279999_ada17f78-31e6-4e32-9cb8-ba6a55379264",
      "name": "2518093451625279999_ada17f78-31e6-4e32-9cb8-ba6a55379264",
      "type": "Microsoft.Security/Locations/alerts"
    }
  ]
}

The schema has remained in this format since then.

@ericthomas1  can you please mark what are the differences between the schemes you provided above?
Thanks

@tarosler, with all due respect, it took me 15-20 mins already just to craft this post in a coherent and thoughful way. Please pull both schemas into VS Code and diff them to see detailed results.

Any thoughts on this schema change? Was this a one-off or does this change need to be taken into an account moving forward?

Hi @ericthomas1 ,
I can't see any diff between the schemas. Indeed change in the order of properties has no effect and can be parsed identically. Let me know if I missed something.
Thanks,
Tal Rosler,
Product Manager - Azure Security Center.

@tarosler, thank you for the clarification. What threw me was the order of the properties object. At first I thought the reportedTimeUtc property was missing. Upon closer inspection, it was not missing but rather in a different position. As you stated, this does not affect parsing.

[...] pull both schemas into VS Code and diff them to see detailed results.

I know this is 4 years old and closed, but with all due respect, the diff would be your job to provide.

You're right.


Java ftplugin does not change the 'include' option to match Java import statements

I have noticed that when I open a java file in vim, the Java ftplugin does not change the value of the include option so that include-search would be able to search for keywords in imported files.  When I check the value of include after opening a java file, it is still the default value ^\s*#\s*include.  I checked the source for the Java ftplugin and saw that it does not set the value of 'include' like other ftplugins do (the python ftplugin, for example).  Given the behavior of other ftplugins I have looked at, I expected that the Java ftplugin would set include to something like  ^\s*#\s*import.  Was I wrong, or was it an oversight to not have the Java ftplugin change the value of the include option?

please contact the maintainer of the file

Looking at the history of commits for the file in this repository, it appears that Bram Moolenaar (brammool) is maintaining the file.  Since he is the creator of Vim and is maintaining this file as part of the project in the official Vim repository, is this not the correct place to report the issue so that it can be tracked?

Note: Bram is the only committer to this repository. However each runtime file usually has its own maintainer, that is supposed to send updates to the file to Bram for inclusion with Vim.
However it looks like neither the Java syntax file nor the Java ftplugin file seems to be maintained currently. We would appreciate if someone could take care of the Java runtime files, so here is your chance to contribute :)
See also this recent mailing list thread https://groups.google.com/d/msg/vim_dev/ZYq7prP1m-c/spfQcw7_AAAJ


Remove parsing GatewayIP and passing down to CNI

…ture

Reason for Change:

Issue Fixed:

This PR fixes azure-ipam support for aks swift overlay cluster. In AKS swift overlay mode, empty gatewayIP is getting passed from cns to azure-ipam and which is expected. Cilium/Azure CNI really doesn't use this gatewayip. So its better to skip parsing this gatewayIP and passing to Azure CNI
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests

Notes:

Cilium E2e pipeline

for my curiosity, would we use this in an AzCNIv1 scenario where we NAT traffic through the node?

nope not really. used only in bridge mode which we deprecated long ago


Update options

@jsenellart I just added a pr to pytorch to fix most of these issues.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #359   +/-   ##
=======================================
  Coverage   71.09%   71.09%
=======================================
  Files          70       70
  Lines        5826     5826
=======================================
  Hits         4142     4142
  Misses       1684     1684

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 ebd8253...59addd4. Read the comment docs.

Thanks @srush !


/install URL giving me db tables do not exist

There's no migration file to where setup the database, either. Am I missing something?

Migration file is inside : Module/base/Mage2/Address/Database/Migration/
Give me some time i will do test and fix it up soon.
Anyways thanks for creating issue: @jajajaime

@jajajaime  bug is fixed.

i am receiving
QueryException in Connection.php line 763:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mage2.configurations' doesn't exist (SQL: select * from `configurations` where `configuration_key` = active_theme_path limit 1)

seems not fixed

@hotrush  Actually it was my mistake that i commit wrong file. Anyway thanks for comment and i am in love with opensource project just because of you guy who raise the issue and help to improve the project. Thanks once again