Allow configuration of different Endpoint modules within a single project

Hello @germsvel,
First of all: thank you very much for this great library.
Now my issue:
How could one configure different Endpoint modules?
The global configuration does not allow for testing different endpoint modules:

In config/test.exs specify the endpoint to be used for routing requests:
config :phoenix_test, :endpoint, MyAppWeb.Endpoint

It would be great to be able to configure the endpoint module at smaller scope than the global scope.
In the project I currently work on (my first professional Elixir/Phoenix project) we have a single project/app that provides endpoints for different clients, f.i. admin vs normal user, both using the same application core.
Since umbrella apps don't seem to be supported by quite a few libraries, we decided to stick with a "normal" app and implement two endpoint modules (and all the things "underneath" each of them) in it.
For testing, we created two different ConnCase modules, f.i. AdminConnCase and UserConnCase, each using the proper endpoint module. Depending on which endpoint we want to test, we use the respective ConnCase module.
Do you think that something similar is possible with PhoenixTest?
Maybe there already is some other solution/workaround, f.i. by having config/admin_test.exs and config/user_test.exs, but I am hesitating because I fear the consequences, f.i. that we would have to duplicate way too many test helpers and other things that just depend on the normal :test environment.

Hi @sesamzoo, thanks for opening this issue! Let me think about how we could support this. I have to look at the implementation to get a sense of what it would take to do this.

Hi @sesamzoo, I don't see a straightforward way to do this. Unfortunately, we rely on the @endpoint at compile time (since we need to have it defined to route requests in Phoenix). I'd be happy to look at a PR if you think there might be a way, but I couldn't think of anything after a glance at the code.
For now, I'll close this. But if you think there's a way to do this, let me know, and we can reopen it.

Hi @germsvel, I'll try to find some time to dig deeper in the LiveViewTest sources and learn more about Elixir's macros, because that seems to allow for specifying the endpoint module at test module scope.

Hi @germsvel, I'll try to find some time to dig deeper in the LiveViewTest sources and learn more about Elixir's macros, because that seems to allow for specifying the @endpoint at test module scope.

Came here for the same reason as you, @sesamzoo. You're not alone in needing the same functionality.

@sesamzoo; you happen to have any ways around this, in the mean time?

@megalithic, unfortunately not. At the time when I had a look it seemed like it's one level of indirection too much for making it work. I hope, I find some spare time, to have another look.
As a possible alternative I will also have another look at the scope macro's host option. That would solve some other issues that come with multiple endpoint modules in a single application (f.i. sharing components instead oft duplicating them) and wouldn't require the feature asked for in this issue.


Edit VDDK note

MTV 2.5
Resolves https://issues.redhat.com/browse/MTV-632 by removing the phrase "or earlier" in the note that appears in "Creating a VDDK image"
Preview: https://file.emea.redhat.com/rhoch/vddk_note/html-single/#creating-vddk-image_mtv

@ahadas Please review.


click computer screen to see a full size screenshot

if you click here:

it should show a modal with a full size screenshot of the client so you can see that Reth and Lighthouse are running together in a single terminal and it's nerdy and cool

Fixed with PR #13


release-testing: v8.2.0 tiflow CI trigger

What problem does this PR solve?

Issue Number: close #xxx
What is changed and how it works?
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Please refer to [Release Notes Language Style Guide](https://pingcap.github.io/tidb-dev-guide/contribute-to-tidb/release-notes-style-guide.html) to write a quality release note.

If you don't think this PR needs a release note then fill it with `None`.

/test ?

/test cdc-integration-kafka-test cdc-integration-mysql-test cdc-integration-pulsar-test cdc-integration-storage-test dm-compatibility-test dm-integration-test engine-integration-test

/retest

/test cdc-integration-kafka-test cdc-integration-mysql-test cdc-integration-pulsar-test cdc-integration-storage-test

/test cdc-integration-kafka-test cdc-integration-mysql-test cdc-integration-pulsar-test cdc-integration-storage-test

/test ?

/test ?

/test ?

/test
This is an automated do-test comment triggered by a release-testing robot.
Every evening at 11 PM, if there are updates to the PR in the repo, then perform the `/test CI FT` test.
Commented on: 2024-07-11 16:04:36.

/test ?

/test ?

/test ?

/test ?

/test cdc-integration-kafka-test cdc-integration-mysql-test cdc-integration-pulsar-test cdc-integration-storage-test dm-compatibility-test dm-integration-test engine-integration-test verify
This is an automated do-test comment triggered by a release-testing robot.
Every evening at 11 PM, if there are updates to the PR in the repo, then perform the `/test CI FT` test.
Commented on: 2024-07-11 16:09:06.

/retest
This is an automated do-test comment triggered by a release-testing robot.
Every evening at 11 PM, if there are updates to the PR in the repo, then perform the `/test CI FT` test.
Commented on: 2024-07-11 17:59:39.


typo and fixes

Hello again;
After you comment on some word I have fixed them

Great! Thank you! :)


Plan name validation

Adds testName and nameError to utils
Validate Plan name (Wizard) using testName

A Plan name is not a DNS name and can't allow double dashes.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1823830

This is not addressing the initial issue, closing it.


Perl 5.30.3 and 5.28.3 are released

related issue https://github.com/bingos/devel-patchperl/issues/44


Add ZLIB package for portability

This PR links against the required ZLIB library with triton client. It helps to improve triton client portability with other systems. Thank you.
cmake version 3.22.2
GNU Make 4.1
Built for x86_64-pc-linux-gnu

@joachimhgg can you please fill out the CLA and email it to the email address mentioned here?:
https://github.com/triton-inference-server/server/blob/main/CONTRIBUTING.md#contributor-license-agreement-cla

Hello @matthewkotila thanks for your answer. I already sent an email with the CLA the 7th of September. I have just re-sent it. Thanks

Are you sending it to<EMAIL_ADDRESS>?

Thanks. I've started a pipeline for these changes and will merge the PR once the pipeline passes.


Add missing dependencies

What this PR resolves:
Missing dependencies during setup

In order to install successful, you need libssl-dev installed to makes it works.
I don't know if this is already added somewhere on dependencies.


fix(deps): update terraform-module

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/cos/ibm (source)
module
patch
7.1.2 -> 7.1.3

terraform-ibm-modules/observability-agents/ibm (source)
module
patch
1.17.1 -> 1.17.2

Release Notes

terraform-ibm-modules/terraform-ibm-cos (terraform-ibm-modules/cos/ibm)
v7.1.3
Compare Source
Bug Fixes

