scene saving/loading

how on earth are you gonna save the Net32's?
handles

can we store a color (you already have radius) component. and on load you create the mats and meshes from the color and radius info?

entity id's stored in the holes... i think will have to go in an EntityHashMap

first file ever saved
(
  resources: {},
  entities: {
    4: (
      components: {
        "quartz::components::Radius": (96.06808),
      },
    ),
    6: (
      components: {
        "quartz::components::Radius": (71.00769),
      },
    ),
    8: (
      components: {
        "quartz::components::Radius": (218.41751),
      },
    ),
    10: (
      components: {
        "quartz::components::Radius": (93.84008),
      },
    ),
  },
)

exactly 421 bytes

figure out the loading error and this is done

fire meet gasoline baby!


Bugfix: Large index.html crashes browser

Describe the bug
My index.html after indexing Firefox history created a ~20MB index.html, and it seems like Firefox crash when opening such a large file. This might not be a bug but I just wanna make sure if this is the normal behavior.
Steps to reproduce
Indexing Firefox browsing history just as in tutorial

Large DOM tend to crash browsers. In the django branch we have a django application with pagination to handle this issue. This will be generally available on version 0.4.x. You can check that branch if you want to give it a try right now (remember to backup your archive before doing so).


Is it possilbe to use where and predicate simultaneously?

