Unable to upload artifacts

I'm trying to upload an artifact using the information from https://mesosphere.github.io/marathon/docs/artifact-store.html, but it always returns:
{"message":"Unsupported Media Type"}

Here are some of the curl calls I've tried that seem like they should work, but don't:
curl -v -include -XPOST http://marathon-host:8080/v2/artifacts --form<EMAIL_ADDRESS>
curl -v -include -XPOST http://marathon-host:8080/v2/artifacts/test.txt --form<EMAIL_ADDRESS>
Can anyone show me how this works?  Can we work together to get some working examples into the documentation?

Bump.
It's awfully quiet here.  Is this a real feature?  Any advice would be appreciated!

/cc @aquamatthias

@jaytaylor I have tried to reproduce the problem. I used the exact same curl commands you have provided (with a different file).

Start marathon with the option --artifact_store file:///tmp/artifacts
Upload a file curl -include -XPOST http://localhost:8080/v2/artifacts --form<EMAIL_ADDRESS>There is a file uploaded: ls -la /tmp/artifacts/changelog.md

See the log here:
➔ curl -include -XPOST http://localhost:8080/v2/artifacts --form<EMAIL_ADDRESS>HTTP/1.1 100 Continue

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Expires: 0
Content-Length: 0
Server: Jetty(8.1.15.v20140411)

If the artifact store is not defined on the command line, I get this response:
HTTP/1.1 422
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Expires: 0
Content-Type: application/json
Transfer-Encoding: chunked
Server: Jetty(8.1.15.v20140411)

{"message":"No storage provider available to load/persist artifacts. Configuration problem?"}

Can you attach some more details, so we can reproduce this problem?

Please reopen, if the problem still exists.

I haven't had time to get back to this yet.  Will reopen if there is still an issue.
Thanks!

I just hit this -
I just hit this, using marathon 0.8.2 -