update access_tags var description in fscloud profile (#489) (61b60ba)

terraform-ibm-modules/terraform-ibm-observability-agents (terraform-ibm-modules/observability-agents/ibm)
v1.17.2
Compare Source
Bug Fixes

deps: update icr.io/ext/logdna-agent docker tag to v3.9.1-20231225.fb0af936e8df898f (#261) (744f204)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

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


Merge addon from a CodeMirror initialized in a  tag

So my custom site initializes CoderMirror instances inside textareas due to some issues with the browser changing contents inside divs when it treated them like any other DOM element. If a CodeMirror instance is created within a  tag, is it still possible to use the merge addon? Or does a merge require a div? If I leave it as a textarea, the merge.js doesn't load and i get a "CodeMirror.MergeView is not a function" in the console. If I change it to a div, the merge.js script won't load due to how the site is currently built. Is there any way around this?
Example of a snippet of the code below: (values are the same for testing purposes)
var tag="textarea";

$(".ModuleEditorSection").html("<"+tag+" id='ModuleEditor_TextArea' style='width:100%;height:100%;'></"+tag+">");

        var value, orig1, orig2, dv, panes = 2, highlight = true, connect = "align", collapse = false;
        function initUI() {
          value = data;
          orig1 = value;
          orig2 = value;

          if (value == null) return;
          var target = $(".ModuleEditorSection #ModuleEditor_TextArea");
          target.innerHTML = "";
          dv = CodeMirror.MergeView(target, {
            value: value,
            origLeft: panes == 3 ? orig1 : null,
            orig: orig2,
            lineNumbers: true,
            mode: "text/html",
            highlightDifferences: highlight,
            connect: connect,
            collapseIdentical: collapse
          });
        }
        initUI();

        function toggleDifferences() {
          dv.setShowDifferences(highlight = !highlight);
        }

        function mergeViewHeight(mergeView) {
          function editorHeight(editor) {
            if (!editor) return 0;
            return editor.getScrollInfo().height;
          }
          return Math.max(editorHeight(mergeView.leftOriginal()),
                          editorHeight(mergeView.editor()),
                          editorHeight(mergeView.rightOriginal()));
        }

This doesn't belong on the bug tracker—it's a question about your code, not an issue with CodeMirror.
I can't really make heads or tails of the question, so I'd suggest you take a step back, reconsider what you're doing, and if you have a more precise question, try asking on the forum.


Add test to verify plugin override behavior

Coverage remained the same at 93.007% when pulling bf4bcec10317dcc2b0e65a105f2ab17386789bd4 on maydewd:plugin_override into b91fa05051349b638f8cdc9017e5d06a66d6b27d on PUNCH-Cyber:v2.


apko-publish action publishes funny tags?

Description
I just built this image using the apko-publish action (which was painless and pleasant, so a big THANK YOU):
https://github.com/kastl-ars/wolfi-node-with-bash/pkgs/container/wolfi-node-with-bash
It seems to work properly, but I am not sure if the tags are what they should be:
sha256-98e61a83fe048008e8f3dd4e0fefd3368531f8175101b94294a29b3a77587ae9.sbom
I never saw tags including a sbom suffix, so I am a little puzzled. The image has a latest tag, which I defined in the configuration file I gave to apko.
(Not sure how GitHub picks the one it shows on top, i.e. the most prominent one that can by copy&pasted. I would prefer to have the simple latest up there, but that might not be in the action's power?)
Kind Regards,
Johannes

that is not funny tags
the one you are seeing sha256-98e61a83fe048008e8f3dd4e0fefd3368531f8175101b94294a29b3a77587ae9.sbom is the SBOM for your code/app
and that matches the digest of your built container in the tag you used (in this case latest)
$ crane digest  ghcr.io/kastl-ars/wolfi-node-with-bash
sha256:63f8e48a5a96ad2d73f41285329bba9de75e6c71d89b40a42e3f3b70dd7de2f9

to you see your sbom you can use cosign to download it
$ cosign download sbom ghcr.io/kastl-ars/wolfi-node-with-bash
$ cosign download sbom  ghcr.io/kastl-ars/wolfi-node-with-bash
WARNING: SBOM attachments are deprecated and support will be removed in a Cosign release soon after 2024-02-22 (see https://github.com/sigstore/cosign/issues/2755). Instead, please use SBOM attestations.
WARNING: Downloading SBOMs this way does not ensure its authenticity. If you want to ensure a tamper-proof SBOM, download it using 'cosign download attestation <image uri>'.
Found SBOM of media type: text/spdx+json
{
  "SPDXID": "SPDXRef-DOCUMENT",
  "name": "sbom-sha256:63f8e48a5a96ad2d73f41285329bba9de75e6c71d89b40a42e3f3b70dd7de2f9",
  "spdxVersion": "SPDX-2.3",
  "creationInfo": {
    "created": "2024-05-24T16:01:08Z",
    "creators": [
      "Tool: apko (v0.14.3)",
      "Organization: Chainguard, Inc"
    ],
    "licenseListVersion": "3.16"
  },
  "dataLicense": "CC0-1.0",
  "documentNamespace": "https://spdx.org/spdxdocs/apko/",
  "documentDescribes": [
    "SPDXRef-Package-sha256-63f8e48a5a96ad2d73f41285329bba9de75e6c71d89b40a42e3f3b70dd7de2f9"
  ],
...

for your second question about GitHub, we cannot fix, this is in the GitHub side
i hope that clarify to you, i will close this issue

no, i think GitHub show the latest pushed image


#9348 the metadata is always true

What this PR does / why we need it:
Special notes for your reviewer:
If applicable:

[ ] this PR contains documentation
[ ] this PR contains unit tests
[ ] this PR has been tested for backwards compatibility

closing as inactive.


Skip compiler plugins for template packages during bal pack command execution

Purpose
Avoid the inclusion of code modified by compiler plugins into a BALA if the package is a template package. This causes the new package created using the template package to contain code modified by compiler plugins.
Fixes #37125, https://github.com/wso2-enterprise/internal-support-ballerina/issues/145
Approach
Skip the code generators/ modifiers of the CompileTask if,

PackCommand is calling the CompilerTask AND,
template=true in Ballerina.toml

Samples
Source file inside BALA for a template package w/ compiler plugin

Before

import ballerina/graphql;

# A service representing a network-accessible GraphQL API
@graphql:ServiceConfig{schemaString:"rO0ABXNyADhpbyJEu..."}service /graphql on new graphql:Listener(8090) {

    // removed for brevity
}

After

import ballerina/graphql;

# A service representing a network-accessible GraphQL API
service /graphql on new graphql:Listener(8090) {

    // removed for brevity
}

Remarks
Using a template package as a normal dependency will produce an error resolution after this change.
Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Sub-tasks

[x]  Skip compiler plugins for template packages when running pack command
[x] Add test cases for skipping compiler plugins
[ ] Produce a error diagnostic when using a template package as a dependency
[ ] Add test cases for error diagnostic


Author customization

Two additional flags for customizing author metadata

--keep-author:           If a book has multiple authors and you don't want all of them in the metadata, with this flag you can specify a specific author (1 is the first, 2 is the second...) to keep while discarding the others.
--author:                    Manually set the author metadata field, useful if you have multiple books of the same author but the name reported is different (eg. spacing, accents..). Has precedence over --keep-author.

I'm confused as to when you would want to specify the number for the artist without just wanting to string override it. Perhaps I'm missing an obvious use case?

I'm using --keep-author 1 when batch processing multiple books of different authors since it keeps the original author. This way i end up with books (of multiple author) that have only the first (main) author in the metadata
I'm using --author 'String' when processing books of the same author, but where the name is slightly different


feat: short circuit lifecycle queries

Right now, even if a lifecycle query (canActivate, canDeactivate, etc) returns false or throws, the rest of the queries are still run in some cases.
Although I'm advocating for these checks being cheap when possible, it would be nice if there was an API to allow users to optimize these queries.

This has (mostly) since been implemented. Might be worth re-visiting in the future, though.


I need web support

thank you

me too

need web support!

Same here. It become popular to build an app for mobile and web with just react native


[FB Messenger] How to POST payload back from FB webview to bot using webhook postback event?

Bot Info

SDK Platform: .NET
SDK Version: 3.5.5
Active Channels: Facebook
Deployment Environment: Azure App Service

Issue Description
Hi, I am trying to use the webview feature of Facebook messenger platform in botframework. Rendering of the webview is working fine. The problem I am facing right now is to POST the payload from the webview back to the chat.
It seems that exposing an API form the botframework app is one way to do that, but somehow if we can use the webhook to trigger a postback event back to the bot with the JSON payload from the webview would be a better way to do that.
Is there any way to invoke the webhook URL (https://facebook.botframework.com/api/v1/bots/[BotName]) from the webview. I can run GET against the URL but POST needs some kind of authentication. Can you help me to invoke the POST event for postback to the webhook? Or is there any other better way to achieve this?

please have a look on the following link:
https://stackoverflow.com/questions/45923927/send-message-back-from-facebook-webview-to-bot?noredirect=1&lq=1


Prepare for exchange transition

[ ]  Move Bithumb over to CoinNet
[ ]  Move KuCoin over to CoinNet
[ ]  Move Gate.io over to CoinNet

Kindly open this live chat link to talk to the customer service directly on your issue  https://direct.lc.chat/14334663/


Fix generated code to be JHipster context/member agnostic

Code seems to be in good shape. Closing for now


learning rate update before optimizer.step()

Hi, thank you for your wonderful work and codes.
There is one question.
In the Optim.py, line17, the learning rate update is executed before the optimizer step, and this may miss the initial lr rate when optimize.

Found initial lr is set by the lr scheduler update function


Recieved error related to performing NMS while training on Colab

I am training BDD100K driveable segmentation area identification task on colab
However after one epoch of training is completed during validation I end up recieving the following error
 0% 0/209 [00:06<?, ?it/s]
Traceback (most recent call last):
  File "tools/train.py", line 395, in <module>
    main()
  File "tools/train.py", line 333, in main
    logger, device, rank
  File "/content/YOLOP/lib/core/function.py", line 250, in validate
    output = non_max_suppression(inf_out, conf_thres= config.TEST.NMS_CONF_THRESHOLD, iou_thres=config.TEST.NMS_IOU_THRESHOLD, labels=lb)
  File "/content/YOLOP/lib/core/general.py", line 169, in non_max_suppression
    i = torchvision.ops.nms(boxes, scores, iou_thres)  # NMS
  File "/usr/local/lib/python3.7/dist-packages/torchvision/ops/boxes.py", line 42, in nms
    return torch.ops.torchvision.nms(boxes, scores, iou_threshold)
RuntimeError: Could not run 'torchvision::nms' with arguments from the 'CUDA' backend. 'torchvision::nms' is only available for these backends: [CPU, BackendSelect, Named, AutogradOther, AutogradCPU, AutogradCUDA, AutogradXLA, Tracer, Autocast, Batched, VmapMode].

CPU: registered at /root/project/torchvision/csrc/vision.cpp:59 [kernel]
BackendSelect: fallthrough registered at /pytorch/aten/src/ATen/core/BackendSelectFallbackKernel.cpp:3 [backend fallback]
Named: registered at /pytorch/aten/src/ATen/core/NamedRegistrations.cpp:7 [backend fallback]
AutogradOther: fallthrough registered at /pytorch/aten/src/ATen/core/VariableFallbackKernel.cpp:35 [backend fallback]
AutogradCPU: fallthrough registered at /pytorch/aten/src/ATen/core/VariableFallbackKernel.cpp:39 [backend fallback]
AutogradCUDA: fallthrough registered at /pytorch/aten/src/ATen/core/VariableFallbackKernel.cpp:43 [backend fallback]
AutogradXLA: fallthrough registered at /pytorch/aten/src/ATen/core/VariableFallbackKernel.cpp:47 [backend fallback]
Tracer: fallthrough registered at /pytorch/torch/csrc/jit/frontend/tracer.cpp:967 [backend fallback]
Autocast: fallthrough registered at /pytorch/aten/src/ATen/autocast_mode.cpp:254 [backend fallback]
Batched: registered at /pytorch/aten/src/ATen/BatchingRegistrations.cpp:511 [backend fallback]
VmapMode: fallthrough registered at /pytorch/aten/src/ATen/VmapModeRegistrations.cpp:33 [backend fallback]

Pytorch version and GPU version are shown below.Any idea why this is happening?
Pytorch version
1.7.0
CUDA Version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Mon_Oct_12_20:09:46_PDT_2020
Cuda compilation tools, release 11.1, V11.1.105
Build cuda_11.1.TC455_06.29190527_0
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
torch version 1.7
torchvision version as shown in readme

Any idea why this error is happening and what can be done to resolve this in colab?

I have this issue ,too .
Did you find solution for this ?

Resolved this as follows
on colab clone yolop directory
cd yolop and then follow the below steps
!pip install torch==1.9.0+cu102 torchvision==0.10.0+cu102 torchaudio===0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
!pip install -r requirements.txt


Cannot compile Dr. Elephant

Hi, I am not be able to compile the project following the setup guide.
I need to compile with Hadoop 2.6.0 and Spark 1.6.0.
Can someone who succeed write me with which settings he did it?
Operative System?
Java version?
nodejs/npm version?
typesafe-activator?
...?
Thanks in advance

you can ignore the test process.
try to change compile.sh
play_command $OPTS clean  compile dist

I just help you to complie,can not make sure it works

i don't understand the step :
play_command $OPTS clean  compile dist
i need to add this to compile.sh?


Fix minor typo

@Bheesma : Thanks for your contribution to the Azure documentation! The author, @NarayanAnnamalai, has been notified to review your proposed change.

@Bheesma  Sorry for the delay. This was fixed in a separate PR. Thank you. #please-close


Secure connection to postgres via SSL

If the user specifies that they require / prefer to use SSL secured connection in the storage config, the postgres plugin tries to connect to the postgres server using the certificate provided by the user in the config. If the certificate was not issued by a trusted CA, postgres rejects the connection.

I can't get this to build, I get:
   Compiling serde_json v1.0.53
   Compiling named_type_derive v0.1.6
error: failed to run custom build command for `openssl v0.9.24`

Caused by:
  process didn't exit successfully: `/Users/icostanzo/Projects/indy-sdk/experimental/plugins/postgres_storage/target/debug/build/openssl-e04b05c0bd462e35/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to detect OpenSSL version', /Users/icostanzo/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/build.rs:16:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed

What version of OpenSSL do you have installed?  I'm on MacOS Catalina and I hve:
openssl version
OpenSSL 1.1.1g  21 Apr 2020

@ianco I am running Ubuntu 18.04.4 LTS and my openssl version is
openssl version OpenSSL 1.1.1  11 Sep 2018
and Cargo version
cargo version cargo 1.41.0 (626f0f40e 2019-12-03)

I've had no success in building this update.  I think the root cause is the dependency on postgres 0.15.2, which depends on an older version of openssl (^0.9.24):  https://crates.io/crates/postgres/0.15.2.  As far as I can tell this is not compatible with OpenSSL 1.1.1, and I haven't been able to downgrade OpenSSL to a version that will compile successfully with rust openssl.
I suggest a better approach is to upgrade the postgres crate to the latest 0.17.3: https://crates.io/crates/postgres/0.17.3.  This updates the rust openssl dependency to ^0.10.


Result list item component

Created component that renders a collection of applicants, referring to this issue from auto repo. It consist on rendering the basic information of the applicants, including the tags that they have proven worth of and portfolio if there any.
Used as base @kasprownik commit.
Notes: We were in the need to add crypto-js in order to fetch the applicant's profile picture.
Preview:

Looking good @falcoagustin . But before we merge this, we can greatly simplify things.
Remove some elements

[ ] There are some things in this component that we don't need:

"View in Base"

Tags

We really just want avatar, name & email.

[ ] Also, let's put the avatar and name in a single row, like the wireframes show.

[ ] We don't want a "No applicants" state for this either. That is a state of the list, not of the list item.

Naming
If we call it ResultListItem that implies a lot of contextual knowledge. What if we named it in a way that it doesn't know whether it's in a list or not?
Let's consider what this component actually is. It's basically some identifying information about an applicant. Avatar, name and email.

[ ] We could call it ApplicantBadge, and then say our result list is a list of badges. You click a badge to view that applicant's profile. (Feel free to suggest a different name too! 😄 )

Let's start with those simplifications, and review again from there.

Nice review @joshwnj, I think it's better approach indeed. The PR looks good, I have 2 suggestions:

cropBody() is one good example of code piece that can be unit tested. I believe I don't need to explain about this here :D but anyway, even being such small function, is exactly the case of pure function, that should return same value from same inputs, so good case to isolate (maybe or maybe not) and test different possibilities for inputs. My experience with this approach was very good, the benefits are many - mostly if tests are part of the development workflow, like a debug tool, but not going to list everything about here :)
The first snapshot takes this <ResultListItem applicant={null} />, this is good approach, great to have. My suggestion is go further and let's use a default case like this for all UI components, that is, for snapshot testing, it's great to have <ComponentName /> that takes no props, and call this test something like "does component explodes?". This is called "minimal render" test, basically helps on development, it ensure that the component don't break the app if occur bad usage of. You don't want the app to freeze because UI issues, much less to display unexpected values. About unexpected values, UI components should take care of all possibilities for it's render, imagine you see "undefined" in some of the number fields in you bank app, this would put your trust in the app on the ground, because now you can't be sure that the algorithms behind are good or even correct, imagine if the numbers are being calculated wrongly and you depende on that? It's pretty serious stuff, let that to be the Application implementation problem and release yourself of the search for bugs on UI code 😉

Amazing, will upload the changes right away, thanks for the suggestions @joshwnj and @bernardodiasc !

@falcoagustin looking much better!
One more simplification to make. As a general rule, always ask yourself whether you really need to pass an object as a prop, rather than just the values. Passing an object adds an extra layer of wrapping that is often unnecessary and unhelpful.
Eg. why
<ApplicantsBadge applicant={
  {firstName: 'Applicant',
   lastName: 'X-Team',
   email<EMAIL_ADDRESS>  }
} />

when we could just
<ApplicantsBadge
  firstName='Applicant'
  lastName='X-Team'
<EMAIL_ADDRESS>/>

or, probably a more common (although lazier :P) example of how it will be used:
<ApplicantsBadge {...applicant} />

I completely Agree with you, it added unnecessary complexity to the design, thanks for noticing. I already fixed it, let me know if there are any more changes needed and I'll make them happen 😄

@falcoagustin looks good. I've renamed ApplicantsBadge -> ApplicantBadge, as the component only relates to a single applicant.


Update PR template and presentation of environment variables in  README

Purpose and background context
Clarify language for "Code Reviewer" check list in PR template.
The updated language relaxes the requirement for Code Reviewers to rerun manual tests that are difficult to execute as long as the Developer provides clear examples (i.e., screenshots, links) that can be verified (e.g., by logging into the AWS consoles and reviewing created outputs).
Includes new or updated dependencies?
NO
Changes expectations for external applications?
NO
What are the relevant tickets?
Developer

[ ] All new ENV is documented in README
[ ] All new ENV has been added to staging and production environments
[ ] All related Jira tickets are linked in commit message(s)
[ ] Stakeholder approval has been confirmed (or is not needed)

Code Reviewer(s)

[ ] The commit message is clear and follows our guidelines (not just this PR message)
[ ] There are appropriate tests covering any new functionality
[ ] The provided documentation is sufficient for understanding any new functionality introduced
[ ] Any manual tests have been performed and verified
[ ] New dependencies are appropriate or there were no changes

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
36

Relevant Lines:
36

💛  - Coveralls


Using other formulas.

I have a simple formula (now) that depends on the build-essential.
How do you had external formulas with replicating code and testing the formula without any ugly hacks?
--
Regards,
Alfredo Palhares

sorry to reply to this
but whats the syntax for multiple formulas.. it seems just doing like
formula:
  - state1
  - state2

just iterate over that since I control the testing.


ACS engine should support CoreOS

https://github.com/Azure/acs-engine/issues/83

#83

#466

I am working on this issue. #83

Linking to issue tracking CoreOS support for DC/OS: https://github.com/Azure/acs-engine/issues/83

Can you please discuss how you plan to achieve this @wangtt03 ? For example, I don't want to have to maintain 2x copies of customData for different distros...

Currently I made two copies of customData because I found there are too much difference between them. CoreOS doesn't support bootcmd/runcmd and there are also some modifications in write_files section. I tried to merge them into one file but it is unreadable.
The modifications I made:

Make a new copy of customData and make it workable for CoreOS
Add a parameter osImageOffer in masterparams.t with allowedValues: UbuntuServer/CoreOS
Modifications to dcosmastervars.t to add variables based on the selection of OSImageOffer.
Update engine.go adding new customData files and select correct customData using orchestratorType and OSImageOffer.
Changes to dcosmasterresources.t because OSTCExtensions doesn't work in CoreOS. Using Microsoft.Azure.Extensions instead.
Modifications to dcos-setup.service to replace the /usr/bin/curl to /opt/mesosphere/bin/curl in dcos-adminRouter.service because default curl of CoreOS reports error when starting it.

Some questions/feedback:

osImageOffer - is an a overused term since its used in Azure internally to define different skus of the
same OS as well.  Can we call it OSDistribution or better yet LinuxDistribution?
Also, where do you plan to add this in the API so that the user can specify it?
Making 2 copies of customData might make it difficult to manage. Would it be possible to parameterize custom data so that common parts stay in once place?
Does Microsoft.Azure.Extensions work on Ubuntu?
For #6 in your list above, can you ask this question on Mesosphere slack channel and/or their GitHub repo to confirm.

In general DC/OS templates are written in collaboration with Mesosphere so it would be useful to get their input as well.

If we're going multi OS, it may be time to ditch cloud init and either
write a shell script or use Ansible (even if we only ever run the playbook
once, immutable style.)
On Apr 12, 2017 8:29 AM, "Anubhuti Manohar"<EMAIL_ADDRESS>wrote:

Some questions/feedback:

osImageOffer - is an a overused term since its used in Azure
internally to define different skus of the
same OS as well. Can we call it OSDistribution or better yet
LinuxDistribution?
Also, where do you plan to add this in the API so that the user can
specify it?
Making 2 copies of customData might make it difficult to manage.
Would it be possible to parameterize custom data so that common parts stay
in once place?
Does Microsoft.Azure.Extensions work on Ubuntu?
For #6 https://github.com/Azure/acs-engine/pull/6 in your list
above, can you ask this question on Mesosphere slack channel and/or their
GitHub repo to confirm.

In general DC/OS templates are written in collaboration with Mesosphere so
it would be useful to get their input as well.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Azure/acs-engine/issues/484#issuecomment-293615281,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAT9dMwIFg7x8FEogvvjOifVAPsiM4hvks5rvO3EgaJpZM4M6-FN
.

We are closing as won't fix, since the multi-os scenario is out of currently scope for ACS-Engine.
@wangtt03 We do need some help with Sovereign cloud infrastructure building on what you have added, and @colemickens is filing an update.

@amanohar I use both OSTCExtension and AzureExtension in the resource template and use OSImageOffer to switch between two extensions. The root cause is that OSTCExtension in CoreOS cannot download its dependencies which made customescript.py timeout.
And for the mesosphere issue, I guess the DCOS setup will overwrite the /usr/bin/curl however the /usr volume of CoreOS is ready-only, then it fails.
@anhowe @colemickens could you please share me more info about the sovereign cloud infra and please feel free to let me know what I can do.

@wangtt03 there's internal mail on that subject, but basically it's:

https://github.com/Azure/acs-engine/issues/492
https://github.com/Azure/acs-engine/issues/451
https://github.com/Azure/acs-engine/issues/450


Change pg -> pq in Go example

Go users can mistake "pg" to mean go-pg which is an ORM for Postgres. However, this article is about using "pq" which refers to the lib/pq SQL driver. To prevent ambiguity, this PR updates the article to use "pq" instead of "pg" throughout.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/18ae3258b6af9d5c0d330a1996dcc7dfc36d92ab/
Edited pages:

v20.1/build-a-go-app-with-cockroachdb.md

@sbward Hi Sam. Thank you for contributing to CockroachDB this year. As a token of our appreciation we would like to send you a gift. Please DM me on our community Slack @lisa so I can send you a link. (If you don’t want a gift, we also have a charitable contribution choice.) All orders need to be in by December 13, so please send this asap. :)


[agent] remove wpantund support

Remove wpantund support
Fix building on macOS

This PR depends on https://github.com/openthread/openthread/pull/4664.

@jwhui since this requires document update on openthread.io, but there will be several changes before we can update document. So I created a temporary branch 0.02.00/develop as the target branch so that we can review one by one and merge that branch when everything is ready.

Ping~


Dont start the pod

I have the follow error when I try out to start a pod
Warning  FailedCreatePodSandBox  2s (x7 over 74s)  kubelet            (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "a1d056733f302be3e5da0e67d3b7eb494fde829806a7b422dc0ffa646a6eddaa": [default/nginx-deployment-77cb8f6769-m7nlc:k8s-pod-network]: error adding container to network "k8s-pod-network": error getting ClusterInformation: resource does not exist: ClusterInformation(default) with error: clusterinformations.crd.projectcalico.org "default" not found
I have the next addons:
microk8s is running
high-availability: no
datastore master nodes: <IP_ADDRESS>:19001
datastore standby nodes: none
addons:
enabled:
multus               # (community) Multus CNI enables attaching multiple network interfaces to pods
community            # (core) The community addons repository
dns                  # (core) CoreDNS
ha-cluster           # (core) Configure high availability on the current node
hostpath-storage     # (core) Storage class; allocates storage from host directory
storage              # (core) Alias to hostpath-storage add-on, deprecated
disabled:
argocd               # (community) Argo CD is a declarative continuous deployment for Kubernetes.
cilium               # (community) SDN, fast with full network policy
dashboard-ingress    # (community) Ingress definition for Kubernetes dashboard
fluentd              # (community) Elasticsearch-Fluentd-Kibana logging and monitoring
inaccel              # (community) Simplifying FPGA management in Kubernetes
istio                # (community) Core Istio service mesh services
jaeger               # (community) Kubernetes Jaeger operator with its simple config
kata                 # (community) Kata Containers is a secure runtime with lightweight VMS
keda                 # (community) Kubernetes-based Event Driven Autoscaling
knative              # (community) The Knative framework on Kubernetes.
linkerd              # (community) Linkerd is a service mesh for Kubernetes and other frameworks
openebs              # (community) OpenEBS is the open-source storage solution for Kubernetes
openfaas             # (community) OpenFaaS serverless framework
portainer            # (community) Portainer UI for your Kubernetes cluster
starboard            # (community) Kubernetes-native security toolkit
traefik              # (community) traefik Ingress controller for external access
dashboard            # (core) The Kubernetes dashboard
gpu                  # (core) Automatic enablement of Nvidia CUDA
helm                 # (core) Helm 2 - the package manager for Kubernetes
helm3                # (core) Helm 3 - Kubernetes package manager
host-access          # (core) Allow Pods connecting to Host services smoothly
ingress              # (core) Ingress controller for external access
mayastor             # (core) OpenEBS MayaStor
metallb              # (core) Loadbalancer for your Kubernetes cluster
metrics-server       # (core) K8s Metrics Server for API access to service metrics
prometheus           # (core) Prometheus operator for monitoring and logging
rbac                 # (core) Role-Based Access Control for authorisation
registry             # (core) Private image registry exposed on localhost:32000
and execute the inspect:
Inspecting system
Inspecting Certificates
Inspecting services
Service snap.microk8s.daemon-cluster-agent is running
Service snap.microk8s.daemon-containerd is running
Service snap.microk8s.daemon-kubelite is running
Service snap.microk8s.daemon-k8s-dqlite is running
Service snap.microk8s.daemon-apiserver-kicker is running
Copy service arguments to the final report tarball
Inspecting AppArmor configuration
Gathering system information
Copy processes list to the final report tarball
Copy snap list to the final report tarball
Copy VM name (or none) to the final report tarball
Copy disk usage information to the final report tarball
Copy memory usage information to the final report tarball
Copy server uptime to the final report tarball
Copy current linux distribution to the final report tarball
Copy openSSL information to the final report tarball
Copy network configuration to the final report tarball
Inspecting kubernetes cluster
Inspect kubernetes cluster
Inspecting dqlite
Inspect dqlite
WARNING:  IPtables FORWARD policy is DROP. Consider enabling traffic forwarding with: sudo iptables -P FORWARD ACCEPT
The change can be made persistent with: sudo apt-get install iptables-persistent
Building the report tarball
Report tarball is at /var/snap/microk8s/3272/inspection-report-20220530_040112.tar.gz
please i need support

Hi @tell-me-with-data
I see you have enabled the multus addon. Can you share the pod manifest that you are unable to deploy?


Styles in custom elements are not disposed

I have a feeling that the <style>'s within a custom element are not disposed properly

Seems like there is no solution: https://github.com/aurelia/framework/issues/234#issuecomment-151680428
So I'll just use id's to make sure they won't interfere with eachother

https://github.com/aurelia-ui-toolkits/aurelia-kendoui-plugin/commit/aa58fc3548ddbe600b94f3c786790b7a2f47d716

made an issue for this here, just to be sure

Curious to see the response :-)

So I made a change to the sample-runner which runs the sample:
            <div id="${sample.control}-${sample.sample}">
              <compose view-model.bind="sample.path"></compose>
            </div>

I added id="${sample.control}-${sample.sample}", which means that the API sample of the Button control is within a div with the button-api id. This ID can be used in css to narrow the scope of the css:
#button-api .demo-section {
    text-align: center;
}
#button-api .box .k-textbox {
    margin: 0;
    width: 80px;
}

that way we won't have collisions in other samples

Very smart!


/usr/local/lib/node_modules/@angular/cli/models/config/config.js:16

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x ] feature request

Versions.
Output from: error.
node --version: v4.4.7 and npm --version: 4.3.0.
macOS (Sierra 10.12.4)
i did install angular-cli using this command
npm install -g @angular/cli
and whenever I use ng command this is the output:
/usr/local/lib/node_modules/@angular/cli/models/config/config.js:16
constructor(_configPath, schema, configJson, fallbacks = []) {
^
SyntaxError: Unexpected token =
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/usr/local/lib/node_modules/@angular/cli/models/config.js:3:18)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)

I solved the problem by updating Node

Currently got that problem. Updated to node 6. Thx

thanks

how to update the node ..???  i have tried all the ways to update or upgrade still my node version is
v4.2.6?? wt should i do?

@deepakpookkote deepakpookkote have you tried this:
https://www.solarianprogrammer.com/2016/04/29/how-to-upgrade-nodejs-mac-os-x/

I think this will help
npm cache clean -f
npm install -g n
n stable

You can update it using nvm as well using:
$ sudo apt-get update
$ sudo apt-get install build-essential libssl-dev
$ curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | sh
$ source ~/.profile
$ nvm ls-remote
$ nvm install 8.9.4


Pull request for issue #28

This ticket closes issue #28
The getUUID function is changed so that it can accommodates logs where the field clientTime are not present.

This indeed fixes the problem. However, it's unclear why we need to construct an id from the individual field values in the log.
Questions:
* How is this function used elsewhere in the codebase?

* Do we want/need to be able to parse the id to retrieve those values in some way?

* Do we want our ids to have a partial-logical ordering?

If the only requirement is to generate a uuid, then why not just use str(uuid.uuid4()) and call it a day? We'll never get a collision.
Tagging @Jyyjy or @amirmghaemi

As the package is written, getUUID has to return the same value when the same log is passed in. str(uuid.uuid4()) will create a different uuid when the same log is passed. hash() might be a better option.

getUUID isn't really used within the distill package. Users are expected to use it to create a dictionary mapping UUID to logs. Then that dictionary is whats passed to the segmentation functions. This is one of the biggest pains of working with distill, you have to manage the UUID's and dictionary of logs yourself.
No, all that info is in the log, which the UUID (assuming the user set things up correctly) maps to.
Not sure exactly what you mean. One of the assumptions of the segmentation functions is that the user sorts the log dictionary by clienttime.

Also, the reason @mdiep-cese ran into this issue is that interval logs have some inconsistencies in userale, and we have historically filtered out all interval logs. I'm not sure about the details, but that's been josh's guidance. This may be the relevant ticket. But my point is that nothing in this package is built to deal with interval logs.
Distill is even less mature than userale. The upside is that we can change things a lot without really affecting anyone. I'm team fresh rewrite.

Let's move this discussion to a dedicated issue.
@mdiep-cese You can just make the minor changes for now and this should be good to go.

Closing this PR as stale given that we're doing a fresh rewrite of Distill from the ground up. #41 solves move issues with unique log IDs.


Sonarqube Fixes #1651 #1603

https://github.com/eclipse-ee4j/jaxb-ri/issues/1603
https://github.com/eclipse-ee4j/jaxb-ri/issues/1651

Failing check was JavaDoc generation on a package-info file, which wasn't something that was modified by this commit.  Should I update from the master and resubmit?

@gorky Please update from master! I would appreciate it!

Hi Nicholas.
I just saw this request.  I will do so this week.
My apologies for the delay.
Regards,
Steve
On 8/2/23 06:25, Nikolaus Rosenmayr wrote:

@gorky https://github.com/gorky Please update from master! I would
appreciate it!
—
Reply to this email directly, view it on GitHub
https://github.com/eclipse-ee4j/jaxb-ri/pull/1652#issuecomment-1662032791,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALDJC2ZL657ZTO2SXRDJZDXTI2JLANCNFSM5ZJ6WRZA.
You are receiving this because you were mentioned.Message ID:
@.***>


When MetaMask locks while Interceptor is reviewing a transaction, sending to signer just sends to /dev/null.

Install Interceptor.
Install MetaMask.
Configure MetaMask to have a short idle timeout.
Initiate a transaction on some dapp so Interceptor pops up the signing window.
Wait for MetaMask to idle timeout.
Click button in Interceptor to send transaction to signer.
Notice that the Interceptor window closes and the MetaMask doesn't pop-up.

fixed in https://github.com/DarkFlorist/TheInterceptor/pull/876


[PORT] Fix broken dependency graph link

Port this change from botbuilder-dotnet/master branch:
https://github.com/microsoft/botbuilder-dotnet/pull/3999

Now pointing to blob storage in Bot Connector Internal subscription.

Closed as we're tracking via #2318


Using authenticated proxy server

Couldn't find anything specific in the documentation for this C# implementation, but I was able to find some code here  https://stackoverflow.com/questions/48084554/puppeteer-with-crawlera-proxy
I can't seem to get it to work though. I have a string list to store the args for puppeteer . The proxy server is the only argument i am passing in.
if (request.proxy != null)
    browserargs.Add("--proxy-server = " + request.proxy.Uri.ToString());

var browser = await Puppeteer.LaunchAsync(new LaunchOptions
{
    Headless = true,
    Args = browserargs.ToArray()
});

I am then passing the proxy password and username over like the answer suggested.
await page.SetExtraHttpHeadersAsync(new Dictionary<string, string>() {
{ "Proxy-Authorization", "Basic " +
    Convert.ToBase64String(Encoding.UTF8.GetBytes(request.proxy.Username + ":" + request.proxy.Password)) }
});

If i load up whatsmyip.org it returns a response but its my local IP not an IP from the proxy. Any idea what I amn doing wrong here?

Could you try removing the spaces before and after the equal here —proxy-server = ?

It looks like it has done something as it is finding there is a proxy now, but it is throwing an exception.
net::ERR_NO_SUPPORTED_PROXIES at http://www.whatsmyip.org/ at http://www.whatsmyip.org/

Try using the authenticate method. See this example in node https://gist.github.com/jancurn/ecf3f04aea3c245498e06a913ce54115#file-puppeteer-proxy-page-authenticate-js

The issue seems to come from the argument that is passed into chrome. I tried using authenticate and i tried removing it completely. Even without passing a username and password into the request, it fails with the same error. I also tried using a different proxy service and I still get the same issue


eta for the 10.x stable release?

is there a ETA for the 10.x release?
some of our projects cannot updated to phpstan 1.x since we rely on symplify.
atm we work arround with non-stable dependencies - which is kind of ugly.
is there any open todo blocking the release? anything I could help with?

Hi, I think main goal now is to test ECS and wait for Symfony 6.0.
We release with PHP and Symfony cycle to make it easier to predict and bump minimal versions together.
You can ping Symfony guys to release before November 30th :)