I need to implement condition like condition1 AND condition2 OR condition3. Is it possible in aqueduct? The documentation is poor if something more complex than SELECT * FROM table is required... :(

It is possible. All where clauses and all predicate clauses are combined with AND. You could use OR in the predicate itself.


Store to levelDB or any other db system

Is it possible?

It depends :wink:
The index supports being serialized to JSON:
JSON.stringify(idx)

This dumps the entire index as JSON, this is how static site generators provide a pre-build index etc. Beyond that though there is not any support to store aspects of the index in a db system. What exactly is your use case?
Many years ago, the very first versions of lunr were built on top of IndexedDB. The problem was that it was very slow, and hence I changed everything to be in memory.

I would like to store it in a DB that has concurrency support, etc.

just curious as to your use case @fmmsilva? if you want a more traditional database/backend/server architecture you could use elasticsearch or solr?

Yes.. that's what I am doing right now... I was justing looking for some lightweight and simple alternative while I don't finish all the solr installation/configuration/client etc...

Really, lunr is best suited to be run in-process, typically (though not necessarily) in a browser. You could certainly wrap the library in a server using node, but, unless setting up elastic search (or solr) is very complicated and time-consuming, you're better of using those if you need concurrency or more fine grained persistence etc.
I guess an apt analogy would be the difference between SQLite and MySQL, except lunr is not a drop in replacement for either elasticsearch or solr (nor is it as awesome as SQLite).


Lin alg error for 1D data

Hi, I am an undergrad working with Arunesh at LIINC and I ran into an issue running HMM on 1D time series data. Each time series varies in length but we roughly have 50 videos x 30000 frames x 1 "channel". Below is a sample script that replicates this behavior and the error that I get.
It seems that np.linalg.cholesky takes a matrix that is usually square but is not in this case. Is there any way to run a HMM when D=1?
import numpy as np
from ssm.models import HMM

# HMM parameters
K = 5
D = 1
T = 30000

def generate(K, T):
    states_set = np.arange(K)
    states = np.zeros(T)
    x = np.zeros(T)

    # assume uniform initial distribution on states
    states[0] = np.random.choice(states)

    # uniform random transition matrix
    transitions = []
    for state in range(K):
        probabilities = np.random.random_sample((K,))
        probabilities = probabilities / np.sum(probabilities)
        transitions.append(probabilities)
    transitions = np.array(transitions);

    # generate states
    for t in range(1,T):
        prev = int(states[t-1])
        states[t] = np.random.choice(a=states_set,p=transitions[prev])

    # normal emissions distribution
    emissions = []
    for state in range(K):
        emissions.append(np.random.normal)

    for t in range(T):
        curr_state = int(states[t])
        x_t = emissions[curr_state](curr_state, curr_state / 10)
        x[0] = x_t

    return x.reshape(T,1)

# 5 x 30000 x 1
x = []
for _ in range(5):
    x.append(generate(K,T))

# run HMM on data
arhmm = HMM(K, D)
arhmm.fit(x,method="em")

 File "hmm.py", line 50, in <module>
    arhmm.fit(x,method="em")
  File "/home/kevin/microssm/ssm/ssm/util.py", line 109, in wrapper
    return f(self, datas, inputs=inputs, masks=masks, tags=tags, **kwargs)
  File "/home/kevin/microssm/ssm/ssm/core.py", line 369, in fit
    self.initialize(datas, inputs=inputs, masks=masks, tags=tags)
  File "/home/kevin/microssm/ssm/ssm/util.py", line 109, in wrapper
    return f(self, datas, inputs=inputs, masks=masks, tags=tags, **kwargs)
  File "/home/kevin/microssm/ssm/ssm/core.py", line 56, in initialize
    self.observations.initialize(datas, inputs=inputs, masks=masks, tags=tags)
  File "/home/kevin/microssm/ssm/ssm/util.py", line 109, in wrapper
    return f(self, datas, inputs=inputs, masks=masks, tags=tags, **kwargs)
  File "/home/kevin/microssm/ssm/ssm/observations.py", line 105, in initialize
    self._sqrt_Sigmas = np.linalg.cholesky(Sigmas + 1e-8 * np.eye(self.D))
  File "/home/kevin/miniconda/envs/micro-ssm/lib/python3.6/site-packages/autograd/tracer.py", line 48, in f_wrapped
    return f_raw(*args, **kwargs)
  File "/home/kevin/miniconda/envs/micro-ssm/lib/python3.6/site-packages/numpy/linalg/linalg.py", line 730, in cholesky
    _assertNdSquareness(a)
  File "/home/kevin/miniconda/envs/micro-ssm/lib/python3.6/site-packages/numpy/linalg/linalg.py", line 215, in _assertNdSquareness
    raise LinAlgError('Last 2 dimensions of the array must be square')
numpy.linalg.linalg.LinAlgError: Last 2 dimensions of the array must be square

Hi Kevin,
Good catch! There was a bug in the 1d case, but it should be fixed by this commit: https://github.com/slinderman/ssm/commit/226dc523f66fe8b6d54b605e0983420e871546f5
There was also an issue with your code though.  I believe you want something like this:
    for t in range(T):
        curr_state = int(states[t]) + 1
        x[t] = emissions[curr_state](curr_state, curr_state / 10)

With these changes everything works fine for me.  Please keep raising issues if you run into any!
Best,
Scott


揣外語內，有兩個以上文本的外語，這馬正常回傳矣

#86

Coverage remained the same at 96.513% when pulling d7ef3786c8dccfb10cafea7cc4648c2e61d1dd31 on 揣外語會傳兩擺仝款詞條 into 2c8b2cbf754dfdb1709710406818f9b717b1a90b on master.


Build broken?

I tried to do a rebuild but I am not sure that is enough. I have upgraded my macOS version to Sonoma from Ventura.
Is there a way to re-run ./configure if any paths have changed?
I am not really sure If I am the problem (my environment) or if you guys broke something.
/Users/mikaelkonradsson/Documents/git/Thirdparty/ladybird/Userland/Libraries/LibWeb/CSS/StyleValues/EasingStyleValue.cpp:119:42: error: reference to local binding 'x1' declared in enclosing lambda expression
auto x = cubic_bezier_at(x1, x2, t);
^
/Users/mikaelkonradsson/Documents/git/Thirdparty/ladybird/Userland/Libraries/LibWeb/CSS/StyleValues/EasingStyleValue.cpp:125:46: note: in instantiation of function template specialization 'Web::CSS::EasingStyleValue::Function::evaluate_at(double, bool)::(anonymous class)::operator()(const CubicBezier &)::(anonymous class)::operator()' requested here
cached_x_samples.append(solve(0.));
^
/Users/mikaelkonradsson/Documents/git/Thirdparty/ladybird/Userland/Libraries/LibWeb/CSS/StyleValues/EasingStyleValue.cpp:76:26: note: 'x1' declared here
auto const& [x1, y1, x2, y2, cached_x_samples] = bezier;
^
/Users/mikaelkonradsson/Documents/git/Thirdparty/ladybird/Userland/Libraries/LibWeb/CSS/StyleValues/EasingStyleValue.cpp:119:46: error: reference to local binding 'x2' declared in enclosing lambda expression
auto x = cubic_bezier_at(x1, x2, t);
^
/Users/mikaelkonradsson/Documents/git/Thirdparty/ladybird/Userland/Libraries/LibWeb/CSS/StyleValues/EasingStyleValue.cpp:76:34: note: 'x2' declared here
auto const& [x1, y1, x2, y2, cached_x_samples] = bezier;
^
/Users/mikaelkonradsson/Documents/git/Thirdparty/ladybird/Userland/Libraries/LibWeb/CSS/StyleValues/EasingStyleValue.cpp:120:42: error: reference to local binding 'y1' declared in enclosing lambda expression
auto y = cubic_bezier_at(y1, y2, t);
^
/Users/mikaelkonradsson/Documents/git/Thirdparty/ladybird/Userland/Libraries/LibWeb/CSS/StyleValues/EasingStyleValue.cpp:76:30: note: 'y1' declared here
auto const& [x1, y1, x2, y2, cached_x_samples] = bezier;
^
/Users/mikaelkonradsson/Documents/git/Thirdparty/ladybird/Userland/Libraries/LibWeb/CSS/StyleValues/EasingStyleValue.cpp:120:46: error: reference to local binding 'y2' declared in enclosing lambda expression
auto y = cubic_bezier_at(y1, y2, t);
^
/Users/mikaelkonradsson/Documents/git/Thirdparty/ladybird/Userland/Libraries/LibWeb/CSS/StyleValues/EasingStyleValue.cpp:76:38: note: 'y2' declared here
auto const& [x1, y1, x2, y2, cached_x_samples] = bezier;

Duplicate of #186.
There is an open PR with the fix: #203

update: we merged the PR, the issue should disappear if you pull again


Feature - Apple Watch support

Coverage decreased (-0.1%) to 80.917% when pulling f75e8b83988a242fda8cdb418e66781c9df0fb2b on feature-apple-watch-support into 1aa1bae2ae2b2ae5579bea6fadf02a81eb68af87 on master.

@jcampbell05 I'd love your opinion on this, especially the AppEmbedGenerator class I've added 🙂

Coverage decreased (-0.04%) to 81.023% when pulling ef50fe183e476cf18f40ee16aadb4685a7a95b72 on feature-apple-watch-support into 1aa1bae2ae2b2ae5579bea6fadf02a81eb68af87 on master.

Coverage decreased (-0.04%) to 81.023% when pulling ef50fe183e476cf18f40ee16aadb4685a7a95b72 on feature-apple-watch-support into 1aa1bae2ae2b2ae5579bea6fadf02a81eb68af87 on master.

@lyptt  looks like a step forward :) I'll put up an issue or wikipage with my thoughts of the future architecture :)