curl -s -v -include -XPOST http://MARATHON_IP:8080/v2/artifacts --form<EMAIL_ADDRESS>* Couldn't find host MARATHON_IP in the .netrc file; using defaults
* Hostname was NOT found in DNS cache
*   Trying MARATHON_IP...
* Connected to MARATHON_IP (MARATHON_IP) port 8080 (#0)
> POST /v2/artifacts HTTP/1.1
> User-Agent: curl/7.37.1
> Host: MARATHON_IP:8080
> Accept: */*
> Content-Length: 312
> Expect: 100-continue
> Content-Type: multipart/form-data; boundary=------------------------33ea6ebe2de75e44
>
* Done waiting for 100-continue
< HTTP/1.1 100 Continue
HTTP/1.1 100 Continue

< HTTP/1.1 415 Unsupported Media Type
HTTP/1.1 415 Unsupported Media Type
< Expires: 0
Expires: 0
< Content-Type: application/json
Content-Type: application/json
* Server Jetty(8.y.z-SNAPSHOT) is not blacklisted
< Server: Jetty(8.y.z-SNAPSHOT)
Server: Jetty(8.y.z-SNAPSHOT)
< Pragma: no-cache
Pragma: no-cache
< Cache-Control: no-cache, no-store, must-revalidate
Cache-Control: no-cache, no-store, must-revalidate
< Content-Length: 36
Content-Length: 36

* HTTP error before end of send, stop sending
<
* Closing connection 0
{"message":"Unsupported Media Type"}%```

This seems related to leader proxying issues here #726 and #1239 . I just picked a random master IP to do the CURL above (which didn't happen to be the leader one). If I choose the actual leader of the cluster, it works fine.

Hey @tayzlor can you test this with our current release candidate (0.9.0 RC1). A lot of changes were made to the leader proxy (See #1598). If this problem remains, please open a separate issue.


Extended readme with instructions

Follow up on #1
This might help out other people...

Yeah, pretty awesome! Thanks! :+1:


Android: Rename "Send Full Story" or use Text view

See https://getsatisfaction.com/newsblur/topics/android-send-full-story-to-doesnt-send-full-story. I'd be happy with either, but I agree that it shouldn't say Full Story unless it's the Text view. Perhaps make this conditional based on whether or not the Text view has been loaded for the story. Full Story when yes, "Story" when just the regular feed content.

fixed in #938


[5.2] Fix blob type for doctrine columns (binary to blob).

Resubmitted for 5.2 #12044

This should be backported to 5.1, I suppose.

I mentioned it on the original issue ( #12043 ) and I did not receive any response (and the issue was closed). I have a branch ready to submit a PR if it's going to be merged.

Should have been sent to 5.1 in the first place rather than backported.

I can cherry-pick and backport though I guess. Will just check with Taylor if he's ok with this.

Where can I find the best way to proceed for this kind of issues that affect both, LTS and current versions? Because I did what I understood you say here. This is a minor bug, fully backwards compatible and I sent it to the latest stable branch (5.2, if we ignore my mistake of sending it to master first, sorry about that)).
Did I misunderstand it?

I thought in cases like this, the way to go was to PR to master (5.2) then if suitable, it would manually be backported to LTS (5.1). Isn't it?

Not to master but to the latest stable branch. master is 5.3 at the moment and that was my first mistake but that's clearly stated on the docs.

Bug fixes should never be sent to the master branch unless they fix features that exist only in the upcoming release.

I thought in cases like this, the way to go was to PR to master latest stable (5.2) then if suitable, it would manually be backported to LTS (5.1). Isn't it?

No. Contributors should PR to the correct branch. We don't like to backport. We merge to lowest, then recursively merge upwards.

This is a minor bug, fully backwards compatible and I sent it to the latest stable branch (5.2, if we ignore my mistake of sending it to master first, sorry about that)).

Our contribution guide says they need to be sent to the LTS branch, which is currently 5.1.

Alright, so I misunderstood latest stable branch with latest LTS branch, maybe that's something to be better specified on the contribution guide, because to me, the latest stable is not the same as the latest LTS.

Alright, so I misunderstood latest stable branch with latest LTS branch

Looks like our docs are actually incorrect. They should say the LTS branch if they are present in there, otherwise the latest stable.


Works for only some Instagram users?

I want to say thank you for making this! So I'm able to get this to work, but for certain users the feed is never fetched at all, but for some users it works (unless people set their profile to private, but otherwise even public yields no feed). Is there a limitation to a User Instagram ID?

I've come across the exact same issue, my account works which is private. Though another front end dev's account didn't and neither did our clients account. Both their accounts are public. Not sure what the solution would be?

Folks having issues with this are probably in sandbox mode: https://www.instagram.com/developer/sandbox/


build-support: add strings-replace tool

This commit introduces a tool called "strings-replace" that allow for a simple substitution of strings as as discovered by
strings -t d "$target" | grep e "$pattern"

Because this is a substitution of a null-terminated string into a binary, there's a fail-safe to make sure the substituted string is not longer than the original string.
This is my first commit to nixpkgs, and I read through all the contributors documentation.  Hopefully I didn't miss anything, but I'm happy to make changes as recommended.
Motivation for this change
This is similar to nuke-refs, only not /nix/store specific.  When attempting to make minimal closures, sometimes various build tools end up with hardcoded references to items in /nix/store.  nuke-refs is nice if these references are dead references.  But sometimes, you want to move these files to another derivation and swap these new locations into the binary file.
An example of this problem is Haskell Cabal, which has a feature called "data-files".  For example, a popular Haskell monitoring library called ekg uses this feature to compile in references to web assets like HTML and Javascript files.
We can have Cabal/GHC statically compile binaries to reduce the size of the transitive closure dramatically.  But this doesn't help with strings compiled into the data-section of a binary.
This problem has been discussed in Gabriel439/haskell-nix#12 and NixOS/nixpkgs#4504.
Even if Cabal/GHC were fixed such that this weren't needed for ekg, I think this might be a useful tool to have available.  It's a sharp knife, though, so care must be exercised when using it.
Things done

[X] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[X] Linux

[ ] Testedcompilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

Note that there already is a replace-literal command (in the replace package). IIRC it handles binaries correctly, but I'm not sure. Once upon a time it was part of stdenv (used in the implementation of substitute).

@edolstra it's great to know that's there.  I have a repository where I'm testing this out.  Let me try to use replace instead of my strings-replace.  It should be fine.  I'll do that soon (today or tomorrow, hopefully).  If replace meets my needs, then we can close this request without merging.  There's no reason to add unneeded complexity to nixpkgs.  Thanks!

@edolstra it's great to know that's there.  I have a repository where I'm testing this out.  Let me try to use replace instead of my strings-replace.  It should be fine.  I'll do that soon (today or tomorrow, hopefully).  If replace meets my needs, then we can close this request without merging.  There's no reason to add unneeded complexity to nixpkgs.  Thanks!

Hey, I just updating my example-nix project to use replace-literal instead of strings-replace and everything works just fine.  I think we can just close this request without merging.  I'll do that to save you the hassle.


ML - Buttons don't showup in Table models

Azure Data Studio Version:

I have a fix for this but I need to investigate some more - I think something else might be done right here that's breaking this.


Typescript client - generated method parameter not typed as array for array query params

Hello,
I have an issue with my ts client generation.
When i try to generate a service method which uses array query params, the parameter is correctly processed as an array (a foreach is applied to the parameter) but the parameter is not typed as an array.
Here is the swagger json spec for the api endpoint, we can see that the query param "sort" is of type array:
    "/api/forms": {
      "get": {
        "tags": [
          "FormsController"
        ],
        "summary": "Return forms visible",
        "operationId": "getForms",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "required": false,
            "type": "integer",
            "minimum": 1,
            "exclusiveMinimum": false,
            "format": "int32"
          },
          {
            "name": "size",
            "in": "query",
            "required": false,
            "type": "integer",
            "minimum": 1,
            "exclusiveMinimum": false,
            "format": "int32"
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Zero, one or multiple values",
            "required": false,
            "type": "array",
            "items": {
              "type": "string"
            },
            "collectionFormat": "multi",
            "default": "status ASC,code DESC",
            "enum": [
              "code ASC",
              "code DESC",
              "status ASC",
              "status DESC",
            ]
          },
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/FormDto"
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },

Here is the generated code, as you can see, foreach is applied to the parameter "sort" but it's not typed as array,:
   getForms(page: number | null | undefined, size: number | null | undefined, sort: Sort | null | undefined): Promise<FormDto[]> {
       let url_ = this.baseUrl + "/api/forms?";
       if (page !== undefined && page !== null)
           url_ += "page=" + encodeURIComponent("" + page) + "&";
       if (size !== undefined && size !== null)
           url_ += "size=" + encodeURIComponent("" + size) + "&";
       if (sort !== undefined && sort !== null)
           sort && sort.forEach(item => { url_ += "sort=" + encodeURIComponent("" + item) + "&"; });
       url_ = url_.replace(/[?&]$/, "");

       let options_ = <RequestInit>{
           method: "GET",
           headers: {
               "Accept": "application/json"
           }
       };

       return this.http.fetch(url_, options_).then((_response: Response) => {
           return this.processGetForms(_response);
       });
   }

What are you trying to achieve for your sort URL?
I'm trying to do something similar, in order get URLs for the format
?filer[aField]=value&filrer[otherField]=otherValue
I have set up the schema in the following format. Note, the top level object and deepObject properties are required so that Swagger.UI interprets these options as well. Using array at the top level doesn't work
        - name: filter
          in: query
          style: deepObject
          collectionFormat: multi
          schema:
            type: object
            additionalProperties:
              type: string

or
        - name: filter
          in: query
          style: deepObject
          collectionFormat: multi
          schema:
            type: object
            items:
              type: string

Setting collectionFormat makes the generator realise it's an array, and produces the foreach specified above. However, I think the code in Client.RequestUrl.liquid needs to actually do something like
{%     elseif parameter.IsArray -%}
    {{ parameter.VariableName }} && {{ parameter.VariableName }}.forEach((item, index) => {
     	url_ += "{{ parameter.Name }}[" + index + "]" + "=" + encodeURIComponent("" + item) + "&";
    });

Probably need something similar for
{%     if parameter.IsDateOrDateTimeArray

I realised that what I'm doing is perhaps a little different, so I raised a new ticket

@RicoSuter any news on this issue ?


Mac Catalyst support?

Seems the MoltenVK xcframeworks don't support Mac Catalyst.
If you have any tips on adding that, I'd be happy to help.
cheers

Oops, I see it's already done!


fix(TRI): region based service url feature added

TRI

added region based service url feature
fixed ITs for findings and notifications
configured travis to prepare to run ITs

Codecov Report

Merging #3 (64dd4c1) into main (b4706af) will increase coverage by 0.46%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##             main       #3      +/-   ##
==========================================
+ Coverage   90.60%   91.07%   +0.46%
==========================================
  Files           5        5
  Lines        3759     3596     -163
==========================================
- Hits         3406     3275     -131
+ Misses        353      321      -32

Impacted Files
Coverage Δ

ibm_scc/findings_v1.py
91.35% <81.81%> (+0.04%)
:arrow_up:

ibm_scc/configuration_governance_v1.py
89.54% <100.00%> (ø)

ibm_scc/notifications_v1.py
93.82% <100.00%> (+2.90%)
:arrow_up:

Continue to review full report at Codecov.

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

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


CAMEL-18386: camel-kafka: Support using TypeConverter to parse kafka.…

…OVERRIDE_TOPIC

Made a bit tweak to hold as a String to avoid doing toString() again


23e9582d5189883e7d15cd78ea9cb89943cbdd6d html {"category":"NoMaterialFound"}

derived from
https://github.com/kazurayam/VisualInspectionOfExcelAndPDF-sample-project/issues/1

The string "NoMaterialFound" is found in the materialstore project at
https://github.com/kazurayam/materialstore/blob/0.16.2/src/main/java/com/kazurayam/materialstore/base/reduce/differ/AbstractTextDiffer.java
    private Material complementMaterialAsText(Store store,
                                              MaterialProduct mProduct,
                                              Material material) throws MaterialstoreException {
        if (material.getDiffability().equals(FileTypeDiffability.AS_TEXT)) {
            return material;
        } else {
            return makeNoMaterialFoundMaterial(store, mProduct,
                    FileType.HTML, Material.loadNoCounterpartText());
        }
    }

AbstractTextDiffer#stuffDiff() creates a Material of type HTML with NoMaterialFound.
See how I changed the ImageDifferToPNG class previously.
https://github.com/kazurayam/materialstore/commit/18cb5c5d218521685eaa0bafffb0849f99032b8d#diff-a488ae0eb9497f0ad7a0dd4cacc6d477a457f0d59c72d3f3aac47aa75de5929e

I need to create a JUnit5 test to reproduce the problem.

a Material objevt as "diff" should have the Metadata {"category":"NoMaterialFound"}".
It is not a problem.


azure.core.exceptions.DecodeError: Cannot deserialize content-type: text/plain

I am getting a "ClientAuthenticationError: IMDS endpoint unavailable" when the IMDS endpoint is available (in an ACI container). I checked that the IMDS endpoint was available and able to return an access token by sending a request via curl.
I am getting this when attempting to create an azure.keyvault.secrets.SecretClient with azure.identity.ManagedIdentityCredential().
I traced the issue to the ImsCredential class, where the following call is raising a DecodeError exception:
https://github.com/Azure/azure-sdk-for-python/blob/a2bf32a647da4ca63f85f51f800bd3a5886fb733/sdk/identity/azure-identity/azure/identity/_credentials/managed_identity.py#L138
Which originates again from this call in AuthnClient:
https://github.com/Azure/azure-sdk-for-python/blob/a2bf32a647da4ca63f85f51f800bd3a5886fb733/sdk/identity/azure-identity/azure/identity/_authn_client.py#L263
Ultimately leading to:
https://github.com/Azure/azure-sdk-for-python/blob/a2bf32a647da4ca63f85f51f800bd3a5886fb733/sdk/core/azure-core/azure/core/pipeline/policies/_universal.py#L382
And this is the error I ultimately get: "azure.core.exceptions.DecodeError: Cannot deserialize content-type: text/plain"
I'm assuming this has to do with the request that is sent to check if the endpoint exists.
I'm able to work around this by calling request_token() explicitly via a wrapper around the credential:
class MyCredentialWrapper:
    def __init__(self, credential):
        self._client = credential._client
        self._client_id = credential._client_id

    def get_token(self, *scopes, **kwargs):
        token = self._client.get_cached_token(scopes)
        if not token:
            resource = scopes[0]
            if resource.endswith("/.default"):
                resource = resource[: -len("/.default")]
            params = {"api-version": "2018-02-01", "resource": resource}
            if self._client_id:
                params["client_id"] = self._client_id
            token = self._client.request_token(scopes, method="GET", params=params)
        return token

And using that in place of the ManagedIdentityCredential:
credential = MyCredentialWrapper(ManagedIdentityCredential())
secret_client = SecretClient(key_vault_uri, credential)

I am hoping this can be fixed. Thanks!

Update: it seems like this may be a problem directly related to working from Azure Container Instances. We are not running into the same issue when doing the same thing in Azure Functions, for example.
Also, the above workaround only appears to work some of the time when deploying on ACI (maybe around 75% success).

Thanks for reporting this. It looks similar to an issue with AKS pod identity (Azure/aad-pod-identity#340), whose controller sends JSON responses as text/plain. I don't know whether ACI uses the same implementation but that would explain the DecodeError. I'm working on test infrastructure for container scenarios now, I'll add ACI to my list.

Any updates on this? Is this on the roadmap? Or is there any reliable workaround for this?

Pod Identity's text/plain issue was fixed in version 1.5.4 and I haven't seen it since (1.5.5 is the latest). Are you still seeing "DecodeError: Cannot deserialize content-type: text/plain"?

I should have been clearer: We got an error message using an ACI with managed identity:

ImdsCredential: IMDS endpoint unavailable

We did not dig further into this and did not see the decode error, but only suspected that this issue is affecting me.
However, we get an at least similar error while trying to access a key vault with the managed identity of an ACI:

Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/azure/identity/_credentials/default.py", line 105, in get_token
return super(DefaultAzureCredential, self).get_token(*scopes, **kwargs)
File "/usr/local/lib/python3.8/site-packages/azure/identity/_credentials/chained.py", line 71, in get_token
raise ClientAuthenticationError(message=error_message)
azure.core.exceptions.ClientAuthenticationError: No credential in this chain provided a token.
Attempted credentials:
EnvironmentCredential: Incomplete environment configuration. See https://aka.ms/python-sdk-identity#environment-variables for expected environment variables
ImdsCredential: IMDS endpoint unavailable

We simply tried to adapt
https://github.com/Azure-Samples/azure-sdk-for-python-keyvault-secrets-get-set-managedid
which works fine with a web app to ACI.
Workaround
Find found a rather simple workaround:
We installed the Azure CLI in our python slim base image
# install Azure CLI to use the managed identity of the ACI
# https://docs.microsoft.com/de-de/cli/azure/install-azure-cli-apt?view=azure-cli-latest
RUN curl -sL https://aka.ms/InstallAzureCLIDeb | bash
and then run
CMD az login --identity && python XXX
on startup. Az login sets the environment variables such that we can simply use DefaultAzureCredential (or ManagedIdentityCredential()).

There's no interaction between azure-identity and the Azure CLI (there will be in the future). Your workaround works because it takes time. ACI containers commonly start before the managed identity endpoint is ready. An application can therefore fail to authenticate when it tries to do so immediately upon starting but succeed when its first authentication attempt comes some seconds after starting.
This is an issue on AKS as well, where I've worked around it with an init container. I think you could do something similar for ACI with a liveness probe (see my comment here).

Thank you, @chlowell, you are completely right! Could we have read this somewhere in the docs?
Workaround (better)
If it is okay for you that your container sleeps a bit before it starts to do its work, you can simply use:
CMD sleep 30 && python XXX
Off-topic
Is this delay also the reason why one can't use an ACI's managed identity to deploy images from Azure container registries?

Could we have read this somewhere in the docs?

Not in the azure-identity docs; possibly in docs for the AKS/ACI managed identity implementation (Pod Identity).

Is this delay also the reason why one can't use an ACI's managed identity to deploy images from Azure container registries?

I think that's due to other details of the ACI implementation I can only speculate about. I'd guess the cluster deploying the container instance can't use a user-assigned managed identity to pull an image.
I'm closing this issue now because the initial problem, a deserialization error when using pod identity, has been fixed upstream. Feel free to open another issue if you encounter other problems.

Thank you, @chlowell, you are completely right! Could we have read this somewhere in the docs?
Workaround (better)
If it is okay for you that your container sleeps a bit before it starts to do its work, you can simply use:
CMD sleep 30 && python XXX
Off-topic
Is this delay also the reason why one can't use an ACI's managed identity to deploy images from Azure container registries?

Thank you, @chlowell, you are completely right! Could we have read this somewhere in the docs?
Workaround (better)
If it is okay for you that your container sleeps a bit before it starts to do its work, you can simply use:
CMD sleep 30 && python XXX
Off-topic
Is this delay also the reason why one can't use an ACI's managed identity to deploy images from Azure container registries?

I am facing the same issue , while trying to run a container as an executable. deployed in a virtual network,  it needs to access vault using system assigned identity.
My code usually runs 3-5 minutes and work's fine if i use a service principle by passing AZURE_CLIENT_ID,AZURE_CLIENT_SECRET,AZURE_TENANT_ID as environment variables.
I want to use managed identities to avoid passing environment variables.
I tried the below arguments while creating the container, but it still didn't work.
--command-line "/bin/bash -c 'sleep 90; /usr/local/bin/python xxxx.py'"
2020-05-21:02:09:37,349 INFO     [_universal.py:412] Request URL: 'http://<IP_ADDRESS>/metadata/identity/oauth2/token'                                                                                2020-05-21:02:09:37,349 INFO     [_universal.py:413] Request method: 'GET'                                                                                2020-05-21:02:09:37,349 INFO     [_universal.py:414] Request headers:                                                                                2020-05-21:02:09:37,349 INFO     [_universal.py:417]     'Metadata': 'REDACTED'                                                                                2020-05-21:02:09:37,349 INFO     [_universal.py:417]     'User-Agent': 'azsdk-python-identity/1.3.1 Python/3.8.3 (Linux-4.15.0-1082-azure-x86_64-with-glibc2.2.5)'                                                                           2020-05-21:02:09:37,352 DEBUG    [connectionpool.py:226] Starting new HTTP connection (1): <IP_ADDRESS>:80                                                                                Traceback (most recent call last):                                                                                File "/usr/local/lib/python3.8/site-packages/azure/identity/_credentials/default.py", line 105, in get_token                                                                                return super(DefaultAzureCredential, self).get_token(*scopes, **kwargs)                                                                                File "/usr/local/lib/python3.8/site-packages/azure/identity/_credentials/chained.py", line 71, in get_token                                                                                raise ClientAuthenticationError(message=error_message)                                                                                azure.core.exceptions.ClientAuthenticationError: No credential in this chain provided a token.                                                                                Attempted credentials:                                                                                EnvironmentCredential: Incomplete environment configuration. See https://aka.ms/python-sdk-identity#environment-variables for expected environment variables                                                                                ImdsCredential: IMDS endpoint unavailable

@praaadip: You are facing a different (additional) issue, that is why the sleep alone does not help:
As you can read in the docs in the other limitations section,

You can't use a managed identity in a container group deployed to a virtual network.

you cannot use managed identities in combination with virtual networks. I was told this is about to change, but cannot provide you further info.

@praaadip: You are facing a different (additional) issue, that is why the sleep alone does not help:
As you can read in the docs in the other limitations section,

You can't use a managed identity in a container group deployed to a virtual network.

you cannot use managed identities in combination with virtual networks. I was told this is about to change, but cannot provide you further info.

Thank you.  i was in an assumption that 90 seconds is not enough and totally missed to check the limitations.

Is there a way to check the installed pod-identity version? I'm facing this error in a cluster created a few days ago and pod-identity created using the 'az aks pod-identity add' command. I'm assuming this would have installed a version higher than 1.5, but I was hoping to confirm that.
I followed the steps in :  and the demo pod works fine (able to get the tokens). But my own pod throws the content type error

Pod Identity images are tagged with a version, so you can inspect the NMI daemonset or one of its pods with a management tool. For example: kubectl describe ds aad-pod-identity-nmi | grep Image


Unable to download building footprint data

Contributing guidelines

[X] I understand the contributing guidelines

Documentation

[X] My problem is not addressed by the documentation or examples

Existing issues

[X] My problem does not appear in an existing issue

What operating system and Python version are you using?
windows 10 python 3.10
What OSMnx version are you using?
1.6
Environment packages and versions
VS Code

How did you install OSMnx?
Pip
Problem description
Hi I am unable to download any data from the OSM using osmnx. I've tried many different ways. Just checking if this is a wider issue?
Complete minimal reproducible example
ox.features.features_from_point((-36.8427566,<PHONE_NUMBER>), {'buildings':True}, dist=1000)

Not a bug. Per the contributing guidelines, please ask usage questions on Stack Overflow. Refer to this function's docs and the OSM key docs. Hint: the OSM tag you're looking for is "building" not "buildings".

Oh thanks! Sorry about that. Cheers
On Tue, 5 Sept 2023, 08:42 Geoff Boeing, @.***> wrote:

Not a bug. Per the contributing guidelines, please ask usage questions on Stack
Overflow https://stackoverflow.com/search?tab=newest&q=osmnx. Refer to
this function's docs
https://osmnx.readthedocs.io/en/stable/user-reference.html#osmnx.features.features_from_point
and the OSM key docs https://wiki.openstreetmap.org/wiki/Key:building.
Hint: the OSM tag you're looking for is "building" not "buildings".
—
Reply to this email directly, view it on GitHub
https://github.com/gboeing/osmnx/issues/1058#issuecomment-1705686598,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADFWORRFD5MDFDBFJW5HY2TXYY4K3ANCNFSM6AAAAAA4JVASAU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Unknown database: DATABASE_URL. Valid options are:

I get this error when I try to update my staging server either from production or development. Am I missing a configuration or something?

@8vius, does your staging environment have a DATABASE_URL defined? You can check with staging config. We rely on that environment variable to be where your app's database is found (it's often duplicated by a database-specific color-named variable).

@geoffharcourt yes, it is defined.

Hi @8vius can you paste the entire output of the error, and check that DATABASE_URL is also defined on production? I've never encountered this error with Parity, and want to see what specific circumstances might be causing it.

Please check back if you can post the output. I'm unable to help without further information.


[BEAM-3042] Renaming properties form IO target counter name.

These metrics will be used internally to track Bytes read and time spent reading both side inputs and shuffle. This rename is to match the internal dataflow design for these metrics.

r: @aaltay
This change is for an internal project for dataflow insights. Let me know if the change looks reasonable.

LGTM


[BUG] Data structure update stuck

Hello,
I just updated the plugin to 3.4.4. I had the warning to update the data structure from 3.1 to 3.4 (I already was on <IP_ADDRESS>), but  it stuck to this screen

Now, all notes looks broken. Any idea ?

Hi @Zorgonaute84
There are two things I can see here. The first is the versioning, the second it the real issue.
The updater checks when is the last version in which data has been changed. In this case the changes required by RPG Manager were in 3.1 and then in 3.4, it means that the version of the data (not of the plugin) is updated. Everything is correct, then.
The fact that you can't update is worrying. Quick questions:

Have you backed up before upgrading?
Have you checked the Inspector to see any errors?

If you send the error I may be able to support you!
Ciao

@Zorgonaute84 I have updated RPG Manager to 3.4.5
Can you please check if you still have the same issue?

@Zorgonaute84 Are you still having issues with the latest update?

No problem. :) Thank you for responding. I'll go ahead and close this issue.


can't modify frozen String: ""

I got this issue when I used the local setup guide on Ubuntu 18.04. Everything was freshly installed.
This is what the error looks like:

The temporary solution is to upgrade the foreman and the kramdown gems. This article shows how you can upgrade gems: https://sourabhbajaj.com/mac-setup/Ruby/RubyGems.html. When you upgrade your gems you also have to write the correct version number in Gemfile.
I don't know if this is the recommended thing to do but it has worked so far for me.

That is a very odd exception. What ruby version are you running and to which gem versions did you upgrade?

Oh yea I forgot to add the versions.
I'm running ruby 2.7.1.
I upgraded foreman from version 0.63.0 to 0.87.1 and kramdown from 1.3.3 to 2.2.1.

Sorry we don't support ruby 2.7 yet, can you try it with ruby 2.6?

Yes I will try that as well!
I'll get back with the results.

I tried it with Ruby version 2.6.6 and that worked as well!

Closing since we don't have support for ruby 2.7 yet.


[Stroage] Support SAS with sr= and sdd=

Resource Provider

dataplane.
Description of Feature or Work Requested

Allow to generate and use sas with new options for datalakegen2, like:  sr= and sdd=,
See more details in sas doc: https://docs.microsoft.com/en-us/rest/api/storageservices/create-service-sas#specify-the-directory-depth
Minimum API Version Required

Version 2020-02-10 and later
Swagger Link

n/a , no swagger change.
Target Date

asap

Storage


Error if build status is NOT_BUILT

I can't call build.details() if the build status is NOT_BUILT:
 Causing: org.quartz.JobExecutionException: org.codehaus.jackson.map.JsonMappingException: Can not construct instance of com.offbytwo.jenkins.model.BuildResult from String value 'NOT_BUILT': value not one of declared Enum instance names
!  at [Source: org.apache.http.conn.EofSensorInputStream@27205751; line: 1, column: 3427] (through reference chain: com.offbytwo.jenkins.model.BuildWithDetails["result"])

https://github.com/RisingOak/jenkins-client/pull/49

Has been fixed with 0.3.0...


added more padding to the sides of the rows

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

thanks for the help with all this stuff, still figuring it all out :"),
really appreciate it !!
On Tue, Jul 24, 2018 at 1:33 PM Avtar Gill<EMAIL_ADDRESS>wrote:

@avtar commented on this pull request.
In css/style.css
https://github.com/inclusive-design/website-cities/pull/9#discussion_r204845551
:

@@ -491,7 +491,8 @@ a:hover {
}

 .row {

   padding: 2em;

   padding-left: 4em 6.6em;

   padding-right: 4em 6.6em;

My bad! Thanks for catching that @simonbates
https://github.com/simonbates. I'll send a PR to address that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/inclusive-design/website-cities/pull/9#discussion_r204845551,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARqRZutns7VlebcfK1ku-rivFEhKOpgIks5uJ1p-gaJpZM4VbIjv
.


[os-ddclient] Azure Service Type Missing resourceId Field

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
[X] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
[X] The title contains the plugin to which this issue belongs

Describe the bug
When attempting to configure a new Dynamic DNS account for an Azure hosted dns zone the resourceId field is missing from the configuration form.
To Reproduce
Steps to reproduce the behavior:

Go to Services > Dynamic DNS > Settings
Click on [+] (Add)
Select 'azure' as Service type
Form 'reconfigures' for the service type and resourceId is missing as a field option

Expected behavior
Expected behavior is to be presented with an option to configure the appropriate resourceId for the Azure DNS Zone.
Screenshots

Additional context
Filling in the form as is will save the account settings. But, as expected, it results in an error indicating that the process can find 'No subscription id found for account'.
Environment
OPNsense 23.7.11 (amd64).
os-ddclient 1.19

My apologies. I completely missed that there is an 'Advanced' toggle at the top of the form. Toggle that and the missing field appears.

Maybe we can improve UX here a bit... resourceId is only for azure, advanced flag is not best UX if you were looking for it. Reopening to work on it later.


Biodiversity and Climate Change Research Topics

Biodiversity and Climate Change

Impact of Climate Change on Biodiversity in Key Ecosystems

Study how climate change is altering biodiversity in African ecosystems (e.g., forests, wetlands, savannas) and its cascading effects on environmental health and livelihoods.

Biodiversity Loss and Its Effect on Women’s Livelihoods

Investigate how biodiversity loss, particularly in forests and agricultural regions, affects women who depend on natural resources for income and sustenance.

Children's Exposure to Biodiversity Decline in Rural Areas

Research how the decline in biodiversity impacts children’s access to nutritious food, clean water, and health, particularly in communities dependent on natural resources.

Conservation Practices Led by Women to Preserve Biodiversity

Study successful case studies where women are leading conservation efforts to protect biodiversity and restore ecosystems, and identify factors that support or hinder their involvement.

Biodiversity’s Role in Enhancing Climate Resilience for Vulnerable Communities

Explore how preserving and restoring biodiversity can enhance climate resilience in communities with high levels of poverty, disability, and child vulnerability.

Interested to work on this documentation issue @yigakpoa Ma'am
Have to work on canva right?
And have to make slides or any other,
Working right from 30th September 🙏

Hi @yugnaik, Thank you so much for your enthusiasm. I hope your exams are going well. This is a research task so research needs to be done first before slides can be created.
@salma111115 leads the research team and is th best person to advice on next steps with this
I hope this helps

@yigakpoa Got it ma'am.

Hello @yugnaik in the next meeting we will discuss the two main issues we will be working on, please fill this https://www.when2meet.com/?26706080-TVfRU
so that we can arrange a meeting.
Thank you,
Salma


Bug: Commands that require the use of validation return an error

PHP Version
8.0
CodeIgniter4 Version
4.2.5 / develop
CodeIgniter4 Installation Method
Composer (using codeigniter4/appstarter)
Which operating systems have you tested for this bug?
macOS
Which server did you use?
cli
Database

What happened?
Using validation in the Command ends with an error.
E.g.
CLI::prompt('Variable', null, 'required');

Steps to Reproduce
Run the command:
php spark make:migration

and then provide a name for the migration.
After confirming the name, you will get an error, and the command won't be executed.
Expected Output
No errors.
Anything else?
A bug was introduced to the system/Validation/FileRules.php here: https://github.com/codeigniter4/CodeIgniter4/commit/b53d482699a5f454e537544fc87c132d740545b1
The idea of checking this should be revisited.

Related to: #6452

Thanks, I missed it.


Automation updates

Alaska Airlines Pull Request
Summary:
The scope of this PR is to address some minor automation updates to include:

Generating the API document based on code
Outputting baseline templates that auto address the shadow and light DOM modes

Type of change:
Please delete options that are not relevant.

[x] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


error loading portus certificate

After a fresh installation of portus and configuring the docker registry for portus, the docker registry is broken and I get this error in the docker registry logs:
panic: unable to configure authorization (token): unable to parse token auth root certificate: asn1: structure error: tags don't match (16 vs {class:0 tag:2 length:257 isCompound:false}) {optional:false explicit:false application:false defaultValue:<nil> tag:<nil> stringType:0 timeType:0 set:false omitEmpty:false} tbsCertificate @4

The registry runs the latest registry:2 image in a separate server. The config is as per the portus docs (as output after running portusctl setup). This output refers to "the portus certificate" (to be copied to the registry server). I have taken this to mean /etc/apache2/ssl.crt/<portus hostname>-server.crt.

The appropriate certificate to copy to the registry is the <portus.hostname,com>-ca.cert certificate, NOT  <portus.hostname.com>-server.crt.

thanks

Where did you get you should use the *-server.crt ? I just a did a grep on our docs and code and didn't find it ... I'd like to fix it if it is on our code or documentation.
thanks

After running portusctl setup the command outputs a sample registry configuration. In it it mentions the portus certificate as 'portus.crt' but does not say which of the 2 certificates generated by portus should be used (-server.crt or -ca.crt). The -server.crt seemed to me to be the obvious choice -- wrongly, as it turned out.


chore(deps): update all devdependencies

This PR contains the following updates:

Package
Change
Age
Adoption
Passing
Confidence

@apollo/client (source)
3.9.1 -> 3.9.2

@types/node (source)
20.11.5 -> 20.11.16

@typescript-eslint/eslint-plugin (source)
6.19.0 -> 6.20.0

@typescript-eslint/parser (source)
6.19.0 -> 6.20.0

vitest (source)
1.2.1 -> 1.2.2

Release Notes

apollographql/apollo-client (@apollo/client)
v3.9.2
Compare Source
Patch Changes

#11552 6ac2b0c Thanks @jerelmiller! - Fix import in useLazyRef causing import issues in the nextjs package.

typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v6.20.0
Compare Source
🚀 Features

eslint-plugin: [member-ordering] allow easy reuse of the default ordering

🩹 Fixes

eslint-plugin: [no-useless-template-literals] incorrect bigint autofix result

eslint-plugin: [prefer-nullish-coalescing] treat any/unknown as non-nullable

eslint-plugin: [no-useless-template-literals] report Infinity & NaN

eslint-plugin: [prefer-readonly] disable checking accessors

❤  Thank You

Alex Parloti
auvred
James Browning
StyleShit
YeonJuan

You can read about our versioning strategy and releases on our website.
v6.19.1
Compare Source
🩹 Fixes

type-utils: preventing isUnsafeAssignment infinite recursive calls

eslint-plugin: [no-unnecessary-condition] fix false positive for type variable

❤  Thank You

YeonJuan

You can read about our versioning strategy and releases on our website.

typescript-eslint/typescript-eslint (@typescript-eslint/parser)
v6.20.0
Compare Source
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v6.19.1
Compare Source
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.

vitest-dev/vitest (vitest)
v1.2.2
Compare Source
🐞 Bug Fixes

coverage:

Remove coverage/.tmp files after run  -  by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5008 (d53b8)
Don't crash when re-run removes earlier run's reports  -  by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5022 (66898)

expect:

Improve toThrow(asymmetricMatcher) failure message  -  by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5000 (a199a)

forks:

Set correct VITEST_POOL_ID  -  by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5002 (7d0a4)

threads:

Mention common work-around for the logged error  -  by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5024 (915d6)

typecheck:

Fix ignoreSourceErrors in run mode  -  by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5044 (6dae3)

vite-node:

Provide import.meta.filename and dirname  -  by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5011 (73148)

vitest:

Expose getHooks & setHooks  -  by @adriencaccia in https://github.com/vitest-dev/vitest/issues/5032 (73448)
Test deep dependencies change detection  -  by @blake-newman in https://github.com/vitest-dev/vitest/issues/4934 (9c7c0)
Throw an error if vi.mock is exported  -  by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5034 (253df)
Allow useFakeTimers to fake requestIdleCallback on non browser  -  by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5028 (a9a48)
Support older NodeJS with async import.meta.resolve  -  by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5045 (cf564)
Don't throw an error if mocked file was already imported  -  by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5050 (fff1a)

View changes on GitHub

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 8am and before 4pm on tuesday" in timezone Etc/UTC.
🚦 Automerge: Enabled.
♻ 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.

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: yarn.lock
➤ YN0000: · Yarn 4.0.2
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed in 0s 606ms
➤ YN0000: ┌ Fetch step

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: yarn.lock
➤ YN0000: · Yarn 4.0.2
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + @apollo/client@npm:3.9.2, @types/node@npm:20.11.16, @typescript-eslint/eslint-plugin@npm:6.20.0, @typescript-eslint/parser@npm:6.20.0, vitest@npm:1.2.2, and 13 more.
➤ YN0085: │ - @types/node@npm:20.11.5, @typescript-eslint/eslint-plugin@npm:6.19.0, @typescript-eslint/parser@npm:6.19.0, @typescript-eslint/scope-manager@npm:6.19.0, and 13 more.
➤ YN0000: └ Completed in 4s 947ms
➤ YN0000: ┌ Fetch step
➤ YN0013: │ 1210 packages were added to the project (+ 194.34 MiB).
➤ YN0000: └ Completed in 56s 598ms
➤ YN0000: ┌ Link step


Geo marker plot: Highcharter

Highcharter does not have good support for markers at the time of writing, moved this issue to a later milestone.

Implemented 76f597fd33611e06cf8d026f2b1cd8bf9598a443


Enhancement/#127 creation of contributor license agreement

I also checked the workflow, and the "checks failed" seems to be because of the tests you wrote.
All of them test of the MetricsAggregationRepository class


Refactor MaxBy to bind types in specialize() instead of storing them in the state objects

MaxBy stores the key and value types in the MaxOrMinByState. Instead we should bind them into the input, combine, and output method handles during specialization. Similar to how it's done in ArrayEqualOperator

ArrayEqualOperator is not an aggregation function. It can use MethodHandle. Implementation of aggregation function is required to use Method instead. And bind is not available for Methods.

Ya, we'll have to refactor the aggregation compilers to work with MethodHandle

I did the first step of this: https://github.com/facebook/presto/commit/23dd5aa5877885d795992c196e5776303955cfd8

For the second step, doing it straightforwardly will require 16 different state types (long/long, long/double, long/slice, long/bool, double/long, ...) This does not feel like a viable option.


Incomplete injection of dependencies, but no error reported.

I am having an issue with Wiredep failing to completely inject bower dependencies.  I am running Wiredep directly from the Node prompt in the root folder.
Here is a copy of the node command window with the output generated by wiredep.  Looking at the output, all of the JS and CSS that should be injected is listed.
require('wiredep')({ src: 'index.html' });
{ packages:
   { 'animate.css':
      { main: [Object],
        type: [Object],
        name: 'animate.css',
        dependencies: {} },
     jquery:
      { main: [Object],
        type: [Object],
        name: 'jquery',
        dependencies: {} },
     bootstrap:
      { main: [Object],
        type: [Object],
        name: 'bootstrap',
        dependencies: [Object] },
     fontawesome:
      { main: [Object],
        type: [Object],
        name: 'font-awesome',
        dependencies: {} },
     angular:
      { main: [Object],
        type: [Object],
        name: 'angular',
        dependencies: {} },
     'angular-sanitize':
      { main: [Object],
        type: [Object],
        name: 'angular-sanitize',
        dependencies: [Object] },
     toastr:
      { main: [Object],
        type: [Object],
        name: 'toastr',
        dependencies: [Object] },
     moment:
      { main: [Object],
        type: [Object],
        name: 'moment',
        dependencies: {} },
     'angular-ui-router':
      { main: [Object],
        type: [Object],
        name: 'angular-ui-router',
        dependencies: [Object] },
     'extras.angular.plus':
      { main: [Object],
        type: [Object],
        name: 'extras.angular.plus',
        dependencies: [Object] },
     'angular-breadcrumb':
      { main: [Object],
        type: [Object],
        name: 'angular-breadcrumb',
        dependencies: [Object] },
     'angular-ui-utils':
      { main: [Object],
        type: [Object],
        name: 'angular-ui-utils',
        dependencies: [Object] },
     'angular-strap':
      { main: [Object],
        type: [Object],
        name: 'angular-strap',
        dependencies: [Object] },
     ngSmoothScroll:
      { main: [Object],
        type: [Object],
        name: 'angular-smooth-scroll',
        dependencies: [Object] },
     'angular-animate':
      { main: [Object],
        type: [Object],
        name: 'angular-animate',
        dependencies: [Object] },
     'angular-form-for':
      { main: [Object],
        type: [Object],
        name: 'angular-form-for',
        dependencies: {} },
     lodash:
      { main: [Object],
        type: [Object],
        name: 'lodash',
        dependencies: {} },
     'jquery-ui':
      { main: [Object],
        type: [Object],
        name: 'jquery-ui',
        dependencies: [Object] } },
  js:
   [ 'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\jquery\\dist\\jquery.js',
     'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\bootstrap\\dist\\js\\bootstrap.js',
     'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\angular\\angular.js',
     'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\angular-sanitize\\angular-sanitize.js',
     'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\toastr\\toastr.js',
     'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\moment\\moment.js',
     'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\angular-ui-router\\release\\angular-ui-router.js',
     'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\extras.angular.plus\\ngplus-overlay.js',
     'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\angular-breadcrumb\\release\\angular-breadcrumb.js',
     'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\angular-ui-utils\\ui-utils.js',
     'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\angular-strap\\dist\\angular-strap.js',
     'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\angular-strap\\dist\\angular-strap.tpl.js',
     'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\ngSmoothScroll\\angular-smooth-scroll.js',
     'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\angular-animate\\angular-animate.js',
     'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\angular-form-for\\dist\\form-for.js',
     'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\lodash\\lodash.js',
     'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\jquery-ui\\jquery-ui.js' ],
  css:
   [ 'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\animate.css\\animate.css',
     'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\bootstrap\\dist\\css\\bootstrap.css',
     'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\fontawesome\\css\\font-awesome.css',
     'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\toastr\\toastr.css',
     'C:\\WebApplicationProjects\\PMS\\PMS.Web\\bower_components\\angular-form-for\\dist\\form-for.css' ] }
>

None of the CSS is being injected, and only two of the JS dependencies are injected as shown below
  <!-- bower:css -->
  <!-- endbower -->

...

   <!-- bower:js -->
   <script src="bower_components/jquery/dist/jquery.js"></script>
   <script src="bower_components/angular-breadcrumb/release/angular-breadcrumb.js"></script>
   <!-- endbower -->

Is there some way I can troubleshoot what is going on?  I have searched several sources and spent most of the day on this and am getting nowhere.  If you can point me in the right direction I would appreciate it.
Thanks,
Jim

Can you paste in your bower.json file so I can test locally? Haven't heard of anything like this before.

Stephen,
Here is my bower.json file.   Thanks for looking into this.
{
  "name": "PMS.Web",
  "version": "0.1.0",
  "description": "Polaris Microsystems Web Site",
  "authors": [
    "Jim North"
  ],
  "ignore": [
    "**/.*",
    "node_modules",
    "bower_components"
  ],
  "devDependencies": {},
  "dependencies": {
    "animate.css": "~3.2.6",
    "jquery": "~2.1.3",
    "bootstrap": "~3.3.4",
    "fontawesome": "~4.3.0",
    "angular": "~1.3.15",
    "angular-sanitize": "~1.3.15",
    "toastr": "~2.1.1",
    "moment": "~2.10.2",
    "angular-ui-router": "~0.2.13",
    "extras.angular.plus": "~0.9.2",
    "angular-breadcrumb": "~0.3.3",
    "angular-ui-utils": "~0.2.3",
    "angular-strap": "~2.2.1",
    "ngSmoothScroll": "~1.7.1",
    "angular-animate": "~1.3.15",
    "angular-form-for": "~3.0.6",
    "lodash": "~3.8.0",
    "jquery-ui": "~1.11.4"
  },
  "overrides": {
    "boostrap": {
      "main": ["dist/js/bootstrap.js", "dist/css/bootstrap.css"]
    }
  }
}

