[Bug] Maps API key quotas not respected by library

Description
Hi,
We are preparing to launch our Google Maps API game and as I am testing the quotas I noticed an issue. When we set 1 request per user per minute, it takes 5x page/map reloads before I see an error for map not loading which I expect to happen on first refresh, which would be a second map load.
Also, in the metrics I see 6x requests so I assume we would be billed for 6? We are using reuseMaps={true} but if it would work somehow across page refresh we shouldn't see 6 requests in the metrics/API and in billing.
Steps to Reproduce

Set up any reactjs page with react-google-maps Maps API
Set in the Google Cloud settings quota for Maps API to 1 request per user per minute
(You can wait to make sure settings are propagated, I waited over 24hr)
Open your website with the map and observe the map loaded
Refresh the page 5x during 1 minute
Actual:

It take 5 refreshes to see the map loading error due to quota limit
Expected:
User should see an error after 1 refresh of the page since it just loaded a map and quota should be met for 1 minute

Environment

Library version: ^1.1.0
Google maps version: weekly
Browser and Version: Chrome
OS: N/A but Windows

Logs
No response

Hi @dzak83,
Unfortunately this library can not check and can not know anything about the quotas that you set in your cloud console.
They quotas are checked by the Google Backend whenever a request comes in. This library simply tries to load the api/map with the given key and either it works or it doesn't.
I'm not sure how "real-time" the quotas are meant to be on such small numbers. I suspect the quotas behave more like guideline to protect you from racking up massive costs. But I'm not sure. It might as well be an actual bug. But it would be a bug with the quota handling on Google side and there is not much this library can do unfortunately.

Thanks for confirmation and getting back to me so quickly!! Do you know what would be the best way to send this bug to Google backend team? From my experience Google Community Support forum just sends people to stack overflow and stack overflow will just resolve it as external.

The official way would probably be the "Google Maps APIs" issue tracker -> https://issuetracker.google.com/savedsearches/5050157

Thanks. I will close this bug then as external.


Update RADx MARS ReportStream reference

User story
As a [x], I want / need [x], so that [x] (pull from [link])
Background & context
Mo flagged that NIH and RADx MARS featured content about us that needs to be updated.
Open questions
A bullet list format of any unresolved questions that will need answers in order to complete this
task

...
...

Working links
Links to any Figma, gDoc, or other working document

...
...

Acceptance criteria

[ ] Update service blueprint with relevant learnings
[ ] Update the questions pool with any questions that came up
[ ] ...

@chris-kuryak for your awareness for sprint planning next week
cc @jillian-hammer

Needs to be approved by external team partner before going to the RadX Mars folks

Closing per Audrey completed


Unable to get the version of freemarker from pl/sql.

Need to add a function into package ftldb_api to retrieve the version of FreeMarker.

Done


Merge commit '7cce4d48a2c35f5877d8ddb49eab07f64a61266a' into 5.3.x

There was a conflict in how some headings were styled in a docs update
/cc @gguillotte Please make sure the headings still look right before we merge this.

@branan LGTM, thanks!

CLA signed by all contributors.


Option to place a project as a header and attach other projects to it

I would like to place the projects 'Samen Meten aan Luchtkwaliteit' and 'Samen Geluid Meten' as headers under the category Environment of a bunch of other projects in a sub-bullet point style. They are both not exactly citizen science projects themselves, but the RIVM supports a lot of citizen science projects with these projects and stores their data on their data portal. Is it possible to relate the projects to each other in this way and how would I do that?

This is a good idea! Let's discuss tomorrow with @J535D165 how that could be implemented

Ditto for Evoscope - of which Kauwtjes is a subproject - https://www.universiteitleiden.nl/citizensciencelab/projecten/evoscope---kauwtjes and https://evoscope.nl/

Thank you @MobileMaggie. We will start working on a solution.


Add AeadInterface for CipherSuiteParams.

Codecov Report

Merging #193 (9880b8e) into main (57377b9) will decrease coverage by 0.29%.
The diff coverage is 91.89%.

@@            Coverage Diff             @@
##             main     #193      +/-   ##
==========================================
- Coverage   96.45%   96.17%   -0.29%
==========================================
  Files          21       22       +1
  Lines        2536     2533       -3
  Branches      229      221       -8
==========================================
- Hits         2446     2436      -10
- Misses         90       97       +7

Flag
Coverage Δ