Coverage increased (+0.4%) to 81.43% when pulling 46a2f03d138d132f784776b46da26ada54220daa on feature-apple-watch-support into 1aa1bae2ae2b2ae5579bea6fadf02a81eb68af87 on master.


Automated integration tests

Create integration tests that spin local blockchain node and tests the whole server against it.
Preferably it should use both ganache and RSK node for this testing.

We can leverage the work done on the pinning service for this issue.

Done in: #315


Server 2022 VM not building

Description
    azure-arm.vhd: Unsuccessful exit code returned by the installation process: -532462766.     azure-arm.vhd: Waiting 10 seconds before retrying. Retries left: 2     azure-arm.vhd: Starting Install Microsoft.DataTools.ReportingServices.vsix...     azure-arm.vhd: Unsuccessful exit code returned by the installation process: -532462766.     azure-arm.vhd: Waiting 10 seconds before retrying. Retries left: 1     azure-arm.vhd: Starting Install Microsoft.DataTools.ReportingServices.vsix...     azure-arm.vhd: Unsuccessful exit code returned by the installation process: -532462766.     azure-arm.vhd: The Microsoft.DataTools.ReportingServices.vsix couldn't be installed after 20 attempts.     azure-arm.vhd: Downloading package from: https://download.microsoft.com/download/c/8/9/c896a7f2-d0fd-45ac-90e6-ff61f67523cb/Microsoft.DataTools.AnalysisServices.vsix to path C:\Users\packer\AppData\Local\Temp\Microsoft.DataTools.AnalysisServices.vsix .     azure-arm.vhd: Package downloaded successfully in 7.19 seconds     azure-arm.vhd: Starting Install Microsoft.DataTools.AnalysisServices.vsix...     azure-arm.vhd: Unsuccessful exit code returned by the installation process: -532462766.     azure-arm.vhd: Waiting 10 seconds before retrying. Retries left: 19     azure-arm.vhd: Starting Install Microsoft.DataTools.AnalysisServices.vsix...     azure-arm.vhd: Unsuccessful exit code returned by the installation process: -532462766.     azure-arm.vhd: Waiting 10 seconds before retrying. Retries left: 18
