match: "UnexpectedResponse" when trying to do initial "match development"

New Issue Checklist

[ X ] Updated fastlane to the latest version
[ X ] I have read the Contribution Guidelines

Issue Description
Match gets a "UnexpectedResponse" when trying to run for the first time - we've tried "match development" & "match adhoc", both fail with the same message. "match init" was successful. We've setup a new Apple Developer account specifically for the purpose, and the account logs in to developer.apple.com successfully.
Complete output when running fastlane, including the stack trace and command used
SBB-MacBook-Pro:Rec.IT sbb.moko$ match development

+-----------------------+--------------------------------------------------------+
|                            Summary for match 0.3.0                             |
+-----------------------+--------------------------------------------------------+
| git_url               | https://bitbucket.org/mokosocialmedia/ios-provisioning |
| type                  | development                                            |
| username              |<EMAIL_ADDRESS>            |
| app_identifier        | com.mokosocialmedia.Rec-IT                             |
| keychain_name         | login.keychain                                         |
| readonly              | false                                                  |
| verbose               | false                                                  |
| force                 | false                                                  |
| shallow_clone         | true                                                   |
| force_for_new_devices | false                                                  |
+-----------------------+--------------------------------------------------------+

[16:06:01]: Cloning remote git repo...
[16:06:05]: 🔓  Successfully decrypted certificates repo
[16:06:05]: Verifying that the certificate and profile are still valid on the Dev Portal...
[16:06:35]: 🔒  Successfully encrypted certificates repo
Successfully submitted a crash report. If this is a problem with one of the tools specifically,
please submit an issue on GitHub and attach the following number to it: '1e822fd87ae30905dc710fa8de80ef09'
The crash report has been stored locally '/tmp/sentry_1e822fd87ae30905dc710fa8de80ef09.json'
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.22.0/lib/spaceship/client.rb:300:in `parse_response': [!] {"creationTimestamp"=>"2016-03-08T08:06:34Z", "resultCode"=>0, "userLocale"=>"en_US", "protocolVersion"=>"QH65B2", "requestUrl"=>"https://developerservices2.apple.com:443/services/QH65B2/listTeams.action", "responseId"=>"2e7e4d98-2a3f-4b47-8b8f-8203df49d928"} (Spaceship::Client::UnexpectedResponse)
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.22.0/lib/spaceship/portal/portal_client.rb:63:in `teams'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.22.0/lib/spaceship/portal/ui/select_team.rb:35:in `select_team'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.22.0/lib/spaceship/portal/portal_client.rb:79:in `select_team'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.22.0/lib/spaceship/portal/spaceship.rb:37:in `select_team'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.22.0/lib/spaceship/portal/spaceship.rb:81:in `select_team'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.3.0/lib/match/spaceship_ensure.rb:20:in `initialize'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.3.0/lib/match/runner.rb:11:in `new'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.3.0/lib/match/runner.rb:11:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.3.0/bin/match:52:in `block (3 levels) in run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.37.0/lib/fastlane_core/ui/fastlane_runner.rb:23:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.3.0/bin/match:108:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.3.0/bin/match:116:in `<top (required)>'
	from /usr/local/bin/match:23:in `load'
	from /usr/local/bin/match:23:in `<main>'

Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:
# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "1.37.0"

default_platform :ios

platform :ios do
  before_all do
  end

  desc "Bump build number, commit & push to remote"
  lane :incrementBuild do

    # Bump build number
    increment_build_number

    # Commit and push to remote
    commit_version_bump(
      message: 'Build number bump by fastlane - buildnumber lane',
      force: true
    )
    push_to_git_remote
  end

  desc "Deploy a new build via HockeyApp"
  lane :hockey do

    # Bump build number
    increment_build_number

    # Download and install the latest AdHoc profile
    sigh(
      adhoc: true,
      force: true,
      output_path: "./fastlane/provisioning"
    )

    # Set version number to the one at the top of the CHANGELOG
    readme = File.read("../CHANGELOG.md")
    latest_version = readme.split("\n## ").first
    first_line = latest_version.split("\n").first
    version_number = first_line.split(" ")[1]

    increment_version_number(
        version_number: version_number
    )

    # Generate release notes from CHANGELOG
    release_notes = latest_version.split("\n")[1..-1].join("\n")
    puts release_notes

    # Create the IPA file - save in Temp folder
    profileUDID = lane_context[SharedValues::SIGH_UDID]
    puts "Profile UUID: #{profileUDID}"
    gym(
      xcargs: "PROVISIONING_PROFILE=#{profileUDID}",
      scheme: "xxxxxxx",
      silent: true
    )

    # Deploy via HockeyApp
    markdown_type = '1'
    hockey(
      api_token: 'xxxxxxxxxxxxxxxxxxxxxxxxxxx',
      notes_type: markdown_type,
      notes: release_notes
    )

    # Make sure our directory is clean, except for changes Fastlane has made
    clean_build_artifacts

    # Commit and push to remote
    commit_version_bump(
      message: 'Build number bump by fastlane - hockey lane',
      force: true
    )
    push_to_git_remote
  end

  desc "Upload a new build to iTunesConnect"
  lane :itunes do

    # Bump build number
    increment_build_number

    # Make sure everything is committed
    ensure_git_status_clean

    # Download and install the latest App Store profile
    sigh(
      output_path: "~/Documents/Temp"
    )

    # Create the IPA file - save in Temp folder
    gym(
      scheme: 'xxxxxx',
      silent: true,
      output_directory: "~/Documents/Temp/"
    )

    # Just upload the build - do nothing else
    deliver(
      skip_screenshots: true,
      skip_metadata: true,
      automatic_release: false,
      submit_for_review: false
    )

    # Make sure our directory is clean, except for changes Fastlane has made
    clean_build_artifacts

    # Commit and push to remote
    commit_version_bump(
      message: 'Build Version Bump by fastlane',
      force: true
    )
    push_to_git_remote
  end

  after_all do |lane|
    # This block is called, only if the executed lane was successful
  end

  error do |lane, exception|
  end
end

Matchfile:
git_url "https://bitbucket.org/mokosocialmedia/ios-provisioning"

type "development" # The default type, can be: appstore, adhoc or development

app_identifier "com.mokosocialmedia.Rec-IT"
username<EMAIL_ADDRESS># Apple Developer Portal username

# For all available options run `match --help`

Environment
fastlane version (fastlane -v): v1.66.0
Do you use bundler, rbenv or rvm? NO

What happens if you set --team_name for match?

Hi @vpolouchkine. I get the same results if I explicitly name the team, or give the team_id - see output from both tries below. I also tried adding the team_id into the AppFile, but no change:
SBB-MacBook-Pro:Rec.IT sbb.moko$ match -b "78V574KDRJ"

+-----------------------+--------------------------------------------------------+
|                            Summary for match 0.3.0                             |
+-----------------------+--------------------------------------------------------+
| team_id               | 78V574KDRJ                                             |
| git_url               | https://bitbucket.org/mokosocialmedia/ios-provisioning |
| type                  | development                                            |
| app_identifier        | com.mokosocialmedia.Rec-IT                             |
| username              |<EMAIL_ADDRESS>            |
| keychain_name         | login.keychain                                         |
| readonly              | false                                                  |
| verbose               | false                                                  |
| force                 | false                                                  |
| shallow_clone         | true                                                   |
| force_for_new_devices | false                                                  |
+-----------------------+--------------------------------------------------------+

[14:56:48]: Cloning remote git repo...
[14:56:53]: 🔓  Successfully decrypted certificates repo
[14:56:53]: Verifying that the certificate and profile are still valid on the Dev Portal...
[14:57:23]: 🔒  Successfully encrypted certificates repo
Successfully submitted a crash report. If this is a problem with one of the tools specifically,
please submit an issue on GitHub and attach the following number to it: 'c3defd42bf31b7839729c2207690c8d8'
The crash report has been stored locally '/tmp/sentry_c3defd42bf31b7839729c2207690c8d8.json'
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.22.0/lib/spaceship/client.rb:300:in `parse_response': [!] {"creationTimestamp"=>"2016-03-09T06:57:22Z", "resultCode"=>0, "userLocale"=>"en_US", "protocolVersion"=>"QH65B2", "requestUrl"=>"https://developerservices2.apple.com:443/services/QH65B2/listTeams.action", "responseId"=>"8a087995-13e7-4160-9263-acf7d943aace"} (Spaceship::Client::UnexpectedResponse)
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.22.0/lib/spaceship/portal/portal_client.rb:63:in `teams'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.22.0/lib/spaceship/portal/ui/select_team.rb:35:in `select_team'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.22.0/lib/spaceship/portal/portal_client.rb:79:in `select_team'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.22.0/lib/spaceship/portal/spaceship.rb:37:in `select_team'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.22.0/lib/spaceship/portal/spaceship.rb:81:in `select_team'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.3.0/lib/match/spaceship_ensure.rb:20:in `initialize'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.3.0/lib/match/runner.rb:11:in `new'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.3.0/lib/match/runner.rb:11:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.3.0/bin/match:39:in `block (2 levels) in run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.37.0/lib/fastlane_core/ui/fastlane_runner.rb:23:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.3.0/bin/match:108:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.3.0/bin/match:116:in `<top (required)>'
	from /usr/local/bin/match:23:in `load'
	from /usr/local/bin/match:23:in `<main>'
SBB-MacBook-Pro:Rec.IT sbb.moko$ match --team_name "Moko Social Media Limited"

+-----------------------+--------------------------------------------------------+
|                            Summary for match 0.3.0                             |
+-----------------------+--------------------------------------------------------+
| team_name             | Moko Social Media Limited                              |
| git_url               | https://bitbucket.org/mokosocialmedia/ios-provisioning |
| type                  | development                                            |
| app_identifier        | com.mokosocialmedia.Rec-IT                             |
| username              |<EMAIL_ADDRESS>            |
| keychain_name         | login.keychain                                         |
| readonly              | false                                                  |
| team_id               | 78V574KDRJ                                             |
| verbose               | false                                                  |
| force                 | false                                                  |
| shallow_clone         | true                                                   |
| force_for_new_devices | false                                                  |
+-----------------------+--------------------------------------------------------+

