Unable to open the cypress runner

Hello, I'm new to cypress and currently in learning phase.
Earlier all working fine. I was getting the interest, but suddenly test runner is stop working.
I'm getting below error.
PS C:\Users\Lenovo\CypressAutomation> npx cypress open
(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false".  It will change to be "true" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397
(node:16400) DeprecationWarning: Passing functions, DOM objects and other non-cloneable JavaScript objects to IPC methods is deprecated and will throw an exception beginning with Electron 9.
(node:16400) DeprecationWarning: Passing functions, DOM objects and other non-cloneable JavaScript objects to IPC methods is deprecated and will throw an exception beginning with Electron 9.

I tried to fix it by updating the package.json
{
"name": "cypressautomation",
"version": "4.2.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"author": "",
"license": "ISC",
"devDependencies": {
"cypress": "^12.17.3",
"cypress-iframe": "^1.0.1",
"electron": "^9.0.0"
}
}
But no luck.
Can you please help me in this. I stuck from last 6 days.
Apurv

@apurvgoel08

It doesn't sound like you are following the course in this repository, so your post here is not the best place to get help.

You are also referring to a very old version of Electron and I'm unsure in any case whether you can test Electron applications, as there is an open request https://github.com/cypress-io/cypress/issues/4964 to add this to Cypress.

I would suggest you ask the Cypress technical community on Discord for their help and opinions:

(click on button)


Instance methods

First, this is a great module, I used interactors in Rails and it was a convenient way of code organization.
My question is how would you add instance methods to the interactor besides run().  The example bellow will result in an error as in super.run() this is set to the new Interactor() object for which someHelperMethod() and anotherHelperMethod() are not defined.
class SaveUser extends Interactor {
  someHelperMethod() {
  }

  anotherHelperMethod() {
  }

  run() {
   // Will give error `someHelperMethod` is not defined
   let valueA = this.someHelperMethod();
   let valueB = this.anotherHelperMethod();
   return User.save({ valueA, valueB });
  }
}

Hey, thanks, glad you are liking it!
You've raised a valid point and the fix for it is to assign context to this.context, rather than this, which makes class methods unavailable. I hope I will have some time during the weekend to fix this.

Fixed in master, will release as a major update. Now you have full access to this of your instance. Context is now passed as an argument to run() or you can access it via this.context.

Just released 2.0.0!


Module only has 2 commands

The SkypeOnlineConnector only has two commands available {New-CsOnlineSession, Set-WinRMNetworkDelayMS}.
Why's everything else missing? - And how do I get them?
PowerShell 5.1.17134.407
SkypeOnlineConnector <IP_ADDRESS>

Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3117c408-39c5-df82-7238-3e842e953a64
Version Independent ID: 80a85e4e-a1b3-68a7-bb9c-544925bcb3ef
Content: Set up your computer for Windows PowerShell
Content Source: Skype/SfbOnline/set-up-your-computer-for-windows-powershell/set-up-your-computer-for-windows-powershell.md
Service: skype-for-business-online
GitHub Login: @tonysmit
Microsoft Alias: tonysmit

Try https://docs.microsoft.com/en-us/office365/enterprise/powershell/manage-skype-for-business-online-with-office-365-powershell
After logging in, this should list some more functions:

Get-Command onlinePSTNGateway

CommandType     Name                                               Version    Source

Function        Get-CsOnlinePSTNGateway                            1.0        tmp_b541tfex.rlp
Function        New-CsOnlinePSTNGateway                            1.0        tmp_b541tfex.rlp
Function        Remove-CsOnlinePSTNGateway                         1.0        tmp_b541tfex.rlp
Function        Set-CsOnlinePSTNGateway                            1.0        tmp_b541tfex.rlp

@intared - thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:  https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.

@officedocsbot close


Please provide an APK

So devs looking around can make decisions without having to install loads of stuff just to get an example app to test.

That'd be great!


Update SQLite native libs

Hi @andpor!
Thank you so much for bringing this project that far! Your work and effort is highly appreciated! And I bow to you!
I'd like to update the embedded native libs and found the branch new-native-sqlite-libs. I compiled and used that branch and it does almost exactly the things I needed.
Is there anything I can do to help you merging this branch? Did you stumble over certain obstacles which I may help to get rid of?
If you provide me a rough sketch of what to do, I'd be super happy to help!
Thanks again for your work
Ingo

If you can test it thoroughly and confirm all is good I will merge the branch and cut a new release together with RN 0.60 support.

To show some progress:
Tested branch new-native-sqlite-libs on React-Native 0.59.9 using test sources (Callback and Promises) on Android (classic and native) and iOS. Everything works as expected.
Next: Add some more tests. I'll be back...

Okay, I've added a FTS5 test (Callback and Promises) and re-run all tests. Again, everything works as expected.
I've also tested one of our multi-platform applications switching the native sqlite libraries back and forth. Thumbs up here as well.
I think everything is set and ready to update the native libraries in a minor release or – as you suggested – together with RN 0.60 support or even both.

Just to make sure: You did not include an updated version of the native libraries in the latest release 4.0.0, didn't you?

Updated native libs now supported in V4.1.0.
Thank you so much!


Create 1732 - C1.cpp

Solution to problem C1 of contest 1732

Great work @BhavayGoyal please give this repo a star if it really helped you to complete your PR.
Also follow me for follow back if you want to get connected with me for any such open source contribution program. Thank you 😊


Backups are broken since upgrade to 1.27

Summary
Backup consists of a 213-215 byte tar.gz file containing nothing. This started happening after upgrading to 1.27
What Should Happen Instead?
The backup should work and probably (and statistically) be around 1.3mb.
Reproduction Steps
I tried reproducing with a fresh install, but I wasn't able to. Tried the backup command on all three nodes with the same result.
Introspection Report
inspection-report-20231019_220512.tar.gz
Can you suggest a fix?

Are you interested in contributing with a fix?
Ill help with whatever I can

Hey @franco-martin,
Are there any errors thrown during the backup process? I've tried with the revision you have installed and could not reproduce the issue.
There is a newer revision that you can refresh to(for 1.27.6), let me know if doing a snap refresh helps with the situation.

Ill try the refresh and share the results. No error are thrown during the
backup process.
On Sun, Oct 22, 2023, 10:22 Berkay Tekin Öz @.***>
wrote:

Hey @franco-martin https://github.com/franco-martin,
Are there any errors thrown during the backup process? I've tried with the
revision you have installed and could not reproduce the issue.
There is a newer revision that you can refresh to(for 1.27.6), let me know
if doing a snap refresh helps with the situation.
—
Reply to this email directly, view it on GitHub
https://github.com/canonical/microk8s/issues/4259#issuecomment-1774094711,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK6RJQC7ZMWI4VUPRNMWOTDYAUMYZAVCNFSM6AAAAAA6H5CVQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZUGA4TINZRGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

snap info microk8s has 1.27.6 as the current versions for stable, candidate and beta. Edge has 1.27.7... but I'm not very comfortable using edge. Is that the one you are referring to?

Yes, refreshing to the 1.27.6 on the stable if it's not refreshed yet.

Im already running 1.27.6
On Tue, Oct 24, 2023, 03:21 Berkay Tekin Öz @.***>
wrote:

Yes, refreshing to the 1.27.6 on the stable if it's not refreshed yet.
—
Reply to this email directly, view it on GitHub
https://github.com/canonical/microk8s/issues/4259#issuecomment-1776599662,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK6RJQD6Y7DYGDBHHV6AWELYA5NAHAVCNFSM6AAAAAA6H5CVQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZWGU4TSNRWGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Im going to try upgrading to 1.28 on the stable channel to see if that fixes the issue

After upgrading all nodes to v1.28.2 I can confirm the issue persists. Any pointers to where to look?

Hey @franco-martin,
I've not been able to replicate the issue both in single node and in HA scenarios. Having no error messages also makes this a bit challenging. Have you tried running the backup command on other control plane nodes as well?

I understand, thats why Im creating a ticket. This cluster has been
upgraded from 1.18 over the years with some nodes being recreated.
Yesterday I replaced one of them because it wouldnt become ready after
upgrading to 1.28, do you think replacing all nodes would help?
Any flags I can add to dqlite or the backup command to see what happens
during the process?
Any way I can run a backup using an external tool?
On Fri, Oct 27, 2023, 03:59 Berkay Tekin Öz @.***>
wrote:

Hey @franco-martin https://github.com/franco-martin,
I've not been able to replicate the issue both in single node and in HA
scenarios. Having no error messages also makes this a bit challenging. Have
you tried running the backup command on other control plane nodes as well?
—
Reply to this email directly, view it on GitHub
https://github.com/canonical/microk8s/issues/4259#issuecomment-1782399510,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK6RJQEFOI3PMBUJ5W35ZBTYBNLUBAVCNFSM6AAAAAA6H5CVQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBSGM4TSNJRGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Quick update, Im reviewing the wrapper for dbctl and found the function that is run when a backup is started. Im gonna try to run the following command
/snap/microk8s/current/bin/migrator --endpoint unix://${SNAP_DATA}/var/kubernetes/backend/kine.sock:12379 --mode backup-dqlite --db-dir ./
For now it looks like its doing something, I'm gonna wait and see if it does anything. Its progress, since the wrapper finishes instantly and yields an empty tar.

Another update, I did a rolling recreation of all nodes and it seems like the problem persists. Ill try to replicate by copying the DB data to another cluster

As a workaround you can to take a copy of the dqlite node with
tar -cvf backup.tar /var/snap/microk8s/current/var/kubernetes/backend

Check out here for some more info on how to recover with the copy if needed. Let me know if the issue is reproducable with your data on another cluster.

Hi! any updates on this? I was able to reproduce the error in a new
cluster, youd just need to import the backup into a single node cluster
On Mon, Oct 30, 2023, 05:54 Berkay Tekin Öz @.***>
wrote:

As a workaround you can to take a copy of the dqlite node with
tar -cvf backup.tar /var/snap/microk8s/current/var/kubernetes/backend
Check out here https://microk8s.io/docs/restore-quorum for some more
info on how to recover with the copy if needed. Let me know if the issue is
reproducable with your data on another cluster.
—
Reply to this email directly, view it on GitHub
https://github.com/canonical/microk8s/issues/4259#issuecomment-1784743433,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK6RJQBFYRNLC4VO42EP6UTYB5TLXAVCNFSM6AAAAAA6H5CVQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBUG42DGNBTGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

@neoaggelos sorry to tag you, I saw you've been helping folks on other dqlite related issues. Perhaps you can help here?


[downgrade] wrong downgraded expressions

We need to verify that triggers and other expressions downgrade properly.
For example, pull requests currently convert to <+trigger.event> == "pull_request" or <+trigger.event> != "pull_request", but pull_request is not valid, it should be PR.

hey @jimsheldon - can you add some test examples to a branch for this issue? That way I know what to target.

Let's focus on event first.
Drone supports event conditions like this:
# exclude pull_request events
when:
  event:
    exclude:
    - pull_request

when:
  event:
    include:
    - push
    - tag

Downgraded Harness yaml should look like this:

drone
downgrade

exclude pull_request events
<+trigger.event> != "PR"

include push events
<+trigger.event> == "PUSH"

include tag events
<+trigger.payload.ref> =~ "refs/tags/.*"

Note that I believe trigger.payload.ref is specific to GitHub, I'm not sure how other providers structure their payloads (let's focus on GitHub first).

