rule for #Ceil(@Set1 @Set2) not working

I'm trying to define a rule for #Ceil(Set1 Set2) operation using intersectSet. It doesn't seem to apply.
Example:
...
module CEIL-SET
    imports CEIL-SET-SYNTAX

    configuration <k> $PGM:Test </k>

    rule <k> eval ( S ) => evalResult ( S ) </k>

    rule #Ceil(@S1:Set @S2:Set) => {intersectSet(@S1, @S2) #Equals .Set} #And #Ceil(@S1) #And #Ceil(@S2)
      [anywhere, simplification]

endmodule

module CEIL-SET-SPEC
    imports CEIL-SET

    claim <k> eval ( S1:Set S2:Set ) => . </k> requires intersectSet(S1, S2) ==K .Set

endmodule

Expected result:
  <k>
    evalResult ( S1
    S2 ) ~> .
  </k>

Actual result:
kore-exec: [173001] Warning (WarnStuckClaimState):
    (InfoReachability) while checking the implication:
    The configuration's term doesn't unify with the destination's term and the configuration cannot be rewritten further. Location: /home/user/k/k-distribution/tests/regression-new/ceil-set/ceil-set-spec.k:8:11-9:45
  #Ceil ( S1
  S2 )
#And
  <k>
    evalResult ( S1
    S2 ) ~> .
  </k>

Full working example here: https://github.com/runtimeverification/k/pull/2670
Also it looks like side condition for requires intersectSet(S1, S2) ==K .Set is not created.
Is there a better way to define #Ceil(Set1 Set2), that wouldn't involve intersectSet ?

Haskell version: 9c8b14f

I have investigated this issue and the problem is that this simplification rule doesn't apply because we don't support that kind of matching. Now, unless you have a good reason not to, I'd suggest writing the #Ceil rule for Set concat similarly to how it's written for Map concat:
    rule #Ceil(@S:Set SetItem(@K:KItem)) => {(@K in @S) #Equals false} #And #Ceil(@K) #And #Ceil(@S)
        [anywhere, simplification]

I have checked, and this gets applied successfully by the Haskell backend.

Problem is some operations require generalized set concatenation.
we have this rule in domains.md:
rule S1:Set |Set S2:Set => S1 (S2 -Set S1)

Apply this to:
SET:Set |Set SetItem(X)

ans we get:
#Ceil ( SET ( SetItem ( X:MyId ) -Set SET ) )
#And
  <k>
    ... SET  ( SetItem ( X:MyId ) -Set SET ) ...
  </k>


Jenkins: bring Jenkinsfile back

Let's get Jenkins up and running again, FYI @dagar :smile:

@dagar any idea what this means?
Failed to run top '2919b615ed9770b2ec8a958788de323a6712074e6589fe6c5f9dcdd8c043ee08'. Error: Error response from daemon: rpc error: code = Unknown desc = containerd: container not found

Long story, but newer Jenkins doesn't like the way we were hanlding entrypoint.sh. https://github.com/Dronecode/DronecodeSDK/blob/develop/docker/Dockerfile-Ubuntu-16.04#L54
See (aka copy) what was done in PX4/containers for detail. https://github.com/PX4/containers/blob/master/docker/px4-dev/scripts/entrypoint.sh
https://github.com/PX4/containers/commit/64154790cc53ea598d6222d28abf36358487cc4a#diff-8fe21b75f1d50e84b43f3c2125b20d20
@lamping7 FYI

Oh, right, so I need to change all of the docker stuff, ok.

@dagar this seems to work now but I'd appreciate a review regarding ccache. I don't think it's working.

According to @dagar we are lucky if ccache works because the ec2 instance has not been recycled yet. Otherwise that's what we have for now.


bug/Docker image import unstructured failed

Describe the bug
I downloaded the latest image, but failed to import unstructured，how should I operate？
To Reproduce
Provide a code snippet that reproduces the issue.

urgent，urgent，urgent

@guici123 - Could you share the command you're using to start the container?

@guici123 - Could you share the command you're using to start the container?@guici123 - Could you share the command you're using to start the container?@guici123 - 您能否分享用于启动容器的命令？

create the container
docker run -dt --name unstructured downloads.unstructured.io/unstructured-io/unstructured:latest
this will drop you into a bash shell where the Docker image is running
docker exec -it unstructured bash

@guici123 - Could you share the command you're using to start the container?@guici123 - Could you share the command you're using to start the container?@guici123 - 您能否分享用于启动容器的命令？

docker run -dt --name unstructured downloads.unstructured.io/unstructured-io/unstructured:latest
docker exec -it unstructured bash

@MthwRobinson Looking forward to your reply

You should run python3 in a different directory, possibly under /app. For me, it worked because you can see the unstructured folder there.

Closing as inactive, assumed resolved.


[backplane-2.3] orphan the open-cluster-management-agent-addon namespace

issue reference: https://issues.redhat.com/browse/ACM-6864?focusedId=22811617&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-22811617

/hold

cc @tesshuflower

/retest

/hold

/approve
/lgtm

ACM 2.8.2 is open for PRs
/unhold


KeyError: 'main_prompt' problem with GPT Engineer

I am getting the following error:
My Input: python -m gpt_engineer.main example
My OS: Windows11
Python version: 3.11.4
pip version: 23.1.2
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:\Users\Saikat\gpt-engineer\gpt_engineer\main.py", line 65, in
app()
File "C:\Users\Saikat\gpt-engineer\gpt_engineer\main.py", line 60, in main
messages = step(ai, dbs)
^^^^^^^^^^^^^
File "C:\Users\Saikat\gpt-engineer\gpt_engineer\steps.py", line 37, in clarify
user = dbs.input["main_prompt"]
~~~~~~~~~^^^^^^^^^^^^^^^
File "C:\Users\Saikat\gpt-engineer\gpt_engineer\db.py", line 21, in getitem
raise KeyError(key)
KeyError: 'main_prompt'

The example folder should exist and in it should there be a main_prompt file. Its gives you that error when you feed it a file that does not exist.

I had the same problem trying to build the project also. What I did was move the project out of the projects folder as a temporary solution. I still can't get the built projects to run. any suggestions is welcomed.

For some weird reason it works if you name the file 'main_prompt' instead of 'prompt'.

I'm having the same issue. It worked 45 minutes ago. Something happened and where one used to say main_prompt it now looks like this (after execution of "cp -r projects/example/ projects/my-new-project"}

. Changing the filename appears to work but the result ends up with an error. I forgot to make note of the name/contents of the error I will run it again and edit this post with those details.

I think I may have solved this problem and it comes down to an "s" on the end of "project".  The example has the singular yet the path to main_prompt is this plural, "projects"!

I am very new to all this stuff, but tonight I decided to check for gpt-engineer updates, pulled the latest, and suddenly started having this problem too.
Looks like Installing gpt-engineer now results in /example/prompt being created instead of the former /example/main_prompt, so it fails to start. As said, manually correcting the file to main_prompt allows it to run.

I am very new to all this stuff, but tonight I decided to check for gpt-engineer updates, pulled the latest, and suddenly started having this problem too.
Looks like Installing gpt-engineer now results in /example/prompt being created instead of the former /example/main_prompt, so it fails to start. As said, manually correcting the file to main_prompt allows it to run, but obviously the real fix is somewhere deep in the code and way above my ability.

Were you able to complete a full run without error by changing it to main_prompt? Mine would start but eventually fail

@Bandit253  > I think I may have solved this problem and it comes down to an "s" on the end of "project". The example has the singular yet the path to main_prompt is this plural, "projects"!
Where do you change this ?

For me I obtained that error when I didn't create the virtual environment properly. Try running source venv/bin/activate after make install?

There was a bug on main. Should not happen!
It's fixed now, let's make sure it doesn't happen again.

Closing now, please immediately open a new issue if this is not fix still!


Upgrade Weld to 2.2.10.Final

Linux with security manager Build 1100 is now running using a merge of 94b34d1db258f21561f1597c39db6a66a66c67f8

Linux Build 6123 is now running using a merge of 94b34d1db258f21561f1597c39db6a66a66c67f8

Windows Build 1236 is now running using a merge of 94b34d1db258f21561f1597c39db6a66a66c67f8

Linux with security manager Build 1100 outcome was SUCCESS using a merge of 94b34d1db258f21561f1597c39db6a66a66c67f8
Summary: Tests passed: 814, ignored: 352 Build time: 0:05:06

Linux Build 6123 outcome was FAILURE using a merge of 94b34d1db258f21561f1597c39db6a66a66c67f8
Summary: Tests failed: 3 (3 new), passed: 2823, ignored: 412, muted: 2 Build time: 0:48:43
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.weld.configuration.nonportablemode.NonPortableModeTest: <no details avaliable>

org.jboss.as.test.clustering.cluster.cdi.CdiFailoverTestCase(SYNC-tcp).testGracefulUndeployFailover: <no details avaliable>

org.jboss.as.test.clustering.cluster.cdi.CdiFailoverTestCase(SYNC-tcp).testGracefulSimpleFailover: <no details avaliable>

Windows Build 1236 outcome was FAILURE using a merge of 94b34d1db258f21561f1597c39db6a66a66c67f8
Summary: Tests failed: 3 (3 new), passed: 2825, ignored: 412 Build time: 0:49:02
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.weld.configuration.nonportablemode.NonPortableModeTest: <no details avaliable>

org.jboss.as.test.clustering.cluster.cdi.CdiFailoverTestCase(SYNC-tcp).testGracefulUndeployFailover: <no details avaliable>

org.jboss.as.test.clustering.cluster.cdi.CdiFailoverTestCase(SYNC-tcp).testGracefulSimpleFailover: <no details avaliable>

Linux with security manager Build 1102 is now running using a merge of 6bdd2b074d75fff009d50919f002a10d0f2edea1

Windows Build 1238 is now running using a merge of 6bdd2b074d75fff009d50919f002a10d0f2edea1

Linux Build 6125 is now running using a merge of 6bdd2b074d75fff009d50919f002a10d0f2edea1

Linux with security manager Build 1102 outcome was SUCCESS using a merge of 6bdd2b074d75fff009d50919f002a10d0f2edea1
Summary: Tests passed: 814, ignored: 352 Build time: 0:05:02