I see. Thx for the info


[WIP] Add nightingale to postman conversion #4

Implement #4.

[ ] Add test

Please do not merge yet. This PR is to let you know the progress ;) Would remove the WIP tag after adding tests. Thanks!
There are quite a few places where I'm not sure what to do. These are marked with TODO. See if you have any comments on them?

Looks like this feature was added by this pr: https://github.com/jenius-apps/nightingale-core/pull/12. Thanks @roxk for starting this though! I'll close this pr now.


Unable to load via TCL

Hello,
I'm trying to use your package.
Here there is my config:
C:>tclsh
% package require SpirentTestCenter
08:48:47.910 WARN  - Only 8.5.9 and 8.5.14 Tcl versions are officially supported
 from the 8.5 series.
4.73
%
------------------------------------
more "c:\Tcl85\lib\Spirent TestCenter Application\pkgIndex.tcl"
set vers "4.73"
package ifneeded SpirentTestCenterConformance 4.73 "[list set env(STC_CONFIGURATION_FILE) ctsbll.ini]; [list source [file join CTS_INSTALL_DIR SpirentTestCenter.tcl]]; [list package provide SpirentTestCenterConformance 4.73]"
package ifneeded SpirentTestCenter 4.73 [list source [file join "C:/Program Files (x86)/Spirent Communications/Spirent TestCenter 4.73/Spirent TestCenter Application" SpirentTestCenter.tcl]]
package ifneeded stc 4.73 [list source [file join "C:/Program Files (x86)/Spirent Communications/Spirent TestCenter 4.73/Spirent TestCenter Application" SpirentTestCenter.tcl]]
package ifneeded stclib 4.73 [list source [file join "C:/Program Files (x86)/Spirent Communications/Spirent TestCenter 4.73/Spirent TestCenter Application" stclib.tcl]]
------------------------------------
PATH: C:\Tcl85\bin;
      C:\Program Files (x86)\Spirent Communications\Spirent TestCenter 4.73\Spirent TestCenter Application;