Platforms affected

[X] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] Windows Server 2019
[X] Windows Server 2022

Image version and build link
Image: ubuntu-22.04
Version: 20230806.1.0
Is it regression?
No
Expected behavior
The VM image should build
Actual behavior
It errors out on several packages
Repro steps
Build a VM via a DevOps pipeline using packer, build on a paid DevOps agent
Will add details later, I'm on mobile
..,...,.

Hey @sander110419!
It's known bug. https://github.com/actions/runner-images/issues/8069
I'll close it as a duplicate.


[W6.1h][T10-B2] Yan Wei Cheng

@Affalen Some comments added. Please close the PR after reading comments.

Ideally the getPrintableString(Printable … printable) method should be used somewhere.


feat: add input prefix for input icons

Added icon prefix type for inputs
Added ability to change input into, this allows for injecting refs from client side code

Looks good @rayyan224


Issue #186 suboptimal ldf cs

The changes made in this issue have been tested by running various options on the HPC but they have not been Unit Tested.
The current situation is that reasonable zooming spectrograms con be obtained using:
ColourMap1 = ACI-ENT-EVN and
ColourMap2 = BGN-PMN-EVN.

Commits 498c4685, 37cf217b, b8b39aab all involve finding a better combinations of indices to render zooming spectrograms. Critical code is at lines 32 40 46 of ZoomCommon.cs.
Can comment these out if the BGN-RHZ combo is thought not to be helpful.

I have fixed the unit tests that were failing for this issue. I have also removed the attempt t combine two indices into a single index matrix. THis is a pull request although I appear not to have that option.


Fibaro FGS221 Double Relay Switch

The FGS221 Double Relay Switch 2x1.5kW (FIBARO System) is detected by Zwave2Mqtt but it is an dual switch and only 1 of the 2 is visible. When I select this device there is only under user 1 switch (2-37-1-0). I thinks there should be also the switch (1-37-1-0). How can I add this extra info to add this switch?

You should check on Openzwave github project the switch xml file configuration of your device
Daniel

On 8 Nov 2019, at 09:33, DyArt<EMAIL_ADDRESS>wrote:

The FGS221 Double Relay Switch 2x1.5kW (FIBARO System) is detected by Zwave2Mqtt but it is an dual switch and only 1 of the 2 is visible. When I select this device there is only under user 1 switch (2-37-1-0). I thinks there should be also the switch (1-37-1-0). How can I add this extra info to add this switch?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Just got it working tot set some API calls to the device and then node actions refresh node and the second relay is now also vissible and working

Perfect, close the issue so :)
Daniel

On 8 Nov 2019, at 14:58, DyArt<EMAIL_ADDRESS>wrote:

Just got it working tot set some API calls to the device and then node actions refresh node and the second relay is now also vissible and working
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

I had the same issue, refresh node action did not work for me, but excluding and including again fixed it for me.


openssl build failed