Has anyone been able to reproduce this issue?

I am having a similar issue,

is empty.

Is it possible there are references to the files that aren't being injected elsewhere in the source file?
Example:
<html>
  <head>
    <!-- since it's detected here... -->
    <!--<script src="bower_components/jquery/jquery.js"></script>-->
  </head>
  <body>
    <!-- ...it won't be injected here -->
    <!-- bower:js -->
    <!-- endbower -->
  </body>
</html>

We're removing this behavior for the next release.

I just ran a test using a new folder and the pasted bower.json file. After running bower install and the cli wiredep -s index.html, my file was updated to look like this:
<!-- bower:css -->
<link rel="stylesheet" href="bower_components/animate.css/animate.css" />
<link rel="stylesheet" href="bower_components/fontawesome/css/font-awesome.css" />
<link rel="stylesheet" href="bower_components/toastr/toastr.css" />
<link rel="stylesheet" href="bower_components/angular-form-for/dist/form-for.css" />
<!-- endbower -->

<!-- bower:js -->
<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="bower_components/bootstrap/dist/js/bootstrap.js"></script>
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/angular-sanitize/angular-sanitize.js"></script>
<script src="bower_components/toastr/toastr.js"></script>
<script src="bower_components/moment/moment.js"></script>
<script src="bower_components/angular-ui-router/release/angular-ui-router.js"></script>
<script src="bower_components/extras.angular.plus/ngplus-overlay.js"></script>
<script src="bower_components/angular-breadcrumb/release/angular-breadcrumb.js"></script>
<script src="bower_components/angular-ui-utils/ui-utils.js"></script>
<script src="bower_components/angular-strap/dist/angular-strap.js"></script>
<script src="bower_components/angular-strap/dist/angular-strap.tpl.js"></script>
<script src="bower_components/ngSmoothScroll/angular-smooth-scroll.js"></script>
<script src="bower_components/angular-animate/angular-animate.js"></script>
<script src="bower_components/angular-form-for/dist/form-for.js"></script>
<script src="bower_components/lodash/lodash.js"></script>
<script src="bower_components/jquery-ui/jquery-ui.js"></script>
<!-- endbower -->