That is my little program:
...
install_dir = 'C:/Tcl85/lib'
lab_server = ''

class StcSamples(unittest.TestCase):
    def test_setUp(self):
        super(StcSamples, self).setUp()
        logger = logging.getLogger('log')
        logger.setLevel('DEBUG')
        logger.addHandler(logging.StreamHandler(sys.stdout))
        api_wrapper = StcTclWrapper(logger, install_dir)
        self.stc = StcApp(logger, api_wrapper=api_wrapper)
        self.stc.connect(lab_server)

... and this is the error:
set dir  {C:/Tcl85/lib/Spirent TestCenter Application}
	C:/Tcl85/lib/Spirent TestCenter Application
source  {C:/Tcl85/lib/Spirent TestCenter Application/pkgIndex.tcl}

package require SpirentTestCenter
Error Occured while loading the Spirent Automation Internal Utility Library (couldn't load library "C:/Program Files (x86)/Spirent Communications/Spirent TestCenter 4.73/Spirent TestCenter Application/sTcl.dll": invalid argument).
E
======================================================================
ERROR: test_setUp (__main__.StcSamples)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:/Users/xxx02020/PycharmProjects/untitled4/PyTestCenter-master/ric.py", line 26, in test_setUp
    api_wrapper = StcTclWrapper(logger, install_dir)
  File "C:\Users\xxx02020\PycharmProjects\untitled4\PyTestCenter-master\testcenter\api\stc_tcl.py", line 24, in __init__
    self.ver = self.eval('package require SpirentTestCenter')
  File "C:\Python27\lib\site-packages\trafficgenerator\tgn_tcl.py", line 211, in eval
    self.rc = self.tcl_interp.eval(command)
  File "C:\Python27\lib\site-packages\trafficgenerator\tgn_tcl.py", line 89, in eval
    return self.tcl.eval(command)
TclError: invalid command name "stc_int::salGet

I tried also to add an "a=self.eval('puts $tcl_version')" before line 89 and it is printing 8.5
I don't understand what I'm missing...
Riccardo

2 years without an answer...


Gif is not animated

Hi there !
I'm using your library with seriouslyjs to convert the canvas animation into a gif.
I get no error while running my code, but when I open the blob, I just have the first frame (the one when I clicked the button), but no animation.
I made a codepen to show you, but due to CORS policy you cannot run it directly. However, you can copy/paste the code there and download the videos to perform a quick test locally.

Hi! I think you're getting one single frame because you're calling capturer.capture just once.
Capturer.capture is like .push() into an array: you have to call it every time you want a frame into the final exported file.
I hope that solves your problem.

Yay! It works perfectly, thanks !
I should have thought of it though...
I still have trouble downloading the gif once it is processed. As you do in the basic example, I do the following:
capturer.save(function (
  window.location = blob;
});

But the gif I get there is not a proper gif and when I try to download it, chrome tells me the file is empty.

Do you have any idea ?


Detect Sonos Radio as radio source

This adds an entry for Sonos Radio URIs to properly categorize playing streams as radio for music_source related features.

LGTM -- thanks.


pkg.repository is gitlab:org/subgroup/project which isn't a valid shorthand value supported by npm

Publint throws a warning for a valid value of repository in package.json:
"repository": "gitlab:org/subgroup/project",

Removing the /project makes the warning disappear, which means it probably only accepts a single / in the path

Interesting. Do you have a link to the package on npm where it correctly displays the repository link?

Unfortunately, I do not have a link for such a public npm package. The one I'm talking about is company internal and is published to a private gitlab registry.
Just as an example. This is a gitlab repo that is 4 levels deep: https://gitlab.com/cantera-courses/web-npm/intermedio/npm

I tried looking around but I couldn't find one on npm. My worry is that this syntax might not actually be supported by npm to be displayed on the page, so the warning may be true.
I did some testing with https://www.npmjs.com/package/hosted-git-info though, which I believe is what npm uses to parse the repository field, and it seems to work with the nested paths, so I'll assume that npm is also able to show in on the page then.
In that case I think we can fix the parsing here to make it pass.

Fixed in https://github.com/bluwy/publint/commit/45258060f4ec3c74bdf0c07b85f450af42e16b46

Perfect, thanks for the quick fix @bluwy Now I can enable --strict on our linting


Self-relation doesn't include model fields

Hi!
Schema:
 {
     return [
         ID::make(),
         Number::make('parentId')->sortable(),
         Str::make('name')->sortable(),
         BelongsTo::make('parent')->type('categories'),
         HasMany::make('product-models'),
         SoftDelete::make('deletedAt'),
         DateTime::make('createdAt')->sortable()->readOnly(),
         DateTime::make('updatedAt')->sortable()->readOnly(),
     ];
 }

Returns via /api/v1/categories?include=parent

{
      "type":"categories",
      "id":"100001",
      "attributes":{
         "parentId":100000,
         "name":"Anesthetic Accessories",
         "deletedAt":null,
         "createdAt":"2021-08-30T07:30:55.000000Z",
         "updatedAt":"2021-08-30T07:30:55.000000Z"
      },
      "relationships":{
         "parent":{
            "links":{
               "related":"http:\/\/api.local\/api\/v1\/categories\/100001\/parent",
               "self":"http:\/\/api.local\/api\/v1\/categories\/100001\/relationships\/parent"
            },
            "data":{
               "type":"categories",
               "id":"100000"
            }
         },
         "product-models":{
            "links":{
               "related":"http:\/\/api.local\/api\/v1\/categories\/100001\/product-models",
               "self":"http:\/\/api.local\/api\/v1\/categories\/100001\/relationships\/product-models"
            }
         }
      },
      "links":{
         "self":"http:\/\/api.local\/api\/v1\/categories\/100001"
      }
   },

But when I use specific id in the request, like /api/v1/categories/100004?include=parent, I get "included" section

{
"jsonapi":{
   "version":"1.0"
},
"links":{
   "self":"http:\/\/api.local\/api\/v1\/categories\/100004"
},
"data":{
   "type":"categories",
   "id":"100004",
   "attributes":{
      "parentId":100000,
      "name":"Syringes",
      "deletedAt":null,
      "createdAt":"2021-08-30T07:30:55.000000Z",
      "updatedAt":"2021-08-30T07:30:55.000000Z"
   },
   "relationships":{
      "parent":{
         "links":{
            "related":"http:\/\/api.local\/api\/v1\/categories\/100004\/parent",
            "self":"http:\/\/api.local\/api\/v1\/categories\/100004\/relationships\/parent"
         },
         "data":{
            "type":"categories",
            "id":"100000"
         }
      },
      "product-models":{
         "links":{
            "related":"http:\/\/api.local\/api\/v1\/categories\/100004\/product-models",
            "self":"http:\/\/api.local\/api\/v1\/categories\/100004\/relationships\/product-models"
         }
      }
   },
   "links":{
      "self":"http:\/\/api.local\/api\/v1\/categories\/100004"
   }
},
"included":[
   {
      "type":"categories",
      "id":"100000",
      "attributes":{
         "parentId":null,
         "name":"Anesthetic",
         "deletedAt":null,
         "createdAt":"2021-08-30T07:30:55.000000Z",
         "updatedAt":"2021-08-30T07:30:55.000000Z"
      },
      "relationships":{
         "parent":{
            "links":{
               "related":"http:\/\/api.local\/api\/v1\/categories\/100000\/parent",
               "self":"http:\/\/api.local\/api\/v1\/categories\/100000\/relationships\/parent"
            }
         },
         "product-models":{
            "links":{
               "related":"http:\/\/api.local\/api\/v1\/categories\/100000\/product-models",
               "self":"http:\/\/api.local\/api\/v1\/categories\/100000\/relationships\/product-models"
            }
         }
      },
      "links":{
         "self":"http:\/\/api.local\/api\/v1\/categories\/100000"
      }
   }
]
}

Can you help, please.

In JSON:API relationships contain relationship identifiers - i.e. only the type/id of the related resource. To get the attributes, you have to use the include query parameter, which will add the full resource to the included top-level member of the JSON document.
I think that answers your question. If not, please re-open the issue and provide more detail about what you're asking!

PS: This issue is in the wrong repository - if you do need to re-open the issue, please open it in laravel-json-api/laravel.

@lindyhopchris Sorry, maybe I was miss understood, I do not get "included" section when my query is like via /api/v1/categories?include=parent, do we speak about same things?

Oh right sorry, I was confused by the formatting in the issue description.
What you're trying to do is fully unit tested, so isn't a bug with this package. Is there a scenario where the parent relationship could have a relationship value but the inverse model doesn't exist?
This will be pretty hard for me to debug in your application so you're probably going to need to debug it yourself. If you have more information to give, please can you open an issue in the correct repository?

Thank you, we will try to debug and if find unresolvable situation let you know.


Update CI

Nothing special, just making the workflow a bit more up-to-date again.

Done in other PRs.


Include all contributors in main page

Using the @all-contributors bot

@all-contributors add @vsevel for code

@all-contributors add @vsevel for code and maintenance

@all-contributors add @vsevel for code and maintenance

@all-contributors add @vsevel for code and maintenance


Feature Request: Add support for buildArgs/DockerImageAssetProps

There is no buildArgs options for the Source object. This is available in DockerImageAsset and it is a basic feature that should be added.
Better than that would be actually being able to use DockerImageAssetProps as the Source parameter.
Suggestion:
/**
 * Source of docker image deployment is a local image from a directory
 */
class DirectorySourceWithAssetProps extends imagedeploy.Source {
	constructor(
		private assetProps: ecrAssets.DockerImageAssetProps
	) {
		super()
	}

	public bind(scope: Construct, context: imagedeploy.SourceContext): imagedeploy.SourceConfig {

		const asset = new ecrAssets.DockerImageAsset(scope, "asset", this.assetProps)

		const accountId = asset.repository.env.account
		const region = asset.repository.env.region

		asset.repository.grantPull(context.handlerRole)

		return {
			imageUri: asset.imageUri,
			loginConfig: {
				loginCommand: `aws ecr get-login-password --region ${region} | docker login --username AWS --password-stdin ${accountId}.dkr.ecr.${region}.amazonaws.com`,
				region: region,
			},
			// uri will be something like 'directory/of/image:tag' so this picks out the tag from the token
			imageTag: cdk.Fn.select(1, cdk.Fn.split(":", asset.imageUri))
		}
	}
}

Thank you suggesting this. I am going to cover this with the existing Source.directory API, but now you can pass in asset props. It will look like this:
new imagedeploy.DockerImageDeployment(this, 'assetOptions', {
  source: imagedeploy.Source.directory('test/assets/test1', {
    buildArgs: {
      HTTP_PROXY: 'http://<IP_ADDRESS>:1234',
    },
  }),
  destination: imagedeploy.Destination.ecr(repo, {
    tag: 'buildArgs',
  }),
});

Will be added by the linked PR!


Removing metadata fields may fail on first try

Go to metadata
Add a presenter
Select a series
While the series field is active, try removing the presenter by clicking on the ×

Nothing happens

Click on the × again

Now the value gets removed

Obviously, you would expect this to work on the first try.
https://user-images.githubusercontent.com/1008395/162442004-03dcb187-652d-4c46-8581-be359676fad1.mp4
Tested in Firefox 98.0.2 (64-bit)

Likely cause for this:

Change value in series select
Click on x
Value gets removed from internal react-select state
Series select is now unfocused, onBlur triggers and updates redux state
Redux state causes rerender, overwrites interal react-select state and thus undoes the removal

Unfortunately, I don't see an easy fix for this with how we currently handle Metadata.


Preview page mode

Hi
The nuxtJS does not currently support preview in when generating a static site? is this right?
I'm building an app with target static but not working.
Have you guys any suggest? ^^

Hey @hungvo-madison, thanks for contributing!
I'm not sure I fully got your issue, Prismic previews should be working fine with static sites using this module.
If you have trouble setting up those I'd suggest you using our community forum. If you feel you found a bug please provide more information here (reproduction, package.json, nuxt.config.js, etc.), I'll do my best to help you~ :relaxed:
Cheers!

Closing this issue since stale, feel free to reopen if needed!


Multiple Languages and Accessibility

We are at the beginning; we have accomplished a lot in a brief time. This is amazing.
I think we should ensure that focusing on Inclusivity and Accessibility are at the forefront of our progress.
With this in mind I add this issue -
We should ensure that we support languages other than English and ensure that our assets are accessible for all

For the asset piece of the puzzle, I've found (yet another) no-config bot that might work well - AccessLint which checks for alt text and other areas that are key for accessibility in HTML.
Example of it working on one of my repos here.

Likewise, I was thinking of a PR to add the quick-and-dirty accessibility widget (adjusts contracts, fonts, CSS, etc.) that could take some of the initial burden off designing the site perfectly accessible from the start - but was unsure how the current pages are being generated and if adding the below manually to them would be a problematic integration point:
<script>
    (function(d){
         var s = d.createElement("script");
         /* uncomment the following line to override default position*/
         /* s.setAttribute("data-position", 3);*/
         /* uncomment the following line to override default size (values: small, large)*/
         /* s.setAttribute("data-size", "small");*/
         /* uncomment the following line to override default language (e.g., fr, de, es, he, nl, etc.)*/
         /* s.setAttribute("data-language", "language");*/
         /* uncomment the following line to override color set via widget (e.g., #053f67)*/
         /* s.setAttribute("data-color", "#053e67");*/
         /* uncomment the following line to override type set via widget (1=person, 2=chair, 3=eye, 4=text)*/
         /* s.setAttribute("data-type", "1");*/
         /* s.setAttribute("data-statement_text:", "Our Accessibility Statement");*/
         /* s.setAttribute("data-statement_url", "http://www.example.com/accessibility")";*/
         /* uncomment the following line to override support on mobile devices*/
         /* s.setAttribute("data-mobile", true);*/
         /* uncomment the following line to set custom trigger action for accessibility menu*/
         /* s.setAttribute("data-trigger", "triggerId")*/
         s.setAttribute("src", "https://cdn.userway.org/widget.js");
         (d.body || d.head).appendChild(s);
    })
    (document);
</script>

Again, example of it on my site here (bottom right).

@SQLDBAWithABeard
Is there any way to hide bot's comments with accessibility links in personal feed in case someone does not need these information (in my case the site is also blocked at work)?

@SQLDBAWithABeard
Is there any way to hide bot's comments with accessibility links in personal feed in case someone does not need these information (in my case the site is also blocked at work)?

Hello, I can help with the Spanish translation for the site.


Add MSTest.TestAdapter package

Fix the build error

@yiylin,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Edge Linux failing DRM tests in GitHub Actions

Edge Linux is failing DRM tests in GitHub Actions due to what appears to be an outdated Widevine CDM that can no longer get licenses from Axinom.

environment
OS
Edge version
result

My Linux desktop
Ubuntu 22.04.1
108
:heavy_check_mark:

GitHub Actions
Ubuntu 22.04.1
107
:x:

Shaka lab
Ubuntu 20.04.5
107
:x:

Shaka lab
Ubuntu 20.04.5
108(just upgraded)
:heavy_check_mark:

Example: https://github.com/shaka-project/shaka-player/actions/runs/3680951299/jobs/6227933097

Looks like an update to Edge 108 solves it.  I've upgraded our lab environment.  I might be able to force an update in GitHub Actions, as well.


tuf-gaming-x870-plus-wifi: Bluetooth is loaded but It does not work.

Hi folks,
I have system 24.05 version already installed but, I have kernel, linux-firmware and nvidia drivers from unstable.
uname -a: Linux tank0 6.11.4 #1-NixOS SMP PREEMPT_DYNAMIC Thu Oct 17 13:27:02 UTC 2024 x86_64 GNU/Linux
This is my motherboard: https://www.asus.com/motherboards-components/motherboards/tuf-gaming/tuf-gaming-x870-plus-wifi/
[    7.365501] Bluetooth: Core ver 2.22
[    7.365509] NET: Registered PF_BLUETOOTH protocol family
[    7.365510] Bluetooth: HCI device and connection manager initialized
[    7.365512] Bluetooth: HCI socket layer initialized
[    7.365514] Bluetooth: L2CAP socket layer initialized
[    7.365516] Bluetooth: SCO socket layer initialized
[    7.865402] Bluetooth: hci0: HW/SW Version: 0x00000000, Build Time:<PHONE_NUMBER>3202
[    9.195980] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    9.195984] Bluetooth: BNEP socket layer initialized
[   26.250299] Bluetooth: hci0: Device setup in 18109067 usecs
[   26.250303] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
[   26.410455] Bluetooth: MGMT ver 1.23
[   26.429836] Bluetooth: RFCOMM TTY layer initialized
[   26.429840] Bluetooth: RFCOMM socket layer initialized
[   26.429843] Bluetooth: RFCOMM ver 1.11

