quilt: wrap all required inputs

Motivation for this change
Some quilt commands fail on darwin with this error:
stat: illegal option -- c
usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]

This is because at build time quilt is configured to use the coreutils version of stat, but the quilt wrapper does not wrap this coreutils dependency and then at runtime the version from macOS is used (as found in $PATH).
Things done
Wrap coreutils input to fix the problem.
Also add and wrap the missing inputs for the other programs used by the quilt commands: gawk, gnugrep, gnused, unixtools.column and unixtools.getopt.

Built on platform(s)

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

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

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

[X] Fits CONTRIBUTING.md.

/marvin opt-in
/status needs_reviewer

Thanks for reviewing, I was just trying the bot and I am not sure why you were selected by it.
Yes, I thought about adding myself as maintainer, but I wasn't sure about the rules about it. I will add myself then.

Thanks!
/status needs_merger

why you were selected by it

the bot selects random reviewers from its list, and I'm in the list

Result of nixpkgs-review pr 138866 run on x86_64-linux 1

1 package built:

quilt


fix: updated banner content

Description
Updated the banner content on the website
Before

After

Related issue(s)

@magicmatatjahu help review if the content added to the banner is okay

/rtm


ROX-17224: load all certs in client CA

Description
Make sure that all certificates from the PEM encoded config map data are parsed and added to the client CA cert pool. The previous behavior is to only load the first certificate, which can lead to failed TLS handshakes if the client cert has not been signed by the chosen cert.
Checklist

[ ] Investigated and inspected CI test results
[x] Unit test and regression tests added
[ ] ~Evaluated and added CHANGELOG entry if required~
[ ] ~Determined and documented upgrade steps~
[ ] ~Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)~

Current dependencies on/for this PR:

master

PR #6665

PR #6666

PR #6667

PR #6668

PR #6796   👈
PR #6669

This comment was auto-generated by Graphite.


adding raw template to decorator

Description
Currently setting the template for a custom decorator requires using the template cache, and you cannot pass in a raw template string. There is some code inside the decorator provider to support it, but it is not exposed, as it does not work.
When manually setting the decorator to have type equals to template, the builder cannot find the raw template. This is because it is looking for the 'template' field on the wrong variable, checking the form instead of the 'field'.
To test out using a raw template, you can try
schemaFormDecoratorsProvider.decorator('bootstrapDecorator')['myCustomDecorator'].type = 'template';

Fixes Related issues

This doesn't expose raw templates to the decorator helper methods, however, it does get rid of the bugs so it can be exposed in the future.

Checklist

[x] I have read and understand the CONTRIBUTIONS.md file
[x] I have searched for and linked related issues
[x] I have created test cases to ensure quick resolution of the PR is easier
[x] I am NOT targeting main branch
[x] I did NOT include the dist folder in my PR

@json-schema-form/angular-schema-form-lead

@Traksewt thanks for your PR sorry for the delayed response, I was in the middle of the separated core changes and then holidays, would you be able to update to the latest version and reapply your changes to the renamed files? Would love to accept your efforts :)
src/services/builder.js -> src/services/sf-builder.provider.js
test/services/decorators-test.js -> src/services/schema-form-decorators.provider.spec.js

@Anthropic ok no problem. rebased.

Didn't realise I could change it myself within your commit, how cool :)

@Traksewt any ideas?


OS X keybindings with alt

So they match the native bindings - CTRL + Arrow switches desktops

Thanks for the improvement! I don't have a Mac to test this on, but I trust that it as advertised :-)

What if I want to use both, the native behavior alt+... and camelCase jumping ctrl+...?
Btw: 1.2.0 doesn't work on my mac ...

Thanks for your feedback, @maxnowack. Unfortunately, I can't test what settings work on a Mac. Could you find out and open a pull request with the right ones?
Remember that you don't have to use the default settings if you don't like them -- you can always define your own ones in your ~/.atom/keymap.cson


Default operation-key shall be removed from the configuration file for the generic services

Usually if a service don’t have security , then in the specification , we operation-key will be specified as “n.a”.
So , the Operation-key of the following services in the configuration file should be , “n.a”
mwdg-1-0-0-op-s-bs-000 , /v1/start-application-in-generic-representation
mwdg-1-0-0-op-s-bs-001 , /v1/inform-about-application
mwdg-1-0-0-op-s-bs-002, /v1/inform-about-application-in-generic-representation
mwdg-1-0-0-op-s-bs-003, /v1/inform-about-release-history
mwdg-1-0-0-op-s-bs-004, /v1/inform-about-release-history-in-generic-representation
mwdg-1-0-0-op-s-bs-005, /docs

Note : having default operation-key will not create any problem. Raised this issue as we follow this as a standard in other application.

Changed as proposed.


[Animation] Fix vertical offset event passing to external in swipeToDismiss

Consume gesture events so that gesture events are not passed to LazyColumn.
https://user-images.githubusercontent.com/30253468/123050416-44f10980-d433-11eb-8ddd-96fe234a8a86.mp4

@googlebot I signed it!

Solved this problem #174


Fixed comments not opening in new tab bug

A change to HN caused this to no longer work correctly.

I tested links against the version in master and they seem to open correctly. Maybe something changed in the time since this issue was reported.


Add relative_dir method

Add a relative dir method to allow setting a base directory from which to read secrets files.

This will not work yet as the tests will fail.
I think this is because Jail does not support creating files with a subdir.
I have raised this on the figment repo https://github.com/SergioBenitez/Figment/issues/83
Possible solution is to a a create_dir method.

I think we should bump the figment version in cargo.toml, no? Or the crate was not updated yet, I guess.

Yeah, right now the tests are passing because we just happen to pull the latest version, but we should declare in Cargo.toml that we depend on the version with the new create_dir. Can you update it?

I added a >=0.10.12 dependency on top of ^0.10.
Also found an unnecessary mut.

Thanks! I'll try to get a release going as soon as possible


payggy object keeps in loading state on receiver side

Which version did you use to make the Payggy transactions? About a month ago there was a breaking change and Payggy objects before that no long work in the current version.

i am testing on what is currently on chat.wakuplay.im


Issue 3355 UI

Pr for issue #3515 #3507

🚀 Deployed on https://pr-3776--sw-web-runner.netlify.app


CodeMirror swallows onClick event

CodeMirror's parenthesis match mechanism swallows the event on the first click when user clicks on a matching parenthesis.
For example, if I have a listener on the CodeMirror element:
    var editor = new CodeMirror(editorEl, config);
    goog.events.listen(editor.getElement(),
        goog.events.EventType.CLICK,
        function(e) { console.log('CLICKED'); });

Then if the editor displays code with parenthesis:
1 var xyz = function() {
2   // do something
3 };

If I click on line 1, codemirror will highlight the matched parenthesis on line 3, which is expected. However, it will also swallow the click event, and the listener wouldn't fire.

It has to. To prevent the default mouse behavior, CodeMirror must preventDefault mousedown events, which will prevent "click" from happening. Listen to mousedown or mouseup instead.

Thanks for the quick response! Can you provide a little more detail regarding why "it has to"? i.e. what behavior is it trying to prevent?

We don't want clicking to steal focus from the hidden textarea, and we don't want dragging to create a DOM selection.


on M3 MacBook Air with Sequoia 15.1.1

It doesn't work with Sequoia 15.1.1.
battery.app fails with error "Error installing battery limiter: undefined".

yes, I also meet this porblem .  on M3. Sequoia 版本15.1 (24B83)