[15:09:45]: Cloning remote git repo...
[15:09:49]: 🔓  Successfully decrypted certificates repo
[15:09:49]: Verifying that the certificate and profile are still valid on the Dev Portal...
[15:10:17]: 🔒  Successfully encrypted certificates repo
Successfully submitted a crash report. If this is a problem with one of the tools specifically,
please submit an issue on GitHub and attach the following number to it: '6ce0720eb2fb86d391b3c5584565a32d'
The crash report has been stored locally '/tmp/sentry_6ce0720eb2fb86d391b3c5584565a32d.json'
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.22.0/lib/spaceship/client.rb:300:in `parse_response': [!] {"creationTimestamp"=>"2016-03-09T07:10:16Z", "resultCode"=>0, "userLocale"=>"en_US", "protocolVersion"=>"QH65B2", "requestUrl"=>"https://developerservices2.apple.com:443/services/QH65B2/listTeams.action", "responseId"=>"6cf042d1-75ff-41ec-91b8-8cd6402627ca"} (Spaceship::Client::UnexpectedResponse)
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.22.0/lib/spaceship/portal/portal_client.rb:63:in `teams'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.22.0/lib/spaceship/portal/ui/select_team.rb:35:in `select_team'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.22.0/lib/spaceship/portal/portal_client.rb:79:in `select_team'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.22.0/lib/spaceship/portal/spaceship.rb:37:in `select_team'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.22.0/lib/spaceship/portal/spaceship.rb:81:in `select_team'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.3.0/lib/match/spaceship_ensure.rb:20:in `initialize'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.3.0/lib/match/runner.rb:11:in `new'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.3.0/lib/match/runner.rb:11:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.3.0/bin/match:39:in `block (2 levels) in run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.37.0/lib/fastlane_core/ui/fastlane_runner.rb:23:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.3.0/bin/match:108:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.3.0/bin/match:116:in `<top (required)>'
	from /usr/local/bin/match:23:in `load'
	from /usr/local/bin/match:23:in `<main>'

Same exception + stack trying to select teams as #3891

I think I've found the cause of this (at least in my particular case).
The email address used to login to Apple Developer console has a "+" in it e.g. "appledev+provisioning@".
I tried with a normal address without the +, and it worked fine. Perhaps it is an issue with the escaping of the "+" character in the email address?