unittests
96.17% <91.89%> (-0.29%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/cipherSuite.ts
96.73% <82.35%> (-1.78%)
:arrow_down:

src/aeadKeys/aesGcmKey.ts
100.00% <100.00%> (ø)

src/aeadKeys/chacha20Poly1305Key.ts
100.00% <100.00%> (ø)

src/aeadKeys/exportOnly.ts
100.00% <100.00%> (ø)

src/encryptionContext.ts
95.65% <100.00%> (-1.58%)
:arrow_down:


{withRef: true} results in warning

Warning: Stateless function components cannot be given refs (See ref "wrappedInstance" in StatelessComponent created by [myComponent]). Attempts to access this ref will fail.

I have the same problem.
    "react": "^15.4.2",
    "react-dom": "^15.4.2",

As the error states, you can't give refs to stateless functional components. This means you'll need to change your component to use the ES6 class syntax instead.
const MyComponent = () => {
  return
Hello world!
;
}

class MyComponent extends React.Component {
  render() {
    return
Hello world!
;
  }
}


Refactor library to be async first

This PR

Exposes async methods through interfaces
Extracts interfaces into separate abstractions project
Removes all unused functionality
Updates the libraries to net5.0
Bumps the version to 5.0.0

If this is going to be public, the README needs updating.


add argument parsing to nasa_kw_pair_freq.py

parse arguments for:

[ ] infile
[ ] outfile
[ ] kw_field

add:

[ ]  helper class

File nasa_kw_pair_freq.py is hard coded with input files that do not refer to nasa ... To fix the hard coding, file keywords/pair_freq.py was created with the requested features.  Commit 314f7d6 addresses this issue.

Recommend deleting file nasa_kw_pair_freq.py
Commit 35be028 addresses this.


fix(cli): fix options

rename --centerHorizontally to --center-horizontally
add centerHorizontally/height/normalize to icontype options
add centerHorizontally to help

Codecov Report

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

@@           Coverage Diff           @@
##           master      #74   +/-   ##
=======================================
  Coverage   97.46%   97.46%
=======================================
  Files           2        2
  Lines          79       79
=======================================
  Hits           77       77
  Misses          2        2

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 4f987be...abfe436. Read the comment docs.


Added RNG support for non-RDRAND, non-RDSEED systems

Uses IPP-Crypto pseudo random number generator if none of those instructions are supported
Minor typo fixes

I think we should support systems without RDRAND and/or RDSEED instructions.
@faberga, @fdiasmor, @justalittlenoob opinions?

@skmono I'd suggest to at least add a pragma warning compilation message. Is it reasonable to assume the default behavior (no RDRAND or RDSEED) to resort to PRNG?


process chunk history based on actual history size

seems to fix #1187
the limit checker was zeroed initially, so it refused to send chunks with zero chunk key
in the integration test, this was mistaken for the chunk having already been added to the history (which it wasn't, so I now send it when the player spawns)

Could you test it?

it fixed my issues in the sample code in the issue and in my larger codebase

it fixed the sample code in the issue and in my larger codebase

I mean that you should include a test in your PR

I don't really know what a new test should do
originally, the debounce test gave a false positive, now it's a true positive, but the test itself already covered the previously problematic 0,0 chunk

fixed by another pr


Add SAN to client certificate to fix Kip built with 1.15 with EC2 instances.

Fixes #176

I couldn’t reproduce the bug unfortunately :-( I tried with Go 1.13 and it looked like nothing changed.
I’ll need help from @hidalgopl for that.

I couldn’t reproduce the bug unfortunately :-( I tried with Go 1.13 and it looked like nothing changed.
I’ll need help from @hidalgopl for that.


Updates package 'AngleSharp' to version '0.11.0'

@brendankowitz it would probably make sense for you to look at this one.


Loading and dumping to and from data

What does everyone think about adding a load/dump API that takes/consumes lists of dictionaries? This would allow for easy consuming and producing JSON / YAML fixtures.
Something like the following.

import factory
from . import models

class UserFactory(factory.Factory):
    FACTORY_FOR = models.User

    first_name = 'John'
    last_name = 'Doe'
    admin = False

# Deserialize an iterable of dictionaries using the factory.
UserFactory.load([{...}, {...}])

# Serialize an iterable of targets to an list of dictionaries
# factoring out attributes provided by factories, etc.
data = UserFactory.dump([models.User(first_name="Bob"),
                         models.User()])

assert 'first_name' not in data[1]

@mehcode Can you explain a little more about the scenarios you'd find the load behavior useful?
I've never personally run into a situation where this was necessary... if I want to specify what appears in the DB, then I can just submit it straight to the ORM. If I need to pull from a list of specific options when creating a Factory, then I pass the list of option to the Factory.
That said, the dump behavior would be convenient for using fake data created by FactoryBoy in API testing (see https://github.com/rbarrois/factory_boy/issues/68#issuecomment-181269862).

Closing for now due to lack of interest. If someone stumbles across this and really wants this, feel free to leave a comment and we can re-open.


Az ssh fails after update az cli

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az ssh vm Extension Name: ssh. Version: 0.1.5.
Errors:
The command failed with an unexpected error. Here is the traceback:
'Profile' object has no attribute 'get_msal_token'
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 657, in execute
    raise ex
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 691, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/home/jukka/.azure/cliextensions/ssh/azext_ssh/custom.py", line 22, in ssh_vm
    public_key_file, private_key_file, use_private_ip, ssh_utils.start_ssh_connection)
  File "/home/jukka/.azure/cliextensions/ssh/azext_ssh/custom.py", line 48, in _do_ssh_op
    cert_file, username = _get_and_write_certificate(cmd, public_key_file, None)
  File "/home/jukka/.azure/cliextensions/ssh/azext_ssh/custom.py", line 58, in _get_and_write_certificate
    _, certificate = profile.get_msal_token(scopes, data)
AttributeError: 'Profile' object has no attribute 'get_msal_token'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az ssh vm --ip {}

Expected Behavior
Should logged in via az ssh
Environment Summary
Linux-4.15.0-162-generic-x86_64-with-debian-buster-sid, Ubuntu 18.04.6 LTS
Python 3.6.10
Installer: DEB

azure-cli 2.30.0

Extensions:
ssh 0.1.5

Additional Context

route to service team

@vthiebaut10, please help take a look.

@JukkaUusisalo could you update the ssh extension to the most recent version 1.0.0?

@JukkaUusisalo Could you please update your ssh extension using the command az extension update --name ssh and run the  command again? Please let me know if you have any further questions on this. Awaiting your reply.


repo not found when using helmfiles

Operating system
MacOS
Helmfile Version
v0.164.0
Helm Version
3.14.4
Bug description
I'm trying to set up sub helmfiles as described in https://helmfile.readthedocs.io/en/latest/shared-configuration-across-teams/ in order to split the releases into their own files instead of grouping them all together in the main helmfile.
When running helm apply, it reports the repo is not found, however this works fine if the configuration is all bundled into one file.
Example helmfile.yaml

helmfile.yaml

helmDefaults:
  createNamespace: true

repositories:
- name: release-charts
  url: 101010101.dkr.ecr.eu-west-1.amazonaws.com/scanned/release/helm-charts
  oci: true

helmfiles:
- myapp.yaml

myapp.yaml

releases:
- name: myapp
  namespace: myns
  version: 1.0.0
  values:
    - values.yaml

Error message you've seen (if any)
✗ helmfile apply
Comparing release=myapp, chart=release-charts/myapp in ./helmfile.yaml: in .helmfiles[0]: in ./myapp.yaml: command "/Users/equick/homebrew/bin/helm" exited with non-zero status:

PATH:
  /Users/equick/homebrew/bin/helm

ARGS:
  0: helm (4 bytes)
  1: diff (4 bytes)
  2: upgrade (7 bytes)
  3: --allow-unreleased (18 bytes)
  4: myapp (18 bytes)
  5: release-charts/myapp (33 bytes)
  6: --version (9 bytes)
  7: 0.0.1 (11 bytes)
  8: --namespace (11 bytes)
  9: myns (18 bytes)
  10: --values (8 bytes)
  11: /var/folders/nj/cr4qbgmx2pn98hlfv9tqj05r0000gp/T/helmfile301527272/myns-myapp-values-777859ff78 (122 bytes)
  12: --detailed-exitcode (19 bytes)
  13: --color (7 bytes)
  14: --reset-values (14 bytes)

 ERROR:
 exit status 1

 EXIT STATUS
  1

STDERR:
  Error: Failed to render chart: exit status 1: Error: repo release-charts not found
  Error: plugin "diff" exited with error

Steps to reproduce
https://github.com/equick/helmfile-releases/tree/main
Working Helmfile Version
v0.164.0
Relevant discussion
No response

I have the same issue when I declare an OCI repository in dedicated file ecr-oci.yaml.gotmpl :
repositories:
  - name: ecr-oci
    url: "000000000000.dkr.ecr.eu-west-1.amazonaws.com"
    oci: true
    username: 'AWS'
    password: '{{ requiredEnv "ECR_PASSWORD" }}'

and I use it
bases:
  - config/environments.yaml
  - config/ecr-oci.yaml.gotmpl

---

releases:
  - name: "aws-storage-class-{{ .Environment.Name }}"
    namespace: "kube-system"
    labels:
      chart: "raw"
      namespace: "kube-system"
    chart: "ecr-oci/raw"
    installed: {{ hasKey .Values "enableAwsStorageClass" }}
    {{- if hasKey .Values "enableAwsStorageClass" }}
    version: "1.0.0"
    {{- end }}
    values:
      - config/07-aws-storage-class/default.yaml.gotmpl

When I don't use the repository and i put directly the oci url it's work :
bases:
  - config/environments.yaml

---

releases:
  - name: "aws-storage-class-{{ .Environment.Name }}"
    namespace: "kube-system"
    labels:
      chart: "raw"
      namespace: "kube-system"
    chart: "oci://000000000000.dkr.ecr.eu-west-1.amazonaws.com/raw"
    installed: {{ hasKey .Values "enableAwsStorageClass" }}
    {{- if hasKey .Values "enableAwsStorageClass" }}
    version: "1.0.0"
    {{- end }}
    values:
      - config/07-aws-storage-class/default.yaml.gotmpl

I just wanted to note that this appears to be a new bug introduced since version 0.158.1 . That version works for us, but version 1.0rc0 does not work with this configuration.
We use the same config as @equick, where the repos.yaml has the repository and the "oci" flag.
It looks like to me that the oci flag is now ignored and helmfile uses HTTP, which of course won't work.
STDERR:
  time="2024-05-17T13:28:17-04:00" level=info msg="Error logging in to endpoint, trying next endpoint" error="login attempt to https://000000000000.dkr.ecr.us-east-2.amazonaws.com/v2/ failed with status: 400 Bad Request"
  Error: login attempt to https:/000000000000.dkr.ecr.us-east-2.amazonaws.com/v2/ failed with status: 400 Bad Request

COMBINED OUTPUT:
  time="2024-05-17T13:28:17-04:00" level=info msg="Error logging in to endpoint, trying next endpoint" error="login attempt to https://000000000000.dkr.ecr.us-east-2.amazonaws.com/v2/ failed with status: 400 Bad Request"
  Error: login attempt to https://000000000000.dkr.ecr.us-east-2.amazonaws.com/v2/ failed with status: 400 Bad Request
in ./helmfile.yaml.gotmpl: command "/usr/local/bin/helm" exited with non-zero status:

got it. I will try fix it today.

I just wanted to note that this appears to be a new bug introduced since version 0.158.1 . That version works for us, but version 1.0rc0 does not work with this configuration.
We use the same config as @equick, where the repos.yaml has the repository and the "oci" flag.
It looks like to me that the oci flag is now ignored and helmfile uses HTTP, which of course won't work.
STDERR:
  time="2024-05-17T13:28:17-04:00" level=info msg="Error logging in to endpoint, trying next endpoint" error="login attempt to https://000000000000.dkr.ecr.us-east-2.amazonaws.com/v2/ failed with status: 400 Bad Request"
  Error: login attempt to https:/000000000000.dkr.ecr.us-east-2.amazonaws.com/v2/ failed with status: 400 Bad Request

COMBINED OUTPUT:
  time="2024-05-17T13:28:17-04:00" level=info msg="Error logging in to endpoint, trying next endpoint" error="login attempt to https://000000000000.dkr.ecr.us-east-2.amazonaws.com/v2/ failed with status: 400 Bad Request"
  Error: login attempt to https://000000000000.dkr.ecr.us-east-2.amazonaws.com/v2/ failed with status: 400 Bad Request
in ./helmfile.yaml.gotmpl: command "/usr/local/bin/helm" exited with non-zero status:

please post a example.

@yxxhero our example is the same the others. here it is:
helmfile.gotmpl.yaml
bases:
  - "bases/repos.yaml"
  - "bases/environments.yaml"
---
helmDefaults:
  atomic: true
  createNamespace: true
  cleanupOnFail: true
  timeout: 300
  wait: true
---
releases:
{{- range $release, $config := .Values.releases }}
  {{- if $config.enabled }}
- name: {{ $release }}
  chart: {{ $config.chartRepo }}/{{ $config.chart }}
  version: {{ $config.chartVersion }}
  namespace: {{ $config.namespace}}
  needs:
  {{- range $need := $config.needs }}
    - {{ $need }}
  {{- end }}
  values:
    - environments/common/{{ $config.chart }}.yaml.gotmpl
    - environments/{{ $.Environment.Name }}/{{ $config.chart }}.yaml.gotmpl
  {{- end }}
{{- end }}

and bases/repos.yaml:
---
repositories:
  - name: ambra-tools-ecr
    url:<PHONE_NUMBER>00.dkr.ecr.us-east-2.amazonaws.com
    oci: true
    username: 'AWS'
    password: '{{ requiredEnv "ECR_PASSWORD" }}'
  - name: minio
    url: https://charts.min.io/
  - name: bitnami
    url: registry-1.docker.io/bitnamicharts
    oci: true
  - name: ingress-nginx
    url: https://kubernetes.github.io/ingress-nginx

@yxxhero our example is the same as the others. here it is:
helmfile.gotmpl.yaml

bases:

  - "bases/repos.yaml"

  - "bases/environments.yaml"

---

helmDefaults:

  atomic: true

  createNamespace: true

  cleanupOnFail: true

  timeout: 300

  wait: true

---

releases:

{{- range $release, $config := .Values.releases }}

  {{- if $config.enabled }}

- name: {{ $release }}

  chart: {{ $config.chartRepo }}/{{ $config.chart }}

  version: {{ $config.chartVersion }}

  namespace: {{ $config.namespace}}

  needs:

  {{- range $need := $config.needs }}

    - {{ $need }}

  {{- end }}

  values:

    - environments/common/{{ $config.chart }}.yaml.gotmpl

    - environments/{{ $.Environment.Name }}/{{ $config.chart }}.yaml.gotmpl

  {{- end }}

{{- end }}

and bases/repos.yaml:

---

repositories:

  - name: ambra-tools-ecr

    url:<PHONE_NUMBER>00.dkr.ecr.us-east-2.amazonaws.com

    oci: true

    username: 'AWS'

    password: '{{ requiredEnv "ECR_PASSWORD" }}'

  - name: minio

    url: https://charts.min.io/

  - name: bitnami

    url: registry-1.docker.io/bitnamicharts

    oci: true

  - name: ingress-nginx

    url: https://kubernetes.github.io/ingress-nginx

Any logs. Thanks so much.


KEDA operator works slowly (or doesn't work) when some ScaledObject reconciliation produces timeouts

Report
Recently we have faced with an unexpected behavior when accidentally we deployed a ScaledObject targeting to a server producing timeouts (in our case, due to network firewall). When that happened, KEDA stop working or started working wrong.
I have replicated the scenario deploying a ScaledObject with a cron, adding/removing 1 instance on each minute. Suddenly, I deployed a Kafka Scaler targeting to a Kafka cluster blocked by network (and producing timeouts during the initial setup on reconciliation loop):

After this, KEDA stopped working because the operator was stuck on the reconciliation loop even though I set GOMAXPROCS: 8, so it's not a matter of routines. It's like if we have any deadlock at some point.
The only solution in this case has been removing the wrong ScaledObject.
In our internal case, we are using v2.11.2, so it's not related with latest version.
Expected Behavior
KEDA must prevent service disruptions just for a single ScaledObject wrongly configured
Actual Behavior
KEDA  stop working as expected

I think that the problem is related with this code:
https://github.com/kedacore/keda/blob/04621446f1c8177da5887d556d1814d5eae9ff8e/pkg/scaling/scale_handler.go#L292-L310
After the Lock() we are generating the scalers, which produces timeouts, so we are locking the cache during the timeout. I have to go deeper on this direction, but I reckon that we need to just lock the cache for setting the value and not during the whole cache element generation (no not block the whole cache until timeout)


Add Boost Media Logo guidelines

fix #217
Added to the Documentation section of the Contributor Guide

Well this is a work in progress we need to iterate on this including providing the color spec for Boost Mustard and several variations of the logo in different formats and backgrounds.

From a color picker, the RGB value for Mustard appears to be 255,159,0.  The CIELAB conversion of this is Lightness 82.14, (Green-Red) -23.13, and Blue-Yellow as 54.49. Would these two values work as a definition?

No we should not try to define it, because I need to select the color from a hardcopy. That is, from a physical set of color tiles either Pantone, or whatever is in vogue these days. And from there we determine the color values in device-independent coordinates such as CIELAB or CIEXYZ. And we can also license whatever the proprietary specifications are (Pantone I guess although I don't even know if that's still around). A quick Internet search shows "Freetone" as the free replacement for Pantone so we can consider that.
This is all very nice but hardly needed this moment as there are other higher priority things to do.

Closing for now

@PeterTurcan could you please reopen? As per a conversation we've had on Slack, we can merge this as is and work on the color specs can be resumed later. Thank you!

@joaquintides Git would not let me reopen easily - so resubmitted in https://github.com/boostorg/website-v2-docs/pull/222


Igniter.Code.Common: Support integer argument in move_right/2 and move_upwards/2 and add move_left/2

This PR implements #112, if accepted.
Note: If #111 is merged first, this PR should be rebased to replace a private function used there with a call to Igniter.Code.Common.move_upwards(zipper, 4). If this PR is merged first, #111 can be rebased instead.
Contributor checklist

[x] Bug fixes include regression tests
[x] Features include unit/acceptance tests

@zachdaniel Implemented move_left/2 and updated igniter.upgrade_igniter. I think this should be good to go. :)

Awesome work! It's great to have more folks who understand the internals (as you naturally do 😂) helping expand and refine these APIs 🙇♂

🚀 Thank you for your contribution! 🚀


Make MD5 or SHA from file upload

I'm trying to get all the files that are uploaded to my apache server saved in a log.
So far, with the basic configuration. I have the name of the file, its weight and other information.
Can you also save a file Hash in those logs?
Thank you!

do you want to have the hash in the error_log?

While every time a file is sent, the hash appears, I do not care in which log file is stored

This may be helpful for you:
SecUploadKeepFiles On
SecUploadDir /tmp
SecRule FILES_TMP_CONTENT "." "id:1,phase:3,t:none,t:sha1,t:hexEncode"

I suppose we are close, but in the error.log the hash does not appear
SecUploadDir /tmp
SecUploadKeepFiles On
SecRule FILES_TMP_CONTENT "." "id:1,phase:3,t:none,t:sha1,t:hexEncode"
error.log:
[Tue Feb 27 09:00:19.278339 2018] [:error] [pid 1181] [client <IP_ADDRESS>] ModSecurity: Warning. Pattern match "." at FILES_TMP_CONTENT:uploaded. [file "/etc/modsecurity/modsecurity.conf"] [line "160"] [id "1"] [hostname "<IP_ADDRESS>"] [uri "/DVWA/vulnerabilities/upload/index.php"] [unique_id "WpWOo38AAQEAAASdgKIAAAAB"]

@makitos666  Have you tried looking in the audit_log or debug_log?


[BUG] Hide "Open in new window" in Insert link dialog

When I insert a link, a dialog will be shown. If I can hide this selection ?

Please see https://github.com/tneotia/html-editor-enhanced/issues/69, it shows how to override the dialog opening so you can provide a custom dialog to suit your needs. Hope it helps! :)


ADF executing notebooks is getting error

Describe the bug
I have deployed the demo environment, after that, I created an ADF to execute the notebook. The pipeline present a success status, but the information is not showing in Purview
To Reproduce
Steps to reproduce the behavior:

Deploy the demo environment
Deploy Azure Data Factory
Create a Linked Service using Access Token generated in the workspace for authentication
Choose a new cluster
Add cluster setting as follow:

I needed to change the workspace from spark.openlineage.namespace, because the value created from the deployment wasn't right - adbpurviewol1

Expected behavior
I am expecting the lineage be pushed to purview
Logs
PurviewOut
2022-08-10T14:27:55.269 [Error] AdbClient-GetSingleAdbJobAsync: error, message: Response status code does not indicate success: 403 (Forbidden).Microsoft.Azure.WebJobs.Script.Workers.Rpc.RpcException : Result: AdbClient-GetSingleAdbJobAsync: error, message: Response status code does not indicate success: 403 (Forbidden).Exception: System.Net.Http.HttpRequestException: Response status code does not indicate success: 403 (Forbidden).at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()at Function.Domain.Providers.AdbClientProvider.GetSingleAdbJobAsync(Int64 runId, String adbWorkspaceUrl) in D:\a\Purview-ADB-Lineage-Solution-Accelerator\Purview-ADB-Lineage-Solution-Accelerator\function-app\adb-to-purview\src\Function.Domain\Providers\AdbClientProvider.cs:line 127Stack:    at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()at Function.Domain.Providers.AdbClientProvider.GetSingleAdbJobAsync(Int64 runId, String adbWorkspaceUrl) in D:\a\Purview-ADB-Lineage-Solution-Accelerator\Purview-ADB-Lineage-Solution-Accelerator\function-app\adb-to-purview\src\Function.Domain\Providers\AdbClientProvider.cs:line 127
Desktop (please complete the following information):

OpenLineage Version: The same available in the github from this week
Databricks Runtime Version: 9.1
Cluster Type: Cluster created during the ADF execution
Cluster Mode: Standard
Using Credential Passthrough: No

Hey Tiago, you need to follow this step to have jobs working https://github.com/microsoft/Purview-ADB-Lineage-Solution-Accelerator/blob/release/2.0/deploy-base.md#support-extracting-lineage-from-databricks-jobs

Hi Rodrigo,
I was able to follow this step and make it work.
I don't if it is right or not, but when we execute through Data Factory, it is generated a job on Databricks, and the job name concatenates an hexadecimal where in Purview for each time that I run the job, it is creating a new entry.
I know that it makes sense, as it is a job, but I don't know if Purview is the best place to keep history of execution, instead, I would rather prefer seeing only on job for the specific job.
Could you please help me understand the correct approach? We need to share this with the customer.

As you can see, it is the same pipeline and the same notebook, but with 3 entries.

@tgpmoraes that is unfortunately a limitation we are inheriting due to the ADF team.  They are creating ADF runs / Databricks  jobs with this naming convention and it is undocumented / an implementation detail in the eyes of the ADF team.
If the naming convention really, really is irksome, you could modify the code to check to see if the job name follows that pattern and then extract the parts (which look like ADF_<factory name>_<pipeline name>_<task name>_<guid>) and construct the preferred name.

@wjohnson if we follow the path to modify the code as you mentioned, would it be possible to push it into the main branch? Otherwise the customer will have dificulties to merge all the time new features come up from the accelerator.
Currently the lineage that has been generated by ADF is not helping, take a look:

We would GLADLY accept contributions.  However, how else would you expect the lineage to look like?
It seems like they are using one parameterized notebook in their ADF pipeline, right?
What else would you show in the lineage graph and how would you distinguish between parameterized ADF notebook runs?

Thanks for highlighting this. It's an important improvement for our team as well. Are you working on a PR, @tgpmoraes?

@tgpmoraes - Okay!  We've reached out to the product team and gained confirmation that this pattern is stable.
Would youe or @ivarostby be able to test this branch? https://github.com/microsoft/Purview-ADB-Lineage-Solution-Accelerator/tree/feature/handleADFNaming

You can find the built zip of the code in #137

With the release of #2.3.0 this is now enabled!


[question] Running formatter only on specific folders

Hi,
I have project which has 2-3 node.js sub-folders. I want formatter to only run on those. how can I do this please?
Thanks!

Hi, you could make the root folder into an NPM module itself, which has an lint script that triggers the lint script in the sub-folders. This is only a workaround, but for now the action itself doesn't support that kind of project structure.

Unfortunately that is not an option. It was one of the first I considered. Hopefully you can consider this as an enhancement?
Perhaps you could look at the likes of dependabot (not like for like, I understand) for how this could work?
Thanks for your response all the same.


Improvement of User's experiences by adding Widgets

The idea is :

[x] A User can place a Widget of OpenEvent App from Widget Collection into his home screen.
[x] Clicking on the title bar "Bookmark" ,it will take him directly to the Bookmarks fragment in the App.
[x] In the Widget below the title bar, he can see all the Bookmarked  Sessions,with Scroll View Enabled.
[x] If he clicks any of the Bookmarked Session inside the Widget ,it will take him directly to particular SessionDetails.
[x] Make the widget dynamic with its size,showing session time and title depending upon its size choosen

This will help a user in an event to :

quickly check and access the details of the bookmarked sessions from his home screen.

I have started working on this.It will i

Here is the animated video of the widget :

Please let me know whether I would make further modifications in it or is it fine ?
Thank You.

@opticod Nice work. One more thing that you can add is the time of the session.

@mananwason  As suggested ,I have added time of the session in dynamic form.
Hence. an user can choose what he wants to see.If he likes a bigger size of widget with greater details,then he can choose 4 cell width widget or a 3 cell widget with lesser details.
Hope this will increase User's experience..

Please let me know whether I would make further modifications in it or is it fine ?
Thank You.

@mananwason As suggested ,I have added time of the session in dynamic form.
Hope this will increase User's Experience..
Here is the animated video:

Please let me know whether I would make further modifications in it or is it fine?

meged #149


Update guest-access-checklist.md

Changed to reflect minor UI changes in Azure AD admin portal

Thanks @paulpascha for contributing! Much appreciated.


When will WPF printing will be supported ?

For now I am using this:
 string fileName = System.IO.Path.GetTempPath() + Guid.NewGuid().ToString() + ".xlsx";

            this.Grid.Save(fileName, unvell.ReoGrid.IO.FileFormat.Excel2007);

            Process myProcess = new Process();

            try
            {
                myProcess.StartInfo.UseShellExecute = true;
                myProcess.StartInfo.FileName = fileName;
                myProcess.StartInfo.CreateNoWindow = true;
                myProcess.StartInfo.Verb = "print";
                myProcess.Start();
            }
            catch (Exception e)
            {
                throw e;
            }

There are two approaches you can take until the print functionality is available as far as I know
a. Use the winforms version for printing and the wpf version for display. [You need to use a separate project [a dot net framework class library referencing reogrid for winforms
]create a dummy form which is hidden, and then populate the grid on that form and use it for print and print preview]. You also need to recompile the winforms version after changing the assembly name since both assembles [winforms and wpf] are name unnvell.ReoGrid.dll and one will overrite the other, or vice versa.
b. Use the winforms version for both display and printing in your wpf app. You can do this using the following XAML markup
<WindowsFormsHost Width="800" MaxHeight="250"  VerticalAlignment="Stretch">         <rg:ReoGridControl x:Name="grid" />     </WindowsFormsHost>
You have to add a reference to System.Windows.Forms and WindowsFormsIntegration dlls.
https://stackoverflow.com/questions/10717305/how-to-add-winform-user-control-into-wpf-so-that-i-can-reference-it-in-the-xaml
I followed the second approach because of a bug I resolved in the winforms version but the fix did not work in the wpf version.
https://github.com/unvell/ReoGrid/issues/203

duplicate of #69


Delete extra closing bracket

closing because dupe of https://github.com/OAI/OpenAPI-Specification/pull/3111


Created a redis url parser for aioredis

Let me know if it'd be helpful to submit this as part of a PR. It's modeled after redis-py and fully tested.

If you mead constructing a pool object from url string -- it makes sense.

I think this sounds reasonable.
Also, I think, we can amend aioredis.create_* coroutines to parse URL.
Currently those functions accept either host-port tuple or string which is implied to be unix socket path.
We can first try to parse such string as URL and if failed — assume it's a unix socket.
However, I'm not sure about other parameters to create_* functions: should they override values specified in URL? or should we raise an error if some option is passed in URL and as argument?

My implementation has the URL take priority. The kwargs are defaults. Makes sense to reason through this before I submit a PR.

Oh, I looked through several redis client libs that are configurable via URL and its a total mess.
redis-py itself references redis url-scheme proposal at IANA but not strictly follows it: for instance redis-py will give priority to db value extracted from query args (only first one argument) over db in path component.
On the other hand, redis-rb extracts db number from path only.
Some other lib treat username component of URL as password...
Total mess...
Anyway, lets get back to our kwargs first. I think we can use them as defaults with one exception:
ssl parameter, if set, can be either True or a valid SSLContext. In this case if URL specifies ssl
we should check ssl parameter for valid context and use it.
Now regarding URL scheme, I'd like aioredis to handle url more strictly:

if URL has path and db query parameter (even if both are invalid) — raise an error;
if URL has more than one db query param — raise an error;
etc.
In my opinion to fail is better than to guess which value is correct (though it can be not) and use it.

Your thoughts?

I'm not opposed to that methodology.

Looking forward to this.  @dfee, are you still working on a PR?

@gjcarneiro I'm not, as it was somewhat disputed what the best approach was. I can paste, or throw up a mini-repo with the parser and test code, though.


detection queries throwing warnings (only when Woo not activated?)

Isolate & fix offending queries
reproduce: trigger crawl via UI or WP-CLI
PHP Notice:  Trying to get property 'hierarchical' of non-object in /var/www/htdocs/wp-includes/link-template.php on line 282
Notice: Trying to get property 'hierarchical' of non-object in /var/www/htdocs/wp-includes/link-template.php on line 282

less useful duplicate of https://github.com/WP2Static/wp2static/issues/577


[AIRFLOW-1790] Add support for AWS Batch operator

Dear Airflow maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

https://issues.apache.org/jira/browse/AIRFLOW-1790

Description

Add support for AWS Batch operator

Tests

Add the following test: tests.contrib.operators.test_awsbatch_operator:TestAWSBatchOperator

Documentation

Adds documentation under the section: integration.html#aws-batch-service

Codecov Report

Merging #2762 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #2762      +/-   ##
=========================================
+ Coverage   73.19%   73.2%   +<.01%
=========================================
  Files         157     157
  Lines       11923   11923
=========================================
+ Hits         8727    8728       +1
+ Misses       3196    3195       -1

Impacted Files
Coverage Δ

airflow/models.py
87.3% <0%> (+0.04%)
:arrow_up:

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 1a7b63e...8937f23. Read the comment docs.

Hi Can you guys confirm why the Pull Request without a merge as no revision was requested?


[maven] Support for verbose dependency tree

The dependency tree generated with both the cyclonedx maven plugin and the dependency:tree command lacks conflicts and omission information.
Repo: https://github.com/eclipse-jkube/jkube
maven-verbose-tree.txt
Tracking the conflicts and omissions could help understand the software compositions better.

There is a warning in the docs: Notice this feature actually uses Maven 2 algorithm and [may give wrong results when used with Maven 3](https://maven.apache.org/shared/maven-dependency-tree/)
https://maven.apache.org/plugins-archives/maven-dependency-plugin-3.2.0/tree-mojo.html#verbose


Explain checkbox is unavailable for any actions

Is your proposal related to a problem?

The issue is in the thanos-query component , the Explain checkbox is unavailable when we use Prometheus as an engine .
Describe the solution you'd like

The Explain checkbox should be available whenever we execute a query.
Describe alternatives you've considered

Or a pop-up alert should be provided explaining the reason or any message of its unavailability.
Additional context

N/A

Hello! The PromQL explain functionality is only available with the Thanos engine https://github.com/thanos-io/promql-engine, and not with the old Prometheus engine.
But I agree, there should be something in the UI to mention the reason. Maybe not an alert, but a pop-up text can be shown when the user hovers over the disabled Explain checkbox. 🙂

Hi @saswatamcode, I would like to take a look into this.

Sure @lmarques03 go ahead


Loosens t5x loss tests relative tolerances

Relaxing the relative tolerance on the loss tests since it was leading to too many false positives. For reference, deviation in loss for the t5 model can sometimes be up to 15% at the start of training with real data.

Also affected by #347


Not building

Trying to setup environment on 3.13.7 but ox_common is using extended_image 8.2.1 which requires Flutter SDK version >=3.16.0 -- what's current flutter version at HEAD? Sorry new to flutter so still getting up to speed on basic dependency system...

I've tried edge, beta, and now flutter stable and have figured out most of the dependency conflicts but I'm still getting the error below. Can someone share their current pubspec.lock files? Thx.
Environment
Flutter 3.22.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 761747bfc5 (4 weeks ago) • 2024-06-05 22:15:13 +0200
Engine • revision edd8546116
Tools • Dart 3.4.3 • DevTools 2.34.3
Build dependency error
Because every version of flutter_link_previewer from path depends on flutter_linkify ^6.0.0 which depends on linkify ^5.0.0, every version of flutter_link_previewer from path requires linkify ^5.0.0.
And because every version of flutter_link_previewer from path depends on linkify ^4.1.0, flutter_link_previewer from path is forbidden.
So, because ox_chat depends on ox_chat_ui from path which depends on flutter_link_previewer from path, version solving failed.

i just updated README.MD, right now we require Flutter 3.19.6


Pods stuck in PodInitializing

Hello and thanks for your work.
i did a git clone of your project and did a customisation to persistent-volume-claim.yml to use another storage class.
after that i cd back to the root folder of the project and did a
"kubectl apply -k overlay -n home-assistant" as staded in the readme
Sadly the pod is in crashloop because it's stuck in PodInitializing.
when i check de initcontainers logs i get "cp: omitting directory '/tmp/mosquitto.conf'"
like if the files was not mounted in the container but a folder itself.
i'm fairly new to k3s so sorry if i missed something

Hi,
The file /tmp/mosquitto.conf is referenced in the initContainer. The error message indicates there are some mounting issues.
I assume you deployed the original one then patched it and wanted to redeploy it.
Try to revert to a clean state.  Look for stale PVs and PVCs and remove all of them and let kubectl apply -k to recreate them.


updated main.py at pep8 standard

Since #45 had a lot of changes and I believe it had PEP8 standard code, can we close this? Please confirm.

Yes I'm closing


fix(interactive): Use a larger version upper bound

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 27.78%. Comparing base (d3a40e8) to head (db4342b).
Report is 1 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #3595      +/-   ##
==========================================
- Coverage   27.79%   27.78%   -0.01%
==========================================
  Files         178      178
  Lines       16231    16233       +2
==========================================
  Hits         4511     4511
- Misses      11720    11722       +2

see 1 file with indirect coverage changes

Continue to review full report in Codecov by Sentry.

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


fix: handling of None messages from notify callback

This is especially common as BaseMessageBus._finalize calls handler(None, err) when an exception is raised.
From the surrounding code, it seems the common assumption is that msg should be None if err is set. However you might want to print msg if it is here even if there is an err, but then the logs would be awkward no ?
Did not take the time to build a test to reproduce the issue though

Looks ok, but we do need a test before merging

Hello, so i have a reproducer but i cannot automate it because this is triggered through a race condition and the side-effect is a log:
import pytest

from dbus_fast import DBusError, aio, glib
from dbus_fast.service import ServiceInterface

class ExampleInterface(ServiceInterface):
    def __init__(self):
        super().__init__("test.interface")

@pytest.mark.asyncio
async def test_fast_disconnect():
    bus_name = "aio.client.test.methods"

    bus = await aio.MessageBus().connect()
    bus2 = await aio.MessageBus().connect()
    await bus.request_name(bus_name)
    service_interface = ExampleInterface()
    bus.export("/test/path", service_interface)
    introspection = await bus2.introspect(bus_name, "/test/path")
    bus2.get_proxy_object(bus_name, "/test/path", introspection)
    bus2.disconnect()
    raise Exception("Failed")

This reproduce the error if you look at the captured stderr but if i try to use caplog to capture the logs, the error suddenly disapear.
Any thoughs about this ?
thanks.

Even if the test doesn't fail before it's still useful in case we break something else in the future as this project is definitely lighter on coverage than I would like

The timeout is not the issue, i fail to understand how i broke 3.8 and 3.9, i do not reproduce the issue locally with my 3.9 python version :/


Install the Unreal plugin to export maps to carla from Roadrunner

Setup:
Ubuntu 16.04
Unreal Engine 4.21
carla_0.9.5 built from source
I was trying to export maps from roadrunner to carla, and following the instructions https://www.mathworks.com/help/roadrunner/ug/Exporting-to-CARLA.html
After doing this step:
4. Rebuild the plugin b. Open the project and build the plugins by clicking Yes, I got the prompt

Then I tried to run clean && make launch to rebuild it. But further error occurs
n file included from /home/dani/carla/Unreal/CarlaUE4/Plugins/RoadRunnerCarlaIntegration/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/RoadRunnerCarlaIntegration/Module.RoadRunnerCarlaIntegration.cpp:2:
/home/dani/carla/Unreal/CarlaUE4/Plugins/RoadRunnerCarlaIntegration/Source/RoadRunnerCarlaIntegration/Private/RoadRunnerCarlaIntegration.cpp:15:10: fatal error: 'OpenDrive/OpenDriveActor.h' file not found
#include <OpenDrive/OpenDriveActor.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[11/16] Compile CarlaUE4GameModeBase.cpp
[12/16] Compile CarlaUE4.cpp
[13/16] Compile CarlaMapGenerator.cpp
[14/16] Link (ld) libUE4Editor-Carla.so
[15/16] Link (ld) libUE4Editor-CarlaUE4.so
ERROR: UBT ERROR: Failed to produce item: /home/dani/carla/Unreal/CarlaUE4/Plugins/RoadRunnerCarlaIntegration/Binaries/Linux/libUE4Editor-RoadRunnerCarlaIntegration.so
(see ../Programs/UnrealBuildTool/Log.txt for full exception trace)
Total build time: 145.63 seconds (Local executor: 0.00 seconds)
Makefile:200: recipe for target 'CarlaUE4Editor' failed
make[1]: *** [CarlaUE4Editor] Error 5
make[1]: Leaving directory '/home/daniela/carla/Unreal/CarlaUE4'
Util/BuildTools/Linux.mk:7: recipe for target 'launch' failed
make: *** [launch] Error 2
I wonder how to fix this problem so that the roadrunner plugins could be installed

Hi! @zhaoshan2 ,I think we meet similiar problems. Have you solved it now?
My setup: CARLA_0.9.10 Unreal Engine 4.26 (no Ubuntu)
I follow the same instructions

After doing this step:
Rebuild the plugin.
a.Generate the project files.
Windows® - Right-click the .uproject file and select "Generate Visual Studio project files."
It shows the error "This project does not have any source code. You need to add C++ source files to the project from the Editor before you can generate project files"
In addition, my CarlaUE4.uproject locates in 'CarlaUE4' folder.
If I ignore the error in step a, and skip to step b "open the project and build the plugins by clicking Yes."
Missing CarlaUE4 Module not only includes  "RoadRunnerImporter", "RoadRunnerCarlaIntegration", and "RoadRunnerMaterials", but also includes CarlaUE4 and Carla. If I still keep going, I receive the same error as you do. CarlaUE4 could not be complied. Try rebuilding from source manually.

If you have solved this issue, please give me some advices, thanks!

Hi! @zhaoshan2 ,I think we meet similiar problems. Have you solved it now?
My setup: CARLA_0.9.10 Unreal Engine 4.26 (no Ubuntu)
I follow the same instructions

After doing this step:
Rebuild the plugin. a.Generate the project files. Windows® - Right-click the .uproject file and select "Generate Visual Studio project files."
It shows the error "This project does not have any source code. You need to add C++ source files to the project from the Editor before you can generate project files"
In addition, my CarlaUE4.uproject locates in 'CarlaUE4' folder.
If I ignore the error in step a, and skip to step b "open the project and build the plugins by clicking Yes."
Missing CarlaUE4 Module not only includes "RoadRunnerImporter", "RoadRunnerCarlaIntegration", and "RoadRunnerMaterials", but also includes CarlaUE4 and Carla. If I still keep going, I receive the same error as you do. CarlaUE4 could not be complied. Try rebuilding from source manually.

If you have solved this issue, please give me some advices, thanks!

Hi, @EchoYJJ Have you ever checked with this one?
https://github.com/carla-simulator/carla/issues/1015
It didn't work for me, but anyway you can have a try and please let me know if it works.

Thank you for you recommdations. Actually, I met some problems in the"make PythonAPI" &"make launch" like I ask here.https://github.com/carla-simulator/carla/issues/3743
I think that's probably due to the C complier. Could you please tell me how did you select the right cl.exe provided from VS2017?

Hi! @zhaoshan2 ,I think we meet similiar problems. Have you solved it now?
My setup: CARLA_0.9.10 Unreal Engine 4.26 (no Ubuntu)
I follow the same instructions

After doing this step:
Rebuild the plugin. a.Generate the project files. Windows® - Right-click the .uproject file and select "Generate Visual Studio project files."
It shows the error "This project does not have any source code. You need to add C++ source files to the project from the Editor before you can generate project files"
In addition, my CarlaUE4.uproject locates in 'CarlaUE4' folder.
If I ignore the error in step a, and skip to step b "open the project and build the plugins by clicking Yes."
Missing CarlaUE4 Module not only includes "RoadRunnerImporter", "RoadRunnerCarlaIntegration", and "RoadRunnerMaterials", but also includes CarlaUE4 and Carla. If I still keep going, I receive the same error as you do. CarlaUE4 could not be complied. Try rebuilding from source manually.

If you have solved this issue, please give me some advices, thanks!

Hello I am also facing the same problem. Moreover, I have also tried several different versions of Unreal Engine 4. If you were able to solve the problem, can you explain the method? Thank you. :)

Hi! @zhaoshan2 ,I think we meet similiar problems. Have you solved it now?
My setup: CARLA_0.9.10 Unreal Engine 4.26 (no Ubuntu)
I follow the same instructions

After doing this step:
Rebuild the plugin. a.Generate the project files. Windows® - Right-click the .uproject file and select "Generate Visual Studio project files."
It shows the error "This project does not have any source code. You need to add C++ source files to the project from the Editor before you can generate project files"
In addition, my CarlaUE4.uproject locates in 'CarlaUE4' folder.
If I ignore the error in step a, and skip to step b "open the project and build the plugins by clicking Yes."
Missing CarlaUE4 Module not only includes "RoadRunnerImporter", "RoadRunnerCarlaIntegration", and "RoadRunnerMaterials", but also includes CarlaUE4 and Carla. If I still keep going, I receive the same error as you do. CarlaUE4 could not be complied. Try rebuilding from source manually.

If you have solved this issue, please give me some advices, thanks!

Hello I am also facing the same problem. Moreover, I have also tried several different versions of Unreal Engine 4. If you were able to solve the problem, can you explain the method? Thank you. :)

I am facing the same problem. Could you please tell that if you have solved this problem? Thanks!

The documentation is a bit misleading with the instruction open the project and build the plugins by clicking Yes.. Once you have generated the plugin files in step 3a. then run make launch in the terminal to rebuild Carla/Unreal with the plugins.

@corkyw10 I'm facing the same problem. By right-clicking on "CarlaUE4.uproject" and running it, I face the following error:
" CarlaUE4 could not be complied. Try rebuilding from source manualy."
I was wondering how we can find a straightforward approach to import RoadRunner built map to CARLA?

@gizaysargin I'm facing the same issue and was wondering whether you have you been able to solve this problem?

@EchoYJJ were you able to get this to work?if yes, what was your magic trick?

Please see updated documentation for the roadrunner plugin. If you have any problems with this documentation, please open a new github issue.


portable deep feed forward neural network for regression and classification with less than 100 lines of code.

Dear All:
This message is just a "ad" to my new project at
https://github.com/wangyi-fudan/wymlp
Sorry for the trouble since I have no idea to post it elsewhere. :-)

The LOC has been reduced to 50.


phosphatidic acid biosynthetic process parentage missing

this parentage
GO:0046474   glycerophospholipid biosynthetic process
is present in quickgo, not in GO
is the removal intentional?

Should be fixed with the new GCIs that @balhoff is adding.

I just checked and this relation is in ChEBI.
phosphatidic acid (CHEBI:16337) is a glycerophospholipid (CHEBI:37739).
In GO we assert the conjugate base.

@balhoff. Checked at 7:19PM Eastern. I still don't see this, but I can't tell if you have rebuilt all the files. I don't see the GCIs for phosphatidate (-2) that have the new relations.

Not yet. :-) Found something else I missed. Will keep you posted.

Okay @ukemi please check it out now.

Yay! The GCIs are there and phosphatidic acid biosynthetic process is_a glycerophospholipid biosynthetic process.

Great!


SLS webpack invoke (v2) + SLS invoke local (V3) don't terminate once the response has been sent

This is a Bug Report
Description
I'm trying to run sls webpack invoke -f some_function inside a docker container, but the command hangs and I have to stop the machine in another terminal window. Hitting Ctrl+C/D doesn't work. I'm getting Docker to do it as it's part of a Jenkins pipeline, and that's how other devs are doing this in my company.

I expect sls webpack invoke -f some_function to terminate once the callback has been executed. I'm not running it with the --watch flag.
I've tried upgrading to 2.2.2, but I get the same issue (still using sls webpack invoke -f some_function even though the docs say it's been disabled). I cannot run sls invoke local as I get SyntaxError: Unexpected token import as webpack hasn't actually done anything
My serverless.yml has the following plugins
plugins:
  - serverless-webpack
  - serverless-offline (Even with this turned off, it makes no difference)
  - serverless-jest-plugin (Even with this turned off, it makes no difference)