Added in #93


Build Error on TorchServe Docker Image

Hi 🙋♂
I tried to build torchserve docker image. So, I followed exactly same in README. But I’ve got some error on building images
#0 14.60       /opt/conda/lib/python3.11/site-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
#0 14.60       !!
#0 14.60
#0 14.60               ********************************************************************************
#0 14.60               Requirements should be satisfied by a PEP 517 installer.
#0 14.60               If you are using pip, you can try `pip install --use-pep517`.
#0 14.60               ********************************************************************************
#0 14.60
#0 14.60       !!

My guess is that this error is due to some deprecated method to update python version
So, I put tag(23.3.1-0) miniconda3 images in dockerfile TAG LIST
# AnimatedDrawings/torchserve/Dockerfile
# Line : 3

FROM continuumio/miniconda3:23.3.1-0

And rebuild it, everything work!
My solution is makeshift. There will be a better solution…
For your information, I put entire log in expander control “Error Log”
thanks!
My Server OS : Ubuntu 22.04.2 LTS

Error Log

(animated_drawings) minii@minii-desktop:~/test/AnimatedDrawings/torchserve$ sudo docker build -t docker_torchserve .
[+] Building 17.9s (15/21)
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 1.17kB                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => resolve image config for docker.io/docker/dockerfile:1.2                                                                                1.4s
 => CACHED docker-image://docker.io/docker/dockerfile:1.2@sha256:e2a8561e419ab1ba6b2fe6cbdf49fd92b95912df1cf7d313c3e2230a333fdbcc           0.0s
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => [internal] load metadata for docker.io/continuumio/miniconda3:latest                                                                    1.0s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 394B                                                                                0.0s
 => [ 1/13] FROM docker.io/continuumio/miniconda3@sha256:42cd2ca0ece04579b6127e1a1a0f83c25a079145d408eb65e39206ac05069a77                   0.0s
 => CACHED [ 2/13] RUN mkdir -p /usr/share/man/man1                                                                                0.0s
 => CACHED [ 3/13] RUN apt-get update &&     DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y     ca-certificates  0.0s
 => CACHED [ 4/13] RUN pip install openmim                                                                                0.0s
 => CACHED [ 5/13] RUN pip install torch                                                                                0.0s
 => CACHED [ 6/13] RUN mim install mmcv-full==1.7.0                                                                                0.0s
 => ERROR [ 7/13] RUN pip install mmpose==0.29.0                                                                                15.4s
------
 > [ 7/13] RUN pip install mmpose==0.29.0:
#0 0.864 Collecting mmpose==0.29.0
#0 0.926   Downloading mmpose-0.29.0-py2.py3-none-any.whl (1.6 MB)
#0 1.239      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 5.1 MB/s eta 0:00:00
#0 1.283 Collecting chumpy (from mmpose==0.29.0)
#0 1.296   Downloading chumpy-0.70.tar.gz (50 kB)
#0 1.304      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.6/50.6 kB 5.5 MB/s eta 0:00:00
#0 1.309   Preparing metadata (setup.py): started
#0 1.573   Preparing metadata (setup.py): finished with status 'done'
#0 1.605 Collecting json-tricks (from mmpose==0.29.0)
#0 1.618   Downloading json_tricks-3.17.2-py2.py3-none-any.whl (27 kB)
#0 1.766 Collecting matplotlib (from mmpose==0.29.0)
#0 1.779   Downloading matplotlib-3.7.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.6 MB)
#0 2.816      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.6/11.6 MB 11.1 MB/s eta 0:00:00
#0 2.846 Collecting munkres (from mmpose==0.29.0)
#0 2.858   Downloading munkres-1.1.4-py2.py3-none-any.whl (7.0 kB)
#0 2.860 Requirement already satisfied: numpy in /opt/conda/lib/python3.11/site-packages (from mmpose==0.29.0) (1.25.1)
#0 2.861 Requirement already satisfied: opencv-python in /opt/conda/lib/python3.11/site-packages (from mmpose==0.29.0) (<IP_ADDRESS>)
#0 2.862 Requirement already satisfied: pillow in /opt/conda/lib/python3.11/site-packages (from mmpose==0.29.0) (10.0.0)
#0 2.968 Collecting scipy (from mmpose==0.29.0)
#0 3.004   Downloading scipy-1.11.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (36.2 MB)
#0 6.192      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 36.2/36.2 MB 10.6 MB/s eta 0:00:00
#0 6.270 Collecting torchvision (from mmpose==0.29.0)
#0 6.283   Downloading torchvision-0.15.2-cp311-cp311-manylinux1_x86_64.whl (6.0 MB)
#0 6.839      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.0/6.0 MB 10.9 MB/s eta 0:00:00
#0 7.078 Collecting xtcocotools>=1.12 (from mmpose==0.29.0)
#0 7.293   Downloading xtcocotools-1.13.tar.gz (28 kB)
#0 7.308   Preparing metadata (setup.py): started
#0 12.53   Preparing metadata (setup.py): finished with status 'done'
#0 12.54 Requirement already satisfied: setuptools>=18.0 in /opt/conda/lib/python3.11/site-packages (from xtcocotools>=1.12->mmpose==0.29.0) (67.8.0)
#0 12.73 Collecting cython>=0.27.3 (from xtcocotools>=1.12->mmpose==0.29.0)
#0 12.74   Using cached Cython-3.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB)
#0 12.81 Collecting contourpy>=1.0.1 (from matplotlib->mmpose==0.29.0)
#0 12.81   Using cached contourpy-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (300 kB)
#0 12.83 Collecting cycler>=0.10 (from matplotlib->mmpose==0.29.0)
#0 12.83   Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
#0 12.89 Collecting fonttools>=4.22.0 (from matplotlib->mmpose==0.29.0)
#0 12.89   Using cached fonttools-4.41.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB)
#0 12.97 Collecting kiwisolver>=1.0.1 (from matplotlib->mmpose==0.29.0)
#0 12.97   Using cached kiwisolver-1.4.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB)
#0 12.97 Requirement already satisfied: packaging>=20.0 in /opt/conda/lib/python3.11/site-packages (from matplotlib->mmpose==0.29.0) (23.0)
#0 13.01 Collecting pyparsing<3.1,>=2.3.1 (from matplotlib->mmpose==0.29.0)
#0 13.01   Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
#0 13.01 Requirement already satisfied: python-dateutil>=2.7 in /opt/conda/lib/python3.11/site-packages (from matplotlib->mmpose==0.29.0) (2.8.2)
#0 13.03 Requirement already satisfied: six>=1.11.0 in /opt/conda/lib/python3.11/site-packages (from chumpy->mmpose==0.29.0) (1.16.0)
#0 13.06 Requirement already satisfied: requests in /opt/conda/lib/python3.11/site-packages (from torchvision->mmpose==0.29.0) (2.29.0)
#0 13.07 Requirement already satisfied: torch==2.0.1 in /opt/conda/lib/python3.11/site-packages (from torchvision->mmpose==0.29.0) (2.0.1)
#0 13.09 Requirement already satisfied: filelock in /opt/conda/lib/python3.11/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (3.12.2)
#0 13.09 Requirement already satisfied: typing-extensions in /opt/conda/lib/python3.11/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (4.7.1)
#0 13.09 Requirement already satisfied: sympy in /opt/conda/lib/python3.11/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (1.12)
#0 13.09 Requirement already satisfied: networkx in /opt/conda/lib/python3.11/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (3.1)
#0 13.09 Requirement already satisfied: jinja2 in /opt/conda/lib/python3.11/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (3.1.2)
#0 13.09 Requirement already satisfied: nvidia-cuda-nvrtc-cu11==11.7.99 in /opt/conda/lib/python3.11/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (11.7.99)
#0 13.09 Requirement already satisfied: nvidia-cuda-runtime-cu11==11.7.99 in /opt/conda/lib/python3.11/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (11.7.99)
#0 13.09 Requirement already satisfied: nvidia-cuda-cupti-cu11==11.7.101 in /opt/conda/lib/python3.11/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (11.7.101)
#0 13.09 Requirement already satisfied: nvidia-cudnn-cu11==<IP_ADDRESS> in /opt/conda/lib/python3.11/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (<IP_ADDRESS>)
#0 13.10 Requirement already satisfied: nvidia-cublas-cu11==<IP_ADDRESS> in /opt/conda/lib/python3.11/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (<IP_ADDRESS>)
#0 13.10 Requirement already satisfied: nvidia-cufft-cu11==<IP_ADDRESS> in /opt/conda/lib/python3.11/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (<IP_ADDRESS>)
#0 13.10 Requirement already satisfied: nvidia-curand-cu11==<IP_ADDRESS> in /opt/conda/lib/python3.11/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (<IP_ADDRESS>)
#0 13.10 Requirement already satisfied: nvidia-cusolver-cu11==<IP_ADDRESS> in /opt/conda/lib/python3.11/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (<IP_ADDRESS>)
#0 13.10 Requirement already satisfied: nvidia-cusparse-cu11==<IP_ADDRESS> in /opt/conda/lib/python3.11/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (<IP_ADDRESS>)
#0 13.10 Requirement already satisfied: nvidia-nccl-cu11==2.14.3 in /opt/conda/lib/python3.11/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (2.14.3)
#0 13.10 Requirement already satisfied: nvidia-nvtx-cu11==11.7.91 in /opt/conda/lib/python3.11/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (11.7.91)
#0 13.10 Requirement already satisfied: triton==2.0.0 in /opt/conda/lib/python3.11/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (2.0.0)
#0 13.11 Requirement already satisfied: wheel in /opt/conda/lib/python3.11/site-packages (from nvidia-cublas-cu11==<IP_ADDRESS>->torch==2.0.1->torchvision->mmpose==0.29.0) (0.38.4)
#0 13.20 Requirement already satisfied: cmake in /opt/conda/lib/python3.11/site-packages (from triton==2.0.0->torch==2.0.1->torchvision->mmpose==0.29.0) (3.27.0)
#0 13.20 Requirement already satisfied: lit in /opt/conda/lib/python3.11/site-packages (from triton==2.0.0->torch==2.0.1->torchvision->mmpose==0.29.0) (16.0.6)
#0 13.37 Requirement already satisfied: charset-normalizer<4,>=2 in /opt/conda/lib/python3.11/site-packages (from requests->torchvision->mmpose==0.29.0) (2.0.4)
#0 13.37 Requirement already satisfied: idna<4,>=2.5 in /opt/conda/lib/python3.11/site-packages (from requests->torchvision->mmpose==0.29.0) (3.4)
#0 13.38 Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/conda/lib/python3.11/site-packages (from requests->torchvision->mmpose==0.29.0) (1.26.16)
#0 13.38 Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.11/site-packages (from requests->torchvision->mmpose==0.29.0) (2023.5.7)
#0 13.48 Requirement already satisfied: MarkupSafe>=2.0 in /opt/conda/lib/python3.11/site-packages (from jinja2->torch==2.0.1->torchvision->mmpose==0.29.0) (2.1.3)
#0 13.52 Requirement already satisfied: mpmath>=0.19 in /opt/conda/lib/python3.11/site-packages (from sympy->torch==2.0.1->torchvision->mmpose==0.29.0) (1.3.0)
#0 13.66 Building wheels for collected packages: xtcocotools, chumpy
#0 13.66   Building wheel for xtcocotools (setup.py): started
#0 14.60   Building wheel for xtcocotools (setup.py): finished with status 'error'
#0 14.60   error: subprocess-exited-with-error
#0 14.60
#0 14.60   × python setup.py bdist_wheel did not run successfully.
#0 14.60   │ exit code: 1
#0 14.60   ╰─> [36 lines of output]
#0 14.60       /opt/conda/lib/python3.11/site-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
#0 14.60       !!
#0 14.60
#0 14.60               ********************************************************************************
#0 14.60               Requirements should be satisfied by a PEP 517 installer.
#0 14.60               If you are using pip, you can try `pip install --use-pep517`.
#0 14.60               ********************************************************************************
#0 14.60
#0 14.60       !!
#0 14.60         dist.fetch_build_eggs(dist.setup_requires)
#0 14.60       running bdist_wheel
#0 14.60       running build
#0 14.60       running build_py
#0 14.60       creating build
#0 14.60       creating build/lib.linux-x86_64-cpython-311
#0 14.60       creating build/lib.linux-x86_64-cpython-311/xtcocotools
#0 14.60       copying xtcocotools/mask.py -> build/lib.linux-x86_64-cpython-311/xtcocotools
#0 14.60       copying xtcocotools/cocoeval.py -> build/lib.linux-x86_64-cpython-311/xtcocotools
#0 14.60       copying xtcocotools/version.py -> build/lib.linux-x86_64-cpython-311/xtcocotools
#0 14.60       copying xtcocotools/__init__.py -> build/lib.linux-x86_64-cpython-311/xtcocotools
#0 14.60       copying xtcocotools/coco.py -> build/lib.linux-x86_64-cpython-311/xtcocotools
#0 14.60       running build_ext
#0 14.60       Compiling xtcocotools/_mask.pyx because it changed.
#0 14.60       [1/1] Cythonizing xtcocotools/_mask.pyx
#0 14.60       /tmp/pip-install-_2cyb3ra/xtcocotools_0bbdb5ac63e7425a8e14d903596d6452/.eggs/Cython-3.0.0-py3.11-linux-x86_64.egg/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-_2cyb3ra/xtcocotools_0bbdb5ac63e7425a8e14d903596d6452/xtcocotools/_mask.pyx
#0 14.60         tree = Parsing.p_module(s, pxd, full_module_name)
#0 14.60       building 'xtcocotools._mask' extension
#0 14.60       creating build/common
#0 14.60       creating build/temp.linux-x86_64-cpython-311
#0 14.60       creating build/temp.linux-x86_64-cpython-311/common
#0 14.60       creating build/temp.linux-x86_64-cpython-311/xtcocotools
#0 14.60       gcc -pthread -B /opt/conda/compiler_compat -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/lib/python3.11/site-packages/numpy/core/include -I./common -I/opt/conda/include/python3.11 -c ../common/maskApi.c -o build/temp.linux-x86_64-cpython-311/../common/maskApi.o
#0 14.60       gcc: error: ../common/maskApi.c: No such file or directory
#0 14.60       gcc: fatal error: no input files
#0 14.60       compilation terminated.
#0 14.60       error: command '/usr/bin/gcc' failed with exit code 1
#0 14.60       [end of output]
#0 14.60
#0 14.60   note: This error originates from a subprocess, and is likely not a problem with pip.
#0 14.60   ERROR: Failed building wheel for xtcocotools
#0 14.60   Running setup.py clean for xtcocotools
#0 14.86   Building wheel for chumpy (setup.py): started
#0 15.18   Building wheel for chumpy (setup.py): finished with status 'done'
#0 15.18   Created wheel for chumpy: filename=chumpy-0.70-py3-none-any.whl size=58267 sha256=ead2a61fb47398bd975ad120f30aec23d4b6f4a3628a0d9e8f2edc86fd04aa0e
#0 15.18   Stored in directory: /root/.cache/pip/wheels/91/96/31/3e16aa7084783b2e57a81bb9a7fa3598d32445a964b1692259
#0 15.18 Successfully built chumpy
#0 15.18 Failed to build xtcocotools
#0 15.18 ERROR: Could not build wheels for xtcocotools, which is required to install pyproject.toml-based projects
------
Dockerfile:24
--------------------
  22 |     RUN pip install torch
  23 |     RUN mim install mmcv-full==1.7.0
  24 | >>> RUN pip install mmpose==0.29.0
  25 |     RUN pip install mmdet==2.27.0
  26 |     RUN pip install torchserve
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install mmpose==0.29.0" did not complete successfully: exit code: 1