No, there are only references in the head section.
I am missing the bootstrap.css, It worked 14 days ago, now It doesn't.

Our last release of wiredep was 12/10/14. Can you create a separate project with the bare minimum files to reproduce?

I have now tried with a new (minimal) project and still the same issue.
Node.js version: 0.10.35
Grunt version: 0.4.5
Wiredep: version 1.8.0 / 1.9.0 / 2.0.0
bower.json:
{
"name": "test",
"version": "1.0.0",
"dependencies": {
"bootstrap": "~3.3.4"
}
}
bower:css
bootstrap.css still missing.
endbower

Do you have overrides set up. All that should be injected from bootstrap is: https://github.com/twbs/bootstrap/blob/v3.3.5/bower.json#L17

I would bet your project needs to depend on 3.3.4 of bootstrap or use overrides to find the CSS file you need.

That solved the problem.
Thank you very much :)


Bug Report - ESLZ Deployment in Azure US Government

Describe the bug
I was able to deploy ESLZ to US Government cloud with GitHub integration. However, two issues I found so far after deployment  ....
(1) Right after deployment when AzOps try to fetch current state of Azure, it fails. What I found is that pull.yml file does not use "-environment AzureUSGovernment" as part of Connet-AzAccount command.  So, pull.yml file need to be updated to correct this. (Side note - similar changes are needed for push.yml and validate.yml file as well)
(2) Whenever I tried to deploy new policy, it by default targets location as northequrope. In json template location is defined as [deployment().location]. I did not find any solution to resolve this issue.
How can I resolve this?
Steps to reproduce