Windows Build 1238 outcome was FAILURE using a merge of 6bdd2b074d75fff009d50919f002a10d0f2edea1
Summary: Tests failed: 2, passed: 2825, ignored: 412, muted: 1 Build time: 0:48:27
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.clustering.cluster.cdi.CdiFailoverTestCase(SYNC-tcp).testGracefulUndeployFailover: <no details avaliable>

org.jboss.as.test.clustering.cluster.cdi.CdiFailoverTestCase(SYNC-tcp).testGracefulSimpleFailover: <no details avaliable>

Linux Build 6125 outcome was FAILURE using a merge of 6bdd2b074d75fff009d50919f002a10d0f2edea1
Summary: Tests failed: 2, passed: 2825, ignored: 412, muted: 1 Build time: 0:50:17
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.clustering.cluster.cdi.CdiFailoverTestCase(SYNC-tcp).testGracefulUndeployFailover: <no details avaliable>

org.jboss.as.test.clustering.cluster.cdi.CdiFailoverTestCase(SYNC-tcp).testGracefulSimpleFailover: <no details avaliable>


fix(components): fix the language switch keyboard navigation

The changes to the post-menu are part of the PR #4337 that should be merge before this one.
:information_source: Only the commit https://github.com/swisspost/design-system/pull/4340/commits/b899725c21332a535e2f7640689f0bdf3d98fa28 needs to be reviewed in this PR.

I realized that when using the keyboard and selecting one of the menu options, it doesn't select it. I'll fix it on my PR.


SOT

meaby work
About the PR
some original test?
Media

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl: kirillcas

add: SOT

lg2m


Configure adapter with both bucket id and name if specified

Description
Please see https://github.com/gliterd/flysystem-backblaze/pull/24 for the full description and reasoning behind this change.
To summarise, once the backblaze adapter can be configured with both bucket id and name, we will no longer need to use master keys to integrate with backblaze, and can use application keys which give access to a single bucket.
Motivation and context
As above, but there's also a small change which fixes https://github.com/gliterd/laravel-backblaze-b2/issues/20
How has this been tested?
I have loaded all of the changes I've made across several projects into my laravel project and tested put, get, exists, allFiles, delete.
Screenshots (if appropriate)
n/a
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My pull request addresses exactly one patch/feature.
[x] I have created a branch for this patch/feature.
[x] Each individual commit in the pull request is meaningful.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] If my change requires a change to the documentation, I have updated it accordingly.
[x] My code follows the code style of this project.

If you're unsure about any of these, don't hesitate to ask. We're here to help!

I have included the small bug fix for https://github.com/gliterd/laravel-backblaze-b2/issues/20 please advise whether you wish for me to strip that out and submit it separately.
Please also advise whether you wish for me to write tests for this.

Marked as draft until https://github.com/gliterd/flysystem-backblaze/pull/24 is merged, which in turn cannot be merged until another PR is merged. Sorry for the chain of PR's.


[BUG] Vector search with HNSW with Lucene engine does not return default (3) results in the nested knn_vector

What is the bug?
The vector search in nested vector fields should return appropriate (default=3 or equal to size parameter) results.
I want to create an index where I could do Efficient k-NN filtering.
I have created 2 indices:

HNSW with nmslib engine and cosinesimil space
HNSW with Lucene engine and cosinesimil space

I want to search similar vectors in the nested fields. When I query the 1st index the hits contains the documents that match the vector and return the document with 3 inner_hitsvectors. But when I query the 2nd index, only 1 inner_hits vector is returned. And I am not even applying any filters in the query yet.
How can one reproduce the bug?

Mapping for index 1

{
  "properties": {
    "chunks": {
      "type": "nested",
      "properties": {
        "chunk_id": {
          "type": "keyword"
        },
        "content": {
          "type": "text"
        },
        "title": {
          "type": "text"
        },
        "vector_embedding": {
          "dimension": 1536,
          "method": {
            "engine": "nmslib",
            "space_type": "cosinesimil",
            "name": "hnsw",
            "parameters": {}
          },
          "type": "knn_vector"
        }
      }
    },
    "doc_meta2": {
      "type": "keyword"
    },
    "document_id": {
      "type": "keyword"
    },
    "document_name": {
      "type": "keyword"
    }
  }
}

Query for index 1:
POST docs_nested_embedding_kw/_search
{
  "_source": false,
  "query": {
    "nested": {
      "path": "chunks",
      "query": {
        "knn": {
          "chunks.vector_embedding": {
            "vector": [ <vector_query>]
            ],
            "k": 5
          }
        }
      },
     "inner_hits": {
        "_source": false,
        "fields": [
          "chunks.content"
        ],
        "size": 5
      }
    }
  }
}

Mapping for index 2

{
  "properties": {
    "chunks": {
      "type": "nested",
      "properties": {
        "chunk_id": {
          "type": "keyword"
        },
        "content": {
          "type": "text"
        },
        "title": {
          "type": "text"
        },
        "vector_embedding": {
          "dimension": 1536,
          "method": {
            "engine": "lucene",
            "space_type": "cosinesimil",
            "name": "hnsw",
            "parameters": {}
          },
          "type": "knn_vector"
        }
      }
    },
    "doc_meta2": {
      "type": "keyword"
    },
    "document_id": {
      "type": "keyword"
    },
    "document_name": {
      "type": "keyword"
    }
  }
}

Search query for index 2:
POST docs_nested_embedding_kw_filter/_search
{
  "_source": false,
  "query": {
    "nested": {
      "path": "chunks",
      "query": {
        "knn": {
          "chunks.vector_embedding": {
            "vector": [  <vector_query> ],
            "k": 5
          }
        }
      },
      "inner_hits": {
        "_source": false,
        "fields": [
          "chunks.content"
        ],
        "size": 5
      }
    }
  }
}

What is the expected behavior?
Both the index should return at least the default inner hits. Only the the query in index 1 is returning the default hits.
If the size parameter is present in the inner_hits query, then total inner hits equal to the size should be returned. Again this is only happening with index 1 and not with index 2.
What is your host/environment?
Windows 10 Pro
Opensearch version: I am using docker image opensearchproject/opensearch:latest
{
  "name" : "opensearch-node1",
  "cluster_name" : "opensearch-cluster",
  "cluster_uuid" : "VmHwfgBeS6q2GQ03tqQWlw",
  "version" : {
    "distribution" : "opensearch",
    "number" : "2.15.0",
    "build_type" : "tar",
    "build_hash" : "61dbcd0795c9bfe9b81e5762175414bc38bbcadf",
    "build_date" : "2024-06-20T03:26:49.193630411Z",
    "build_snapshot" : false,
    "lucene_version" : "9.10.0",
    "minimum_wire_compatibility_version" : "7.10.0",
    "minimum_index_compatibility_version" : "7.0.0"
  },
  "tagline" : "The OpenSearch Project: https://opensearch.org/"
}

Do you have any screenshots?
The request and results from first index.

The  request and results from second index.

Do you have any additional context?

I also played with different values of k setting it to 10 and 20 but still one inner_hits is returned.
I created an index using HNSW with faiss engine and l2 space. I am still only getting 1 results in the inner_hits.

transferring to k-NN because it's related to kNN query


Ignore TABLE_SCAN_MAXMEM for root table

I'm curious if we should ignore this property for all tables in the accumulo namespace for proper function of the system.

We could also improve the logging around the memory check to make the issue more obvious but just not letting it easily happen in the first place makes sense to me.
But if a user specifically tries to set a lower value on a system table like metadata then maybe we should throw an exception and prevent that config change as it would just be ignored anyways.

I'm wondering if instead of changing the code to throw an exception, we just document the behavior change in Property.java. Something like Values lower than the default value are ignored for system tables.

I'm wondering if instead of changing the code to throw an exception, we just document the behavior change in Property.java. Something like Values lower than the default value are ignored for system tables.

That's probably fine too if it is documented so that users are at least aware it will be ignored and it isn't unexpected.

Closing as #4457 fixes the root cause.


Cannot connect to any part of your api or get your node package working...

Hey there!
For some odd reason i cannot connect to the relay client, rest, nor anything importing signalwire and putting in all my credentials.  Twilio for some reason throws an error, regarding a prompt that has already been declared, I've tried various changing the Twilio versions with no luck.
Identifier 'Prompt' has already been declared (960:9) in /Users/alex/Desktop/projects/***/node_modules/twilio/lib/twiml/VoiceResponse.js 958:  */ 959: /* jshint ignore:end */ 960: function Prompt(prompt) {               ^ 961:   this.prompt = prompt; 962:   this._propertyName = 'prompt';
I've imported it like so and have tried to initiate, same error no matter what.
i.e rest

import { RestClient } from '@signalwire/node'

const signalwireClient = new RestClient('xxxxx-xxxx-xxxxx-xxxxx-xxxxxxxxx', 'xxxxxxxxxxx', { signalwireSpaceUrl: 'xxxxxxxx.signalwire.com' })

If anyone has had this happen and figured it out, please help!
Thank you kindly.

Terns out I cannot import this.  It'll work as

const { RestClient } = require('@signalwire/node') // no need to import

Hi @diagraphic! I'm not able to reproduce it, can you please share a reproducible example? Also, include the versions you are using please!
Here a very simple code that works with latest @signalwire/node:
import { RestClient } from '@signalwire/node'

const client = new RestClient(
  '<Project-Id-Here>',
  '<Token-Here>',
  {
    signalwireSpaceUrl: '<Space-Url-Here>'
  }
)

client.messages.list()
  .then(list => {
    console.log(`You have ${list.length} messages.`)
  })
  .catch(console.error)

Thanks!


Update github action versions.

🎉 New feature
Part of https://github.com/maliput/maliput_infrastructure/issues/319
Summary
Update github action versions.
Test it
N/A
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if it affects the public API)

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Found out https://github.com/maliput/maliput_infrastructure/issues/319#issuecomment-2104170746 regarding the failure. Reverting to v3 seems to solve the issue.

Gentle ping @francocipollone


Swap from beaker to hf for file downloads.

We had a bunch of files uploaded on beaker, but this doesn't work for folks external to AI2 anymore. So I dumped the files to huggingface here, and edited the training data download script to point to them instead. From a quick check it seems to download everything fine.
Fixes #115 and #106

Nice, lgtm. Thanks!


Failed to sign with transparency log