I have same issue.
But after modifying 'FROM continuumio/miniconda3' to 'FROM continuumio/miniconda3:23.3.1-0' in dockerfile, it works well.
Thanks @chminipark

I am experiencing the same issue.
But, sadly, fixing the line in the dockerfile doesn't solve the issue.
My OS: Mac(M1) 13.4.1
here is my log

 > [ 7/13] RUN pip install mmpose==0.29.0:
0.531 Collecting mmpose==0.29.0
0.581   Downloading mmpose-0.29.0-py2.py3-none-any.whl (1.6 MB)
0.644      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 26.3 MB/s eta 0:00:00
0.670 Requirement already satisfied: numpy in /opt/conda/lib/python3.10/site-packages (from mmpose==0.29.0) (1.25.2)
0.690 Collecting xtcocotools>=1.12
0.701   Downloading xtcocotools-1.13.tar.gz (28 kB)
0.706   Preparing metadata (setup.py): started
4.852   Preparing metadata (setup.py): finished with status 'done'
4.873 Collecting json-tricks
4.884   Downloading json_tricks-3.17.2-py2.py3-none-any.whl (27 kB)
4.929 Collecting torchvision
4.942   Downloading torchvision-0.15.2-cp310-cp310-manylinux2014_aarch64.whl (1.2 MB)
4.978      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 35.6 MB/s eta 0:00:00
5.073 Collecting scipy
5.082   Downloading scipy-1.11.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (32.8 MB)
5.919      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 32.8/32.8 MB 30.3 MB/s eta 0:00:00
6.065 Collecting matplotlib
6.084   Using cached matplotlib-3.7.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.4 MB)
6.108 Requirement already satisfied: pillow in /opt/conda/lib/python3.10/site-packages (from mmpose==0.29.0) (10.0.0)
6.121 Collecting munkres
6.132   Downloading munkres-1.1.4-py2.py3-none-any.whl (7.0 kB)
6.134 Requirement already satisfied: opencv-python in /opt/conda/lib/python3.10/site-packages (from mmpose==0.29.0) (<IP_ADDRESS>)
6.149 Collecting chumpy
6.157   Downloading chumpy-0.70.tar.gz (50 kB)
6.160      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.6/50.6 kB 26.5 MB/s eta 0:00:00
6.164   Preparing metadata (setup.py): started
6.411   Preparing metadata (setup.py): finished with status 'done'
6.415 Requirement already satisfied: setuptools>=18.0 in /opt/conda/lib/python3.10/site-packages (from xtcocotools>=1.12->mmpose==0.29.0) (60.2.0)
6.595 Collecting cython>=0.27.3
6.598   Using cached Cython-3.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.4 MB)
6.663 Collecting contourpy>=1.0.1
6.664   Using cached contourpy-1.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (283 kB)
6.701 Collecting kiwisolver>=1.0.1
6.703   Using cached kiwisolver-1.4.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.4 MB)
6.706 Requirement already satisfied: packaging>=20.0 in /opt/conda/lib/python3.10/site-packages (from matplotlib->mmpose==0.29.0) (23.0)
6.718 Collecting cycler>=0.10
6.719   Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
6.747 Collecting pyparsing<3.1,>=2.3.1
6.747   Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
6.749 Requirement already satisfied: python-dateutil>=2.7 in /opt/conda/lib/python3.10/site-packages (from matplotlib->mmpose==0.29.0) (2.8.2)
6.810 Collecting fonttools>=4.22.0
6.813   Using cached fonttools-4.42.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.4 MB)
6.836 Requirement already satisfied: six>=1.11.0 in /opt/conda/lib/python3.10/site-packages (from chumpy->mmpose==0.29.0) (1.16.0)
6.861 Requirement already satisfied: torch==2.0.1 in /opt/conda/lib/python3.10/site-packages (from torchvision->mmpose==0.29.0) (2.0.1)
6.861 Requirement already satisfied: requests in /opt/conda/lib/python3.10/site-packages (from torchvision->mmpose==0.29.0) (2.28.2)
6.865 Requirement already satisfied: sympy in /opt/conda/lib/python3.10/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (1.12)
6.865 Requirement already satisfied: networkx in /opt/conda/lib/python3.10/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (3.1)
6.865 Requirement already satisfied: typing-extensions in /opt/conda/lib/python3.10/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (4.7.1)
6.865 Requirement already satisfied: jinja2 in /opt/conda/lib/python3.10/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (3.1.2)
6.866 Requirement already satisfied: filelock in /opt/conda/lib/python3.10/site-packages (from torch==2.0.1->torchvision->mmpose==0.29.0) (3.12.2)
6.905 Requirement already satisfied: charset-normalizer<4,>=2 in /opt/conda/lib/python3.10/site-packages (from requests->torchvision->mmpose==0.29.0) (2.0.4)
6.905 Requirement already satisfied: idna<4,>=2.5 in /opt/conda/lib/python3.10/site-packages (from requests->torchvision->mmpose==0.29.0) (3.4)
6.905 Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/conda/lib/python3.10/site-packages (from requests->torchvision->mmpose==0.29.0) (1.26.15)
6.906 Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.10/site-packages (from requests->torchvision->mmpose==0.29.0) (2022.12.7)
6.926 Requirement already satisfied: MarkupSafe>=2.0 in /opt/conda/lib/python3.10/site-packages (from jinja2->torch==2.0.1->torchvision->mmpose==0.29.0) (2.1.3)
6.937 Requirement already satisfied: mpmath>=0.19 in /opt/conda/lib/python3.10/site-packages (from sympy->torch==2.0.1->torchvision->mmpose==0.29.0) (1.3.0)
6.958 Building wheels for collected packages: xtcocotools, chumpy
6.959   Building wheel for xtcocotools (setup.py): started
7.942   Building wheel for xtcocotools (setup.py): finished with status 'error'
7.946   error: subprocess-exited-with-error
7.946
7.946   × python setup.py bdist_wheel did not run successfully.
7.946   │ exit code: 1
7.946   ╰─> [27 lines of output]
7.946       /opt/conda/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
7.946         warnings.warn(
7.946       running bdist_wheel
7.946       running build
7.946       running build_py
7.946       creating build
7.946       creating build/lib.linux-aarch64-3.10
7.946       creating build/lib.linux-aarch64-3.10/xtcocotools
7.946       copying xtcocotools/cocoeval.py -> build/lib.linux-aarch64-3.10/xtcocotools
7.946       copying xtcocotools/__init__.py -> build/lib.linux-aarch64-3.10/xtcocotools
7.946       copying xtcocotools/coco.py -> build/lib.linux-aarch64-3.10/xtcocotools
7.946       copying xtcocotools/version.py -> build/lib.linux-aarch64-3.10/xtcocotools
7.946       copying xtcocotools/mask.py -> build/lib.linux-aarch64-3.10/xtcocotools
7.946       running build_ext
7.946       Compiling xtcocotools/_mask.pyx because it changed.
7.946       [1/1] Cythonizing xtcocotools/_mask.pyx
7.946       /tmp/pip-install-_au18max/xtcocotools_130116a7714c41b7be13b04fe8a9428e/.eggs/Cython-3.0.0-py3.10-linux-aarch64.egg/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-_au18max/xtcocotools_130116a7714c41b7be13b04fe8a9428e/xtcocotools/_mask.pyx
7.946         tree = Parsing.p_module(s, pxd, full_module_name)
7.946       creating build/common
7.946       creating build/temp.linux-aarch64-3.10
7.946       creating build/temp.linux-aarch64-3.10/common
7.946       creating build/temp.linux-aarch64-3.10/xtcocotools
7.946       gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -fPIC -O3 -isystem /opt/conda/include -fPIC -O3 -isystem /opt/conda/include -fPIC -I/opt/conda/lib/python3.10/site-packages/numpy/core/include -I./common -I/opt/conda/include/python3.10 -c ../common/maskApi.c -o build/temp.linux-aarch64-3.10/../common/maskApi.o
7.946       gcc: error: ../common/maskApi.c: No such file or directory
7.946       gcc: fatal error: no input files
7.946       compilation terminated.
7.946       error: command '/usr/bin/gcc' failed with exit code 1
7.946       [end of output]
7.946
7.946   note: This error originates from a subprocess, and is likely not a problem with pip.
7.946   ERROR: Failed building wheel for xtcocotools
7.946   Running setup.py clean for xtcocotools
8.171   Building wheel for chumpy (setup.py): started
8.429   Building wheel for chumpy (setup.py): finished with status 'done'
8.429   Created wheel for chumpy: filename=chumpy-0.70-py3-none-any.whl size=58286 sha256=9bfe2e3dc4e857287c371aea02c6798f6c1e48a32e5a684685c1ce16e7f9023c
8.429   Stored in directory: /root/.cache/pip/wheels/e0/c1/ef/29ba7be03653a29ef6f2c3e1956d6c4d8877f2b243af411db1
8.430 Successfully built chumpy
8.431 Failed to build xtcocotools
8.644 Installing collected packages: munkres, json-tricks, scipy, pyparsing, kiwisolver, fonttools, cython, cycler, contourpy, matplotlib, chumpy, xtcocotools, torchvision, mmpose
12.21   Running setup.py install for xtcocotools: started
12.95   Running setup.py install for xtcocotools: finished with status 'error'
12.95   error: subprocess-exited-with-error
12.95
12.95   × Running setup.py install for xtcocotools did not run successfully.
12.95   │ exit code: 1
12.95   ╰─> [25 lines of output]
12.95       running install
12.95       /opt/conda/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
12.95         warnings.warn(
12.95       running build
12.95       running build_py
12.95       creating build/lib.linux-aarch64-3.10
12.95       creating build/lib.linux-aarch64-3.10/xtcocotools
12.95       copying xtcocotools/cocoeval.py -> build/lib.linux-aarch64-3.10/xtcocotools
12.95       copying xtcocotools/__init__.py -> build/lib.linux-aarch64-3.10/xtcocotools
12.95       copying xtcocotools/coco.py -> build/lib.linux-aarch64-3.10/xtcocotools
12.95       copying xtcocotools/version.py -> build/lib.linux-aarch64-3.10/xtcocotools
12.95       copying xtcocotools/mask.py -> build/lib.linux-aarch64-3.10/xtcocotools
12.95       running build_ext
12.95       Compiling xtcocotools/_mask.pyx because it depends on /opt/conda/lib/python3.10/site-packages/Cython/Includes/libc/string.pxd.
12.95       [1/1] Cythonizing xtcocotools/_mask.pyx
12.95       /opt/conda/lib/python3.10/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-_au18max/xtcocotools_130116a7714c41b7be13b04fe8a9428e/xtcocotools/_mask.pyx
12.95         tree = Parsing.p_module(s, pxd, full_module_name)
12.95       creating build/temp.linux-aarch64-3.10
12.95       creating build/temp.linux-aarch64-3.10/common
12.95       creating build/temp.linux-aarch64-3.10/xtcocotools
12.95       gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -fPIC -O3 -isystem /opt/conda/include -fPIC -O3 -isystem /opt/conda/include -fPIC -I/opt/conda/lib/python3.10/site-packages/numpy/core/include -I./common -I/opt/conda/include/python3.10 -c ../common/maskApi.c -o build/temp.linux-aarch64-3.10/../common/maskApi.o
12.95       gcc: error: ../common/maskApi.c: No such file or directory
12.95       gcc: fatal error: no input files
12.95       compilation terminated.
12.95       error: command '/usr/bin/gcc' failed with exit code 1
12.95       [end of output]
12.95
12.95   note: This error originates from a subprocess, and is likely not a problem with pip.
12.96 error: legacy-install-failure
12.96
12.96 × Encountered error while trying to install package.
12.96 ╰─> xtcocotools
12.96
12.96 note: This is an issue with the package mentioned above, not pip.
12.96 hint: See above for output from the failure.
------
Dockerfile:25
--------------------
  23 |     RUN mim install mmcv-full==1.7.0
  24 |
  25 | >>> RUN pip install mmpose==0.29.0
  26 |     RUN pip install mmdet==2.27.0
  27 |     RUN pip install torchserve
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install mmpose==0.29.0" did not complete successfully: exit code: 1

我遇到了同样的问题。 但是，遗憾的是，修复 dockerfile 中的行并不能解决问题。
我的操作系统：Mac(M1) 13.4.1
这是我的日志

我也是这个报错请问解决了么

我也是这个报错请问解决了么

我也是这个报错请问解决了么

@mksoo @cyfyv @gaoshangle
I've just pushed a commit that addresses this, see 361a907. Please try again and let me know if you're still running into problems.


Not independent?

It says it's independent. When using the code generator it's like below:
<iframe class="indiepen" src="https://indiepen.tech/embed/?url=https%3A%2F%2Fexample.com%2Fasdasdsa&tab=html" style="width: 100%; overflow: hidden; display: block; border: 0;" title="Indiepen Embed" loading="lazy" width="100%" height="450"></iframe>

You use https://indiepen.tech. So if you suddenly don't want to maintain it anymore and remove the domain you will kill all the projects that depends on it in an instance.
Also you may add a purchase subscription because this way you really lock people in with a dependency that should not really be needed.

Fair point, for us it's independent because it's open-source, we share what we do and how we implement things. This approach is different to other solutions on the market.
But I agree, we have to do a better job in providing documentation for self-hosting or maybe even provide Indiepen as a web component or something like this so you don't rely on our hosting.
So far, we developed Indiepen for our own blog and did the extra mile to provide a code snippet generator so more people can benefit from a cookieless embed.
Feel free to host Indiepen on your own domain, fork it or do whatever you want. We are here to assist you.
Have a nice day 🙂

Hope you share a selfhosting guide soon.


compute/cloud-client/src/main/java/compute/CreateInstanceFromTemplate.java has no test and is broken

This snippet is never tested anywhere: compute/cloud-client/src/main/java/compute/CreateInstanceFromTemplate.java
When I tried to run it, I got:
{
  "error": {
    "code": 400,
    "message": "Invalid value for field 'resource.disks[0].initializeParams.diskType': 'pd-balanced'. The URL is malformed.",
    "errors": [
      {
        "message": "Invalid value for field 'resource.disks[0].initializeParams.diskType': 'pd-balanced'. The URL is malformed.",
        "domain": "global",
        "reason": "invalid"
      }
    ]
  }
}

Please update the sample with a test.

@Sita04 Would you be able to take a look at this? Let me know if I should redirect elsewhere. Thanks!

Thanks for letting me know about the issue. Will take a look at it.

@Sita04 hm, I was expecting to find this test in the test body decorated with @test. There are ways around re-creating the resource if the resource is not there / deleted, for example, in Pub/Sub, we ignore NotFound error during cleanup (https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/test/java/pubsub/AdminIT.java#L121) if a test deletes (https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/test/java/pubsub/AdminIT.java#L278) a resource.


feat: adds dual write docs to android sdk

Description

feat: adds dual write docs to android sdk

Testing required outside of automated testing?

[x] Not Applicable

Screenshots (if appropriate):

[X] Not Applicable

Rollback / Rollforward Procedure

[x] Roll Forward
[ ] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

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


[weex] wrap IFFE and use strict mode to run js bundle

This is a corresponding change with https://github.com/alibaba/weex/pull/1483 and https://github.com/alibaba/weex/pull/1626 .
Both legacy .we and  Rax are using strict mode to run the js bundle.

Some test case failed because of the with(this){} . How could I use https://github.com/vuejs/vue-template-es2015-compiler to compile the template without with in test case ?

I think vue-template-es2015-compiler needs to become a dependency of weex-template-compiler and used by default in its compile method.
This is the relevant part in vue-loader: https://github.com/vuejs/vue-loader/blob/master/lib/template-compiler.js#L82-L93

The weex/framework.js has changed a lot. This PR has no meaning to modify.


Additional NAT Gateway for DNS

User Story:
As a DevOps engineer I want to ensure that my services provide as high a level resiliency as possible so that I can reduce the chance of downtime.
Context:
we need to update our route table and add an additional NAT gateway as the current configuration sites in one availability zone which would mean our service would go down

Ticket to be updated by Jahir

we need to update our route table and add an additional NAT gateway as the current configuration sites in one availability zone which would mean our entire service would go down

DNS and DHCP VPC private subnet in AZa and AZb routing traffic via a single NAT(nat-0137946977ae3f9ad).This risk service resilience in the event of an AZ failure.
Outcome of this ticket would be to update the AZb route table(rtb-0ff36ff3a27ae8756 / staff-device-production-dhcp-dns-private-eu-west-2b
) with NAT in AZb (nat-0b5f7950219dc295d)

https://github.com/ministryofjustice/staff-device-dns-dhcp-infrastructure/pull/295

rolled in the change in DEV and Pre-Prod, we will have to do PROD in a controlled way.

Executing this action in a production environment during regular work hours carries inherent risks. This stems from the necessity to manually delete and re-add the route table, as Terraform currently lacks the capability to update an existing route without the initial manual deletion. Consequently, a brief period of downtime is unavoidable, and it would be prudent to formally initiate a change request for this purpose. The most suitable timing for this would be during off-hours, either late at night or in the evening. Till will place this ticket in BLOCKED status.

Production stae modification commands
 terraform state rm 'module.servers_vpc.aws_route.pdns-route-2a-pdns-1["rtb-08908a4069cec43fa"]'
 terraform state rm 'module.servers_vpc.aws_route.pdns-route-2a-pdns-1["rtb-0ff36ff3a27ae8756"]'
 terraform state rm 'module.servers_vpc.aws_route.pdns-route-2a-pdns-2["rtb-08908a4069cec43fa"]'
 terraform state rm 'module.servers_vpc.aws_route.pdns-route-2a-pdns-2["rtb-0ff36ff3a27ae8756"]'`

IMPORT_ARGUMENT='module.servers_vpc.aws_route.pdns-route-2a-pdns-1["<IP_ADDRESS>"] rtb-08908a4069cec43fa_<IP_ADDRESS>/32' make import
IMPORT_ARGUMENT='module.servers_vpc.aws_route.pdns-route-2a-pdns-1["<IP_ADDRESS>"] rtb-08908a4069cec43fa_<IP_ADDRESS>/32' make import

IMPORT_ARGUMENT='module.servers_vpc.aws_route.pdns-route-2b-pdns-1["<IP_ADDRESS>"] rtb-0ff36ff3a27ae8756_<IP_ADDRESS>/32' make import
IMPORT_ARGUMENT='module.servers_vpc.aws_route.pdns-route-2b-pdns-1["<IP_ADDRESS>"] rtb-0ff36ff3a27ae8756_<IP_ADDRESS>/32' make import

Terraform plan for production after successful imports:
Terraform will perform the following actions:
  # module.dns.aws_ecs_service.service will be updated in-place
  ~ resource "aws_ecs_service" "service" {
      ~ desired_count                      = 3 -> 5
        id                                 = "arn:aws:ecs:eu-west-2:037161842252:service/staff-device-production-dns-cluster/staff-device-production-dns-service"
        name                               = "staff-device-production-dns-service"
        tags                               = {
            "Name"             = "staff-device-production-dns"
            "Namespace"        = "staff-device"
            "Stage"            = "production"
            "application"      = "dhcp-dns"
            "business-unit"    = "HQ"
            "environment-name" = "production"
            "is-production"    = "true"
            "owner"            = "NVVS DevOps Team<EMAIL_ADDRESS>            "source-code"      = "https://github.com/ministryofjustice/staff-device-dns-dhcp-infrastructure"
        }
        # (15 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy


Setting cache directory programmatically

This light-weight PR revises the way the caching strategy is reset when setting the external parameters within StencilBuilder. This would allow to set the cache directory (both root_name and dir_name) without resorting to environmental variables.

Thanks, I have overlooked this in #892. I pushed a small change on-top that avoids duplicating the forwarding of the cache_settings and gives with_caching a clearer semantic. Can you take a quick look?

bors try

bors try


Fix compiler error with clang-cl

The error (no member named 'copysign' in namespace 'std') seems to only be triggered
when using xtensor-python (see the build log for Psi4: https://dev.azure.com/psi4/psi4/_build/results?buildId=1007)
The fix should be in line with what done in xtensor
I'd like to add a test, but cannot get the error to trigger in isolation...

This looks good to me. Thanks.

Would it be possible to mint a new release and a new set of conda packages?

Yes, I'm working on this now

Thank you!


Migrate BuildSystemManager and all the build systems to be actors

This is the last big piece for actorification of the codebase. All follow-up PRs should be about cleaning things up.

@swift-ci Please test

@swift-ci Please test


"Development for integration" training - Structure and content elaboration (slides)

An initial version is ready!


Enable to use extened CodeIgniter class in testing

Description
#4376 makes the CodeIgniter class extensible.
But CIUnitTestCase has hard coded code new MockCodeIgniter().
When we extend the CodeIgniter class, we need to use the extended MockCodeIgniter
in testing.
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPdocs
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

$ php spark
PHP Warning:  Use of undefined constant ENVIRONMENT - assumed 'ENVIRONMENT' (this will throw an Error in a future version of PHP) in /Users/kenji/work/codeigniter/CodeIgniter4/system/Config/Services.php on line 155
PHP Stack trace:
PHP   1. {main}() /Users/kenji/work/codeigniter/CodeIgniter4/spark:0
PHP   2. require() /Users/kenji/work/codeigniter/CodeIgniter4/spark:53
PHP   3. CodeIgniter\Config\BaseService::codeigniter() /Users/kenji/work/codeigniter/CodeIgniter4/system/bootstrap.php:156
PHP   4. CodeIgniter\Config\BaseService::__callStatic($name = 'codeigniter', $arguments = []) /Users/kenji/work/codeigniter/CodeIgniter4/system/bootstrap.php:156
PHP   5. CodeIgniter\Config\Services::codeigniter($config = *uninitialized*, $getShared = *uninitialized*) /Users/kenji/work/codeigniter/CodeIgniter4/system/Config/BaseService.php:245
PHP   6. CodeIgniter\Config\BaseService::getSharedInstance($key = 'codeigniter', ...$params = variadic(NULL)) /Users/kenji/work/codeigniter/CodeIgniter4/system/Config/Services.php:150
PHP   7. CodeIgniter\Config\Services::codeigniter($config = NULL, $getShared = FALSE) /Users/kenji/work/codeigniter/CodeIgniter4/system/Config/BaseService.php:174

We can't remove detectEnvironment() from CodeIgniter. I definitely think there are some improvements to be made to the whole entry point & app instantiation, but I don't like the Service being environment-dependent. Probably a better short-term solution would be for CIUnitTestCase to inject MockCodeIgniter into the service.

I don't like the Service being environment-dependent.

Can you tell me what's wrong or your concern?

Probably a better short-term solution would be for CIUnitTestCase to inject MockCodeIgniter into the service.

How and where do we inject extended MockCodeIgniter into the service?

It's opposite of how Services usually function. The framework comes with a default adapter for every service, and no matter the context this will be the same. When services need to be mocked either so they can be tested or so they don't get in the way of other tests, we inject the alternate version during test set up.
Here I would like to know why there is a desire to use the service instead of MockCodeIgniter directly. I do think injecting it makes sense in case anything else calls the service, but I don't know why our tests would need to rely on the service to begin with.

I extended CodeIgniter to use a DI container to instantiate controllers.
The DI container gives all dependent objects to the controlle constructor (constructor injection) to instantiate it.
A controller is like this:
class CustomerInfo extends MyController
{
   ...

    public function __construct(
        CartRepository $cartRepository,
        CustomerInfoRepository $customerInfoRepository,
        Twig $twig
    ) {
        parent::__construct();

        $this->cartRepository = $cartRepository;
        $this->customerInfoRepository = $customerInfoRepository;
        $this->twig = $twig;
    }

   ...

When I ran feature tests, all tests failed. Because the MockCodeIgniter can't instantiate
controllers correctly.
I've never used ControllerTester trait yet, but the same problem is in it.

I would say that in your project you have overridden a core service and this you will need to handle that in your tests - this isn't something that the framework needs to be accounting for as long as it provides the tools to handle it (Services::injectMock)

Initially looking at the code I agree on this but hearing @MGatner 's reasons makes me think that, yes, services should not be dependent on the environment it runs. So my suggestion would be to use the injectMock feature of services. Besides, we are in testing mode so we can also take advantage of the mocking feature.
It goes something like this:
-$app = new MockCodeIgniter(new App);
+$app = Services::injectMock('codeigniter', new MockCodeIgniter(new App));

I'm not sure if I followed the correct syntax for mocking services. But something along that we can achieve this.

That's the right idea. I think this is what we want in the framework:
$app = new MockCodeIgniter(new App);
Services::injectMock('codeigniter', $app);

This won't fix @kenjis problem but he can do the same in his project's test case:
$app = new KenjisCoolInjectorCodeIgniter(new App);
Services::injectMock('codeigniter', $app);

Thank you for thinking about my PR.
I agree with @MGatner , services should not be dependent on the environment it runs.
In the first place, code like (ENVIRONMENT === 'testing') is not a good design.
I've changed the code in CIUnitTestCase:
https://github.com/codeigniter4/CodeIgniter4/blob/128931375279ce0f10e3664cfc9133b60d338c63/system/Test/CIUnitTestCase.php#L530-L542
But after all I need to override the method in my use case.
Apparently, this PR's way is not very fruitful.
It makes no big difference whether I extract the following code into a method and override only that, or override the entire  createApplication method.
 	$app = new MockCodeIgniter(new App());
 	Services::injectMock('codeigniter', $app);

Traitify FeatureTestCase made my life little easier, and
it seems my case is not common, I take down this PR.

Thanks for the feedback @kenjis. After understanding you use case, I believe the following:

It is easily accomplished with existing tools (the PR you mentioned helps a lot)
It represents an overriding of core services so should not be supported natively by the framework

I am glad you have found a solution. If you want to talk more about testing solutions I have been working with them a lot recently, feel free to hop on Slack and ping me.


chore: resolve eslint warnings

Following #1115 to implement typedoc and thus tsdoc, eslint is now generating a few more warnings and we had a couple lingering from previous work. This PR will rectify those warning.

This will be converted from draft once #1115 has been merged

@arboleya has resolved one of these since in #1080 however going to still request these changes as I prefer theskip() usage over commenting out the test.


pyglet.shapes.PolyLine ?

Is your feature request related to a problem? Please describe.
I can't draw a simple antialiased polyline shape, which is possible in most graphics libraries, including PyGame
Describe the solution you'd like
Implement an additional shape, pyglet.shapes.PolyLine.
Here's my attempt so far. I know I need to create 2 tris for each line segment, hence the 3 vertices per point, but calculating the vertices themselves is proving challenging to me
class PolyLine(ShapeBase):
    def __init__(self, points, width=1, color=(255, 255, 255, 255),
                 batch=None, group=None):
        """Create a line with more than 2 points.

        The line's anchor point defaults to the center of the line's
        width on the X axis, and the Y axis.

        :Parameters:
            `points` : [[int,int]]
                A list of coordinates
            `width` : float
                The desired width of the line.
            `color` : (int, int, int, int)
                The RGB or RGBA color of the line, specified as a
                tuple of 3 or 4 ints in the range of 0-255. RGB colors
                will be treated as having an opacity of 255.
            `batch` : `~pyglet.graphics.Batch`
                Optional batch to add the line to.
            `group` : `~pyglet.graphics.Group`
                Optional parent group of the line.
        """
        self._points = points

        self._width = width
        self._rotation = 0
        self._num_verts = len(points) * 3

        r, g, b, *a = color
        self._rgba = r, g, b, a[0] if a else 255

        program = get_default_shader()
        self._batch = batch or Batch()
        self._group = self.group_class(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, program, group)

        self._create_vertex_list()
        self._update_vertices()

    def _create_vertex_list(self):
        self._vertex_list = self._group.program.vertex_list(
            6, self._draw_mode, self._batch, self._group,
            colors=('Bn', self._rgba * self._num_verts),
            translation=('f', (self._points[0][0], self._points[0][1]) * self._num_verts))

    def _update_vertices(self):
        if not self._visible:
            self._vertex_list.position[:] = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)

        else:
            x1 = -self._anchor_x
            y1 = self._anchor_y - self._width / 2
            x2 = x1 + math.hypot(self._y2 - self._y, self._x2 - self._x)
            y2 = y1 + self._width

            r = math.atan2(self._y2 - self._y, self._x2 - self._x)
            cr = math.cos(r)
            sr = math.sin(r)
            ax = x1 * cr - y1 * sr
            ay = x1 * sr + y1 * cr
            bx = x2 * cr - y1 * sr
            by = x2 * sr + y1 * cr
            cx = x2 * cr - y2 * sr
            cy = x2 * sr + y2 * cr
            dx = x1 * cr - y2 * sr
            dy = x1 * sr + y2 * cr

            self._vertex_list.position[:] = (ax, ay,  bx, by,  cx, cy, ax, ay,  cx, cy,  dx, dy)

You have made several mistakes in the above code.
If you want to create a shape made up of lines, _draw_mode = GL_LINES should be added(refer to shapes.Arc).
Then, PolyLine is samilar to shapes.Polygon, you can also refer it.

I was planning on raising a PR for this shortly, just need to implement some unit tests:
from pyglet.gl import GL_LINES, GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA
from pyglet.graphics import Batch
from pyglet.shapes import ShapeBase, _ShapeGroup, get_default_shader

class PolyLines(ShapeBase):
    _draw_mode = GL_LINES

    def __init__(
        self,
        lines: Sequence[Sequence[Tuple[float, float]]],
        closed=False,
        color=(255, 255, 255, 255),
        batch=None,
        group=None,
    ):
        self._lines = lines
        self._closed = closed
        self._num_verts = sum((len(pts) + int(closed)) * 2 - 2 for pts in self._lines)
        r, g, b, *a = color
        self._rgba = r, g, b, a[0] if a else 255
        self._rotation = 0

        program = get_default_shader()
        self._batch = batch or Batch()
        self._group = _ShapeGroup(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, program, group)

        self._create_vertex_list()
        self._update_vertices()

    def _create_vertex_list(self):
        self._vertex_list = self._group.program.vertex_list(
            self._num_verts,
            self._draw_mode,
            self._batch,
            self._group,
            colors=("Bn", self._rgba * self._num_verts),
            translation=("f", (self._lines[0][0]) * self._num_verts),
        )

    def _update_vertices(self):
        if not self._visible:
            vertices = (0,) * self._num_verts * 2
        else:
            vertices = []
            trans_x, trans_y = self._lines[0][0]
            trans_x += self._anchor_x
            trans_y += self._anchor_y
            for pts in self._lines:
                # normalise pts to be relative to first point/line offset by anchor
                coords = [[x - trans_x, y - trans_y] for x, y in pts]
                # Create a list of doubled-up points from the points
                for a, b in zip(coords, coords[1:]):
                    vertices.extend(a)
                    vertices.extend(b)
                if self._closed:
                    vertices.extend(coords[-1])
                    vertices.extend(coords[0])

        try:
            # pyglet 2.0.6 renamed vertices to position, and oddly raises KeyError
            dest = self._vertex_list.vertices
        except (AttributeError, KeyError):
            dest = self._vertex_list.position
        dest[:] = vertices

    @property
    def lines(self):
        return self._lines[:]

    @property
    def lines(self):
        return self._lines[:]

    @property
    def rotation(self):
        """Clockwise rotation of the shape, in degrees.

        The shape will be rotated about its (anchor_x, anchor_y) position.

        :type: float
        """
        return self._rotation

    @rotation.setter
    def rotation(self, rotation):
        self._rotation = rotation
        self._vertex_list.rotation[:] = (rotation,) * self._num_verts

class Box(PolyLines):
    def __init__(self, x, y, width, height, **kwargs):
        x1, y1 = x + width, y + height
        pts = [(x, y), (x1, y), (x1, y1), (x, y1)]
        super().__init__([pts], closed=True, **kwargs)
        self._width = width
        self._height = height

    @property
    def width(self):
        return self._width

    @property
    def height(self):
        return self._height

example usage:

def stick_man(x, y, height, color, batch=None, group=None):
    # 8  ^
    # 7 < >
    # 6  v
    # 5  +
    # 4 /|\
    # 3/ | \
    # 2  +
    # 1 / \
    # 0/   \
    # 01234
    height /= 8
    sx, sy = height, height
    lines = [
        [(0, 0), (2, 2), (4, 0)],  # legs
        [(2, 2), (2, 5), (4, 3)],  # torso and rt arm
        [(0, 3), (2, 5), (2, 6), (1, 7), (2, 8), (3, 7), (2, 6)],  # left arm and neck
    ]  # head
    scaled = [[(x0 * sx, y0 * sy) for x0, y0 in line] for line in lines]
    s = PolyLines(scaled, batch=batch, group=group)
    s.anchor_position = center(scaled)
    s.position = x, y
    return s

Thanks for that, just what I needed!
I had to remove the : Sequence[Sequence[Tuple[float, float]]] to avoid the error (python 3.11 feature?):
    lines: Sequence[Sequence[Tuple[float, float]]],
NameError: name 'Sequence' is not defined

I don't know if it's a miss in pyglet, but I cannot set the thickness of all these shapes. Do I miss something?
Thanks for this contrib.

I had to remove the : Sequence[Sequence[Tuple[float, float]]] to avoid the error (python 3.11 feature?):

That's not a 3.11 feature. You need to import it from one of these places:

typing (Deprecated as of 3.9)
collections.abc (3.9+)
the add-on typing_extensions module, which attempts to provide backports of later features to earlier Python versions

Ok for Sequence, but still missing Tuple (python 3.9.2)...

Do the same thing for Tuple and other type annotations that seem to be missing.

Yep, but I cannot find any import for Tuple. It works in lowercase.
from collections.abc import Sequence

.../...

        lines: Sequence[Sequence[tuple[float, float]]],

You can do from typing import Tuple. It is deprecated in 3.9+, because lowercase tuple is now usable. However, we have to stick to the legacy way for now because we still support Python 3.8 (until it goes EOL next year).

I’ve not figured out how to set the thickness of the line yet, I don’t really need it for my use case but it would be nice to add. (Especially as I am trying to emulate opencv polylines fn)

Setting the thickness of GL_LINES is possible with the glLineWidth function, but it does not work on all platforms/drivers (macOS). For that reason, the Line shape is done with a quad.
I would get the first revision done first with GL_LINES, and then revisit it later if you want to add thickness.

You can do from typing import Tuple

Thanks. For now it works regarding my needs with the previous hacks. Not so important in my case the type hints.

Setting the thickness of GL_LINES is possible with the glLineWidth function

Great!
pyglet.gl.glLineWidth(thickness)

Thanks
Is there a reason not to provide this directly in pyglet api? A thickness argument for example?

Yes, it does not work on all platforms so we can't use it in the shapes module.

@mrzapp just wondering, what makes this better than drawing multiple pyglet lines other than maybe speed?

It’s all about the performance.

BTW I’m sorry I’ve not raised a PR for this yet. Family life and work have been quite demanding of late. I’m quite happy for someone else to pick it up or else I will get around to it over the summer break.


prometheus-nvidia-gpu-exporter: init at 1.2.0

Description of changes
Add nix package and nixos module for nvidia gpu exporter for prometheus.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

is there something I should do to push this forward?


Update content.json

Added "Javascript for Cats" and "Eloquent Javascript", two excellent free resources for beginners.

These are good resources and will merge, but going re-order their priority.


Fix install/upgrade chart error notifications

fixes #4673

errors that are 5XX show up as endpoint errors, these are tied into the notification bell and are distruptive
if there's something wrong in the chart we often got a 5XX error
in src/jetstream/plugins/kubernetes/install_release.go it's hard to determine if the error is user or system based
this pr switches the assumption to all user based errors

fixes #4672

the error message associated with a helm install can be pretty big
ensure stepper snack bar can handle it

Codecov Report

Merging #4729 into master will decrease coverage by 26.17%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #4729       +/-   ##
===========================================
- Coverage   54.44%   28.26%   -26.18%
===========================================
  Files        1120       58     -1062
  Lines       38961     4504    -34457
  Branches     4904        0     -4904
===========================================
- Hits        21211     1273    -19938
+ Misses      17574     3055    -14519
  Partials      176      176


Increment version for loadtesting releases

Increment package version after release of azure-developer-loadtesting

API change check
API changes are not detected in this pull request.


Bug regarding superpose remaining unevaluated on empty tuples

Clearly there is no way for the following collapse to have any item:
!(== () (collapse (let* (($L ())
                         ($x (superpose $L)))
                        $x)))

Yet:
Output: [False]
Expected: [True]
MeTTa leaves the let* expression unevaluated in this case, which leaves the collapse with a "pseudo-item", an expression with variables, which leads to the comparison to return false even though there cannot be any variable assignment that actually satisfies the let* expression.

The issue is that let is a grounded function. If we write (let $x (superpose ()) Test), it will just return NoValidAlternatives error instead of returning an empty result. let* is tricker. It doesn't get reduced similar to how (+ 5 my-custom-symbol) also is reduced.
OTOH, !(let $x something (superpose ())) successfully returns an empty result. So, this can be considered as a bug in let and let* implementation. But one can argue that trying to assign an empty value to a variable in let is bug in the code that uses let. So, it depends. It can be fixed if needed, but I'm not sure what behavior will Minimal MeTTa have in this case, so I'd propose to fix it now if it is really a blocker. Otherwise, I'd propose to revisit this issue after migration.

Makes sense, no worries it is not a blocker for me.
"But one can argue that trying to assign an empty value to a variable in let is bug in the code that uses let"
Here I agree, except that in many cases it will not be (superpose ()) but (superpose $T) instead in a function, whereby $T is the input to the function which could receive an empty tuple in some cases.

Regarding minimal MeTTa, we have Empty symbol there to represent an empty result. Using it we could potentially properly fix superpose to return Empty from (superpose Empty) call. Thus the example above will turn into:
!(collapse (let $L Empty (let $x (superpose $L) $x)))

And collapse will return () in this case. One can "simulate" this on a current version of minimal MeTTa using additional parenthesis:
!(collapse (let $L (Empty) (let $x (superpose $L) $x)))

Thus if (superpose $T) is called with $T == Empty it will work. We should also fix collapse to return Empty instead of () to make it complete and allow collapse/superpose chains on Empty results.

I didn't yet get why "Empty" needs to be an explicit value. Either there is a value, which can be an empty tuple () or 42 as a special case, or there is no value, in which case backtracking should occur. What is it for?

I'd add that in dependently-typed languages, Void exists and means an empty set. The function with Void as its return type cannot exist in terms of constructive mathematics. Thus, if one provides a function for Prop -> Void , it is considered as a proof that Prop is false (that is, it is also an empty set , or a non-inhabited type). However, we still want to construct expressions that "return" "nothing" from Void for a declarative non-constructive analysis.

@Necr0x0Der Thank you for the detailed explanation, this makes perfect sense. (as I think I also commented in the meeting we had a while ago)

Maybe, we can close it, but I'd still like to clarify if we are ok with !(let $x (empty) OK) returning NoValidAlternatives or !(let* (($x (empty))) OK) remaining unreduced, or it would make more sense for let to return Empty, when a variable in it is attempted to be assigned to Empty? For example, !(let (A $x) (A B) OK) returns OK, while !(let ($x $x) (A B) OK) returns Empty (since unification fails). It is a little bit different from !(let $x (empty) OK), but semantics of both cases looks close - in the latter case we also cannot unify $x with nothing. I'd revisit this issue after migration to Minimal MeTTa, because it may have other results.

If Minimal MeTTa will have another result, which satisfies us, I'd add this to unit tests to declare this behavior as intended.


Seamless HTTPS without certificate warnings: integrate nodecert/https-server

This is a 🙋 feature request.
As documented in the readme, the expected behaviour of Bankai currently is to present a certificate error in the browser on first use.
I just released nodecert (github mirror), which uses mkcert to create locally-trusted certificates. I also just released https-server (github mirror) which uses nodecert to provide a seamless experience for running a local development server over port 443.
To try it out with some static content:

npm i -g @ind.ie/https-server
https-server [folder-to-serve]
Go to https://localhost to view the site without certificate warnings.

One of the reasons I wrote these is because I am considering using Choo and Bankai for my next project and I’d love to see this seamless workflow integrated. I wanted to get your thoughts on (a) whether this is something you’d like to see in Bankai and (b) if you had any thoughts on how best to integrate it before kicking off by myself :)

this looks rad! there is potentially a licensing problem because bankai is MIT, and afaik that doesn't let us use AGPL software.
are there any side effects to running this? for example, if someone tries out bankai and decides it doesn't fit their use case, will they have a certificate authority thing stored somewhere forever? if so, it might be best to integrate it as a command you can run (eg bankai cert) and log a message telling you about that in bankai start.

Thanks :)
Re: the license, yes, you’re right: you cannot use AGPL/GPL in an MIT project but you can do it the other way around. Just out of curiosity, was there a specific reason for the MIT licensing decision? (Given that Bankai/Choo appear to be for individuals and not for corporate use and if the latter uses them it would be good to force them to give back, it might make sense to license it under AGPL.)
Re: side-effects. Yes, the certificates and the root certificate store would remain. This is definitely something the person should be made aware of but it also means that any other dev server can use them in the future (e.g., if you’re using https-server directly).

Just a quick update, I made an internal fork of Bankai for the Hypha project and implemented https-server (as well as some simplifications, as I don’t need SSR-rendering of Choo apps, for example).
Here’s the source, in case it helps with the upstream project:
https://source.ind.ie/hypha/tools/web-compiler
Also, I added the initial Hypha scaffolding code so you can see how I’m using it.
Thank you all for Bankai and Choo – they’re amazing (being able to have HTTPS routes, WebSocket routes, and static routes co-exist with live reload at development time rocks (using SSE was a masterstroke) ;)


firebase nodejs: /usr/lib/x86_64-linux-gnu/libgs.so: No such file or directory

Hi,
I'm getting this error when I try to deploy to firebase nodejs - any input on what I'm missing is much appreciated:
Deployment error.
Build failed:
{
  "error": {
    "canonicalCode": "INVALID_ARGUMENT",
    "errorMessage": "`npm_install` had stderr output:
    node-pre-gyp WARN
    Using request for node-pre-gyp https download
    g++: error: /usr/lib/x86_64-linux-gnu/libgs.so: No such file or directory
    make: *** [Release/obj.target/ghostscript4js.node] Error 1
    gyp ERR! build error
    gyp ERR! stack Error: `make` failed with exit code: 2
    gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
    gyp ERR! stack     at emitTwo (events.js:126:13)
    gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
    gyp ERR! System Linux 4.15.0-1044-gcp
    gyp ERR! command \"/usr/bin/node\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"
    gyp ERR! cwd /workspace/node_modules/ghostscript4js
    gyp ERR! node -v v8.16.0
    gyp ERR! node-gyp -v v3.8.0
    gyp ERR! not ok
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the<EMAIL_ADDRESS>install script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

    npm ERR! A complete log of this run can be found in:
    npm ERR!     /builder/home/.npm/_logs/2020-03-09T10_06_18_268Z-debug.log
    error: `npm_install` returned code: 1",
    "errorType": "InternalError",
    "errorId": "F8BCC123"
  }
}

I was trying to override --GS4JS_HOME but then it fails during the npm install ghostscript-js.

Hi @arthabus,
I don't know firebase, but I think that the problem is that in your production environment you don't have the ghostscript installed. The installation process try to link the ghostscript library using the default  path /usr/lib/x86_64-linux-gnu/libgs.so.
You can use two environment variables:

GS4JS_HOME is path the where ghostscript library is installed. Usually in /usr/lib/x86_64-linux-gnu/
GS4JS_LIB  is the name of the ghostscript file library. Usually libgs.so
In your deployment process the best thing is to set the two environment variables if necessary and then start the installation of modules for your application:

export GS4JS_HOME=/usr/lib/x86_64-linux-gnu/ && \
GS4JS_LIB=libgs.so && \
npm install

Obviously you need to have ghostscript installed on your production environment.

@NickNaso thanks. Yes, I guess the problem is that it's not installed.
And sorry for the dumb question but till today I was only using node with npm - this is how I installed any needed modules so far. So how do I install ghostscript to node?  Any article or how to google it would be very helpful. I know I'm missing something fundamental here...

@NickNaso Hey brother,
This library can be really usefull for firebase and aws lambada users.
I am using firebase and the available options for gs is not updated for a while (like available gs version is best at 9.2)
See this [Ghostscript Firebase Functions ] on stackoverflow as with available library using -c (postscript command) is not possible for a reason.
If you can modify the installation process of GS4JS for firebase functions (like node-gs is doing) then please do it.
It would be really great.
Waiting for your positive response brother  :)
(https://stackoverflow.com/questions/61000236/gs-firebase-function-cant-set-offset)

Hi @arthabus,
sorry for the late in response to you. To allow you to easily use ghostscript4js  on serverless environment I need to make all the tasks that I discussed here: https://github.com/NickNaso/ghostscript4js/issues/55#issuecomment-610359219
Maybe a simple workaround could be to build ghostscript library and put it on ta folder inside of your project then you can set the environment variables GS4JS_HOME e GS4JS_LIB to point to that folder and file library. At that point all should work well. I think that you need to build the library for Linux.

This issue relates to https://github.com/NickNaso/ghostscript4js/issues/61


Dimred methods preprocessing

Submission type
Take 2 at adding standard pre-processing to the dimensionality (2D) task, replacing #289.
This submission modifies the dimensionality reduction (2D) task to include a script with standard pre-processing functions for use by methods (See #279). These should store a transformed expression matrix in adata.X and a higher dimensional embedding in adata.obsm['X_input'] which is then used as the input for (most) methods.

Add a preprocessing.py function that has pre-processing functions (one currently)
Added that pre-processing function to the existing methods

Created a new variant of PHATE that uses the standard pre-processing

Updated the README to describe the pre-processing step

Testing

[x] This submission was written on a forked copy of SingleCellOpenProblems
[ ] GitHub Actions "Run Benchmark" tests are passing on this base branch of this pull request (include link to passed test: ) PENDING
[ ] If this pull request is not ready for review (including passing the "Run Benchmark" tests), I will open this PR as a draft (click on the down arrow next to the "Create Pull Request" button)

Submission guidelines

[x] This submission follows the guidelines in our Contributing document
[x] I have checked to ensure there aren't other open Pull Requests for the same update/change

Ok, think I have fixed the PHATE issue (now I understand how things are run). Seems to be running but I'll wait for it to finish before I update here.


Override suggestion markdown serializer function.

My use case requires me to return a custom URL based on the ID string.
i.e. return something like `[${label}](matrix.to/${id})` instead of returning `[${label}](${attributeType}://${id})`
Thank you

@rfgamaral  Yes, that's exactly what I meant to say, a generic override mechanism so I can implement my use case specific output logic. Thanks again.

Instead, what we could do, is to provide a generic override mechanism, where you could add your own rules (for both serializers). You could even copy and paste the built-in one, and adapt it to your syntax.

Unfortunately, I misjudge the work required to implement a generic override mechanism, and after some careful consideration with the team, we've decided not to go forward with this feature.
The reason being that both the HTML and Markdown serializers are directly used by some built-in extensions, and providing a generic override mechanism while making sure that all usages of said serializers worked as expect, would introduce a certain complexity and added maintainability to the project for a feature that we don't need.
As a workaround, I suggest that you introduce some kind of pre- / post-processor on your side. By taking advantage of the ${attributeType}, you can define a custom suggestion schema that should allow you to have a simple RegExp to do some find/replace magic where needed.
Thank you again for taking the time to contribute to Typist.

Sure, makes sense. I have gone ahead with 'pre/post processing the suggestion string' using RegExp in my project. Thank you.


fix warp memory driver compression error

warp didn't work because the memory driver in use does not support the compress option. I applied an easy fix.

Yes, true. I'll see what I can do.

Codecov Report

Merging #460 (8e74d34) into main (2a4be87) will decrease coverage by 0.05%.
The diff coverage is 100.00%.

:exclamation: Current head 8e74d34 differs from pull request most recent head 672ae6b. Consider uploading reports for the commit 672ae6b to get more accurate results

@@            Coverage Diff             @@
##             main     #460      +/-   ##
==========================================
- Coverage   81.14%   81.10%   -0.05%
==========================================
  Files          48       47       -1
  Lines        4094     4090       -4
==========================================
- Hits         3322     3317       -5
- Misses        772      773       +1

Impacted Files
Coverage Δ

ext/RastersArchGDALExt/gdal_source.jl
88.84% <100.00%> (ø)

... and 4 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Ok, that was quicker than expected. Maybe because the crop and mask functionality worked so nicely and fast ;-)
So: I added a test for warp and removed once instance of tests that were included twice.


Removal of gtk-info if not being used

If GTK is not installed or being used, the information should not be printed, however if it is installed then of course it should be printed.
This pull will not print gtktheme or gtkicons if no gtk theme is installed

I'm not sure if I want this merged, the default info printed is meant to be a base. I expect you to edit it to suit your needs.

Here's another way of doing it:
getgtktheme
if [ "$gtktheme" != "None" ]; then
    prin "GTK Theme $gtktheme"
    info "Icons" gtkicons
fi

This doesn't require any modification to the functions below and will work if the file exists and the name field is blank inside of the file.


[Feature Request] Table view

When the top-level JSON structure is an Array, it would be helpful (at times) to present the data in table form.  Obviously this may problematic where complex structures are concerned (array of objects of objects of arrays... or whatever), but in many cases this would be helpful.
This request would add a "Table" View to the existing "Raw" and "Parsed" options.  Initially, this option would only be available in two cases:

Array of simple Objects: Data would be represented as a table with object keys as column headings.
Array of simple Arrays:  Similar to the above, but without column headings.
In both cases, if there are more than... say... 20 key-values / values in sub objects, the "Table" option would be disabled.

@nikrolls I can take a stab at this, but as it's a non-trivial amount of work so I thought I'd run the idea by you first to make sure you're open to it.

@broofa Great idea! That would be really useful. I'm happy for you to take the lead.
Most of my considerations are already answered with your MVP cases above, but I have a couple remaining:

For usability, could we continue to show the Table button when not available but have it disabled with a tooltip explaining why?
When rendering the table, what do we do about keys that aren't present in all objects? Do we create a column for them but leave cells blank where the key is missing, or do we omit those columns entirely?

Cool. I'll go ahead and start in on this.  No promises on when I'll have something up :-).
Regarding your questions...

Yes, table button should be present but disabled if (for whatever reason) a table isn't renderable.
For sparsely defined keys there will be a column, with rows indicating where values are undefined.

@nikrolls Can you please review #22?  I don't mean to be pushy, but getting radio silence on that after your support for this idea here is a little... well... it'd be nice to see some movement there.

Closing due to lack of response on https://github.com/nikrolls/json-formatter/pull/23


Check whether Dash still works, and fix it if it doesn't.

Subject says all.
Needed for messy.

There are issues getting the SFU started from the orchestrator. Issue created.
On the Mac, the idea of using the config variable SIGNALS_SMD_PATH no longer works (because it's going to be in Library/ under some unknown pathname. Need to rethink.

After manually fixing the SIGNALS_SMD_PATH the uploader still doesn't work. The Unity log file has the following error:
[2024/07/11 14:37:25][0.0] Pushing to HTTP at "http://flauwte.huiskamer.private:8096/c452d4a4-5596-43ff-828e-b10d0466a7fd/"
[vrt_create_ext] failure: can't load<EMAIL_ADDRESS><EMAIL_ADDRESS>0x0082): Library not loaded: /opt/msprod/sysroot/osx//lib/libgpac.dylib
  Referenced from: <AFF98D41-F2E1-30CB-B96B-9A8103E985CE><EMAIL_ADDRESS>  Reason: tried: '/opt/msprod/sysroot/osx//lib/libgpac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/msprod/sysroot/osx//lib/libgpac.dylib' (no such file), '/opt/msprod/sysroot/osx//lib/libgpac.dylib' (no such file), '/usr/local/lib/libgpac.dylib' (no such file), '/usr/lib/libgpac.dylib' (no such file, not in dyld cache))

And, indeed, on the Mac there doesn't seem to be a libgpac. Possibly never put into VRTNativeLibraries.

To do: check whether there's still a copy somewhere in VR2GNativeLibraries

It's not in the repo, and it looks like it's never been in the repo. But there seems to be a full copy of the MS stuff on flauwte in
/Volumes/FlauwteSSD/opt/msprod/sysroot/osx.

(For reference the orchestrator issue is https://github.com/cwi-dis/vr2gather-orchestrator-v2/issues/30)

Dash uploader does not work on Windows. When bin2dash.so it tries to load MPEG_DASH.smd, which is its extension module to do mpeg-dash,  it fails. Possibly a %PATH% issue.
The file exists, and inspecting the file with DependenciesGui does not show any missing references. But some of those references are in the same directory as where mpeg_dash.smd itself is, so maybe that is the problem?
Here is the Editor log output from a run under the VS debugger. You can see that it tries to load the .smd and then immedeately unloads it again.

'Unity.exe' (Win32): Loaded<EMAIL_ADDRESS>Module was built without symbols.
'Unity.exe' (Win32): Unloaded<EMAIL_ADDRESS>'Unity.exe' (Win32): Loaded<EMAIL_ADDRESS>Module was built without symbols.
'Unity.exe' (Win32): Unloaded<EMAIL_ADDRESS>Exception thrown at 0x00007FFB6F97B699 (KernelBase.dll) in Unity.exe: 0x20474343 (parameters: 0x00000206637EA680).
Exception thrown at 0x00007FFB6F97B699 (KernelBase.dll) in Unity.exe: 0x21474343 (parameters: 0x00000206637EA680, 0x0000005C4A7ACD50, 0x000000006EABDBDC, 0x0000000000000000).
Exception thrown at 0x00007FFB6F97B699 (KernelBase.dll) in Unity.exe: 0x21474343 (parameters: 0x00000206637EA680, 0x0000005C4A7ACE50, 0x000000006EAB42A1, 0x0000000000000000).
Exception thrown at 0x00007FFB6F97B699 (KernelBase.dll) in Unity.exe: 0x21474343 (parameters: 0x00000206637EA680, 0x0000005C4A7ACF10, 0x000000006EAB87E2, 0x0000000000000000).
The thread 6524 has exited with code 0 (0x0).
Exception thrown at 0x00007FFB6F97B699 (KernelBase.dll) in Unity.exe: 0x21474343 (parameters: 0x00000206637EA680, 0x0000005C4A7ACFD0, 0x000000006EAB89FF, 0x0000000000000000).
AsyncDashWriter#0(http://flauwte.huiskamer.private:8096/b880e069-cb2a-4b8a-80dc-6aebd9fdc558/) Exception:AsyncDashWriter#0: vrt_create: failed to create uploader http://flauwte.huiskamer.private:8096/b880e069-cb2a-4b8a-80dc-6aebd9fdc558/pointcloud.mpd
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
VRT.Transport.Dash.AsyncDashWriter:Init (string,string,string,string,Cwipc.StreamSupport/OutgoingStreamDescription[]) (at C:/Users/DIS/VRTogether/VR2Gather/nl.cwi.dis.vr2gather/Runtime/VRTTransportDash/Scripts/AsyncDashWriter.cs:90)
VRT.UserRepresentation.PointCloud.PointCloudPipelineSelf:_InitForSelfUser (VRT.Core.VRTConfig/_User/_PCSelfConfig,bool) (at C:/Users/DIS/VRTogether/VR2Gather/nl.cwi.dis.vr2gather/Runtime/VRTUserPointClouds/Scripts/PointCloudPipelineSelf.cs:199)
VRT.UserRepresentation.PointCloud.PointCloudPipelineSelf:Init (bool,object,VRT.Core.VRTConfig/_User,bool,UnityEngine.GameObject) (at C:/Users/DIS/VRTogether/VR2Gather/nl.cwi.dis.vr2gather/Runtime/VRTUserPointClouds/Scripts/PointCloudPipelineSelf.cs:80)
VRT.Pilots.Common.PlayerControllerBase:SetRepresentation (VRT.Core.UserRepresentationType,bool,bool) (at C:/Users/DIS/VRTogether/VR2Gather/nl.cwi.dis.vr2gather/Runtime/VRTCommon/Players/PlayerControllerBase.cs:157)
VRT.Pilots.Common.PlayerControllerBase:_SetupCommon (VRT.Orchestrator.Elements.User) (at C:/Users/DIS/VRTogether/VR2Gather/nl.cwi.dis.vr2gather/Runtime/VRTCommon/Players/PlayerControllerBase.cs:93)
VRT.Pilots.Common.PlayerControllerSelf:SetUpPlayerController (bool,VRT.Orchestrator.Elements.User) (at C:/Users/DIS/VRTogether/VR2Gather/nl.cwi.dis.vr2gather/Runtime/VRTCommon/Players/PlayerControllerSelf.cs:26)
VRT.Pilots.Common.SessionPlayersManager:InstantiatePlayers () (at C:/Users/DIS/VRTogether/VR2Gather/nl.cwi.dis.vr2gather/Runtime/VRTCommon/Players/SessionPlayersManager.cs:165)
VRT.Pilots.Common.SessionPlayersManager/<InstantiatePlayersAfterDelay>d__21:MoveNext () (at C:/Users/DIS/VRTogether/VR2Gather/nl.cwi.dis.vr2gather/Runtime/VRTCommon/Players/SessionPlayersManager.cs:117)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)

On Mac-Intel the dash uploader also doesn't work, but this is a different problem: it can't even load bin2dash itself.
It doesn't appear to look in that nl.cwi.dis.vr2gather.nativelibraries@cd233771f0/Runtime/Plugins/Mac directory.


fix: position the material text-area bottom bar (CP)

Backport https://github.com/vaadin/web-components/pull/3359 for Vaadin 14

This seems to break wheel scrolling a container which has a text-area inside it.  If the mouse pointer is over the text-area, then the container won't scroll.  I guess this is because the textarea is consuming the scroll event. (If the mouse pointer is over anywhere else on the container or other componet in the container, then scrolling works fine.)

Hi @StainlessSteelRat, yeah it's the e.preventDefault() in the new "wheel" event listener that causes it. We should change it so that the event gets canceled only if the text area's scroll position changes. Please report as a new issue in https://github.com/vaadin/web-components


[Feature request] Add an option to suppress the summary completely

I use karma-spec-reporter together with karma-summary-reporter. It leads to duplicating the per-browser summary information. Spec reporter summary gives no additional information, so I want to disable it to make the logs cleaner.

 Thanks for the help!


Bad file descriptor when trying to change Admin PIN

I'm not sure where this error originates from, so I'll describe the context:

I set up GPG on two YubiKeys a year ago, following this guide, one as a backup to the other
Two months ago I updated their expiration dates as described here
Yesterday I entered the GPG pin incorrectly 3 times when trying to open Password Store on my Android phone, so now gpg -card-status says 0 0 3

I'm 99% sure the 2nd and 3rd times were correct, but that's a different issue

This morning I'm trying to unblock the PIN using the admin PIN as described here

gpg --card-edit
admin
passwd
2

The first time I pasted in the admin password, which must have added a space or something, because I got
Error unblocking the PIN: Bad PIN

I then tried the admin PIN of my backup YubiKey, thinking I mixed them up. So I'm down to 0 0 1
But when typing the correct one in manually, 100% sure it matches what I have written down I got
Error changing the PIN: Bad file descriptor

On my backup YubiKey (so the one that isn't blocked) I tried changing the admin PIN (option 3), typing it manually as well, and received the same error.
One thing I can think of is that both admin PINs are alphanumeric, so including numbers and lower- and uppercase letters. No symbols.
$ gpg --version
gpg (GnuPG) 2.2.40
libgcrypt 1.10.1-unknown
...

What could be causing this, and how can I fix it?
Edit: I'm on Manjaro Linux

I can only suggest resetting the card and provisioning it from backup if you're locked out. Otherwise, it's not clear what caused this issue. The guide could benefit from additional guidance on selecting secure and usable PINs, however.


New version: IntensityMetrics v0.3.0

Registering package: IntensityMetrics
Repository: https://github.com/Orchard-Ultrasound-Innovation/IntensityMetrics.jl
Created by: @mofii
Version: v0.3.0
Commit: d7ff02e3ac9abaa6bb90c3edbd856274c1730f1c
Reviewed by: @mofii
Reference: https://github.com/Orchard-Ultrasound-Innovation/IntensityMetrics.jl/commit/d7ff02e3ac9abaa6bb90c3edbd856274c1730f1c#commitcomment-48566714

@mofii please see the message above, it looks like there is a syntax error in your code?  Once you fix it, you can trigger registration again on the new commit  keeping the same version number, so that this pull request will be automatically updated.
[noblock]


React Context, content as function, why?

To use this for a Layout, you have two examples. One option is to just set content to a particular component (content: <WelcomeComponent name="Arunoda" />) and the other is to set content to a function returning the component (content: () => (<WelcomeComponent name="Arunoda" />)).
You mention that this second option is to use the React context but what is that? Why is this necessary? They seem to both result in the same thing

+1


chore(deps): update terraform terraform-ibm-modules/secrets-manager/ibm to v1.15.2

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/secrets-manager/ibm (source)
module
patch
1.15.1 -> 1.15.2

Release Notes

terraform-ibm-modules/terraform-ibm-secrets-manager (terraform-ibm-modules/secrets-manager/ibm)
v1.15.2
Compare Source
Bug Fixes

deps: update terraform ibm to latest for the deployable architecture solution (#158) (a858b59)

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

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