Screenshots

Thanks for raising this @njpatel54.
I will transfer this issue to the AzOps repository as this is related to that tooling.
However, for issue 2 you can change the default location for deployments using the settings.json file as documented here https://github.com/azure/azops/wiki/settings
@daltondhcp can you advise whether AzOps is supported for US Gov cloud (fairfax)?


pomrrr12

What is your username and discriminator?
Why did you join Discord Linux?
Where did you hear about Discord Linux?
What is the passphrase that was assigned to you by the bot?

From simonizor#0420 :
Please actually fill out the form.

pomrrr12

From simonizor#0420 :
Please actually fill out the form.

Closing as it has been more than 24 hours.


Suggestion to add Triumph/Despair results

If you look at all the tables in the book, the result is pretty much always "1 advantage OR 1 triumph", but currently the system does not list the options for advantage choices if you roll a triumph.
One way to fix that is to duplicate all the entries in the json but that will result in a huge mess of duplicate entries, so I instead hacked the code a bit.
This is just an example, you'll likely want to make it a module option you can turn on or off, but this is my approach:
Replace the array building system around line 190 with:
// build an array of the suggestions for the specific category we're looking at now         let tmp_suggestions = [];         if((category === 'ad' && results['tr'] > 0) || (category === 'th' && results['de'] > 0) ) {             tmp_suggestions = data[skill][category];         } else {             tmp_suggestions = data[skill][category].filter(suggestion => suggestion.required <= results[category]);         }
This will make it that if you roll a triumph, all advantage suggestions will go through, if you roll a despair, all threat suggestions will go through.