Improve documentation for multiple match with AND behavior

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities/
To ask questions about how to use Istio, please visit https://discuss.istio.io
)
Bug description
Documentation doesnt mention how to configure multiple matches for uri and header with AND behavior.
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[Y ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
I have a regular service mock and a canary service.  I have a simple routing rule. For both regular production and canary the traffic comes to my container using ingress gateway. So i would like to match /mock to my service.  only when header has isTestUser i would like the traffic to go to the canary.     My virtual service looks like this
kind: VirtualService
metadata:
  name: mock-router
  labels:
    app.kubernetes.io/name: {{ include "mock-router.name" . }}
    helm.sh/chart: {{ include "mock-router.chart" . }}
    app.kubernetes.io/instance: {{ .Release.Name }}
    app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
  hosts:
  - "*"
  gateways:
  - {{ .Values.istio.gateways.name }}
  http:
  - match:
    - uri:
        prefix: /mock
    - headers:
        isTestUser:
          exact: "true"
    route:
    - destination:
        host: mock-canary-service
        port:
          number: {{ .Values.service.port }}

  - match:
    - uri:
        prefix: /mock
    timeout: 120s
    route:
    - destination:
        host: mock-service
        port:
          number: {{ .Values.service.port }}

Steps to reproduce the bug
When i want the traffic to go to regular when header doesnt have isTestUser it doesnt work. The traffic always goes to canary. This is because the match criteria is for OR condition.
The documentation for this states "In a YAML file, the difference between AND behavior and OR behavior in a routing rule is a single dash. The dash indicates two separate matches as opposed to one match with multiple conditions."
I have no idea what this means. Would like to understand how to configure AND condition.
Also it would be nice if i have a match for that virtual service which says /mock should gte processed by these 2 further header based matches .
Version (include the output of istioctl version --remote and kubectl version)
1.1.12
How was Istio installed?
helm
Environment where bug was observed (cloud vendor, OS, etc)
EKS
Additionally, please consider attaching a cluster state archive by attaching
the dump file to this issue.

The documentation at https://preliminary.istio.io/docs/concepts/traffic-management/#multi-match gives examples of AND vs OR.  The sentence you quote reflects the two examples above it.
For AND:
  - match:
    - sourceLabels:
        app: reviews
        version: v2
      headers:
        end-user:
          exact: jason

Anyway, in the AND case the example becomes a single "match",
{
   "sourceLabels": { "app": "reviews", "version": "v2" },
   "headers": { "end-user": { "exact": "jason" }}
}

The OR example in YAML, which is identical to the AND example except for an extra -, becomes two matches:
{
   "sourceLabels": { "app": "reviews", "version": "v2" },
}, {
   "headers": { "end-user": { "exact": "jason" }}
}

(Most humans have a hard time parsing YAML for arrays of sparsely used structs.)
Because you are interested in AND you probably want a single HTTPMatchRequest following https://preliminary.istio.io/docs/reference/config/networking/v1alpha3/virtual-service/#HTTPMatchRequest
@frankbu , when I was researching this I noticed that the documentation for https://preliminary.istio.io/docs/reference/config/networking/v1alpha3/virtual-service/#HTTPMatchRequest does not include sourceLabels, source_labels because they are now marked $hide_from_docs in api/networking/v1alpha3/virtual_service.proto because of https://github.com/istio/api/commit/0e77ec00236554f76109f0e917c6a11de3fa97f7 two weeks ago.  We should probably remove any fields from the examples that are no longer documented.

Thanks @esnible it works now !!

i will keep it open in case you want to update the documentation to be more clearer.

So glad I found this article. Have been trying for hours to get the matcher to work!
Unfortunately the documentation of virtual service doesn't make this beviour clear:
https://istio.io/latest/docs/reference/config/networking/virtual-service/#HTTPRoute
match | HTTPMatchRequest[] | Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.

Ok, I get it now. The 'match' blocks refer to the different elements under the 'match' attribute and not to the different HTTPRoute blocks.
Still, an easy mistake to make when your HTTPRoute blocks look like this:
- match:
    prefix: /abc
  route:
    uri: xyz
- match:
    prefix: /abc
  route:
    uri: xyz

For those ending up here after struggling to get this working for 2h.
In the example below, the AND rule applies. A client needs to match BOTH Host: example.com AND an URI with the prefix /api for the rule to apply.
      - match:
          - authority:
              exact: example.com
            uri:
              prefix: /api
        route:
          - destination:
              host: example.test.svc.cluster.local
              port:
                number: 80

In the example below, the OR rule applies. A client needs to match EITHER Host: example.com OR an URI with the prefix /api for the rule to apply.
      - match:
          - authority:
              exact: example.com
           - uri:
              prefix: /api
        route:
          - destination:
              host: example.test.svc.cluster.local
              port:
                number: 80


[5.0] [Driver] Don't suggest using the "major version" for -swift-version

Explanation: Passing an unsupported number to -swift-version produces a diagnostic that looks like this when the number has a minor component:
  $ swiftc -swift-version 4.1 foo.swift
  <unknown>:0: error: invalid value '4.1' in '-swift-version 4.1'
  <unknown>:0: note: use major version, as in '-swift-version 4'

This was a nice feature when people said -swift-version 4.1...up until we got -swift-version 4.2 as an actual valid version. This change just drops the special case.

Scope: Diagnosing an invalid argument only.

Issue: SR-8850 / rdar://problem/44797691

Risk: Very low. No valid compile can be depending on this, since it produces an error.

Testing: Passed regression tests.

Reviewed by: @davidungar

@swift-ci Please test


#810 prints matrix error as table

Fixes #810
Checklist

[ ] Documented
[x] Unit tested
[ ] release_notes.md updated

Codecov Report

Merging #819 into master will increase coverage by 0.28%.
The diff coverage is 96.22%.

@@             Coverage Diff              @@
##             master     #819      +/-   ##
============================================
+ Coverage     78.82%   79.11%   +0.28%
- Complexity      669      670       +1
============================================
  Files           148      149       +1
  Lines          2966     3016      +50
  Branches        431      432       +1
============================================
+ Hits           2338     2386      +48
- Misses          354      356       +2
  Partials        274      274

I wonder if #810 is about displaying only error outputs or maybe also successed. @bootstraponline ?

I wonder if #810 is about displaying only error outputs or maybe also successed. @bootstraponline ?

I think we should display the results (failed, success, etc.) for each matrix. Same as gcloud CLI.

Add support for other status types

I have added printing MatrixResultsReport as table

For Debug.kt
    val quantity = "single"
    val type = "error"

Table is printed twice
AndroidArgs
    gcloud:
      results-bucket: test-lab-v9cn46bb990nx-kz69ymd4nm9aq
      results-dir: null
      record-video: false
      timeout: 15m
      async: false
      client-details:
      network-profile: null
      results-history-name: null
      # Android gcloud
      app: /Users/janek/projects/flank-project/flank-review/test_runner/src/test/kotlin/ftl/fixtures/tmp/apk/app-debug.apk
      test: /Users/janek/projects/flank-project/flank-review/test_runner/src/test/kotlin/ftl/fixtures/tmp/apk/app-single-error-debug-androidTest.apk
      additional-apks:
      auto-google-login: false
      use-orchestrator: true
      directories-to-pull:
        - /sdcard/
      other-files:
      performance-metrics: false
      num-uniform-shards: null
      test-runner-class: null
      test-targets:
      robo-directives:
      robo-script: null
      device:
        - model: NexusLowRes
          version: 28
          locale: en
          orientation: portrait
      num-flaky-test-attempts: 0

    flank:
      max-test-shards: 1
      shard-time: -1
      num-test-runs: 1
      smart-flank-gcs-path:
      smart-flank-disable-upload: false
      files-to-download:
        - .*/sdcard/[^/]+\.ec$
      test-targets-always-run:
      disable-sharding: true
      project: flank-open-source
      local-result-dir: results
      # Android Flank Yml
      keep-file-path: false
      additional-app-test-apks:
      run-timeout: -1
      legacy-junit-result: false
      ignore-failed-tests: false
      output-style: verbose

RunTests
  Uploading app-debug.apk   Uploading app-single-error-debug-androidTest.apk ..

  1 test / 1 shard

  1 matrix ids created in 0m 6s
  https://console.developers.google.com/storage/browser/test-lab-v9cn46bb990nx-kz69ymd4nm9aq/2020-05-29_12-06-17.849000_lOtW

Matrices webLink
  matrix-23ywqaa9yt86m https://console.firebase.google.com/project/flank-open-source/testlab/histories/bh.da0c237aaa33732/matrices/8785051465867885324/executions/bs.f52b9341ebd2e7de

  0m  1s matrix-23ywqaa9yt86m NexusLowRes-28 PENDING
  0m 31s matrix-23ywqaa9yt86m NexusLowRes-28 Starting attempt 1.
  0m 31s matrix-23ywqaa9yt86m NexusLowRes-28 RUNNING
  1m 32s matrix-23ywqaa9yt86m NexusLowRes-28 Started logcat recording.
  1m 32s matrix-23ywqaa9yt86m NexusLowRes-28 Preparing device.
  1m 57s matrix-23ywqaa9yt86m NexusLowRes-28 Installing apps.
  2m  3s matrix-23ywqaa9yt86m NexusLowRes-28 Retrieving Pre-Test Package Stats information from the device.
  2m  3s matrix-23ywqaa9yt86m NexusLowRes-28 Retrieving Performance Environment information from the device.
  2m  3s matrix-23ywqaa9yt86m NexusLowRes-28 Started crash detection.
  2m  3s matrix-23ywqaa9yt86m NexusLowRes-28 Started crash monitoring.
  2m  3s matrix-23ywqaa9yt86m NexusLowRes-28 Starting instrumentation test.
  2m  3s matrix-23ywqaa9yt86m NexusLowRes-28 Completed instrumentation test.
  2m 33s matrix-23ywqaa9yt86m NexusLowRes-28 Stopped crash monitoring.
  2m 33s matrix-23ywqaa9yt86m NexusLowRes-28 Retrieving Post-test Package Stats information from the device.
  2m 33s matrix-23ywqaa9yt86m NexusLowRes-28 Stopped logcat recording.
  2m 33s matrix-23ywqaa9yt86m NexusLowRes-28 Done. Test time = 6 (secs)
  2m 33s matrix-23ywqaa9yt86m NexusLowRes-28 Starting results processing. Attempt: 1
  2m 33s matrix-23ywqaa9yt86m NexusLowRes-28 Completed results processing. Time taken = 2 (secs)
  2m 33s matrix-23ywqaa9yt86m NexusLowRes-28 FINISHED
  2m 33s matrix-23ywqaa9yt86m FINISHED

FetchArtifacts
  .
  Updating matrix file

CostReport
  Virtual devices
    $0.02 for 1m

MatrixResultsReport
  0 / 1 (0.00%)
  1 matrices failed

┌─────────┬────────────────────────┬────────────────────┐
│ OUTCOME │    TEST_AXIS_VALUE     │    TEST_DETAILS    │
├─────────┼────────────────────────┼────────────────────┤
│ failure │  matrix-23ywqaa9yt86m  │                    │
└─────────┴────────────────────────┴────────────────────┘
More details are available at [https://console.firebase.google.com/project/flank-open-source/testlab/histories/bh.da0c237aaa33732/matrices/8785051465867885324/executions/bs.f52b9341ebd2e7de]
┌─────────┬────────────────────────┬────────────────────┐
│ OUTCOME │    TEST_AXIS_VALUE     │    TEST_DETAILS    │
├─────────┼────────────────────────┼────────────────────┤
│ failure │  matrix-23ywqaa9yt86m  │                    │
└─────────┴────────────────────────┴────────────────────┘

Process finished with exit code 1

For Debug.kt
    val quantity = "single"
    val type = "error"

Table is printed twice
AndroidArgs
    gcloud:
      results-bucket: test-lab-v9cn46bb990nx-kz69ymd4nm9aq
      results-dir: null
      record-video: false
      timeout: 15m
      async: false
      client-details:
      network-profile: null
      results-history-name: null
      # Android gcloud
      app: /Users/janek/projects/flank-project/flank-review/test_runner/src/test/kotlin/ftl/fixtures/tmp/apk/app-debug.apk
      test: /Users/janek/projects/flank-project/flank-review/test_runner/src/test/kotlin/ftl/fixtures/tmp/apk/app-single-error-debug-androidTest.apk
      additional-apks:
      auto-google-login: false
      use-orchestrator: true
      directories-to-pull:
        - /sdcard/
      other-files:
      performance-metrics: false
      num-uniform-shards: null
      test-runner-class: null
      test-targets:
      robo-directives:
      robo-script: null
      device:
        - model: NexusLowRes
          version: 28
          locale: en
          orientation: portrait
      num-flaky-test-attempts: 0

    flank:
      max-test-shards: 1
      shard-time: -1
      num-test-runs: 1
      smart-flank-gcs-path:
      smart-flank-disable-upload: false
      files-to-download:
        - .*/sdcard/[^/]+\.ec$
      test-targets-always-run:
      disable-sharding: true
      project: flank-open-source
      local-result-dir: results
      # Android Flank Yml
      keep-file-path: false
      additional-app-test-apks:
      run-timeout: -1
      legacy-junit-result: false
      ignore-failed-tests: false
      output-style: verbose

RunTests
  Uploading app-debug.apk   Uploading app-single-error-debug-androidTest.apk ..

  1 test / 1 shard

  1 matrix ids created in 0m 6s
  https://console.developers.google.com/storage/browser/test-lab-v9cn46bb990nx-kz69ymd4nm9aq/2020-05-29_12-06-17.849000_lOtW

Matrices webLink
  matrix-23ywqaa9yt86m https://console.firebase.google.com/project/flank-open-source/testlab/histories/bh.da0c237aaa33732/matrices/8785051465867885324/executions/bs.f52b9341ebd2e7de

  0m  1s matrix-23ywqaa9yt86m NexusLowRes-28 PENDING
  0m 31s matrix-23ywqaa9yt86m NexusLowRes-28 Starting attempt 1.
  0m 31s matrix-23ywqaa9yt86m NexusLowRes-28 RUNNING
  1m 32s matrix-23ywqaa9yt86m NexusLowRes-28 Started logcat recording.
  1m 32s matrix-23ywqaa9yt86m NexusLowRes-28 Preparing device.
  1m 57s matrix-23ywqaa9yt86m NexusLowRes-28 Installing apps.
  2m  3s matrix-23ywqaa9yt86m NexusLowRes-28 Retrieving Pre-Test Package Stats information from the device.
  2m  3s matrix-23ywqaa9yt86m NexusLowRes-28 Retrieving Performance Environment information from the device.
  2m  3s matrix-23ywqaa9yt86m NexusLowRes-28 Started crash detection.
  2m  3s matrix-23ywqaa9yt86m NexusLowRes-28 Started crash monitoring.
  2m  3s matrix-23ywqaa9yt86m NexusLowRes-28 Starting instrumentation test.
  2m  3s matrix-23ywqaa9yt86m NexusLowRes-28 Completed instrumentation test.
  2m 33s matrix-23ywqaa9yt86m NexusLowRes-28 Stopped crash monitoring.
  2m 33s matrix-23ywqaa9yt86m NexusLowRes-28 Retrieving Post-test Package Stats information from the device.
  2m 33s matrix-23ywqaa9yt86m NexusLowRes-28 Stopped logcat recording.
  2m 33s matrix-23ywqaa9yt86m NexusLowRes-28 Done. Test time = 6 (secs)
  2m 33s matrix-23ywqaa9yt86m NexusLowRes-28 Starting results processing. Attempt: 1
  2m 33s matrix-23ywqaa9yt86m NexusLowRes-28 Completed results processing. Time taken = 2 (secs)
  2m 33s matrix-23ywqaa9yt86m NexusLowRes-28 FINISHED
  2m 33s matrix-23ywqaa9yt86m FINISHED

FetchArtifacts
  .
  Updating matrix file

CostReport
  Virtual devices
    $0.02 for 1m

MatrixResultsReport
  0 / 1 (0.00%)
  1 matrices failed

┌─────────┬────────────────────────┬────────────────────┐
│ OUTCOME │    TEST_AXIS_VALUE     │    TEST_DETAILS    │
├─────────┼────────────────────────┼────────────────────┤
│ failure │  matrix-23ywqaa9yt86m  │                    │
└─────────┴────────────────────────┴────────────────────┘
More details are available at [https://console.firebase.google.com/project/flank-open-source/testlab/histories/bh.da0c237aaa33732/matrices/8785051465867885324/executions/bs.f52b9341ebd2e7de]
┌─────────┬────────────────────────┬────────────────────┐
│ OUTCOME │    TEST_AXIS_VALUE     │    TEST_DETAILS    │
├─────────┼────────────────────────┼────────────────────┤
│ failure │  matrix-23ywqaa9yt86m  │                    │
└─────────┴────────────────────────┴────────────────────┘

Process finished with exit code 1

Basically the first table is  a summary report for all matrix (if you have many matrices, it will print them all) and second one log error of each matrix.
To fix this issue I could skip printing table as error log in Utils.kt#withGlobalExceptionHandling  this is much decision about how output should look like.

Basically the first table is a summary report for all matrix (if you have many matrices, it will print them all) and second one log error of each matrix.
To fix this issue I could skip printing table as error log in Utils.kt#withGlobalExceptionHandling  this is much decision about how output should look like.

I'd study the gcloud CLI matrix table. We should be able to port that to Kotlin.
https://github.com/Flank/gcloud_cli/search?q=TEST_AXIS_VALUE&unscoped_q=TEST_AXIS_VALUE
The end result should be only one table. Primarily the goal of Flank is to match gcloud, and add a bit of extra features on top. 🙂

Here's one way you can test the PR:
Run flank.yml with Flank.

flank android run

Run the same flank.yml with gcloud. The table output should match. 🙂

gcloud firebase test android run flank.yml:gcloud

I made output table same as for GCloud ( link, single table, status color etc)
I used outcomeDetails to print TEST_DETAILS, but it is usually empty. Should I used other data to print test details? Outcome details in my opinion is good for it

I will check outputs
Flank table:
┌─────────┬────────────────────────┬────────────────────┐
│ OUTCOME │    TEST_AXIS_VALUE     │    TEST_DETAILS    │
├─────────┼────────────────────────┼────────────────────┤
│ failure │  matrix-d587bp9k4fcda  │                    │
└─────────┴────────────────────────┴────────────────────┘

and Test Lab
┌─────────┬────────────────────────┬─────────────────────┐
│ OUTCOME │    TEST_AXIS_VALUE     │     TEST_DETAILS    │
├─────────┼────────────────────────┼─────────────────────┤
│ Failed  │ walleye-26-en-portrait │ 1 test cases failed │
└─────────┴────────────────────────┴─────────────────────┘

Colors are the same. But in flank we don't have TEST_DETAILS filled. I don't known its ok so please tell what you think. @bootstraponline @pawelpasterz @jan-gogo

I will check outputs
Flank table:
┌─────────┬────────────────────────┬────────────────────┐
│ OUTCOME │    TEST_AXIS_VALUE     │    TEST_DETAILS    │
├─────────┼────────────────────────┼────────────────────┤
│ failure │  matrix-d587bp9k4fcda  │                    │
└─────────┴────────────────────────┴────────────────────┘

and Test Lab
┌─────────┬────────────────────────┬─────────────────────┐
│ OUTCOME │    TEST_AXIS_VALUE     │     TEST_DETAILS    │
├─────────┼────────────────────────┼─────────────────────┤
│ Failed  │ walleye-26-en-portrait │ 1 test cases failed │
└─────────┴────────────────────────┴─────────────────────┘

Colors are the same. But in flank we don't have TEST_DETAILS filled. I don't known its ok so please tell what you think. @bootstraponline @pawelpasterz @jan-gogo

Yes, that's the question which I asked above about properly data usage

I will check outputs
Flank table:
┌─────────┬────────────────────────┬────────────────────┐
│ OUTCOME │    TEST_AXIS_VALUE     │    TEST_DETAILS    │
├─────────┼────────────────────────┼────────────────────┤
│ failure │  matrix-d587bp9k4fcda  │                    │
└─────────┴────────────────────────┴────────────────────┘

and Test Lab
┌─────────┬────────────────────────┬─────────────────────┐
│ OUTCOME │    TEST_AXIS_VALUE     │     TEST_DETAILS    │
├─────────┼────────────────────────┼─────────────────────┤
│ Failed  │ walleye-26-en-portrait │ 1 test cases failed │
└─────────┴────────────────────────┴─────────────────────┘

Colors are the same. But in flank we don't have TEST_DETAILS filled. I don't known its ok so please tell what you think. @bootstraponline @pawelpasterz @jan-gogo

Yes, that's the question which I asked above about properly data usage

I made output table same as for GCloud ( link, single table, status color etc)
I used outcomeDetails to print TEST_DETAILS, but it is usually empty. Should I use other data to print test details? Outcome details in my opinion should be good for it

IMO we should try to fix it but in separate issue/PR. If we want to reflect gcloud results I think there would be some refactor needed
https://github.com/Flank/gcloud_cli/blob/cca7556cc832be02b3523c0fe86fdbdcd33078c4/google-cloud-sdk/lib/googlecloudsdk/api_lib/firebase/test/results_summary.py#L326

I will check outputs
Flank table:
┌─────────┬────────────────────────┬────────────────────┐
│ OUTCOME │    TEST_AXIS_VALUE     │    TEST_DETAILS    │
├─────────┼────────────────────────┼────────────────────┤
│ failure │  matrix-d587bp9k4fcda  │                    │
└─────────┴────────────────────────┴────────────────────┘

and Test Lab
┌─────────┬────────────────────────┬─────────────────────┐
│ OUTCOME │    TEST_AXIS_VALUE     │     TEST_DETAILS    │
├─────────┼────────────────────────┼─────────────────────┤
│ Failed  │ walleye-26-en-portrait │ 1 test cases failed │
└─────────┴────────────────────────┴─────────────────────┘

Colors are the same. But in flank we don't have TEST_DETAILS filled. I don't known its ok so please tell what you think. @bootstraponline @pawelpasterz @jan-gogo

Yes, that's the question which I asked above about properly data usage

I made output table same as for GCloud ( link, single table, status color etc)
I used outcomeDetails to print TEST_DETAILS, but it is usually empty. Should I use other data to print test details? Outcome details in my opinion should be good for it

@adamfilipow92
IMO we should try to fix it but in separate issue/PR. If we want to reflect gcloud results I think there would be some refactor needed (small PR scope principle)
https://github.com/Flank/gcloud_cli/blob/cca7556cc832be02b3523c0fe86fdbdcd33078c4/google-cloud-sdk/lib/googlecloudsdk/api_lib/firebase/test/results_summary.py#L326

Should I create a task for it?

IMO we should try to fix it but in separate issue/PR. If we want to reflect gcloud results I think there would be some refactor needed (small PR scope principle)

I guess It's a good idea If you feel more comfortable with separated issue/PR

@piotradamczyk5

IMO we should try to fix it but in separate issue/PR. If we want to reflect gcloud results I think there would be some refactor needed (small PR scope principle)

I guess It's a good idea If you feel more comfortable with separated issue/PR

Created https://github.com/Flank/flank/issues/829

I agree, let's match gcloud output. Having this as a new task makes sense. https://github.com/Flank/flank/issues/829 🙂


GDS creation takes more time for 500M rectangles

Hi,
I am trying to generate GDS file with 5 layers, with each layer having 100 million rectangles.
It is taking more than 10 hours to generate and write the file.  Is is expected?
I would say most of the time is consumed in writing the gds file.
Could you please let me know how to optimize it if it is possible?
Below is my code:
GDSCELL=gdspy.Cell("Topcell")
for j in range (0, 100000000):
        x= random.randint(0,10000000)
        y= random.randint(0,10000000)
        i= random.randint(10,100)
        j= random.randint(10,100)
        GDSCELL.add(gdspy.Rectangle((x,y),((x+i),(y+j)),layer,1))
gdspy.write_gds('Test_500M.gds',unit=1.0e-9,precision=1.0e-9)

I tried generating each layer in separate thread, and write all layers in the end but performance is more or less same.

@SatyajitKautkar This is the expected behavior, unfortunately. Python has a lot of overhead in function calls, and to write the gds file in the last step we have to call the to_gds method of each polygon. Multi-threading will have little impact there. Your best bet is to move over to Gdstk. I ran a quick test on my notebook and got the following wall time results:

Module
num = 1000
10000
100000
1000000
10000000

Gdspy
0m0.247s
0m0.524s
0m3.573s
0m37.370s
5m37.081s

Gdstk
0m0.213s
0m0.253s
0m0.964s
0m6.073s
1m12.345s

Script for Gdspy:
import sys
import random
import gdspy

num = int(sys.argv[1])
gdscell = gdspy.Cell("Topcell")
for j in range(0, num):
    x = random.randint(0, 10000000)
    y = random.randint(0, 10000000)
    q = random.randint(10, 100)
    k = random.randint(10, 100)
    gdscell.add(gdspy.Rectangle((x, y), ((x + k), (y + q)), 1, 1))
gdspy.write_gds("Test_500M.gds", unit=1.0e-9, precision=1.0e-9)

and for Gdstk:
import sys
import random
import gdstk

num = int(sys.argv[1])
lib = gdstk.Library(unit=1.0e-9, precision=1.0e-9)
gdscell = lib.new_cell("Topcell")
for j in range(0, num):
    x = random.randint(0, 10000000)
    y = random.randint(0, 10000000)
    q = random.randint(10, 100)
    k = random.randint(10, 100)
    gdscell.add(gdstk.rectangle((x, y), ((x + k), (y + q)), 1, 1))
lib.write_gds("Test_500M.gds")

Thank you for the inputs. I really appreciate it.
I will try using gdstk for generating the same set of layers.


TWA-VF: Add ability to switch to different views.

The TWA-VF currently allows the specification of a starting position, this could be expanded to provide the ability to switch between multiple pre-configured positions.
This would help with large/long countries that cannot be easily viewed as a single entity. Perhaps helping @ao559x with the Chilean digital twin.

It would be amazing have a selector in the camera options to chose between different settings files.

Reset to default in cameraControls, allow this button to be a drop down with multiple named views
Update documentation
Views specified in settings.json
Css for reset to default button now as drop down

Thank you! :)

I haven´t found really how to write the settings file for different views.

This issue has been resolved in the latest iteration of the visualisation framework which was merged with #1085


NTR: amyloid-beta protein 42 homodimer complex binding

Hello,
I am currently annotating PMID: 20395454 which shows that ADRB2 P07550 binds Amyloid-beta protein 42 (homodimer) complex EBI-13943368.
https://www.ncbi.nlm.nih.gov/pubmed/20395454
http://www.uniprot.org/uniprot/P07550
https://www.ebi.ac.uk/intact/complex/details/EBI-13943368
I tried to create a reciprocal annotation using the GO term 'GO:0001540 beta-amyloid binding' but P2GO won't let me, because this term 'is not suitable for use with protein complexes'.
So I would like to request a new term:
'amyloid-beta protein 42 homodimer complex binding'
This should probably be a child of both: 'GO:0001540 beta-amyloid binding' and 'GO:0032403 protein complex binding'.
Please use the DbxRef: ARUK-UCL and GOC:bc.
Thanks,
Barbara

#13418

Similarly, could I please request a new term:
GO NTR: "cellular response to amyloid-beta protein 42 homodimer complex"
This would be a child of "GO:1904646 cellular response to beta-amyloid"
Please use the DbxRef: ARUK-UCL and GOC:bc.
Thanks,
Barbara

Hello,
Could I please request two more general terms instead:
'amyloid-beta protein complex binding'?
As well as: 'cellular response to amyloid-beta protein complex'?
GOC:aruk and GOC:bc
Thanks,
Barbara


Use .NET 9 for Nethermind source build

Preferred build environment from 1.30.0 on

Messed up the commits a little. Will need to merge the version PR first, then rebase this against it to avoid seeing the commit twice


Adjust the rules for Javadoc generation:

Overview
AdoptOpenJDK 11.0.3+ back-ported the fix which
was originally integrated into JDK 13, hence
the option is only needed on [11.0.0–11.0.2]
range.
See: https://adoptopenjdk.net/release_notes.html#jdk11_0_3

though it does not fix the problem


Fix typo in book

While reading I found a little typo in the docs and corrected it.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

@bors: r+

:pushpin: Commit 68a1f03e54af645b898f38572d256a468a6096bb has been approved by alexcrichton

:hourglass: Testing commit 68a1f03e54af645b898f38572d256a468a6096bb with merge 2c6e748aeb88eadc29a6f16d5899d9def815f01e...

:sunny: Test successful - checks-actions
Approved by: alexcrichton
Pushing 2c6e748aeb88eadc29a6f16d5899d9def815f01e to master...


How to set translations to Model for all languages

Is tere any possibility to set attribute values for different languages before save?
For example something like
$page = new \App\Page();
$page->title = ['en'=>'title', 'es'=>'title1'];
$page->save();

@ludmanp Have you found the solution for your problem? It would be great.

It seems, that the best way is to do something like
$model->title = json_encode(['en'=>'title', 'es'=>'title1']);

It is a good idea. thank you!


update: disable registrations and matches after event ends

Codecov Report

Merging #30 (db0408d) into main (e2d3dff) will decrease coverage by 0.04%.
The diff coverage is 21.95%.

@@             Coverage Diff              @@
##               main      #30      +/-   ##
============================================
- Coverage     48.79%   48.76%   -0.04%
+ Complexity      326      318       -8
============================================
  Files            87       87
  Lines          1994     2024      +30
  Branches        197      199       +2
============================================
+ Hits            973      987      +14
- Misses          959      963       +4
- Partials         62       74      +12

Impacted Files
Coverage Δ

...lin/delta/codecharacter/server/user/UserService.kt
4.58% <0.00%> (-0.08%)
:arrow_down:

...n/delta/codecharacter/server/match/MatchService.kt
36.42% <5.88%> (-0.39%)
:arrow_down:

...r/server/code/code_revision/CodeRevisionService.kt
88.88% <33.33%> (-5.06%)
:arrow_down:

...acter/server/code/latest_code/LatestCodeService.kt
82.00% <33.33%> (+7.53%)
:arrow_up:

...acter/server/code/locked_code/LockedCodeService.kt
85.36% <33.33%> (-9.38%)
:arrow_down:

...ter/server/game_map/latest_map/LatestMapService.kt
71.73% <33.33%> (-2.68%)
:arrow_down:

...ter/server/game_map/locked_map/LockedMapService.kt
80.00% <33.33%> (-10.63%)
:arrow_down:

...server/game_map/map_revision/MapRevisionService.kt
71.73% <33.33%> (-2.68%)
:arrow_down:

...er/server/daily_challenge/DailyChallengeService.kt
79.16% <50.00%> (-2.66%)
:arrow_down:

... and 1 file with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


feat: make it easy to differentiate between active and inactive tabs

Keeping both active and inactive tabs the same color makes it hard to know which tab is selected. This change remedies that.

Please note, I've merged into the codebase but I need to remember how to publish the new version to microsoft marketplace. Since I don't use it often (this is the only time I've ever used it), this may become non-trivial.


Wrong Hotkey

The menu item shows ctrl+shift+cmd+Z as hotkey. However, I've to press ctrl+shift+cmd+Y to activate the distraction free mode.

It has probably something to do with your local settings. Isn't your keyboard QWERTZ?

Yes. Well it's a custom keyboard layout, based on the U.S. layout and I swapped Z and Y.

Ah, Ok. Could you click the View menu and look up the shortcut there?

That reads ctrl+shift+cmd+Z.

I get it. How did you create the "custom layout"? Did you use Karabiner or something similar? If yes then the issue is that the system thinks you use US layout, therefore there would be Z in this place.

I used Ukelele to create a true keyboard layout. I put it in my [Dropbox](https://dl.dropboxusercontent.com/u/4701827/U_S_uki_keylayout.zip in) in case you want to try.

It's the same issue basically and I cannot help here. The system thinks you use the US layout. Closing.

Shouldn't cmd+Z to Undo be mapped wrongly then, too?

I switched to German layout for a minute (I know Y and Z are swapped there too) and I got the following behavior:

When I undo I have to click cmd+Y (it is Z in the current layout)
When I enter the distraction free mode I have to click cmd+shift+ctrl+Y (also Z in the current layout)

@sebastianludwig the important thing though is that OS X tells me to click Z (wrong). My final thesis is that it's hardware related or completely messed up. I'd suggest to file a radar. If I still don't understand something don't hesitate to explane it to me.


wiremock.server.port is not defined if port is not explicitly set or if it is set to 8080

Describe the bug
In my test I have something like:
@AutoConfigureWireMock
@SpringBootTest(properties = {"some.url=http://localhost:${wiremock.server.port}"})

With this I get an error:

Could not resolve placeholder 'wiremock.server.port' in value "http://localhost:${wiremock.server.port}"

If I explicitly set a port in @AutoConfigureWireMock(port = 8765), even 0 to randomly allocate a port, then it works - except for if I explicitly set it to 8080 (the default), then it no longer works
This used to work with Spring Boot 2.7 / Spring 5
I would expect it to set the property value to 8080 which is the WireMock default
Using version 4.0.3 of spring-cloud-contract-wiremock

Hello,
it seems that this fix lead to undesired behaviour by defaulting the server port always to 8080 after setting it once to a random port.
This block replaces the wiremock.server.port property even if it has been already set
else { 			Map<String, Object> source = getWireMockSource(environment); 			source.put("wiremock.server.port", 8080); 			if (log.isDebugEnabled()) { 				log.debug("Registered WireMock server port property to the default <8080> value"); 			} 		}
could you please be kind and have a look on this issue?
Thanks in Advance

Argh sorry. Can you open a new issue please? I guess as a workaround you should go with the dynamic approach.


'message': 'Access to requested resource is denied.',    'code': 'Unauthorized' issue

I have been getting this error for every request. I currently have a Seller Central account and I am trying to gain access to the api. I have followed the documentation provided by amazon to set up the necessary credentials, but still receive the 'Access to requested resource is denied.' error message. I have checked in on the access_token that is being generated and it matches the 'Atza|xxxxxx' format, so I do not believe that is the issue.
Additionally, I have been following the Self Authorization guidelines to get the refresh token used here, so I am unsure as to why I am getting the error.
I have searched through the issues here and under the Seller-partner-api-docs and found no solution.
from sp_api.api.orders.orders import Orders

os.environ["SP_API_REFRESH_TOKEN"] = "Atzr|xxxxxxxx"
os.environ["LWA_APP_ID"] = "amzn1.application-oa2-client.xxxxxxxx"
os.environ["LWA_CLIENT_SECRET"] = "xxxxxxxx"
os.environ["SP_API_SECRET_KEY"] = "xxxxxxxx"
os.environ["SP_API_ACCESS_KEY"] = "xxxxxxxx"
os.environ["SP_API_ROLE_ARN"] = "arn:aws:iam::xxxxxxxx:role/SellerPartnerAPIRole"
os.environ["SP_AWS_REGION"] = "us-east-1"

try:
    res = Orders().get_orders(CreatedAfter=(datetime.datetime.utcnow() - datetime.timedelta(days=7)).isoformat())
    print(res.payload)  # json data
except SellingApiException as ex:
    print(ex)

output {'Date': 'Wed, 27 Jan 2021 15:22:51 GMT', 'Content-Type': 'application/json', 'Content-Length': '141', 'Connection': 'keep-alive', 'x-amzn-RequestId': '387bf5b0-58c6-4dee-93a0-47c3da1fadc0', 'x-amzn-ErrorType': 'AccessDeniedException', 'x-amz-apigw-id': 'Z0HDvHjOoAMF0Aw='}
{'errors': [{'message': 'Access to requested resource is denied.', 'code': 'Unauthorized', 'details': ''}]}
[{'message': 'Access to requested resource is denied.', 'code': 'Unauthorized', 'details': ''}]
Any help will be greatly appreciated!

You have to set environment variables from the cli with export ... ...

You have to set environment variables from the cli with export ... ...

Hello @saleweaver
Thank you for creating this library and documentation, massively appreciated.
I'm also facing the exact same issue as @The-Geology-Guy .
I created AWS CLI Named Profile for my IAM User, connected the IAM role as per AWS documentation and exported the Named profile as env variable. But still getting response.
==> "[{'message': 'Access to requested resource is denied.', 'code': 'Unauthorized', 'details': ''}]"
What am I missing?
Best wishes,
Eric

BTW my Developer Profile was approved via email from Seller Central Support but still shows "Your developer registration is under review" under Apps & Services -> Develop Apps.
So my Application Client Status is showing "Draft". Wondering if this has anything to do with it
Kindly advise. Many thanks

Can you check if one of the credentials I've noted here is wrong? The client status is draft unless you publish the app on the mws app store, so this shouldn't be the issue here. I don't know if "Your developer registration is under review" could be the culprint, might be though.
For the moment you should start with checking the credentials from the link, try a different endpoint maybe and see if that works.
Did you register the application with the role's ARN or the user's ARN?

I encountered the same error. The solution for me was to switch to the correct Marketplace in the client. I tried calling the DE marketplace but default in the client is the US marketplace. So if you have registered your app to another marketplace than US then you have to edit the client. At least that worked for me.
Also thanks for this great wrapper btw Michael!

@t-wittkopf Thanks for this addition, that's a good hint! Would you mind to add this as an answer to the FAQ please

@saleweaver done!

Danke dir!

from sp_api.api.orders import orders from sp_api.base import  SellingApiException from datetime import datetime,timedelta #from time import datetime,timedelta credentials=dict(         refresh_token='Atzr|IwEBID4iuveBq95IlPBzGRq2KK3PhWUWAC5HQ7Wj9-dsIz4lKqfI-0IP5dSoojHbV3fZg8TuwCqCOVgSexu9r16iQON8tRAydx5RPGPMd-sYHV0Z__G2YtN6rja3eYCksRIo2Zc4DfEsBSViQhp4mUchLyqrAb2vvCgCyYeftKl6Adwtycc7R7REhbQdz2KjUa0IcFNwne2b-SoWOZnaYBhh2hohFsoCoWHvOMbhKNPmi4L7Nl8joMTlgY2tdZffo50Rb_izOxNZ0DrfKDuYmaKbF_FOIVW5ppYLbH1KaVVnABL-0wkBD7i2fxh_Qp4rFIqOC5w',         lwa_app_id='amznx.application-oax-clientxxbxae94d0eexxfef85b2bxxaxxxxfcfx',         lwa_client_secret='exbxfadbxcaxaxxxxxxxcxxxxxcxbc4ee9eeed066080ab587e3356e82c1cd244',         aws_secret_key='Yx9xGxApxxxx9qNxxxMx3bMSxxxxxjlRkpoxxf',         aws_access_key='AKIAUWGxANxxxxxAEHRJK',         role_arn='arn:aws:iam::32252942xxxx:role/SellingPartnerRole2',         #aws_region='ap-south-1',     ) try:     res=orders.Orders(credentials=credentials).get_orders(CreatedAfter=(datetime.utcnow() - timedelta(days=7)).isoformat())     print(res.payload) except SellingApiException as ex:     print(ex)
i am putting all of the credentials correctly from the seller center but i am getting this arror
[{'message': 'Access to requested resource is denied.', 'code': 'Unauthorized', 'details': ''}]
can u please tell me where i am doing thinks worng?

@ritik-novostack Did the proposed solutions above and in the FAQ not work for you?

@saleweaver where to put market place credentials?

@ritik-novostack Here's the client usage explained, just pass it as a parameter:
https://python-amazon-sp-api.readthedocs.io/en/latest/client_usage/

orders.Orders(credentials=credentials).get_orders(CreatedAfter=(datetime.utcnow() - timedelta(days=7)).isoformat())
can u please tell me where to put this parameter in above code?

@ritik-novostack
Orders(marketplace=Marketplaces.<Your marketplace>, credentials=credentials )

@saleweaver  still getting the same error
[{'message': 'Access to requested resource is denied.', 'code': 'Unauthorized', 'details': ''}]

@ritik-novostack Then you'll have to check your credentials and your app's permissions.

@ritik-novostack have you maybe used the App ID instead of the LWA Client identifier as value for the credentials lwa_app_id parameter? It's a bit confusing. You can find the LWA Client in your selllercentral when  clicking on View under LWA Credentials.

@t-wittkopf It has to be the LWA client id, the one they have looks correct. It's pretty hard to debug since amazon doesn't return any helpful error descriptions...

@t-wittkopf @saleweaver  i am putting the LWA client id in lwa_app_id can u please help me in figuring out the app setting that to be change?

@ritik-novostack Your settings seem to be correct, at least where you put which value. Your credentials look like you've tried to create at least the role multiple times; to figure out if there's a problem with permissions, or if your app registration in sellercentral is correct, I'd need more information. Maybe just try to start from scratch and create a set of new user, role, ... as in Amazon's docs, create a new app and try with that. It's very important to follow the guide closely.

@saleweaver  i have already registered 2 app in sellercentral by following there sp api guide closely.
please tell me which information u want from me to correctly configure the sp api?

@saleweaver  man can u please help me regrading this issue because i am helpless right now?

@ritik-novostack what are you struggling with? Have you set the 6 credentials correctly? Have you passed marketplace parameter in the client like this?
res = Sales(marketplace=Marketplaces.GB).get_order_metrics(marketplaceIds=["A1F83G8C2ARO7P"],
                                                               interval=(start_time, end_time),
                                                               granularity=Granularity.TOTAL)

@sdaeric19 They have set them all, yes. Either they are calling an endpoint they don't have permissions to call, or they are using wrong credentials or they are mixed up.
@ritik-novostack Please provide the information I've asked for yesterday and try the steps I recommended yesterday, then we can look into this further.

@sdaeric19 @saleweaver
sir which information u need for this please tell me?

I'll have more time tonight, I can take a look into this then. For the start, please generate a new refresh token and see if that works. Then try the usual debugging steps, changing one key a time and look what happens

@ritik-novostack  How does an empty form help? I'm happy to help you, but you'll need to try at least one of the recommendations.

just to be clear it is not necessary to full fill this details in app to access the sp-api?

@saleweaver sir each time when i request the api i put new refresh token

@ritik-novostack Did recreating the token help?

@saleweaver in aws setting?

@saleweaver @sdaeric19  thank you soo much for your support i solve it
now can u please help me in uploading the feed data using the sp api. i mean what is the text file format to put data in submit_feed function? can u please put an example text file of that?
this will really helpful for me thankyou

Hi, I'm also facing the same issue. can someone please me to fix it.
I could retrieve the same data from Postman without any access issue. Can someone help me where I'm going wrong.
from sp_api.api import Sales
from sp_api.base import Granularity
from sp_api.api import Orders
credentials=dict(
refresh_token = SP_REFRESH_TOKEN,
lwa_app_id = SP_CLIENT_ID,
lwa_client_secret = SP_CLIENT_SECRET,
aws_secret_key = SP_SECRET_KEY,
aws_access_key = SP_ACCESS_KEY,
role_arn = role_arn
)
interval=("2022-03-22T00:00:00-07:00", "2022-03-23T00:00:00-07:00"),
response = Sales(credentials=credentials,marketplace=Marketplaces.US).get_order_metrics(interval, Granularity.TOTAL, granularityTimeZone='US/Central')
Error:


add nonconservative MHD boundary conditions to DGMulti

This PR enables for IdealGlmMhdEquations2D the following: BoundaryConditionDirichlet, BoundaryConditionDoNothing, and a custom slip wall type boundary condition which is defined within the elixir examples/dgmulti_2d/elixir_mhd_reflective_BCs.jl.
IMO there are a few design issues still (see my initial review below).

Thanks! Still running into some bugs though.

How can I test this? Right now I get
ERROR: LoadError: UndefVarError: dot not defined
Stacktrace:
     [1] boundary_condition_velocity_slip_wall(u_inner::SVector{9, Float64}, normal_direction::SVector{2, Float64}, x::SVector{2, Float64}, t::Float64, surface_flux_function::FluxLaxFriedrichs{typeof(max_abs_speed_naive)}, equations::IdealGlmMhdEquations2D{Float64})
       @ Main /mnt/ssd/home/mschlott/hackathon/jc-Trixi.jl/examples/dgmulti_2d/elixir_mhd_reflective_BCs.jl:60
     [2] calc_single_boundary_flux!(cache::NamedTuple{(:md, :Qrst_skew, :dxidxhatj, :invJ, :lift_scalings, :inv_wq, :u_values, :u_face_values, :flux_face_values, :local_values_threaded, :fluxdiff_local_threaded), Tuple{StartUpDG.MeshData{2, StartUpDG.VertexMappedMesh{Quad, Tuple{Vector{Float64}, Vector{Float64}}, …}, …}, Tuple{LinearAlgebra.Adjoint{Float64, SparseArrays.SparseMatrixCSC{Float64, Int64}}, LinearAlgebra.Adjoint{Float64, SparseArrays.SparseMatrixCSC{Float64, Int64}}}, …}}, t::Float64, boundary_condition::typeof(boundary_condition_velocity_slip_wall), boundary_key::Symbol, have_nonconservative_terms::Static.True, mesh::DGMultiMesh{2, Trixi.Affine, …}, equations::IdealGlmMhdEquations2D{Float64}, dg::DGMulti{2, Quad, SBP{StartUpDG.TensorProductLobatto}, SurfaceIntegralWeakForm{Tuple{FluxLaxFriedrichs{typeof(max_abs_speed_naive)}, typeof(flux_nonconservative_powell)}}, VolumeIntegralFluxDifferencing{Tuple{typeof(flux_hindenlang_gassner), typeof(flux_nonconservative_powell)}}, Nothing, StartUpDG.RefElemData{2, Quad, …}})

       @ DiffEqBase ~/.julia/packages/DiffEqBase/ZXMKG/src/solve.jl:881
    [22] top-level scope
       @ /mnt/ssd/home/mschlott/hackathon/jc-Trixi.jl/examples/dgmulti_2d/elixir_mhd_reflective_BCs.jl:98
    [23] include
       @ ./Base.jl:420 [inlined]
    [24] trixi_include(mod::Module, elixir::String; kwargs::Base.Pairs{Symbol, Union{}, …})
       @ Trixi /mnt/ssd/home/mschlott/hackathon/jc-Trixi.jl/src/auxiliary/special_elixirs.jl:43
    [25] trixi_include
       @ /mnt/ssd/home/mschlott/hackathon/jc-Trixi.jl/src/auxiliary/special_elixirs.jl:38 [inlined]
    [26] #trixi_include#1297
       @ /mnt/ssd/home/mschlott/hackathon/jc-Trixi.jl/src/auxiliary/special_elixirs.jl:46 [inlined]
    [27] trixi_include(elixir::String)
       @ Trixi /mnt/ssd/home/mschlott/hackathon/jc-Trixi.jl/src/auxiliary/special_elixirs.jl:46
Use `err` to retrieve the full stack trace.
in expression starting at /mnt/ssd/home/mschlott/hackathon/jc-Trixi.jl/examples/dgmulti_2d/elixir_mhd_reflective_BCs.jl:98

when trying to run the examples/dgmulti_2d/elixir_mhd_reflective_BCs.jl elixir.

Sorry, I forgot to import some routines from LinearAlgebra.jl. They are loaded by default in my startup.jl file, so the error didn't show up locally.

@ranocha I think for consistency it would be best to mimic the behavior of the other unstructured solvers. It would resolve both open conversations too. I'll add this now.

Filed an issue for implementing BCs on non-conservative terms. https://github.com/trixi-framework/Trixi.jl/issues/1445

@ranocha @sloede is the failure of MPI on Ubuntu spurious? The stacktrace is
WARNING: replacing module TrixiTestModule.
[ Info: Testset elixir_advection_amr.jl finished in 87.166008962 seconds.

Please see the FAQ page for debugging suggestions
Error: The operation was canceled.

@ranocha @sloede is the failure of MPI on Ubuntu spurious? The stacktrace is
WARNING: replacing module TrixiTestModule.
[ Info: Testset elixir_advection_amr.jl finished in 87.166008962 seconds.

Please see the FAQ page for debugging suggestions
Error: The operation was canceled.

No, it was already noted by @ranocha here: https://github.com/trixi-framework/Trixi.jl/pull/1316#issuecomment-1543851613
This seems to be either a CI bug or an upstream bug.

Thanks! Is it OK to merge this then?

I'd like to see coverage... let's give it one more try (maybe issues on https://www.githubstatus.com/ might b related?)

@ranocha @sloede the checks have passed. would this be OK to merge?

I'm ok with merging this content-wise, but is out coverage system broken? I haven't looked at it for a while, but now I see that we are <95% (we were at 97%, weren't we), but when looking at e.g. coveralls, everything seems to be untested in one particular file - that can't be right, can it?
https://coveralls.io/builds/59916995/source?filename=src%2Fsolvers%2Fdgmulti%2Fflux_differencing_gauss_sbp.jl#L64

CI has been broken for some reasons and I'm not sure whether we can trust it here. I propose to merge this now and check the coverage on main.


[Torii-core] Handle entity deletion events properly

Currently, Torii is not deleting entities from internal db when a corresponding deletion event takes place onchain.

[ ] Implement processor to handle StoreDelRecord events that are generated from the world.
https://github.com/dojoengine/dojo/tree/main/crates/torii/core/src/processors

[ ] Delete db records from entities tables and all related model data from tables
https://github.com/dojoengine/dojo/blob/e599968f85f75e879346a789ae4d33ca8f590987/crates/torii/core/src/sql.rs#L152

I would like to try this one


Make secrets at cluster startup.

@ArtfulCoder

Whatever you're trying to do with that script, it needs to go in kube-addons instead, because I'm going to bounce out anything that's at the tail of kube-up.sh. (I guess I need to get around to publishing the GKE manifesto, but #3579 is part of it.) Also, if you're generating variables like this, it'll require GKE side changes, too, so we need to talk.

Is it a kube-addon if it is an absolutely essential component of a k8s cluster?

Good question on naming, but the original intent of having it created on the master still holds. I was originally thinking of calling these things "system objects" and not "addon objects", so maybe this would precipitate that change.

@ArtfulCoder
The pod json/yaml for the scheduler and the controller-manager should go into, say:
cluster/addons/scheduler and cluster/addons/controller-manager.
Then near the top of cluster/saltbase/salt/kube-addons/init.sls, add a file.recurse to copy those files to the master via salt.  Make it unconditional.
I don't believe that any change is needed in cluster/saltbase/salt/kube-addons/kube-addons.sh.
Right now, there is no ordering between the different addon objects.  This should still "just work".  That is, create all the object in any order.  Without a scheduler, none of the objects will start except the scheduler, which has a Host field set.  Without a controller-manager, none of the replication controllers will run, until it does.  Then they should just work.  Etc.
@zmerlynn tell me if above is correct.

That leave the question of the Token env vars.
How about the following:

don't create the SCHEDULER_TOKEN env var as I did in this step.  Instead, at the top of kube-addons.sh, before the addons get added, we create "secret" objects for all needed tokens, by grepping the tokens out of the known_tokens.csv file.

Maybe:
The question is how to get the variables we need (tokens) from kube-up to kube-addons.

Option 1: In the `kube-addons.sh` script, read the tokens from the `known_tokens.csv` file, and then create secret objects for each one.  Pros: less plumbing.  Cons: requires full filesystem access for the `kube-addons.sh script.  I think it has this

Option 2: Actually generates the tokens in kube-addons.sh script, and append them to `known_tokens.csv` at that point.  Pros: less shipping-around of secrets.  Cons: Have to restart apiserver to pick up the new tokens.

The part where you're adding the env variable and generation of the token to kube-up.sh is fine. I'd actually prefer keeping that out of kube-addons.sh.
Why do you need two more tokens, btw?

I want each system component to have its own identity so each component can have only the privileges it needs.

@zmerlynn I've moved most of my changes into kube-addons.sh
@ArtfulCoder you can use these secrets to authorize scheduler and replication controller.
@vishh you can use these secrets to authorize monitoring pods that need to talk to the apiserver.

A step to fixing #5921

This looks like it should work and actually require no GKE side changes.

@erictune: Ack. I will update heapster as soon as this PR is merged.

@zmerlynn would you mind reviewing?

Happy to.

@liggitt This seems relevant to your interests

I did my best to channel @filbranden. The actual code LGTM, it's just style nits.

Needs rebase onto https://github.com/GoogleCloudPlatform/kubernetes/pull/6384

Okay, rebased.  Testing.

Okay, kube-up.sh works, and expected addons and new secrets are created.

LGTM.

Thanks.


Fixed custom features for condgen

Fixes custom features for conditional generation and possibly other tasks as well.

Oh gotcha, it was easy enough to add a test so I did it now, thanks. I also bumped the version and will merge when tests pass.


Support SOCI snapshotter

https://github.com/awslabs/soci-snapshotter

I'm interested about this feature, maybe I can make a try(

@Zheaoli I'd like to work on this if you haven't started :)

@Zheaoli I'd like to work on this if you haven't started :)

Sorry about this，I have worked on it already ：）

np :) let me know if you need a review when the PR is out and I'd like to learn more about it

@AkihiroSuda Do you think we can just package SOCI in nerdctl-full at the same time of supporting soci pull and run? SOCI is around 20MB now. https://github.com/awslabs/soci-snapshotter/releases

@AkihiroSuda  Hi, I'm working on #2347 to support soci in pull and run. I'm also wondering if SOCI could be packaged in nerdctl-full.

@AkihiroSuda Do you think we can just package SOCI in nerdctl-full at the same time of supporting soci pull and run? SOCI is around 20MB now. https://github.com/awslabs/soci-snapshotter/releases

I fear that we will end up including every third party snapshotter in the nerdctl-full bundle, so I'm not inclined to do that.
This is still negotiable, but if we are going to including SOCI (and other snapshotters) in the nerdctl-full bundle, probably we should rename the current nerdctl-full to something like nerdctl-large.
Lima will use nerdctl-large by default, but Finch may use the new nerdctl-full by default.

@AkihiroSuda Sounds good. For the current change., we will just exclude SOCI from nerdctl distribution.
I think other dependencies like Cosign, Notation are in the same situation.
In the future, we can potentially include them in nerdctl-full and keep current one as nerdctl-large or nerdctl-core.
Letting downstream manage the dependencies by themselves is also not bad. (Package their own nerdctl tar and overwrite in Lima local archive) This can offload the logic of nerdctl distribution.

@AkihiroSuda Should we resolve the issue?


Compatibility with preact

Hello,
I was trying to use the loader with preact (bundling with webpack) and here's what I've found for other interested people.
I used following webpack conf:
 rules: [
   ...
   {
      test: /\.svg$/,
      loader: 'react-svg-loader',
    }
  ]

Outside of the box, the module does not work with preact because of a hard dependency on react.
When trying to compile the app, there's an error like this:
ERROR in ./app/icons/XXX.svg (./node_modules/react-svg-loader/lib/loader.js!./app/icons/XXX.svg) Module not found: Error: Can't resolve 'react' in 'C:\git\<repo>\app\icons\'

I managed to fix it by installing preact-compat and aliasing it as react in webpack config:
{
  ...
  resolve: {
    ...
    alias: {
      react: 'preact-compat',
  }
}

This works but is not ideal, as preact-compat is 13kB (5 kB gzipped) which seems wasteful because the only thing necessary for the module to work is React.createElement which should be generally what preact.h does.
I will try to find out if there's some way to have a build-time replacement of this instead of runtime dependency on preact-compat. If anyone knows how to do it, please let me know.

Alright so for the future visitors, I managed to make this loader compatible with preact v8 without using preact-compat as follows:

webpack config:

  return {
    rules: [
      {
        test: /\.svg$/,
        use: [
          // note the loaders are applied in reverse order!
          // 2. Basically copied the existing babel config for JSX files
          {
            loader: 'babel-loader',
            options: {
              presets: [['env', presetEnvLegacySettings]],
              plugins: [
                  ['transform-object-rest-spread', { useBuiltIns: true }],
                  ['transform-react-jsx', { pragma: 'h' }],
              ]
            },
          },
          {
            loader: 'react-svg-loader',
            options: {
              jsx: true,
            },
          },
        ],
      },

Modify react-svg-core:

https://github.com/boopathi/react-svg-loader/blob/fa8b061f7378658b6bb5ee108589e497d56971a9/packages/react-svg-core/src/index.ts#L23-L25
-    presets: [jsx ? void 0 : "@babel/preset-react"].filter(Boolean),
+    presets: jsx ? void 0 : [["@babel/preset-react", {pragma: 'h'}]],

Modify babel-plugin-react-svg:

https://github.com/boopathi/react-svg-loader/blob/fa8b061f7378658b6bb5ee108589e497d56971a9/packages/babel-plugin-react-svg/src/index.ts#L152-L155
-      path.node.body.unshift(t.importDeclaration([t.importDefaultSpecifier(t.identifier("React"))], t.stringLiteral("react")));
+      path.node.body.unshift(t.importDeclaration([t.importSpecifier(t.identifier("h"), t.identifier("h"))], t.stringLiteral("preact")));


Job#response should be a Buffer, not a string

Additionaly there should be method for conversion to string according to job's encoding.

released in 0.2.0


DA leader implementation

Logic just for the DA Leader to send out proposal and to collect votes on them
Depends on: PR: 851
Closes: #714

I had some comments about checking the block/leaf commitment and view number. Those comments in next_leader.rs should perhaps be addressed in my PR #851 since you were just rebasing on it and didn't change anything.
Let me update that file in my PR.

Actually, no, I'll open another PR to fix the commitment and view number in next_leader.rs. Don't want to make merging too complicated. 😄


[Icon Request] Support for plist

[x] I'm sure this issue is not a duplicate.

[x] I'm submitting an icon request:

Type: extension
Icon Name: plist
Sample original Icon: X Code uses a generic file icon with a 4 cell "grid" on it. Example:
Extensions: .plist

More info:
Property list file (basically a manifest) from Apple. Commonly used in iOS apps, macOS apps, Safari extensions, etc. It's just an XML file with a .plist extension. Example: https://github.com/bitwarden/browser/blob/master/src/safari/Info.plist

@vscode-icons/development I believe this could be associated to the config icon. Thoughts?

Yeah, good idea.

@robertohuertasm Your opinion?

I left a +1 reaction so I'm OK with it. :wink:

Apologies. Totally slipped me by.

Oh, no problem at all! I would have probably miss it myself!


Document.registerElement() doesn't work

Consider the following code
import "dart:html";

class Foo extends HtmlElement {
  Foo.created() : super.created()
}

main() {
  var tag = 'x-foo';
  document.registerElement(tag, Foo);
}

Output is
js_helper.dart:1129 Uncaught TypeError: null: type 'JSNull' is not a subtype of type 'String'
    at Object.wrapException (js_helper.dart:1129)
    at Object._asString (rti.dart:1219)
    at Object.main (html_dart2js.dart:40141)
    at js_helper.dart:2677
    at js_helper.dart:2677
    at dartProgram (js_helper.dart:2677)
    at js_helper.dart:2677
wrapException @ js_helper.dart:1129
_asString @ rti.dart:1219
main @ html_dart2js.dart:40141
(anonymous) @ js_helper.dart:2677
(anonymous) @ js_helper.dart:2677
dartProgram @ js_helper.dart:2677
(anonymous) @ js_helper.dart:2677

Is this a bug in dart2js or I'm doing anything wrong?
Dart SDK version: 2.10.0-59.0.dev (dev) (Tue Aug 25 18:05:44 2020 -0700) on "windows_x64"

There happen to be two issues at hand:

custom elements has evolved. This the old (v0.5) API that was removed from browsers so it wont work anymore. We need to do some clean up to remove it, though. This code fails in weak mode for this reason.
In addition, a local variable in this code is inferred as String, but should be String? (see https://dart-review.googlesource.com/c/sdk/+/164641/1). This code fails in strong mode for this reason. The CL above will make the failures consistent.

We're going to deprecate this API.


Fix unpacking of msdf markup params

At the moment, unpacking function of text markup parameters isn't the exact inverse of packing, especially on shadow offset.
Simple example of the issue is to keep default settings for shadow (ie. white text with a black shadow at an offset of (0, 0)) and toggling markup without actually using any tag. It gives something like this (slightly visible on black background, obvious on white blackground):

This is because an offset of (0, 0) is packed as 127 + 127 * 256 = 32639 but unpacked as ((32639 % 256) / 256 * 2 - 1, (32639 / 256 / 256) * 2 - 1) = (-0.008, -0.004).
This corrected function gives the expected rendering:

Color unpacking error is barely visible but comes from the same kind of difference (packed by multiplying by 255, unpacked by dividing by 256).

Is it related to this issue? https://github.com/playcanvas/engine/issues/4595

Indeed, forgot to check if this was reported.

That's an awesome find, thank you!

@slimbuck @mvaligursky @GSterbrant Would you be able to check the PR please?


SAK-41240 Confusing description in instructions of markup text

We think that "Multiple Correct Answer" is not a valid question type. Question type valid is "Multiple Choice" with single or multiple correct.
Screenshots similar than JIRA
Used in

Question types


OAS: /v1/update-operation-key requires old-operation-key

Describe the bug
Operation /v1/update-operation-key of each application requires body like:

new-operation-key
old-operation-key
operation-uuid

but OKM sends only:

new-operation-key
operation-uuid

since it does not know (store) old operation key for every operation.
Solution and/or next step(s)
Operation /v1/update-operation-key should require body with:

new-operation-key
operation-uuid

The /v1/update-operation-key :: old-operation-key attribute must be deleted, because OperationKeyManagement application cannot know its value.
It must be removed with the next release of the specification

It is already fixed in the latest ApplicationPattern specification 1.0.0_spec.
If the /v1/update-operation-key :: old-operation-key attribute would still be contained in the ApplicationPattern implementation, which is base of the OKM, this would mean that the ApplicationPattern specification has been changed after it became base of the latest implementation.
This is not ideal in regards of version management, but we are on our way to improve.
Anyway, this issue could be closed.


Fix thread pool leak in optimize

Adds shutting down the thread pool after we're done with it in an optimize job. This is particularly important right now before incremental optimization is implemented, since manual batching will create and leave around a new thread pool per batch.

Haven't been able to get https://github.com/delta-io/delta/pull/979 working the way I wanted, so figured I'd create a separate PR to address one of the issues I've seen so far


Error: "expected a non-empty string in .status.artifact.url"

Following #344, I recreated the GitRepository and Stack.  This time I got many instances of this in logs:
{"level":"error","ts":"2022-10-19T04:41:14.857Z","logger":"controller_stack","msg":"Failed to update Stack","Request.Namespace":"default","Request.Name":"basic-c7099c01","Stack.Name":"lukehoban/basic/docker-desktop","error":"expected a non-empty string in .status.artifact.url","stacktrace":"github.com/pulumi/pulumi-kubernetes-operator/pkg/controller/stack.(*ReconcileStack).Reconcile\n\t/home/runner/work/pulumi-kubernetes-operator/pulumi-kubernetes-operator/pkg/controller/stack/stack_controller.go:345\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.9.0/pkg/internal/controller/controller.go:298\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.9.0/pkg/internal/controller/controller.go:253\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.9.0/pkg/internal/controller/controller.go:214"}

I can see the artifact url is present (at least after I checked):
status:
  artifact:
    checksum: f8fe96008820b8f01e04d3a6fcf9611366dc4413c9c23953fc536d9b8eef9e0a
    lastUpdateTime: "2022-10-19T04:41:14Z"
    path: gitrepository/default/pko-dev-625ef86f/421a9b36cf29f2a3e433018d1959edb63e7af8eb.tar.gz
    revision: main/421a9b36cf29f2a3e433018d1959edb63e7af8eb
    size: 778
    url: http://source-controller.flux-system.svc.cluster.local./gitrepository/default/pko-dev-625ef86f/421a9b36cf29f2a3e433018d1959edb63e7af8eb.tar.gz
  conditions:
  - lastTransitionTime: "2022-10-19T04:41:14Z"
    message: stored artifact for revision 'main/421a9b36cf29f2a3e433018d1959edb63e7af8eb'
    observedGeneration: 1
    reason: Succeeded
    status: "True"
    type: Ready
  - lastTransitionTime: "2022-10-19T04:41:14Z"
    message: stored artifact for revision 'main/421a9b36cf29f2a3e433018d1959edb63e7af8eb'
    observedGeneration: 1
    reason: Succeeded
    status: "True"
    type: ArtifactInStorage
  contentConfigChecksum: sha256:fcbcf165908dd18a9e49f7ff27810176db8e9f63b4352213741664245224f8aa
  observedGeneration: 1
  url: http://source-controller.flux-system.svc.cluster.local./gitrepository/default/pko-dev-625ef86f/latest.tar.gz

OK I see. It'll probably bounce off a new source a few times (quickly, but with a backoff), while the source-controller is fetching the artifact. The stack controller checks to see whether the resource is explicitly marked as not ready; but, it can't assume anything while the source has no indication of being ready or not, which will be the case until the source controller has processed it at least once.
This would be improved by fixing the Flux source part of #343, because the stack controller would rely on the watch to tell it when the source has changed, rather than retry-with-backoff. In the meantime, we can reduce logs coming from unready sources by requeuing at a fixed period (with the disadvantages that entails).

Resolved with #348 (watch Flux sources, rather than polling them) and #359 (explicitly check sources for an artifact and wait for a change if there isn't one).


replacement js to css

replace function .block()

wp_add_inline_style( $handle, $data );
$handle - name for css.
beGateway to have no own styles, what name to use?

Use begateway namespace for it


Made all locations outputted by GithubDiscoveryProcessor optional

Hey, I just made a Pull Request!
Fixes #4730.

This avoids errors when specifying locations as https://github.com/backstage/*mkdocs/blob/master/catalog.yaml where not all repositories actually contain a file named catalog.yaml, which is ok from the user's perspective - but currently throws an error.
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)

Tugboat has finished building the preview for this pull request!
Link:

https://pr4737-xxbtn27mee4l3ksun0nyffzwfshepha6.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603c961ffcb22d9645634b91

Tugboat has finished building the preview for this pull request!
Link:

https://pr4737-xxbtn27mee4l3ksun0nyffzwfshepha6.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603c961ffcb22d9645634b91

Tugboat has finished building the preview for this pull request!
Link:

https://pr4737-xxbtn27mee4l3ksun0nyffzwfshepha6.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603c961ffcb22d9645634b91


Mr

Name
Ojas Singh
Discord Username (if applicable)
Ojas#7820
Twiiter username (if applicable)
_Singh_Ojas
Additional Context
Found about the collab community on twitter. And hoping to meet and collab with new and awesome developers from across world.

Please wait for a day as GitHub has restricted us from sending invites, as we have send 50+ invites today itself, sorry for the inconvenience. In the meanwhile, you can create your journey in Journey Book

-- Hey ojas , we have sent you an invitation
-- kindly check it out
-- We are happy to onboard you in our community 😄


.gitignore : backend/static folder is missing

The backend/static folder is generated during the build. To keep a clean environment, it should be added to the .gitignore file

Thanks @laurent-simon 😄


[MySQL] Export Task (dbdb) to new table fails when query is used as a source

System information:

Operating system (distribution) and version Win10
DBeaver version 7.2.0

Connection specification:

Database name and version MySQL

Describe the problem you're observing:
Export Task to new table fails when query is used as a source
Steps to reproduce, if exist:

Create an export task (e.g. select * from sakila.store) to new table where a valid query is used as a source
Run it

Expected: the data from query is exported
Actual result: error SQL expression is wrong appears

Cannot be reproduced anymore


How can I enable systemd in WSL 2 system distro?

I have a problem with WSL 2. If I start it from Windows task scheduler, weston in the WSL 2 system distro
starts crashing once per second WSL Github issue report
I tested with
C:\>wsl --system
# chmod 000 /usr/bin/weston

and that helped with weston crashing. But the change was erased during Windows boot.
So is there some way to run scheduled jobs in the WSL 2 system distro which is CBL Mariner?

What is called the system distro in WSL it's a read only container that provides audio and graphics services to other WSL containers, distros that a  user actually uses. You can enable systemd on a WSL distro by adding systemd = enabled to /etc/wsl.conf

I'm having strange problems with programs running in WSL 2 and I'd like to get rid of weston crashing in
the system distro. Is there any way I could do it?

@aki-k, this isn't the place to ask such questions.

Ok weston isn't crashing any more with WSL 2


No discovery after installation RN-webview

Bug description:

To Reproduce:

Expected behavior:

Screenshots/Videos:

Environment:

OS:no
OS version:no
react-native version:0.70.3
react-native-webview version:^11.0.1

Bug description:
To Reproduce:
Expected behavior:
Screenshots/Videos:
Environment:

OS:no
OS version:no
react-native version:0.70.3
react-native-webview version:^11.0.1


Not able to send message - [Unhandled promise rejection: TypeError: undefined is not an object (evaluating 'this.Transport.prototype')]

Hi,
I am trying to send message through connectycube javascript sdk for react native. And I am getting the following error -
[Unhandled promise rejection: TypeError: undefined is not an object (evaluating 'this.Transport.prototype')] at

node_modules/react-native-connectycube/lib/messaging/cubeChat.js:306:19 in ChatService#send.

My code -
let toSendMessage = {
      type: "chat",
      body: message[0].text,
      extension: {
        save_to_history: 1,
        dialog_id: targetUserDetails.dialogId,
        date_sent: new Date().getTime(),
      },
      markable: 1,
    };

    const msgId = await ConnectyCube.chat.send(
      targetUserDetails.id,
      toSendMessage
    );

Requesting to please help. Possibly asap due to time sensitivity.

Make sure you performed chat connect in order to send messages
https://developers.connectycube.com/js/messaging?id=connect-to-chat

Ok, will try that out and let you know. Thanks

It's working. Thanks.


Move Options.coverage to ProjectWorkspace.collectCoverage

Summary
For IDE plugins like vscode-jest it is much easier to modify the coverage flag as part of the ProjectWorkspace than via the Options, since it is more likely a setting controlled by the user like pathToConfig but not a fixed run parameter like noColor or shell.
Since the code hasn't reached npm yet, I would therefore propose moving the coverage flag to the ProjectWorkspace (and while doing so rename it to be more expressive).
Test plan
Use the existing tests

mind fixing the linting error in the changelog? yarn prettylint CHANGELOG.md --fix (or yarn lint:md) should do it 🙁

Codecov Report

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

@@            Coverage Diff             @@
##           master    #5929      +/-   ##
==========================================
+ Coverage   64.39%   64.39%   +<.01%
==========================================
  Files         217      217
  Lines        8273     8274       +1
  Branches        3        4       +1
==========================================
+ Hits         5327     5328       +1
  Misses       2945     2945
  Partials        1        1

Impacted Files
Coverage Δ

packages/jest-editor-support/src/types.js
100% <ø> (ø)
:arrow_up:

...kages/jest-editor-support/src/project_workspace.js
85.71% <ø> (+2.38%)
:arrow_up:

packages/jest-editor-support/src/Runner.js
71.73% <ø> (ø)
: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 1eb02fd...9d81de7. Read the comment docs.

Oh sorry, I thought that running yarn lint would also lint the Markdown files.
Does this PR make sense or is this just an issue with the implementation in vscode-jest?

I have no idea, I've never touched the editor part of the codebase.
/cc @orta

Sure, this seems fine to me - yeah 👍


Create inventory toggle button

The inventory should have a button which can be used to open and close the inventory, as mentioned by @StraToN in #123.
It should be possible to configure whether or not to toggle the inventory by clicking the button or having it open the inventory by hovering the mouse. The latter case can also be used to open the inventory with a button without a texture if a developer wants a mouse aware area at the bottom of the screen, which opens the inventory when the cursor enters this area. In that case, the inventory should probably also close when the cursor leaves, unless an item has been selected.

What is this in hud.gd? lines 10-19
func inv_toggle():
	#get_node("inventory").toggle()
	pass

func _on_inv_toggle_vis_chaged():
	if (get_node("inv_toggle").is_hidden()):
		get_node("buttons").hide()
	else:
		get_node("buttons").show()

Where in the world is the node "buttons" coming from? It's not in the base scene. Was there a node for inventory called buttons at one point? It seems like unneeded code.

My guess is it's the remains of some of the same stuff that was removed in #70. It can most likely be safely removed.

This is part of UI design, which has to be developed by gamedev. Escoria will provide API calls to fill the inventory and send according signals when clicking on inventory items, but showing/hiding the inventory is not Escoria's task.


Downcase email before validations

Getting an ActiveRecord::RecordNotUnique error when I do this.
User.create(:email =><EMAIL_ADDRESS>:password => "test123")
User.create(:email =><EMAIL_ADDRESS>:password => "test123") # throws exception

Instead, validation should fail the second time.
Quick fix On line 25 of lib/devise/models/database_authenticatable.rb, this line
before_save :downcase_keys

should be replaced with
before_validation :downcase_keys

Note: this fix (replacing before_save with before_validation) prevents the downcasing of the email to be done when we skip the validation (and explains why we have duplicate emails in a DB, e.g<EMAIL_ADDRESS>and<EMAIL_ADDRESS>e.g.

user.save! <-- the email is downcased
user.save(validate: false) <-- the email is not downcased
user.update_attribute(:email<EMAIL_ADDRESS><-- the email is not downcased (because update_attribute skips validation)


the map in z always drift

when i build the map , during sometime, the map has big drift in z axis. I don’t know how to solve this problem, I kindly ask for your help

I also experienced this same issue. Were you able to solve it?


Update dependencies

This PR updates all dependencies except for serde and nalgbra because I did not feel totally comfortable in my skills to properly fix all the breaking changes that they introduced in serde v1.0 and nalgbra v0.11.
The testbed dependencies hadn't been updated in quite a while so there had been quite a number of breaking changes in the Piston libraries since the last update that required the testbed code to change quite a bit.

@Bastacyclop, I have switched back over to using matches for input detection and responded to your question about delta time. Let me know if you want any more changes or if you want me to squash my commits together with a rebase.


testing with jadx 0.9.0

testing with new version

Codecov Report

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

@@           Coverage Diff           @@
##           master     #649   +/-   ##
=======================================
  Coverage   71.84%   71.84%
=======================================
  Files          49       49
  Lines       15814    15814
=======================================
  Hits        11361    11361
  Misses       4453     4453

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 79c4f75...f35820b. Read the comment docs.


Getting error 'not_allowed' when trying to getCertificate.

When trying to call this function I see this error.
Any ideas?

import { hwcrypto } from '../hwcrypto/hwcrypto';

const signEstonianIdCard = (offerId: string) => {
    hwcrypto.getCertificate({ lang: 'en' }).then(function (certificate) {
      const hash = hexToPem(certificate.hex);
      hwcrypto
        .sign(certificate, { type: 'SHA-256', hex: hash }, { lang: 'en' })
        .then(
          function (signature: any) {
            request('customer', 'person')
              .get()
              .then((res) => {
                request('loans', 'sign/contract').post({
                  offerId,
                  userId: res.data.personDetails.idPerson,
                  signatureHash: signature.hex,
                  signingParty: 'applicant',
                });
              });
          },
          function (error: any) {
            console.log(`Signing failed:  ${error.message}`);
          }
        );
    });
  };

// Prepared function for easier exports
export const hwcrypto = function hwcrypto() {
    "use strict";
    var _debug = function(x) {};
    _debug("hwcrypto.js activated");
    window.addEventListener = window.addEventListener || window.attachEvent;
    function hasPluginFor(mime) {
        return navigator.mimeTypes && mime in navigator.mimeTypes;
    }
[...]

fields.getCertificate = function(options) {
        if (typeof options !== "object") {
            _debug("getCertificate options parameter must be an object");
            return Promise.reject(new Error(INVALID_ARGUMENT));
        }
        if (options && !options.lang) {
            options.lang = "en";
        }
        return _autodetect().then(function(result) {
            // removed if statements because it was throwing errors on dev environment
            return _backend.getCertificate(options).then(function(certificate) {
                if (certificate.hex && !certificate.encoded) certificate.encoded = _hex2array(certificate.hex);
                return certificate;
            });
        });
    };

any chance that this gets fixed? I'm still not sure where the fix has to be applied though. Whether in hwcrypto.js or in the chrome extension.

That would be the extension.

Not allowed means that you are using http not https

Hey @metsma and @martinpaljak thanks for your help and time.
I'm actually using https.
In fact the whole process works when using filter: 'SIGN' in the getCertificate call and it breaks if I use filter: 'AUTH'.
I was able to reproduce the problem in the demo page: https://hwcrypto.github.io/demo/
but it seems that the radio button to select either SIGN or AUTH is not there anymore?

I mean this radio button here from the demo page (https://github.com/hwcrypto/hwcrypto.js/blob/master/demo/sign.html):

CERTIFICATE:
     <input type="radio" name="filter" value="SIGN" checked>SIGN
     <input type="radio" name="filter" value="AUTH">AUTH

maybe you can try to reproduce the same error on your end? The scenario would look as follows:
-Get the last chrome extension of the ID toke signing
-Set the filter to 'AUTH' for the getCertificate function (hwcrypto.js)
-Execute the sign function (hwcrypto.js) with the certificate gotten in the previous call. It is actually the sign function which breaks.

Auth is now disabled
https://github.com/open-eid/chrome-token-signing/issues/194

oh, I see. Thanks @metsma. Any plans to enable this in the near future?
Excuse me, I'm not sure if I'm getting the whole picture... Auth is now disabled in the extension? or is it disable in the hwcrypto.js library because the extension is broken? I saw that @martinpaljak is also involved in the chrome token extension
Maybe you can help me better understand this ecosystem. In any case thanks!

There is web-eid.eu in development and uses different solution for auth

hey @metsma will the hwcrypto library integrate with the web-eid.eu project?

web-eid will have at some extent backwards compatibility with hwcrypto.js (not auth support)

Gotcha! thanks for the fast response.
Do you have a clue on what are going to be the options to authenticate using javascript? As far as I know hwcrypto was the only javascript library to do so.

nvm, I think I found it:
https://github.com/web-eid/web-eid.js#quickstart


Fields with large number of values are not loading

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Currently the large scan reports are uploading with no errors, however fields with large number of values show 'loading values' status and then the page stops responding.
Expected Behavior
Show all the field values
Steps To Reproduce
Scan report # 620
Table : share_gp_data.csv
Field: NewRead
Environment
- OS:
- Other environment details:

I'm part of a Project Team
No response
Anything else?
No response
Are you willing to contribute to resolve this issue?
None

Yes I agree - this will have to be enabled by pagination. Good to know we can handle the large reports though.

Will be fixed by #681


automatically compile from a cloudsynced drive

heavy could have an open watch folder in google drive/dropbox etc and then when a file gets changed automatically start to recompile, removing the upload step and click compile step from the process.

Yes this is a great idea!


Failed to deploy to Graph node: Ethereum network not supported by registrar: mainnet

Do you want to request a feature or report a bug?
Report a bug
What is the current behavior?
Following the quick-start guide:

running ganche-cli locally
after running yarn deploy-local
receive error: Failed to deploy to Graph node http://<IP_ADDRESS>:8020/: Ethereum network not supported by registrar: mainnet

Not sure if there is a connection but,
in one of the the previous steps; truffle deploy receiving:
Using network 'development'.

Running migration: 1_initial_migration.js
  Deploying Migrations...
  ... 0x200bab908cbf8aad74518d90245cbd6360fc713b14c872d8f26bf63f9c05e037
  Migrations: 0x545ad082d0a7850c9110d3d5484e40da6f7c9df7
Saving successful migration to network...
  ... 0x898c38f443bec97988e6e1303a8ead9104acff2729cfa47956e77b794fdab16b
Saving artifacts...
Running migration: 2_deploy_contract.js
  Deploying GravatarRegistry...
  ... 0x552ebf83f96cff1b1bda35b1044f348845e4ac50d1ed99080803d9251c48b9f8
  GravatarRegistry: 0xde6897c39d4fedbf569de892796576a9dc74777d
Saving successful migration to network...
  ... 0x4414228152506f259b15f0214829fb5e4ac19610f150dbf0f595e11fe1db0845
Saving artifacts...
Running migration: 3_create_gravatars.js
Saving successful migration to network...
Account address: 0xde6897c39d4fedbf569de892796576a9dc74777d
(node:46968) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '0' of undefined
(node:46968) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:46968) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

/usr/local/lib/node_modules/truffle/build/webpack:/~/web3/lib/web3/httpprovider.js:128
      callback(error, result);
^
TypeError: callback is not a function
    at /usr/local/lib/node_modules/truffle/build/webpack:/~/web3/lib/web3/property.js:119:1
    at /usr/local/lib/node_modules/truffle/build/webpack:/~/web3/lib/web3/requestmanager.js:89:1
    at /usr/local/lib/node_modules/truffle/build/webpack:/packages/truffle-migrate/index.js:225:1
    at /usr/local/lib/node_modules/truffle/build/webpack:/packages/truffle-provider/wrapper.js:134:1
    at XMLHttpRequest.request.onreadystatechange (/usr/local/lib/node_modules/truffle/build/webpack:/~/web3/lib/web3/httpprovider.js:128:1)
    at XMLHttpRequestEventTarget.dispatchEvent (/usr/local/lib/node_modules/truffle/build/webpack:/~/xhr2/lib/xhr2.js:64:1)
    at XMLHttpRequest._setReadyState (/usr/local/lib/node_modules/truffle/build/webpack:/~/xhr2/lib/xhr2.js:354:1)
    at XMLHttpRequest._onHttpResponseEnd (/usr/local/lib/node_modules/truffle/build/webpack:/~/xhr2/lib/xhr2.js:509:1)
    at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/truffle/build/webpack:/~/xhr2/lib/xhr2.js:469:1)
    at IncomingMessage.emit (events.js:208:15)
    at endReadableNT (_stream_readable.js:1154:12)
    at processTicksAndRejections (internal/process/task_queues.js:77:11)

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
What is the expected behavior?

@jtlacci has this been resolved?

@jtlacci  @leoyvens  Be sure your subgraph.yaml network configured correct. For example here setted network: mainnet.
So you have to start graph-node with --ethereum-rpc mainnet:http....
Maybe you start with --ethereum-rpc ropsten:http, but try to yarn start-local with network:mainnet

Closing since this has been inactive.


Set Up Governance repository

Sets up the Governance repository of TemplateFlow with the essential files for a sibling organization of NiPreps.

@esavary I have sent an invitation to you - please merge after you accept.


Rating issues

I don't know i this counts as a bug, but it doesn't seem as if Aves is reading and writing the ratings metadata to and from files. In the metadata section under the picture the rating is correct, but it is not displayed correctly among the other tags

Ratings are stored in XMP (mostly). There are some standard non-software specific XMP tags but any software maker can freely add redundant tags (ACDSee, Microsoft Photo, DigiKam love to do this, but literally anybody can add anything to XMP, it's open).
Aves writes the standard one and ignores the others (with some exceptions). I'd have to check which tags for ratings specifically, but it's the general approach.
If you think I misunderstood your issue, please attach an image that you rated. Or you could also search for "rating" in the Info page of that image and attach the screenshot of that.

From my understanding, this image should have a rating in aves, but i am not seeing it.

I opened the attached image and the rating is there. It's searchable by rating, there's the thumbnail overlay, and the rating filter in the Info page too. By the way, this particular image includes the standard rating tag (XMP), as well as the variants from MS Photo (XMP and non-standard Exif) and ACDSee (XMP).

Ratings started being supported in Aves v1.5.10 (2022-01-07). It's possible that the ratings do not appear if the images were catalogued with an older version. In that case, you can select these images and Rescan them (or use Rescan on the whole collection). Does it apply to you?
If ratings don't show up with new images (or rescanned images), there's likely a bug. In that case please attach here your system info and logs, following instructions inside the app at About > Bug Report.
By the way, more details about rating reading in Aves here.

Ok rescanning did the trick. Thank you.