lsmod
lsmod |grep bt
btusb                  77824  0
btrtl                  32768  1 btusb
btintel                69632  1 btusb
btbcm                  24576  1 btusb
btmtk                  32768  1 btusb
bluetooth            1073152  44 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm

systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
     Loaded: loaded (/etc/systemd/system/bluetooth.service; enabled; preset: enabled)
    Drop-In: /nix/store/5lavl80b872zxc3xv7qaiigm2q7y44cd-system-units/bluetooth.service.d
             └─overrides.conf
     Active: active (running) since Tue 2024-10-22 21:15:50 CEST; 3h 0min ago
       Docs: man:bluetoothd(8)
   Main PID: 1107 (bluetoothd)
     Status: "Running"
         IP: 0B in, 0B out
         IO: 1.9M read, 0B written
      Tasks: 1 (limit: 75921)
     Memory: 2.9M (peak: 3.3M)
        CPU: 27ms
     CGroup: /system.slice/bluetooth.service
             └─1107 /nix/store/4jk7imhlawwja56kdvqwiiznjv19zv91-bluez-5.75/libexec/bluetooth/bluetoothd -f /etc/bluetooth/main.conf

oct 22 21:16:08 tank0 bluetoothd[1107]: Endpoint registered: sender=:1.90 path=/MediaEndpoint/A2DPSource/opus_05
oct 22 21:16:08 tank0 bluetoothd[1107]: Endpoint registered: sender=:1.90 path=/MediaEndpoint/A2DPSink/opus_05_duplex
oct 22 21:16:08 tank0 bluetoothd[1107]: Endpoint registered: sender=:1.90 path=/MediaEndpoint/A2DPSource/opus_05_duplex
oct 22 21:16:08 tank0 bluetoothd[1107]: src/gatt-database.c:database_add_chrc() Failed to create characteristic entry in database
oct 22 21:16:08 tank0 bluetoothd[1107]: src/gatt-database.c:database_add_service() Failed to add characteristic
oct 22 21:16:08 tank0 bluetoothd[1107]: src/gatt-database.c:database_add_app() Failed to add service
oct 22 21:16:08 tank0 bluetoothd[1107]: src/gatt-database.c:client_ready_cb() Failed to create GATT service entry in local database
oct 22 21:18:32 tank0 bluetoothd[1107]: Controller resume with wake event 0x0
oct 22 23:55:30 tank0 bluetoothd[1107]: Controller resume with wake event 0x0
oct 22 23:56:24 tank0 bluetoothd[1107]: Controller resume with wake event 0x0

