Got socket error trying to find package at https://pub.flutter-io.cn

when run “flutte packages get”
Got socket error trying to find package at https://pub.flutter-io.cn
and when run “ping https://pub.flutter-io.cn” that occurs as follow:
"Ping https://pub.flutter-io.cn“ dose not work but ” nslookup https://pub.flutter-io.cn” works

I have this problem too and can't get packages from https://pub.flutter-io.cn
Running "flutter pub get" in flutter_app...
Got socket error trying to find package cupertino_icons at https://pub.flutter-io.cn.

pub get failed (69) -- attempting retry 1 in 1 second...

Got socket error trying to find package cupertino_icons at https://pub.flutter-io.cn.

pub get failed (69) -- attempting retry 2 in 2 seconds...

flutter doctor -v
E:\code\flutter\flutter_app>flutter doctor -v
Waiting for another flutter command to release the startup lock...
[√] Flutter (Channel stable, v1.7.8+hotfix.3, on Microsoft Windows [Version 6.1.7601], locale zh-CN)
    • Flutter version 1.7.8+hotfix.3 at D:\Flutter
    • Framework revision b712a172f9 (6 days ago), 2019-07-09 13:14:38 -0700
    • Engine revision 54ad777fd2
    • Dart version 2.4.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
    • Android SDK at D:\Android\SDK
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.1
    • Java binary at: D:\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[√] Android Studio (version 3.4)
    • Android Studio at D:\Android\Android Studio
    • Flutter plugin version 37.0.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[√] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)

• No issues found!

I have added an environment variable, but it still can't work
OS is Window7
C:\Users\xxx>set PUB_HOSTED_URL
PUB_HOSTED_URL=https://pub.flutter-io.cn

C:\Users\xxx>set FLUTTER_STORAGE_BASE_URL
FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn

C:\Users\xxx>ping pub.flutter-io.cn

正在 Ping pub.flutter-io.cn.w.kunlunso.com [<IP_ADDRESS>] 具有 32 字节的数据
来自 <IP_ADDRESS> 的回复: 字节=32 时间=30ms TTL=49
来自 <IP_ADDRESS> 的回复: 字节=32 时间=30ms TTL=49
来自 <IP_ADDRESS> 的回复: 字节=32 时间=29ms TTL=49
来自 <IP_ADDRESS> 的回复: 字节=32 时间=29ms TTL=49

<IP_ADDRESS> 的 Ping 统计信息:
    数据包: 已发送 = 4，已接收 = 4，丢失 = 0 (0% 丢失)，
往返行程的估计时间(以毫秒为单位):
    最短 = 29ms，最长 = 30ms，平均 = 29ms

遇到同样的问题。
I hava the same problem

我遇到同样的问题，然后发现是被防火墙阻止了。

我遇到同样的问题，然后发现是被防火墙阻止了。

嗯，我这边主要是被企业的防火墙拦截了，要专门为 gradle 配置开发代理接口

Closing this, as there's no actionable info as to what needs to be done.


isanimating property for activity view

This already exists. You simply have to use the animated modifier on ActivityIndicator.


Optimize common cases for pollset_add_fd with epoll