That is the exact order, and I've seen mention of webpack needing to be first, and it already is
Additional Data
Serverless-Webpack 2.2.0 (And 2.2.2)
Webpack 3.5.4
Serverless-Offline 3.15.3
Serverless 1.20.2
OS: OS X (local) / Ubuntu (docker)
Stack Trace
(function (exports, require, module, __filename, __dirname) { import { successResponse } from '../helpers'
                                                              ^^^^^^
SyntaxError: Unexpected token import
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at AwsInvokeLocal.invokeLocalNodeJs (/usr/local/lib/node_modules/serverless/lib/plugins/aws/invokeLocal/index.js:156:33)
    at AwsInvokeLocal.invokeLocal (/usr/local/lib/node_modules/serverless/lib/plugins/aws/invokeLocal/index.js:114:19)
    at AwsInvokeLocal.tryCatcher (/usr/local/lib/node_modules/serverless/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/usr/local/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:512:31)
    at Promise._settlePromise (/usr/local/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise._settlePromise0 (/usr/local/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:614:10)
    at Promise._settlePromises (/usr/local/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:693:18)
    at Async._drainQueue (/usr/local/lib/node_modules/serverless/node_modules/bluebird/js/release/async.js:133:16)
    at Async._drainQueues (/usr/local/lib/node_modules/serverless/node_modules/bluebird/js/release/async.js:143:10)
    at Immediate.Async.drainQueues (/usr/local/lib/node_modules/serverless/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:672:20)
    at tryOnImmediate (timers.js:645:5)
    at processImmediate [as _immediateCallback] (timers.js:617:5)

webpack.config.js
const path = require('path')
const slsw = require('serverless-webpack')

require('source-map-support').install()

module.exports = {
  entry: slsw.lib.entries,
  devtool: 'source-map',
  target: 'node',
  externals: [
    /aws-sdk/ // Available on AWS Lambda
  ],
  module: {
    rules: [
      {
        test: /\.js$/,
        exclude: /node_modules/,
        loader: 'babel-loader'
      }
    ]
  },
  output: {
    libraryTarget: 'commonjs',
    path: path.join(__dirname, '.webpack'),
    filename: '[name].js'
  }
}

babelrc
{
  "presets" : [
    [
      "env",
      {
        "presets": [
          "stage-3"
        ],
        "targets": {
          "node": "6.10"
        },
        "useBuiltIns": true,
        "modules": false,
        "loose": true
      }
    ]
  ],
  "plugins":[
    [
      "transform-async-to-module-method",
      {
        "module": "bluebird",
        "method": "coroutine"
      }
    ]
  ]
}

I'm investigating the context. That might be the cause. I'm throwing an exception for testing, and that terminates just fine... Hmm...

I experienced the issue yesterday too - and did not change the serverless-webpack version at all on my computer.
It seems that one of the dependencies causes the issue - candidates are serverless-offline or webpack.
I'll try to investigate too, which dependency it is.

BTW: I experienced the change in behavior with the 3.0.0 version of serverless-webpack which uses serverless invoke local, a different approach.

I tested it with two different projects of ours (with 3.0.0-rc.2). One project terminates correctly after showing the lambda results, one project does not. It looks for me now that the node main loop waits for an empty state and thus does not end the node process correctly.
I used serverless invoke local --function=<function> --path=<test event json>.
The project that terminates correctly does not use any global lingering objects, the other one that does not terminate, uses a global REDIS connection that still executes at the end.
In AWS Lambda the behavior is that we configure the lambda to exit as soon as the final callback is called and not wait for the event loop to be empty.
I'm pretty sure that that's the core of the problem - the plugin must exit as soon as the terminating lambda callback has been called and the handler exits.

Imo, the best approach to find and solve the problem would be to use V3 as there is much less plugin code involved and the problem can be found and isolated much better. Afterwards it should be backported to V2.

Thanks for the quick response! I posted this before I left work, so I'll have a look at this in the morning.
The lingering objects might actually be a big clue. I'm not closing my db connection because I've been running into bugs if I do close the connection. I'm new to Promises and async/await. I'm not closing my database connection because there are queries that are somehow firing after the db gets closed. Serverless offline holds my hand there (somehow), but maybe that's all I need to fix :)
I'll update you tomorrow

In my opinion lingering objects are often used (especially for database pools and connections), so this should be fixed in the plugin and not in the user code. I'll check if I can find a proper way to make the plugin behave as expected. Nevertheless you can also look into the plugin's code and check if it returns from the handler and really gets stuck at the very end.

I investigated the problem. There is a major flaw in Serverless' invoke local (and thus webpack invoke as they use the same semantics).
The problem is, that the call of the handler does not await its end, but just calls it and expects a promise.
The termination only works correctly if your handler returns a promise and does not use the callbacks (which is an either/or).
The code in Serverless (aws/invokeLocal/index):
    return lambda(event, context, callback);

lambda is the "required" handler function export. As you see here, the function will return immediately if you use a strict callback pattern in your handler (and according to the AWS docs MUST NOT return a promise)! That leads to the immediate trigger of the after:invoke:local event, even before the handler has finished.
The solution for this issue would be, to check if the result of the lambda handler is a promise or not. In case it's a promise, just return it, otherwise return a promise that resolves on the callback parameter.
This makes sure that the event lifecycles are awaited correctly and the promise resolves or rejects on the callback calls in case the handler uses callbacks.
As V3 only uses invoke local, this must be fixed there. We can decide later if we port the fix from Serverless into the old V2 branch into the similar implementation.
/cc @pmuens @eahefnawy

@HyperBrain thanks for the mention, somehow it stood out of my 200+ notifications 😊 ... I think I understand what you mean. Would be great if you could migrate this issue to our repo so that we can keep track of it internally in our sprint board ✨

@eahefnawy  Will do :) The fix is nearly done already - I managed to get the event lifecycle in order now. There is still a hang, but I'm on that. The hang is related to dangling/lingering globals in the user's code, but should also be handled by local invoke. Expect a complete fix after this weekend - you know, unit tests take the longest 😄

I apologise for not being able to do much on my side. Other things have been coming up at work. Though I can confirm that closing the database does terminate correctly :) Thank you so much for that tip
Personally, if you're going to fix it, perhaps just stick it in 3.x, as it's currently only in RC phase, so you can introduce breaking changes there. People might already have workarounds in place for 2.x

Hi @btaylor-ihr, any chance you could confirm the issue is resolved with the latest version of this plugin? 😄


UI issue of Manage Passcode.

After successfully changing the passcode, ideally it should go to the Settings page but, when we click on the "View Settings" button it goes to the Manage Passcode screen.

-Verified this issue on dev app v1.8.0(304)


AutoML compatibility w/ sklearn cross-validation & roc_auc

To perform nested cross-validation:
sklearn.model_selection.cross_val_score(automl, X, y, cv=2)

However that requires AutoML to have a score() method available.  Okay, let's explicitly give sklearn a scoring method:
sklearn.model_selection.cross_val_score(automl, X, y, scoring='roc_auc', cv=2)

This ends up in sklearn's _BaseScorer._select_proba_binary() which requires classes_ to be a Numpy ndarray.  AutoML explicitly is turning these to a list.  So there is an error.
Full example:
import numpy as np
import sklearn
from flaml import AutoML

X = np.random.random(size=(10, 1))
y = np.random.choice([False, True], size=10)
automl = AutoML(time_budget=5)
sklearn.model_selection.cross_val_score(automl, X, y, scoring='roc_auc', cv=2)

Leads to error:

(    col_idx = np.flatnonzero(classes == pos_label)[0] IndexError: index 0 is out of bounds for axis 0 with size 0).

A workaround is to override classes_ to have it return an array:
class MyAutoML(AutoML):
    @property
    def classes_(self):
        return np.array(super().classes_)

Since a workaround was found, this isn't high priority, but I wonder:

Does a decision_function() make sense for AutoML?
Does a score() function make sense?
Compatibility reasons to .tolist() the .classes_?

FLAML 0.9.6, scikit-learn 1.0.2

To perform nested cross-validation:
sklearn.model_selection.cross_val_score(automl, X, y, cv=2)

However that requires AutoML to have a score() method available. Okay, let's explicitly give sklearn a scoring method:
sklearn.model_selection.cross_val_score(automl, X, y, scoring='roc_auc', cv=2)

This ends up in sklearn's _BaseScorer._select_proba_binary() which requires classes_ to be a Numpy ndarray. AutoML explicitly is turning these to a list. So there is an error.
Full example:
import numpy as np
import sklearn
from flaml import AutoML

X = np.random.random(size=(10, 1))
y = np.random.choice([False, True], size=10)
automl = AutoML(time_budget=5)
sklearn.model_selection.cross_val_score(automl, X, y, scoring='roc_auc', cv=2)

Leads to error:

(    col_idx = np.flatnonzero(classes == pos_label)[0] IndexError: index 0 is out of bounds for axis 0 with size 0).

A workaround is to override classes_ to have it return an array:
class MyAutoML(AutoML):
    @property
    def classes_(self):
        return np.array(super().classes_)

Since a workaround was found, this isn't high priority, but I wonder:

Does a decision_function() make sense for AutoML?

Not sure because it is not applicable to all learners and tasks.

Does a score() function make sense?

Yes, it makes sense. Would you like to add it?

Compatibility reasons to .tolist() the .classes_?

We used this to make it work for automlbenchmark. Let me try converting it to np.array. If it works, we should make it compatible.

FLAML 0.9.6, scikit-learn 1.0.2

Thanks for the quick turn around.
We can consider this Issue closed, and I can open another for score() if I get a chance.


Revert dependabot bumps to restore submodule

The three dependabot changes operated directly on the submodule content and the first one even removed the submodule. This broke bumps since the 2023.3.0 release.

Thanks for fixing this!


Rewrite of TOMEE-2517 Bean Validation with MicroProfile JWT

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Support variable groups

Variable groups are commonly used in pipelines and current DemoGenerator doesn't support variable groups.  It will be great to add the support.

@harrchen88 feature is already available, but we don't have any template to demonstrate that feature for now. If you have any template which is using variable groups, you can build you own template to create a new project


chore: update lru-cache dependency, update Node versions in CI

Spin-off from #373 that upgrades the lru-cache, because it is a bit tedious to debug otherwise.
Also updates the Node versions used by the CI, since the most recent lru-cache version seems to be incompatible with Node 14. Since Node 14 is EOL by way, applying this update might be overdue anyway.

Al right ... makes sense, BUT you also need to change https://github.com/coapjs/node-coap/blob/master/package.json#L68 !

Thank you, good catch! :) I now set the minimum version to 18, by the way, as I remembered that 16 was phased out early due to the EOL of OpenSSL 1.1.1

