SyntaxError('Invalid filter specification

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2022.08.19 (update instructions) or later (specify commit)
[X] I've searched the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
when I try to download the audio [language=portuguese (Brazil)] and it's giving this error.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-v', '--audio-multistreams', '-f', 'bv[height=234]+ba[language=japanese]+ba[language=portuguese (Brazil)]', '-a', '/home/levaculik/Documentos/list/list.txt', '--all-subs', '--embed-subs', '--cookies', '/home/levaculik/Documentos/cookies/funimation.txt', '--no-geo-bypass', '--no-check-certificate', '--external-downloader', 'aria2c']
[debug] Batch file urls: ['https://www.funimation.com/v/overlord/two-venturers']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.08.08 [3157158] (source)
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Git HEAD: df2a5633d
[debug] Python 3.8.10 (CPython 64bit) - Linux-5.4.0-124-generic-x86_64-with-glibc2.29 (glibc 2.31)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, secretstorage-2.3.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
Traceback (most recent call last):
  File "/home/levaculik/tools/yt-dlp/yt_dlp/__main__.py", line 17, in <module>
    yt_dlp.main()
  File "/home/levaculik/tools/yt-dlp/yt_dlp/__init__.py", line 953, in main
    _exit(*variadic(_real_main(argv)))
  File "/home/levaculik/tools/yt-dlp/yt_dlp/__init__.py", line 915, in _real_main
    with YoutubeDL(ydl_opts) as ydl:
  File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 693, in __init__
    else self.build_format_selector(self.params['format']))
  File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2282, in build_format_selector
    return _build_selector_function(parsed_selector)
  File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2149, in _build_selector_function
    fs = [_build_selector_function(s) for s in selector]
  File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2149, in <listcomp>
    fs = [_build_selector_function(s) for s in selector]
  File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2170, in _build_selector_function
    selector_1, selector_2 = map(_build_selector_function, selector.selector)
  File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2149, in _build_selector_function
    fs = [_build_selector_function(s) for s in selector]
  File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2149, in <listcomp>
    fs = [_build_selector_function(s) for s in selector]
  File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2170, in _build_selector_function
    selector_1, selector_2 = map(_build_selector_function, selector.selector)
  File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2149, in _build_selector_function
    fs = [_build_selector_function(s) for s in selector]
  File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2149, in <listcomp>
    fs = [_build_selector_function(s) for s in selector]
  File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2246, in _build_selector_function
    filters = [self._build_format_filter(f) for f in selector.filters]
  File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2246, in <listcomp>
    filters = [self._build_format_filter(f) for f in selector.filters]
  File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 1898, in _build_format_filter
    raise SyntaxError('Invalid filter specification %r' % filter_spec)
SyntaxError: Invalid filter specification 'language=portuguese(Brazil)'

Workaround: Use language^=portuguese

Workaround: Use language^=portuguese

hello pukkandan I tested here and it keeps giving the same error.
[debug] Command-line config: ['-v', '--audio-multistreams', '-f', 'bv+ba[language=japanese]+ba[language^=portuguese (brazil)]', '-a', '/home/levaculik/Documentos/list/list.txt', '--all-subs', '--embed-subs', '--cookies', '/home/levaculik/Documentos/cookies/funimation.txt', '--no-geo-bypass', '--no-check-certificate', '--external-downloader', 'aria2c']
[debug] Batch file urls: ['https://www.discoveryplus.com/br/video/friendzspace-dkids-br/roboos']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.08.08 [3157158] (source)
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Git HEAD: df2a5633d
[debug] Python 3.8.10 (CPython 64bit) - Linux-5.4.0-124-generic-x86_64-with-glibc2.29 (glibc 2.31)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, secretstorage-2.3.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
Traceback (most recent call last):
File "/home/levaculik/tools/yt-dlp/yt_dlp/main.py", line 17, in
yt_dlp.main()
File "/home/levaculik/tools/yt-dlp/yt_dlp/init.py", line 953, in main
_exit(*variadic(_real_main(argv)))
File "/home/levaculik/tools/yt-dlp/yt_dlp/init.py", line 915, in _real_main
with YoutubeDL(ydl_opts) as ydl:
File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 693, in init
else self.build_format_selector(self.params['format']))
File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2282, in build_format_selector
return _build_selector_function(parsed_selector)
File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2149, in _build_selector_function
fs = [_build_selector_function(s) for s in selector]
File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2149, in
fs = [_build_selector_function(s) for s in selector]
File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2170, in _build_selector_function
selector_1, selector_2 = map(_build_selector_function, selector.selector)
File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2149, in _build_selector_function
fs = [_build_selector_function(s) for s in selector]
File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2149, in
fs = [_build_selector_function(s) for s in selector]
File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2170, in _build_selector_function
selector_1, selector_2 = map(_build_selector_function, selector.selector)
File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2149, in _build_selector_function
fs = [_build_selector_function(s) for s in selector]
File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2149, in
fs = [_build_selector_function(s) for s in selector]
File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2246, in _build_selector_function
filters = [self._build_format_filter(f) for f in selector.filters]
File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 2246, in
filters = [self._build_format_filter(f) for f in selector.filters]
File "/home/levaculik/tools/yt-dlp/yt_dlp/YoutubeDL.py", line 1898, in _build_format_filter
raise SyntaxError('Invalid filter specification %r' % filter_spec)
SyntaxError: Invalid filter specification 'language^=portuguese (brazil)'

language^=portuguese, not language^=portuguese (brazil)

language^=portuguese, not language^=portuguese (brazil)

once again thank you very much pukkandan it worked.


wolfram.query(...).catch is not a function

https://sentry.io/airfusion/power-bot/issues/737602684/?query=is:resolved
should be fixed. Make sure that problem is not there.

fixed


Multiple HAL improvements

Implement the following improvements:

Add Poly to HAL
Remove traces of HEXL from the main openfhe repository
Optimize FHEW/TFHE bootstrapping for the Intel HEXL backend

Addresses the first two. The 3 item (FHEW/TFHE bootstrapping) will be done separately.


avoid using Selenium 3* transitive dependencies

Maven prefers an older "selenium-api-3*.jar" instead of a newer "selenium-api-4*.jar" because it's located "higher" in a dependency tree (because it's a transitive dependency of browserup proxy, allure etc.).
This commit is a workaround against this wrong Maven behaviour.

I am still experiencing this issue...selenium 3 dependencies are being imported, even in version 6.0.3. Any information on this?

@egraumann Please run mvn dependency:tree or gradle dependencies, and you will see the reason.


[Snyk] Fix for 4 vulnerabilities

Snyk has created this PR to fix 4 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):

infrastructure/internal-api/code/package.json
infrastructure/internal-api/code/package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Asymmetric Resource Consumption (Amplification) SNYK-JS-BODYPARSER-7926860
  696

Cross-site Scripting SNYK-JS-EXPRESS-7926867
  541

Cross-site Scripting SNYK-JS-SEND-7926862
  391

Cross-site Scripting SNYK-JS-SERVESTATIC-7926865
  391

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Cross-site Scripting

Checkmarx One – Scan Summary & Details – 86ad4f6a-7e81-49f6-be10-80015602784f
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

CVE-2024-45296
Npm-path-to-regexp-2.2.1
Vulnerable Package

CVE-2024-45296
Npm-path-to-regexp-1.8.0
Vulnerable Package

CVE-2024-45296
Npm-path-to-regexp-0.1.7
Vulnerable Package

CVE-2024-45590
Npm-body-parser-1.20.0
Vulnerable Package

CVE-2024-43788
Npm-webpack-5.74.0
Vulnerable Package

Fixed Issues

Severity
Issue
Source File / Package

CVE-2022-24999
Npm-qs-6.7.0

Cx14b19a02-387a
Npm-body-parser-1.19.0


working kudu with container and instance

contains:

bug fix for profiling (now, we profile by the current day partition)
kudu/hive will emit containers and platformInstance aspects.

tested internally.

since this PR is dependent on the previous PR (migrate), i merged the other branch into this one to pass the tests

handled by another PR


Adding a debug mode to niet

This debug mode can be activated at runtime to execute niet step by step.
The niet debug mode is based on python pdb.

Fast approved


setState() or markNeedsBuild()

══╡ EXCEPTION CAUGHT BY FOUNDATION LIBRARY ╞════════════════════════════════════════════════════════
The following assertion was thrown while dispatching notifications for DrawerControllerStateCustom:
setState() or markNeedsBuild() called during build.
This _InheritedProviderScope<DrawerControllerStateCustom?> widget cannot be marked as needing to
build because the framework is already in the process of building widgets. A widget can be marked as
needing to be built during the build phase only if one of its ancestors is currently building. This
exception is allowed because the framework builds parent widgets before children, which means a
dirty descendant will always be built. Otherwise, the framework might not visit this widget during
this build phase.
The widget on which setState() or markNeedsBuild() was called was:
_InheritedProviderScope<DrawerControllerStateCustom?>
The widget which was currently being built when the offending call was made was:
Consumer

   WidgetsBinding.instance.addPostFrameCallback((timeStamp) {
          model.setDrawerStatus();
        });

paste this code in SidebarDrawer widget line 38


Add tools to add data points to current selection

What problem does this feature solve?
Currently I have only found tools for the brush event, but the brush events comes with some limitations if you want to have interactivity between different views.
In our use case for example we want to be able to select entries in a table and these entries should show up as selected in the scatter plot. This direction is easily possible by dispatching a 'select' event. But I did not find a good solution for the other way round. It would be amazing if I could have tools like a rectangular selection and/or a polygone selection to add these points to the existing selection.
What does the proposed API look like?
It would be great to have tools in the toolbar that helps a user to select multiple points/bars in the charts and dispatch a selectchanged event.

Hey Ovilia,
sorry for the late response. The last weeks have been busy for me.
Of course I can create a PR, but I would need a little help/ or pointer in where to find the corresponding code pieces.


incompatible mod version! Local: 0.4.1, remote: 0.3.1 content warning

I forgot to deploy the version bump to the server, already fixed.
It should not have affected gameplay, new API was already available on the server.


Why divide by temp when calculating cosine similarity