There are two common cases in a warmed up system:
pollset.pi == NULL, fd.pi != NULL
pollset.pi == fd.pi, fd.pi != NULL
For the former, we currently acquire three mutexes.
For the latter, we acquire two.
My (unconfirmed) suspicion is that we could reduce the latter to zero by making pi atomic (we'd just do two no-barrier loads outside the locks and compare). My way more out there suspicion is that similar tricks would work for the former case also.

Assume stale, closing


Migration PR not align with original dependabot config variables

Basic info:
Package ecosystem
nuget
Language version
C#
Manifest location and content prior to update
n/a
Updated dependency
n/a
Native package manager behavior
n/a
In our dependabot setup, we have multiple nuget feeds setup so that we can update both the public nuget packages from https://api.nuget.org/v3/index.json and the private nuget packages hosted on github package.
However, I tried update a few of our repo to native dependabot with the migration PR and seems like the migration PR doesn't account for multiple nuget feeds. The result .github/dependabot.yml only contain the the github package link which breaks the package update process.
This migration PR is not ready for one click migration like https://github.com/dependabot/dependabot-core/issues/3591#issuecomment-829325836 said
Previous behavior in Dependabot Preview:

Update logs on app.dependabot.com
  proxy | 2021/05/21 01:14:07 * authenticating nuget feed request (host: api.nuget.org, bearer auth)
  proxy | 2021/05/21 01:14:07 * authenticating nuget feed request (host: nuget.organization.net, bearer auth)
  proxy | 2021/05/21 01:14:08 * authenticating nuget feed request (host: nuget.pkg.github.com, bearer auth)
  proxy | 2021/05/21 01:14:08 Listening (:1080)

Current behavior in GitHub-native Dependabot:

Update logs in repo's Dependency graph > Dependabot
  proxy | time="2021-05-21T01:08:21Z" level=info msg="proxy starting" commit=asdfdsf20f0c7297a2340dd3181976c0c2b20872cd
  proxy | 2021/05/21 01:08:21 * authenticating nuget feed request (host: nuget.pkg.github.com, bearer auth)
  proxy | 2021/05/21 01:08:21 Listening (:1080)

version: 2
registries:
  nuget-feed-nuget-pkg-github-com-organizationname-index-json:
    type: nuget-feed
    url: https://nuget.pkg.github.com/organizationname/index.json
    token: "${{secrets.NUGET_FEED_NUGET_PKG_GITHUB_COM_ORGANIZATIONNAME_INDEX_JSON_TOKEN}}"

updates:
- package-ecosystem: nuget
  directory: "/"
  schedule:
    interval: daily
    time: "09:00"
    timezone: Hongkong
  open-pull-requests-limit: 99
  reviewers:
  - someone
  - jasonycw
  assignees:
  - someone
  registries:
  - nuget-feed-nuget-pkg-github-com-organizationname-index-json

In our dependabot setup, we have multiple nuget feeds setup so that we can update both the public nuget packages from https://api.nuget.org/v3/index.json and the private nuget packages hosted on github package.

You do not need to configure the public registry, it was a noop in preview and it is stripped out for the native version.

breaks the package update process

Have you configured the secrets as mentioned here

Have you configured the secrets as mentioned here?

Yes, I have followed the PR and added the secret to the repo(some private repo not in organization) and organization level.
But in the update log, there is nothing related to api.nuget.org is shown, only the github package feed

Here are more update logs from the GitHub native dependabot showing package not being checked from public nuget feed
updater | INFO <job_137293849> Checking if AWSSDK.S3 <IP_ADDRESS> needs updating
updater | INFO <job_137293849> Ignored versions:
updater | INFO <job_137293849>   <IP_ADDRESS> - from .github/dependabot.yml
updater | INFO <job_137293849>   <IP_ADDRESS> - from .github/dependabot.yml
updater | INFO <job_137293849>   3.5.8 - from .github/dependabot.yml
updater | INFO <job_137293849>   <IP_ADDRESS> - from .github/dependabot.yml
updater | INFO <job_137293849>   <IP_ADDRESS> - from .github/dependabot.yml
updater | INFO <job_137293849>   <IP_ADDRESS> - from .github/dependabot.yml
updater | INFO <job_137293849>   3.5.9 - from .github/dependabot.yml
updater | INFO <job_137293849>   <IP_ADDRESS> - from .github/dependabot.yml
updater | INFO <job_137293849>   <IP_ADDRESS> - from .github/dependabot.yml
updater | INFO <job_137293849>   <IP_ADDRESS> - from .github/dependabot.yml
updater | INFO <job_137293849>   <IP_ADDRESS> - from .github/dependabot.yml
updater | INFO <job_137293849>   <IP_ADDRESS> - from .github/dependabot.yml
updater | INFO <job_137293849>   <IP_ADDRESS> - from .github/dependabot.yml
updater | INFO <job_137293849>   <IP_ADDRESS> - from .github/dependabot.yml
updater | INFO <job_137293849>   <IP_ADDRESS> - from .github/dependabot.yml
updater | INFO <job_137293849>   <IP_ADDRESS> - from .github/dependabot.yml
updater | INFO <job_137293849>   <IP_ADDRESS> - from .github/dependabot.yml
  proxy | 2021/05/24 01:08:23 [078] GET https://nuget.pkg.github.com:443/organizationname/index.json
  proxy | 2021/05/24 01:08:23 [078] * authenticating nuget feed request (host: nuget.pkg.github.com, bearer auth)
  proxy | 2021/05/24 01:08:23 [078] 200 https://nuget.pkg.github.com:443/organizationname/index.json
  proxy | 2021/05/24 01:08:23 [080] GET https://nuget.pkg.github.com:443/organizationname/query?q=awssdk.s3&prerelease=true
  proxy | 2021/05/24 01:08:23 [080] * authenticating nuget feed request (host: nuget.pkg.github.com, bearer auth)
  proxy | 2021/05/24 01:08:24 [080] 200 https://nuget.pkg.github.com:443/organizationname/query?q=awssdk.s3&prerelease=true
updater | INFO <job_137293849> Latest version is
updater | INFO <job_137293849> Requirements to unlock update_not_possible
updater | INFO <job_137293849> Requirements update strategy
updater | INFO <job_137293849> No update possible for AWSSDK.S3 <IP_ADDRESS>

Where AWSSDK.S3 should be updated to <IP_ADDRESS> 3 days ago according to
https://www.nuget.org/packages/AWSSDK.S3/ and https://api-v2v3search-0.nuget.org/query?q=AWSSDK.S3&prerelease=true
And other repo which is not migrated to native dependabot yet, @dependabot-preview can still create PR correctly
Here is part of the logs from https://app.dependabot.com/
updater | INFO <job_80911760> Checking if AWSSDK.S3 <IP_ADDRESS> needs updating
  proxy | 2021/05/24 01:15:22 [011] GET http://nuget.organization.net/index.json
  proxy | 2021/05/24 01:15:22 [011] 200 http://nuget.organization.net/index.json
  proxy | 2021/05/24 01:15:22 [013] GET https://nuget.pkg.github.com:443/organizationname/index.json
  proxy | 2021/05/24 01:15:22 [013] * authenticating nuget feed request (host: nuget.pkg.github.com, bearer auth)
  proxy | 2021/05/24 01:15:22 [013] 200 https://nuget.pkg.github.com:443/organizationname/index.json
  proxy | 2021/05/24 01:15:22 [014] GET http://nuget.organization.net/flatcontainer/awssdk.s3/index.json
  proxy | 2021/05/24 01:15:22 [014] 404 http://nuget.organization.net/flatcontainer/awssdk.s3/index.json
  proxy | 2021/05/24 01:15:22 [016] GET https://api-v2v3search-0.nuget.org:443/query?q=awssdk.s3&prerelease=true
  proxy | 2021/05/24 01:15:23 [016] 200 https://api-v2v3search-0.nuget.org:443/query?q=awssdk.s3&prerelease=true
  proxy | 2021/05/24 01:15:23 [018] GET https://nuget.pkg.github.com:443/organizationname/query?q=awssdk.s3&prerelease=true
  proxy | 2021/05/24 01:15:23 [018] * authenticating nuget feed request (host: nuget.pkg.github.com, bearer auth)
  proxy | 2021/05/24 01:15:23 [018] 200 https://nuget.pkg.github.com:443/organizationname/query?q=awssdk.s3&prerelease=true
updater | INFO <job_80911760> Latest version is <IP_ADDRESS>
updater | INFO <job_80911760> Requirements to unlock own
updater | INFO <job_80911760> Requirements update strategy
updater | INFO <job_80911760> Updating AWSSDK.S3 from <IP_ADDRESS> to <IP_ADDRESS>
updater | INFO <job_80911760> Submitting AWSSDK.S3 pull request for creation

This maybe the same issue as https://github.com/dependabot/dependabot-core/issues/3724
If default public nuget feed should always be check at the first place, it's the same bug.
Or if there is a need to support multiple nuget feeds inside dependabot.yml?

Hi @jurre and @brrygrdn, any update on this bug?

Dependabot Preview will be shut down on August 3rd, 2021.

It's only a week left before dependabot preview shut down but the native dependabot still not pulling public nuget feed properly when there are 3rd party nuget feed.
Are we going to be stuck with the bugged native dependabot after August 3rd?

Sorry for the delay in replying @jasonycw - to elaborate on my comment in #3724, I believe the correct way to configure this is to add a nuget.config file to your project root directory as @feelepxyz mentioned:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <packageSources>
        <add key="NuGet official package source" value="https://api.nuget.org/v3/index.json" />
    </packageSources>
</configuration>

Dependabot builds a list of repositories to look up packages in the RepositoryFinder class which inserts https://api.nuget.org/v3/index.json if no other source is configured here.
In Dependabot Preview this is not a problem as looking at your existing configuration, you have a config variable that provides this URI:

I believe this workflow existed historically so that using a mix of public and private sources had to be explicitly configured, which core 'opting out' of the public repo once any other source was provided. By explicitly indicating the official public source in your nuget.config you will be providing Native Dependabot with instruction to use it.
Let me know if this helps or if you have any further issues.

What about if dependabot.yml can support multiple feed?
version: 2
registries:
  nuget-feed-nuget-pkg-github-com-organizationname-index-json:
    type: nuget-feed
    url: https://nuget.pkg.github.com/organizationname/index.json
    token: "${{secrets.NUGET_FEED_NUGET_PKG_GITHUB_COM_ORGANIZATIONNAME_INDEX_JSON_TOKEN}}"
  public-nuget:
    type: nuget-feed
    url: https://api.nuget.org/v3/index.json

updates:
- package-ecosystem: nuget
  directory: "/"
  schedule:
    interval: daily
    time: "09:00"
    timezone: Hongkong
  open-pull-requests-limit: 99
  reviewers:
  - someone
  - jasonycw
  assignees:
  - someone
  registries:
  - nuget-feed-nuget-pkg-github-com-organizationname-index-json
  - public-nuget

Currently, native dependabot doesn't support this, it will say

Thanks for the feedback @jasonycw, we're taking a look at this change internally to see what is practical.

Hey I've had this dependable done for years I really don't know what I'm doing im teaching my selfbi did not mean to such ya up like that but it been running for years for me can u help me out on few pointer ideasOn Jul 28, 2021 11:45 AM, Barry Gordon @.***> wrote:
Thanks for the feedback @jasonycw, we're taking a look at this change internally to see what is practical.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.

👋🏻  @jasonycw I've deployed a change that permits you to add the public feed explicitly to the config file, e.g.
version: 2
registries:
  nuget-feed-nuget-pkg-github-com-organizationname-index-json:
    type: nuget-feed
    url: https://nuget.pkg.github.com/organizationname/index.json
    token: "${{secrets.NUGET_FEED_NUGET_PKG_GITHUB_COM_ORGANIZATIONNAME_INDEX_JSON_TOKEN}}"
  public:
    type: nuget-feed
    url: https://api.nuget.org/v3/index.json

updates:
- package-ecosystem: nuget
  directory: "/"
  schedule:
    interval: daily
    time: "09:00"
    timezone: Hongkong
  open-pull-requests-limit: 99
  reviewers:
  - someone
  - jasonycw
  assignees:
  - someone
  registries:
  - nuget-feed-nuget-pkg-github-com-organizationname-index-json
  - public

Hopefully that helps resolve your issue.

Thanks, just tested with a few of our repositories and dependabot can finally query from both feeds
updater | INFO <job_176046954> Checking if AWSSDK.S3 <IP_ADDRESS> needs updating
  proxy | 2021/07/30 01:52:04 [182] GET https://nuget.organization.net/index.json
  proxy | 2021/07/30 01:52:04 [182] * authenticating nuget feed request (host: nuget.pkg.github.com, bearer auth)
  proxy | 2021/07/30 01:52:04 [182] 200 https://nuget.organization.net/index.json
  proxy | 2021/07/30 01:52:04 [184] GET https://nuget.organization.net/query?q=awssdk.s3&prerelease=true
  proxy | 2021/07/30 01:52:04 [184] * authenticating nuget feed request (host: nuget.pkg.github.com, bearer auth)
  proxy | 2021/07/30 01:52:05 [184] 200 https://nuget.organization.net/query?q=awssdk.s3&prerelease=true
  proxy | 2021/07/30 01:52:05 [186] GET https://api-v2v3search-0.nuget.org:443/query?q=awssdk.s3&prerelease=true
  proxy | 2021/07/30 01:52:05 [186] 200 https://api-v2v3search-0.nuget.org:443/query?q=awssdk.s3&prerelease=true
updater | INFO <job_176046954> Latest version is <IP_ADDRESS>
updater | INFO <job_176046954> Requirements to unlock own
updater | INFO <job_176046954> Requirements update strategy
updater | INFO <job_176046954> Updating AWSSDK.S3 from <IP_ADDRESS> to <IP_ADDRESS>
  proxy | 2021/07/30 01:52:05 [188] GET https://api.github.com:443/repos/organization/repo/commits?per_page=100
  proxy | 2021/07/30 01:52:05 [188] * authenticating github api request
  proxy | 2021/07/30 01:52:05 [188] 200 https://api.github.com:443/repos/organization/repo/commits?per_page=100
  proxy | 2021/07/30 01:52:05 [190] GET https://api.nuget.org:443/v3-flatcontainer/awssdk.s3/<IP_ADDRESS>/awssdk.s3.nuspec
  proxy | 2021/07/30 01:52:05 [190] 200 https://api.nuget.org:443/v3-flatcontainer/awssdk.s3/<IP_ADDRESS>/awssdk.s3.nuspec
  proxy | 2021/07/30 01:52:05 [192] GET https://api.github.com:443/repos/aws/aws-sdk-net/releases?per_page=100
  proxy | 2021/07/30 01:52:05 [192] * authenticating github api request
  proxy | 2021/07/30 01:52:05 [192] 200 https://api.github.com:443/repos/aws/aws-sdk-net/releases?per_page=100
  proxy | 2021/07/30 01:52:05 [194] GET https://api.github.com:443/repos/aws/aws-sdk-net/contents/
  proxy | 2021/07/30 01:52:05 [194] * authenticating github api request
  proxy | 2021/07/30 01:52:05 [194] 200 https://api.github.com:443/repos/aws/aws-sdk-net/contents/
  proxy | 2021/07/30 01:52:05 [196] GET https://api.github.com:443/repos/aws/aws-sdk-net/contents/SDK.CHANGELOG.md?ref=master
  proxy | 2021/07/30 01:52:05 [196] * authenticating github api request
  proxy | 2021/07/30 01:52:06 [196] 200 https://api.github.com:443/repos/aws/aws-sdk-net/contents/SDK.CHANGELOG.md?ref=master
  proxy | 2021/07/30 01:52:06 [198] GET https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:06 [198] * authenticating git server request (host: github.com)
  proxy | 2021/07/30 01:52:06 [198] 200 https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:06 [200] GET https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:06 [200] * authenticating git server request (host: github.com)
  proxy | 2021/07/30 01:52:06 [200] 200 https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:06 [202] GET https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:06 [202] * authenticating git server request (host: github.com)
  proxy | 2021/07/30 01:52:06 [202] 200 https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:06 [204] GET https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:06 [204] * authenticating git server request (host: github.com)
  proxy | 2021/07/30 01:52:07 [204] 200 https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:07 [206] GET https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:07 [206] * authenticating git server request (host: github.com)
  proxy | 2021/07/30 01:52:07 [206] 200 https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:07 [208] GET https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:07 [208] * authenticating git server request (host: github.com)
  proxy | 2021/07/30 01:52:07 [208] 200 https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:08 [210] GET https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:08 [210] * authenticating git server request (host: github.com)
  proxy | 2021/07/30 01:52:08 [210] 200 https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:08 [212] GET https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:08 [212] * authenticating git server request (host: github.com)
  proxy | 2021/07/30 01:52:08 [212] 200 https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:08 [214] GET https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:08 [214] * authenticating git server request (host: github.com)
  proxy | 2021/07/30 01:52:08 [214] 200 https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:08 [216] GET https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:08 [216] * authenticating git server request (host: github.com)
  proxy | 2021/07/30 01:52:08 [216] 200 https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:09 [218] GET https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:09 [218] * authenticating git server request (host: github.com)
  proxy | 2021/07/30 01:52:09 [218] 200 https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:09 [220] GET https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:09 [220] * authenticating git server request (host: github.com)
  proxy | 2021/07/30 01:52:09 [220] 200 https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:09 [222] GET https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:09 [222] * authenticating git server request (host: github.com)
  proxy | 2021/07/30 01:52:10 [222] 200 https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:10 [224] GET https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:10 [224] * authenticating git server request (host: github.com)
  proxy | 2021/07/30 01:52:10 [224] 200 https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:10 [226] GET https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:10 [226] * authenticating git server request (host: github.com)
  proxy | 2021/07/30 01:52:10 [226] 200 https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:10 [228] GET https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
  proxy | 2021/07/30 01:52:10 [228] * authenticating git server request (host: github.com)
  proxy | 2021/07/30 01:52:11 [228] 200 https://github.com:443/aws/aws-sdk-net.git/info/refs?service=git-upload-pack
updater | INFO <job_176046954> Submitting AWSSDK.S3 pull request for creation

It will be great if the migration PR be updated as well, but even if it doesn't, I'll merge them and update all the dependabot.yml manually one by one.
Thanks again!


How are KF parameters determined?

How are Q and R set in the Kalman filter, and why are the high multiplied weights of the detection frame used except a?

I have the same question. In other words, how the 'mean' and 'std' were setted in function 'initiate', 'predict' and 'project' in class KalmanFilter. Looking forward to your reply. Thanks.


Popover gets incorrect placement on subsequent renders

When using the Sanity UI Popover for the Date input in the Sanity Studio (code here) the popover places itself incorrectly (and forces viewport scroll) on subsequent renders. It turned out to be tricky to create a small repro case of this outside of Studio context (tried to replicate in the Arcade, but it's not happening here), but the issue can be demonstrated in the screen recordings below.
Note that it doesn't happen on initial render.
https://user-images.githubusercontent.com/876086/111342991-44e6ae00-867b-11eb-859b-ebb8cef5d926.mov
https://user-images.githubusercontent.com/876086/111343012-49ab6200-867b-11eb-849a-7a925220112f.mov

Hey @bjoerge – I’m not sure if this is an issue with Sanity UI or Popper.js.
Can you try using this and see if that works better?

<Popover
  fallbackPlacements={["top-end"]}
  placement="bottom-end"
 />


Binlog servers (BLS) won't move between co-masters

My current replication topology is:
co-master A (writes)--->binlog01 --> slave A
|
|
co-master B (read-only) ---> binlog02 --> slave B

I have some maintenance I need to do on co-master A and want to point my binlog01 server to co-master B. When I try thru the UI it doesn't seem to work, doing it thru the cli gives me the following exception:
[root@inv1 orchestrator]#  ./orchestrator -c move-below -i binlog01.domain:3306 -d masterB.domain:3306 --noop
2017-01-13 14:42:51 ERROR Will not resolve empty hostname
panic: runtime error: slice bounds out of range

goroutine 1 [running]:
github.com/outbrain/orchestrator/go/inst.(*Instance).MajorVersion(0xc2080c8000, 0x0, 0x0, 0x0)
	/home/snoach/dev/go/src/github.com/outbrain/orchestrator/go/inst/instance.go:282 +0xa2
github.com/outbrain/orchestrator/go/inst.(*Instance).IsSmallerMajorVersion(0xc2080c8000, 0xc2080c81c0, 0x82b9a0)
	/home/snoach/dev/go/src/github.com/outbrain/orchestrator/go/inst/instance.go:308 +0x28
github.com/outbrain/orchestrator/go/inst.(*Instance).CanReplicateFrom(0xc2080c8000, 0xc2080c81c0, 0x1, 0x0, 0x0)
	/home/snoach/dev/go/src/github.com/outbrain/orchestrator/go/inst/instance.go:437 +0x464
github.com/outbrain/orchestrator/go/inst.MoveBelow(0xc20801f8c0, 0xc20801eb80, 0x0, 0x0, 0x0)
	/home/snoach/dev/go/src/github.com/outbrain/orchestrator/go/inst/instance_topology.go:407 +0x47c
github.com/outbrain/orchestrator/go/app.Cli(0x7ffca576a686, 0xa, 0x0, 0x7ffca576a694, 0x18, 0x7ffca576a6b0, 0x10, 0xc20802af20, 0x4, 0x0, ...)
	/home/snoach/dev/go/src/github.com/outbrain/orchestrator/go/app/cli.go:175 +0x1e02
main.main()
	/home/snoach/dev/go/src/github.com/outbrain/orchestrator/go/cmd/orchestrator/main.go:646 +0xae4

goroutine 9 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc20802b000, 0xc20803def0)
	/usr/share/golang/src/github.com/pmylund/go-cache/cache.go:946 +0x13f
created by github.com/pmylund/go-cache.runJanitor
	/usr/share/golang/src/github.com/pmylund/go-cache/cache.go:964 +0x8c

goroutine 7 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc20802af60, 0xc20803dd70)
	/usr/share/golang/src/github.com/pmylund/go-cache/cache.go:946 +0x13f