Additional packages (*) will be modified to complete this operation.
Starting package 1/112: openssl:x86-windows
Building package openssl[core]:x86-windows...
-- CURRENT_INSTALLED_DIR=C:/Sources/vcpkg-master/vcpkg-master/installed/x86-wind
ows
-- DOWNLOADS=C:/Sources/vcpkg-master/vcpkg-master/downloads
-- CURRENT_PACKAGES_DIR=C:/Sources/vcpkg-master/vcpkg-master/packages/openssl_x8
6-windows
-- CURRENT_BUILDTREES_DIR=C:/Sources/vcpkg-master/vcpkg-master/buildtrees/openss
l
-- CURRENT_PORT_DIR=C:/Sources/vcpkg-master/vcpkg-master/ports/openssl/.
-- Downloading https://www.openssl.org/source/openssl-1.0.2o.tar.gz...
-- Downloading https://www.openssl.org/source/openssl-1.0.2o.tar.gz... OK
-- Testing integrity of downloaded file...
-- Testing integrity of downloaded file... OK
-- Extracting done
-- Applying patch C:/Sources/vcpkg-master/vcpkg-master/ports/openssl/ConfigureIn
cludeQuotesFix.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch C:/Sources/vcpkg-master/vcpkg-master/ports/openssl/ConfigureIn
cludeQuotesFix.patch done
-- Applying patch C:/Sources/vcpkg-master/vcpkg-master/ports/openssl/STRINGIFYPa
tch.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch C:/Sources/vcpkg-master/vcpkg-master/ports/openssl/STRINGIFYPa
tch.patch done
-- Applying patch C:/Sources/vcpkg-master/vcpkg-master/ports/openssl/EmbedSymbol
sInStaticLibsZ7.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch C:/Sources/vcpkg-master/vcpkg-master/ports/openssl/EmbedSymbol
sInStaticLibsZ7.patch done
-- Configure x86-windows-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
Command failed: C:/Windows/PERL;Configure;enable-static-engine;enable-capien
g;no-ssl2;-utf-8;VC-WIN32;--prefix=C:/Sources/vcpkg-master/vcpkg-master/packages
/openssl_x86-windows;--openssldir=C:/Sources/vcpkg-master/vcpkg-master/packages/
openssl_x86-windows;-FS
Working Directory: C:/Sources/vcpkg-master/vcpkg-master/buildtrees/openssl/x
86-windows-rel/openssl-1.0.2o
See logs for more information:
Call Stack (most recent call first):
ports/openssl/portfile.cmake:71 (vcpkg_execute_required_process)
scripts/ports.cmake:72 (include)
Error: Building package openssl:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: openssl:x86-windows
Vcpkg version: 0.0.108-unknownhash
Additionally, attach any relevant sections from the log files above.
I have already ran update command.
Could you please help.

Just to add, I am trying to install rest sdk from github and running below command -
vcpkg install cpprestsdk cpprestsdk:x64-windows

Hi @vanarova , thanks for reporting this issue!
Openssl built successfully on the latest version. Plz update and rebuild.
Please open a new issue if this is still a problem for you.
Thx.


1.0.1 docs

part of Pekko HTTP 1.0.1 release

Hi everyone - I'd like to get the docs published for v1.0.1 before announcing the release.


Publish benchmarks to github pages

Deno has this swee:cake::cake::cake:eet page with benchmarks over here: https://deno.land/.
I believe they are published automatically by travis: https://github.com/denoland/deno/blob/904c69c4c654e4b55fd2f46a063dc995cbe00e41/.travis.yml#L93
It would be tool to have something like this set up, though not pressing. Here's a great example for the benchmark: https://github.com/rust-analyzer/rust-analyzer/pull/489#discussion_r246931777
Here's the stuff we might want to measure:

time to compile in release mode
time to parse and validate parser.rs from rusct
time to execute use std::collections::Hash completion

Technically, we should run benchmarking on master branch, as a cron-job.

This is how I imagine this should work:

create an cargo xtask bench xtask.
the task runs following times steps:
** rm target/release && cargo build -p rust-analyzer --release  (bench compile time)
** git clone regex@some-sha (we want to pin some specific non-trivial non-huge benchmark target)
** rust-analyzer goto-definition (bench form scratch goto)
** rust-analyzer highlighiht (bench from scratych highlighitngin)
** rust-analyzer analysis-stats (bench typecheck)
The results should be packaged into a JSON object

{
  "meta": { time: "${date}", sha1: "${git rev-parse HEAD}" , machine: "${OS, CPU, RAM}" },
  "measurements:" { "name": value }
}