`class Similarity(nn.Module):
"""
Dot product or cosine similarity
"""
def __init__(self, temp):
    super().__init__()
    self.temp = temp
    self.cos = nn.CosineSimilarity(dim=-1)

def forward(self, x, y):
    return self.cos(x, y) / self.temp`

Hi, please check our paper for details. Temperature is one of our hyperparameters and we use it to adjust how "sharp" the distribution is.


Provide documentation for running BookKeeper auto-recovery

While BookKeeper auto-recovery has already been incorporated into the Pulsar setup for DC/OS and Kubernetes. We need to provide instructions for bare metal deployments as well.

For auto-recovery, the main documentation is already in the BK side: http://bookkeeper.apache.org/docs/latest/admin/autorecovery/
We just need to mention, in our bare metal documentation, that auto-recovery can be either run as a separate component, or by enabling a flag to run the replication worker along with the bookies.

@merlimat Yep! Should be pretty easy 👍

easy too!

@lucperkins are you working on this?


Restore Payara tests

What does this PR do?
restores the PayaraIT test - wait for testing to succeed

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2021-12-24T12:13:32.285+0000

Duration: 69 min 39 sec

Commit: dda7c15d78ed73e481ed29e72c1ac642d0b84fb3

Test stats :test_tube:

Test
Results

Failed
0

Passed
2639

Skipped
21

Total
2660

:green_heart: Flaky test report
Tests succeeded.
:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run benchmark tests : Run the benchmark test.

run compatibility tests : Run the JDK Compatibility test.

run integration tests : Run the APM-ITs.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)


iron integration does not compile

I followed the instructions found on https://maud.lambda.xyz/web_frameworks.html to integrate with iron.
And this was working until I updated my dependencies.
Now I have the following compilation error:
error[E0277]: the trait bound `maud::PreEscaped<std::string::String>: iron::modifier::Modifier<iron::Response>` is not satisfied
  --> src/main.rs:88:12
   |
88 |         Ok(Response::with((status::Ok, markup)))
   |            ^^^^^^^^^^^^^^ the trait `iron::modifier::Modifier<iron::Response>` is not implemented for `maud::PreEscaped<std::string::String>`
   |
   = help: the following implementations were found:
             <maud::PreEscaped<std::string::String> as iron::modifier::Modifier<iron::response::Response>>
   = note: required because of the requirements on the impl of `iron::modifier::Modifier<iron::Response>` for `(iron::status::StatusCode, maud::PreEscaped<std::string::String>)`
   = note: required by `iron::Response::with`

error: aborting due to previous error

I use hyper v0.10.5
Any hint?

show your Cargo.toml

https://github.com/yanns/zeugnis/blob/master/Cargo.toml