created by github.com/pmylund/go-cache.runJanitor
	/usr/share/golang/src/github.com/pmylund/go-cache/cache.go:964 +0x8c

goroutine 8 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc20802af70, 0xc20803ddd0)
	/usr/share/golang/src/github.com/pmylund/go-cache/cache.go:946 +0x13f
created by github.com/pmylund/go-cache.runJanitor
	/usr/share/golang/src/github.com/pmylund/go-cache/cache.go:964 +0x8c

goroutine 10 [syscall]:
os/signal.loop()
	/usr/local/go/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
	/usr/local/go/src/os/signal/signal_unix.go:27 +0x35

goroutine 11 [chan receive]:
database/sql.(*DB).connectionOpener(0xc208045b80)
	/usr/local/go/src/database/sql/sql.go:589 +0x4c
created by database/sql.Open
	/usr/local/go/src/database/sql/sql.go:452 +0x31c

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1

goroutine 18 [chan receive]:
database/sql.(*DB).connectionOpener(0xc20811c0a0)
	/usr/local/go/src/database/sql/sql.go:589 +0x4c
created by database/sql.Open
	/usr/local/go/src/database/sql/sql.go:452 +0x31c

goroutine 20 [chan receive]:
database/sql.(*DB).connectionOpener(0xc20811c640)
	/usr/local/go/src/database/sql/sql.go:589 +0x4c