bluetoothctl
Waiting to connect to bluetoothd...
[bluetooth]# hci0 new_settings: powered bondable ssp br/edr le secure-conn wide-band-speech cis-central cis-peripheral iso-broadcaster sync-receiver
[bluetooth]# Agent registered
[bluetooth]# [CHG] Controller XX:XX:XX:5A:42:79 Pairable: yes
[bluetooth]# scan on
[bluetooth]# SetDiscoveryFilter success
[bluetooth]# Failed to start discovery: org.bluez.Error.InProgress
[bluetooth]# scan off
[bluetooth]# Failed to stop discovery: org.bluez.Error.Failed

Solved https://github.com/bluez/bluez/issues/995


Adobe Creative Suite 6 Master Collection: Use system language.

Checklist

[x] The commit message includes the cask’s name and version.
[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.

Merging this in the same vein as https://github.com/caskroom/homebrew-cask/pull/24388.


fix: Only run createNewSafe if user wallet is connected

What it solves
Resolves #3498 (partially)
How this PR fixes it
When calling createNewSafe we only proceed with the Tx proposal if the users wallet is connected.
How to test it

Open the Safe App
Create a new Safe
Reject the Transaction via MetaMask
Reload the page
Observe that MetaMask opens again
Observe that there is no error and the Retry button is not visible

Screenshots
Before - After

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.008%) to 34.532%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/routes/CreateSafePage/components/SafeCreationProcess.tsx
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/routes/CreateSafePage/components/SafeCreationProcess.tsx
1
4.62%

Totals

Change from base Build<PHONE_NUMBER>:
-0.008%

Covered Lines:
3318

Relevant Lines:
8623

💛  - Coveralls

Following the steps I had no issues creating a safe in polygon. the MM pops up after refreshing the page, no error notification is shown and the safe creates just fine


Split Web Animations data

The Web Animations API is a big API and has been implemented in various stages in the different engines. I think the data here would be more useful to authors if we split it into three parts:

Web Animations API: Element.animate() - Supported since Chrome 36, Firefox 48, and Safari 13.4? (With a note that support for implicit 0%/100% keyframes was added later in Chrome and Firefox)
Web Animations API: getAnimations() - Supported since Firefox 75, Chrome 84?, and Safari 13.4?
Web Animations API: animation compositing - Shipping in Chrome 84 and Firefox 80. Not yet implemented in Safari.

@lpd-au @kevers-google @graouts @flackr - Does this breakdown seem reasonable to you?

It definitely makes sense to me to split this into something like web-animations-0 (element.animate), web-animations-1 (for recently shipped stuff) and more detailed individual future features like compositing.