@yanns problem is that maud added support for iron for 0.5.x version if I am not mistaken, anyway this will solve your problem
λ ow master /tmp/zeugnis
$ g diff
diff --git a/Cargo.toml b/Cargo.toml
index b3a9e23..5783b45 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,7 +4,7 @@ version = "0.1.0"
 authors = ["Yann Simon<EMAIL_ADDRESS>
 [dependencies]
-iron = "0.4.0"
+iron = "0.5.1"
 maud = { version = "*", features = ["iron"] }
 maud_macros = "*"

Thx for the hint!
(I don't know why it was working before..)

@yanns if documentation is outdated or missing extra step please feel free to update it

@ernestas-poskus is pretty much correct here. Maud depends on Iron 0.5.* only, so if your app uses 0.4 then the compiler will report that they are incompatible.
See also rust-lang/rust#22750 and rust-lang/cargo#2064 and this article.

I understand all your points.
But I still do not understand why is has worked before.
Maybe previous cargo versions have picked the transitive dependency instead of the one found in cargo.toml.

I am trying to propose a change for the documentation, but I don't get how gitbook is working... too dumb...


[FEAT] Debug logging and NVTX annotations

thanks @awennersteen , have you tested it in conjunction with qadence?


Add jwforres as a maintainer of the architecture-decision-records repo

Description

New Open Data Hub Member Requirements

[x] New members have reviewed and acknowledged the Open Data Hub:

Code of Conduct
Contribution Guide
Community Membership Guidelines

[ ] Enabled 2FA on their GitHub account

Pull Request Requirements

[x] New members are added in alphabetical order
[x] Only one new member change per commit (if you add two members separate it in two commits
[ ] For individual user changes: Commit message format Add <USERNAME> to <opendatahub-io, mlops-sig, ...>.
[ ] For new team requests: Commit message format Create <TEAMNAME>. If the new team consists solely of existing members, you may
[ ] New GitHub team requests are from an existing opendatahub-io member who will function as the maintainer of the team. Each additional member will follow the same requirements for adding new members

/assign @LaVLaS
/cc @jwforres

/approve

Closing this in favor of #154 where I duped the PR


[#5162] Add grant and revoke privileges to the Gravitino CLI.

What changes were proposed in this pull request?
Add grant and revoke privileges to the Gravitino CLI.
Why are the changes needed?
To complete the role commands.
Fix: #5162
Does this PR introduce any user-facing change?
No but it adds two more commands.
How was this patch tested?
Tested locally.

@shaofengshi ready to review when the CI is done.

Sorry I accidentally closed this.

I've changed the command to use the role entity.

Justin, thanks for making the update, the new command style is better for understanding I think. After I merge another PR, now it has a conflict, please resolve so that the merge can be continued. Thank you for the effort!

@shaofengshi once CI is done it's ready for review


HOCS-2027: Add empty check when getting admin case types.

Can we add a test to catch whatever caused the build to silently break?


[New]: Add  option to enable warnings for out of order unassigned imports

fixes #1639
This seems like a pretty simple solution, but does have one weird side effect: The behavior of the newline option changes slightly, in that it can now remove newlines between groups correctly when there are unassigned imports.  This is only the case when the new option is enabled.  Updating this to make that behavior consistent (always allow new-line changes around unassigned imports) would be safe, and easy to implement, but is a breaking change, so leaving it as is seems better.
cc @Alphy11  @ljharb

@ljharb would having a configurable whitelist of extensions that are safe to autofix as unassigned imports be acceptable?  I know that side effects are generally not safe to re-order, but specifically for styles, there are use cases, where either ordering them can be known to be safe for a specific application.

Specifically, css files are often safe to reorder (not always, but in many applications).  Plus opting-in makes it a much safer operation.

Coverage decreased (-1.4%) to 69.628% when pulling d93eb29f34c8f5a2b559fde5e7861d5a7f9a4244 on hayes:mh--unassigned-imports into f2db74a347a030c15a387826500cdc98203eac1e on benmosher:master.

@hayes let's explore that in a future issue.


Ability to set sensitive attribute.

It would be nice to be able to specify sensitive attribute with apt_repository so that it will be handed down to the underlying file resource. Sometimes you need to add user and password when having to setup a vendor repository that used simple HTTP authentication. Hiding these would be a splendid feature to have.
Let me know @thommay, if you fancy a pull request for this.

:+1: would love one!

@thommay OK :)

@thommay assign me to this issue, so I can track it, if you don't mind.

@kwilczynski irritatingly I can't, unless you're happy to have commit bits on here?

@thommay what if you add me to opscode-cookbooks? I hope there isn't a cliche around this - in the end, I am ex-Chef :) Let me know.

@thommay closed in #160. Sorry for the delay!

@kwilczynski no problemo, thanks much!

@thommay there will be another Pull Request to update documentation.


Add Word "Peristeronic"

Add all the definitions of Peristeronic in a file named Peristeronic.json in folder P
Refer CONTRIBUTING.md for more details on how to contribute.
Comment the words you'll be adding if you're are working on this issue to avoid conflicts.
Add reference to this issue i.e Issue # in your pull request description.

Ok, @GAUTAMIVH I will be creating the Peristeronic.json file in folder p.
Please assign it to me if you can.

I have made a PR that adds the Peristeronic JSON file with its meaning within it.


TreeBuilded constructor with no parameters broke up composer

Hello,
In Symfony 5, let's do this:
composer require youshido/graphql-bundle
composer remove youshido/graphql-bundle
composer require youshido/graphql-bundle
And you get this error:
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 255
!!  ArgumentCountError {#4094
!!    #message: "Too few arguments to function Symfony\Component\Config\Definition\Builder\TreeBuilder::__construct(), 0 passed in C:...\vendor\youshido\graphql-bundle\DependencyInjection\Configuration.php on line 21 and at least 1 expected"
!!    #code: 0
!!    #file: "C:...\vendor\symfony\config\Definition\Builder\TreeBuilder.php"
!!    #line: 26
!!    trace: {
Code:
class Configuration implements ConfigurationInterface
{
/**
* {@inheritdoc}
*/
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$rootNode    = $treeBuilder->root('graphql');
    $rootNode
        ->children()

......

Ok, there's a pull request pending related to this. Sorry.


Changes of this fork?

Good morning Shinsumicco,
thank you for sharing this code.
I was wondering what are the main differences of your fork with respect to the original socket-io repository. It is not clear from the README, it seems to me that you removed the boost dependencies. Are there any other differences?
Thank you in advance.
Alessandro

@alessandroTorresani
I've applied the following changes:

Remove boost dependencies
Use the newer versions of submodules
Refactor CMake scripts in order to build the lib on Windows environments

Any other questions?

Everything clear, thank you very much.
I found this repository thanks to OPEN-V-SLAM, I think it's a very nice idea to use a web visualization to display the SLAM output. Great job!


fix: 添加缓存镜像失败日志

这个 PR 实现什么功能/修复什么问题:
添加缓存镜像失败日志
是否需要 backport 到之前的 release 分支:

release/2.13

/area region
/cc @swordqiu

Codecov Report

Merging #4180 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #4180      +/-   ##
=========================================
- Coverage    6.87%   6.87%   -0.01%
=========================================
  Files         519     519
  Lines       87571   87571
=========================================
- Hits         6023    6021       -2
- Misses      81051   81052       +1
- Partials      497     498       +1

Flag
Coverage Δ

#aFlag
6.87% <ø> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/cloudcommon/db/lockman/fifo.go
80% <0%> (-10%)
:arrow_down:

Continue to review full report at Codecov.

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

/lgtm

/approve

/approve


Undocumented behavior on failure

This comment https://github.com/microsoft/azure-pipelines-tasks/issues/10125#issuecomment-484014918 is very interesting because out of the box, I was expecting a multiline command line task to stop the pipeline if one of the command fails.
A user presented a possible solution for you to implement
https://github.com/microsoft/azure-pipelines-tasks/issues/10125#issuecomment-484167634
Or you can just update the doc on the same model as the call command for the Windows CMD

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

ID: a79d17fd-6e65-d8f0-ea05-f62d68456474
Version Independent ID: 3f7338a7-aae7-b6b6-3291-5c985c6fa6f3
Content: Command Line task - Azure Pipelines
Content Source: docs/pipelines/tasks/utility/command-line.md
Product: devops
Technology: devops-cicd-tasks
GitHub Login: @vtbassmatt
Microsoft Alias: macoope

@sylfabre  Thank you for the feedback.
This issue was previously reported under https://github.com/MicrosoftDocs/azure-devops-docs/issues/3265.  Please refer there for further updates.


assertions related to entries on AbstractMapAssert should support java.util.Map.Entry as arguments

Hi,
It seems to me that AbstractMapAssert would be more flexible if AbstractMapAssert.contains (and other assertions related to MapEntry) were taking java.util.Map.Entry as arguments instead of MapEntry.
For backward compatibility MapEntry would need to implement java.util.Map.Entry interface.
What do you think?

@joel-costigliola Do you think this is a beneficial addition/change? (Looks easy, maybe I could come up with a pull request.)

I have tried to use java.util.Map.Entry instead of MapEntry few years ago while working on Fest assert but failed for a reason I can't remember, it is worth give it another try with backward compatibility in mind as @sarod mentioned.

Thanks. I give it a try. Even if I fail I will learn useful things about assertj. :)

:+1:

Thanks Pascal.


Rename 'Routes' to 'Payments'

Fixes https://github.com/gratipay/gratipay.com/issues/3906.
Intentionally kept this simple - I've only modified the left-nav text, the route URL (/~user/routes) and headings ('Payment Routes') are untouched.
After:

Before:

The year I graduated from high school. :)

👍
!m @rohitpaulk 💃


Gradient of SO3.log() gives NaN when w=0

Hello, thank you very much for this amazing library.
I found that there is an NaN issue occurred in line 381 when calculating the gradient of SO3.log().
https://github.com/brentyi/jaxlie/blob/ad93513b96e8e852af7862ee3c1e96a0d1dfd552/jaxlie/_so3.py#L379-L387
The following is a small example to cause NaN:
a = jnp.array([jnp.pi, 0, 0], dtype=jnp.float32)
def func(x):
  return SO3.exp(x).log().sum()
print(jax.grad(func)(a))  # ===> [nan nan nan]

I think the reason might be that  jnp.where actually does not block any unsafe gradients (e.g. x/0) as described in the official FAQ. And this also appears in line 381 when the rotation angle approaches pi and -pi, the w in line 381 will be 0 and thus cause the bad gradient. To fix this issue, I suggest adding a safe_w=1.0 if use_taylor is False before calculating the atan_factor:
safe_w = jnp.where(use_taylor, w, 1.0)
atan_factor = jnp.where(
    use_taylor,
    2.0 / safe_w - 2.0 / 3.0 * norm_sq / safe_w**3,
    jnp.where(
        jnp.abs(w) < get_epsilon(w.dtype),
        jnp.where(w > 0, 1.0, -1.0) * jnp.pi / norm_safe,
        2.0 * atan_n_over_w / norm_safe,
    ),
)

Thanks!
Yeah, that looks like a clear oversight on my end. If you make a PR I'd be happy to merge it, otherwise I can make the fix+add to tests later this week.

@brentyi
I have opened a PR for it. Thank you.


add podLabels

Description of the change

Add podLabels, similar to podAnnotations
Benefits

Allow users to set pod labels
Possible drawbacks

NA
Applicable issues

fixes NA

Additional information

Checklist

[x] Chart version bumped in Chart.yaml according to semver.

@bjw-s - likely you want to keep this for after the v3 refactor

@angelnu you could merge this into the common-next branch.

Did not notice I had merge rights to that branch - thanks @onedr0p


Added esp32/m5stick_cplus device

because of PR for supporting esp32/m5stick_cplus device was merged. https://github.com/Moddable-OpenSource/moddable/pull/947

Thank you!


Cosmetic updates

Visualization

[x] In figures of implausibilities + cutoff, highlight the MLE variant in figure
[ ] Visualize distribution of weighted residuals vs ansatz distribution
[ ] Look at 2D constraints

Code organization

[ ] Make all scaling of implausibility metric + boostrap or simulated noise model consistent with write up
[ ] Check consistency of alpha vs confidence level naming conventions

@vasanchez16, just noting some subtle points on plotting and naming throughout


Users have outdated version of WATT due to browser cache

Many users are stuck with the old WATT version (sometimes without a working schedule) due to browser caching, which is clearly unideal.
This may also be a problem with future changes, as it might hinder deployment.
I suggest triggering a force refresh or something of the sort when WATT detects it is out of date, probably by checking a firestore field, which should be unaffected by browser caching.

I don't think firestore is necessary for this. See https://github.com/dfabulich/service-worker-refresh-sample/blob/master/index.html for an example of service worker refreshing; I think you can see whether new changes are available through event listeners on navigator.serviceWorker. IMO I still think an alert telling users to refresh would be better than having it refresh automatically, but both seem doable.

IMO I still think an alert telling users to refresh would be better than having it refresh automatically, but both seem doable.

This would require a force refresh. Would you attempt to describe to the user how to force refresh, or would you have a button that force refreshed on click?

IMO I still think an alert telling users to refresh would be better than having it refresh automatically, but both seem doable.

This would require a force refresh. Would you attempt to describe to the user how to force refresh, or would you have a button that force refreshed on click?

It wouldn't; you'd just need to close the tab (redirecting out of scope seems to work) and then return back

So would the user have to do that, or would this happen automatically on click?

Maybe you can do it automatically (w/o user consent 😳) if the user hasn't interacted with the web page yet, and if the user has, then show the message and do the fancy redirection on clicking "update" perhaps


Update CHANGELOG.md for 0.9.0 release

Releasing it today so that there's more time for carton release.


Feature implement django simple history

Implement django-simple-history to track historically on which shipments and when the device has been used
Added endpoint /api/v1/device-history/{device_id}/ which returns a queryable / filterable list of HistoricalShipment models, almost identical to Shipment with a few additional fields.
Added tests

@ClovisDj can you please rebase this PR? Be mindful of the shipment migration numbering


Working for Teensy 3.6

I wanted to know if you considered using the Teensy 3.6 for the project. I love what you did and I'd like to do it with the CM1 sensors from triad and the 3.6 so I can have 6DOF tracking.

Also wondering of a Teensy-LC will work trying to see how low cost I can make this build.

It does work on the Teensy 3.6 with a few modifications. There is already a (closed) issue on the topic
https://github.com/ashtuchkin/vive-diy-position-sensor/issues/14


Map MouseMove converted in PointerMoved is not working

Hi,
the Here map conversioni of MouseMove into PointerMoved is not working, the event in WP8 fires when you move the map but in UWP it doesn't fire when expected.
Maybe should it be converted into something else? I have not found something similar so far btw

Hi,
Thanks  for your report!.
Just to confirm ,are you trying to convert from Microsoft.Phone.Maps.Controls.Map to Windows.UI.Xaml.Controls.Maps.MapControl?
If so, as you said it seems that in the current version the Pointer events are not being raised for MapControl. It seems that the closest way to detect movement inside the map control is to subscribe to the CenterChanged event.
We will leave the issue open until we find a better conversion for Windows.UI.Xaml.Controls.Maps.MapControl.MouseMoved.

Yes the namespaces are correct.
The problem is CenterChanged is fired dozens of time even if the center of the map is changed due to a new gps location and not only due to a user interaction.
I will check further if you find some news
Many thanks


ReadVarBytes problem possible lnd service issue?

when the wallet locks thats most likely that the lnd shutdown (due to an error) and the systemd restarted the lnd service - know needed a wallet unlock again.
The loogs above show the error for shutdown is this "2019-01-15 07:37:08.991 [ERR] SRVR: unable to create server: can't create router: ReadVarBytes: sig is larger than the max allowed size [count 183, max 80]"
@fluidvoice did you git any feedback on this error from the LND slack why this is still an error or if the merge seen at the end of the thread is to fix this with the next LND release?
lightningnetwork/lnd#2016

Some interesting observations of this problem still is happening might give a clue to the problem.  Reboot, and the system came up with the problem.
Notice this... "--externalip=${publicIP}"

*** LND SYSTEMD STATUS ***
● lnd.service - LND Lightning Daemon
Loaded: loaded (/etc/systemd/system/lnd.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sun 2019-01-20 01:59:47 PST; 46s ago
Process: 4001 ExecStart=/usr/local/bin/lnd --externalip=${publicIP} (code=exited, status=1/FAILURE)
Main PID: 4001 (code=exited, status=1/FAILURE)

Then stopped and restarted lnd with  sudo systemctl start lnd.service
And it shows "--externalip=" and the problem persists...

*** LND SYSTEMD STATUS ***
● lnd.service - LND Lightning Daemon
Loaded: loaded (/etc/systemd/system/lnd.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2019-01-20 02:01:12 PST; 2min 12s ago
Main PID: 5057 (lnd)
CGroup: /system.slice/lnd.service
└─5057 /usr/local/bin/lnd --externalip=

Then I stop and restart lnd again but using the pi user
and it comes up with "--externalip=<IP_ADDRESS>" and now lnd comes up without the error.

admin@thundahub:~ $ sudo -u bitcoin systemctl start lnd.service
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to start 'lnd.service'.
Multiple identities can be used for authentication:

,,, (pi)
root
Choose identity to authenticate as (1-2): 1
Password:
==== AUTHENTICATION COMPLETE ===
admin@thundahub:~ $ sudo -u bitcoin systemctl status lnd.service
● lnd.service - LND Lightning Daemon
Loaded: loaded (/etc/systemd/system/lnd.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2019-01-20 02:29:58 PST; 5s ago
Main PID: 2618 (lnd)
CGroup: /system.slice/lnd.service
└─2618 /usr/local/bin/lnd --externalip=<IP_ADDRESS>
admin@thundahub:~ $ lncli unlock
Input wallet password:

lnd successfully unlocked!

Originally posted by @fluidvoice in https://github.com/rootzoll/raspiblitz/issue_comments#issuecomment-455855309

seems that this problem got fixed. no further reports on that since v1.0 release.
recommend this issue for close


Can't import Bestiary - Violet Fungus

Can't import statblock:
Violet Fungus      CR 3
XP 800
Male violet fungus (Pathfinder RPG Bestiary 274)
N Medium plant
Init -1; Senses low-light vision; Perception +0
Defense
AC 15, touch 9, flat-footed 15 (-1 Dex, +6 natural)
hp 30 (4d8+12)
Fort +7, Ref +0, Will +1
Immune plant traits
Offense
Speed 10 ft.
Melee 4 tentacles +4 (1d4+1)
Space 5 ft.; Reach 10 ft.
Statistics
Str 12, Dex 8, Con 16, Int —, Wis 11, Cha 9
Base Atk +3; CMB +4; CMD 13
Skills Acrobatics -1 (-9 to jump)
SQ rot
Ecology
Environment any underground
Organization solitary, pair, or grove (3-12)
Treasure incidental
Special Abilities
Immunity to Mind-Affecting effects You are immune to Mind-Affecting effects.
Immunity to Paralysis You are immune to paralysis.
Immunity to Poison You are immune to poison.
Immunity to Polymorph You are immune to Polymorph effects.

Immunity to Stunning You are immune to being stunned.
Low-Light Vision See twice as far as a human in dim light, distinguishing color and detail.
Plant Traits Plants have many immunities.
Rot (DC 15) (Ex) A creature struck by a violet fungus's tentacle must succeed on a DC 15 Fortitude save or the flesh around the point of contact swiftly begins to rot away, exposing raw bone with shocking swiftness. This hideous affliction causes 1d4 points of Streng

I got this statblock from Hero Lab.  You might benefit from retesting with aonprd.com.  Sometimes Hero Lab truncates some of the descriptions.
I used the latest Pathfinder system and your latest module to test this.


Fix integration with SonarCloud

SonarCloud still thinks we're using Maven, so we need to update this. Recent commits are not showing

##[warning]No analyses found in this build! Please check your build configuration.

See https://dev.azure.com/project-books/Books API/_build/results?buildId=285&view=logs&j=12f1170f-54f2-53f3-20dd-22fc7dff55f9&t=1cb08783-77e7-5a05-0940-a31d200b4421&l=9

This is now fixed and configured to work with GitHub actions


feat: integrate LNbits payment processor

We added LNbits as payment processor option next to Zebedee
Related Issue
Closes #163
Motivation and Context
We did not want to use Zebedee
How Has This Been Tested?
Works just fine locally. We are going to deploy this on our relay and see if it is stable
Types of changes

[ ] Non-functional change (docs, style, minor refactor)
[ ] 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] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my code changes.
[ ] All new and existing tests passed.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

45 of 155 (29.03%)  changed or added relevant lines in 15 files are covered.
4 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-1.0%) to 58.03%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/factories/maintenance-worker-factory.ts
0
1
0.0%

src/factories/payments-service-factory.ts
0
1
0.0%

src/factories/post-invoice-controller-factory.ts
0
1
0.0%

src/routes/invoices/index.ts
5
6
83.33%

src/factories/zebedee-callback-controller-factory.ts
0
2
0.0%

src/controllers/callbacks/lnbits-callback-controller.ts
4
7
57.14%

src/controllers/callbacks/zebedee-callback-controller.ts
2
5
40.0%

src/handlers/request-handlers/post-lnbits-callback-request-handler.ts
2
6
33.33%

src/utils/transform.ts
2
6
33.33%

src/routes/callbacks/index.ts
3
10
30.0%

Files with Coverage Reduction
New Missed Lines
%

src/factories/maintenance-worker-factory.ts
1
0%

src/factories/payments-processor-factory.ts
3
31.43%

Totals

Change from base Build<PHONE_NUMBER>:
-1.0%

Covered Lines:
1210

Relevant Lines:
2061

💛  - Coveralls

@Cameri @antonleviathan are you guys going to merge this PR or #194? If it's #194, I will just close this one and not bother implementing the changes requested in the review

@Cameri @antonleviathan are you guys going to merge this PR or #194? If it's #194, I will just close this one and not bother implementing the changes requested in the review

Looks like #194 is closer to the finish line. Do you mind reviewing it? I'm planning on merging soon.

Closing here in favor of #194


SATA

SATA Is it done?  I think so.
Does it work?  I think so.
Who will test it?

I looked at my email history.
5/23 I emailed Ron & Rishi & said that SATA was done and on \A1 and ready to be tested.
5/29 In an email I asked Ron what he was referring to when he said he had some ideas for changes to SATA the previous week.  I don’t think he ever got back to me about that.
It looks like SATA was done and ready for testing and maybe Ron had some tweaks to be made.


OMZ validation

I have results for validating the extent of the oxygen minimum zone (OMZ) for several models.
I plan to include the following plots:

Maps of the lateral extent of the OMZ like this

Historical (optionally extended to some forcing scenario) time series of total OMZ volume. If ai have time I will split this up by basin.

Closing


Guldan crashes on generate.

I already found the Problem: Guldan has no "Catalog" node for "GuldanLifeTap" under "Modifications", this causes the script to not get the modType variable populated. I just cloned your repo and am figuring out how your script works to fix It.
Investigating if I can fix this in the C.js file, or if It's needed to make a change on the generate.js file. Will make a request if you don't mind.

I wont make this merge request, cause I don't know if you like the Fix, but It seems that there are new Abilities that may come in the game, that has no catalog value for the modification... like It's a personal type of catalog. That beign said, I commented these lines from 383:
		var modType = getValue(modNode, "Catalog", attributeValue(modNode, "Catalog")) || 'Undefined';
/*		if(!NODE_MAP_TYPES.contains(modType))
			throw new Error("Unsupported LevelScalingArray Modification Catalog modType: " + modType);*/

... and added a new "Undefined" modType on NODE_MAP_TYPES @ line 41.
Now the JSON generates OK and data is all there, accurate.
What do you think of this??

Just made a Pull Request (#47 opened 4 minutes ago by LeoLeal) with all the necessary fixes for 19.0


Add hmac_sha256 Presto Functions

Add hmac_sha256 Presto Functions
hmac_sha256(binary, key) → varbinary
     Computes HMAC with sha256 of binary with the given key.

@xiaoxmeng I've confirmed the consistency of the computed result do you have more comments? I see facebook internal build failures, should I do something?


rebar_file_utils:cp_r/2 should follow symlinks

rebar_file_utils:cp_r/2 is used by rebar_erlc_compiler:test_compile/3 to copy source files to a separate eunit directory, from which they are compiled and cover is run. Currently, cp_r/2 is implemented on Unix-like systems using the shell's cp -R command. This way, symlinks in the source directories are copied as they are (as symlinks) to the eunit directory. For relative symlinks, this can break the symlink. E.g.:
src
 + mylink.erl -> some/sub/dir/actualfile.erl
 + some
    + sub
       + dir
          + actualfile.erl

will be copied to
eunit
 + mylink.erl -> some/sub/dir/actualfile.erl
 + actualfile.erl

When compiling from the eunit directory, mylink.erl will not be valid.
rebar_erlc_compiler:test_compile/3 is the only client of rebar_file_utils:cp_r/2. If it's purpose is to create a flat copy of all source files required, I propose it should dereference symlinks instead. I.e., add "L" to the arguments of shell's cp command.
Background: The above is a simplified example. We use subdirectories, symlinks, and includes to create two implementations of the same module from a single source file. The two implementations differ in the byte-order used in binary parsing. We have modified rebar to include "L" in the arguments to cp and it successfully copies the contents of the files the symlinks point to as regular files to the eunit directory.
Related note:
If there is a symlink in the eunit directory (copied by a previous run of rebar), the cleanup in rebar_erlc_compiler:test_compile/3 fails to remove it before copying over the new set of files because cleanup only removes regular files. So while symlinks can work for compilation in the eunit directory (because they point to an absolute path or because their relative target happens to work inside the eunit directory as well), running rebar subsequently will cause an error because cp by default does not overwrite symlinks on most platforms.

Looks good, would you like to submit a PR with the proposed fix and a simple inttest/ to prevent future regressions?

Thanks. I'll submit a PR with test later this week.

Hi, this issue was closed in an attempt to do quick basic filtering. All tickets prior to March 2017 were closed and will be reopened on a per-request basis, please give rebar3 a try and feel free to reopen if it's a pressing issue that is still unresolved.


Hitting "Switch to Default Sheet" no longer switches to the Foundry 5E sheet

Running 0.8.6 version

Fixed via https://github.com/zeel01/MonsterBlocks/commit/66d5aecbaf53e86da11e99f2a279591b5274e991


WIP: node: graduate the podresources API endpoint to GA

Graduate the kubelet podresources endpoint to GA
KEP: https://github.com/kubernetes/enhancements/issues/606
enhancement: https://github.com/kubernetes/enhancements/issues/3743

As per this comment, this API endpoint is no longer targeted for GA in 1.27. @ffromani I believe we ought to close this, it would be great to have confirmation from you. Thanks!

yes, I'll reopen a PR for 1.28


manifest not found!

Really a fantastic project !
Doing my first build on a RPi, Bullseye, and Node-Red 3.0.2 I get the error as below.
Checking I found that the mentioned "manifest.json" is instead available at
<EMAIL_ADDRESS>Please advice, Mats
Host system check: #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT 2023
MCU Build system check: p1.1.2 + #f2f2c68 @ m3.7.6-8-g746d137
HOME directory check: /home/pi
Creating build environment for platform pico/pico_w.
Working directory: /home/pi/.node-red/mcu-plugin-cache/tns8c0j9h9b
$PICO_GCC_ROOT identified: /usr
$PICO_SDK_DIR identified: /home/pi/pico/pico-sdk
> cd /home/pi/.node-red/mcu-plugin-cache/tns8c0j9h9b
Creating build script file...
> /bin/bash ./build.sh
### Error<EMAIL_ADDRESS>manifest not found!

Hi!
Thank you for your feedback & for reporting this issue.

MCU Build system check: p1.1.2 + #f2f2c68 @ m3.7.6-8-g746d137

You need to update the plugin. We changed the directory structure of node-red-mcu recently & this needs >v1.2 of the plugin to work properly:
cd <userdir>
npm install @ralphwetzel/node-red-mcu-plugin

This should give you v1.2.1.

Thanks for quick response, appreciated. For the moment not at the right "place" will check your advice later next week. Thanks.

Now tested and works ....
But had to do an uninstall and then a npm install https://github.com/ralphwetzel/node-red-mcu-plugin.git to get the latest.
But another issue appeared https://github.com/ralphwetzel/node-red-mcu-plugin/issues/33#issue-1637573851


Xcode 12 + AudioKit 4.11 Problems

Hi. I just wanted to ask if there is a planned support for v4 of AudioKit in Xcode 12? Or if there is a documentation for the v5 beta version which works in Xcode 12.
I cannot compile my app in Xcode 12 and hence cannot prepare it for the iOS 14 which is now already released. I have went into detail in this stackoverflow post.
https://stackoverflow.com/questions/63860545/implementing-microphone-analysis-with-audiokit-v5
Thank you.

Yeah, well I just compiled AudioKit for Xcode 12, it was easy, but as long as @megastep is cool with it, we'll make an AudioKit 4.11 release for Xcode 12 shortly.

https://github.com/AudioKit/AudioKit/releases/tag/v4.11 will be updated with frameworks etc soon, and hopefully cocoapods as well.

Hi, we have multiple errors:
for instance:
"Failed to build module 'AudioKit' from its module interface; it may have been damaged or it may have triggered a bug in the Swift compiler when it was produced"
Using last version:

AudioKit (4.11):

AudioKit/Core (= 4.11)
AudioKit/UI (= 4.11)

AudioKit/Core (4.11)
AudioKit/UI (4.11):

AudioKit/Core

Mmh, I did remove a bit of script that I thought was no longer needed, fixing the Swift module interfaces. I might have to turn that back on...

OK, I just updated the zip file. Please clean your pod cache and try again with a clean install...

How does one know if they are installing the New 4.11 or the Old 4.11 ?
I just updated but I seem to be getting the same errors mentioned by fvonk. Which makes me think I didn't really update the pod. ;)

I would do pod cache clean --all, then just delete your Pods directory and do a new pod install

Ok, but now we have
"Cannot find 'output' in scope"
"Cannot find 'midi' in scope"
errors...

Yes same errors here

Same erreur here

I should have check here before jump into the Xcode 12 :-/ (my mistake).

Yes, I can also confirm I have the same errors. On the bright side - before the updates I had 2567 errors and now I only have 6 of them 😄

Thanks for the updated builds @aure. However, I'm running into this issue when archiving my app (see screenshot). Any ideas? I used the 4.11 framework from the link https://github.com/AudioKit/AudioKit/releases/tag/v4.11

.

@meilers are you on Xcode 11 still? These new frameworks include ARM64 slices for the simulator for the new Macs with Apple Silicon. I thought these would be simply ignored by previous versions.

@megastep Nope. On Xcode 12 since yesterday.

uh, that is odd - is it only happening when archiving your app?

@megastep Correct. I can run the app just fine in the simulator.

Maybe that's a limitation because you can't submit apps for Apple Silicon yet? Did you override any architecture settings in your project/target?
It makes little sense to me because this is an XCFramework and when you archive for a device the simulator stuff should just be completely ignored.

@megastep I agree it is weird. What do the simulators have to do with archives? And no, I didn't override any architecture settings. It's a pretty vanilla project. Let me try with a new project and I'll let you know.

One of the biggest problems with publishing universal binary frameworks with Xcode 12 is because of this Apple Silicon slice - so you end up having arm64 slices for both the iOS and Mac architectures. Pretty much have to rely only on XCFrameworks at this point as we can't splice together these same-CPU slices anymore.
At the same time AK4 was triggering some bugs in LLVM because of the AudioKit class, and it appears that is still the case. That doesn't necessarily mean that we can't ship functioning frameworks for CocoaPods here, but it might take more work than anticipated.
If you can't wait you can checkout the v5-develop branch which fully supports the Swift Package Manager.

@megastep Thanks for the clarification. That makes sense.
By the way, just tested on a brand new project. Dumped the frameworks from the previous link. and same error when archiving.

@megastep Are you sure that SPM works for AudioKitUI? It works for AudioKit, but not for AudioKitUI. I'm getting the "No such module AudioKitUI" error.

@meilers No more AudioKitUI in AudioKit5.

Mostly its in there, just don't have to import a separate framework anymore.

@aure Not sure I understand. If I remove "import AudioKitUI" I get plenty more reference errors like "Cannot find type AKNodeOutputPlot in scope". Am I missing something here?

@meilers are you saying that you're using SPM with AudioKit 4.11? I was under the impression it only worked with v5. @megastep ?

@meilers If you are using v5, try dropping the AK prefix on the classes it says it can't find. Most of those have been dropped, except a few like AKMIDI.

@aure Yes, I should be. I'm pointing to the v5-develop branch.

@aure Dropping the AK prefix did the trick. Thanks!

@meilers Don't rely on anything about v5 remaining very stable. Its still in a bit of a state of flux. Making great progress, but really not ready for people to be relying on it. Proceed with caution and don't expect many answers from us along the way. :)

@aure @megastep Yeah I think I'm gonna have to wait for that Xcode 12 Cocoapods fix then, and stick to AudioKit 4. Thanks for all your support.

@aure thanks a lot for the quick update.
I'm also getting the following errors while building:
"Cannot find 'output' in scope"
"Cannot find 'midi' in scope"
...
Can you reproduce these issues as well or is it likely to be an issue on our side?

These errors are coming from AKNodeRecorder, AKMIDISampler, AKMIDIInstrument and AKMIDINode
Below is a screenshot of the first issue, in AKNodeRecorder :

@aure Dropping the AK prefix did the trick. Thanks!

Could you explain please?
I get 10 errors like many else, and I don't really understand how to work around it
Thanks in advance!

@brizzly and everyone. You have to let us know which version of AudioKit you are trying to run. 4.11 is very different from 5 (and 5 is not out yet, so it is still in a constantly changing state).

Also, everyone here who is expecting "support" from this free and open-source project,  please consider sponsoring stephane and I here:
https://github.com/sponsors/aure
https://github.com/sponsors/megastep

@brizzly and everyone. You have to let us know which version of AudioKit you are trying to run. 4.11 is very different from 5 (and 5 is not out yet, so it is still in a constantly changing state).

I am having the
Cannot find 'output' in scope
Cannot find 'midi' in scope
Failed to build module 'AudioKit' from its module interface; it may have been damaged or it may have triggered a bug in the Swift compiler when it was produced
errors with 4.11

Similar issue using 4.11 via CocoaPods 10 minutes ago in a virgin xCode 12 Project.

Greatly respect @aure call above re sponsorship. Very fair, I think.

I am changing the name of the issue to include 4.11.  For those who want to know more about v5, I am willing to set up a zoom call for everyone to watch me talk about where we are going and how to set up a project for AKv5.  Email me aure @ at AudioKit dot io or are at audiokitpro dot com to be invited.

@brizzly and everyone. You have to let us know which version of AudioKit you are trying to run. 4.11 is very different from 5 (and 5 is not out yet, so it is still in a constantly changing state).

Sorry, I talk about AK 4.11 with xCode 12 and iOS 14

Thanks @aure for your willingness.
In my case however I would also wait for a 4.11 fix and stay on the stable version.

Same issues :), waiting for stable 4.11 version. Thanks

When I install like this: pod 'AudioKit', :git => 'https://github.com/AudioKit/AudioKit.git', :tag => 'v4.11'it produces : [!] Unable to find a specification for 'AudioKit'.  any idea ?

Same issues here too. Eagerly waiting for a stable 4.11. Thanks guys!

Okey, I changed the podfile line to origin => pod 'AudioKit', I made pod update, now everything is ok. 4.11 is installed.

App was 'ready to submit' using 4.9.5 - then updated to Xcode 12.0, now using the 4.11 xcframework - I get the same errors for sim and 'any iOS device' target. - hopefully that can help narrow down the bug?? sorry if I'm only repeating what you already know.

The root case of all this is the AudioKit class - there's a restriction/shortcoming/bug with Swift modules and class names that match the module - I'm trying a few more tricks to see if we can make it work unchanged, but there's a good chance we'll have to rename it to something else to make this work. For a while in v5 it was renamed to AKManager so I might just do that.

We tested the version of v5 where it was renamed to AKManager, and the transition was pretty painless. This solution would work for us 👍

We tested the version of v5 where it was renamed to AKManager, and the transition was pretty painless. This solution would work for us 👍

How did you install version 5.0 ? I can't install via pod 'AudioKit', '~> 5.0'
Getting this error:
[!] CocoaPods could not find compatible versions for pod "AudioKit":
  In Podfile:
    AudioKit (= 5.0)

There is no pod for v5.0 since it hasn't been officially released yet. You can install via SPM though by pointing it to our v5-develop branch.

FYI I should have version 4.11.1 out later today that should fix these issues (with a new AKManager class)

v4.11.1 is now out and the pod was pushed; let me know if this fixes your issues (it should). You will have to update your code to replace all references to the AudioKit class to AKManager instead. In most cases this should just be a 2-3 line code change.

There is no pod for v5.0 since it hasn't been officially released yet. You can install via SPM though by pointing it to our v5-develop branch.

When I tried like: pod 'AudioKit/Core', :git=>'https://github.com/AudioKit/AudioKit/', :branch => 'v5-develop'
I got this error: Analyzing dependencies Pre-downloading: `AudioKit` from `https://github.com/AudioKit/AudioKit/`, branch `v5-develop` [!] Unable to find a specification for 'AudioKit'.

v4.11.1 is now out and the pod was pushed; let me know if this fixes your issues (it should). You will have to update your code to replace all references to the AudioKit class to AKManager instead. In most cases this should just be a 2-3 line code change.

I missed that comment, now everything is working, thank you so much for your amazing effort.

sorry for that but when I install v4.11.1 into simulator, everything is working fine, success built, but when I try to run on my real device which has ios 14, I got those errors:

Well that is interesting, it should definitely work the same for devices as the simulator. The target error is weird though - why would it be looking for ARM64 simulator unless you are on an Apple Silicon Mac?

FYI I don't get any of these errors with the new frameworks, compiling for devices or archiving. If you are actually on Apple Silicon, you'd be better off actually switching to v5.

I'm having the exact same issues as @fattalgazi, and I'm on a 16 inch Intel. Currently running through a list of possible fixes and will get back to this thread if I find one that works.

What's your iOS SDK target version in your project? You might need to raise it to something more recent.

What's your iOS SDK target version in your project? You might need to raise it to something more recent.

12.4
Which is weird that they're looking for the "arm64-apple-ios10.0-simulator"

Not happening for me with my own project using the pod, and I'm targeting iOS 10. I would guess that maybe CocoaPods might be responsible for this... I am using the latest beta of 1.10.

Updating CocoaPods from 1.9.3 to 1.10.0.rc.1 got rid of the "unable to load standard library" errors when running on a device for me.

Good to hear. Sounds like something they needed to address for Xcode 12.

Brilliant effort in getting this far this fast. Well done.
Have installed 4.11.1 from pod. Target is iOS 13.6.
For me, the line   micReverb_03 = AKReverb()
triggers the following runtime error when running app on my phone:
Fatal error: Use of unimplemented initializer 'init()' for class 'AudioKit.AKReverb'
Kind regards,
Peter Dann

On 20 Sep 2020, at 10:01 am, Stéphane Peter<EMAIL_ADDRESS>wrote:
v4.11.1 is now out and the pod was pushed; let me know if this fixes your issues (it should). You will have to update your code to replace all references to the AudioKit class to AKManager instead. In most cases this should just be a 2-3 line code change.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/AudioKit/AudioKit/issues/2267#issuecomment-695368956, or unsubscribe https://github.com/notifications/unsubscribe-auth/APUJ53CWLAQDVTAAWP6ZS7DSGVA5NANCNFSM4RPLFCNQ.

I have a similar new runtime error too. Mine occurs both on simulator and device. For the line:
var drums = AKMIDISampler()
I get the error:
Fatal error: Use of unimplemented initializer 'init()' for class 'AudioKit.AKMIDISampler'

Sounds like something else to do with the generated Swift interfaces - I suggest opening a different issue for this.

I have tried to change import AudioKit to import AKManager also, but it produces: No such module 'AKManager'. I have also done a clean build folder, pod cache clean and deleted Pods folder.

You don't need to change the import, you keep import AudioKit. You have to change where AudioKit is used, for example, change
AudioKit.output = to AKManager.output =
AudioKit.start() to AKManager.start()
etc

Running pod update does not update to 4.11.1. What am I doing wrong? On cocoapods.org it also shows that 4.11 is the latest release.

Manually downloading the package from the "releases" tab and inserting it into the /Pods folder did the trick though.

Running pod update does not update to 4.11.1. What am I doing wrong? On cocoapods.org it also shows that 4.11 is the latest release.

pod 'AudioKit' , '~> 4.11.1'

Ok updating cocopods solves all problems. Thank you.
sudo gem install cocoapods --pre

I'm running a MacOS project and was having trouble getting rid of all the errors with the new 4.11.1 build.
pod cache clean -all wasn't quite working
Turns out a complete pod reset fixed it.
rm -rf ~/Library/Caches/CocoaPods
rm -rf Pods
rm -rf ~/Library/Developer/Xcode/DerivedData/*
pod deintegrate
pod setup
pod install

https://stackoverflow.com/a/46428793/339946

@megastep on Xcode Version 12.0 (12A7209) I still get these two issues with 4.11.1. I tried deleting derived data, cleaning pod cache, de-integrating and installing pods again but nothing fixed it.
# At `import AudioKit`
Unable to load standard library for target 'arm64-apple-ios10.0-simulator'
Failed to build module 'AudioKit' from its module interface; it may have been damaged or it may have triggered a bug in the Swift compiler when it was produced

The only AudioKit references I have are these lines:
var options = AKConverter.Options()
let converter = AKConverter(inputURL: URL(), outputURL: URL(), options: options)
converter.start { /* ... */ }

Updating CocoaPods to 1.10.0.rc.1 got rid of the "unable to load standard library" errors for me.

Thank you @aure @megastep for your amazing work. Now it works on 4.11.1 for me. Just had to change de pod ios platform from 9.0 to 11.0.
Thank you guys. I stay here to help if needed.
Best,
@elcitrovmtgrande

Building ok with 4.11.1 and Xcode12 and a few AudioKit.* renames.
Crash when I run my app though
Fatal error: Use of unimplemented initializer 'init()' for class 'AudioKit.AKMIDISampler'

I confirm everything working with 4.11.1 for me. Thank you @aure @megastep.

Building ok with 4.11.1 and Xcode12 and a few AudioKit.* renames.
Crash when I run my app though
Fatal error: Use of unimplemented initializer 'init()' for class 'AudioKit.AKMIDISampler'
New issue added here : #2276
Thanks a lot

Hi @brizzly, juste replace AudioKit my AKManager.ADMIDISampler, I guess...

Building ok with 4.11.1 and Xcode12 and a few AudioKit.* renames.
Crash when I run my app though
Fatal error: Use of unimplemented initializer 'init()' for class 'AudioKit.AKMIDISampler'
New issue added here : #2276
Thanks a lot

Hi @brizzly, just replace AudioKit by AKManager.ADMIDISampler, I guess...

It was not enough , but another work around did the trick,  to know more about it have a look at the issue 2276

It looks like 4.11.1 has dropped some support for Objective-C as I am no longer able to call [AKManager setOutput:]. Should I be working on migrating my project to Swift for better compatibility or was this simply an oversight?

Updated to v4.11.1, updated cocoapods to 1.10.0.rc.1, removed derived data, and the build is working again. However now I am seeing missing PCM files, the same issue that was reported on https://github.com/AudioKit/AudioKit/issues/1247 and https://github.com/AudioKit/AudioKit/issues/1325:
warning: /var/folders/zg/rxr8tgkn1ylf0hm8crrnrc840000gq/C/org.llvm.clang.megastep/ModuleCache/1BAOMPOQVXYU7/AVFoundation-7O317LEIB4Z2.pcm: No such file or directory
note: while processing /var/folders/zg/rxr8tgkn1ylf0hm8crrnrc840000gq/C/org.llvm.clang.megastep/ModuleCache/1BAOMPOQVXYU7/AVFoundation-7O317LEIB4Z2.pcm
note: Linking a static library that was built with -gmodules, but the module cache was not found.  Redistributable static libraries should never be built with module debugging enabled.  The debug experience will be degraded due to incomplete debug information.

By updating pod to 1.10.0.rc.1, archiving and running with the simulator are okay.

But, got same error with real device(XR).
Failed to build module 'AudioKit' from its module interface; it may have been damaged or it may have triggered a bug in the Swift compiler when it was produced

Any recommendation for this error only on the real device?

Looks like these are referencing files that are on my Mac since I'm the one who built the binaries... :/

I could install AudioKit 4.11 by get riding off Pod then adding AudioKit into the workspace.
For me, every time using Pods I ended up return back to manual integration, slower but clean and safe.
V5 is coming with SPM thanks a lot. I wish to be able to use SPM for V4 as well (but this is already answered somewhere here that was not possible)

@meilers No more AudioKitUI in AudioKit5.

what do we use instead of AudiokitUI ? Dol ytou have breaking change document what should change from audiokit 10 to audio kit 11 upwards?

Is the latest AudioKit download link posted here for the latest XCode and Swift? I get lots of errors. Is there any clean instruction on linker, library, and embedded content configuration? Thanks.


Incrementally lex and parse data

Instead of building an AST, then parsing that AST, incrementally parse
as we go.  This should prevent the creation of large intermediate data
structures when parsing 100-MB files that could push us over LuaJIT's 1G
limit.
Fixes #624; I can load the 1M-element table with this patch.  However it takes 4 minutes to compile the damn thing!!!!  Needs further optimization.

It seems that ctable insertion was one of the slow things -- this patchset changes the max occupancy rate for ctables to 0.4.  Come to think of it, I think that the migrated files are in hash order; does insertion in hash order have worse complexity, I wonder?

We don't have the same problems as http://accidentallyquadratic.tumblr.com/post/153545455987/rust-hash-iteration-reinsertion because we don't modulo, but I wonder, probably we aren't hitting the fast paths as much as we should.

Anyway, with this patchset, compiling the 1M-entry table works now, and it's down to 1m22s.  About three times as long as our custom parser used to do but oh well.

I grasp the general picture but I don't fully understand how it works to be honest.:) I trust Jessica's judge. LGTM.

Snabb-bot returned an error in lib.yang.util. It complains cannot find function check. It was removed in the patch.
$ sudo ./snabb snsh -t lib.yang.value
lib/yang/util.lua:33: variable 'check' is not declared


Move gh-pages branch into a /docs subfolder of master branch

The master vs. gh-pages branch has long been a complicated thing for people to figure out and switch between. GitHub pages now supports being built from a /docs subfolder in a master branch. Any thoughts on refactoring the folders in the master branch into something like /code and gh-pages in /docs ?

:+1:
I think this would be a useful change, especially for people new to git/GitHub (FWIW, I consider myself an intermediate-level gitter/GitHubber and still have trouble/confusion with gh-pages branches sometimes.)

seems good. If you do it, please consider making the changes to the
template repo that is the base commits for many of the newer thw chapters
(but not berkeley or wisconsin): https://github.com/thehackerwithin/template
On Wed, Oct 12, 2016 at 11:38 AM, Kelly L. Rowland<EMAIL_ADDRESS>
wrote:

👍
I think this would be a useful change, especially for people new to
git/GitHub (FWIW, I consider myself an intermediate-level gitter/GitHubber
and still have trouble/confusion with gh-pages branches sometimes.)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/thehackerwithin/berkeley/issues/65#issuecomment-253267305,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAYCq1zxtlPhgCSbUI1lpD_LL2MiSvxwks5qzQ0TgaJpZM4KU3z_
.

--
http://katyhuff.github.com


Remove or contain impact of InternalsVisibleTo

Currently, Gax has internals visible to Gax.Rest and Gax.Grpc, as well as to test projects.
This potentially creates a versioning issue, as it's possible that Gax.Rest/Gax.Grpc will be running against a version of Gax that's later than they expect.
For example, suppose library X depends on Gax.Rest v2.1 and library Y depends on Gax.Grpc v2.2. Then an application depending on them both will end up with:

Gax.Rest v2.1
Gax.Grpc v2.2
Gax v2.2

If we don't understand our internal dependencies, that could lead to issues.
We should:

Check why we have InternalsVisibleTo between prod assemblies
Limit where we use that (ideally with an attribute at each place that's used, and validated with a Roslyn analyzer)
Be extra careful when making changes

While any breakages could be fixed by encouraging users to update all libraries to the same version (e.g. updating Gax.Rest to 2.2 in the example above) it would be better not to have to.

@evildour: How feasible does this sound as a Roslyn analyzer?
"If member invocation X invokes Y in a different assembly, and Y is internal, then Y must be decorated with a particular attribute"?

I believe that kind of analyzer would only work if both project X and Y were part of the same solution. I'm not sure what kind of performance issues you'd have though with basically doing a "Find all references" operation on every internal member. Would you want to to cause an error if you had the attribute on something where it wasn't needed?

Hmm. So you can't find the target ISymbol and then the attributes on the symbol, even if they're only in metadata? (It's fine for it only to work on the solution containing X.) But we're going to try to make this a non-issue, I think...

Oh I see, so you want the diagnostics to be reported at the call site, not where the symbol is defined? Yes, that should be possible (and would probably be more performant). You'd just receive multiple diagnostics for the same issue if you've referenced the same symbol multiple times, but I don't think that's a problem. So is this something you'd like implemented, or just a hypothetical?

If we find we really, really want internal visibility between libraries, I think we'll want it - but I've managed to remove them from GAX and I'm looking at Spanner now.

Ok, let me know. Seems like an easy one to implement.


any lora for stage 2?

Hi,
can we use lora to finetune the llama part based on the pretrained weights of llama in stage 2?
Thanks

Within the scope of MobileVLM license, you are free to use our pretrained weights in your projects. In addition, we also provide the stage2 lora-fintune code script, please refer to here.

Hi, hope your question has been resolved. If you have any further concerns, please feel free to re-open it or open a new issue. Thanks!


In deprecated.js, XSLTProcessor methods are defined as static rather than instance methods

externs/browser/deprecated.js defines two static methods (importStylesheet and transformToDocument) on XSLTProcessor.
However, these are actually instance methods, and so should be defined on the prototype, not the constructor.
(Note: I'm happy to open a PR myself, but not sure how to trigger the change to src/com/google/javascript/jscomp/resources/resources.json)

For what its worth, I believe the changesets are imported anyway rather than directly merged, so the resources.json change happens automatically.

For what its worth, I believe the changesets are imported anyway rather than directly merged, so the resources.json change happens automatically.


lmdb.Error: /share/zhui/reg_dataset/NIPS2014: No such file or directory

When I clone this project and run it. I had this error, and I haven't known how to fix it now. I hope you can help me with this issue. Thank you so much!
---***----
Traceback (most recent call last):
File "main.py", line 230, in
main(args)
File "main.py", line 127, in main
args.height, args.width, args.batch_size, args.workers, True, args.keep_ratio)
File "main.py", line 39, in get_data
dataset_list.append(LmdbDataset(data_dir_, voc_type, max_len, num_samples))
File "/home/wanna/Documents/aster.pytorch/lib/datasets/dataset.py", line 53, in init
self.env = lmdb.open(root, max_readers=32, readonly=True)
lmdb.Error: /share/zhui/reg_dataset/NIPS2014: No such file or directory

@Cabbagehust2507   i have same error .could you tell me how to solve it?

@shaohailin you replace this with directory address to your data. example you have 103 put in "./abc/img" and a text file contain labels gt.txt put in". /abc".  So you replace with "./abc". You can try, and feel free to ask me if you meet any troubles. :)

@Cabbagehust2507
1.
i want to know if it is necessary to create the lmdb of  the training set ( synth90k and synthtext ) and the 7 test datasets.
2.
if it is necessary, for example, for test dataset(IIIT5_3000), only choose test data of III5_3000 and lexicon.txt to create .lmdb or choose both train image and test image to create .lmdb?
sorry to bother you!

there are two .txt files , what should i do to create gt.file
@Cabbagehust2507

@Cabbagehust2507
1.
i want to know if it is necessary to create the lmdb of the training set ( synth90k and synthtext ) and the 7 test datasets.
2.
if it is necessary, for example, for test dataset(IIIT5_3000), only choose test data of III5_3000 and lexicon.txt to create .lmdb or choose both train image and test image to create .lmdb?
sorry to bother you!
Hi @shaohailin,(1) this source code require dataset need to process into lmdb file.
(2) all train and test datasets need to create lmdb file. But you will create them separately: train_output(.lmdb) and test_output(.lmdb)

there are two .txt files , what should i do to create gt.file
@Cabbagehust2507

I don't use this data. But gt.txt file is the file contains two columns: 1st column contains the image_name, 2nd column contains label of those images.
You can see it clearly in "aster.pytorch/lib/tools/create_svtp_lmdb.py  "

thanks for your reply!  I have create the gt.txt file of iiit5k dataset according to your introduction about gt.txt file . Then I successfully transform it into lmdb.thank you very much! @Cabbagehust2507

@shaohailin You're welcome :)

When I clone this project and run it. I had this error, and I haven't known how to fix it now. I hope you can help me with this issue. Thank you so much! ---***---- Traceback (most recent call last): File "main.py", line 230, in main(args) File "main.py", line 127, in main args.height, args.width, args.batch_size, args.workers, True, args.keep_ratio) File "main.py", line 39, in get_data dataset_list.append(LmdbDataset(data_dir_, voc_type, max_len, num_samples)) File "/home/wanna/Documents/aster.pytorch/lib/datasets/dataset.py", line 53, in init self.env = lmdb.open(root, max_readers=32, readonly=True) lmdb.Error: /share/zhui/reg_dataset/NIPS2014: No such file or directory

Hey cai i am getting this error while training a diffusion model.

where  ./ffhq.lmdb/ffhq/1. png  directory consisting of my dataset. and ffhq is just a folder for storing output.

I thought you can check the path to file.
Rohit Kumar @.***>于2022年11月18日 周五17:06写道：

When I clone this project and run it. I had this error, and I haven't
known how to fix it now. I hope you can help me with this issue. Thank you
so much! ---***---- Traceback (most recent call last): File "main.py", line
230, in main(args) File "main.py", line 127, in main args.height,
args.width, args.batch_size, args.workers, True, args.keep_ratio) File
"main.py", line 39, in get_data dataset_list.append(LmdbDataset(data_dir_,
voc_type, max_len, num_samples)) File
"/home/wanna/Documents/aster.pytorch/lib/datasets/dataset.py", line 53, in
init self.env = lmdb.open(root, max_readers=32, readonly=True)
lmdb.Error: /share/zhui/reg_dataset/NIPS2014: No such file or directory
Hey cai i am getting this error while training a diffusion model.
[image: Screenshot (100)]
https://user-images.githubusercontent.com/51284717/202651659-43a46ca1-5125-48d2-9910-1d955e3eabb9.png
where ./ffhq.lmdb/ffhq/1. png directory consisting of my dataset. and ffhq
is just a folder for storing output.
—
Reply to this email directly, view it on GitHub
https://github.com/ayumiymk/aster.pytorch/issues/27#issuecomment-1319670694,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOF47ROWZDVFHMD44DG6GG3WI42HVANCNFSM4JDLQ5NQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Merge in Q2: Remove undocumented AnalyticsNode from @segment/analytics-next

⚠ Major Version Bump
Remove experimental/undocumented AnalyticsNode library from browser. @segment/analytics-node should be used.
Should also fix https://github.com/segmentio/analytics-next/issues/837.

Is this going to get merged? My Next 13 build is failing on the node-fetch import.


Data Checklist

Each data point must contain:
Training

[x] Data hash
[x] NL Description
[x] Seed data
[x] PDDL
[x] Plan
[x] Tags #69

Testing

[x] Data hash
[x] NL Description
[x] Seed data
[x] PDDL
[x] Tags #69

Report

[x] Testing Data Instance (above)
[x] Model response
[x] Parsed model response
[x] Report [schema] [tests]

[x] Soundness check
[x] Validity check
[x] Optimality check

Complete! 🏁


Organize package entities by visibility and purpose

Will organize into public and private for non-testing related
entities and into testing/non-testing entities.
Public Entities
Private Entities
Testing Entities
After talking to Sylvan, once this is accepted, I will
rename from 'entities' to 'types'

This would close issue #588 in a "should be improved" kind of way.

@sylvanc i change the AST_GET_CHILDREN usage and in the process learned that
push -f blows away any comments in the review which is a thing. :/

@sylvanc this look good to merge now?

Looks good!


specific case CollectionIncompatibleType

Hi,
I have something like this and the compilation gives me the error CollectionIncompatibleType.
I know this is a very strange case but maybe you can improve the check.
myMap.get(val12) returns the right string value
public class MyMain {

	public static void main(String[] args) {

		Map<String, String> myMap = new HashMap<>();

		MyValue val11 = new MyValue("1", "1");
		MyValue val12 = new MyValue("1", "2");

		myMap.put(val11.getFullValue(), "val11");
		myMap.put(val12.getFullValue(), "val12");

		System.out.println(myMap.get(val12));

	}

	public static class MyValue {
		private final String value1;
		private final String value2;

		public MyValue(String value1, String value2) {
			this.value1 = value1;
			this.value2 = value2;
		}

		public String getValue1() {
			return value1;
		}

		public String getValue2() {
			return value2;
		}

		public String getFullValue() {
			return value1 + "." + value2;
		}

		@Override
		public boolean equals(Object myValueObject) {
			if (myValueObject instanceof String)
				return getFullValue().equals(myValueObject);
			else if (myValueObject instanceof MyValue) {
				MyValue entity = (MyValue) myValueObject;
				if (entity.getValue1().equals(getValue1()) && entity.getValue2().equals(getValue2()))
					return true;
			}

			return super.equals(myValueObject);
		}

		@Override
		public int hashCode() {
			return getFullValue().hashCode();
		}

		@Override
		public String toString() {
			return getFullValue();
		}
	}
}

Hello! TL;DR: No.
MyValue's equals method violates the symmetric property of equals, since String.equals(MyValue) would return false, even if MyValue.equals(String) would return true: https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html#equals(java.lang.Object)
It may happen to be that HashMap checks equals by using the passed-in key.equals(the value stored in the map), but if it did it the opposite way, you couldn't look up by val12.
I suggest one of the following:

Changing your Map to Map<MyValue, String> (if that's what you're querying by)
Changing your get call to a more appropriate map.get(val12.getFullValue())
If you really really must, use @SuppressWarnings("CollectionIncompatibleType") in the surrounding code (but note the underlying implementation issue you're relying on is still a thing).


Change TMPDIR to DOCKER_TMPDIR

TMPDIR was changed to DOCKER_TMPDIR in pull request 7113 but the file still asks user to set TMPDIR.
I am new to docker and wasted sometime this morning because of this.
I am using docker version 1.12.1 on ubuntu server 14.04

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "patch-1" git@github.com:imnuh/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

LGTM

LGTM

LGTM 🐸

Thanks for contributing @imnuh !


bsc.exe on master complains about invalid escape codes in strings while 9.1.4 is fine

The following code:
let a = "This prints \"Hello, world!\""

works fine using the published 9.1.4 version, but produces the following error when running bsc.exe compiled from master:
./darwin/bsc.exe test2.res

  We've found a bug for you!
  test2.res:1:9-39

  1 │ let a = "This prints \"Hello, world!\""
  2 │

  Offset: 13, Invalid escape code: "

The same happens with escaped single quotes as well.
This also happens for byte escape codes.  The following code:
let a = "\000\000\246\255\247\255\
   \000\001\002\003\004\005"

works fine with 9.1.4, but produces the follow error when running bsc.exe compiled from master:
./darwin/bsc.exe test_bytes.res

  We've found a bug for you!
  test_bytes.res:1:9-2:28

  1 │ let a = "\000\000\246\255\247\255\
  2 │    \000\001\002\003\004\005"
  3 │

  Offset: 9, Invalid escape code: 2

I just built rescript from master with the latest version of the syntax module and ran into this, too.
@ryyppy This is a regression that we need to fix for the next release. Could you label it as such?
Looking at the AST, "Hello, \"world\"!" currently gives us
PConst_string ("Hello, \\\"world\\\"!",Some "js")

whereas Hello, "world"! gives us
PConst_string ("Hello, \"world\"!",Some "js")

@cknitt I think I know what the problem is. Will add it here to this issue

@IwanKaramazow Great! Thanks a lot!


[Merge]SessionTokenAndDocumentProducerSupport

Description:
Part of the effort of adding Merge support in Java SDK
It imported the following two related fixes from .net:
https://github.com/Azure/azure-cosmos-dotnet-v3/pull/2531
https://github.com/Azure/azure-cosmos-dotnet-v3/pull/2980

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

/azp run java - cosmos - tests

/azp run java - cosmos - tests

The test failed is conflictCustomLWW, which is a known flaky tests.
This PR does not touch any logic related to conflicts.

/check-enforcer override


chore(deps): remove unused font-awesome dependency

Description:
Remove unused font-awesome dependency
Motivation and Context:
It's adding bloat needlessly.
How Has This Been Tested?
Manually
Types of changes:
Dependency updates
Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[ ] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage remained the same at 20.046% when pulling 81c989f50a46c472c5d52dbfec0916a1dd0160d5 on mrfelton:chore/remove-font-awesome into 402a16f2e28614ca29a6d80058d93b949da4e315 on LN-Zap:master.


Backport of 2593 in stable-3.0

Backport of #2593 in stable-3.0
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1582181

jenkins test this please

jenkins test luminous-ansible2.4-lvm_osds

jenkins test luminous-ansible2.4-lvm_osds

jenkins test luminous-ansible2.4-lvm_osds

jenkins test luminous-ansible2.4-lvm_osds

jenkins test luminous-ansible2.4-centos7_cluster

jenkins test luminous-ansible2.4-docker_cluster

jenkins test luminous-ansible2.4-centos7_cluster

jenkins test luminous-ansible2.4-centos7_cluster

jenkins test luminous-ansible2.4-lvm_osds

jenkins test pipeline

@leseb Can you merge https://github.com/ceph/ceph-build/pull/1060 then rebase here so we can test pipeline through completion?

@djgalloway done.

jenkins test luminous-ansible2.4-bluestore_osds_container

Welp a sub-job in the pipeline failed (will fail).  I restarted it in a separate job.


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_56qu_ei549/clone/recipe/meta.yaml:14: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_56qu_ei549/clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_56qu_ei549/clone/recipe/meta.yaml:44: missing_description: The recipe is missing a description
ERROR: /tmp/abs_56qu_ei549/clone/recipe/meta.yaml:44: missing_license_family: The recipe is missing the about/license_family key.
ERROR: /tmp/abs_56qu_ei549/clone/recipe/meta.yaml:44: missing_dev_url: The recipe is missing a dev_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_59xxmwdrxo/clone/recipe/meta.yaml:14: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_59xxmwdrxo/clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_59xxmwdrxo/clone/recipe/meta.yaml:44: missing_description: The recipe is missing a description
ERROR: /tmp/abs_59xxmwdrxo/clone/recipe/meta.yaml:44: missing_dev_url: The recipe is missing a dev_url
ERROR: /tmp/abs_59xxmwdrxo/clone/recipe/meta.yaml:44: missing_license_family: The recipe is missing the about/license_family key.
Errors were found


Whitelist GitHub IPs?

Self-hosting Harvey, I'm getting bombarded by random requests that aren't coming from me or GitHub. One potential option would be to whitelist GitHub's IP's. There is an endpoint that can be used to constantly update the list of IP's; however, they advise against whitelisting IPs.
https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/about-githubs-ip-addresses

Reopening this as it's totally broken the way I've written it.

I decided not to support this for now and have removed it.


Set the correct field in Divan::max_time()

Thanks for the fix!

This fix is now available in 0.1.14.

Thanks for the quick turnaround!


Support for the "LAX" functions (e.g. LAX_INT64)

Love your emulator -- it's covered the vast majority of our BigQuery usage so far. But now I need to implement a query that uses the LAX functions and I get an error about them not existing:
Function not found: LAX_INT64

https://cloud.google.com/bigquery/docs/reference/standard-sql/json_functions#lax_int64
I'd really appreciate you adding them! Thanks so much

Should this be an issue for your go-zetasql repo?


replace travis with github action

using lts and next

Why isn't this running? Is there something with the file path? .github/workflows/ nodejs.yaml
And should the filename be: nodejs.yml (no "a")?

🙏


Consider adding stream_next or similar macro

The idea is exactly the same as a regular await! macro, but related to streams.
This macro may be helpful when you need await an item from stream (when processing stream in item-by-item fashion). Here is my version of such macro (rewrote version of original await macro):
#[macro_export]
macro_rules! stream_next {
    ($e:expr) => ({
        loop {
            match ::futures::Stream::poll(&mut $e) {
                ::futures::__rt::core::result::Result::Ok(::futures::Async::Ready(e)) => {
                    break ::futures::__rt::core::result::Result::Ok(e)
                }
                ::futures::__rt::core::result::Result::Ok(::futures::Async::NotReady) => {}
                ::futures::__rt::core::result::Result::Err(e) => {
                    break ::futures::__rt::core::result::Result::Err(e)
                }
            }

            yield ::futures::Async::NotReady
        }
    })
}

Since it was merged we can close the issue


Proposal for a new flag and name for Séléka

Séléka oculd be renamed to Logone since in December 2015 a group of ex Séléka fighters based in the market town of Kaga-Bandoro declared the Republic of Logone although this self declared country has been completely unrecognised by the international community. The Republic of Logone has also been called Dar El Kuti, the name of a historical sultanate that used to exist in the Northern areas of the Central African Republic however I haven't been able to find any reliable sources saying that Dar El Kuti is the name of this self declared state. I would also suggest a new flag for Séléka since its current flag is basically the flag of the Central African Republic.
Sources
http://af.reuters.com/article/topNews/idAFKBN0TZ0TW20151216
https://www.washingtonpost.com/world/central-african-republic-rebels-declare-autonomous-state-in-north/2015/12/15/8efdd3a8-a380-11e5-ad3f-991ce3374e23_story.html
http://www.ibtimes.co.uk/central-african-republic-muslim-seleka-leader-noureddine-adam-declares-autonomous-state-1533469
http://reliefweb.int/report/central-african-republic/dangerous-divisions-central-african-republic-faces-threat-secession
http://www.globalsecurity.org/military/world/para/logone.htm
Possible new flag for Séléka (I Wasn't able to find any reliable sources on what the flag of the Republic of
Logone looks like although I guess this could do as a new flag for Séléka)

I have read one of the sources. That one references  AP. And I have not been able to find that original article.
For the rest please link the text, so I can see what source supports what claim.
On  the flag I have also not been able to find any. Maybe search photos for Seleka troops to see what flag they might be using...
Vice News has these documentaries on the conflict in CAR. You might find it interesting.


Select\BelongsToSelect field with IT locale

Package
filament/forms
Package Version
v2.6.3
Laravel Version
v8.76.2
Livewire Version
v2.8.2
PHP Version
PHP 8.0.13
Bug description
the $getPlaceholder function does not escape the single quote
line 75
my temp solution:
add ->placeholder('Seleziona un\\\'opzione') to the field to escape the single quote
Steps to reproduce

Add Select or BelongsToSelect field
add "->searchable()"
Set locale in config/app.php to "it"
Try to use it

Relevant log output
Alpine Expression Error: Unexpected identifier

Expression: "label ?? 'Seleziona un'opzione'"

Fixed by #954.


Can it be used for Maximum Edge Weight Clique?

I think you'll have to change the fitness function from the clique size to the sum of the weights of the edge weight clique.