If the current changes still work for you, then you could just hit the merge button :)


change red background to solarized default color for syntax ERROR highlight

Change the error syntax highlight from

to

in neovim

Merged. Thank you for your help.


vendor: update toml to v0.4.1

closes #799

Pull Request Test Coverage Report for Build 221c132b7-PR-800

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 45.0%

Totals

Change from base Build ac82d5ffc:
0.0%

Covered Lines:
5427

Relevant Lines:
12060

💛  - Coveralls


Unit test crash when using 15.5 sim

Description
I'm on macOS 14.2 and Xcode 15.0.  I tried to run the unit tests on 17.x and everything was great, when I realized I was just getting the fall through code path.
So I switched to a iPhone 13 Pro iOS 15.5 sim.  And I see the following crash:

I then tried with iOS 16.4 and the unit tests seem to work out fine.
Checklist

[X] I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
[X] If possible, I've reproduced the issue using the main branch of this package.
[X] This issue hasn't been addressed in an existing GitHub issue or discussion.

Expected behavior
No crashes.
Actual behavior
Crash.
Steps to reproduce
No response
Perception version information
No response
Destination operating system
No response
Xcode version information
15.2
Swift Compiler version information
No response

This is just a crash in test code that doesn't have to do with the library (something to do with ImageRenderer), so I am going to convert this to a discussion. I don't have easy access to iOS 15 right now, but if you figure out a workaround we will happily take a PR to fix.