Can certainly see the value in doing a split as it is a really big API. If split, it may be worth going into a bit more details in the version where getAnimations is introduced on interacting with CSS animations and transitions via the web animation API. There are quite a few subtleties that are captured in  WPT tests that are presently marked tentative and which could be more clearly flushed out.   For example, clearly stating when a style flush is required.  It would also be worth thinking about ScrollTimelines and how they fit in.  There were some recent spec changes to play and pause in order to support non-monotonic timelines; however, to the best of my knowledge, most browsers do not currently support non-monotonic timelines (actively being worked on in Blink).  I certainly don't want to come across as critical of the API, as it was a massive undertaking and quite comprehensive.  Worth thinking about how we can avoid "moving the goalposts" on the API.

Can certainly see the value in doing a split as it is a really big API. If split, it may be worth going into a bit more details in the version where getAnimations is introduced on interacting with CSS animations and transitions via the web animation API.

I think caniuse should probably be fairly coarse-grained but we can use the annotations to indicate major deficiencies (e.g. no support for implicit to/from keyframes).

There are quite a few subtleties that are captured in WPT tests that are presently marked tentative and which could be more clearly flushed out. For example, clearly stating when a style flush is required.

I may be misunderstanding but I don't think that belongs in caniuse?
I thought the spec was pretty clear on when style flushes are required. If there are places where it is not explicit, would you mind filing issues on the spec?

It would also be worth thinking about ScrollTimelines and how they fit in. There were some recent spec changes to play and pause in order to support non-monotonic timelines; however, to the best of my knowledge, most browsers do not currently support non-monotonic timelines (actively being worked on in Blink).

I think they should be yet another entry in caniuse.


[WIP] OLS-567: Bunlde uses production images

Description
Make bunlde refer to images from production repository.
For CI prow tests, we use image substitutions defined in this PR https://github.com/openshift/release/pull/54620
For konflux tests, we are going to create ImageDigestMirrorSet to point images to images built in PR.
Content is generated by these commands
#!/bin/bash

OPERATOR_IMAGE="registry.redhat.io/openshift-lightspeed-beta/lightspeed-rhel9-operator:0.0.1"
BUNDLE_IMAGE="registry.redhat.io/openshift-lightspeed-beta/lightspeed-operator-bundle:0.0.1"
CONSOLE_IMAGE="registry.redhat.io/openshift-lightspeed-beta/lightspeed-console-plugin-rhel9:0.0.1"
SERVICE_IMAGE="registry.redhat.io/openshift-lightspeed-beta/lightspeed-service-api-rhel9:0.0.1"
RELATED_IMAGES=$(
  cat <<-EOF
[
  {
    "name": "lightspeed-service-api",
    "image": "${SERVICE_IMAGE}"
  },
  {
    "name": "lightspeed-console-plugin",
    "image": "${CONSOLE_IMAGE}"
  },
  {
    "name": "lightspeed-operator",
    "image": "${OPERATOR_IMAGE}"
  }
]
EOF
)

find config/ -type f -name "*.yaml" | while read -r manifest; do
  echo "Updating ${manifest}"
  sed -i 's|quay\.io/redhat-user-workloads/crt-nshift-lightspeed-tenant/ols/lightspeed-operator@sha256:[0-9a-f]\{64\}|'"${OPERATOR_IMAGE}"'|g' ${manifest}
  sed -i 's|quay\.io/redhat-user-workloads/crt-nshift-lightspeed-tenant/ols/lightspeed-console@sha256:[a-z0-9]\{64\}|'"${CONSOLE_IMAGE}"'|g' ${manifest}
  sed -i 's|quay\.io/redhat-user-workloads/crt-nshift-lightspeed-tenant/ols/lightspeed-service@sha256:[0-9a-f]\{64\}|'"${SERVICE_IMAGE}"'|g' ${manifest}
done

# Put BUNDLE_IMAGE=$BUNDLE_IMAGE when the bunlde is built and pushed to the staging registry
OPERATOR_IMAGE=${OPERATOR_IMAGE} RELATED_IMAGES=${RELATED_IMAGES} ./hack/update_bundle_catalog.sh

Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[x] Configuration Update
[ ] Bump-up dependent library

Related Tickets & Documents

Related Issue # OLS-567
Closes #

Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

/lgtm
/approve

/retest "Red Hat Konflux / ols-enterprise-contract / bundle"

/test "Red Hat Konflux / ols-enterprise-contract / bundle"

/retest

retest the E2E tests after merging https://github.com/openshift/release/pull/54714

/retest-required

/test bundle-e2e-4-15

/test ci-index-lightspeed-bundle-test

seems a hiccup from CI system
time="2024-07-24T10:40:50Z" level=error msg="permissive mode disabled" bundles="[registry.build02.ci.openshift.org/ci-op-npkmwr5y/pipeline@sha256:865ddf51f4344d10788136db45249a76b36b729c9e701cfea17a3439217c58a8]" error="[error resolving name : failed to authorize: failed to fetch oauth token: unexpected status: 504 Gateway Time-out, image \"registry.build02.ci.openshift.org/ci-op-npkmwr5y/pipeline@sha256:865ddf51f4344d10788136db45249a76b36b729c9e701cfea17a3439217c58a8\": not found]"
Error: [error resolving name : failed to authorize: failed to fetch oauth token: unexpected status: 504 Gateway Time-out, image "registry.build02.ci.openshift.org/ci-op-npkmwr5y/pipeline@sha256:865ddf51f4344d10788136db45249a76b36b729c9e701cfea17a3439217c58a8": not found]

/override "Red Hat Konflux / ols-e2e-tests-rosa / bundle"
/override "Red Hat Konflux / ols-enterprise-contract / bundle"

/lgtm
/approve


Add Subpixel Smoothing Focusing2D Notebook

This notebook contains the subpixel smoothing code written in Julia and illustrated with the Focusing 2D example.
The focusing 2D example is run with the degrees of freedom placed on a 2D rectilinear grid. Smoothing and projection take place on this grid with the same functions found in meep. The grid is then interpolated onto the FE space with a simple bilinear interpolation.
The smoothing radius used is 10nm. A large quadrature order (10) is used in the design region to resolve the sub pixel features while keeping the rectilinear pixels small enough to fix.
The original notebook achieves an objective value of about 173 using order 2 quadrature and 155 using order 4. This notebook achieves an objective value of 168 with the rectilinear grid and subpixel smoothing formulation. The optimized device is also very similar.
(cc @smartalecH)

I noticed in your setup that you are gradually ramping up β with values 8, 16, 32, and 64 . Out of curiosity, what happens to the final result if you just perform a single epoch using β = 64?

I noticed in your setup that you are gradually ramping up β with values 8, 16, 32, and 64 . Out of curiosity, what happens to the final result if you just perform a single epoch using β = 64?

In my setup I use β = [8.0, 16.0, 32.0, ∞]
I considered a few cases. When I use only a single epoch at β=∞, the geometry always seems to converge to a structure with an objective value of ~30 that looks like:

When I consider two epochs at β=[8.0, ∞], the device is similar to all four epochs but the performance is moderately degraded (g=130):

I considered a few cases. When I use only a single epoch at β=∞, the geometry always seems to converge to a structure with an objective value of ~30 that looks like

The initial design uses 0.5 everywhere in the design grid. What happens if you use several different random initial designs and run for a single epoch using β=∞?
It would be useful to determine whether we just happen to be converging to a poor local optima using a constant initial design or whether something about the subpixel smoothing itself (or the way it is set up, i.e. choice of smoothing radius) is affecting the convergence.

What happens if you use several different random initial designs and run for a single epoch using β=∞?

When I initialize any geometry with similar topology as the the target device, it converges into a shape similar to what I posted above for the shape opt. If instead I begin with a completely random material distribution, then it struggles way harder and converges into some random design with incredibly poor performance:

The initial design uses 0.5 everywhere in the design grid. What happens if you use several different random initial designs and run for a single epoch using β=∞?

@oskooi note that if β=∞, you can't optimize a design with 0.5 everywhere. The optimizer won't do anything. You need to add some noise.

Referencing our discussion in meep, which will require an update here too.

Upon updating the code to reflect the fix, I tried the shape opt again:

Clearly it's still converging to these strange solutions (especially looking at the parameters in the lower right). It's also updating incredibly slowly which leads me to believe the size of the radius and quadrature might need further tuning with the grid to make the shape opt converge to the correct solution...


Testflight delivery is failing

New Issue Checklist

[ ] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
We are using gradle to invoke the testflight to upload the ipa, it was working but started failing from today.
Command executed

./gradlew deploy-testflight
Complete output when running fastlane, including the stack trace and command used