Description
We are using AWS KMS as our key store. Running the following command causes an error:
$ cosign sign --key=awskms:///alias/some/alias<PHONE_NUMBER>.dkr.ecr.ap-southeast-1.amazonaws.com/some-repository@sha256:somedigest
WARNING: "0000000000.dkr.ecr.ap-southeast-1.amazonaws.com/some-repository@sha256:somedigest" appears to be a private repository, please confirm uploading to the transparency log at "https://rekor.sigstore.dev"
Are you sure you would like to continue? [y/N] y

        The sigstore service, hosted by sigstore a Series of LF Projects, LLC, is provided pursuant to the Hosted Project Tools Terms of Use, available at https://lfprojects.org/policies/hosted-project-tools-terms-of-use/.
        Note that if your submission includes personal data associated with this signed artifact, it will be part of an immutable record.
        This may include the email address associated with the account with which you authenticate your contractual Agreement.
        This information will be used for signing this artifact and will be stored in public transparency logs and cannot be removed later, and is subject to the Immutable Record notice at https://lfprojects.org/policies/hosted-project-tools-immutable-records/.

By typing 'y', you attest that (1) you are not submitting the personal data of any other person; and (2) you understand and agree to the statement and the Agreement terms at the URLs listed above.
Are you sure you would like to continue? [y/N] y
Error: signing [0000000000.dkr.ecr.ap-southeast-1.amazonaws.com/some-repository@sha256:somedigest]: signing digest: [POST /api/v1/log/entries][400] createLogEntryBadRequest  &{Code:400 Message:error processing entry: verifying signature: invalid signature when validating ASN.1 encoded signature}
main.go:74: error during command execution: signing [0000000000.dkr.ecr.ap-southeast-1.amazonaws.com/some-repository@sha256:somedigest]: signing digest: [POST /api/v1/log/entries][400] createLogEntryBadRequest  &{Code:400 Message:error processing entry: verifying signature: invalid signature when validating ASN.1 encoded signature}

However, if we opt to use --tlog-upload=false flag, then no error is displayed.
$ cosign sign --tlog-upload=false --key=awskms:///alias/some/alias<PHONE_NUMBER>.dkr.ecr.ap-southeast-1.amazonaws.com/some-repository@sha256:somedigest
Pushing signature to:<PHONE_NUMBER>.dkr.ecr.ap-southeast-1.amazonaws.com/some-repository

Version
$ cosign version
  ______   ______        _______. __    _______ .__   __.
 /      | /  __  \      /       ||  |  /  _____||  \ |  |
|  ,----'|  |  |  |    |   (----`|  | |  |  __  |   \|  |
|  |     |  |  |  |     \   \    |  | |  | |_ | |  . `  |
|  `----.|  `--'  | .----)   |   |  | |  |__| | |  |\   |
 \______| \______/  |_______/    |__|  \______| |__| \__|
cosign: A tool for Container Signing, Verification and Storage in an OCI registry.

GitVersion:    2.0.1
GitCommit:     8faaee4d2b5f65678eb0831a8a3d5990a0271d3a
GitTreeState:  "clean"
BuildDate:     2023-04-06T19:10:33Z
GoVersion:     go1.20.3
Compiler:      gc
Platform:      darwin/amd64

I have the same error using a local key. But I still get the error when I use --tlog-upload=false.
That is my call:
cosign sign --key cosign.key --tlog-upload=false <image+digest>

The --yes flag will accept the prompt.
Example of personal data can be seen here: https://search.sigstore.dev/?uuid=362f8ecba72f4326925f13de1ea7627eceb44a7f8a8eea283b8daa29916e84e5f81ffd66142aad9d
Going to  close this as a duplicate of https://github.com/sigstore/cosign/issues/2800

Whoops, didn't read that very carefully. Sorry!
This looks like an error in Rekor (the transparency log) validating the signature in the entry you're sending up to it. Can you give more details about the AWS KMS key you're using to sign? It may be that we don't recognized the key type.

Certainly, so we created an asymmetric AWS KMS key with the Sign and verify key usage and ECC_NIST_P521 key spec.

At a glance, I believe this is because Rekor only supports sha256 currently, and this needs to be sha512. It’s unable to verify the signature that’s been uploaded because the digest that’s signed over would not be equal.
I think there’s an open issue in the repo, but if not, feel free to open one.

https://github.com/sigstore/rekor/issues/1299

At a glance, I believe this is because Rekor only supports sha256 currently, and this needs to be sha512. It’s unable to verify the signature that’s been uploaded because the digest that’s signed over would not be equal.

Yeah, that'll do it. Good catch.
I think that as soon as we resolve https://github.com/sigstore/rekor/issues/1299 this will just work in Cosign, so I'm going to close this as a dupe.

Thanks @haydentherapper and @znewman01 for taking a look at this. The signing/verification flow works without issues when using a ECC_NIST_P256 key. 🙇


Issue 14900 - fix changelog example

Issue 14900 – 2.068.0 change log example does not compile

The feature doesn't completely work, so change the example to only show what works.

it would be the best we can do just now.

it would be the best we can do just now.

Website is updated, it's still in the released docs and chm file, but I doubt that many people are reading that anyhow.

Thank you again for your lightning work. > Website is updated,

it's still in the released docs and chm file

If someone post bugzilla issue, I'll humbly receive the complaint.


Enabling pylint with CI

Issue #, if available:
Enabling lint for MMS
Description of changes:
Added pylintrc and made changes to repo to address the pylint issues
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@lupesko  I plan to add this to codebuild. This way every PR goes through the pylint as well.


Can i use Underscore.m on iOS 7.0?

Look the title, my APP needs to be compatible with iOS7.0.
Is there anyone who can help me?

We target 8.0. Sorry.


MRTK3 input package misses dependency on glTFast

Reopening #11294 - the issue back then was dropped because there was no simple&clear solution. By now the solution is trivial:
glTFast is now provided directly by Unity<EMAIL_ADDRESS>Simply add a dependency on "com.unity.cloud.gltfast": "6.4.0" to the mrtk.input package.json

MRTK3 by default doesn't include a dependency on glTFast.  This was intentionally done, so apps are free to select the GLT solution of their choosing.  MRTK3 does not want to dictate what FLT package wo consume.
Also, this project is only for legacy MRTK2 issue.
Please open future MRTK3 issues at the MRTK3 project @ https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity.


Fix the vulnerabiltiy issue discussed in #197

Hi, @jherdman, this PR can fix the vulnerabiltiy issue we have discussed in #197.
It can update cheerio ^0.22.0 ➔ ^1.0.0-rc.4 to remove the  vulnerability CVE-2021-33587 introduced by css-what, since cheerio@1.0.0-rc.4(>=1.0.0-rc.4) doesn’t depends on css-what any more.
It would be better if<EMAIL_ADDRESS>can fix this issue and release a patched version<EMAIL_ADDRESS>to npm.Then this vulnerbility patch can be automatically propagated into a large amount of downstream projects :)
Please check it.
Thanks again.

Bump on this one @evansrobert 😅

@lskillington I'll try and crank this out today.

This pull request will require more work than is described here. I'll open a PR soon that addresses this concern. I'm going to close this one so as not to confuse the matter.


Prusa login fails

When i try to log into my Prusa account the login pages is blank and shows only "Connection failed, something went wrong"
I use the current Raspberry Pi OS 64bit (based an Debian 12 bookworm)
The Hardware is a Raspberry Pi5 with 8GB RAM and SSD.
When i run PrusaSlicer from the shell i get some error-output:
/tmp/.mount_PrusaSXyInlr/usr/lib/aarch64-linux-gnu/libgnutls.so.30: version `GNUTLS_3_7_4' not found (required by /usr/lib/aarch64-linux-gnu/gio/modules/libgiognutls.so)
Failed to load module: /usr/lib/aarch64-linux-gnu/gio/modules/libgiognutls.so
[2024-10-24 16:41:17.901648] [0x00007ffef902a280] [error]   WebViewDialog error: wxWEBVIEW_NAV_ERR_OTHE
The installed gnutls version is: 3.7.9-2+deb12u3
Has this version of PrusaSlicer some hard dependecy on an older version of gnutls and the newer version is not backwards compatible?

Hi there, please try the -prusaconnect AppImage that was just built recently.
This one should be most appropriate for the OS currently being run: https://github.com/davidk/PrusaSlicer-ARM.AppImage/releases/download/version_2.8.1/PrusaSlicer-version_2.8.1-aarch64-latestOS-prusaconnect.AppImage
The change for these AppImages was to unbundle libgnutls, as preferring the system libgnutls is more appropriate in this case

I tried the new prusaconnect AppImage, and it works without issues.
Thanks :-)


Update "Building Projects with Yeoman" article

Updating the "Building Projects with Yeoman" article for Beta 8. There were also some big changes in generator-aspnet which weren't reflected in the article, so I took care of that as well. This PR addresses issue https://github.com/aspnet/Docs/issues/584.

Thank you! 6d4052fe045e508b37be76bcf6541455a9ba8451


Recurring Events

since this is based off of Full Calendar, is there a way to create recurring events?

recurring events is more of a data thing then anything else. Since we have no option on what the data or shape of your data is it doesn't make a ton of sense to try and support them directly.
Instead the Calendar provides you with hooks that let you know what dates it wants to display, you can adjust the events array on the calendar in response to that, allowing you to expand recurring events however you like. You can also implement paging/lazy loading that way.

Is there support for the "dow" flag?
eg:
{
start: '10:00', // a start time (10am in this example)
end: '18:00', // an end time (6pm in this example)
dow: [ 1, 2, 3, 4 ] // days of week. an array of zero-based day of week integers (0=Sunday)
// (Monday-Thursday in this example)

}

@jquense

the Calendar provides you with hooks that let you know what dates it wants to display
could you please give an example of those hooks?

rrule and similar scheduling libraries allow you to create large lists of recurring event dates. What's the best way to pass such large lists into react-big-calendar and achieve pagination?

I don't think you'd need to pass a huge list of hundreds/thousands of events into a React component. Really you're only ever showing a month (at max) view with any calendar, so I think maybe a good pattern would be to:

Insert a dtstart timestamp into your db for when the recurring events should begin.
Insert a byweekday array of days into your db on that same record.
Create the dates on the fly in the client depending on what view you're looking at:

const events = new RRule({
  freq: RRule.WEEKLY,
  interval: 5,
  byweekday: [...days_pulled_from_your_byweekday_column],
  dtstart: new Date(whatever_the_first_day_of_the_currently_selected_month_is),
  until: new Date(last_day_of_selected_month)
})

Then inject those events into your react-big-calendar.

I haven't tested this yet but it seems like it might work.

@corysimmons Is it the onNavigate callback that would fetch the next batch of dates?

Yeah that sounds right. My implementation is just on some personal side project so I ended up just doing
const rule = new RRule({
	freq: RRule.WEEKLY,
	byweekday: dbRecord.byweekday,
	dtstart: dbRecord.dtstart,
	until: endOfMonth(newDatePlusAMonth),
})

and
rule.all()

to generate records for the current month + the next month, but what you suggested sounds like a better solution.
You can also get a slice of events (from their docs), so I think something like this would be the best solution actually:
rule.between(dbRecord.dtstart || startOfMonth(utCDateOfCurrentlySelectedMonth), endOfMonth(dbRecord.until || utCDateOfCurrentlySelectedMonth))


Remove firmware compilation tests

This will allow breaking change for an 0.2 release

Can’t we just remove/comment the on triggers instead of commenting out all steps?

There's actually an even better solution. We can manually disable it in the GH UI it seems: https://docs.github.com/en/actions/managing-workflow-runs/disabling-and-enabling-a-workflow. I think this is what we want. The two workflows were both named "CI" so I renamed it to "Firmwares". I uncommented the Nitrokey firmware too, so that we can just keep the file as-is and disable the workflow.

Should we merge and disable now or wait for Friday's steering call?

let's wait for the steering call to align on a path how (and when) to migrate solo2 towards the breaking changes


Polish HttpClient API

Rename builder methods from setFoo() to foo(). As of Java 17, the getFoo()/setFoo(value) naming convention has been effectively replaced with foo()/foo(value). Especially for a pre-1.0 project, it makes sense to align with this development.
Do not rename addFoo() builder methods to distinguish them from setters.
Change HttpClientInitException to extend RuntimeException instead of PklException. Except for PklBugException, no other exception class extends PklException.

I just came across a new builder API in JDK 22 that uses withFoo for both setters and adders.
Need some time to think about what I'd like to propose.


onTouchTap events of material-ui buttons are not working

We are in a transition phase trying to move few modules of our angular app to react components. In our React components we heavily use material-ui components.
As suggested in the installation page of material-ui, we are using react-tap-event-plugin library to enable onTouchTap events of material-ui buttons.
If I render the independent React component in a browser, onTouchTap events work perfectly! But the same component, if I embed in the angular app using ngReact, component rendering is fine, but events are not getting fired.
Any help would be deeply appreciated!
Thanks in advance!

Thanks for raising this.
Have you done any investigation why they events don't get fired? I'm sorry that I can't offer you any insights here.

This callback was removed from Material-UI, we can know close the issue.


Unable to parse file

Hi ,I have used this jar and i am unable to parse pdf file.I am getting following error message.
Could not find method java.io.IOException., referenced from method org.apache.pdfbox.pdfparser.BaseParser.readLong
Could not find method java.io.IOException., referenced from method org.apache.pdfbox.pdfparser.BaseParser.parseCOSString
Can you tell me what would be the reason for this

What code caused this error? Was it just using the load function? Did you download the jar or use the gradle build? The gradle build may have had an error that caused this.

This is the code i am using.
PDFParser parser;
File file = new File(sdcard,"ac123002.pdf");
FileInputStream fin = new FileInputStream(file);
parser = new PDFParser(fin);
I am getting exception in this PDFParser constructor

Are you targeting API levels >= 9 (Gingerbread or above)? Two of the methods in IOException were added in level 9.

Are you targeting API levels >= 9 (Gingerbread or above)? Two of the methods in IOException were added in level 9.

Hi  Thanks that resolved error.
Now I am using the  lib project instead of the jar ,I am facing issue in reading text file from resources folder.
I am getting null exception while reading text file from resources folder
can you help me where the problem is

The Gradle build currently isn't building the resources folders into the jars. For now, use the jar, but Gradle should be fixed very soon.

If i use jar in android studio,I am not able to build , it shows error.
On Wed, Mar 11, 2015 at 3:41 PM, Tom Roush<EMAIL_ADDRESS>wrote:

The Gradle build currently isn't building the resources folders into the
jars. For now, use the jar, but Gradle should be fixed very soon.
—
Reply to this email directly or view it on GitHub
https://github.com/Birdbrain2/PdfBox-Android/issues/30#issuecomment-78354085
.

What is the error you are seeing?

Gradle should be properly building resources into the jar now. I would still like to know what kind of error you're getting when you try to use the prebuilt jar.


App Service cmd for importing certs from Key Vault

App Service cmd for importing certs from Key Vault:

az webapp|functionapp config ssl import

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[x] I adhere to the Command Guidelines.

Please run azdev linter {YOUR_MODULE} to make sure command's help message is valid

Hi @haroldrandom. I fixed the help error and some other styling. I also added a scenario test. The test works when I run it local, but fails in CI - the error is from creating an app service plan. The same lines of code found in numerous other tests. Any idea what is wrong?

@madsd Have you edited the recording YAML file manually?

@jiasli  please help with the PR.

No changes to the Yaml file, and I can run the tests in live mode on my machine without problems. The strange thing is, that it seem to fail on the basic appservice plan create. Don't know if there is a way to get more details on the exception.

No changes to the Yaml file, and I can run the tests in live mode on my machine without problems. The strange thing is, that it seem to fail on the basic appservice plan create. Don't know if there is a way to get more details on the exception.

you can delete the YAML file locally & re-record & upload the new yaml. You can also do is do a azdevsetup -c again on your local machine & see if you see this failure locally as well.

is it necessary to support version of cert?

/azp run

is it necessary to support version of cert?

No, the commands setups up the integration with KV and pulls the latest version - any future versions of the certs are handled directly between App Service and Key Vault.

@yungezz, @haroldrandom requested changes has been implemented and the the latest History.rst conflict resolved.


race() return object not correct when using actionCreator for "take"

In my project I am using action creators functions which have "toString()" function. When calling take() and passing such a function as a pattern, the behavior of race() is not correct. I am relying on this passage from the doc of take():