Properly handle re-creating post conditions when switching accounts

When you make a transaction with Connect to the web wallet, the developer can include post conditions. Currently, the web wallet makes the assumption that the post conditions are meant to be for the sending account. This way, an app can start a transaction with pre-set post conditions set to the current user (aka logged in user of that app). However, users can switch accounts in this popup and complete the transaction from a different account. When the user switches accounts, the web wallet automatically re-creates the post conditions, using the new account's address. Otherwise, the transaction would likely fail, because the post conditions would be for a different account.
However, it's possible and valid for a transaction to set post conditions for an account other than the sending account. For example, I'm logged in as account 1, and I could set a post condition that says "X contract sends Y tokens".
The issue is that the web wallet will always overwrite the principal for a post condition. We can be smarter about it, though. For example, in Connect, you can set an stxAddress in the transaction payload, and Connect will switch to that account by default. We can have logic that says "if stxAddress !== postCondition.principal, then don't change it".

+1. I'm adding post conditions for transferring a name on BNS for both the sender and recipient so this bug affects me.

+1 this bug affects my contract too.

Hi @unclemantis @MarvinJanssen this issue is up on our backlog but at the moment we are prioritizing security improvements over bugs.
I was wondering if you'd like and have time to take a stab at fixing it. If you do and have any questions please jump into the -userx Discord channel and the team will be more than happy to collaborate with you.