Good idea, I've implemented it. Thanks for the code suggestion, too!
Will be released in 0.2.1.


gateway commands can hit websocket rate limit

websocket has a rate limit of 120/60. If you send a lot of commands over a socket that get queued up (like say requesting member lists for 1400 guilds). The socket sometimes hits the rate limit and get killed by discord.
twilight re-opens it, resumes the session and every single pending command fails because it's internal receiver went away

This is due to using tokio's interval, for reasons similar to https://github.com/twilight-rs/twilight/pull/268


fix #292

this PR should fix issue #292

unfortunately, this PR will trigger another deprication warning.
Detected that custom integration 'skodaconnect' calls async_forward_entry_setup for integration,
skodaconnect with title: TMBJB7NY4NF047235 and entry_id: b9414cf02e2eb912fbb7407fea826e2c,
which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/skodaconnect/__init__.py, line 257: await hass.config_entries.async_forward_entry_setup(entry, component), please create a bug report at https://github.com/skodaconnect/homeassistant-skodaconnect/issues

I am still trying to fix this as well :)

LGTM. Thanks for contributing!


Select all occurences of find match doesn't respect selection scope column

This is an extension of #59961
It's caused by only checking lineNumber in: https://github.com/microsoft/vscode/blob/8d584a55949e1501003e436a91c767359b751bd1/src/vs/editor/contrib/multicursor/browser/multicursor.ts#L633-L644
Steps to reproduce:

Have the following text in your editor:abc
abc
abc
abc
abc

Select from 2nd abc to last a
Enable find in selection, possibly by pressing Altl
Press :arrow_left:. Now the cursor is before 2nd a.
Trigger 'Select all occurences of find match'.

Notice that it selects 2nd to 5th abc, instead of 2nd to 4th:

Does this issue occur when all extensions are disabled?: Yes
VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:39:46.686Z)
OS version: Linux x64 5.13.0-22-generic snap
Restricted Mode: No

System Info

Item
Value

CPUs
AMD Ryzen 3 5300U with Radeon Graphics (8 x 2842)

GPU Status
2d_canvas: unavailable_softwaregpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: disabled_offrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_software

Load (avg)
2, 1, 1

Memory (System)
7.12GB (1.21GB free)

Process Argv
--no-sandbox --force-user-env --unity-launch --crash-reporter-id f9ef0483-9e99-46a3-9f8c-1e6a71b29e0e

Screen Reader
no

VM
0%

DESKTOP_SESSION
plasma

XDG_CURRENT_DESKTOP
KDE

XDG_SESSION_DESKTOP
KDE

XDG_SESSION_TYPE
x11

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30283811
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263cf:30335440
vscorecescf:30384386
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
vscop804:30404766
vs360:30404995
vsrem710:30416614
py55gd98:30411514
vscexrecpromp3t1:30407762

When you do

Press ⬅. Now the cursor is before 2nd a.

don't you lose the selection?  Then what is the expected result of Select all occurences of find match
if there is no selection but the Find In Selection option is still selected??
I think it should really select all 5 occurrences of abc.
And very oddly, when I do the Select all occurences of find match command (via Ctrl+Shift+L) it is auto-enabling the Match Case and Match Whole Word options become enabled.
And then, since there is no selection, Select all occurences of find match does select those last four occurrences of abc - as I think it should - the question is why doesn't it select the first abc.
It is as if the setting Editor> Find: Loop is not respected when there is no selection but the Find In Selection option is enabled.  [Of course, there really is a selection, but it is empty.]

@ShafinKhadem The feature #59961 (select all occurences of find match in search scope) only works when the find widget is made visible.

@alexdima unfortunately the issue still persists even when find widget is visible. Find scope never respects selection column, only line. It seems like it was designed to be that way:
https://github.com/microsoft/vscode/blob/fcd551f9d10b264c9c96eb48600634ebb402f418/src/vs/editor/contrib/find/findModel.ts#L183-L184


made navbar smaller, moved course content button inside navbar, removed lower appbar

made navbar smaller, moved course content button inside navbar, removed lower appbar.
Resolves #1551
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I assure there is no similar/duplicate pull request regarding same issue

The fix will be visible as shown in the video below:
https://github.com/user-attachments/assets/4bef559d-62d5-44d3-b651-1ec5738d74e1

Hey can you resolve the conflicts

Hi @devsargam, I have resolved the merge conflicts. Can you please review the PR?

This has been already resolved closing


Allow filtering versions by active

This allows making an API requests like:

http://localhost:8000/api/v2/version/?project__slug=pip&active=true
http://localhost:8000/api/v2/version/?project__slug=pip&active=false

I believe performance should be ok given this is just a boolean field.

I'm not opposed to a test but it is testing functionality in django-filter and not really in our project. This test would not actually test code we've written but verify that things are setup appropriately.

I agree with that. I'm fine on having some very simple/basic test that checks the setup, though. What do you think?

Works for me.


Move "Processing" section

In general, there is a problem throughout the spec of interleaving file format specification and implementation directions. These two things should be separated, as having them interleaved results in implementation notes being scattered over multiple chapters, instead of being readily accessible in one place and describing a joined-up process that implementors need to follow.
The details of how to normalize axes using the avar table should be moved into a chapter which describes the whole process of transforming points for variable fonts.

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

ID: 06ab9f03-9923-3400-5ae2-b650dcf7fb83
Version Independent ID: 8b1c2a74-1f8e-cfc3-6472-36727c362e71
Content: avar — Axis variations table - Typography
Content Source: typographydocs/opentype/spec/avar.md
Product: typography
GitHub Login: @PeterCon
Microsoft Alias: PeterCon

@simoncozens I have a draft of this change. It's too big to reflect here, but have generated PDFs from the markdown. Please take a look; within otvaroverview.pdf, the relevant changes are on pages 12 to 14 of the PDF.
otvaroverview.pdf
avar.pdf
A problem created by moving the details out of the Processing section of the avar chapter is that there are no longer those details to refer to when considering the example in the following section. The example could get moved into the otvaroverview chapter, but normally examples are kept near the data structures they exemplify—though I guess the example is of the data and the processing.
Anyway, comments on this draft are invited.

Change for next version: moved description of normalization process and following example into the normalization section in otvaroverview.


New version: Stellar.StellarCLI version 22.1.0

Pull request has been created with komac v2.8.0 :cherries:
Microsoft Reviewers: Open in CodeFlow

Manual Validation ended with:

2024-12-19 08:10:52.474 [FAIL] Installer failed security check. Url: https://github.com/stellar/stellar-cli/releases/download/v22.1.0/stellar-cli-installer-22.1.0-x86_64-pc-windows-msvc.exe Result: 0x80004005 [0504:02F4][
2024-12-19T08:10:24]w363: Could not create system restore point, error: 0x80070422. Continuing... MSI (s) (34:34) [08:10:26:003]: Windows Installer installed the product. Product Name: Microsoft Visual C++ 2022 X64 Minimum Runtime - 14.42.34433. Product Version: 14.42.34433. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 0. MSI (s) (34:CC) [08:10:26:440]: Windows Installer installed the product. Product Name: Microsoft Visual C++ 2022 X64 Additional Runtime - 14.42.34433. Product Version: 14.42.34433. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 0.

(Automated response - build 931.)

@wingetbot run

Manual Validation ended with:

1:40:59 PM:
2024-12-25 13:40:58.656 [CLI ] ShellExecute installer failed: 1

(Automated response - build 931.)

Adding https://github.com/microsoft/winget-pkgs/labels/Blocking-Issue to prevent my automation from continually re-running.

@wingetbot run

Manual Validation ended with:

12:00:29 PM:  finished with exit code: -1978335226 12:00:29 PM:
2024-12-30 12:00:29.038 [CLI ] ShellExecute installer failed: 1

Automated error analysis suggests -1978335226 may mean Running ShellExecute failed
(Automated response - build 931.)

Manual Validation ended with:

10:33:35 AM:  finished with exit code: -1978335226 10:33:35 AM:
2024-12-31 10:33:34.309 [CLI ] ShellExecute installer failed: 1

Automated error analysis suggests -1978335226 may mean Running ShellExecute failed
(Automated response - build 933.)

Manual Validation ended with:

11:50:14 AM:  finished with exit code: -1978335226  11:50:15 AM:
2024-12-31 11:50:14.084 [CLI ] ShellExecute installer failed: 1

Automated error analysis suggests -1978335226 may mean Running ShellExecute failed
(Automated response - build 933.)

Manual Validation ended with:

12:15:14 PM:
2024-12-31 12:15:13.402 [CLI ] ShellExecute installer failed: 1

(Automated response - build 933.)


Training freising

Add new entry for upcoming workshop
cc @pwalczysko

The built page looks good. https://snoopycrimecop.github.io/www.openmicroscopy.org/
Do we want to wait with merge until we get final final confirm from Freising on the dates ?

We can always adjust if there is a change.

Merge then ?

Merging and redeploying the website


[Bug fix] Preserve order for remove operation

Changes in this PR:

Fixed the bug described in https://github.com/serde-rs/json/issues/807
Added unit tests

Please note that shift_remove is expensive. Ideally, I think we should replace indexmap with hashlink which uses doubly-linked lists as internal data structure and can perform remove(shift_remove) operation much more efficiently.

@dtolnay Thanks for your reply. If performance is the main concern, how about switching to hashlink crate?

Hashlink doesn't strike me as having a confidence-inspiring maintenance story. I don't think switching would be a good outcome.


bug: polars.exceptions.ComputeError: Conversion from i64 to u16 failed

Description of the bug
Trying to run variantplaner on my data (Homo_sapiens GRCh38) resulted in a polars casting error (that is at least what I think)
To Reproduce
Decompress the vcf.gz file attached
2083096882_82307788_AHVF7TDSX7.vcf.gz
and run the following
     variantplaner -t 4 vcf2parquet         -i<PHONE_NUMBER>_82307788_AHVF7TDSX7.vcf         -c grch38.92.csv         -v variants/2083096882_82307788_AHVF7TDSX7.parquet         -g genotypes/samples/2083096882_82307788_AHVF7TDSX7.parquet         -f GT:AD:DP:GQ:PL
Full traceback

Full traceback
  File "/usr/local/bin/variantplaner", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/variantplaner/cli.py", line 135, in vcf2parquet
    genotypes_lf.sink_parquet(genotypes, maintain_order=False)
  File "/usr/local/lib64/python3.9/site-packages/polars/lazyframe/frame.py", line 2031, in sink_parquet
    return lf.sink_parquet(
polars.exceptions.ComputeError: Conversion from `i64` to `u16` failed in column '' for 1 out of 15927 values: [103779]

Expected behavior
After successfully following the variantplaner tutorial, I thought I was ready to run it on my data...
It seems though that the genotype format in the tutorial is not the same as mine. Could it be the source of the error ?
Environment information
- __System__: Linux-4.18.0-513.9.1.el8_9.x86_64-x86_64-with-glibc2.28
- __Python__: cpython 3.9.18
- __Environment variables__:
- __Installed packages__:
  - `variantplaner` v0.2.3

Thank you for reporting this issue. Sorry it's a mistake on my part, the vcf specification says that integer must be encoded on 32 bits and not 16.
This bug is fixed, version 0.2.4 integrates this correction.


Update Lehigh Tool config for FY25

SUL Production - https://folio-orders.stanford.edu/
Law Production - https://folio-orders-law.stanford.edu/
SUL Stage - https://folio-orders-dev.stanford.edu/
Law Stage - https://folio-orders-law-dev.stanford.edu/
configurations need to be changed to fiscalYearCode: SUL2025 for SUL and LAW2025 for Law

All four Lehigh Tool environments have been updated to FY 2025.


[WIP] Node Details, Parameters, Shutdown & Firmware Update

This is a work in progress.
Progress on the REST API
Will post an initial UI screenshot for feedback

The only thing left to do is decide if there is going to be an protection mechanism regarding accidental shutdown/fw update button presses

It certainly won't hurt.

what is needed for fw update and how the UI for the parameter update is going to be.

Answered on the forum: https://forum.uavcan.org/t/yukon-ui-rest-api/390/13

I AM LEGIT

Observe that the CoA is not text, it's a sequence of bytes which may be non-printable; it's best represented as a hex string:

a5a540c045cd491554213d28c948e2e670d59751866de004d6a0695e3a0659f9ff2086fe71d16bb1afdb990ed7618a05995dd6fb8e26c65a0fa1bcfbba837a980d6425d5af04abcb529f375ba2fd361598dbb2551a47900e89b4a94cdf1445a85f2e9c546aa8c4b04c2bee8345608275b3626abf5cdd53f869b81d592164016047beff1bafe2f65790c3d609716280a387848e968f343a241ccfe1977e8a8919dee03c34a12d35fe3921cd69f836579f71eafb2b2d753b49487f0b81f99db8d8b8702d6740089de412031cf93df9f0b0df7dc774b5e07e63ee86d07b0cda


pythonPackages.asyncssh: 1.15.1 -> 1.16.1, fixing build with some caveats around ec25519 support

Motivation for this change
This "fixes" the build of asyncssh mostly through bumping the version. The thing that broke asyncssh was its move in 1.15.1 to depending on openssl 1.1.x for its ec25519 support. The default cryptography and pyopenssl packages are of course built with openssl 1.0.x, so this caused test failures. 1.16.1 added skip-checks to allow the tests to still pass without ec25519 support.
But of course this means that the package, built against the default cryptography and pyopenssl packages, won't support ec25519, which sucks. But the only way of enabling that support is by using overridden versions of those packages which would of course produce collisions against any packages using the default versions of those dependencies. Which is quite a lot of them.
Sooo... I thought it best not to do that by default, settling for supplying an "easy route" for those needing ec25519 support - overriding the openssl argument with a 1.1.x version should cause all of the required overriding to happen, while in the normal case the .overrides don't end up affecting the output hash and so there should be no duplicate packages produced.
Phew. That was a fun evening.
cc @worldofpeace
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

... https://github.com/ronf/asyncssh/commit/1dee113bb3e4a6888de562b0413e9abd6a0f0f04
I also have https://github.com/NixOS/nixpkgs/commit/a39bb0fd995382f5fbd7547820af939bd4905759 in staging since we needed the cryptography update that happened there.
Though we will need https://github.com/NixOS/nixpkgs/pull/60553/commits/89e121e9c23696529713921b9d8306320351904f when update openssl and maybe we could fix the file bit permissions upstream for the sftp test?

... ronf/asyncssh@1dee113

Hah! I didn't spot that one. A good decision.
It didn't occur to me to check staging for fixes - going to have to add that to my checklist...

Looks like you've integrated the pyopenssl change #61325.
Sorry that you went out of your way to fix this and I already did similar.
Do you think upstream could use 0o321 for the sftp test?

I suspect they want to flex all the muscles of the tests they can.
Closing this.


Search icon is a bit off?

Notice how the search icon is a bit lower than it should be. Let me know what you think.

This is more of where I think the search icon should be

you're right, it has to do with a fix I had for the old version where the icon kept shifting away for some reason on reload. I'll adjust the padding.


Since Laravel support pivot columns in m-to-m relationships, is it possible to create an extension to support it here ?

this is for only many-to-many relationships, since this kind of relations constitutes an additional table in the database, and sometimes this table can have some additional pivot columns.
According to jsonapi we can't include an "attributes" key in a relationship. However, we can add a "meta" key.
so can we add pivot columns as the following example ?
{
  "data": {
    "type": "posts",
    "attributes": {
      "content": "...",
      "slug": "hello-world",
      "title": "Hello World"
    },
    "relationships": {
      "tags": {
        "data": [
          {
            "type": "tags",
            "id": "1",
            "meta": {
                "pivot": {
                     "published": true
                 }
            }
          }
        ]
      }
    }
  }
}

for now I am accomplishing this by the above request body example, but with also using the hooks in the controller to override the functionality to get the pivot and adding it to the flow.
in the documentation it is recommended to create a resource for that pivot table, but it just seems to be an overkill for this task, also it will introduce more routes

I'm interested

Personally I prefer the resource for the pivot. The reason being that it gives the client control over whether to eager-load the related resources or not. In your example, when serializing the posts resource, the client can't control whether it wants the meta member of the tags relationship serialized or not.
However I can see how your solution could be useful. I'm not going to have time to dev it though - there's plenty for me to already do, so I can't really justify spending time on this myself.
Your best approach would be to write a field that is like the BelongsToMany field provided by this package, but handles serializing and deserializing pivot attributes from meta. I'd be happy to help with that, but you'd need to write it due to my limited time.

@lindyhopchris, so sorry for late reply, this month is the holidays month for me. :)
I will surely work on that, should I put it as a PR request ?

If you're going to do it as a PR request, you should make it a customisable feature of the BelongsToMany field. You should not change the current default behaviour of that field... i.e. using meta to populate the pivot should be off by default, so the developer would need to opt-in.
Your alternative would be to write it as a separate package. Your choice which approach to go for.

@lindyhopchris  I created that Gist for the belongsToManyWithPivot
it will get the pivots if exists. but I also wanted to do the following on the data:

[ ] validation of pivot data
[ ] sanitize the pivot data (pass the data to a clean function to remove risky html tags)
[ ] change the pivot data (if encrypted for example)

maybe u can direct me as where I can achieve that

Having thought about this, I'm planning to write a specific chapter in the docs about this issue. In summary, the way to do pivot values while complying with the spec is to use a pivot model and represent that in the API as its own resource. That way not only do you get the ability to create/update pivot values, you also get all the benefits of include paths, sparse fields etc etc.
That for me is the right way to do this while complying with the spec and getting all the benefits of the spec at the same time. For me it doesn't make sense to put pivot values in the meta of a relationship, because it then becomes completely unclear as to when these values should or shouldn't be serialized when encoding a resource identifier.
If someone wants this done another way, they'll need to write their own add on package to do it. I'd be willing to make limited changes to help them plug such a package in, but I want the default recommendation of this package to be - do pivot values with pivot models/resources.
Hope that all makes sense! I realise this might be slightly contentious, but sticking to the spec is always a good rule IMHO, especially where the spec already allows this to be done.

this is for only many-to-many relationships, since this kind of relations constitutes an additional table in the database, and sometimes this table can have some additional pivot columns.
According to jsonapi we can't include an "attributes" key in a relationship. However, we can add a "meta" key. so can we add pivot columns as the following example ?
{
  "data": {
    "type": "posts",
    "attributes": {
      "content": "...",
      "slug": "hello-world",
      "title": "Hello World"
    },
    "relationships": {
      "tags": {
        "data": [
          {
            "type": "tags",
            "id": "1",
            "meta": {
                "pivot": {
                     "published": true
                 }
            }
          }
        ]
      }
    }
  }
}