the JSON object is formatted into a single line and appended to https://github.com/rust-analyzer/benchmark-data/data.json
the new commit is created against benchmark-data repository

Spearatelly, a /benchmarks  page should be created on https://rust-analyzer.github.io/ to fetch and show this data with JavaScript.


[ie/yle_areena] Fix live events

Fixes extraction of manifests for live events.
IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information

Previously, YLE live events like the pupper stream would fail extraction with the following traceback:
  File "/usr/lib/python3.12/site-packages/yt_dlp/extractor/common.py", line 741, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/yt_dlp/extractor/yle_areena.py", line 118, in _real_extract
    video_data['data']['ongoing_ondemand']['manifest_url'], video_id, 'mp4', m3u8_id='hls')
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
KeyError: 'ongoing_ondemand'

This change fixes it.
Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Fix or improvement to an extractor (Make sure to add/update tests)
[ ] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

could you also add https://areena.yle.fi/1-72251830 as a test?

could you also add https://areena.yle.fi/1-72251830 as a test?

That would make very little sense as that test would break/change behaviour as soon as the stream is no longer live.

You can mark it skip. I just want to have 1 livestream case in there. This is common among all extractors that support livestreams

Sure, made your changes and added a test case, I didn't mark it skip though because all the other tests are also failing anyway so what's another one that'll be broken in a few days time.


无法运行

Unable to load contents of file list: '/Target Support Files/Pods-WeChat-SwiftUI/Pods-WeChat-SwiftUI-frameworks-Debug-input-files.xcfilelist'
执行pod update，提示：
Error
JSON::ParserError - 416: unexpected token at '"src/core/ext/upbdefs-generated/envoy/admin/v3/'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json/common.rb:156:in `parse'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json/common.rb:156:in `parse'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/specification/json.rb:61:in `from_json'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/specification.rb:748:in `from_string'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/specification.rb:722:in `from_file'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/source.rb:188:in `specification'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/specification/set.rb:58:in `block in specification_name'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/specification/set.rb:56:in `each'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/specification/set.rb:56:in `specification_name'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_source.rb:216:in `search'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/source/aggregate.rb:83:in `block in search'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/source/aggregate.rb:83:in `select'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/source/aggregate.rb:83:in `search'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:416:in `create_set_from_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:385:in `find_cached_set'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:360:in `specifications_for_dependency'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:165:in `search_for'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:274:in `block in sort_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:267:in `each'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:267:in `sort_by'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:267:in `sort_by!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:267:in `sort_dependencies'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:60:in `block in sort_dependencies'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:77:in `with_no_such_dependency_error_handling'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:59:in `sort_dependencies'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:754:in `push_state_for_requirements'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:744:in `require_nested_dependencies_for'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:727:in `activate_new_spec'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:684:in `attempt_to_activate'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:254:in `process_topmost_state'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:182:in `resolve'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolver.rb:43:in `resolve'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:94:in `resolve'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:1078:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:1076:in `resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:416:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:241:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:240:in `resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:161:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/command/update.rb:63:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'

――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[!] Oh no, an error occurred.
Search for existing GitHub issues similar to yours:
https://github.com/CocoaPods/CocoaPods/search?q=416%3A+unexpected+token+at+'"src%2Fcore%2Fext%2Fupbdefs-generated%2Fenvoy%2Fadmin%2Fv3%2F'&type=Issues
If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/issues/new
Be sure to first read the contributing guide for details on how to properly submit a ticket:
https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
Don't forget to anonymize any private data!
Looking for related issues on cocoapods/cocoapods...
Found no similar issues. To create a new issue, please visit:
https://github.com/cocoapods/cocoapods/issues/new

我这里没有问题。我的 M1 Max 的设备，把项目 clone 下来，执行 pod update 正常。

我也是一样的问题

我的也是这个问题，有解决的方法吗？

@lyb5834 @TojoyCloudPlatform 我看有挺多人成功运行了这个项目。我自己把项目 clone 下来，执行 pod update 也没问题。是不是你们的电脑环境什么地方有问题？

我也是遇到同样的问题，M2的机子

执行这条命令咯
gem install cocoapods --pre --user

升级cocoapods 适配Xcode13

M1 Max，上面方法都试了 都不行 😂

@echokk11
我的可以啊！
M1 Max Mac Studio
Max OS： 12.6
Xcode：Version 14.0.1 (14A400)
Cocoapods: 1.11.3
步骤：
git clone https://github.com/Lebron1992/WeChat-SwiftUI.git
arch -x86_64 pod install
打开 WeChat-SwiftUI.xcworkspace，等待 Package Dependencies 完成
运行

所有步骤一切正常。

➜  WeChat-SwiftUI git:(main) type intel
intel is an alias for arch -x86_64
➜  WeChat-SwiftUI git:(main) intel pod install
Analyzing dependencies

――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

### Command

/usr/local/bin/pod install

### Report

* What did you do?

* What did you expect to happen?

* What happened instead?

### Stack

CocoaPods : 1.11.3
Ruby : ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.x86_64-darwin22]
RubyGems : <IP_ADDRESS>
Host : macOS 13.0 (22A380)
Xcode : 14.1 (14B47b)
Git : git version 2.37.1 (Apple Git-137.1)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : trunk - CDN - https://cdn.cocoapods.org/

### Plugins

cocoapods-deintegrate : 1.0.5
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.1
cocoapods-trunk       : 1.6.0
cocoapods-try         : 1.2.0

### Podfile

```ruby
platform :ios, "15.0"
use_frameworks!
inhibit_all_warnings!