RoadNetworkTasks GP tool -  point, line and area barriers are mandatory inputs in WAB

I used the Geoprocessing Widget in Web AppBuilder (Dev Edition) to add the RoadNetworkTasks GP tool.   This tool was written so that point, line and area barriers are required parameters of the model, so when running the tool in WAB, you must sketch these in order to solve the route.
I've looked at the GP model and see why they are required inputs, because the AddLocations tool needs to be run sequentially, each time adding in the new Input Location (stops, barriers, etc).  But I'm wondering if there is any way to re-engineer this GP task so that these parameters aren't required?  It's a great GP tool to show in WAB, but those required inputs make it clunky.
I have noticed that when running the tool in desktop, those parameters are not required (or can be empty).

@kerryrobinson did you look at the Directions with Barriers widget we built for Web App Builder in our Solutions Web App Builder widgets repository?

No, I haven't...  but I will now.  Thanks for pointing it out.

@kerryrobinson - have you had a chance to check this out yet?

@jrweakland not yet... once I am done with travel in 2 week's time I plan on trying the new widget.

I am closing this question as answered.


Fix Subscription Support

Theres a bug in the demand logic where its over demanding results downstream.
Currently its too complex the batch cursor or single result means that we don't need multiple queues.

Done


Better error reporting than Cannot read properties of undefined (reading 'includes')