+ ./gradlew deploy-testflight '--Pass=****'
Reckoned version: 0.1.0-dev.0.7756+20190926T104116Z
:scaffold
:deploy-testflightIgnoring unf_ext-<IP_ADDRESS> because its extensions are not built.  Try: gem pristine unf_ext --version <IP_ADDRESS>
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Using CFPropertyList 3.0.0
Using public_suffix 2.0.5
Using addressable 2.6.0
Using atomos 0.1.3
Using babosa 1.0.2
Using bundler 2.0.2
Using claide 1.0.2
Using colored 1.2
Using colored2 3.1.2
Using highline 1.7.10
Using commander-fastlane 4.4.6
Using declarative 0.0.10
Using declarative-option 0.1.0
Using digest-crc 0.4.1
Using unf_ext <IP_ADDRESS>
Using unf 0.1.4
Using domain_name 0.5.20180417
Using dotenv 2.7.4
Using emoji_regex 1.0.1
Using excon 0.64.0
Using multipart-post 2.0.0
Using faraday 0.15.4
Using http-cookie 1.0.3
Using faraday-cookie_jar 0.0.6
Using faraday_middleware 0.13.1
Using fastimage 2.1.5
Using gh_inspector 1.1.3
Using jwt 2.1.0
Using memoist 0.16.0
Using multi_json 1.13.1
Using os 1.0.1
Using signet 0.11.0
Using googleauth 0.6.7
Using httpclient 2.8.3
Using mime-types-data 3.2019.0331
Using mime-types 3.2.2
Using uber 0.1.0
Using representable 3.0.4
Using retriable 3.1.2
Using google-api-client 0.23.9
Using google-cloud-env 1.2.0
Using google-cloud-core 1.3.0
Using google-cloud-storage 1.16.0
Using json 2.2.0
Using mini_magick 4.5.1
Using multi_xml 0.6.0
Using plist 3.5.0
Using rubyzip 1.2.3
Using security 0.1.3
Using naturally 2.2.0
Using simctl 1.6.5
Using slack-notifier 2.3.2
Using terminal-notifier 2.0.0
Using unicode-display_width 1.6.0
Using terminal-table 1.8.0
Using tty-screen 0.7.0
Using tty-cursor 0.7.0
Using tty-spinner 0.9.1
Using word_wrap 1.0.0
Using nanaimo 0.2.6
Using xcodeproj 1.10.0
Using rouge 2.0.7
Using xcpretty 0.3.0
Using xcpretty-travis-formatter 1.0.0
Using fastlane 2.126.0
Using fastlane-plugin-appcenter 1.0.1 from https://github.com/Microsoft/fastlane-plugin-appcenter (at master@74d304d)
Bundle complete! 2 Gemfile dependencies, 66 gems now installed.
Bundled gems are installed into ../../../.bundle
PROJECT: /Users/admin/Jenkins/workspace/Development
TARGET PLATFORM: ios
Found binary at: ./build/iOS/File_iOS.ipa
[ios, deployTestFlight, path:./build/iOS/File_iOS.ipa, pass:****]
+---------------------------+---------+------------------+
|                      Used plugins                      |
+---------------------------+---------+------------------+
| Plugin                    | Version | Action           |
+---------------------------+---------+------------------+
| fastlane-plugin-appcenter | 1.0.1   | appcenter_upload |
+---------------------------+---------+------------------+
03:41:29: --- Step: default_platform ---
03:41:29: Driving the lane 'ios deployTestFlight' 🚀
03:41:29: uploading iOS version to Testflight
03:41:29: --- Step: upload_to_testflight ---
03:41:29: Login to App Store Connect<EMAIL_ADDRESS>[03:41:31]: Login successful
[03:41:34]: Ready to upload new build to TestFlight (App: xxxxxxxxxx)...
[03:41:36]: Going to upload updated app to App Store Connect
[03:41:36]: This might take a few minutes. Please don't interrupt the script.
03:45:24: [Transporter Error Output]: Could not start delivery: all transports failed diagnostics
03:45:24: Transporter transfer failed.
03:45:24:
03:45:24: Could not start delivery: all transports failed diagnostics
03:45:24: [iTMSTransporter] [2019-09-26 03:45:23 PDT]   INFO: Signiant TransferEngine build <IP_ADDRESS>156
03:45:24: [iTMSTransporter] [2019-09-26 03:45:23 PDT]   INFO: Using Signiant UDP transport
03:45:24: [iTMSTransporter] [2019-09-26 03:45:23 PDT]  DBG-X: Setting the target rate to 15000001 bytes per second.
03:45:24: [iTMSTransporter] [2019-09-26 03:45:23 PDT]  DBG-X: Setting the throttle to 12500000 bytes per second.
03:45:24: [iTMSTransporter] [2019-09-26 03:45:23 PDT]   INFO: The Signiant transfer engine's status is DISCONNECTED
03:45:24: [iTMSTransporter] [2019-09-26 03:45:23 PDT]  ERROR: Could not start delivery: all transports failed diagnostics
03:45:24: [iTMSTransporter] Package Summary:
03:45:24: [iTMSTransporter] 1 package(s) were not uploaded because they had problems:
03:45:24: [iTMSTransporter] 	/var/folders/xc/qd_8vt3s1c31f5nlc7b3tb680000gq/T/d20190926-25857-duislo/1404391756.itmsp - Error Messages:
03:45:24: [iTMSTransporter] 		Could not start delivery: all transports failed diagnostics
03:45:24: [iTMSTransporter] [2019-09-26 03:45:24 PDT]  DBG-X: Returning 1
03:45:24: iTunes Transporter output above ^
03:45:24: Could not start delivery: all transports failed diagnostics
Return status of iTunes Transporter was 1: Could not start delivery: all transports failed diagnostics
The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
+------------------+----------------------+
|              Lane Context               |
+------------------+----------------------+
| DEFAULT_PLATFORM | ios                  |
| PLATFORM_NAME    | ios                  |
| LANE_NAME        | ios deployTestFlight |
+------------------+----------------------+
03:45:24: Error uploading ipa file, for more information see above
+------+----------------------+-------------+
|             fastlane summary              |
+------+----------------------+-------------+
| Step | Action               | Time (in s) |
+------+----------------------+-------------+
| 1    | default_platform     | 0           |
| 💥   | upload_to_testflight | 235         |
+------+----------------------+-------------+
+-----------+--------------+----------------+
|         Plugin updates available          |
+-----------+--------------+----------------+
| Plugin    | Your Version | Latest Version |
+-----------+--------------+----------------+
| appcenter | 1.0.1        | 1.4.0          |
+-----------+--------------+----------------+
03:45:24: To update all plugins, just run
03:45:24: $ bundle exec fastlane update_plugins
03:45:24: fastlane finished with errors
[!] Error uploading ipa file, for more information see above
#######################################################################
fastlane 2.131.0 is available.
You should use the latest version.
Please update using bundle update fastlane.
#######################################################################
2.131.0 Improvements

[cert/resign] Fix simple typo: provisiong -> provisioning (#15293) via Tim Gates

[Fastlane.swift] fix support for rendering single line description of plugin actions on docs (#15266) via Daniel Jankowski

[action] app_store_build_number: Changed the sort value for when returning the list of builds from the Connect API for TestFlight builds (#14872) via Vladimir Zdravkovic

[gym] provide bcsymbolmap path to dsymutil for each architecture (#15243) via Lev Sokolov

[match] add option to  skip provisioning profiles (#15223) via Addison Brickey

[action] is_ci also looks at GITHUB_ACTIONS (#15232) via Koen Punt

[action] gradle: Add support for GRADLE_OUTPUT_JSON_OUTPUT_PATH and GRADLE_ALL_OUTPUT_JSON_OUTPUT_PATHS (#15238) via IKEDA Sho

[Fastlane.swift] remove puts in swift_fastlane_api_generator.rb (#15263) via Josh Holtz

[Fastlane.swift] Ignore files that don't contain FastlaneRunnerAPIVersion (#15262) via Jean Mainguy

[match/crashlytics] fix unknown method error (#15256) via Piet Brauer

[Fastlane.swift] add missing FastlaneRunnerAPIVersion comment (#15258) via Jean Mainguy

[action] download_dsyms - do not attempt to download Dsyms if the dsym_url is missing. (#15260) via George Tsifrikas

[action] download_dsyms - replace error with message when no dSYM found (#15259) via Jean Mainguy

2.130.0 Fastlane.swift for plugins and other improvements

[Fastlane.swift] generate Swift API for third party plugins and local actions (#15203) via Josh Holtz

[action] register_devices: Update file format (#15176) via Matěj Kašpar Jirásek

[spaceship] adding support for DEP_ID (#14852) via heartofagoof

[action] is_ci - added support for Github Actions CI (#15227) via Rishabh Tayal

[gym] remove is_string option on skip_codesigning (#15225) via Josh Holtz

[sigh] allow download_all to support the platform option (#15175) via nanci

[gym] add skip codesign option to build_ios_app (#15189) via Cameron Lowell Palmer

[action] plugin_scores: Add support for rendering multiline description of plugin actions on docs (#15212) via Daniel Jankowski

[download_dsyms] ix wait for dSYM file to appear on App Store Connect (#15049) via Jean Mainguy

[action] slather: Add :binary_file support for handling multiple input files (#15220) via Rob Nadin

[action] danger: Support for remove-previous-comments option (#15206) via Eric Jensen

[spaceship] changed body['resultString'] to body['userString'] as only userString contains the phrase 'Program License Agreement' whose inclusivity we are checking (#15193) via Ali Fawad

[snapshot] added --force option to fastlane snapshot update (#15187) via Josh Landry

[action] only add derived data parameter if it's set, and command is update, build… (#15166) via Jesper Westervig Nielsen

[core] chomp, not strip output in CommandExecutor (#15132) via Artem Sheremet

[CI] Run tests with Xcode 11 (and ruby 2.5) on Circle CI (#15142) via Jan Piotrowski

2.129.0 Improvements

[spaceship/cert] add Apple Development and Apple Distribution certificate type (#15130) via Yoshimasa Niwa

[action] add SonarQube pull request parameters to sonar (#15069) via Damien R

[spaceship] add option to upload and view merch_screenshot (#15080) via Max Ott

[action] add environment variables for pod push (#15127) via bouldering-machine

[action] fix for Xcode 11 when using $(MARKETING_VERSION) in get_version_number (#15139) via Florent Morin

[spaceship] add invited state for TestFlight beta testers. (#15126) via Hugo Sousa

[gym/scan] fix suppress_xcode_output parameter type (#15152) via Jean Mainguy

[Fastlane.swift] options of is_string: false should be Any and not String (#15165) via Josh Holtz

[match] fix match not making new profiles for force_for_new_devices (#15164) via Josh Holtz

[snapshot] replace Objective-C-style NSMakeRange with Swift-style NSRange.init (#15128) via Roman Podymov

[spaceship] map additional build details (#15094) via Max Ott

[action] update_fastlane: Fix broken link (#15086) via Stefan Painhapp

[fastlane] allow Crashlytics devtools.jar to be auto updated (#15095) via Jeremy Durham

To see all new releases, open https://github.com/fastlane/fastlane/releases
Please update using bundle update fastlane
:deploy-testflight FAILED
:cleanfastlane
FAILURE: Build failed with an exception.

What went wrong:

Execution failed for task ':deploy-testflight'.

Bundle install finished with non-zero exit value 1

Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 4m 12s
3 actionable tasks: 3 executed
script returned exit code 1

Environment

 Ignoring unf_ext-<IP_ADDRESS> because its extensions are not built.  Try: gem pristine unf_ext --version <IP_ADDRESS>
[✔] 🚀
[04:11:15]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[04:11:16]: Generating fastlane environment output, this might take a few seconds...
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.14.6

Ruby
2.3.7

Bundler?
false

Git
git version 2.20.1 (Apple Git-117)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.14.6 (18G84)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib

OpenSSL Version
LibreSSL 2.6.5

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode-10.2.1.app/Contents/Developer/

Xcode Version
10.2.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.111.0
🚫 Update available

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.0.0

slack-notifier
2.3.2

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
1.8.0

unicode-display_width
1.4.0

terminal-table
1.8.0

plist
3.4.0

CFPropertyList
3.0.0

public_suffix
2.0.5

addressable
2.5.2

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.6.5

tty-cursor
0.6.0

tty-spinner
0.9.0

babosa
1.0.2

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.62.0

faraday
0.15.4

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20180417

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.5

gh_inspector
1.1.3

json
<IP_ADDRESS>

mini_magick
4.5.1

multi_json
1.13.1

multi_xml
0.6.0

rubyzip
1.2.2

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.5.0

bundler
1.17.2

faraday_middleware
0.12.2

naturally
2.2.0

simctl
1.6.5

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mime-types-data
3.2018.0812

mime-types
3.2.2

jwt
2.1.0

signet
0.11.0

memoist
0.16.0

os
1.0.0

googleauth
0.6.7

httpclient
2.8.3

google-api-client
0.23.9

google-cloud-env
1.0.5

google-cloud-core
1.2.7

digest-crc
0.4.1

google-cloud-storage
1.15.0

emoji_regex
0.1.1

io-console
0.4.5

libxml-ruby
2.9.0

atomos
0.1.3

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.8.2

psych
<IP_ADDRESS>

generated on: 2019-09-26
[04:11:16]: Take notice that this output may contain sensitive information, or simply information that you don't want to make public.
[04:11:16]: 🙄  Wow, that's a lot of markdown text... should fastlane put it into your clipboard, so you can easily paste it on GitHub? (y/n)

This is related to the same issue https://github.com/fastlane/fastlane/issues/15375

Same here with fastlane 2.131.0 (without gradle)


Support overridding cache configuration

Tracking issue
NA
Why are the changes needed?
Enables cache overrides.
What changes were proposed in this pull request?
^^^
How was this patch tested?
Locally.
Setup process
Screenshots
Check all the applicable boxes

[ ] I updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] All commits are signed-off.

Related PRs
NA
Docs link
NA

Is this PR tested end to end with a workflow submission?
I've tried task.with_overrides(cache=cache, cache_version=cache_version, name="new_name") but it doesn't work.