for now I am accomplishing this by the above request body example, but with also using the hooks in the controller to override the functionality to get the pivot and adding it to the flow.
in the documentation it is recommended to create a resource for that pivot table, but it just seems to be an overkill for this task, also it will introduce more routes

@Mina-R-Meshriky can you let me know what you modified to get that working? I would like to do something similar without creating a resource for the pivot table.

you can check the following https://github.com/laravel-json-api/eloquent/pull/19
But bear in mind, that this is a custom implementation, it is not supported by this package. nor is it officially supported by the jsonapi specification.
you can create a new class for BelongsToMany and copy the code inside it, then use it instead of this package's BelongsToMany class.

@Mina-R-Meshriky Thanks. That seems to be for populating pivot data rather than displaying it?

This is for storing the data.
You can control what to display using a resource file

@Mina-R-Meshriky  I have a resource, however the docs don't mention anything related to displaying pivot values on the relationship along with the type and id, I would like to display a pivot value in the same way you are above, is this possible?

In the resource file =>  relationships function =>
$this->relation('relation')->withMeta([
'Name' => $this->pivot->variable
])

@Mina-R-Meshriky  The following gives me an error, Unable to encode compound document. If I remove the withMeta method it works?
    /**
     * Get the resource's relationships.
     *
     * @param Request|null $request
     * @return iterable
     */
    public function relationships($request): iterable
    {
        return [
            $this->relation('attributes')->withMeta([
                'value' => $this->pivot->raw_data
            ])
        ];
    }

But what is the cause of the error.
Enter to ur storage/logs and look at the error.
The real error will be the one exactly after the unable to encode error.

@Mina-R-Meshriky Thanks. However it seems that its not showing the meta value per relation, just as one value at the end of the relation array?
    /**
     * Get the resource's relationships.
     *
     * @param Request|null $request
     * @return iterable
     */
    public function relationships($request): iterable
    {
        return [
            $this->relation('attributes')->withMeta([
                'value' => 'test'
            ])
        ];
    }

"data": [
        {
            "type": "items",
            "id": "23",
            "attributes": {
                "sku": "12345678",
                "name": "Item name",
                "enabled": true,
                "createdAt": "2017-10-31T10:24:29.000000Z",
                "updatedAt": "2022-07-14T15:12:15.650000Z"
            },
            "relationships": {
                "attributes": {
                    "links": {
                        "related": "/api/v2/items/23/attributes",
                        "self": "/api/v2/items/23/relationships/attributes"
                    },
                    "data": [
                        {
                            "type": "attributes",
                            "id": "72"
                        },
                        {
                            "type": "attributes",
                            "id": "25"
                        },
                        {
                            "type": "attributes",
                            "id": "8"
                        },
                        {
                            "type": "attributes",
                            "id": "5"
                        },
                        {
                            "type": "attributes",
                            "id": "103"
                        }
                    ],
                    "meta": {
                        "value": "test"
                    }
                }
            },
            "links": {
                "self": "/api/v2/items/23"
            }
        },

I would like it to show as
                    "data": [
                        {
                            "type": "attributes",
                            "id": "72",
                            "value": "test"
                        },
                        ....

Yes, the Meta will be on the whole relationship. and I usually use it only on BelongsTo relations.
But, the data in the question head is for a Post/Patch requests not Get requests.
I think you can read this part in the docs, it might help with your use case.
https://laraveljsonapi.io/docs/2.0/resources/relationships.html#data


css implimentation

css not working properly.. maybe some syntax error

http://saurabhkanswal.me/fetcher-2.0/


split: correct error message on invalid arg. to -a

This pull request corrects the error message displayed on an invalid parameter to the --suffix-length or -a command-line option to match the rest of the error messages and match the behavior of GNU split.
Also, the second commit in this pull request adds some structure to errors that can be created during parsing of settings from command-line options. This commit creates StrategyError and SettingsError enumerations to represent the various parsing and other errors that can arise when transforming ArgMatches into Settings.

could you please fix the conflicts? thanks


Expose SSLContext

The only way to specify a custom SSLContext with trust manager seems to be through ClientBuilder, which is hidden by the Smart-ID API.
To be able to do pinning (required by the security doc!) it should be possible to add a custom context, maybe via client.setSSLContext() or something similar

https://github.com/SK-EID/smart-id-java-client/blob/master/CHANGELOG.md#15---2019-11-12


Improve Federated Store Tests to make use of properties file

Describe the enhancement you'd like
Throughout the Federated Store there are instances of this code pattern:
https://github.com/gchq/Gaffer/blob/ac602892435bdd0180f783c80f774149f50eb7f0/store-implementation/federated-store/src/test/java/uk/gov/gchq/gaffer/federatedstore/FederatedStoreVisibilityTest.java#L71-L72
These can be replaced with a single line which loads a generic Federated Store config properties file (from test/resources) using a utility method.
Why do you want this feature?
To simplify the tests for this module.

Hello, I forked and cloned the repository using SourceTree in order to resolve this issue. When I opened the code related to the issue, there were import errors. I would like to ask for some advice on how to handle these import errors.

Depending on the IDE used, it might require you to run a full build locally first. You can do this with mvn clean install -Pquick. If you are using Windows then some tests may fail to run (Hadoop/Accumulo) as they are not compatible with Windows.

Thank you for the advice. The tests failed in my Windows IntelliJ environment, so I am planning to switch to an Ubuntu environment to continue working.

Thank you for the advice. I was able to build successfully using the mvn clean install -Pquick command you suggested. The problem is that when I tried to run the FederatedStoreVisibilityTest test code, it failed the tests as shown in the screenshot. I installed Ubuntu and ran the tests there, but I'm still getting the same results as shown in the image.

Ensure you have Java 8 installed and configured as the Java version to use in your IDE. I did some brief research which indicates that that zookeeper error is caused by using a recent Java version. Java 11 is the latest which is officially supported, but 8 is recommended for now.

I have resolved this issue and have created a pull request.
Could you kindly review and address it when you have the chance?

I have resolved this issue and have created a pull request.
Could you kindly review and address it when you have the chance?

I have resolved this issue and have created a pull request.
Could you kindly review and address it when you have the chance?

@GCHQDeveloper314
I have resolved this issue and have created a pull request.
Could you kindly review and address it when you have the chance?


refreshed dataset register.  added nordic dataset and example

Merging though tests fail since this merge will update the hash values that are causing the failure.


Weblinks RTSP url do not work in ver. 0.63.3

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.63.3
Python release (python3 --version):
3.5
Component/platform:
Weblink
Description of problem:
RTSP url do not work
Expected:
To work like 0.62.1 and earlier versions
Problem-relevant configuration.yaml entries and steps to reproduce:
weblink:
  entities:
    - name: IP Cam
      url: rtsp://some/url
      icon: mdi:view-stream

Traceback (if applicable):

Additional info:

I can confirm that behaviour.

After a short investigation it looks like that the https://github.com/home-assistant/home-assistant/pull/11808 written by @ReneNulschDE causing that behaviour.
@ReneNulschDE Any idea why our rtsp links are matching two your relative url regexa?

	Hi, this is solved already but was not cherry picked in one of the minor 0.63 releases. Should be part of 0.64

On Wed, Feb 21, 2018 at 8:08 PM +0100, "tringler"<EMAIL_ADDRESS>wrote:
After a short investigation it looks like that the #11808 written by @ReneNulschDE causing that behaviour.
@ReneNulschDE Any idea why our rtsp links are matching two your relative url regexa?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi @agutr , Could you please recheck on 0.64. If it's working again, please close the issue. Sorry, again for this faulty optimization. If it's not working please post the relevant log. Thx.

It's working on 0.64.
Thank you.


Update teams-scoped-directory-search.md

Org wide settings menu removed

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@SerdarSoysal PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


ERR_CLEARTEXT_NOTE_PERMITTED

When I try to connect the jellyfin music player to my server. I receive this error ERR_CLEARTEXT_NOTE_PERMITTED. My phone is a Google Pixel 2 XL. I try with another phone an iPhone 8 and it works. The error seems to be only for Android phones. Version of the apps i use is v0.0.1-alpha1

After one week i still have the same issue

Hi there @WhatSupQuebec !
Sorry for not getting back to you earlier, I was on a well-deserved holiday last week, and haven't been able to get to this earlier. As for your issue, it seems to be caused by Android not liking to connect to your HTTP server. I have changed a flag for the Android build, which I have just released as v0.1.0. Can you have a look and see if that improves things for you?

Thanks you for the fix all work


Create User interface for the website

Create individual designs for the website to get a rough idea of the website.

UI_design (1).pdf

this is basically a rough idea of the design


[Enh]: allow passing index object directly to maybe_set_index

We would like to learn about your use case. For example, if this feature is needed  to adopt Narwhals in an open source project, could you please enter the link to it below?
No response
Please describe the purpose of the new feature or describe the problem to solve.
maybe_set_index does not allow to pass the index directly, which could be useful for Series objects
Suggest a solution if possible.
No response
If you have tried alternatives, please describe them below.
No response
Additional information that may help us understand your needs.
No response

I'm looking into this one!

I'm looking into this one!


Fix size of clipped text glyphs.

Objective
Text glyphs that were clipped were not sized correctly because the transform extracted from the extract_text_uinodes had a scaling on it that wasn't accounted for.
fixes #8167
Solution
Remove the scaling from the transform and multiply the size of the glyphs by the inverse of the scale factor.

Tested with new example from #8198, translated text clip (bottom-left) is working fine now. 👌
https://user-images.githubusercontent.com/188612/227651778-9117eae2-b32c-4982-8670-16cbf39fadc2.mp4

This PR is a slight performance regression but it's a minimal non-breaking fix ready that can be included in 10.1
I've got another branch with some breaking text changes that I thought maybe weren't needed but they coincidentally fix this bug without any performance cost that I'll PR later as well.