created by database/sql.Open
	/usr/local/go/src/database/sql/sql.go:452 +0x31c

is there something I'm missing here?

Is that a MaxScale binlog server?
A MaxScale binlog server cannot be moved. It just can't; you need to kill it, reconfigure it, then start it again.
This is known to orchestrator which is why the Web UI won't let you do it. I will need to add a similar check to the CLI to let you know this can't be done (and this will avoid the runtime error you got).
I'd argue you don't want to move the binlog server, though. What you want to so is move slave a.
If using Pseudo-GTID, you can just
orchestrator -c relocate -i slave.a -d binlog02

Actually this may just work without Pseudo-GTID for you, because of the relative simplicity of the topology (one up via binlog server). Anyway if it doesn't (could be), you'd use multiple steps:
orchestrator -c relocate -i slave.a -d binlog01
orchestrator -c move-below -i slave.a -d master.2
orchestrator -c relocate -i slave.a -d binlog02

My assignment: to make sure CLI refuses to move a BLS

okay...any suggestions for how to do this without bringing down the write master and having to execute a change master on each binlog host while it's down?

any suggestions for how to do this

Sorry, how to do what ?
The maintenance? Like I suggested, the binlog servers aren't your problem, are they? You wish to move the replicas around and I've given you the recipe to do that.
Otherwise I'm not sure what you are asking.

Closing this seeing this isn't an orchestrator issue. Feel free to continue discussion even as this issue is closed.


Reverted addition of scan_rst_l

As a followup to the e-mail discussion this PR reverts the change that introduced the scan_rst_l signal.

@bharatpillilli @rahuljainNV Please take a look.


[Toolbar] Remove back listener before reassign

 this.backButtonListener.remove();
was being called after
this.backButtonListener = getBackButtonListener(this.onSearchCloseRequested, false);
in effect, calling remove() on EMPTY_BACK_BUTTON_LISTENER
I believe the intention was to call remove() on BackAndroid.addEventListener('closeRequested', callback);

@Bryan792 I beleive it's ok. What doesn't work for you?

Feel free to open it again if you have any problem with this ...


Failed to build poco:x64-linux

'cpspc.exe' should be 'cpspc' for linux vcpkg
Package: poco:x64-linux
Vcpkg version: 0.0.113-unknownhash
00:02:45.536 Starting package 5/5: poco:x64-linux
00:02:45.536 Building package poco[core]:x64-linux...
00:02:45.540 -- CURRENT_INSTALLED_DIR=/var/lib/jenkins/workspace/vcpkg_build-poco/installed/x64-linux
00:02:45.540 -- DOWNLOADS=/var/lib/jenkins/workspace/vcpkg_build-poco/downloads
00:02:45.540 -- CURRENT_PACKAGES_DIR=/var/lib/jenkins/workspace/vcpkg_build-poco/packages/poco_x64-linux
00:02:45.540 -- CURRENT_BUILDTREES_DIR=/var/lib/jenkins/workspace/vcpkg_build-poco/buildtrees/poco
00:02:45.540 -- CURRENT_PORT_DIR=/var/lib/jenkins/workspace/vcpkg_build-poco/ports/poco
00:02:45.544 -- Downloading https://github.com/pocoproject/poco/archive/poco-1.9.0-release.tar.gz...
00:02:56.604 -- Downloading https://github.com/pocoproject/poco/archive/poco-1.9.0-release.tar.gz... OK
00:02:56.605 -- Testing integrity of downloaded file...
00:02:56.653 -- Testing integrity of downloaded file... OK
00:02:56.654 -- Extracting source /var/lib/jenkins/workspace/vcpkg_build-poco/downloads/pocoproject-poco-poco-1.9.0-release.tar.gz
00:02:56.901 -- Extracting done
00:02:56.901 -- Applying patch /var/lib/jenkins/workspace/vcpkg_build-poco/ports/poco/config_h.patch
00:02:56.904 -- Applying patch /var/lib/jenkins/workspace/vcpkg_build-poco/ports/poco/config_h.patch done
00:02:56.904 -- Applying patch /var/lib/jenkins/workspace/vcpkg_build-poco/ports/poco/find_pcre.patch
00:02:56.905 -- Applying patch /var/lib/jenkins/workspace/vcpkg_build-poco/ports/poco/find_pcre.patch done
00:02:56.905 -- Applying patch /var/lib/jenkins/workspace/vcpkg_build-poco/ports/poco/foundation-public-include-pcre.patch
00:02:56.907 -- Applying patch /var/lib/jenkins/workspace/vcpkg_build-poco/ports/poco/foundation-public-include-pcre.patch done
00:02:56.907 -- Applying patch /var/lib/jenkins/workspace/vcpkg_build-poco/ports/poco/fix-static-internal-pcre.patch
00:02:56.908 -- Applying patch /var/lib/jenkins/workspace/vcpkg_build-poco/ports/poco/fix-static-internal-pcre.patch done
00:02:56.909 -- Configuring x64-linux-dbg
00:02:58.187 -- Configuring x64-linux-dbg done
00:02:58.187 -- Configuring x64-linux-rel
00:02:59.398 -- Configuring x64-linux-rel done
00:02:59.398 -- Build x64-linux-dbg
00:04:09.796 -- Build x64-linux-dbg done
00:04:09.796 -- Build x64-linux-rel
00:05:22.254 -- Build x64-linux-rel done
00:05:22.254 CMake Error at ports/poco/portfile.cmake:49 (file):
00:05:22.254   file RENAME failed to rename
00:05:22.254
00:05:22.254     /var/lib/jenkins/workspace/vcpkg_build-poco/packages/poco_x64-linux/bin/cpspc.exe
00:05:22.254
00:05:22.254   to
00:05:22.254
00:05:22.254     /var/lib/jenkins/workspace/vcpkg_build-poco/packages/poco_x64-linux/tools/cpspc.exe
00:05:22.254
00:05:22.254   because: No such file or directory
00:05:22.254
00:05:22.254 Call Stack (most recent call first):
00:05:22.254   scripts/ports.cmake:72 (include)
00:05:22.254
00:05:22.254
00:05:22.254 Error: Building package poco:x64-linux failed with: BUILD_FAILED

file RENAME failed to rename
/var/lib/jenkins/workspace/vcpkg_build-poco/packages/poco_x64-linux/tools/cpspc.exe
linux - EXE ? ;)
ls /var/lib/jenkins/workspace/vcpkg_build-poco/packages/poco_x64-linux/tools/


Is Snow right for my use case?

Cryptography's a bit intimidating to me. Since the Snow documentation seems geared towards an audience that already understands Noise, I figured I'd ask a newbie question here.
For an opensource application that exchanges data between nodes on the same network, I'd like to implement an encrypted application-layer protocol where authentication is handled SSH-style:

Communication is encrypted using public/private key crypto
Any client may attempt to connect to any server without needing anything other than a generated keypair
On connect, the client and server decide whether they trust each other's public key (based on an allowlist or explicit user prompt)

Is Snow suitable for this? If yes, which configuration should I use? The example I viewed seems to use a symmetric static key, which due to the nature of open source wouldn't be secret in my case.

I'm not sure if this issue is outdated/valid anymore, but as an FYI, the example in the crates uses Noise's XX pattern to establish an encrypted connection using asymmetric keys. This should now cover all of your concerns mentioned above.
You can take a look at Noise's XX handshake pattern which uses the Diffie-Hellman Key Exchange algorithm to see how a secure connection is established.


Ark should resolve with no slash after the colon

no slash after the colon  ("/ark:/foo" should work the same as "/ark:foo")

This is required for the new version of ARK spec, which is not yet out.


Update impeller-cmake to head

This is WIP -- it builds, but the example is hitting GLES validation errors at runtime.


Hardware setup ethernet issue

Hi, we're requesting help to solve a problem with the initial setup

OS Platform and Distribution: Linux Ubuntu 14.04.5:
We've installed ubuntu 14.04.5 on IPC Nuvo-7160GC (https://www.neousys-tech.com/Resource/Product_Document/Nuvo-7160GC/Nuvo-7160GC_8th-Gen_GTX1060_GPU-computing_datasheet.pdf) but we've had problems with the wired internet connection, the system doesn't recognize the cable as plugged in (we've alredy verified the cable and the fact that the wired connection works in other systems)