Which @angular/* package(s) are relevant/related to the feature request?
No response
Description
I was updating some code and I left the css declaration like this by accident:
  styleUrls: ['./sidebar-compact-item.component.css'],

It's supposed to be an scss extension and not a css one.
When I ran the library build the only error was this:
------------------------------------------------------------------------------
Building entry point 'elytra'
------------------------------------------------------------------------------
✖ Compiling with Angular sources in Ivy partial compilation mode.
Cannot read properties of undefined (reading 'includes')

Proposed solution
It would be nice if the error was more specific.
Alternatives considered
Just backtrack and find the error ...

Transferring to the CLI repo as the fix, most likely, belong here.


Add sidr to cdnjs

This would be a great library to add to cdnjs

We will do it

We are in!
https://cdnjs.com/libraries/sidr


No object found but 1 Device connected

Since 1 week there is no object anymore from Daikin Cloud. Online Info is shown with connected. And in configuration there is the hint that 1 device is found on Cloud and connected. But there is no object. The heating was working correctly and perfectly since half a year. Nothing changed.
Js controller 5.0.19
Node is v18.17.1
NPM 10.2.2

Did you restarted the adapter? What does the log tell? Try enable Debug log and post log content

PS: Potentially log out of Onecta App on mobile, login again ... if you are asked for new data enter them ... after this should work

Hey,I tried to restart but 4 tries didn't bring the objects back. Then I rewrite the credentials and then it worked. I don't know why, nothing changed before. Thank you for your ideas to get back objects. Best regards Tim---------‐-------‐‐-------------Tim Ziegenbein Kohlsberger Höhe 642657 Solingen 0152 @.***
-------- Ursprüngliche Nachricht --------Von: Ingo Fischer @.> Datum: 20.06.24  17:51  (GMT+01:00) An: "Apollon77/ioBroker.daikin-cloud" @.> Cc: tziegenbein @.>, Author @.> Betreff: Re: [Apollon77/ioBroker.daikin-cloud] No object found but 1 Device
connected (Issue #214)
PS: Potentially log out of Onecta App on mobile, login again ... if you are asked for new data enter them ... after this should work
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


mount() correctly renders when component under test uses React.createClass but does shallow render when only createClass

Migrated my code base from soon to be deprecated React.createClass to package create-react-class and a series of tests started failing.
Seems that mount is doing a shallow render when I switched to package create-react-class.
I see the same behavior if instead of
const MyComponent = React.createClass({});

I do:
import React, { createClass } from 'react';

const MyComponent = createClass({});

Seems it might be context related?
Is there some additional work to be done to use create-react-class or do I need to truly migrate to classes?

You should be importing with import createClass from 'create-react-class', not from React
yes, you should truly migrate to classes, as of React 0.14.

You should be importing with import createClass from 'create-react-class', not from React

Sorry, I must not have explained myself correctly.
I was illustrating that the exact problem occurs whether I use createReactClass from package create-react-class, or whether I use createClass from object React.
If I use React.createClass (calling from context) then mount works as expected.
This is only a problem during tests though, the production app works as expected.

yes, you should truly migrate to classes, as of React 0.14.

We have hundreds (thousand?) units at work. My intents was that a staged approach using create-react-class would be suitable. Sounds like to continue using enzyme we might be forced to though. If so then something to note in the docs/FAQ/common-issues

Hmm, this is strange - specifically that React.createClass would work but { createClass } = React would not? What babel settings are you using? What version of React are you using with enzyme?
(fwiw, you can use codemods to migrate createClass instances to class-based instances pretty trivially; i think it covers everything except complex mixins - at airbnb we converted thousands of components very quickly this way)

Thank you for your reply @ljharb . It is a strange problem that is puzzling me.
I uploaded a reduced example of the issue to https://github.com/CervantesVive/test-example
If you checkout the project then do yarn && yarn run test the test passes.
If you edit the file test-example/src/components/Overlay/OverlayAnchor.jsx so that the definition uses { createClass } = React or createReactClass  then rerun yarn run test then it will fail.
I reduced the code though not the deps so a lot of unused deps will get pulled down.

(note that "0.1" isn't a valid semver version; i had to edit it to 0.1.0)
I can definitely reproduce this with your repo.
However, when I fully uninstall create-react-class, and switch it so both components in that repo use the same method, the createClass version starts working.
Similarly, when I make all of them use create-react-class, it works too.
So, it seems the issue is that you have to migrate every single React.createClass component over to create-react-class at once, and it works fine.

@CervantesVive I'm saying that if create-react-class even exists on disk, then everything in your codebase must be using it. You need to fully uninstall it if you want to test out another method.

@ljharb Either I am misunderstanding something or we are talking past each other.
My use case is that I only usecreate-react-class . Per my previous comment, if OverlayAnchor.jsx is edited to use create-react-class then no other method will be in use in the example and the test will fail.
If the example is edited to use React.createClass everywhere (3 locations) the test will pass.
Used code-mod on the actual code base like you suggested earlier and surprise, it falls back to react-create-class under various cases so the test failures persist.

When I used your test repo, and changed everything to use create-react-class, everything passed - so it seems like the issue is now that I can't reproduce your failure.


Quaternion To Matrix conversion failed

Error 1
Quaternion To Matrix conversion failed because input Quaternion is invalid {-nan(ind), -nan(ind), -nan(ind), -nan(ind)} l=-nan(ind)
UnityEngine.Matrix4x4:TRS (UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.Vector3)
Vertx.Debugging.Shape/Arc:.ctor (UnityEngine.Vector3,UnityEngine.Quaternion,single,Vertx.Debugging.Shape/Angle) (at Library/PackageCache/com.vertx.debugging@2.1.1/Runtime/Shapes/Shapes.cs:528)
Vertx.Debugging.Shape/Arc:.ctor (UnityEngine.Vector2,single,single,Vertx.Debugging.Shape/Angle) (at Library/PackageCache/com.vertx.debugging@2.1.1/Runtime/Shapes/Shapes.cs:533)
Vertx.Debugging.Shape/CapsuleCast2D:Draw (Vertx.Debugging.CommandBuilder,UnityEngine.Color,UnityEngine.Color,single) (at Library/PackageCache/com.vertx.debugging@2.1.1/Runtime/Shapes/Shapes.Casts.2D.cs:516)
Vertx.Debugging.Shape/CapsuleCast2D:Draw (Vertx.Debugging.CommandBuilder,UnityEngine.Color,single) (at Library/PackageCache/com.vertx.debugging@2.1.1/Runtime/Shapes/Shapes.Casts.2D.cs:455)
Vertx.Debugging.D:raw (Vertx.Debugging.Shape/CapsuleCast2D,single) (at Library/PackageCache/com.vertx.debugging@2.1.1/Runtime/Draw.cs:20)
Vertx.Debugging.DrawPhysics2D:CapsuleCast (UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.CapsuleDirection2D,single,UnityEngine.Vector2,single,int) (at Library/PackageCache/com.vertx.debugging@2.1.1/Runtime/DrawPhysics2D.cs:613)
Entities.Items.Projectiles.Base.Projectile:OnDrawGizmos () (at Assets/Scenes/Game/Scripts/Entities/Items/Projectiles/Base/Projectile.cs:51)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Error 2
Quaternion To Matrix conversion failed because input Quaternion is invalid {nan, nan, nan, nan} l=nan
UnityEngine.Matrix4x4:TRS (UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.Vector3)
Vertx.Debugging.Shape/Arc:.ctor (UnityEngine.Vector3,UnityEngine.Quaternion,single,Vertx.Debugging.Shape/Angle) (at Library/PackageCache/com.vertx.debugging@2.1.1/Runtime/Shapes/Shapes.cs:528)
Vertx.Debugging.Shape/Arc:.ctor (UnityEngine.Vector2,single,single,Vertx.Debugging.Shape/Angle) (at Library/PackageCache/com.vertx.debugging@2.1.1/Runtime/Shapes/Shapes.cs:533)
Vertx.Debugging.Shape/CapsuleCast2D:Draw (Vertx.Debugging.CommandBuilder,UnityEngine.Color,UnityEngine.Color,single) (at Library/PackageCache/com.vertx.debugging@2.1.1/Runtime/Shapes/Shapes.Casts.2D.cs:517)
Vertx.Debugging.Shape/CapsuleCast2D:Draw (Vertx.Debugging.CommandBuilder,UnityEngine.Color,single) (at Library/PackageCache/com.vertx.debugging@2.1.1/Runtime/Shapes/Shapes.Casts.2D.cs:455)
Vertx.Debugging.D:raw (Vertx.Debugging.Shape/CapsuleCast2D,single) (at Library/PackageCache/com.vertx.debugging@2.1.1/Runtime/Draw.cs:20)
Vertx.Debugging.DrawPhysics2D:CapsuleCast (UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.CapsuleDirection2D,single,UnityEngine.Vector2,single,int) (at Library/PackageCache/com.vertx.debugging@2.1.1/Runtime/DrawPhysics2D.cs:613)
Entities.Items.Projectiles.Base.Projectile:OnDrawGizmos () (at Assets/Scenes/Game/Scripts/Entities/Items/Projectiles/Base/Projectile.cs:51)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
 ^ Repeating each frame on Unity 2021.3.24f1.
Code in FixedUpdate:
DrawPhysics2D.CapsuleCast(
    origin: Rb2D.position,
    size: RaycastSize, // 1.74, 4.2 for information's sake
    capsuleDirection: CapsuleDirection2D.Vertical,
    angle: 0f,
    direction: Rb2D.velocity,
    distance: RaycastDistance, // Rb2D.velocity.magnitude * Time.fixedDeltaTime
    layerMask: Layers.Ground); // 1 << 3

Rb2D.velocity is Vector2.zero in some cases (ie. not a valid direction), and I don't handle this.
I've just pushed an update that handles it, 2.1.2. It should arrive in OpenUPM soon.

It seems it still appears... at the exact same place, and from my experiments it doesnt seem like its because of the velocity being zero. Heres a gif.

I can't seem to replicate this unless I pass NaN into angle from outside.
Is there any indication of where/how NaN is being introduced into this codepath for you? If you use the debugger in the CapsuleCast2D:Draw (Shapes.Casts2D.cs:460) method, can you see where NaN gets created when this occurs?
Otherwise I could write some code to protect against it, but it's hard to make it reasonable without knowing what's introducing NaN in the first place.

I've pushed 2.1.3 which should at least silently handle this case.

Vector2 velocity = Rb2D.velocity * Mathf.Max(0f, 1f - .5f * Time.fixedDeltaTime);

Origin           = Rb2D.position + velocity *
                   Time.fixedDeltaTime + velocity.normalized *
                   (RaycastLength / 2 - RaycastRadius / 2);
Size             = new(RaycastRadius, RaycastLength);
CapsuleDirection = CapsuleDirection2D.Vertical;
Angle            = Mathf.Atan2(velocity.y, velocity.x) * Mathf.Rad2Deg + 90;
Direction        = velocity;
Distance         = RaycastDistance;
LayerMask        = Layers.Ground;

Debug.Log($"{float.IsNaN(Angle)}");

The Debugger:
Shapes.Casts.2D.cs

Shapes.cs

To me it really seems the issue is that dotA sometimes results in a value < -1, which results in NaN (https://learn.microsoft.com/en-us/dotnet/api/system.mathf.acos?view=net-7.0#returns the unity docs dont really note that, but it might be applicable there too, not sure). I checked the value of dotA when the error was not occuring and it was always either -1 or -0.9948...smth. I have no clue why it doesn't seem to appear for dotB in Arc arcA = ... but it might be irrelevant

This helps a lot, and makes total sense now thanks! Now I can fix it properly haha. The current release should hopefully be functional, but a future release will fix it properly.


datapipeline not working automatically after uploading folder

Currently the folder itself doesn't trigger upload, but each individual file within it, so the json is coming up empty. Running the lambda manually with the folder as key runs the data properly, but it should be automatized. This would be a good opportunity to collaborate with LandLab team to streamline workflow and data processing.

Datapipeline reworked for efficiency, direct input to database from xml.


App Release | App manager is allowed to upload duplicate roles

There are multiple issues occurring at Technical Integration step
Issue# 1
Users are allowed to upload the same CSV file with same Role values any number of times, resulting in the same roles being repeated multiple times in the app's role list.
Current Behavior: Same role being repeated n times in the list and also does not allow to delete the role.
Expected Behavior: It should ignore the duplicate role and also deletion of each recently uploaded should be working.
Steps To Reproduce:

Login to the Portal as App Manager
Register an App
Add/Input all the required data
Under Technical integration --> Download the CSV template and then upload it
Delete the recently uploaded CSV template and Upload it again (N Times)

Issue# 2
When User deletes the uploaded file of roles then uploaded roles are not removing from the list.
Current Behavior: Uploaded file removed successfully but it’s associated roles remain as it is and due to that duplication of roles is happening in the section.
Expected Behavior: Roles file should be deleted and it’s associated roles should be removed.
Steps To Reproduce:

Login to the Portal as App Manager
Register an app
Add/Input all the required data
Under Technical integration --> Download CSV template and then upload it back
Delete the recently uploaded CSV template

Proposed Solutions

While Onboarding a New App: At Technical Integration step
Backend: API exists to upload the App Roles but backend would need to change the API and ignore the duplicate role values while uploading the roles to the server
Frontend: Frontend can also check the Roles values and eliminate the duplicate values before sending them to the backend OR stop user sending request unless user did not remove the duplicate values

While Onboarding a New App: Delete all roles which were recently uploaded by .csv file
Backend: Backend would need to create a new API which will accept the list of recently uploaded role Ids and eventually will delete the roles from the database
Frontend: Frontend would be integrating this API and passing all the recently uploaded role's IDs to the API to delete the roles

While Onboarding a New App: Delete one recently uploaded role at a time
Backend: API exists but currently returning 400 so, backend would need to check whats the issue
Frontend: For the time being, no change is required

While updating the Onboarded App: Delete all the roles which were recently uploaded by .csv file
Backend: Same API mentioned in point# 1 can be used here as well
Frontend: Frontend would have to identify the recently uploaded roles (because in case of update, already assigned roles would already be part of app) and then pass the recently uploaded role Ids to the API to delete them from the database

Load Additional Roles to any Active App:
Backend: API exists to load additional roles but backend would have to update the API and check the duplicate values to ignore them
Frontend: For the time being, no change is required

@MaximilianHauer we need to decide whether the upload of roles should not result in pure insert but completely define the set of roles doing all create/update/delete at once.
current PR #877 attempts to avoid creation of duplicates when the insert-endpoint is being called and adds an additional endpoint that allows to delete roles. That would require adaptions in the FE to allow selection of to-be-deleted roles.

@tfjanjua your new api changes would force us to adjust the frontend too.
had a discussion with @ntruchsess  and we would propose a solution that does not implement a new deletion api but does update the existing roles based on the new file.
please connect to @ntruchsess

Issue 1 in this ticket is resolved by PR #877
The proposed solution for Issue 2 (endpoint is not deleting roles) there existing endpoint should be changed in such way that it allways does adjust the roles in the database to match the uploaded ones.

it should create uploaded roles (including description) that do not yet exist in the db
it should adjust (that means create/update/delete) descriptions of roles that are already existing in the db according to the uploaded roles
it should delete roles and their descriptions that are existing in the database, but not in the uploaded set of roles

as we solved the urgent needs we can now focus on following the proper way for the second adjustment.
as this is changing business functionality the proper way is to register the change in the next release planning of the association.
Please follow the process https://catenax-ev.github.io/docs/next/working-model/process-structure/issue-process#create-new-feature-inside-sig-release and link the frontend/backend related stories to the sig-release feature request


Build task error "No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi" since Flutter 2.5.2

Hey,
the issue is not directly related to your extension as it seems to be a Google/Android/Flutter problem. But I didn't know where to ask since my problem specifically involve Azure DevOps and your tasks. If it's too far away in your opinion feel free to close.
Today I upgraded to Flutter 2.5.2 and the most recent Android SDK and then a new build error occured:
No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi

A working fix for my local build was to downgrade the NDK via the SDK Manager in Android Studio. The solution is mentioned in several issues around the internet
https://stackoverflow.com/questions/66922162/no-toolchains-found-in-the-ndk-toolchains-folder-for-abi-with-prefix-arm-linux
Using the version 22.0 instead of 23.0 fixes my local build.

But the same problem occurs when building in Azure DevOps. And here I am struggling to apply my fix. According to the docs there are 3 versions of NDK installed.

I don't know how to uninstall NDK in the virtual machine. Has anyone already seen (and fixed) this problem?
Thanks for any support!

Hi, that's a new error. Unfortunately Azure DevOps doesn't have any documentation regarding uninstall/install of predefined stuff.
But here is a solution which could work, you could give it a try.

Hi, thanks for the reply.
Your hint was correct. I solved the problem by inserting a specific ndk version (21.4.7075529) into the build.gradle file. This version is also installed on the build VM, so the Flutter build task succeeds now.
https://stackoverflow.com/a/65698078


test(Navigation): implement snapshot and action testing - I123

Issue #123
Add testing for Navigation
Changes

Add id attributes for testing and optimization
Implement testing for Navigation functionality

Flags

ErrorLogger could use further testing

Related Issues

PR #122

Hi, if you create and issue for testing ErrorLogger, I would like to write those tests, as my previous issue was connected with changes in this component and I feel a little bit familiar with it. Please feel free to assign it to me as well.


Error checking for update

Brief description of your issue
When I check for updates, an error occurs.
Steps to reproduce (optional)
No response
Expected behavior (optional)
Check for updates.
Actual behavior (optional)
It does not notify you whether or not an update is available, it only indicates that an error has occurred.

Environment (optional)
System Informer nightly 3.0.7566 999ab69
Windows 11 Enterprise 21H2 Build 22000.1165

We're working on ironing out a problem on the back end, expected for now.


Block-oriented, primary support

This is a master issue for  The Primary-Support project, which MUST be generic enough to support any block language, but targets GobstonesJr by now.
These are are main, critical tasks:

[x] Implement fully functional laboratory layout. See:

https://github.com/mumuki/mumuki-laboratory/issues/941
https://github.com/mumuki/mumuki-laboratory/issues/951
https://github.com/mumuki/mumuki-gobstones-runner/issues/62

[x] Develop and integrate characters in the main situation (exercise passed, failed, passed_with_warnings, description explanation and hint) . See https://github.com/mumuki/mumuki-laboratory/issues/1015
[x] Implement client-level submission: Gobstones program should be executed locally and visually, step-by-step. See:

https://github.com/mumuki/mumuki-gobstones-runner/issues/59,
https://github.com/mumuki/mumuki-laboratory/issues/943,
https://github.com/mumuki/mumuki-gobstones-runner/issues/60,
https://github.com/mumuki/mumuki-laboratory/issues/944

[x] Implement validation: the submission must be sent on background to the runner.
[x] Implement blocks persistence: blocks and they layout should be restored after exiting and entering an exercise back. See:

https://github.com/mumuki/mumuki-laboratory/pull/955
https://github.com/mumuki/mumuki-laboratory/issues/956

[x] Be able to create gobstones exercises from blibliotheca. See:

https://github.com/mumuki/mumuki-bibliotheca/issues/123
https://github.com/mumuki/mumuki-bibliotheca/issues/129

[x] Be able to review block exercises from classroom
[ ] Implement full support to attires in the three applications. See:

https://github.com/mumuki/mumuki-bibliotheca/issues/124,
https://github.com/mumuki/mumuki-laboratory/issues/942,
https://github.com/mumuki/mumuki-gobstones-runner/issues/58

These are the very important but not critical tasks:

[x] Improve gobstones' runner responses: https://github.com/mumuki/mumuki-gobstones-runner/issues/67
[x] Improve accessibility. See https://github.com/mumuki/mumuki-gobstones-runner/issues/57
[ ] Improve navigation. See:

https://github.com/mumuki/mumuki-laboratory/issues/952,
https://github.com/mumuki/mumuki-laboratory/issues/953,
https://github.com/mumuki/mumuki-laboratory/issues/947

[x] Improve attires. See https://github.com/mumuki/mumuki-gobstones-runner/issues/61
[ ] Support a characters library. See https://github.com/mumuki/mumuki-bibliotheca/issues/130

These are nice-to-have tasks:

[ ] Improve gamification https://github.com/mumuki/mumuki-platform/issues/252

Closing since main tasks were solved..


ListEndpointsService only supports one direction

Describe the bug
ListEndpointsUnfilteredService and ListEndpointsService is able to filter on one direction only. For example, to retrieve all endpoints which are able to receive data, it is required to call the ListEndpointsUnfilteredService or ListEndpointsService twice. One call with direction Receive and another with direction SendReceive.
Expected behavior
Get all Receive or Send endpoints in one service call.

Did you check this example implementation in the Test? https://github.com/DKE-Data/agrirouter-sdk-dotnet-standard/blob/develop/agrirouter-api-dotnet-standard-test/Service/Messaging/Http/ListEndpointsServiceTest.cs
There's a SendReceive-Attribute used.

Did you check this example implementation in the Test? https://github.com/DKE-Data/agrirouter-sdk-dotnet-standard/blob/develop/agrirouter-api-dotnet-standard-test/Service/Messaging/Http/ListEndpointsServiceTest.cs
There's a SendReceive-Attribute used.

I have created this issue as discussed with Sascha.

I created the following scenario:
One sender, connected to three endpoints. One is able to send TaskData, one is able to receive TaskData and one is able to send & receive TaskData.

In a second step I created a simple test case, that is listing the endpoints that can be reached by the sender. The expectation was:

Filtering for TaskData with direction send or receive should list at least 3 endpoints (the one that can send, the one that can receive and the one that can send & receive).

Filtering for TaskData with direction send should list at least 2 endpoints (the one that can send and the one that can send & receive).

Filtering for TaskData with direction receive should list at least 2 endpoints (the one that can receive and the one that can send & receive).

You can see the integration test for this scenario within the open PR and have a look at the following commit:
https://github.com/DKE-Data/agrirouter-sdk-dotnet-standard/pull/69/commits/d9513a09f0bc70d3456d295fd643c033ba6fb88e
Since this is - as far as I understood by now - the desired behavior, there would be no need for a custom service filtering those endpoints.