target 'WeChat-SwiftUI' do
  pod 'Firebase/Core'
  pod 'Firebase/Auth'
  pod 'Firebase/Storage'
  pod 'Firebase/Firestore'
end

target 'WeChat-SwiftUITests' do
  pod 'Firebase/Core'
  pod 'Firebase/Auth'
  pod 'Firebase/Storage'
  pod 'Firebase/Firestore'
end

Error
JSON::ParserError - 416: unexpected token at '"src/core/ext/filters/client_channel/lb_policy/outlier_det'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json/common.rb:156:in `parse'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json/common.rb:156:in `parse'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/specification/json.rb:61:in `from_json'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/specification.rb:748:in `from_string'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/specification.rb:722:in `from_file'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/source.rb:188:in `specification'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/specification/set.rb:58:in `block in specification_name'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/specification/set.rb:56:in `each'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/specification/set.rb:56:in `specification_name'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_source.rb:216:in `search'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/source/aggregate.rb:83:in `block in search'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/source/aggregate.rb:83:in `select'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/source/aggregate.rb:83:in `search'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:416:in `create_set_from_sources'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:385:in `find_cached_set'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:360:in `specifications_for_dependency'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:165:in `search_for'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:274:in `block in sort_dependencies'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:267:in `each'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:267:in `sort_by'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:267:in `sort_by!'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:267:in `sort_dependencies'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:60:in `block in sort_dependencies'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:77:in `with_no_such_dependency_error_handling'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:59:in `sort_dependencies'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:754:in `push_state_for_requirements'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:744:in `require_nested_dependencies_for'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:727:in `activate_new_spec'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:684:in `attempt_to_activate'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:254:in `process_topmost_state'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:182:in `resolve'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolver.rb:43:in `resolve'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:94:in `resolve'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:1078:in `block in resolve_dependencies'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:1076:in `resolve_dependencies'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:416:in `analyze'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:241:in `block in resolve_dependencies'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:240:in `resolve_dependencies'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:161:in `install!'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:52:in `run'
/Users/watchman/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'

――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[!] Oh no, an error occurred.
Search for existing GitHub issues similar to yours:
https://github.com/CocoaPods/CocoaPods/search?q=416%3A+unexpected+token+at+'"src%2Fcore%2Fext%2Ffilters%2Fclient_channel%2Flb_policy%2Foutlier_det'&type=Issues
If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/issues/new
Be sure to first read the contributing guide for details on how to properly submit a ticket:
https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
Don't forget to anonymize any private data!
Looking for related issues on cocoapods/cocoapods...
Found no similar issues. To create a new issue, please visit:
https://github.com/cocoapods/cocoapods/issues/new

I fixed it with
https://github.com/CocoaPods/CocoaPods/issues/9578