So far we tried the following :
1.installed ubuntu without internet access and then tried to manually install drivers (e1000e from https://www.intel.com/content/www/us/en/support/articles/000005480/network-and-i-o/ethernet-products.html or http://faq.aslab.com/support/kb/231.html), in this case the port was recognized but the system keeps trying to connect without success

installing ubuntu and then the apollo kernel (since it already includes the driver as mentioned here: https://github.com/ApolloAuto/apollo-kernel), in this case nothing happens

we  can't seem to find the problem and it is confusing since there is a very similar hardware reference in the installation guide material (https://github.com/ApolloAuto/apollo/blob/master/docs/quickstart/apollo_1_0_hardware_system_installation_guide.md#installing-the-software-for-the-ipc), Nuvo-5095GC seems to have the same ethernet ports... (more information here: https://www.neousys-tech.com/Resource/Product_Document/Nuvo-5095GC/Nuvo-5095GC_Datasheet.pdf )
Any pointers or help would be greatly appreciated

Could you check the IP of that ethernet port and the IP of the devices of the connected device? The ethernet settings are tricky to answer without all the information. Could you describe your system with more details?

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.


HEAD requests broken on ipfs.io

Try this:
curl --head https://ipfs.io/ipfs/QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG/readme

Response is 200 OK for local go-ipfs, but ipfs.io gives 503 Service Unavailable -- something in the ipfs.io setup breaks HEAD requests.  Related: #159
Edit:  ipfs.io also 503's for plain HTTP.

Thanks @theoreticalbts -- this was fixed in April already but somehow I forgot to deploy the fix :S
Fixed in 8f0b79a and whyrusleeping/multireq#9

Duplicate of #159 :)


Icons not getting antialiased / appearing blurry

There appears to be alot of distortion and artifacts when using small icons in JLabels and JButtons.
Here is the code I am using to test this:
import com.formdev.flatlaf.FlatDarculaLaf;
import jiconfont.icons.font_awesome.FontAwesome;
import jiconfont.swing.IconFontSwing;

import javax.swing.*;
import java.awt.*;

public class Main {
    public static void main(String[] args) throws UnsupportedLookAndFeelException {
//        LookAndFeel laf = new NimbusLookAndFeel();
        LookAndFeel laf = new FlatDarculaLaf();
        UIManager.setLookAndFeel(laf);
        UIManager.put(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
        UIManager.put("useSystemAAFontSettings", "on");
        UIManager.put("swing.aatext", "true");
        System.setProperty("awt.useSystemAAFontSettings","on");
        System.setProperty("swing.aatext", "true");
        UIManager.getDefaults().put(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);

        IconFontSwing.register(FontAwesome.getIconFont());

        JFrame frame = new JFrame("Test Window");
        JPanel content = new JPanel(new BorderLayout());

        JButton button = new JButton("Hello");
        button.setPreferredSize(new Dimension(100, 50));
        button.setIcon(IconFontSwing.buildIcon(FontAwesome.ARROW_LEFT, 40));
        content.add(button, BorderLayout.CENTER);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setContentPane(content);
        frame.pack();
        frame.setVisible(true);
    }
}

This doesn't seem to work on Windows 10. I am using Jiconfont to create the icons from FontAwesome . This issue seems to be present regardless of the LookAndFeel.
This is the result I am getting, where the anti aliasing is not working on the icons:

Please tell me a way to work around this. A workaround suggested by someone on stackoverflow  is to use the character codes directly, but I can't control the text font and icon size separately if I do that.

The problem seems to be deeper than I thought.
I just tested the app on a different OS : Ubuntu , and the antialiasing is actually working.

I'm starting to think that its probably a problem with how the jdk performs antialiasing based on OS, or maybe how jIconFont performs antialiasing based on OS, or some OS forced featured that controls antialiasing.

I'm using ikonli now, as this issue is a bummer. Someone pointed out to me that the problem is in jiconfont itself

Hi @HiddenMachine3! Sorry, I'm discontinuing this project as there are newer and better ones.
Ikonli is great.


Version?

I don't see a parameter here for the Version of the Site Script... does SharePoint manage that for me, or will it always be 0?

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

ID: eb8de8fb-e92b-a19e-7284-d4f3349b8a51
Version Independent ID: cbeadec1-6bb8-4b08-846c-48c76d946f5d
Content: Add-PnPSiteScript (sharepoint-pnp)
Content Source: sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPSiteScript.md
GitHub Login: @techwriter40
Microsoft Alias: kirks

@officedocsbot assign @yogkumgit

Hello @sparkitect Jim 👍 how are you?
I will need to kindly ask you to visit this other repo to open PnP issues or PnP Documentation Issues. PnP cmdlets are maintained by the community, a member of it will pick it up there.
Thanks

@get-itips  Thank you very much for the contribution and sharing this explanation. @sparkitect
Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Reduce repo's package size

Description
The size of current repo is really large and it will become larger and larger. The reason is that the golden pictures are contained in every commits. This is not scalable because we will definitely add more commits. Besides, we are also integrating more renderers which means more golden pictures. One possible solution is to make a separate package just for golden pictures and users will only need to fetch the exact version of goldens when they need to.

We decided to tell people to clone with depth=1 instead as a workaround.


Sub canvas in HTML can not be screenshot in IE

In my HTML page contains sub canvas code (use echart to generate some graphs).
It works fine in brwoser.
But when i try to use html2canvas to screenshot the page to png, i find that some IE browser is OK, and some is not OK, the IE version is the some version -- IE11, and i also compare the setting of IE - no different.
The issue is the sub-canvas part in HTML can not display correctly, i'm not sure what's the problem.
Any ideas what would cause this and that I can do about it?
Following is my code:
`

ECharts

Screenshot

`

hello, junhao3687,  i met the same question, please tell me how resolve, thank you very much


can't load the game with this mod installed

2022-12-16-3.log.gz
Tiny.zip
and those are the log and the mod list

@TonimatasDEV

Fixed in 1.0.1.
Download: https://modrinth.com/mod/potiontimestacker/versions

Thank you


[Feature Request] Verify client ssl in server

In asio openssl implementation, when writing a server, one can use
context_->set_verify_mode(boost::asio::ssl::verify_peer | boost::asio::ssl::verify_fail_if_no_peer_cert);

Or use callback to verify client has the right certificate present, and rejects all clients that do not present the right cert.
Is there a way to do the same in wintls? If not how to support it?

You can enforce verification of the service certificate with the verify_server_certificate member function on the boost::wintls::context.
There currently isn't any way to add a callback for certificate validation for the simple reason that I forgot to implement it :-)
It should be trivial to add though so I hope I can find the time to add that soon. Otherwise a pull request would be very welcome.

To be clear, I want the server to verify client certificate.
See: https://www.openssl.org/docs/man1.0.2/man3/SSL_CTX_set_verify.html SSL_VERIFY_PEER section Server mode part.
When a client connects to the server, I want the server to verify the client certificate.
In Schannel documentation: https://docs.microsoft.com/en-us/windows/win32/secauthn/performing-authentication-using-schannel
Authenticating the Client
Schannel does not validate client's certificates; the server must perform this authentication manually.

I don't think this feature is implemented in this library.

Sorry, I misunderstood you even though you made it very clear from the issue subject. My bad.
Client certificate validation is currently not implemented.
I would like to implement it when I find the time to do that, otherwise a pull request is also very welcome.

This library with this feature is one of the ways to solve the problem I am facing. I may make a PR if I decide to pursuit this route.
Thanks for making this library, it is allowing running asio apps in production on windows, since the cert keys are in windows cert store and openssl cannot access the private key.

So I guess we should create two separate issues. One for adding callbacks to validate server certificates (although that wasn't your actually issue) and one for implementing client certificate validation. Would that be OK with you?
I'm happy to hear this library is useful to you. I don't really have any use for it myself but since no one else had implemented it seemed like a good way to get my hands dirty with some more low level asio code.

Yes we can create 2 separate issues.

I will implement this feature in the following steps:

[ ] Baseline client ssl validation. Get the basics right, and test with openssl server & client. #55
[ ] Introduce context function similar to ctx.set_verify_mode(ssl::verify_peer) to support more verify mode and make the API similar to openssl APIs in asio.
[ ] Enhance the sspi_handshake state
[ ] Testing with incompatible certs and verify error code

And so on to be added here.

@youyuanwu
I've forgotten all about this issue. I assume we can agree that it has been fixed with you commits and can be closed?
Thanks.

The basic issue is fixed, client cert validation is working. The public API for setting the cert can be enhanced/changed to look more like the openssl version. But currently I don't have the time to implement this.
I will close the issue, and reopen or open a new one in future.
FYI, I switched to use http.sys instead of asio+beast, which has built in windows ssl support.


Can kapacitor post alerts to a specific user in slack?

@sunnylbk  Yes use @username as the channel.

Thanks @nathanielc!


Building for iOS Simulator, but the linked and embedded framework 'AFNetworking.framework' was built for iOS

What did you do?
I updated my Xcode version to Xcode12.
I used Carthage to integrate the AFNetworking, everything was working fine until I updated my Xcode version from 11.7 to 12.
Now after updating to Xcode 12 when I am trying to run the Carthage update --platform iOS command it shows me an error(attached in screenshot).
What did you expect to happen?
I expected that everything will work fine
What happened instead?
I am not able to build my project and it shows me error(Building for iOS Simulator, but the linked and embedded framework 'AFNetworking.framework' was built for iOS) as shown in the screenshot.
AFNetworking Environment
AFNetworking version: 3.2.1 and 4.0
Xcode version: 12
Swift version: 5.3
Platform(s) running AFNetworking: iOS
macOS version running Xcode: 10.15.6

One of the answers from dev forum's question says that it is something which needs to be fixed by 3rd party framework(AFNetworking)

@SatishMavani See https://github.com/Carthage/Carthage/issues/3019

Did you try this?

warisappify works!
Just curious - why this works?

Here Is Already Solved with all possible solution added Solved Xcode 12.3: Building for iOS Simulator, but the linked and embedded framework was built for iOS + iOS Simulator

Here Is Already Solved with all possible solution added Solved Xcode 12.3: Building for iOS Simulator, but the linked and embedded framework was built for iOS + iOS Simulator


Allow to unassign myself from issues

Closes #13
/cc @Mark-Simulacrum

I think this is reasonable overall. The one thing I noticed (but which isn't actually a regression) is that when removing assignees we don't update the list in Issue. If you don't want to fix that here just let me know and we can merge (please file an issue noting that this may cause bugs down the road).
I think the fix probably lies in getting rid of the field and re-querying the data from GitHub as needed; we could try to update it but I suspect that making the field either a RefCell or threading &mut access to Issue is too annoying to bother with. Up to you which strategy to pursue.

@Mark-Simulacrum filled an issue https://github.com/rust-lang/triagebot/issues/15, unsure if I will have the time to tackle it but I think it's better to merge and then try to fix this thing. Thanks for your comment.

It'll need to be deployed, I'm not sure when I'll get a chance to do so (perhaps @pietroalbini can run the script?)

Redeployed.


Dutch translations

Noticed there were no Dutch translations yet and it are just a few lines, so here it is :)

Thanks! ❤


remove Array::to_list

Pull Request Test Coverage Report for Build 1386
Details

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 88.036%

Files with Coverage Reduction
New Missed Lines
%

target/wasm-gc/debug/test/array/__generated_driver_for_internal_test.mbt
1
80.0%

Totals

Change from base Build 1382:
-0.01%

Covered Lines:
2855

Relevant Lines:
3243

💛  - Coveralls


refactor: memozie using use-deep-compare

#197

The bundlephobia number is inaccurate as it doesn't consider that Remeda treeshakes. But it's probably still better not to ship remeda as many people use bundlephobia to judge packages.
Thanks for the PR :)

The bundlephobia number is inaccurate as it doesn't consider that Remeda treeshakes. But it's probably still better not to ship remeda as many people use bundlephobia to judge packages.
Thanks for the PR :)

I got here by looking at our bundles, it looks like the whole remeda package is getting included. Could be a misconfiguration on our side though.


TTS on Chromecast devices not working since version 2.2.2

What version of Music Assistant has the issue?
2.2.3 and newer
What version of the Home Assistant Integration have you got installed?
2024.9.1
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

[X] Yes

The problem
After updating from version 2.2.2 the TTS isn't working on my Nest mini speakers.
Doesn't matter if it's a single speaker or group.
This is what I see in log.

How to reproduce
Just run version 2.2.3 or above and send simple tts.cloud_say to any speaker.
Music Providers
Spotify, YTB and TuneIn
Player Providers
Chromecast and Slimproto
Full log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2024.9.3
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)

Same bahaviour on 2.2.6

I don't think the title is accurate. I can use tts.google_say and that works fine however with tts.cloud_say then I get
Failed to perform the action tts.cloud_say. InvalidDataError: Unable to retrieve info for http://<IP_ADDRESS>:8123/api/tts_proxy/a54d88e06612d820bc3be72877c74f257b561b19_en-au_6e8b81ac47_cloud.mp3: Server returned 404 Not Found
However, I don't know if this is a MA problem because if I do a tts.cloud_say and target the HA entity then I get the Google chime but then nothing.
So for those that are reporting this can you use a different TTS action and report back.

Ok so with ==tts.google_translate_say== it works and it also works with ==tts.speak== like this which is basically the same as using ==tts.cloud_say== but I guess here is differenet backend logic thats why MA is not able to work with that:
action: tts.speak
target:
  entity_id: tts.home_assistant_cloud
data:
  cache: true
  media_player_entity_id: media_player.home_speakers_mass
  message: Welcome home guys.
  options:
    voice: CoraNeural
  language: en-US

To summarize this I still think this is MA problem with ==tts.cloud_say== but I am not sure if we should keep this issue opened.

UPDATE: Not working again even with tts.speak or tts.google_say. Found out it's working only when speaker is not turned off. So when tts is sent to turned off Chromecast device the error above occurs. As already mentioned this worked last in MA 2.2.2

Still present in MA version 2.2.7.

UPDATE: Not working again even with tts.speak or tts.google_say. Found out it's working only when speaker is not turned off. So when tts is sent to turned off Chromecast device the error above occurs. As already mentioned this worked last in MA 2.2.2
@OzGav Can you try to replicate the issue on your end?

I have my Google Home. It was showing as OFF in MA and I successfully sent this:
action: tts.google_say
data:
  entity_id: media_player.ma_kitchen_speaker
  message: testing

This was using beta 29

Just tried with a Google Chromecast Ultra. Nothing in the queue and turned off and it worked fine…..

Could this be device specific? I am using only Nest minis at the moment.

Sorry just tried with a Google mini and it worked fine. Are you able to try with the beta to remove that variable?

Just tried with latest beta and it's working there. So I guess lets wait untill MA 3.x.x is released?

I am having a similar issue with resume not working after an announcement and running the latest beta.  Different error, but seeing this in the log when it doesn't resume:
2024-10-07 14:51:00.556 WARNING (MainThread) [music_assistant.players] Can not resume http://<IP_ADDRESS>:8097/flow/media_player.marks_office_hub/40fc003cd86f457d8599aa54e729b951.mp3?ts=1728326599 on Marks Office Hub
That isn't the real filename that was being played, but that is what was listed in the log.

As this is working in beta I will close. Let us know if there are still problems when the next stable ships.


fix: use https rpc endpoint resolve #304

Builds ready [3322948]builds: chrome, firefox, opera
bundle viz: background, ui, portal-inpage, portal-contentscript, ui-libs, bg-libs, phishing-detect
dep viz: background
all artifacts


Incorrect URL encoding of password for The Old Reader

Logging in to The Old Reader in NetNewsWire 6.0b2 on macOS 11.2.3 fails because my password containing non-alphanumeric characters isn't correctly encoded. The login dialog then displays the misleading message, "Network error. Try again later." even though the API has returned Error=BadAuthentication

Which specific characters are you using?

This is fixed and will be in the next beta release.


Download error in pretrained features

Download error in pretrained features.
When i am trying to use the google drive link, I am getting error downloading them
It is saying

@ruotianluo Can you please help me in this issue.

Google drive does have a download limit each day. Maybe you wait for a more day?

Sure thanks i will try and will update you.

I am trying to use the the google colab set up which you have used.
So when I am using the follwing code for feature extraction, it takes around 4sec
import yaml
import cv2
import torch
import requests
import numpy as np
import gc
import torch.nn.functional as F
import pandas as pd
import torchvision.models as models
import torchvision.transforms as transforms
from PIL import Image
from IPython.display import display, HTML, clear_output
from ipywidgets import widgets, Layout
from io import BytesIO
from maskrcnn_benchmark.config import cfg
from maskrcnn_benchmark.layers import nms
from maskrcnn_benchmark.modeling.detector import build_detection_model
from maskrcnn_benchmark.structures.image_list import to_image_list
from maskrcnn_benchmark.utils.model_serialization import load_state_dict
class FeatureExtractor:
TARGET_IMAGE_SIZE = [448, 448]
CHANNEL_MEAN = [0.485, 0.456, 0.406]
CHANNEL_STD = [0.229, 0.224, 0.225]
def init(self):
# self._init_processors()
self.detection_model = self._build_detection_model()
def call(self, url):
with torch.no_grad():
detectron_features = self.get_detectron_features(url)
return detectron_features

def _build_detection_model(self):
  cfg.merge_from_file('/content/model_data/detectron_model.yaml')
  cfg.freeze()

  model = build_detection_model(cfg)
  checkpoint = torch.load('/content/model_data/detectron_model.pth',
                          map_location=torch.device("cpu"))

  load_state_dict(model, checkpoint.pop("model"))

  model.to("cuda")
  model.eval()
  return model

def get_actual_image(self, image_path):
if image_path.startswith('http'):
path = requests.get(image_path, stream=True).raw
else:
path = image_path
  return path

def _image_transform(self, image_path):
path = self.get_actual_image(image_path)
  img = Image.open(path)
  im = np.array(img).astype(np.float32)
  im = im[:, :, ::-1]
  im -= np.array([102.9801, 115.9465, 122.7717])
  im_shape = im.shape
  im_size_min = np.min(im_shape[0:2])
  im_size_max = np.max(im_shape[0:2])
  im_scale = float(800) / float(im_size_min)
  # Prevent the biggest axis from being more than max_size
  if np.round(im_scale * im_size_max) > 1333:
       im_scale = float(1333) / float(im_size_max)
  im = cv2.resize(
       im,
       None,
       None,
       fx=im_scale,
       fy=im_scale,
       interpolation=cv2.INTER_LINEAR
   )
  img = torch.from_numpy(im).permute(2, 0, 1)
  return img, im_scale

def process_feature_extraction(self, output,
im_scales,
feat_name='fc6',
conf_thresh=0.2):
batch_size = len(output[0]["proposals"])
n_boxes_per_image = [len() for _ in output[0]["proposals"]]
score_list = output[0]["scores"].split(n_boxes_per_image)
score_list = [torch.nn.functional.softmax(x, -1) for x in score_list]
feats = output[0][feat_name].split(n_boxes_per_image)
cur_device = score_list[0].device
  feat_list = []

  for i in range(batch_size):
      dets = output[0]["proposals"][i].bbox / im_scales[i]
      scores = score_list[i]

      max_conf = torch.zeros((scores.shape[0])).to(cur_device)

      for cls_ind in range(1, scores.shape[1]):
          cls_scores = scores[:, cls_ind]
          keep = nms(dets, cls_scores, 0.5)
          max_conf[keep] = torch.where(cls_scores[keep] > max_conf[keep],
                                       cls_scores[keep],
                                       max_conf[keep])

      keep_boxes = torch.argsort(max_conf, descending=True)[:100]
      feat_list.append(feats[i][keep_boxes])
  return feat_list

def get_detectron_features(self, image_path):
im, im_scale = self._image_transform(image_path)
img_tensor, im_scales = [im], [im_scale]
current_img_list = to_image_list(img_tensor, size_divisible=32)
current_img_list = current_img_list.to('cuda')
with torch.no_grad():
output = self.detection_model(current_img_list)
feat_list = self._process_feature_extraction(output, im_scales,
'fc6', 0.2)
return feat_list[0]
IS there a way wher i can use the resnet101 feature in place of that and still the code shared in google colab works by generating a caption.
Also there seems to be lot of models in model zoo provided by you. thats great.
But if you could provide on how to use them in the setup as a example is provided in google colab.
Does the code is generic way that is we replace just the models it will work for all the models provided in model zoo.


Mic button should be replaced with Send button while typing

I have a question
Hi everyone, I need help with BotFramework. I'm looking to replace the microphone button with a send button when a user starts typing in the input box. Any guidance or code snippets to achieve this would be greatly appreciated. Thanks!

@OEvgeny @compulim @tdurnford any update?

@Muhammad-Faizann - Unfortunately, this isn't possible. The send/speak control that is displayed in the send box is determined as part of Web Chat's start up and whether speech is enabled or not, at that moment. There is no option for hot-swapping the controls in Web Chat, at this time.
I will mark this as a feature request for consideration in a future release. If your project is a proper React project, it may be possible to implement something like this. But that is outside the scope of Web Chat and would best be posted as a React question on Stack Overflow.

Thanks @stevkan


Quartz autoStartup too early

Jobs are starting before application is fully running. This tends to cause the application startup time to take longer than necessary and also can cause jobs to access code not fully ready for access. It may be advisable to move the autoStartup features of the Quartz plugin to a Bootstrap class instead of in the Plugin class events.

Not to diminish the issue, but you could use startDelay as a workaround, correct?

Not in JDBC clustered mode it assumed the delay has already been assessed
Sent from my iPhone

On Nov 1, 2016, at 5:28 PM, David Klebanoff<EMAIL_ADDRESS>wrote:
Not to diminish the issue, but you could use startDelay as a workaround, correct?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I can verify this happening to us as well but I don't have a good fix yet.

This fix with using onStartup requires at least grails 3.1.6 because it depends on this other fix: https://github.com/grails/grails-core/issues/9883

There is already a startupDelay implemented in SchedulerFactoryBean. One can configure it like this:
class Application extends GrailsAutoConfiguration {
  ...
  @Override
  Closure doWithSpring() {
    return { ->
      final quartzSchedulerDef = getBeanDefinition('quartzScheduler') as GenericBeanDefinition
      quartzSchedulerDef.propertyValues.addPropertyValue('startupDelay', TimeUnit.MINUTES.toSeconds(7))
    }
  }

has anyone tried that? So far I didn't find a problem with doing it this way.


Respect maxCanvasPixels when computing canvas dimensions

Closes https://github.com/mozilla/pdf.js/issues/18105
Review this PR disabling whitespace changes, since one of the existing tests is indented and it makes the diff quite confusing.

/botio-linux preview

/botio integrationtest

The "PDF viewer CSS-only zoom triggers when going bigger than maxCanvasPixels test correctly configured" failure means that the numbers I hard-coded don't work for these tests on the CI machine.
I picked them based on how big the Firefox/Chrome windows were on my machine when running the tests. Do you know:

how big the viewport is in the bot
if I can hard-coded a viewport size?

I'm not sure how big the viewport is on the bots, but in general I think we should probably set a fixed viewport size for the integration tests to eliminate any possible differences between configurations (since we also want everything to work correctly locally where window sizes might differ). Fortunately Puppeteer already seems to support this in the launch() call, refer to https://pptr.dev/api/puppeteer.browserconnectoptions#properties, and this should not cause other tests to fail (and if they do, we found an implicit dependency on the viewport size which we should then fix).

The default viewport property for the launch() call turns out to already be set at https://github.com/mozilla/pdf.js/blob/bb73d2a92240a5177268a652f400a98805f83682/test/test.mjs#L888 but it's set to null instead of a fixed value. That dates back to my initial commit that introduced Puppeteer, but I don't really know why I set it like that anymore... I would say that we can pick a standard value (maybe 1024x768 or 1280x1024) here which should be fine for any modern configuration.

Good point. Alternatively, instead of setting a fixed viewport, it might also be possible to dynamically determine the values in this PR based on the active viewport size which can be fetched using e.g. the approach from https://stackoverflow.com/questions/1248081/how-to-get-the-browser-viewport-dimensions? That way we keep the current viewport behavior while also having a way to adjust the values correctly.

It turns out that my test was not depending on the viewport dimensions :) The PDF size is guaranteed to be consistent, given that it's always reset to "50%" in beforeEach. However, given a fixed PDF size, the canvas size depends on the pixel ratio.
I changed the options to pass a maxCanvasPixels based on the pixel ratio, which solves this problem.

/botio integrationtest

/botio-linux preview

/botio test

Thank you for improving this!


Validate "standard transaction" rules derived from Bitcoin in the mempool

Motivation
zcashd has some "standard" transaction rules that are only applied to the mempool.
These are not consensus rules - they do not apply to transactions mined into blocks.
These rules exist to avoid denial of service risks. They might be less important to Zebra, because our mempool transaction validation is concurrent.
Standard Mempool Rules

we never altered from upstream MAX_STANDARD_TX_SIGOPS = MAX_BLOCK_SIGOPS / 5 which is 4000

https://discord.com/channels/809218587167293450/809251050741170187/905896958470803456
Any rejection rule inside AcceptToMemoryPool() that isn't simply a call to a consensus function is a non-standard rule:
https://github.com/zcash/zcash/blob/78ee3d735702fc2598572f73003e9b71a7abfdad/src/policy/policy.cpp
See also:
https://github.com/zcash/zcash/blob/edac70ba2f831a6d897a3f0228df735e2e71809c/src/main.cpp#L774-L801
https://github.com/zcash/zcash/blob/edac70ba2f831a6d897a3f0228df735e2e71809c/src/main.cpp#L1880-L1889
Bitcoin's reference is here, but the Zcash rules are different:
https://developer.bitcoin.org/devguide/transactions.html#non-standard-transactions
Designs
We might be able to enforce these rules via zebra_script.

These rules are not required.


How to fetch cached result manually

is there a way to fetch data manually from cached responses, i have a rest api binded to my discord bot , so if the bot is down the rest api goes down , the rest api contains data like commands , categories of commands , help of commands , etc etc , now when the vps is down for maintenance or if i am updating the bot , or for some cause the server is down i want to manually serve the cached response of my rest api , is it possible ?

I don't think this package will help you with that, if I understand your goal, because this package's purpose is caching to reduce HTTP requests, not as a backup cache to serve content when the source is unavailable.


UDF functions from system.functions table is not replicated when starting a new node

We have an issue where sometimes one of our Clickhouse nodes goes down and we need to bring in a new node, everything is being replicated as expected except those user-defined functions. To solve it we have to go through our migrations, gather those and execute them separately on the new node. What would be the best way to manage this?
How to reproduce

Add UDFs to system.functions table
Delete the pod with one of the replicas
On the new node there is not going to be UDS in the system.functions table

Expected behavior
I would expect UDFs to be present in the system.functions table

@xpolb01 , thank you, it is a known issue. We will accelerate the fix.

Thank you!


K8SSAND-1411 ⁃ Tests after merging should check e2e against all supported Cassandra types

What is missing?
Our e2e tests are run against 3.11.x / 4.0.x / dse, depending a bit on the test. We should modify this behavior to verify that all versions work for every test. However, this consumes too much time to do in each PR, so we should keep the PR tests targetting one version, such as 4.0.3 and then only smoke test against other versions.
When merged to main however, we should run the tests against all known versions (with ability to skip the test if the feature is not supported, such as FQL vs 3.11.x / DSE, or DSE features in OSS versions).
Why do we need it?
We might miss a bug (and have) that only affects certain versions. Occasionally Cassandra isn't backwards compatible.
Environment

Cass Operator version:
Insert image tag or Git SHA here

**Anything else we need to know?**:

┆Issue is synchronized with this Jira Task by Unito
┆friendlyId: K8SSAND-1411
┆priority: Medium

This is done


Plex Media Server not detected / find

Home Assistant release (hass --version):
Home Assistant package version 20150526-1
Python release (python3 --version):
Python 3.4.1-4
Component/platform:
Synology DS3615xs (Xpenology)
Description of problem:
HA doesn't recognize my Plex Media Server on a Synology NAS but detect my Philips Hue Light
http://d.pr/i/TTfA
My Plex Server IP Adress : <IP_ADDRESS>
http://d.pr/i/m287
home-assistant.log

01:18 14-11-16 homeassistant.loader: Unable to find component media_player.plex
01:18 14-11-16 homeassistant: hass.local_api is deprecated. Use hass.config.api
01:18 14-11-16 homeassistant: hass.local_api is deprecated. Use hass.config.api
01:18 14-11-16 homeassistant.components.recorder: Found unfinished sessions

Problem-relevant configuration.yaml entries and steps to reproduce:

homeassistant:
name: Home
temperature_unit: C
time_zone: Europe/Paris
light:
host: "<IP_ADDRESS>"
platform: hue
logbook: ~
media_player:
host: "<IP_ADDRESS>"
name: NAS-MEDIA2
username: myusername
password: mypass
platform: plex
port: 32400
frontend:
conversation:
history:

Are you running the latest version of HA? The current version (which can be found under developer tools) is 0.32.3.

Version:

package="homeassistant"
version="20150526-1"
description="Home Assistant is an open-source home automation platform running on Python 3. Track and control all devices at home and automate control."
arch="x86 bromolow cedarview avoton"
distributor="SynoCommunity"
distributor_url="http://synocommunity.com"
maintainer="SynoCommunity"
maintainer_url="http://synocommunity.com"
firmware="5.0-4458"
report_url="https://github.com/SynoCommunity/spksrc/issues"
reloadui=""
displayname="Home Assistant"
dsmuidir="app"
adminport="8123"
changelog="First release"
install_dep_packages="python3>=3.4.1-4:git"

It looks like this is building from @balloob's old git tree, which is not where the source is any more - https://github.com/SynoCommunity/spksrc/blob/master/spk/homeassistant/Makefile . I would not be surprised if this just doesn't have plex support in it at all.
You should file a bug with synocommunity to create a more modern version of the package.


md-checkbox selection vs native checkbox selection

Bug, feature request, or proposal:
The md-checkbox does not show check mark when clicking on it and binding to the checked property
What is the expected behavior?
When the md-checkbox is clicked it should show a check mark like the native checkbox
What is the current behavior?
When the md-checkbox is clicked it does not show a check mark like the native checkbox
What are the steps to reproduce?
Plunker template: http://plnkr.co/edit/XZkWga?p=preview
Click the md-checkbox's for selection; the selected id's is displayed but the check marks is not:

Working when native checkbox's clicked:

What is the use-case or motivation for changing an existing behavior?
My use-case is for the client to be able to select one or multiple items. When the user checks the checkbox's it will allow multiple selection, and when the user clicks on the label of the checkbox it will select only that item and clear the other selections:

Which versions of Angular, Material, OS, TypeScript, browsers are affected?
"@angular/core": "^4.3.1",
"@angular/cdk": "^2.0.0-beta.8",
"@angular/material": "^2.0.0-beta.8",
also tried with
"@angular/cdk": "github:angular/cdk-builds",
"@angular/material": "github:angular/material2-builds",

Here's the code to make it working:
<div *ngFor="let item of operationalItems" >
  <input type="checkbox" [checked]="item.selected" (click)="doMultiSelection($event, item.id)" />
  <md-checkbox [(ngModel)]="item.selected" (change)="doMultiSelection($event, item.id)">
    {{ item.desc }} {{item.selected}}
  </md-checkbox>
</div>


Doesn't compile in the latest wasmtime version 17.0.1

Hi!
As per title, doesn't compile in the latest wasmtime version 17.0.1.
Thanks,

Oh ofc, the API has been changed, you may want to reuse the same idea and apply it to the new wasmtime API, should not be that hard. The concept should still stay the same.