Thanks for following up @siburb! Can you let me know if you are still seeing this issue if you update your tools? We pushed an update last night for password characters and it should impact your email as well. Let me know how it's going :+1:

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain zyapps.com has exceeded the max emails per hour (454/400 (113%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext6.iad.github.net ([<IP_ADDRESS>]:60948 helo=github-smtp2b-ext-cp1-prd.iad.github.net)
by serveur.ex2-p10.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.87)
(envelope-from<EMAIL_ADDRESS>id 1bEKsk-002lQa-VH
for<EMAIL_ADDRESS>Sat, 18 Jun 2016 20:22:15 +0200
Date: Sat, 18 Jun 2016 11:21:29 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1466274089;
bh=mSFcZ8k5O33obeOf5uFOh+QlhdqKoRO95Z5wFyeJRhM=;
h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=ua5mBVnqSkLQAs8b2VYw/VtYLQDXn7wadUkpRxEVQhlGRcaLKkE/Zbedc0XOFbfI8
OE51JPHtS9vwk/ocdLJvhYtKiM+NzIsTYT+E2Eey0J807BUwKduoHexoQ5kEwKI4fR
rJ6wNGMEWgRvljum2A5IXaWZuNaZlMNnleL9sXnQ=
From: fastlane bot<EMAIL_ADDRESS>Reply-To: fastlane/fastlane<EMAIL_ADDRESS>To: fastlane/fastlane<EMAIL_ADDRESS>Cc:
Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [fastlane/fastlane] match: "UnexpectedResponse" when trying to do
initial "match development" (#3603)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_57659129a0210_7d3a3fe93e43729c11671e";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: fastlane-bot
X-GitHub-Recipient: yanndupuy
List-ID: fastlane/fastlane <fastlane.fastlane.github.com>
List-Archive: https://github.com/fastlane/fastlane
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AA3w3DaiGeXSuCa9N8SnxbgqMrVGiyXeks5qNDcpgaJpZM4Hri0K
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>X-Spam-Status: No, score=-4.1
X-Spam-Score: -40
X-Spam-Bar: ----
X-Ham-Report: Spam detection software, running on the system "serveur.ex2-p10.com",
has NOT identified this incoming email as spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
root@localhost for details.
Content preview:  This issue will be auto-closed because there hasn't been any
activity for a few months. Feel free to open a new one
if you still experience this problem 👍 [...]
Content analysis details:   (-4.1 points, 5.0 required)
pts rule name              description

-5.0 RCVD_IN_DNSWL_HI       RBL: Sender listed at http://www.dnswl.org/, high
trust
[<IP_ADDRESS> listed in list.dnswl.org]
-0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
[<IP_ADDRESS> listed in wl.mailspike.net]
-0.0 SPF_PASS               SPF: sender matches SPF record
0.0 HTML_MESSAGE           BODY: HTML included in message
1.0 HTML_IMAGE_ONLY_16     BODY: HTML: images with 1200-1600 bytes of words
-0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
-0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's
domain
0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
X-Spam-Flag: NO
----==_mimepart_57659129a0210_7d3a3fe93e43729c11671e
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
This issue will be auto-closed because there hasn't been any activity for=
a few months. Feel free to [open a new one](https://github.com/fastlane/=
fastlane/issues/new) if you still experience this problem =F0=9F=91=8D

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/fastlane/fastlane/issues/3603#issuecomment-226957346=
----==_mimepart_57659129a0210_7d3a3fe93e43729c11671e
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
This issue will be auto-closed because there hasn't been any activity =
for a few months. Feel free to open a new one if you still experience this problem=
 =F0=9F=91=8D
&m=
dash;You are receiving this because you are subscribed to this thre=
ad.Reply to this email directly, view it on GitHub, =
or mute the thread.

----==_mimepart_57659129a0210_7d3a3fe93e43729c11671e--

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain zyapps.com has exceeded the max emails per hour (455/400 (113%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext2.iad.github.net ([<IP_ADDRESS>]:60971 helo=github-smtp2b-ext-cp1-prd.iad.github.net)
by serveur.ex2-p10.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.87)
(envelope-from<EMAIL_ADDRESS>id 1bEKsl-002lQe-1M
for<EMAIL_ADDRESS>Sat, 18 Jun 2016 20:22:16 +0200
Date: Sat, 18 Jun 2016 11:21:29 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1466274089;
bh=nTKqBGoG55ADUVYWU7Ud57XtutmTZTuoBPN1prkgajg=;
h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=bTwhAybFzwiesrO87qlUdGs7Wkd2Vk5iyLMEK0G1KjJXU49UywjK3xwxfSc/wnsVu
PLbYwcfxXuJXaAerk37oGCHPBpJGLikcpdcHB2e2Q/CQdhzAEE4M4Szu/NWiDJSZu7
QzRa2bS0tJsv4GgbCzzLvcdWZzAtLAOwsC2uNKF0=
From: fastlane bot<EMAIL_ADDRESS>Reply-To: fastlane/fastlane<EMAIL_ADDRESS>To: fastlane/fastlane<EMAIL_ADDRESS>Cc:
Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [fastlane/fastlane] match: "UnexpectedResponse" when trying to do
initial "match development" (#3603)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_57659129c6e8f_5be53f878aff92bc26347f";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: fastlane-bot
X-GitHub-Recipient: yanndupuy
List-ID: fastlane/fastlane <fastlane.fastlane.github.com>
List-Archive: https://github.com/fastlane/fastlane
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AA3w3DaiGeXSuCa9N8SnxbgqMrVGiyXeks5qNDcpgaJpZM4Hri0K
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>X-Spam-Status: No, score=-4.1
X-Spam-Score: -40
X-Spam-Bar: ----
X-Ham-Report: Spam detection software, running on the system "serveur.ex2-p10.com",
has NOT identified this incoming email as spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
root@localhost for details.
Content preview:  Closed #3603. --- You are receiving this because you are subscribed
to this thread. Reply to this email directly or view it on GitHub: https://github.com/fastlane/fastlane/issues/3603#event-696784867
[...]
Content analysis details:   (-4.1 points, 5.0 required)
pts rule name              description

-5.0 RCVD_IN_DNSWL_HI       RBL: Sender listed at http://www.dnswl.org/, high
trust
[<IP_ADDRESS> listed in list.dnswl.org]
-0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
[<IP_ADDRESS> listed in wl.mailspike.net]
-0.0 SPF_PASS               SPF: sender matches SPF record
0.0 HTML_MESSAGE           BODY: HTML included in message
1.0 HTML_IMAGE_ONLY_16     BODY: HTML: images with 1200-1600 bytes of words
-0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
-0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's
domain
0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
X-Spam-Flag: NO
----==_mimepart_57659129c6e8f_5be53f878aff92bc26347f
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #3603.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/fastlane/fastlane/issues/3603#event-696784867
----==_mimepart_57659129c6e8f_5be53f878aff92bc26347f
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #3603.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

----==_mimepart_57659129c6e8f_5be53f878aff92bc26347f--


[BUG] java.lang.NullPointerException: Attempt to invoke interface method 'boolean java.util.concurrent.ScheduledFuture.cancel(boolean)' on a null object reference

Reproduction steps
Unknown what triggers this. I hit it a couple times a week.
2023-05-17 18:36:28.971  9950-10039 AndroidRuntime          com.lowpan.m2                        E  FATAL EXCEPTION: NsdManager
                                                                                Process: com.lowpan.m2, PID: 9950
                                                                                java.lang.NullPointerException: Attempt to invoke interface method 'boolean java.util.concurrent.ScheduledFuture.cancel(boolean)' on a null object reference
                                                                                at chip.platform.NsdServiceFinderAndResolver.onServiceFound(NsdServiceFinderAndResolver.java:102)
                                                                                at android.net.nsd.NsdManager$ServiceHandler.lambda$handleMessage$2(NsdManager.java:694)
                                                                                at android.net.nsd.NsdManager$ServiceHandler$$ExternalSyntheticLambda4.run(Unknown Source:4)
                                                                                at android.net.nsd.NsdManager$$ExternalSyntheticLambda0.execute(Unknown Source:0)
                                                                                at android.net.nsd.NsdManager$ServiceHandler.handleMessage(NsdManager.java:694)
                                                                                at android.os.Handler.dispatchMessage(Handler.java:106)
                                                                                at android.os.Looper.loopOnce(Looper.java:201)
                                                                                at android.os.Looper.loop(Looper.java:288)
                                                                                at android.os.HandlerThread.run(HandlerThread.java:67)

This line "if (stopDiscoveryRunnable.cancel(false)) {" is not checking to ensure stopDiscoveryRunnable is not null first before using it.
  @Override
  public void onServiceFound(NsdServiceInfo service) {
    if (targetServiceInfo.getServiceName().equals(service.getServiceName())) {
      Log.d(TAG, "onServiceFound: found target service " + service);

      if (stopDiscoveryRunnable.cancel(false)) {
        nsdManager.stopServiceDiscovery(this);
        if (multicastLock.isHeld()) {
          multicastLock.release();
        }
      }

      if (nsdManagerResolverAvailState != null) {
        nsdManagerResolverAvailState.acquireResolver();
      }

      resolveService(service, callbackHandle, contextHandle, chipMdnsCallback, timeoutRunnable);
    } else {
      Log.d(TAG, "onServiceFound: found service not a target for resolution, ignoring " + service);
    }
  }

Bug prevalence
2-3 times a week
GitHub hash of the SDK that was being used
bd17b9f52f41eeac5aaa74c1ecf3a76e06dd6958
Platform
android
Platform Version(s)
No response
Anything else?
No response

I can't tell you exactly as I haven't checked this issue, but it seems the 2 code locations below need to be changed.
Just looking at the log, it is judged that onServiceFound is called immediately after discoverServices, so it is thought that stopDiscoveryRunnable should be set first before discoverServices called.
https://github.com/project-chip/connectedhomeip/blob/master/src/platform/android/java/chip/platform/NsdServiceFinderAndResolver.java#L74
https://github.com/project-chip/connectedhomeip/blob/master/src/platform/android/java/chip/platform/NsdServiceFinderAndResolver.java#L78
@yunhanw-google @yufengwangca
What is your opinion?

This bug appears to be some kind of small timing window. I can run this code hundreds of times and never hit this. Then I will hit it once. Then it will work again for another hundred times.

Not sure, but this seems to be correlated to bringing app out of the background up to foreground on Android.  I was working on my app, I got a notice about important email, I looked at the email. Then I went back to CHIP app -- bang I hit it.
Have MDNS messages piled up while the CHIP app was in background, then when I brought it to foreground they were processed in this vulnerable window?

@sharadb-amazon any idea for this one?


Is it possible for imagemagick to draw font like .ttc/woff?

@aeghn I am not sure. I dont know much about imagemagick, sorry

@aeghn
I have not tried, have you tried?
it seemed not in 2016 but a python script was written for woff to ttf conversion here

@myselfhimself Thanks for the reply, but I think fontpreview as a font previewer which should get the image without transforming the font format, so I'm here to ask can we view various fonts by using convert or to find another tool to draw the images.

hello
ImageMagick links to Freetype, a C library that can render WOFF 2 fonts
since may 2020 and WOFF 1 since 2013: https://www.freetype.org/ (see
version FreeType 2.10.2)
tried converting a woff font ubuntu 19.04:
convert Originals\ is\ Out.woff a.png
convert-im6.q16: no decode delegate for this image format WOFF' @ error/constitute.c/ReadImage/560. convert-im6.q16: no images defined a.png' @
error/convert.c/ConvertImageCommand/3258.
Here is my image magick version:
Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
Copyright: © 1999-2019 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib djvu fftw fontconfig freetype jbig jng jpeg
lcms lqr ltdl lzma openexr pangocairo png tiff webp wmf x xml zlib
st 24. 6. 2020 v 17:53 odesílatel wangz<EMAIL_ADDRESS>napsal:

@myselfhimself https://github.com/myselfhimself Thanks for the reply,
but I think fontpreview as a font previewer which should get the image
without transforming the font format, so I'm here to ask can we view
various fonts by using convert or to find another tool to draw the images.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sdushantha/fontpreview/issues/43#issuecomment-648906231,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJU5QUTOWB5FNQX7ADH6MDRYIOODANCNFSM4OGSMGMQ
.

Image magick master branch seems to have eg. OTF support but no WOFF support
https://github.com/ImageMagick/ImageMagick/search?q=otf&unscoped_q=otf
https://github.com/ImageMagick/ImageMagick/search?q=woff&unscoped_q=woff
so even if Freetype would support rendering, ImageMagick has nothing to
allow it obviously
st 24. 6. 2020 v 22:03 odesílatel Jonathan-David SCHRODER <
<EMAIL_ADDRESS>napsal:

hello
ImageMagick links to Freetype, a C library that can render WOFF 2 fonts
since may 2020 and WOFF 1 since 2013: https://www.freetype.org/ (see
version FreeType 2.10.2)
tried converting a woff font ubuntu 19.04:
convert Originals\ is\ Out.woff a.png
convert-im6.q16: no decode delegate for this image format WOFF' @ error/constitute.c/ReadImage/560. convert-im6.q16: no images defined a.png' @
error/convert.c/ConvertImageCommand/3258.
Here is my image magick version:
Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
Copyright: © 1999-2019 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib djvu fftw fontconfig freetype jbig jng jpeg
lcms lqr ltdl lzma openexr pangocairo png tiff webp wmf x xml zlib
st 24. 6. 2020 v 17:53 odesílatel wangz<EMAIL_ADDRESS>napsal:

@myselfhimself https://github.com/myselfhimself Thanks for the reply,
but I think fontpreview as a font previewer which should get the image
without transforming the font format, so I'm here to ask can we view
various fonts by using convert or to find another tool to draw the images.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sdushantha/fontpreview/issues/43#issuecomment-648906231,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJU5QUTOWB5FNQX7ADH6MDRYIOODANCNFSM4OGSMGMQ
.


Constructor if AutoIncrement field is present

Hi!
The example in the documentation (https://iskyd.github.io/Wasabi.jl/stable/) doesn't compile.
The error shown is

ERROR: MethodError: no method matching User(::String)
Closest candidates are:
User(::Any, ::Any)
User(::Union{Nothing, AutoIncrement}, ::String)

referring to the row user = User("John Doe") because the constructor misses the argument for the autoincrementing id field

Hi @TnTo , thanks for pointing this out!
I think that we have two options available here:

we can simply pass Nothing as the first argument -> user = User("John Doe")
we can add a constructor to the user struct

mutable struct User <: Wasabi.Model
    id::Union{Nothing, AutoIncrement}
    name::String
   User(name::String) = new(nothing, name)
end

What do you think?


NyaaPantsu doesn't seem to work

I have this error from Chrome "NET::ERR_CERT_COMMON_NAME_INVALID" on all my computers/phone when I want to access to nyaa.pantsu.cat .
Already flushed my dns, emptied my cache and tried on different wifi router. So I don't think that's me :)
EDIT :
Here are the ssl test from another third party website : https://www.ssllabs.com/ssltest/analyze.html?d=pantsu.cat
https://www.ssllabs.com/ssltest/analyze.html?d=nyaa.pantsu.cat
They say, they can't resolve domain name

Add link :
http://www.isitdownrightnow.com/nyaa.pantsu.cat.html
Seems down for everyone

problem seems to be because HSTS is activated with a self-signed certificate.
Admin needs to either deactivate HSTS or change SSL certificate to a recognized one (letsencrypt for example).

週刊少年マガジンをリスティングしたからこうなったんだよ。
最初は、週刊少年ジャンプを一旦リスティングした後で消してたよね？
あの時、警告したはずだが。
nyaa.siに勝ちたかったのかもしれんんが…調子にのるなクズ。
閉鎖してもリアルで追い込んでやっからならゴミチャイナｗｗｗｗｗｗｗｗｗｗｗｗｗｗｗｗ

https://nyoo.moe/ is working fine tho.

The server is responding. Maybe it's a bad configuration?

I'm getting a slightly different error:
nyaa.pantsu.cat uses an invalid security certificate.

The certificate is not trusted because it is self-signed.
The certificate is only valid for Plesk

(Error code: sec_error_unknown_issuer)

Not for nothing, but its quite simple to install certbot (https://certbot.eff.org/).  I use it on my own server.

The issue has been solved, there was a problem on the domain registrar end that we could not fix. We are now waiting for Cloudflare to issue a SSL certificate.


Previewer

Hello there.
I've forked your repo to adapt it a little bit in my tui file explorer. ATM all I need is a way to prevent the terminal to be reset before leaving.
I used to include skim as a fuzzy finder, since I was using the same tui crate (tuikit) from the same author.
Those crates aren't maintained anymore and I wanted to switch to Crossterm.
Migrating skim to Crossterm is possible but will require A LOT of work.
So here I am.
The only thing I miss is a file previewer.
fzf & skim allow previewing of files in the picker which is very nice.
Previewing is done with an external previewer (bat, cat, whatever) and parsed into the tui.
It means parsing ansi strings and displaying them, which is done well in some crates like skim (I already adapted it to Crossterm).
It would be a major update of your project. Have you consider it ?

I'm glad you find this crate to be useful!
Unfortunately, shelling out to an external previewer (like bat or cat, as you suggest) is certainly beyond the scope of this crate. At a very fundamental level, this crate is generic over the match type.
On the other hand, it would be sensible to expose some sort of "previewer"-type API inside the picker. This could take the form of a callback which is called by the viewer implementation when the match corresponding to the highlighted row is highlighted. The callback would, I suppose, be supplied with a reference to object corresponding to the highlighted row, the previewer window dimensions, and a mutable reference to a byte buffer which it can fill.
The main performance consideration is that the callback should not block rendering in the main loop. Especially with a use case like shelling out, this can potentially be quite slow. I suppose the screen rendering could be cached, but I would leave such details to the caller implementation.
I don't have time to implement this myself for the foreseeable future (i.e. the next 3-4 months) but I think it would be a great feature! I would be happy to implement this myself later on when I have more time, since I think it is useful more generally.
If you're keen to implement this yourself, I am happy to consider PRs if I believe the implementation lines up with how I see this crate going forward in the future.

@qkzk I've started to think about the previewer implementation a bit now; can you quickly summarize the way in which you would use a previewer?
Note that there are some things that I am not planning to implement: anything involving ANSI string parsing (there are lots of crates to do this for you, e.g. avt has a nice ansi parser).
The general shape of the API that I am considering is something like
pub trait Preview<T> {
    /// Backing data for the previewed content.
    type Buffer;

    /// Load backing data.
    fn load(&self, item: &T, buffer: &mut Self::Buffer);

    /// Generate the preview.
    fn preview<'a>(
        &self,
        item: &'a T,
        buffer: &'a Self::Buffer,
        screen: &mut [Vec<StyledContent<Cow<'a, str>>>]
    );

In the end, I think it is better if nucleo-picker manages caching. The reasons for this are (1) that it is somewhat subtle to get right, especially multi-threaded caching, and (2) nucleo-picker can use pre-empting heuristics to generate the previewed content in advance.
As for the reason behind the decoupled load and preview functions: load is potentially slow (e.g. a filesystem read, external process call) whereas preview just generates the preview screen after the data is already loaded. Therefore loading will be done in the background (and split across multiple threads), whereas rendering must happen in the main render loop, so the calls need to be decoupled. Implementations which do not require loading data (e.g. a previewer which only uses data already internal to T) can just use type Buffer = () and a load implementation which is a no-op.
This API shape is quite crude, and e.g. currently does not permit usage patterns such as an external process call in an optimal way, since you don't want to startup a new std::process::Command each time but rather initialize a few up-front and then reuse them for each call. Before deciding on the actual API shape I will implement a few examples (e.g. file previewer using std::fs, file previewer using external command such as bat, and previewer which does not require pre-loading) and see where it goes from there.
By the way, reading your comment r.e. not clearing the terminal on exit, would it be useful if the previewer implemented ratatui::widget::StatefulWidget?

Hello,
I came up to something similar while writing a file previewer for a TUI file manager.
the process looks like this :

extract the file kind (char device, block device, socket, regular file, symbolic link, directory whatever)
for regular files extract the extension
pick a previewer from the last steps (most of the time it's a external command and a bunch of arguments)
build the preview (a block of text)
render in a window with some info ("previewed as a binary file")

As you mentioned the building can be very slow and shouldn't block anything else.
Since I try to preview every kind of file, including images/pdfs/videos... I decided to split preview building from preview rendering & navigation since it lead to a lot of code.
Depending on the non blocking method you pick (async, threads ...) the "attachment" process is different. One way is to have a separate thread with a mpsc reader in a loop for building which waits for preview builder results and attach it somewhere. Obviously it consumes a lot of ressources...
I couldn't find a perfect solution and I'm still looking for one. The yazi file manager does it another way, it has a work pool and everything is async.
Hope it helps !

Hi, thanks for the comments! Glad to hear you've had the same thoughts as me r.e. the preview implementation and decoupled loading / screen rendering.
I spent a bit of time skimming through yazi; in the end I don't think we need full async to obtain robust performance (filesystem operations don't really benefit from async vs. usual threadpool without platform specific optimizations like io_uring). I think the key optimizations of yazi is preview pre-empting, and from the user perspective this is what makes it feel the fastest.
The plan is to have a threadpool of preview workers, with multiple 'work' queues with different priority, and for the worker threads (when not busy) to prioritize the higher priority queues. But I think from the end user this will essentially be invisible (a Preview implementation will simply describe how a single worker should load the backing data, and the threading implementation purely an implementation detail).
Unfortunately I really do not know anything about what it would take to make image rendering work so that's something to think about some time in the future. For now I will only support text-based previewers. I hope to have a working prototype some time soon!

Hello,
image rendering in the terminal is a mess.
In the past we had ueberzug which creates a window over the terminal and works in X. It was quite simple.
It's not maintained anymore and a ueberzug++ is the preferred candidate.
But... there's also the terminal emulator Kitty which is quite popular and render images directly.
...
Wait, there's more ! You can also render images as ascii with various libraries like sixel or chafa.


Shorten length of Project Title

User Story
As an applicant
I want my project title to be limited to the correct character limits
so that I don't go over what I was instructed to do.
Acceptance Criteria

[ ] Set maxLength of the project title to 200 characters
[ ] Scenario: wrap long title in dashboard
Given that an applicant has provided an application title
when their application title is longer than 400px in the dashboard
then it will wrap underneath with 8px spacing between lines

Hey team! Please add your planning poker estimate with Zenhub @AntBush @marcellmueller @matthieu-foucault @wenzowski

@elliottSlee @zoeyli-46 would you mind taking a look to see if need this ticket?  from my look at the test env it seems we already have 200 character limit and text wrapping implemented. I think some of that may have happened as part of another ticket

I don't think we do. I realized the problem of the expanding width of the dashboard table is when there are no breaks/spaces. It starts to expand beyond the normal table limits at about 76 characters. I'm doubtful that there are any words that'll be that long. I skimmed the geonames list and didn't see anything extremely long there.

I see what you mean about not having spaces.
but we have the 200 character limit right? so perhaps this is an edge case and we don't need to prioritize it for next sprint....

We do have a 200 character limit. So I don't think anything needs to be done.

@MarsRomer @elliottSlee can we close this ticket then or is there anything you would like for us to update?

@marcellmueller we need to have the project title text in the dashboard to wrap if they enter in a long string without any spaces in it.  Currently it wraps fine if there are spaces in the text, but if there aren't any spaces then it extends that column.  Please only do this if it's a super quick fix, this is an edge case and not a high priority anymore.

@marcellmueller , would you mind assigning yourself to this card?


problemMatcher vs zero-based column values

VSCode Version: 1.2.1
OS Version: Windows 10

I'm trying to parse error messages of OCaml compiler like this:
File "test.ml", line 1, characters 0-1:
Error: Syntax error

with a a following problemMatcher:
"problemMatcher": {
    "owner": "ocaml",
    "fileLocation": ["relative", "${fileDirname}"],
    "pattern": [
        {
            "regexp": "^File \"(.*)\", line (\\d+), characters (\\d+)-(\\d+):$",
            "file": 1,
            "line": 2,
            "column": 3,
            "endColumn": 4
        },
        {
            "regexp": "^(Warning|Error):\\s+(.*)$",
            "severity": 1
            "message": 2
        }
    ]
}

Column range of error (characters 0-1) is zero-based while VS Code expects that column numbers starts from one; so I have an error marker in VS Code shifted one position to left
Is it possible to add additional problemMatcher property to correctly handle this case?

any plan on this issue? thanks

Not for the November/December release.


Action doesn't properly retag/push multi-arch images

Here it only pushes the image sha256:b7668e756aabb86369fde2a5e38f9d477b5fb75374e42b8611f6fa9d49b4c76c (amd64) dropping sha256:27495c4423c6d85a4fab5943b045f6f27906f08a218430bb0c858e352d3678f9 (arm64) entirely.
> Run docker pull ghcr.io/devnoname120/bridge-manager:42c8a5ccda3febb51b9a33a9ab3f0f938ca058ad
42c8a5ccda3febb51b9a33a9ab3f0f938ca058ad: Pulling from devnoname120/bridge-manager

[…]

Digest: sha256:27495c4423c6d85a4fab5943b045f6f27906f08a218430bb0c858e352d3678f9
Status: Downloaded newer image for ghcr.io/devnoname120/bridge-manager:42c8a5ccda3febb51b9a33a9ab3f0f938ca058ad
ghcr.io/devnoname120/bridge-manager:42c8a5ccda3febb51b9a33a9ab3f0f938ca058ad

> Run docker tag ghcr.io/devnoname120/bridge-manager:42c8a5ccda3febb51b9a33a9ab3f0f938ca058ad ghcr.io/devnoname120/bridge-manager:latest

[…]

> Run docker push ghcr.io/devnoname120/bridge-manager:latest

[…]

latest: digest: sha256:b7668e756aabb86369fde2a5e38f9d477b5fb75374e42b8611f6fa9d49b4c76c size: 1999

https://github.com/devnoname120/bridge-manager/actions/runs/12237224918/job/34133496623

I'm not entirely sure why we need to do the retag in a separate action but if we keep this then I suspect that the solution would be to manually pull each platform separately (docker pull only pulls for the local platform), and then use build imagetools to actually retag it:
docker buildx imagetools create -t ${{ inputs.image }}:${{ github.sha }} ${{ inputs.image }}:latest

IMO it's awkward and it would be much easier to (conditionally) retag to :latest in a step after the build rather than in a separate action (the one in this repository).

Related: https://github.com/beeper/bridge-manager/pull/31


Tutorials broken since move to new build process

apparently the build flattens the folder structure of the tutorials and thus renders all relative URIs to the respective resources invalid.

Jekyll reports a conflict:
Generating...
[101](https://github.com/rettinghaus/music-encoding.github.io/actions/runs/3242797360/jobs/5316595112#step:5:102)
          Conflict: The following destination is shared by multiple files.
[102](https://github.com/rettinghaus/music-encoding.github.io/actions/runs/3242797360/jobs/5316595112#step:5:103)
                    The written file may end up with unexpected contents.
[103](https://github.com/rettinghaus/music-encoding.github.io/actions/runs/3242797360/jobs/5316595112#step:5:104)
                    /github/jekyll_build/tutorials/tutorials.xml
[104](https://github.com/rettinghaus/music-encoding.github.io/actions/runs/3242797360/jobs/5316595112#step:5:105)
                     - /github/workspace/_tutorials/199_tutorials/tutorials.xml
[105](https://github.com/rettinghaus/music-encoding.github.io/actions/runs/3242797360/jobs/5316595112#step:5:106)
                     - /github/workspace/_tutorials/180_understanding-odd/tutorials.xml
[106](https://github.com/rettinghaus/music-encoding.github.io/actions/runs/3242797360/jobs/5316595112#step:5:107)

[107](https://github.com/rettinghaus/music-encoding.github.io/actions/runs/3242797360/jobs/5316595112#step:5:108)
          Conflict: The following destination is shared by multiple files.
[108](https://github.com/rettinghaus/music-encoding.github.io/actions/runs/3242797360/jobs/5316595112#step:5:109)
                    The written file may end up with unexpected contents.
[109](https://github.com/rettinghaus/music-encoding.github.io/actions/runs/3242797360/jobs/5316595112#step:5:110)
                    /github/jekyll_build/tutorials/just-a-name.xml
[110](https://github.com/rettinghaus/music-encoding.github.io/actions/runs/3242797360/jobs/5316595112#step:5:111)
                     - /github/workspace/_tutorials/199_tutorials/just-a-name.xml
[111](https://github.com/rettinghaus/music-encoding.github.io/actions/runs/3242797360/jobs/5316595112#step:5:112)
                     - /github/workspace/_tutorials/180_understanding-odd/just-a-name.xml
[112](https://github.com/rettinghaus/music-encoding.github.io/actions/runs/3242797360/jobs/5316595112#step:5:113)

[113](https://github.com/rettinghaus/music-encoding.github.io/actions/runs/3242797360/jobs/5316595112#step:5:114)
                    done in 2.599 seconds.
[114](https://github.com/rettinghaus/music-encoding.github.io/actions/runs/3242797360/jobs/5316595112#step:5:115)

closed with #394


Use google-auth-library

https://github.com/google/google-auth-library-php

https://github.com/google/google-auth-library-php/pull/84 helps get us on track with this

The changes were merged into master, closing this out.


eslint: Remove no-new rule.

This removes the no-new rule which is relatively detrimental to
code cleanliness in our codebase because third-party libraries may
utilize data structures that don't fly well with our linting rules.
This also fixes abstractions that were created due to the limitations
and impositions of this lint rule.

Automated message from Dropbox CLA bot
@brockwhittaker, it looks like you've already signed the Dropbox CLA. Thanks!

Looks good, we can merge one tests pass.

Tests passed!


Code blocks

Code blocks in RST don't seem to get highlighted properly, eg:
Title
========

.. code-block:: python

    print("hello world")  # This is not highlighted.

This sample clearly has some Python code in it. Is support for that something that needs to happen in this tree-sitter, or in the queries in nvim-treesitter?

@WhyNotHugo hi, sorry for the late reply, injections are handled on the nvim-treesitter. The code-block directive is sphinx specific, that's why I haven't included them in the queries from nvim-treesitter, I do maintain those queries in another repo https://github.com/stsewd/sphinx.nvim/blob/feb8ca4b58d27f14b51aad007090ad6c4195fd06/after/queries/rst/injections.scm#L15-L19

How about merging those queries into nvim-treesitter?
While they're not rst-standard, I can't image that being a problem. Worst-case scenario, it provides highlighting to someone who's typed that tag in a non-sphinx rst, which seems like a very odd thing to do.
And I can't say I've seen much rst usage that's not being used for sphinx.
Thoughs?

I'm fine having that query upstream

https://github.com/nvim-treesitter/nvim-treesitter/pull/1677


Moved: Vivaldi.Vivaldi.Snapshot version 5.1.2514.11

This pull request is automatically generated by 🥟 Dumplings
Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run

/AzurePipelines run


[Enhancement] Possible null pointer dereference due to return value of called method [ReplyMessageProcessor]

Search before asking

[X] I had searched in the issues and found no similar issues.

Enhancement Request

located at:
org/apache/eventmesh/runtime/core/protocol/http/processor/ReplyMessageProcessor.java line 155 185
analysis and explanation:
The return value from a method is dereferenced without a null check, and the return value of that method is one that should generally be checked for null. This may lead to a NullPointerException when the code is executed.
Describe the solution you'd like
add NPE exception check.
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

hi, i would like to work on this issue


Improved Sonnet 3.5 via Bedrock

Hi,
We have implemented a lot of improvements regarding Sonnet 3.5, however when using it via Bedrock (that is the older Sonner 3.5 version) I keep running into the Token Limit error.
Model bedrock/anthropic.claude-3-5-sonnet-20240620-v1:0 has hit a token limit!
Token counts below are approximate.

Input tokens: ~9,516 of 200,000
Output tokens: ~3,019 of 4,096 -- possibly exceeded output limit!
Total tokens: ~12,535 of 200,000

For more info: https://aider.chat/docs/troubleshooting/token-limits.html

I have tried to use model config:
cat ~/.aider.models.yml
- accepts_images: false
  cache_control: true
  caches_by_default: false
  edit_format: diff
  editor_edit_format: editor-diff
  editor_model_name: bedrock/anthropic.claude-3-5-sonnet-20240620-v1:0
  examples_as_sys_msg: true
  extra_params:
    extra_headers:
      # anthropic-beta: prompt-caching-2024-07-31
      anthropic-version: 2023-06-01
      anthropic-beta: max-tokens-3-5-sonnet-2024-07-15
    max_tokens: 8192
  lazy: true
  name: bedrock/anthropic.claude-3-5-sonnet-20240620-v1:0
  reminder: user
  send_undo_reply: false
  streaming: true
  use_repo_map: true
  use_system_prompt: true
  use_temperature: true
  weak_model_name: openai/gpt-4o-mini

I know AWS is not using the latest model version, so by default it has 4k output tokens.
Is there a good workaround or model configuration option to get ahead of this?

Thank you for filing this issue.

cat ~/.aider.models.yml

The correct filename to override model configurations is .aider.model.settings.yml see here -> https://aider.chat/docs/config/adv-model-settings.html#model-settings

Thanks @paul-gauthier . I think this solved my issue:
{
    "bedrock/anthropic.claude-3-5-sonnet-20240620-v1:0": {
        "max_tokens": 4192,
        "max_input_tokens": 128000,
        "max_output_tokens": 4192,
        "input_cost_per_token": 0.000003,
        "output_cost_per_token": 0.000015,
        "litellm_provider": "bedrock",
        "supports_assistant_prefill": true,
        "supports_prompt_caching": true,
        "mode": "chat"
    }
}

I'm labeling this issue as stale because it has been open for 2 weeks with no activity. If there are no additional comments, it will be closed in 7 days.


[dv/common] VCS UNR flow

Set up VCS UNR flow. For detail refer to slides
Remaining TODO

Some module doesn’t use tb.dut as dut hierarchy, may need separate
cfg file
Make sure all IPs pass with UNR flow (need solution for issue 3)
Document the flow
set up UNR flow with xcelium

Signed-off-by: Weicai Yang<EMAIL_ADDRESS>

Looks sensible enough. This will clash a lot with my proposed Deploy clean-ups, but I can rebase them easily enough after it is merged (or vice versa).
There's a big delta on dvsim.py, presumably because you've run an auto-formatter on it (yapf?). I think the result is less readable, but I understand that some people prefer a (semi-)canonical formatting, even if it is harder to read. Please could you split the patch into two, where the first reformats whatever files need reformatting, and the second actually changes the code? It will make reading through git history much easier later on.

Yes, most of the chances in dvsim.py is due to auto-fomatter. Agree. I moved those changes to another commit, which makes it  much cleaner. Thanks

@sriyerg
As you suggested, I updated to use eval_cmd to grep defines from build_opts for UNR. PTAL. Thanks


LuckPerms not Syncing

Hello! I've coded a Restful API Integration for Minecraft which hooks into Luckperms, however whenever a player joins, one of the ranks aren't displayed until ./lp sync is done, or some sort of query is sent.
I use the following code to set the group:
for(String group : groups) {
                if(checkIfRole(group, config)) {
                    Node temp = Node.builder("group." + group)
                            .withContext(DefaultContextKeys.SERVER_KEY, "global")
                            .build();
                    permission.getUserManager().getUser(playerUUID).data().remove(temp);
                }
            }

This works as intended, however when it comes down to another set of groups I set, it doesn't update in chat or tag places until sync'd, however they are a part of the group. This is not to do with the chat plugin as we have tested it on different plugins, and both present the same issue.
I save the user via:
permission.getMessagingService().get().pushUpdate();             permission.getUserManager().saveUser(permission.getUserManager().getUser(playerUUID));             permission.getGroupManager().loadAllGroups();
I am running Luckperms version 5.0.78
Running bungeecord
Not in offline mode
Any help whatsoever would be greatly appreciated!

Make sure you're definitely calling saveUser after making your modifications.

I've double checked and the save methods I posted above are being run
Additionally I have updated to the newest version and nothing has changed

Can be marked as solved, changed my modification type to InheritanceNode


Call Announcement API and display it on the web

Story
Inspired from the shooting incident at Siam Paragon, let's develop an announcement feature on our website.
This feature can be used to announce important informations such as promoting new products that our club just launched like"we just developed a new course-review website, check it out at ......", or academic info like "add-drop period is here, go check at https://reg.stamford.edu"
cugetreg.com has done something similar:

Task
Design: @kevinisthicc
Implementation : TBD

Call API Endpoint: /api/announcements to retrieve latest announcements and display it on the website

refer to the design made on figma
only display if the backend returns something

This task is currently blocked by:

https://github.com/stamford-syntax-club/stamfordcenter-backend/issues/21


Remove redundant api check files

Noticed this when I was working in this repo. Since this is unrelated to the actual PR, I wanted to check this in first to reduce the spam for reviewers.

Oops approval I saw wasn't for this. But this change is pretty safe, let me know if this should be reverted.


youtube-dl no longer recognises twitch usernames

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2020.07.28
[x] I've checked that all provided URLs are alive and playable in a browser - channel names and ids have been replaced with placeholders for examples sake.
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

As of the beginning of June, youtube-dl no longer recognises twitch channel names when processing a list of urls in a separate text file, and instead now requires the user to use the ids instead. When running youtube-dl, I use this command:
youtube-dl --download-archive downloaded.txt -i -o "%(uploader)s/%(upload_date)s - %(title)s - (%(duration)ss) [%(resolution)s].%(ext)s" --batch-file=channel_list.txt --dateafter 20190127
channel_list.txt looks something like this:
https://www.twitch.tv/channelname1/videos/all
https://www.twitch.tv/channelname2/videos/all
https://www.twitch.tv/channelname3/videos/all
This now results in the following error for each channel:
ERROR: twitch:videos:all returned error: Bad Request - Channel identifier "channelname1" is in an invalid format
Removing "videos/all" from the end gives a more useful error. So if the url looks like this:
https://www.twitch.tv/channelname1
Then the error I get looks like this:
[twitch:stream] channelname1: Downloading access token JSON
[twitch:stream] 12345678: Downloading stream JSON
ERROR: 12345678 is offline
So now we've shown that youtube-dl can get the channel id from the channel name. From this I can get an url that works, and it looks like this:
https://www.twitch.tv/12345678/videos/all
So while the issue is solved for me from an engineering standpoint, I still have the following problems:

It took me two months to find this information - during that time a lot of the videos I wanted to download have probably expired. Plus, this info was not easy to find.
Typing the ids in is more prone to human error than just copy/pasting the twitch urls like I used to.
It's a lot of unnecessary busywork.

This pull request fixes it: https://github.com/ytdl-org/youtube-dl/pull/25606
There are instructions on comments on how to apply it yourself.


in-memory database not threadsafe #4459

Please see below for the concurrency issue.
This exception happened intermittently while performing a combinations of SELECT/INSERT/UPDATES on a single table with many rows...
Looking at the code however, it is clear to me why this happened.
I tried fixing this by applying a table level lock around the partition access, but this seems heavy handed. I think there could be a more elegant approach to solving this.
**This was due to a classic insert, but many simultaneous inserts:
Something like:
INSERT INTO tableA (columnP, columnQ, columnR, columnS) VALUES (?, ?, ?, ?)
tablename and column names and counts changed obviously.**
============================
"concurrent map read and map write"
Stack:
2 0x000000000117e905 in github.com/dolthub/go-mysql-server/memory.partitionssort.Less
at /go/pkg/mod/github.com/trimble-oss/go-mysql-server@v0.12.0-1.4/memory/table.go:1523
3 0x000000000118fc3c in github.com/dolthub/go-mysql-server/memory.(*partitionssort).Less
at :1
4 0x00000000004d4318 in sort.partialInsertionSort
at /usr/local/go/src/sort/zsortinterface.go:202
5 0x00000000004d3b29 in sort.pdqsort
at /usr/local/go/src/sort/zsortinterface.go:101
6 0x00000000004d070e in sort.Sort
at /usr/local/go/src/sort/sort.go:48
7 0x000000000117e23c in github.com/dolthub/go-mysql-server/memory.(*Table).sortRows
at /go/pkg/mod/github.com/trimble-oss/go-mysql-server@v0.12.0-1.4/memory/table.go:1502
8 0x00000000011859d1 in github.com/dolthub/go-mysql-server/memory.(*pkTableEditAccumulator).ApplyEdits
at /go/pkg/mod/github.com/trimble-oss/go-mysql-server@v0.12.0-1.4/memory/table_editor.go:460
9 0x00000000011819e2 in github.com/dolthub/go-mysql-server/memory.(*tableEditor).StatementComplete
at /go/pkg/mod/github.com/trimble-oss/go-mysql-server@v0.12.0-1.4/memory/table_editor.go:101
10 0x0000000001181493 in github.com/dolthub/go-mysql-server/memory.(*tableEditor).Close
at /go/pkg/mod/github.com/trimble-oss/go-mysql-server@v0.12.0-1.4/memory/table_editor.go:76
11 0x00000000013cf20b in github.com/dolthub/go-mysql-server/sql/plan.(*insertIter).Close
at /go/pkg/mod/github.com/trimble-oss/go-mysql-server@v0.12.0-1.4/sql/plan/insert.go:508
12 0x000000000143d28a in github.com/dolthub/go-mysql-server/sql/plan.checkpointingTableEditorIter.Close
at /go/pkg/mod/github.com/trimble-oss/go-mysql-server@v0.12.0-1.4/sql/plan/table_editor.go:118
13 0x000000000148e99d in github.com/dolthub/go-mysql-server/sql/plan.(*checkpointingTableEditorIter).Close
at :1
14 0x0000000001409f4e in github.com/dolthub/go-mysql-server/sql/plan.(*accumulatorIter).Next.func2
at /go/pkg/mod/github.com/trimble-oss/go-mysql-server@v0.12.0-1.4/sql/plan/row_update_accumulator.go:322
16 0x0000000001409bc6 in github.com/dolthub/go-mysql-server/sql/plan.(*accumulatorIter).Next
at /go/pkg/mod/github.com/trimble-oss/go-mysql-server@v0.12.0-1.4/sql/plan/row_update_accumulator.go:360
17 0x00000000014437c8 in github.com/dolthub/go-mysql-server/sql/plan.transactionCommittingIter.Next
at /go/pkg/mod/github.com/trimble-oss/go-mysql-server@v0.12.0-1.4/sql/plan/transaction_committing_iter.go:106
18 0x000000000148fa0d in github.com/dolthub/go-mysql-server/sql/plan.(*transactionCommittingIter).Next
at :1
19 0x00000000013f3502 in github.com/dolthub/go-mysql-server/sql/plan.(*trackedRowIter).Next
at /go/pkg/mod/github.com/trimble-oss/go-mysql-server@v0.12.0-1.4/sql/plan/process.go:381

Yes, unfortunately the in-memory database is not completely threadsafe right now. We have this on our roadmap to address, but it's a bit of work to accomplish.

RWLock might be a good option in table.go layer.

concurrent map writes


avoid message toString when debug not enabled

message.toString is called twice even when debug logging is not enabled
Because message can be huge, I used this method to avoid unnecessary calls.
http://www.slf4j.org/faq.html#logging_performance

@yyejun thanks for the contribution!


subscription completion handler

I have a feeling this might not be very idiomatic, in which case suggestions of alternative approaches would be great!

CC @hamchapman

SwiftLint found issues
Warnings

File
Line
Reason

PCCurrentUser.swift
16
TODOs should be avoided (This should probably be [PCUse...).

PCCurrentUser.swift
374
TODOs should be avoided (Use the soon-to-be-created new...).

PCCurrentUser.swift
464
TODOs should be avoided (Do we need to fetch users in t...).

PCCurrentUser.swift
733
TODOs should be avoided (Do I need to add a Last-Event-...).

PCCurrentUser.swift
784
TODOs should be avoided (What happens if you provide bo...).

PCCurrentUser.swift
805
TODOs should be avoided (This should probably be a room...).

PCCurrentUser.swift
1058
TODOs should be avoided (is something like `DispatchGro...).

PCCurrentUser.swift
997
Unused parameter "data" in a closure should be replaced with _.

PCCurrentUser.swift
863
Function body should span 40 lines or less excluding comments and whitespace: currently spans 52 lines

PCCurrentUser.swift
1047
Limit vertical whitespace to a single empty line. Currently 2.

PCCurrentUser.swift
666
Lines should not have trailing whitespace.

PCCurrentUser.swift
190
MARK comment should be in valid format. e.g. '// MARK: ...' or '// MARK: - ...'

PCCurrentUser.swift
249
MARK comment should be in valid format. e.g. '// MARK: ...' or '// MARK: - ...'

PCCurrentUser.swift
668
Arguments can be omitted when matching enums with associated types if they are not used.

PCCurrentUser.swift
668
Arguments can be omitted when matching enums with associated types if they are not used.

PCCurrentUser.swift
5
Variable name should be between 3 and 40 characters long: 'id'

PCCurrentUser.swift
56
Variable name should be between 3 and 40 characters long: 'id'

PCCurrentUser.swift
160
Variable name should be between 3 and 40 characters long: 'id'

PCCurrentUser.swift
177
Variable name should be between 3 and 40 characters long: 'id'

PCCurrentUser.swift
211
Variable name should be between 3 and 40 characters long: 'id'

PCCurrentUser.swift
266
Variable name should be between 3 and 40 characters long: 'id'

PCCurrentUser.swift
326
Variable name should be between 3 and 40 characters long: 'id'

PCCurrentUser.swift
1026
Enum element name should be between 3 and 40 characters long: 'messageIdKeyMissingInMessageCreationResponse'

PCCurrentUser.swift
104
Collection literals should not have trailing commas.

PCCurrentUser.swift
790
Collection literals should not have trailing commas.

PCCurrentUser.swift
718
Opening braces should be preceded by a single space and on the same line as the declaration.

PCCurrentUser.swift
181
Line should be 120 characters or less: currently 122 characters

PCCurrentUser.swift
199
Line should be 120 characters or less: currently 144 characters

PCCurrentUser.swift
211
Line should be 120 characters or less: currently 137 characters

PCCurrentUser.swift
215
Line should be 120 characters or less: currently 134 characters

PCCurrentUser.swift
518
Line should be 120 characters or less: currently 127 characters

PCCurrentUser.swift
577
Line should be 120 characters or less: currently 121 characters

PCCurrentUser.swift
602
Line should be 120 characters or less: currently 139 characters

PCCurrentUser.swift
606
Line should be 120 characters or less: currently 139 characters

PCCurrentUser.swift
628
Line should be 120 characters or less: currently 133 characters

PCCurrentUser.swift
639
Line should be 120 characters or less: currently 132 characters

PCCurrentUser.swift
703
Line should be 120 characters or less: currently 123 characters

PCCurrentUser.swift
901
Line should be 120 characters or less: currently 123 characters

PCCurrentUser.swift
1002
Line should be 120 characters or less: currently 136 characters

CursorTests.swift
42
TODOs should be avoided (the following should really wa...).

CursorTests.swift
83
TODOs should be avoided (hook for setting own read curs...).

CursorTests.swift
27
When using trailing closures, empty parentheses should be avoided after the method call.

CursorTests.swift
23
When using trailing closures, empty parentheses should be avoided after the method call.

CursorTests.swift
167
Limit vertical whitespace to a single empty line. Currently 2.

CursorTests.swift
86
Variable name should be between 3 and 40 characters long: 'ex'

CursorTests.swift
102
Variable name should be between 3 and 40 characters long: 'ex'

CursorTests.swift
126
Variable name should be between 3 and 40 characters long: 'ex'

CursorTests.swift
147
Variable name should be between 3 and 40 characters long: 'ex'

CursorTests.swift
132
Prefer _ = foo() over let _ = foo() when discarding a result from a function.

PresenceTests.swift
41
TODOs should be avoided (the following should really wa...).

PresenceTests.swift
52
TODOs should be avoided (this shouldn't be necessary.).

PresenceTests.swift
70
FIXMEs should be avoided (this is a disgrace).

PresenceTests.swift
79
TODOs should be avoided (this shouldn't be necessary.).

PresenceTests.swift
105
FIXMEs should be avoided (this is a disgrace).

PresenceTests.swift
114
TODOs should be avoided (this shouldn't be necessary.).

PresenceTests.swift
26
When using trailing closures, empty parentheses should be avoided after the method call.

PresenceTests.swift
22
When using trailing closures, empty parentheses should be avoided after the method call.

RoomMembershipTests.swift
73
Unused parameter "room" in a closure should be replaced with _.

RoomMembershipTests.swift
125
Unused parameter "room" in a closure should be replaced with _.

RoomMembershipTests.swift
148
Unused parameter "room" in a closure should be replaced with _.

RoomMembershipTests.swift
144
Unused parameter "alice" in a closure should be replaced with _.

RoomMembershipTests.swift
169
Unused parameter "alice" in a closure should be replaced with _.

RoomMembershipTests.swift
299
Unused parameter "room" in a closure should be replaced with _.

RoomMembershipTests.swift
25
When using trailing closures, empty parentheses should be avoided after the method call.

RoomMembershipTests.swift
21
When using trailing closures, empty parentheses should be avoided after the method call.

RoomMembershipTests.swift
5
Type body should span 200 lines or less excluding comments and whitespace: currently spans 227 lines

RoomMembershipTests.swift
114
Line should be 120 characters or less: currently 121 characters

RoomMembershipTests.swift
134
Line should be 120 characters or less: currently 121 characters

TypingIndicatorTests.swift
41
TODOs should be avoided (the following should really wa...).

TypingIndicatorTests.swift
98
Unused parameter "_alice" in a closure should be replaced with _.

TypingIndicatorTests.swift
26
When using trailing closures, empty parentheses should be avoided after the method call.

TypingIndicatorTests.swift
22
When using trailing closures, empty parentheses should be avoided after the method call.

Errors

File
Line
Reason

PCCurrentUser.swift
4
Type body should span 200 lines or less excluding comments and whitespace: currently spans 612 lines

PCCurrentUser.swift
1080
File should contain 400 lines or less: currently contains 1080

CursorTests.swift
79
Force tries should be avoided.

CursorTests.swift
92
Force tries should be avoided.

CursorTests.swift
160
Force tries should be avoided.

TypingIndicatorTests.swift
98
Variable name should only contain alphanumeric characters: '_alice'

  Generated by :no_entry_sign: Danger

I think DispatchGroup is more idiomatic. I also made a homegrown thing to handle this sort of async stuff: https://github.com/pusher/chatkit-swift/blob/master/Sources/PCProgressCounter.swift
We should also get rid of that and replace its usage with DispatchGroups, but that's a bigger job as it's used in quite a few places.
In theory your steppedCompletionHandler should work fine, but the wait() makes me a bit nervous. I think that will block whichever thread that the completion handler is running on, which could feasibly be the main thread ("UI thread") and we don't want to block that. I'm not 100% sure on that though.
Ultimately, if you're happy to give DispatchGroups a go in this case, that'd be great, otherwise we can roll with this for now and make using DispatchGroups a separate thing to tackle as a whole.

Ahh cool, I didn't see the progress counter. I'll try with dispatch groups.

@hamchapman tried using DispatchGroup

LGTM with the DispatchGroup 👍
Whoever gets to this first should rebase on master and check that everything still works.
The MessageTests (now on master) will likely need to have the same sleep-removal-and-update-with-completion-handler treatment as a result.

@hamchapman Looks like you rebased, can we merge this?

Just waiting for the tests to pass... 🤞


bump go module to v5

Codecov Report

Merging #599 (dafb286) into main (ba7c443) will not change coverage.
 Consider uploading reports for the commit 0644538 to get more accurate results

@@           Coverage Diff           @@
##             main     #599   +/-   ##
=======================================
  Coverage   10.34%   10.34%
=======================================
  Files          55       55
  Lines        7770     7770
=======================================
  Hits          804      804
  Misses       6908     6908
  Partials       58       58

Impacted Files
Coverage Δ

app/ante.go
63.63% <ø> (ø)

app/app.go
84.73% <ø> (ø)

x/alloc/keeper/grpc_query.go
0.00% <ø> (ø)

x/alloc/keeper/keeper.go
71.15% <ø> (ø)

x/alloc/keeper/msg_server.go
100.00% <ø> (ø)

.../alloc/keeper/msg_server_create_vesting_account.go
0.00% <ø> (ø)

x/alloc/keeper/params.go
100.00% <ø> (ø)

x/alloc/types/genesis.pb.go
2.07% <ø> (ø)

x/alloc/types/params.pb.go
1.11% <ø> (ø)

x/alloc/types/query.pb.go
1.67% <ø> (ø)

... and 24 more

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 ba7c443...0644538. Read the comment docs.


Update scalafmt-core to 2.4.0

Updates org.scalameta:scalafmt-core from 2.3.2 to 2.4.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, semver-minor

#335


How to filter file types?

How can I list just the file types I want?

Hi,
Currently this feature is not implemented. You can only filter by files or folders. I will make the changes when i release the next version (v1,3) very soon. If you want the feature immediately, you can take a fork and change the code and also if you have the time, you can also make the changes and contribute to the repository
Thanks
Aditya K

I will wait your new version :) thanks..

I have updated the version to v1.3. I have added a searchbar for filtering in current directory

Fixed in version > 1.3 via searchbar


Init / system-logger containers are not defining the resources to use.

I have just encountered an issue while trying to create a new cassandra datacenter in one of my company K8S cluster. The stateful set pods are not schedules because we enforce quotas for all our namespaces.
For the time being, cass-operator allows us to define quotas only for the main cassandra container. These leads to the following error (extracted from the K8S events):
create Pod uba-dc1-default-sts-0 in StatefulSet uba-dc1-default-sts failed error: pods "uba-dc1-default-sts-0" is forbidden: failed quota: dev-quotas: must specify cpu,memory

One quick fix for this issue is to reuse resources configuration item in the other containers as well. An alternative would be to have a new key defined in the schema and referenced by the other containers:
resourcesExtra:
  serverSystemLogger:
      requests:
        memory: 1Gi
        cpu: 1
      limits:
        memory: 1Gi
        cpu: 1
  serverConfigInit:
      requests:
        memory: 1Gi
        cpu: 1
      limits:
        memory: 1Gi
        cpu: 1

I honestly think the second approach gives us more flexibility and it's cleaner from resource allocation perspective given all other containers except cassandra will have low resources consumption.

I will try to open a quick PR fixing using the first approach, until we decide how we want to configure the remaining resources.

Another alternative might be to define a resource section for each of the containers used implicity:
resourceServerSystemLogger:
      requests:
        memory: 1Gi
        cpu: 1
      limits:
        memory: 1Gi
        cpu: 1
resourceServerConfigInit:
      requests:
        memory: 1Gi
        cpu: 1
      limits:
        memory: 1Gi
        cpu: 1

Thank you for filing this issue! Looks like we will also need a way to define the resource requirements for reaper as well:
https://github.com/datastax/cass-operator/blob/db8d16a651bc51c0256714ebdda2d51485c5d9fa/operator/pkg/reconciliation/reconcile_reaper.go#L33-L61

I wonder if leveraging the PodTemplateSpec on the CassandraDatacenter resource might be a way to resolve this. Right now, we ignore container definitions there entirely for containers we create by default, but we could potentially change that logic to use any provided definitions as a base.

It might be tricky to rely on pod template spec because right now it is used for adding new containers within the pod. If we want to change it's semantic it is doable.
On the other hand, I think it is fair to assume in the near future we are not going to have a large number of init / containers running within a cassandra pod so maybe it is just better to configure them explicitly.
@johntrimble What do you think? Nevertheless, should we merge the current PR and open a new issue for improving the containers configuration?

The config init container and system logger should have well defined
resource consumption. I expect we can set this to same defaults and call it
good. @johntrimble do you think they should be configurable vs static?
Personally, I’m in the latter camp.
Since we don’t mess with podtemplatespec containers at all that’s on the
user to make sure the resources are set where appropriate.
On Tue, Aug 4, 2020 at 6:29 PM Cosnita Radu Viorel<EMAIL_ADDRESS>wrote:

It might be tricky to rely on pod template spec because right now it is
used for adding new containers within the pod. If we want to change it's
semantic it is doable.
On the other hand, I think it is fair to assume in the near future we are
not going to have a large number of init / containers running within a
cassandra pod so maybe it is just better to configure them explicitly.
@johntrimble https://github.com/johntrimble What do you think?
Nevertheless, should we merge the current PR and open a new issue for
improving the containers configuration?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/datastax/cass-operator/issues/183#issuecomment-668856180,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABBAYG4BKF2XAHCKD22NU3R7CDUHANCNFSM4PSMXH4A
.

--
Christopher Bradford

I think having reasonable defaults makes sense since other people are likely to end up in this same situation. I'm concerned about there not being a way to customize this though. Perhaps that's not well founded, I just worry about someone having the problem of the resource limits being set too low and having no way to fix it. My reason for wanting to leverage the podSpecTemplate in some way is that it would provide a way for the user to customize many aspects of the containers we create, and any containers we add in the future. It looks like the elastic operator uses their user provided pod template in just this way:
https://github.com/elastic/cloud-on-k8s/blob/06cf1a94017a91a05e73aba710b5792b9da3a392/pkg/apis/elasticsearch/v1/elasticsearch_types.go#L182-L184
https://github.com/elastic/cloud-on-k8s/blob/bf6201fdbfef064bd4d8819a67ada0d7c7e6a425/pkg/controller/common/defaults/pod_template.go#L57-L83
Asking the user to customize the pods we create by using the podSpecTemplate is rather daunting IMO, but if we provide reasonable defaults, it's not likely anyone will have to deal with it. Having said that, I'm not opposed to your suggestion @rcosnita:
resourcesExtra:
  serverSystemLogger:
      requests:
        memory: 1Gi
        cpu: 1
      limits:
        memory: 1Gi
        cpu: 1
  serverConfigInit:
      requests:
        memory: 1Gi
        cpu: 1
      limits:
        memory: 1Gi
        cpu: 1

It might be more general if we made the keys be the actual container names we use. Unfortunately, we'd end up with hyphens in our keys, but such is life:
resourcesExtra:
  server-system-logger:
      requests:
        memory: 1Gi
        cpu: 1
      limits:
        memory: 1Gi
        cpu: 1
  server-config-init:
      requests:
        memory: 1Gi
        cpu: 1
      limits:
        memory: 1Gi
        cpu: 1

@jimdickinson How do you feel about adding some defaults for resource requests/limits to our containers and on the approach we should use to customize these values?

I was actually thinking to keep the resources configuration on the same level as resources:
resources: {}
resource-server-system-logger: {}
resource-server-config-init: {}
resource-reaper: {}

I don't have anything against hyphens because we don't need to reference the keys in helm templates.

I implemented reasonable defaults + the possibility to override the values if needed. Here are the two possible ways to configure this:
resources-server-system-logger: {}
resources-server-config-init: {}
reaper:
  enabled: true
  resources: {}

If we want to override the values we can use the following configuration:
resources-server-system-logger:
  requests:
    cpu: 1
    memory: 1024MiB
  limits:
    cpu: 1
    memory: 1024MiB
resources-server-config-init:
  requests:
    cpu: 1
    memory: 1024MiB
  limits:
    cpu: 1
    memory: 1024MiB
reaper:
  enabled: true
  resources:
    requests:
      cpu: 1
      memory: 1024MiB
    limits:
      cpu: 1
      memory: 1024MiB

You can find the reasonable defaults in operator/pkg/reconciliation/defaults.go


Add API documentation

Is your feature request related to a problem?
Community projects development.
Describe the solution you'd like
There are many APIs (resources, tags, or even memo) that are not documented, it would be great to have documentation for them.
Additional context
No response

need API doc too

+1

Please check on this discussion. https://github.com/orgs/usememos/discussions/1024
And thanks @lmm214 contribution!

https://github.com/usememos/memos/blob/main/docs/api/v1.md


[Geography] Add universal location

Location should be generic enough to handle different galaxies.
Universe: (could be a fictional one)
Galaxy: (Maybe galaxy clusters?)
Star System: (allows multiple stars)
Astro: (Planet or Asteroid or Satellite)
If some information was missing, use context as reference

Insight:
Latitude and Longitude can be used to express Geo Referencing.
Maybe the Day Zero can be used as a reference (position and rotation).

Related to #17

Those attributes can be easily added to Place now that everything is a concept.

Those attributes can be easily added to Place now that everything is a concept.


Add display: none to .hide class

The current hide uses visibility, which doesn't fully remove the element from the view.

Updated and moved to display.css


using loop mode, accessbility(screen-reader) not work

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/s/swiper-autoplay-react-forked-jjeldf?file=/src/App.jsx
Bug description
Hi
Problem occurs when using loop mode(enable AutoPlay) in Swiper and turn on Accessbility(Android:talkback, iOS:VoiceOver).
I've used 'tabIndex', but there's still a problem.
Expected Behavior
When a screen gesture, VoiceOver should move on to the next topic.
Actual Behavior
The swiper breaks.
The component sounds twice.
first page

when using screen gesture, move next component

Swiper version
6.8.4
Platform/Target and Browser Versions
iOS 15.5, android 12
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

Im experiencing the same issue as well.


Fix bad link to getting started tutorial

@spboyer,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

#sign-off

@alexkarcher-msft. Hi Alex. Please review these proposed changes. Thanks.

This looks good to me. Thanks for the help!
#sign-off


WebApp - Improve Mission pool feature

Describe the task
Improve Mission pool feature

[x] Add categories
[x] Sort by status
[x] Show/hide fields by value
[x] Show bage

Refer: https://github.com/Koniverse/SubWallet-Extension/issues/3212

Version test : https://250b71e5.subwallet-webapp.pages.dev/home/tokens

[ ] Re-check UI

[ ] Re-check padding in case responsive

[ ] Re-check display description in case responsive

Version test : https://7f641eba.subwallet-webapp.pages.dev/home/tokens

[ ] Don't show noti number in case responsive

Version test : https://8d08333b.subwallet-webapp.pages.dev/home/mission-pools

[ ] Re-check noti in case responsive

Version test :
Validation passed in case :

Responsive

Sort according status and ordinal

Show tag categories

If the Total token supply field has no value, it will be hidden


Need PdsFile.primary_data_abspath to normalize primary filespecs for all types of data

From rms-webtools created by rfrenchseti: SETI/rms-webtools#4
On Nov 7, 2018, at 1:53 PM, Rob<EMAIL_ADDRESS>   wrote:

OK...so fundamentally there is a mismatch here. If I read the "primary
file spec" from an index file, assuming it is in the proper format
(ending in .LBL), then I have no way of using PdsFile.from_filespec() to
look it up and get a viable ViewSet from it, since ViewSets explicitly
don't work with the .LBL extension.
So either we need to change PdsFile to look up Viewables when the
extension is .LBL, or we need to change the extension of the primary
file spec before sending it to PdsFile for lookup. Or is there already
some automated way to ask PdsFile for the "primary data product" which
DOES have a ViewSet?
There's also the problem that Cassini ISS and Galileo SSI do NOT use
.LBL as the extension in the index files. That means that, in OPUS, some
observations have a primary file spec ending in .LBL and some end in
.IMG. Do we want to make these consistent by having the import pipeline
switch the extension to all be .LBL? Or do we want to keep the OPUS
database consistent with what's actually in the PDS archives?

On 11/7/2018 12:28 PM, Mark Showalter wrote:

OK, I remember now why I did this and it has to do with making sensible Viewmaster pages.
We can solve this problem by having a PdsFile attribute "primary_data_abspath" that returns the absolute path to the primary data file. Then...
pdsf = pdsfile.PdsFile.from_path(filespec)
viewset = pdsfile.PdsFile.from_abspath(pdsf.primary_data_abspath).viewset
...would do the trick. The problem is that the association between a random file and the primary data file is currently not easy to make unless you turn on "set_opus_lookups()", which is slow. I can fix that.

This will be the quantity that should be used as primary filespec, no matter what appears in the label. Also, PdsFile.from_abspath(primary_filespec).viewset will return a valid viewset.

On Nov 7, 2018, at 9:45 PM, Rob French<EMAIL_ADDRESS>wrote:
OK, hopefully last question - do you really want abspath stored in the
OPUS database? That exposes our internal filesystem structure. Wouldn't
the logical_path, or better yet the logical_path with "volumes" stripped
off, be more appropriate?

yes, logical path after "volumes/".

When this is fixed, change opus/import/populate_obs_general.py function populate_obs_general_preview_images.


flutter ListTile isThreeLine can not add

I wirte isThreeLine: true, but I don't know hwo to writ this third lines
ListTile(
       isThreeLine: true,
      leading: new Icon(
           imges
        ),
       title: new Text('关于'),
       trailing: Icon(Icons.arrow_forward),
)

I want to get like this
______________Title1
imges_______Title2 ______trailing.icons
_____________Title3

I want hwo to write the   Title3

Please consider asking support questions in one of the other channels listed at http://flutter.io/support .
isThreeLine seems to modify how ListTile is rendered when subtitle is set.

this the detail & code
when i delete 'isThreeLines', the code is ok

Has already an accepted answered at https://stackoverflow.com/questions/53539523/flutter-how-to-use-listtile-threeline


password reset field error

Hi,
When I send a password reset request to the backend, I get the following error:
FieldError at /rest-auth/password/reset/
Cannot resolve keyword 'is_active' into field. Choices are: auth_token, created_at, email, emailaddress, first_name, id, is_admin, last_login, last_name, logentry, password, purchaseorder, salesorder, tagline, updated_at, username
any hint how to resolve this issue is highly appreciated.
Thanks,
Mohamad

Hi @mohammad-ghanbari Which user model are you using? Also could you please provide the whole stack trace so we could see on which line did it fail?

Hi,
I'm extending the user model, I thought maybe this is causing the problem, but couldn't figure it out. this is my user model:
class Account(AbstractBaseUser):
email = models.EmailField(unique=True)
username = models.CharField(max_length=40, unique=True)
first_name = models.CharField(max_length=40, blank=True)
last_name = models.CharField(max_length=40, blank=True)
tagline = models.CharField(max_length=140, blank=True)

is_admin = models.BooleanField(default=False)

created_at = models.DateTimeField(auto_now_add=True)
updated_at = models.DateTimeField(auto_now=True)

objects = AccountManager()

USERNAME_FIELD =  'email'
REQUIRED_FIELDS = ['username']

def __unicode__(self):
    return self.email

def get_full_name(self):
    return ''.join([self.first_name, self.last_name])

def get_short_name(self):
    return self.first_name

def has_perm(self, perm, obj=None):
    "Does the user have a specific permission?"
    # Simplest possible answer: Yes, always
    return True

def has_module_perms(self, app_label):
    "Does the user have permissions to view the app `app_label`?"
    # Simplest possible answer: Yes, always
    return True

@property
def is_staff(self):
    "Is the user a member of staff?"
    # Simplest possible answer: All admins are staff
    return self.is_admin

This is the trace back:
Traceback:
File "/home/mohamad/Envs/ERP/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
132.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/mohamad/Envs/ERP/local/lib/python2.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
58.         return view_func(*args, **kwargs)
File "/home/mohamad/Envs/ERP/local/lib/python2.7/site-packages/django/views/generic/base.py" in view
71.             return self.dispatch(request, *args, **kwargs)
File "/home/mohamad/Envs/ERP/local/lib/python2.7/site-packages/rest_framework/views.py" in dispatch
477.             response = self.handle_exception(exc)
File "/home/mohamad/Envs/ERP/local/lib/python2.7/site-packages/rest_framework/views.py" in handle_exception
437.             self.raise_uncaught_exception(exc)
File "/home/mohamad/Envs/ERP/local/lib/python2.7/site-packages/rest_framework/views.py" in raise_uncaught_exception
448.         raise exc
Exception Type: FieldError at /rest-auth/password/reset/
Exception Value: Cannot resolve keyword 'is_active' into field. Choices are: auth_token, created_at, email, emailaddress, first_name, id, is_admin, last_login, last_name, logentry, password, purchaseorder, salesorder, tagline, updated_at, username
Request information:
GET: No GET data
POST: No POST data
FILES: No FILES data
Thanks

Hi,
I'm extending the user model, I thought maybe this is causing the problem, but couldn't figure it out. this is my user model:
class Account(AbstractBaseUser):
email = models.EmailField(unique=True)
username = models.CharField(max_length=40, unique=True)
first_name = models.CharField(max_length=40, blank=True)
last_name = models.CharField(max_length=40, blank=True)
tagline = models.CharField(max_length=140, blank=True)

is_admin = models.BooleanField(default=False)

created_at = models.DateTimeField(auto_now_add=True)
updated_at = models.DateTimeField(auto_now=True)

objects = AccountManager()

USERNAME_FIELD =  'email'
REQUIRED_FIELDS = ['username']

def __unicode__(self):
    return self.email

def get_full_name(self):
    return ''.join([self.first_name, self.last_name])

def get_short_name(self):
    return self.first_name

def has_perm(self, perm, obj=None):
    "Does the user have a specific permission?"
    # Simplest possible answer: Yes, always
    return True

def has_module_perms(self, app_label):
    "Does the user have permissions to view the app `app_label`?"
    # Simplest possible answer: Yes, always
    return True

@property
def is_staff(self):
    "Is the user a member of staff?"
    # Simplest possible answer: All admins are staff
    return self.is_admin

This is the trace back:
Traceback:
File "/home/mohamad/Envs/ERP/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
132.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/mohamad/Envs/ERP/local/lib/python2.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
58.         return view_func(*args, **kwargs)
File "/home/mohamad/Envs/ERP/local/lib/python2.7/site-packages/django/views/generic/base.py" in view
71.             return self.dispatch(request, *args, **kwargs)
File "/home/mohamad/Envs/ERP/local/lib/python2.7/site-packages/rest_framework/views.py" in dispatch
477.             response = self.handle_exception(exc)
File "/home/mohamad/Envs/ERP/local/lib/python2.7/site-packages/rest_framework/views.py" in handle_exception
437.             self.raise_uncaught_exception(exc)
File "/home/mohamad/Envs/ERP/local/lib/python2.7/site-packages/rest_framework/views.py" in raise_uncaught_exception
448.         raise exc
Exception Type: FieldError at /rest-auth/password/reset/
Exception Value: Cannot resolve keyword 'is_active' into field. Choices are: auth_token, created_at, email, emailaddress, first_name, id, is_admin, last_login, last_name, logentry, password, purchaseorder, salesorder, tagline, updated_at, username
Request information:
GET: No GET data
POST: No POST data
FILES: No FILES data
Thanks

@mohammad-ghanbari Did you solve this problem?

In my case the following addition to the model inheriting AbstractBaseUser worked.
I wonder if this is a Django issue.
class MyBaseUser(AbstractBaseUser):
    is_active = models.BooleanField(default=False)

Password reset functionality as well as some other app endpoints, etc. requires is_active attribute on the user. If you are using custom User model with no Django built-in attributes, adding is_active attribute to your User model is probably the best solution.

Just out of curiosity, shouldn't something like
 @property def is_active(self):     return self.active
work for this purpose?
I tried it and it doesn't work.

No, since it performs queryset filtering. It needs to be added as model attribute.

What if am not using in built User django model.....i tried adding is_active but someone can't login to the application if created my own USER model


Passing password to user properties

Is there any way to pass password to user properties?
from the code https://github.com/dbeaver/dbeaver/blob/10dcd8b0b14f6340bd8a46bb3e9750ac83f12382/plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/connection/DBPConnectionConfiguration.java#L363 it doesn't look possible (it is allowed to use system variables, but not properties userName, userPassword).
The goal:
implement access to Athena using temporary credentials.
https://aws.amazon.com/blogs/big-data/connect-to-amazon-athena-with-federated-identities-using-temporary-credentials/
For that I implemented AWSCredentialsProviderClass (user property) which is initialized by another user property AWSCredentialsProviderArguments.
AWSCredentialsProviderArguments needs to contain user name and password. As result, the password is stored as plain text.
Would be great to have possibility to use variables ${username} and ${password} in user properties.

Seems to be very similar to #4552

@serge-rider
this ticket has number 4552 , so it cannot be 'similar' to itself.

Sorry )
It is #4527

thanks for pointing out.
they have common parts (problem with plain passwords). However the cause is a little bit different.

4527 is specific to 'Windows Authentication'.
the proposal was to hide all properties with 'password' in name. That can help if there will be possibility to reuse the properties by name in other properties (for example to create LdapPassword and then use ${LdapPassoword})

Indeed this is a bit more complicated ticket. I think we should be able to reuse any connection parameters (password, user name, etc) in properties.