[...Note: if the pattern function has toString defined on it, action.type will be tested against pattern.toString() instead. This is useful if you're using an action creator library like redux-act or redux-actions.]

Take a look at this code which causes the issue:
const {failure, success} = yield race({success: take(setAppLanguageSuccess), failure: take(setAppLanguageFailure)});
Where "setAppLanguageSuccess" and "setAppLanguageFailure" are action creator functions with a "toString()" member.
With this setup, I will always obtain the result in an object with {success: theActualResult}. i.e. if the result is failure, it will still be returned into an object with the "success" key.
But if I pass strings corresponding to my actions, the race() function will work as expected and will return a failure inside an object such as {failure: theActualResult}

This seems like a bug, but also as something that shouldn't really happen, because underlaying mechanism doesn't differ for regular strings and for action creators with toString.
Could you post a codesandbox.io demonstrating the issue? I would be happy to take a look at it.


CFG support for ChakraCore

Enabled CFG in ChakraCore in a way which keeps the binary running on pre-Win10 (pre-CFG) OSs.
To make this safe, the necessary APIs are delayloaded at initialization time, and the function pointers and then put in a read-only data section.
Note: For CFG to be enabled, the host needs to be marked as supporting Win10 by linking with /subsystem, os as supporting multiple OS version through a manifest (see https://docs.microsoft.com/en-us/windows/desktop/SysInfo/targeting-your-application-at-windows-8-1).

Just to be clear: ChakraCore currently claims to support back to Win7 SP1.  That will continue to be the case with the change here, correct?

That's correct.  This change enables CFG when hosted on Win10 (as long as the host specifies Win10 support) but allows the binary to still load on previous OS versions including Win7.


Changed dependency for Castle.Core" to  version 3.2.0

I am no expert on Nuget packaging, however based on my deployment experience, I think this change is proper.

Will check it out soon.

Thanks

Thanks an excellent piece of software!

Thanks a lot.


Questions about Alignment and Scaling in 3D Space for Reconstruction and Driving Branches

Thank you for your kind and thorough response last time. 🥰
I have another question: since your final rendering result directly merges the Gaussians from both the reconstruction and driving branches, with the spatial priors for these branches provided by the DINO feature plane and the FLAME head in 3D space——
how are the position and size scales between these two planes and the FLAME head aligned in 3D space? And how was the FLAME scaling factor of 5 determined?
Looking forward to your response～😊

These are determined when tracking the data. The tracked camera pose ensures that the head in the image matches the flame head of size 5 in canonical space.
The size of 5 is to make the size of the flame head close to 1. It's inherited from GPAvatar, which reconstructs tri-plane in unit space, and it is not important in GAGAvatar. But if you want to change this parameter, you need to re-track and re-train the model.


Build fails for macOS using JDK15's jpackage

tl;dr
jpackage in JDK15 is adding an extra "Contents" in one of the paths in the built executable:
"[...]/VARS Annotation.app/Contents/Contents/app/VARS Annotation.cfg" # JDK15
"[...]/VARS Annotation.app/Contents/app/VARS Annotation.cfg" # JDK14

What are you trying to do?
Build a macOS app using jlink and jpackage. The app is compiled and built (via jlink) on Java 11. I'm using the jpackage tool in later versions of the JDK (e.g. jdk14 and now jdk15) to package it as a mac app. The source code for the application is at https://github.com/mbari-media-management/vars-annotation
Expected behaviour:
Using jdk14's jpackage, the app builds and runs as expected. Using jdk15's jpackage, the app builds but fails to launch
Observed behaviour:
After building with jdk15's jpackage the app fails to launch. The following appears in the system.log:
Jan 22 08:58:03 dharma com.apple.xpc.launchd[1] (org.mbari.vars.ui.101792[34511]): Service exited with abnormal code: 1
I ran the following sanity checks:
Sanity Check 1
I launched the jlink built app and confirmed it runs as expected using:
cd "VARS Annotation.app/Contents/runtime/Contents/Home/bin"
./VARS\ Annotation

Sanity Check 2
I attempted to run the jpackage built executable on the command line using:
cd "VARS Annotation.app/Contents/MacOS"
./VARS\ Annotation

It fails with the following message:
Error opening "[...]/VARS Annotation.app/Contents/Contents/app/VARS Annotation.cfg" file: No such file or directory

The error is that Contents/Contents is wrong. It should only be a single "Contents" in the path. i.e. [...]/VARS Annotation.app/Contents/app/VARS Annotation.cfg
Any other comments:
Working JDK14 version:
openjdk version "14.0.2" 2020-07-14
OpenJDK Runtime Environment AdoptOpenJDK (build 14.0.2+12)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14.0.2+12, mixed mode, sharing)

JDK15 version that has the bug:
openjdk version "15.0.1" 2020-10-20
OpenJDK Runtime Environment (build 15.0.1+9)
OpenJDK 64-Bit Server VM (build 15.0.1+9, mixed mode, sharing)

I sent an email about this to<EMAIL_ADDRESS>

I sent an email about this to<EMAIL_ADDRESS>

Can you try with ea version of JDK16 from https://download.java.net/java/early_access/alpine/32/binaries/openjdk-16-ea+32_linux-x64-musl_bin.tar.gz ?

Can you try with ea version of JDK16 from https://download.java.net/java/early_access/alpine/32/binaries/openjdk-16-ea+32_linux-x64-musl_bin.tar.gz ?

Never Mind - I can reproduce with my build of jdk 17, so problem is still there - I will file a bug and fix.

Never Mind - I can reproduce with my build of jdk 17, so problem is still there - I will file a bug and fix.

@andyherrick Thanks Andy!

@andyherrick Thanks Andy!

Link to this issue in the JDK bug tracker: https://bugs.openjdk.java.net/browse/JDK-8260335

Link to this issue in the JDK bug tracker: https://bugs.openjdk.java.net/browse/JDK-8260335

VARS builds on JDK 17.


DB::Exception: Different number of columns in UNION ALL elements

Union all is not working when in subquery has column with different aliases:
CREATE TABLE test(x Int32) ENGINE = Log;

SELECT a1
FROM
(
    SELECT x AS a1, x AS a2 FROM test
    UNION ALL
    SELECT x, x FROM test
)

Error:
Received exception from server (version 1.1.54370):
Code: 258. DB::Exception: Received from localhost:9000, <IP_ADDRESS>. DB::Exception: Different number of columns in UNION ALL elements.

Confirmed.


QueryColumn has "eqs" but no "is"

object userId extends UUIDColumn(this) with PartitionKey[UUID]   object id extends TimeUUIDColumn(this) with PrimaryKey[UUID]
.
.
.
def updateActivityFavorite(userId: UUID, activityFavorite: ActivityFavorite)(implicit ks: KeySpace): ConditionalQuery[ActivityFavoriteRecord, ActivityFavorite, _, _, _, _] =
    update
      .where(_.userId eqs userId)
      .and(_.id eqs activityFavorite.id)
      .modify(_.duration setTo activityFavorite.duration)
      .and(_.intensity setTo activityFavorite.intensity)
      .and(_.steps setTo activityFavorite.steps)
      .and(_.code setTo activityFavorite.code)
      .onlyIf(_.userId is userId)

Error:(52, 24) value is is not a member of object x$14.userId
.onlyIf(_.userId is userId)
^
Removing the last line compiles fine suggesting _id does have eqs so _id must be implicitly mapped to QueryColumn.

Hi,
Your update clause with an is is very pointless because you are already matching on the userId. CQL does not support a secondary condition(compare-and-set clauses) on columns that are part of the primary key of a table, which is why phantom doesn't let you compile them.
Doing that makes no sense whatsoever for a number of reasons: matching, breaching token distribution per partition, positioning in the ring via tokens, etc.
Regards.


Rather than returning Event::Awakened for every unknown event type, only return one when a NSApplicationActivatedEventType is received (this is the event produced by WindowProxy::wakeup_event_loop)

The original behaviour returns an Event::Awakened for every unknown event type (see here). This PR changes the behaviour so that rather than returning Event::Awakened if NSEventToEvent returns None, we instead loop until NSEventToEvent returns Some(Event).
The wait_events docs mention that the Iterator should never return None, so it's possible that the returning of Event::Awakened might have originally been a hack to avoid returning None when NSEventToEvent returns None.
This may be a breaking change for downstream programs that depend on receiving Awakened on OS X for some reason (though they probably shouldn't, as the current behaviour does not seem to reflect the Awakened docs at all). Edit: This PR still returns Awakened, but only when the event loop is actually awakened.
I've tested the changes with the window.rs example (which uses the WaitEventsIterator) and it seems to handle all the events I can throw at it from my macbook pro without issues, still sitting between 0.0 - 0.1% cpu when idle. The only difference being it no longer returns seemingly random Awakened events. I'm on OS X 10.10.5.
@paulrouget sorry to bug you! I noticed you occasionally review cocoa-related PRs - would you mind reviewing this?

@pcwalton do you mind looking at this?

Can you test to make sure you still return from the event loop when you send wakeup_event_loop?

@pcwalton I just added a commit that checks for the specific NSEventSubtype::NSApplicationActivatedEventType in order to return Event::Awakened when a WindowProxy calls wakeup_event_loop.
I created a test as you described that called wakeup_event_loop from a WindowProxy on a separate thread. Here's the code I used to do the test:
extern crate glutin;

mod support;

fn main() {
    let mut window = glutin::WindowBuilder::new().build().unwrap();
    window.set_title("A fantastic window!");
    let _ = unsafe { window.make_current() };

    let context = support::load(&window);

    let proxy = window.create_window_proxy();
    std::thread::spawn(move || {
        std::thread::sleep(std::time::Duration::from_secs(3));
        proxy.wakeup_event_loop();
    });

    for event in window.wait_events() {
        context.draw_frame((0.0, 1.0, 0.0, 1.0));
        let _ = window.swap_buffers();

        println!("{:?}", event);

        match event {
            glutin::Event::Closed => break,
            _ => ()
        }
    }
}

Using this code, the window successfully received a Event::Awakened after three seconds.

Looks good to me! r=me
cc @tomaka @paulrouget

Closing as winit is the proper place to address this now.


Screenshot Capture Issue with Popup Windows

Hello,
I've noticed that there is an issue with capturing screenshots for popup windows. When a scenario fails on a popup page, the screenshot does not include the popup page.
Thank you.

nice point. does the same happen on playwright without cucumbers? if so - I would open and issue on their repo.


Why did I exclude Json in restyled config?

I have to create a PR to trigger the restyled bot again.
Only for testing. Do not merge.

https://restyled.io/gh/CCXXXI/repos/discord-embeds-reader-bot/jobs/2941440
info     Restyler starting
debug    Switched to branch 'pull-176'
info     Restyling PR                    number=176
info     Cloning repository
info     Fetching remote file            path="/tmp/restylers-stable.yaml"
info     Restyling                       paths=["package-lock.json"] restyler="jq"
info     Restyling                       paths=["package.json"] restyler="jq"
info     Restyling                       paths=["src/token.example.json"] restyler="jq"
info     Restyling                       paths=["tsconfig.json"] restyler="jq"
debug    [pull-176 86f319f] Restyled by jq
debug     2 files changed, 7 insertions(+), 3 deletions(-)
info     Restyling                       paths=["package-lock.json","package.json","src/token.example.json","tsconfig.json"] restyler="prettier-json"
debug    package-lock.json 290ms
debug    package.json 6ms
debug    [error] src/token.example.json: SyntaxError: Unexpected token (1:6)
debug    [error] > 1 | Your token goes here. Remember to change the filename to token.json
debug    [error]     |      ^
debug    [error]   2 |
debug    tsconfig.json 13ms
error    Exception:
We had trouble with the prettier-json restyler
  Exited non-zero (2) for the following paths, ["package-lock.json","package.json","src/token.example.json","tsconfig.json"].
  Error information may be present in debug messages.
  https://prettier.io/docs/en/options.html#parser error={description:"a Restyler errored",exitCode:20,severity:"warning",tag:"restyler"}
info     Restyler done                   exitCode=20


using streamedAnswer.ask is not setting stream=true in request

I'm using chat/completions with gpt-4, and am trying to use the streaming mode. But I see that in the request sent, stream parameter is set to false. Is there anything else I should be doing to stream, other than using streamedAnswer.ask ?
This is my request function:
private func makeRequest(with text:String) async throws -> String? {
        let request = ChatRequest.gpt4 { request in
            request.messages = [
                .init(role: .user, content: text)
            ]
            request.temperature = Double(K.OpenAI.temperature)
            request.maximumTokens = K.OpenAI.maxTokens
        }
        print("Making ChatGPT request: \(request)")
        do {
            var response = ""
            for try await nextWord in try await chatGPT.streamedAnswer.ask(request: request) {
                print("\(nextWord)")
                response += nextWord
            }
            return response

        } catch {
            print("Error running chatgpt request: \(error.localizedDescription)")
            return nil
        }
    }

Hey @prateekshac1,
Your code should be correct, this is actually a bug in the framework. I must have accidentally deleted something while refactoring. Sorry about that!
I've released a hotfix that should resolve your issue. Let me know if there are any other problems.
https://github.com/SwiftedMind/GPTSwift/releases/tag/3.0.1

Yes, it's working now. Thank you for the quick fix :). And for the wrapper. Super useful!

Awesome! Glad it's working for you :)


Fix document mistake

…cation file

Many thanks for submitting your Pull Request :heart:!
Please specify parts of this PR update:

[x] Specification
[ ] Schema
[ ] Examples
[ ] Extensions
[ ] Roadmap
[ ] Use Cases
[ ] Community
[ ] TCK
[ ] Other

Discussion or Issue link:
#717
#716
What this PR does / why we need it:
Fixed two specification.md errors.
Special notes for reviewers:
Additional information:

@whuanle Commits are still not signed off 😞

@whuanle Commits are still not signed off 😞

sorry


[Errno 2] No such file or directory: '/c\u200b\u200bonfig/arch/darknet21.yaml'

sorry,when i train it,it occurs such a mistake

Can you share your setup? Python version, Linux version, command you run, etc.

Can you share your setup? Python version, Linux version, command you run, etc.

I use python3.7.1,Linux version 4.15.0-65
and the command is:
./train.py -d home/Harddisk_6T/gouxiaofeng/lidar-bonnetal/train/tasks/semantic/dataset -ac \config\arch\CHOICE.yaml -l home/Harddisk_6T/gouxiaofeng/lidar-bonnetal/train/tasks/semantic/dataset/log
Thank you!

Can you share your setup? Python version, Linux version, command you run, etc.

I use python3.7.1,Linux version 4.15.0-65
and the command is:
./train.py -d home/Harddisk_6T/gouxiaofeng/lidar-bonnetal/train/tasks/semantic/dataset -ac  /config/arch/CHOICE.yaml -l home/Harddisk_6T/gouxiaofeng/lidar-bonnetal/train/tasks/semantic/dataset/log
Thank you!

You are trying to look for the config file in the root directory.
Try with a dot to look in the current directory:
-ac ./config/arch/CHOICE.yaml

You are trying to look for the config file in the root directory.
Try with a dot to look in the current directory:
-ac ./config/arch/CHOICE.yaml

I've tried it,and the same error occurs again.

Can you please share where you are in the computer, and if those files exist in those paths?
$ pwd
$ ls -al
$ ls home/Harddisk_6T/gouxiaofeng/lidar-bonnetal/train/tasks/semantic/dataset
$ ls ./config/arch/CHOICE.yaml

您能否分享您在计算机中的位置以及这些路径中是否存在这些文件？
$ pwd
$ ls -al
$ ls home / Harddisk_6T / gouxiaofeng / lidar-bonnetal / train / tasks / semantic / dataset
$ ls ./c onfig / arch / CHOICE.yaml

yeah ,I find that my path is wrong and I correct it,but maybe the problem is "CHOICE.yaml",it doesn't exist itself.I have tried to change the command with writing the yaml file such as the "darknet21.yaml"which truly exist ,the same error occurs again.

CHOICE.yaml is a place holder. You have to use a yaml file from config/arch, such as config/arch/darknet21.yaml.
To clarify what is needed:
$ ./train.py -d <dataset path> -ac <configuration file> -l <log directory>
<dataset path> = directory of the root directory of SemanticKITTI, i.e., let say you extracted the zip files into /home/Harddisk_6T/gouxiaofeng/semantic-kitti/dataset/ then this folder contains the following folder structure:
/home/Harddisk_6T/gouxiaofeng/semantic-kitti/dataset/
  \-- sequences
        |-- 00
        |     |-- velodyne
        |     |-- labels
        |     |-- calibration.
        |     \-- poses.txt
        |-- 01
       ...

It's not the dataset folder in lidar-bonnetal/train/tasks/semantic.
<configuration file> = this is the configuration file of the architecture. (As also mentioned in the README.MD it might be a file from the config\arch\ directory. (Example would be config/arch/darknet21.yaml) You can modify these files or write your own, but it has to contain the model configuration and the training parameters. An empty file will not do.
<log directory> =  is a directory/folder where you want to have the log files and checkpoints stored. (This is also the directory you have to open with tensorboard to get feedback on the progress of training.) This can be an abitrary directory.
You seem to struggle with relative and absolute paths, see https://www.geeksforgeeks.org/absolute-relative-pathnames-unix/ and https://opensource.com/article/19/8/understanding-file-paths-linux
As mentioned in the last article Tab is your friend.
Hope that helps.

Were you able to solve this? I am closing this since it does not look like an issue with the framework. Let us know if you need further help

Of course it can be closed,I'm so sorry for  these days I'm reading your paper and I will try to run it again after a few days.Thanks for your reply!
----------------- 原始邮件 ------------------
发件人: "Andres<EMAIL_ADDRESS>发送时间: 2019年10月23日(星期三) 下午2:13
收件人<EMAIL_ADDRESS>抄送: "炫WindCalm"<271226235<EMAIL_ADDRESS>主题: Re: [PRBonn/lidar-bonnetal] [Errno 2] No such file or directory: '/c\u200b\u200bonfig/arch/darknet21.yaml' (#14)
Were you able to solve this? I am closing this since it does not look like an issue with the framework. Let us know if you need further help
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


[test] Remove use of temporary files in test environment

Remove real temporary files in test environment
Description:
Using real filesystems when running blaze test and creating temporary paths is non-hermetic. I've also seen a number of flakes in end to end fuzzers that extend BaseIntegrationTest and are failing on illegalPath, likely because of a space of other issue accessing the file. Ideally, running test binaries should not create files.
The major use of filepaths is using the bootstrap config path
https://github.com/envoyproxy/envoy/blob/36e05482cc27b4d2b5765fdebcdb5fef16f07d84/test/integration/base_integration_test.cc#L191-L192
but there are also use cases for

File access logs, Tap paths, profile paths
xDS paths
Direct responses

The bootstrap config can be loaded via a string, but not all of the above use-cases have inline string replacements.
Perhaps we can instantiate a virtual filesystem in memory when running in certain modes/for certain tests.
https://github.com/envoyproxy/envoy/blob/main/test/test_common/environment.h
See https://github.com/envoyproxy/envoy/pull/15318

related, https://github.com/envoyproxy/envoy/issues/11121


cleanup: typehinting and import optimization

What's weird is that we had isort in the pyproject configuration, just didn't have it enabled via pre-commit


Server Crash - Me Conduit

Server crash while attempting to place an enderio me conduit to an existing item/power enderio bundle, that was attached to a enderio farming station. Could not restart server without a backup. http://pastebin.com/ts6AVQkg

Game crash also in single player (testing repeatability) , also resulting in world corruption. Same as above, placing Enderio Me conduit onto a bundle of Enderio power/item conduits. http://pastebin.com/index.php?e=1

AE2 rv1 is no longer supported.


[Feature] Fuzzy searching for Queries, Mutations, Types, Arguments

Fuzzy Search
It would be really nice to have some kind of search capability that searches the entire schema on the page, with fuzzy matching. Libraries like Fuse.js already exist for you to plug into the HTML page that we can just use to search the data which is generated.
It would be ideal to search these:

Query names
Mutation names
Type names
Type descriptions
Field names
Input argument names (for mutations)

Is this something that is doable with Spectaql in the future?

partial duplicate of https://github.com/anvilco/spectaql/issues/312

I like this in general. Just need to find the time to implement new features and nice-to-haves. Right now I'm focusing mainly on bugs until I get a bit more free time to devote.


Fix account number splitting in Operations

Fix splitting for currencies with dash, for example 'usdt-erc20'
See: https://github.com/bitzlato/liza/issues/7

👍


Hi ,the result is wrong

I just run python main.py -O0 -O2 -O4 --pbr --guidance "controlnet" --text "A panda is dressed in armor, holding a spear in one hand and a shield in the other, realistic" --workspace panda/pbr --gpus "0" --mesh_path "data/panda_spear_shield.obj"
but the result is this

Hi, I just check this command and find it works well on my machine. Please check following information.

OK I know what happened. There may be some bug with SDXL-1.0. I only test SDXL-0.9 because SDXL-1.0 was not available around 2023/8. Additionally, you can use "export HF_ENDPOINT=https://hf-mirror.com" to download models from huggingface without VPN.

OK I know what happened. There may be some bug with SDXL-1.0. I only test SDXL-0.9 because SDXL-1.0 was not available around 2023/8. Additionally, you can use "export HF_ENDPOINT=https://hf-mirror.com" to download models from huggingface without VPN.

While your result is just like a blue mask, my result is not textureless. I am not sure changing model can solve your problem.

OK I know what happened. There may be some bug with SDXL-1.0. I only test SDXL-0.9 because SDXL-1.0 was not available around 2023/8. Additionally, you can use "export HF_ENDPOINT=https://hf-mirror.com" to download models from huggingface without VPN.

SDXL-1.0 needs at least 7 epochs (2800 steps) to get a resonable texture:

OK I know what happened. There may be some bug with SDXL-1.0. I only test SDXL-0.9 because SDXL-1.0 was not available around 2023/8. Additionally, you can use "export HF_ENDPOINT=https://hf-mirror.com" to download models from huggingface without VPN.

SDXL-1.0 needs at least 7 epochs (2800 steps) to get a resonable texture:
Thanks for the reply, I'll try it out later, one question , why does the tone of these results look a bit strange to you (including the results in the paper)

You mean it's ok to use sdxl 1.0, just need to raise the epochs to more than 7, right?

Hi ,I use the python main.py -O0 -O2 --ref_path "data/panda" --control_type "depth" "shuffle" --control_scale 0.7 0.3 --text "A panda is dressed in armor, holding a spear in one hand and a shield in the other, realistic" --workspace panda/sd_depth_shuffle --gpus "0" --mesh_path "data/panda_spear_shield.obj"

Hi , can't find  "fusing/stable-diffusion-v1-5-controlnet-depth",
I can't get it to download.

Hi，I'm trying to generate a texture with the guidance of dodging multiple images all the time, I see that the provided sample panda generates quite good results, but I use my own images and mesh to generate very poor results, is there any point to pay attention to here?

Hi，I'm trying to generate a texture with the guidance of dodging multiple images all the time, I see that the provided sample panda generates quite good results, but I use my own images and mesh to generate very poor results, is there any point to pay attention to here?

I'm not quite sure what 'guidance of dodging multiple images' refer to. In my experiments, the combination of reference image and SDXL SDS did not work well due to conflict gradients around the boundary of reference image. SD1.5 with reference image is just a implemented function which I did not study much. For failure of soly SDXL SDS, prompt and background have a large influence. For the text prompt, the success rate of all my used prompts is about 60-70% (same quality as the paper and suppl). For the background image, note that the background image used now is 'data/background.png'. I found that solid white background hurts the generation quality, so I have tried many images. I think a suitable background will help a lot.

Hi，I'm trying to generate a texture with the guidance of dodging multiple images all the time, I see that the provided sample panda generates quite good results, but I use my own images and mesh to generate very poor results, is there any point to pay attention to here?

I'm not quite sure what 'guidance of dodging multiple images' refer to. In my experiments, the combination of reference image and SDXL SDS did not work well due to conflict gradients around the boundary of reference image. SD1.5 with reference image is just a implemented function which I did not study much. For failure of solely SDXL SDS, prompt and background have a large influence. For the text prompt, the success rate of all my used prompts is about 60-70% (same quality as the paper and suppl). For the background image, note that the background image used now is 'data/background.png'. I found that solid white background hurts the generation quality, so I have tried many images. I think a suitable background will help a lot.

en ,I use the SD1.5 with reference image now，I mean the results run with your panda samples are ok, but my results with my own samples are very poor, is there a trick to it? There is another problem now it seems that it doesn't support multi-image input, I changed your code to make it support multiple images at the same time but it seems to be buggy

Regarding the issue with background images, I think it would be better to first separate the reference image from the background, then use a uniform background image for all. This way, the effect be better？

toy_terrier.obj.txt

it seems the result is bad

Maybe misalignment exists between reference image and reference camera (the index-0 data? I forget, check nerf/provider.py), which may require some manual efforts. The strange color can be attributed to many factors. model, prompt, even focal range. In fact, I haven't known the effect of shuffle control so far...

Maybe misalignment exists between reference image and reference camera (the index-0 data? I forget, check nerf/provider.py), which may require some manual efforts. The strange color can be attributed to many factors. model, prompt, even focal range. In fact, I haven't known the effect of shuffle control so far...

Since there is a L2 loss between reference image and reference camera, there must be some errors. I also meet strange colors many times, if you don't mind some minor perturbations to the mesh，you can allow mesh changing with a very small learning rate, as shown in the middle of Figure 4 in the paper.

Thanks for reply.  the  reference image and reference camera Alignment is basically impossible with the reality of the task。Is it possible to consider extracting the image's features in the hidden space to do loss。I'm mainly trying to go through an image right to make a guide that generates texture maps related to the image. I don't know if you have any better strategies for improvement

I once considered this, but it was put on one side due to other projects. Using stylization controlnet is my first try. I just check meshy and find they also do not support this function. Good luck.

TextureDreamer: Image-guided Texture Synthesis through Geometry-aware Diffusion
have u read this ,Can the methods in this section be incorporated into your project?

I once considered this, but it was put on one side due to other projects. Using stylization controlnet is my first try. I just check meshy and find they also do not support this function. Good luck.

Yes, currently there are basically no similar products on the market. I tried aligning the reference images absolutely, and it worked well for transferring the textures. Do you think this approach could be applied to 3D facial reconstruction?


Change the default behavior for rewriting wheel names and versions.

All RAPIDS libraries that build wheels have now been migrated away from versioneer and towards the new approach for versioning. In order to avoid any disruptive changes to other repos given the approach of burn down, this PR changes the default value of this parameter rather than removing it outright. That way, once this is merged each library can go through and remove the (now redundant) parameter from their workflows without any breakage, and we can then remove the associated code paths in the workflows in this repo.

Now that we're in burndown for some packages let's push this change to 23.06 to avoid unnecessary breaks.


Implement GitHub Actions support

This addresses #143.
All the CI steps that were in Travis should now work in GitHub actions. The trickiest part was to make 1.9 ans 1.10 work -- Travis CI does some extra steps to workaround GOPATH.
I've also added Go 1.14 and 1.15 just for the sake of CI tests -- they should be working.
I've verified the coverage reports on the coveralls, but I'm not sure how to actually test the badge.

Coverage decreased (-0.8%) to 95.462% when pulling e1dbf1b5801fa84f0bf1d8d3a5fa223eeef1f54c on Morozov-5F:feature/github-actions into dcd80c9e7a95233222373574bcbc0911096dc4c4 on cweill:develop.

@googlebot I signed it!


webLoader loads a previously registered URL only

🐛 Describe the bug
My original code included:
await ragApplication.addLoader(new WebLoader({ urlOrContent: 'https://www.forbes.com/profile/elon-musk' }));

That works fine. But then I then changed to a new URL to ingest:
await ragApplication.addLoader(new WebLoader({ urlOrContent: 'https://platform.openai.com/docs/guides/prompt-engineering' }));

The output I receive is still referencing the old, original WebLoader source: https://www.forbes.com/profile/elon-musk as indicated in the output of running a new prompt:
    ...{
      source: 'https://www.forbes.com/profile/elon-musk',
      loaderId: 'WebLoader_8cf46026cabf9b05394a2658bd1fe890'
    }...

When what should be happening is a new webLoader be instantiated, with a reference to the new URL https://platform.openai.com/docs/guides/prompt-engineering.

Loaders are cumulative. When a query is made, the knowledge from all previously loaded data is searched for what is most relevant to the query (using embeddings and vector databases). This data is sent to the LLM and the source of that data is sent back in the sources array. Adding a new loader does not delete data from other loaders. You can have many several hundreds of loaders. For example, if you were to build an Elon Musk app - you would add multiple sources of data from different web pages and youtube videos about Elon Musk.
If you want to clear all loaded data, then you can invoke the delete methods available within the RagApplication API.

Understood. Thank you for the clarification. However, something is not working correctly: see my code and output below:
const ragApplication = await new RAGApplicationBuilder()
.setModel(new OpenAi({model: "gpt-4o-mini",}))
.setEmbeddingModel(new OpenAiEmbeddings())
.setVectorDb(new PineconeDb({
	projectName: 'medicalinfo',
	namespace: 'ns1',
	indexSpec: {
		serverless: {
			cloud: 'aws',
			environment: 'us-east-1'
		},
	},
}))
.setQueryTemplate("Only include information provided to you, do not make up answers. If the information is not available, state that you do not know.")
.build();

await ragApplication.addLoader(new WebLoader({ urlOrContent: 'https://platform.openai.com/docs/guides/prompt-engineering' }));

const res = await ragApplication.query('How do I write a GPT Prompt?')

The output I receive is:
{
  id: 'f8333958-9e9e-469d-a856-87753184f977',
  timestamp: 2024-11-04T00:20:06.024Z,
  content: 'I do not know.',
  actor: 'AI',
  sources: [
    {
      source: 'https://www.forbes.com/profile/elon-musk',
      loaderId: 'WebLoader_8cf46026cabf9b05394a2658bd1fe890'
    }
  ],
  tokenUse: { inputTokens: 2012, outputTokens: 5 }
}

-Why is it referencing only the source as https://www.forbes.com/profile/elon-musk? Nothing in my query has to do with Elon Musk.
-Why isn't it able to answer my question? How do I write a GPT Prompt? when I provided it a guide via WebLoader?

I just double checked my Pinecone DB and it appears the application has stopped uploading vectors to the DB. This is likely the issue.

I will take a look at it. This should work from the sample code you posted.

So, I took a look at it. This is not an error on the application's end. The URL https://platform.openai.com/docs/guides/prompt-engineering is protected by a CDN that is using some form of TLS fingerprinting to disable programmatic access to the URL. When getting the URL via NodeJs, you get a 403 error. This is not tied to just user agents. The latest version of the app, spoofs the default user agent string of a windows 10 chrome browser.
Getting around TLS fingerprinting and blocking is possible but not easy. I will explore if this needs to be supported in a later version. For now, the application gets a 403 error and skips recording the page. You can see more details on what the application is doing internally by enabling the debug logs.

Thank you for the answer to this question. That makes perfect sense.


How to configure and use sasl?

As the title，thank you very much！

this depends on the sasl mechanism. this might be useful: https://docs.confluent.io/platform/current/kafka/authentication_sasl/index.html

this depends on the sasl mechanism. this might be useful: https://docs.confluent.io/platform/current/kafka/authentication_sasl/index.html

@mhowlett That package seems to discuss JAAS properties, but those are Java-specific, no?

https://github.com/confluentinc/librdkafka/wiki/Using-SASL-with-librdkafka


[Content]: Page call compatibility for destinations

What article on segment.com/docs is affected?
https://segment.com/docs/connections/destinations/methods-compare/
What part(s) of the article would you like to see updated?
Need to update which destinations accept Page calls (currently showing all destinations do not accept them)
Additional information
No response

The issue might be that the first page checks this file (https://github.com/segmentio/segment-docs/blob/develop/src/_data/catalog/destinations.yml) for page_view under methods, but it’s actually just called page.


[Liquidity swaps] Multiple Liquidity Provider support

https://github.com/enyalabs/OMGX_wallet/issues/21

this has been implemented - now in live testing.


The interface for the function magma_get_sgeqrf_nb has changed in MAGMA 2.0

Building cutorch with MAGMA 2.0 gives the following error, due to a change in the magma_get_sgeqrf_nb interface starting in MAGMA 2.0.
/home/vidal/torch/extra/cutorch/lib/THC/THCTensorMathMagma.cu(519): error: too few arguments in function call

1 error detected in the compilation of "/tmp/tmpxft_00001784_00000000-7_THCTensorMathMagma.cpp1.ii".
CMake Error at THC_generated_THCTensorMathMagma.cu.o.cmake:264 (message):
  Error generating file
  /home/vidal/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMathMagma.cu.o

make[2]: *** [lib/THC/CMakeFiles/THC.dir/./THC_generated_THCTensorMathMagma.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [lib/THC/CMakeFiles/THC.dir/all] Error 2
make: *** [all] Error 2

Error: Build error: Failed building.

I have exactly same error info.
Never saw this before.

@vidalalcala @shuzi
fixed now in trunk.


Changed visibility in order to allow reads

In order to build PR

@Yannic WDYT?

I think it should be possible to build the example by depending on the proto_library targets with srcs which are already public and not these targets.
On the other hand, I would think all targets in this is repo would be public. @Yannic would have more context.

Yes, we should use the fine-grained proto_library targets instead

You guys are right. Closing the PR.


RangeError: Maximum call stack size exceeded

Environment data

Language Server version: 2021.8.1
OS and version: macOS 11.4
Python version (& distribution if applicable, e.g. Anaconda): 3.9.6 (venv using poetry)

Issue
I was attempting to rewrite some internal library to change the way it imports Protocol. After rewriting from the style:
try:
    from typing import Protocol
except ImportError:
    from typing_extensions import Protocol  # type: ignore

to this style:
import sys
if sys.version_info >= (3.8):
    from typing import Protocol
else:
    from typing_extensions import Protocol

I got the exception RangeError: Maximum call stack size exceeded from pylance. Unfortunately, the library isn't public, so I haven't found a way to make a reproducable example. Also, since I don't understand what's happening, I'm not sure if this is related to #1671 or not. At least, my stack trace seems to be different.
If it matters; the reason I'm doing the rewrite in the first place is that when using the first approach, VS Code is giving me squigglies all over the place when using Protocol as a base class:

Logs

Expand this to see the logs
[Info  - 5:18:54 PM] Pylance language server 2021.8.1 (pyright abd41b72) starting
[Info  - 5:18:54 PM] Server root directory: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist
[Info  - 5:18:54 PM] No configuration file found.
[Info  - 5:18:54 PM] pyproject.toml file found at /Users/tor/oda/sdxp.
[Info  - 5:18:54 PM] Setting pythonPath for service "sdxp": "/Users/tor/oda/sdxp/.venv/bin/python"
[Info  - 5:18:54 PM] Loading pyproject.toml file at /Users/tor/oda/sdxp/pyproject.toml
[Error - 5:18:54 PM] Pyproject file "/Users/tor/oda/sdxp/pyproject.toml" is missing "[tool.pyright] section.
[Warn  - 5:18:54 PM] stubPath /Users/tor/oda/sdxp/typings is not a valid directory.
[Info  - 5:18:54 PM] Assuming Python version 3.9
[Info  - 5:18:54 PM] Assuming Python platform Darwin
Search paths for /Users/tor/oda/sdxp
  /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib
  /Users/tor/oda/sdxp
  /Users/tor/oda/sdxp/src
  /Users/tor/oda/sdxp/typings
  /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stubs/...
  /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs
<EMAIL_ADDRESS><EMAIL_ADDRESS>  /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages
  /Users/tor/oda/sdxp/src
[Info  - 5:18:54 PM] Searching for source files
[Info  - 5:18:54 PM] Auto-excluding /Users/tor/oda/sdxp/.venv
[Info  - 5:18:54 PM] Found 133 source files
[FG] parsing: /Users/tor/oda/sdxp/src/sdxp/types/_channel.py (30ms)
[FG] parsing: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 1ms] (65ms)
[FG] binding: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/builtins.pyi (30ms)
[FG] binding: /Users/tor/oda/sdxp/src/sdxp/types/_channel.py (0ms)
[Info  - 5:18:54 PM] Background analysis(1) root directory: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist
[Info  - 5:18:54 PM] Background analysis(1) started
Background analysis message: setConfigOptions
Background analysis message: setImportResolver
Background analysis message: ensurePartialStubPackages
Background analysis message: setTrackedFiles
Background analysis message: markAllFilesDirty
Background analysis message: setFileOpened
Background analysis message: setFileOpened
Background analysis message: analyze
[BG(1)] analyzing: /Users/tor/oda/sdxp/src/sdxp/manager/_manager.py ...
[BG(1)]   parsing: /Users/tor/oda/sdxp/src/sdxp/manager/_manager.py (42ms)
[BG(1)]   parsing: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 1ms] (63ms)
[BG(1)]   binding: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/builtins.pyi (29ms)
[BG(1)]   binding: /Users/tor/oda/sdxp/src/sdxp/manager/_manager.py (2ms)
[BG(1)]   checking: /Users/tor/oda/sdxp/src/sdxp/manager/_manager.py ...
[BG(1)]     parsing: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/typing.pyi [fs read 1ms] (23ms)
[BG(1)]     binding: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/typing.pyi (9ms)
[BG(1)]     parsing: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 1ms] (5ms)
[BG(1)]     binding: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (1ms)
[BG(1)]     parsing: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/typing_extensions.pyi [fs read 1ms] (5ms)
[BG(1)]     binding: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/typing_extensions.pyi (1ms)
[BG(1)]     parsing: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/asyncio/__init__.pyi [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/asyncio/__init__.pyi (1ms)
[BG(1)]     parsing: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/dataclasses.pyi [fs read 0ms] (3ms)
[BG(1)]     binding: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/dataclasses.pyi (1ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/structlog/__init__.py [fs read 0ms] (8ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/structlog/__init__.py (1ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/structlog/_config.py [fs read 0ms] (12ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/structlog/_config.py (2ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/structlog/_loggers.py [fs read 1ms] (9ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/structlog/_loggers.py (3ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/structlog/_log_levels.py [fs read 0ms] (5ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/structlog/_log_levels.py (1ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/structlog/types.py [fs read 1ms] (5ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/structlog/types.py (1ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/structlog/dev.py [fs read 0ms] (16ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/structlog/dev.py (3ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/structlog/processors.py [fs read 1ms] (12ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/structlog/processors.py (4ms)
[BG(1)]     parsing: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/sys.pyi [fs read 14ms] (19ms)
[BG(1)]     binding: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/sys.pyi (2ms)
[BG(1)]     parsing: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/abc.pyi [fs read 12ms] (12ms)
[BG(1)]     binding: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/abc.pyi (1ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/src/sdxp/channel/__init__.py [fs read 2ms] (2ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/src/sdxp/channel/__init__.py (1ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/src/sdxp/channel/_base.py [fs read 0ms] (9ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/src/sdxp/channel/_base.py (2ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/src/sdxp/channel/_client.py [fs read 0ms] (2ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/src/sdxp/channel/_client.py (1ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/src/sdxp/contrib/logging.py [fs read 0ms] (0ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/src/sdxp/contrib/logging.py (1ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/src/sdxp/protocol/__init__.py [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/src/sdxp/protocol/__init__.py (0ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/src/sdxp/protocol/_sdxp.py [fs read 0ms] (13ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/src/sdxp/protocol/_sdxp.py (3ms)
[BG(1)]     parsing: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/asyncio/protocols.pyi [fs read 1ms] (3ms)
[BG(1)]     binding: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/asyncio/protocols.pyi (0ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/src/sdxp/manager/_exceptions.py [fs read 1ms] (1ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/src/sdxp/manager/_exceptions.py (0ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/src/sdxp/exceptions.py [fs read 0ms] (0ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/src/sdxp/exceptions.py (0ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/src/sdxp/types/_channel.py (2ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/src/sdxp/types/_channel.py (1ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/src/sdxp/types/_manager.py [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/src/sdxp/types/_manager.py (1ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/src/sdxp/types/_message_codec.py [fs read 1ms] (1ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/src/sdxp/types/_message_codec.py (0ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/src/sdxp/types/_protocol.py [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/src/sdxp/types/_protocol.py (0ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/src/sdxp/types/_telegram.py [fs read 0ms] (9ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/src/sdxp/types/_telegram.py (1ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/pydantic/__init__.py [fs read 1ms] (7ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/pydantic/__init__.py ...
[BG(1)]       parsing: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/pydantic/errors.py [fs read 0ms] (11ms)
[BG(1)]       binding: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/pydantic/errors.py (4ms)
[BG(1)]       parsing: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/pydantic/main.py [fs read 1ms] (18ms)
[BG(1)]       binding: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/pydantic/main.py (9ms)
[BG(1)]       parsing: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/pydantic/networks.py [fs read 0ms] (16ms)
[BG(1)]       binding: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/pydantic/networks.py (4ms)
[BG(1)]       parsing: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/pydantic/tools.py [fs read 0ms] (2ms)
[BG(1)]       binding: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/pydantic/tools.py (1ms)
[BG(1)]       parsing: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/pydantic/types.py [fs read 0ms] (13ms)
[BG(1)]       binding: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/pydantic/types.py (7ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/pydantic/__init__.py (85ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/pydantic/utils.py [fs read 1ms] (10ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/.venv/lib/python3.9/site-packages/pydantic/utils.py (5ms)
[BG(1)]     parsing: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/asyncio/locks.pyi [fs read 0ms] (2ms)
[BG(1)]     binding: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/asyncio/locks.pyi (1ms)
[BG(1)]     parsing: /Users/tor/oda/sdxp/src/sdxp/channel/_enums.py [fs read 0ms] (0ms)
[BG(1)]     binding: /Users/tor/oda/sdxp/src/sdxp/channel/_enums.py (0ms)
[BG(1)]     parsing: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/enum.pyi [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/enum.pyi (3ms)
[BG(1)]     parsing: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/asyncio/transports.pyi [fs read 0ms] (2ms)
[BG(1)]     binding: /Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/asyncio/transports.pyi (1ms)
[Error - 5:18:55 PM] An internal error occurred while type checking file "/Users/tor/oda/sdxp/src/sdxp/manager/_manager.py": RangeError: Maximum call stack size exceeded
    at Object.buildTypeVarMapFromSpecializedClass (/Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/pyright-internal/src/analyzer/typeUtils.ts:1135:17)
    at canAssignClassToProtocol (/Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:20444:36)
    at canAssignClass (/Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:20992:20)
    at canAssignType (/Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:22475:22)
    at partiallySpecializeFunctionForBoundClassOrObject (/Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:24243:18)
    at bindFunctionToClassOrObject (/Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:24107:24)
    at forEach (/Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:20516:63)
    at Map.forEach (<anonymous>)
    at canAssignClassToProtocol (/Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:20446:25)
    at Ii (/Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:20992:20)
[BG(1)]   checking: /Users/tor/oda/sdxp/src/sdxp/manager/_manager.py (828ms)
[BG(1)] analyzing: /Users/tor/oda/sdxp/src/sdxp/manager/_manager.py (965ms)
[Error - 5:18:55 PM] Error performing analysis: RangeError: Maximum call stack size exceeded
    at Object.buildTypeVarMapFromSpecializedClass (/Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/pyright-internal/src/analyzer/typeUtils.ts:1135:17)
    at canAssignClassToProtocol (/Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:20444:36)
    at canAssignClass (/Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:20992:20)
    at canAssignType (/Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:22475:22)
    at partiallySpecializeFunctionForBoundClassOrObject (/Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:24243:18)
    at bindFunctionToClassOrObject (/Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:24107:24)
    at forEach (/Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:20516:63)
    at Map.forEach (<anonymous>)
    at canAssignClassToProtocol (/Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:20446:25)
    at Ii (/Users/tor/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:20992:20)

Thanks for reporting. Based on the stack crawl, I'm pretty sure this is the same bug mentioned in the other issue. It should be fixed in the next release. We typically release a new version of pylance on Wed or Thurs. Please let us know if the problem persists after you get the update.

I'll close this in favor of #1671 for now.

Just came to say that the 2021.8.2 release did indeed fix my issue. Thanks a lot (indeed, you fixed my issue even before I reported it 😛)!


Chore: upgrade deps

rename keywords into categories (because that's what it was used for), and added a new keywords
bump nightly and stable rust versions
run just fmt
remove backends config for wgpu (dep no longer uses that param)

Thanks! I was about to do the same as Eurorust prep.
I think rust must be updated

@maxammann and/or @birkskyum  plz take a look

Finally formatting for let else :)