deliver: No value found for 'edit_live'

New Issue Checklist

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

Issue Description
The deliver command fails after checking the version in iTC.
[16:11:19]: fastlane finished with errors

[!] No value found for 'edit_live'

Might be related to this PR: https://github.com/fastlane/fastlane/pull/7172
Complete output when running fastlane, including the stack trace and command used
[[16:11:11]: --- Step: deliver ---
[16:11:11]: ---------------------
[16:11:12]: Successfully loaded '/archive/jenkins/workspace/iOS-release-build/fastlane/Deliverfile' 📄
+-----------------------+-----------------------------+
|    Detected Values from './fastlane/Deliverfile'    |
+-----------------------+-----------------------------+
| app                   |<PHONE_NUMBER>1                   |
| username              |<EMAIL_ADDRESS>|
+-----------------------+-----------------------------+
[16:11:12]: Login to iTunes Connect<EMAIL_ADDRESS>[16:11:15]: Login successful
+-----------------------+-------------------------------------------------------------------+
|                                   deliver 2.3.0 Summary                                   |
+-----------------------+-------------------------------------------------------------------+
| ipa                   | /archive/jenkins/workspace/iOS-release-build/build/TravelBird.ipa |
| force                 | true                                                              |
| skip_screenshots      | true                                                              |
| skip_metadata         | true                                                              |
| username              |<EMAIL_ADDRESS>                                     |
| screenshots_path      | ./fastlane/screenshots                                            |
| metadata_path         | ./fastlane/metadata                                               |
| app_version           | 6.6                                                               |
| app_identifier        | nl.travelbird.TravelBird                                          |
| platform              | ios                                                               |
| skip_binary_upload    | false                                                             |
| submit_for_review     | false                                                             |
| automatic_release     | false                                                             |
| overwrite_screenshots | false                                                             |
+-----------------------+-------------------------------------------------------------------+
[16:11:16]: Making sure the latest version on iTunes Connect matches '6.6' from the ipa file...
[16:11:18]: '6.6' is the latest version on iTunes Connect
[16:11:18]: -------------------
[16:11:18]: --- Step: slack ---
[16:11:18]: -------------------
[16:11:19]: Successfully sent Slack notification
+----------------------------+---------------------------------------------------------------------+
|                                           Lane Context                                           |
+----------------------------+---------------------------------------------------------------------+
| DEFAULT_PLATFORM           | ios                                                                 |
| PLATFORM_NAME              | ios                                                                 |
| LANE_NAME                  | ios release                                                         |
| SIGH_PROFILE_TYPE          | app-store                                                           |
| IPA_OUTPUT_PATH            | /archive/jenkins/workspace/iOS-release-build/build/TravelBird.ipa   |
| DSYM_OUTPUT_PATH           | /archive/jenkins/workspace/iOS-release-build/build/TravelBird.ap... |
| XCODEBUILD_ARCHIVE         | /Users/tbmobileci2/Library/Developer/Xcode/Archives/2016-12-27/T... |
| SCAN_DERIVED_DATA_PATH     | /Users/tbmobileci2/Library/Developer/Xcode/DerivedData/TravelBir... |
| SCAN_GENERATED_PLIST_FILES | ["/Users/tbmobileci2/Library/Developer/Xcode/DerivedData/TravelB... |
| SCAN_GENERATED_PLIST_FILE  | /Users/tbmobileci2/Library/Developer/Xcode/DerivedData/TravelBir... |
+----------------------------+---------------------------------------------------------------------+
[16:11:19]: No value found for 'edit_live'
+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | Verifying required fastlane version | 0           |
| 2    | default_platform                    | 0           |
| 3    | cocoapods                           | 274         |
| 4    | match                               | 13          |
| 5    | match                               | 7           |
| 6    | match                               | 10          |
| 7    | match                               | 7           |
| 8    | gym                                 | 776         |
| 9    | scan                                | 889         |
| 💥    | deliver                             | 6           |
| 11   | slack                               | 1           |
+------+-------------------------------------+-------------+
[16:11:19]: fastlane finished with errors
[!] No value found for 'edit_live'
Build step 'Conditional step (single)' marked build as failure
Recording test results
Finished: FAILURE]
Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
[✅ fastlane environment ✅
Stack

Key
Value

OS
10.11.6

Ruby
2.2.2

Bundler?
false

Git
git version 2.8.4 (Apple Git-73)

Installation Source
~/.rvm/rubies/ruby-2.2.2/bin/fastlane

Host
Mac OS X 10.11.6 (15G1004)

Ruby Lib Dir
~/.rvm/rubies/ruby-2.2.2/lib

OpenSSL Version
OpenSSL 1.0.2e 3 Dec 2015

Is contained
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.0

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/KrauseFx/fastlane/tree/master/docs
# All available actions: https://github.com/KrauseFx/fastlane/blob/master/docs/Actions.md
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# By default, fastlane will send which actions are used
# No personal data is shared, more information on https://github.com/fastlane/enhancer
# Uncomment the following line to opt out
# opt_out_usage

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "1.102.0"

default_platform :ios

platform :ios do

  before_all do
    ENV["SLACK_URL"] = "https://hooks.slack.com/services/xxxxx"

    cocoapods(repo_update: true)

  end

  # Responsible for building and signing the alpha app
  def build_alpha_app

    register_devices(devices_file: './fastlane/devices.txt')

    match(app_identifier: "nl.travelbird.TravelBird.alpha",
          type: "adhoc",
          force_for_new_devices: true,
          readonly: true)

    match(app_identifier: "nl.travelbird.TravelBird.alpha.Daily-Deals",
          type: "adhoc",
          force_for_new_devices: true,
          readonly: true)

    match(app_identifier: "nl.travelbird.TravelBird.alpha.watchkitapp",
          type: "adhoc",
          force_for_new_devices: true,
          readonly: true)

    match(app_identifier: "nl.travelbird.TravelBird.alpha.watchkitapp.watchkitextension",
          type: "adhoc",
          force_for_new_devices: true,
          readonly: true)

    gym(
      workspace: "TravelBird.xcworkspace",
      configuration: "Alpha",
      scheme: "Distribution",
      silent: true,
      clean: true,
      output_directory: "build"
    )
  end

  # Responsible for building and signing the beta app
  def build_beta_app

    register_devices(devices_file: './fastlane/devices.txt')

    match(app_identifier: "nl.travelbird.TravelBird.beta",
          type: "adhoc",
          force_for_new_devices: true,
          readonly: true)

    match(app_identifier: "nl.travelbird.TravelBird.beta.Daily-Deals",
          type: "adhoc",
          force_for_new_devices: true,
          readonly: true)

    match(app_identifier: "nl.travelbird.TravelBird.beta.watchkitapp",
          type: "adhoc",
          force_for_new_devices: true,
          readonly: true)

    match(app_identifier: "nl.travelbird.TravelBird.beta.watchkitapp.watchkitextension",
          type: "adhoc",
          force_for_new_devices: true,
          readonly: true)

    gym(
      workspace: "TravelBird.xcworkspace",
      configuration: "Distribution",
      scheme: "Distribution",
      silent: true,
      clean: true,
      output_directory: "build"
    )
  end

  # Responsible for building and signing the release candidate app
  def build_release_app

    match(app_identifier: "nl.travelbird.TravelBird",
          type: "appstore",
          readonly: true)

    match(app_identifier: "nl.travelbird.TravelBird.Daily-Deals",
          type: "appstore",
          readonly: true)

    match(app_identifier: "nl.travelbird.TravelBird.watchkitapp",
          type: "appstore",
          readonly: true)

    match(app_identifier: "nl.travelbird.TravelBird.watchkitapp.watchkitextension",
          type: "appstore",
          readonly: true)

    gym(
      workspace: "TravelBird.xcworkspace",
      configuration: "Release",
      scheme: "Release",
      silent: true,
      clean: true,
      output_directory: "build"
    )
  end

  desc "Registers new devices in devices.txt for development provisioning profiles"
  lane :devices do

    match(app_identifier: "nl.travelbird.TravelBird.alpha",
          type: "development",
          force_for_new_devices: true)

    match(app_identifier: "nl.travelbird.TravelBird.alpha.Daily-Deals",
          type: "development",
          force_for_new_devices: true)

    match(app_identifier: "nl.travelbird.TravelBird.alpha.watchkitapp",
          type: "development",
          force_for_new_devices: true)

    match(app_identifier: "nl.travelbird.TravelBird.alpha.watchkitapp.watchkitextension",
          type: "development",
          force_for_new_devices: true)

  end

  lane :cert_dev do
    match(app_identifier: ["nl.travelbird.TravelBird.alpha", "nl.travelbird.TravelBird.alpha.Daily-Deals", "nl.travelbird.TravelBird.alpha.watchkitapp", "nl.travelbird.TravelBird.alpha.watchkitapp.watchkitextension"], type: "development", readonly: true)
  end

  lane :cert_alpha do
    match(app_identifier: ["nl.travelbird.TravelBird.alpha", "nl.travelbird.TravelBird.alpha.Daily-Deals", "nl.travelbird.TravelBird.alpha.watchkitapp", "nl.travelbird.TravelBird.alpha.watchkitapp.watchkitextension"], type: "adhoc", readonly: true)
  end

  lane :cert_beta do
    match(app_identifier: ["nl.travelbird.TravelBird.beta", "nl.travelbird.TravelBird.beta.Daily-Deals", "nl.travelbird.TravelBird.beta.watchkitapp", "nl.travelbird.TravelBird.beta.watchkitapp.watchkitextension"], type: "adhoc", readonly: true)
  end

  lane :cert_release do
    match(app_identifier: ["nl.travelbird.TravelBird", "nl.travelbird.TravelBird.Daily-Deals", "nl.travelbird.TravelBird.watchkitapp", "nl.travelbird.TravelBird.watchkitapp.watchkitextension"], type: "appstore", readonly: true)
  end

  lane :get_cert_dev do
    match(app_identifier: ["nl.travelbird.TravelBird.alpha", "nl.travelbird.TravelBird.alpha.Daily-Deals", "nl.travelbird.TravelBird.alpha.watchkitapp", "nl.travelbird.TravelBird.alpha.watchkitapp.watchkitextension"], type: "development", readonly: true)
  end

  lane :get_cert_alpha do
    match(app_identifier: ["nl.travelbird.TravelBird.alpha", "nl.travelbird.TravelBird.alpha.Daily-Deals", "nl.travelbird.TravelBird.alpha.watchkitapp", "nl.travelbird.TravelBird.alpha.watchkitapp.watchkitextension"], type: "adhoc", readonly: true)
  end

  lane :get_cert_beta do
    match(app_identifier: ["nl.travelbird.TravelBird.beta", "nl.travelbird.TravelBird.beta.Daily-Deals", "nl.travelbird.TravelBird.beta.watchkitapp", "nl.travelbird.TravelBird.beta.watchkitapp.watchkitextension"], type: "adhoc", readonly: true)
  end

  lane :get_cert_release do
    match(app_identifier: ["nl.travelbird.TravelBird", "nl.travelbird.TravelBird.Daily-Deals", "nl.travelbird.TravelBird.watchkitapp", "nl.travelbird.TravelBird.watchkitapp.watchkitextension"], type: "appstore", readonly: true)
  end

  desc "Run for dev builds. Does building and testing."
  lane :dev do

    scan(
      scheme: "Test",
      clean: true,
      device: "iPhone 6s"
    )

  end

  desc "Submit a new Alpha build to HockeyApp for developers."
  lane :alpha do

    # Download and build with latest provisioning
    build_alpha_app

    hockey(
      api_token: "xxxxxxx",
      ipa: './build/TravelBird.ipa',
      #notes_type: markdown_type,
      notes: "https://github.com/travelbird/for-your-iphone-only/commits/dev",
      notify: "0"
    )

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

  end

  desc "Submit a new Team build to HockeyApp for developers."
  lane :team do

    # Download and build with latest provisioning
    build_alpha_app

    hockey(
      api_token: "xxxxxxxxx",
      ipa: './build/TravelBird.ipa',
      notify: "0"
    )

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

  end

  desc "Submit a new Beta build to HockeyApp for testers."
  lane :beta do

    # Download and build with latest provisioning
    build_beta_app

    changelog = File.read("../docs/CHANGELOG.md")

    hockey(
      api_token: "xxxxxxxxx",
      ipa: './build/TravelBird.ipa',
      notes_type: "1",
      notes: changelog,
      notify: "0"
    )

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

  end

  desc "Deploy a release candidate to the App Store with TestFlight"
  lane :release do

    # Download and build with latest provisioning
    build_release_app

    scan(
      scheme: "Test",
      clean: true,
      skip_build: true,
      device: "iPhone 6s"
    )

    deliver(
      ipa: './build/TravelBird.ipa',
      force: true, # Set to true to skip PDF verification
      skip_screenshots: true,
      skip_metadata: true
    )

  end

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

    slack(
      message: "Successfully execute lane."
    )
  end

  error do |lane, exception|
    slack(
      message: exception.message,
      success: false
    )
  end

end

# More information about multiple platforms in fastlane:
# https://github.com/KrauseFx/fastlane/blob/master/docs/Platforms.md

`./fastlane/Appfile`
app_identifier "nl.travelbird.TravelBird" # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

# You can uncomment any of the lines below and add your own
# team selection in case you're in multiple teams
# team_name "TravelBird Nederland BV"
# team_id "P36Y9AVLN7"

# you can even provide different app identifiers, Apple IDs and team names per lane:
# https://github.com/KrauseFx/fastlane/blob/master/docs/Advanced.md#the-appfile

for_lane :alpha do
  app_identifier "nl.travelbird.TravelBird.alpha"
end

for_lane :team do
  app_identifier "nl.travelbird.TravelBird.alpha"
end

for_lane :beta do
  app_identifier "nl.travelbird.TravelBird.beta"
end

for_lane :release do
  app_identifier "nl.travelbird.TravelBird"
end```
</details>

### fastlane gems

| Gem      | Version | Update-Status |
| -------- | ------- | ------------- |
| fastlane | 2.3.0   | ✅ Up-To-Date  |

### Loaded fastlane plugins:

**No plugins Loaded**

<details><summary><b>Loaded gems</b></summary>

| Gem                       | Version     |
| ------------------------- | ----------- |
| executable-hooks          | 1.3.2       |
| bundler-unload            | 1.0.2       |
| rubygems-bundler          | 1.4.4       |
| bundler                   | 1.12.5      |
| slack-notifier            | 1.5.1       |
| rouge                     | 1.10.1      |
| xcpretty                  | 0.2.4       |
| terminal-notifier         | 1.6.3       |
| plist                     | 3.1.0       |
| multipart-post            | 2.0.0       |
| word_wrap                 | 1.0.0       |
| babosa                    | 1.0.2       |
| colored                   | 1.2         |
| highline                  | 1.7.8       |
| commander                 | 4.4.0       |
| excon                     | 0.45.4      |
| faraday                   | 0.9.2       |
| unf_ext                   | <IP_ADDRESS>     |
| unf                       | 0.1.4       |
| domain_name               | 0.5.25      |
| http-cookie               | 1.0.2       |
| faraday-cookie_jar        | 0.0.6       |
| gh_inspector              | 1.0.2       |
| uber                      | 0.0.15      |
| representable             | 2.3.0       |
| mime-types-data           | 3.2016.0221 |
| mime-types                | 3.0         |
| hurley                    | 0.2         |
| little-plugger            | 1.1.4       |
| multi_json                | 1.11.2      |
| logging                   | 2.0.0       |
| jwt                       | 1.5.2       |
| memoist                   | 0.14.0      |
| os                        | 0.9.6       |
| signet                    | 0.7.2       |
| googleauth                | 0.5.1       |
| thor                      | 0.19.1      |
| httpclient                | 2.7.1       |
| google-api-client         | 0.9.3       |
| mini_magick               | 4.5.1       |
| multi_xml                 | 0.5.5       |
| rubyzip                   | 1.1.7       |
| security                  | 0.1.3       |
| xcpretty-travis-formatter | 0.0.4       |
| dotenv                    | 2.1.1       |
| faraday_middleware        | 0.10.0      |
| json                      | 1.8.3       |
| claide                    | 1.0.1       |
| xcodeproj                 | 1.3.2       |
| terminal-table            | 1.5.2       |
</details>

*generated on:* **2016-12-27**
</details>

Im also experiencing the same issue, nothing changed on the code signing part for the project.

can some of you guys try this pr -> https://github.com/fastlane/fastlane/pull/7684 i hope that it fixes the issue.

@mpirri
Do we know when this fix might be out?
I have a high priority deployment pending because of this issue...

@shabeepk It's already out. Working now with version 2.3.1

@MarkMolina  I can't seem to update delivery to 2.3.1, has it been pushed to the gem repo ?

@MarkMolina I think I know what I was doing wrong, I was doing deliver instead of fastlane deliver. Trying now, I hope it works 👍

@MarkMolina Okay, it works. Apologies 😄 and sorry for the dumb questions 😦

Hi all,
I got the same issue and It seems that there is a new feature . "Modify live metadata, this option disables ipa upload and screenshot upload"
Then, I set
edit_live "false"

in DeliverFile.
app_identifier ENV["BUNDLE_IDENTIFIER"]
username ENV["FASTLANE_USER"]
name ENV["APP_NAME"]
team_name ENV["TEAM_NAME"]
app_version ENV["BUNDLE_VERSION"]
team_id ENV["DELIVER_TEAM_ID"]
**edit_live "false"**

Lane upload_ipa
desc "Upload iPA to Apple Store"
  lane :upload_ipa do
    deliver(force: true)
  end

runing command: fastlane upload_ ipa
it runs without error.
but running deliver --force true, it returns error:
!] Could not find option 'edit_live' in the list of available options: username, app_identifier, app, ipa, pkg, platform, metadata_path, screenshots_path, skip_binary_upload, skip_screenshots, app_version, skip_metadata, force, submit_for_review, automatic_release, price_tier, build_number, app_rating_config_path, submission_information, team_id, team_name, dev_portal_team_id, dev_portal_team_name, itc_provider, overwrite_screenshots, app_icon, apple_watch_app_icon, copyright, primary_category, secondary_category, primary_first_sub_category, primary_second_sub_category, secondary_first_sub_category, secondary_second_sub_category, app_review_information, description, name, keywords, release_notes, privacy_url, support_url, marketing_url

Besides, running under Jenkins, deliver file cannot upload ipa for me with error:
Unauthorized Access
``

Running directly in command line, it throw the error:

[!] Could not find a version to edit for app 'Bolderland', the app metadata is read-only currently

@biolinh Please share your fastlane env output 👍

[🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.11.6

Ruby
2.3.3

Bundler?
false

Git
git version 2.10.1 (Apple Git-78)

Installation Source
~/.rbenv/versions/2.3.3/bin/fastlane

Host
Mac OS X 10.11.6 (15G1108)

Ruby Lib Dir
~/.rbenv/versions/2.3.3/lib

OpenSSL Version
OpenSSL 1.0.2j  26 Sep 2016

Is contained
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.2.1

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
`./fastlane/Fastfile`
desc "Upload iPA to Apple Store"
lane :upload_ipa do
deliver(force: true)
end
desc "Deploy a new version to the App Store"
lane :upload_appstore do
sh "fastlane-credentials add --username FASTLANE_USER --password KEYCHAIN_PASSWORD"
publishing = ENV["PUBLISHING"]
puts publishing
if publishing == '1'
createnewapp
end
set_google_info_plist_value
appleprovision
sh "pod cache clean 360-Data --all"
sh "pod cache clean 360-Domain --all"
sh "pod update"
increment_build_number(build_number: BUILD_NUMBER)
sh "mv '#{ENV["PROJECT_DIR"]}'/*.mobileprovision brandedapp.mobileprovision"
parsed = FastlaneCore::ProvisioningProfile.parse("brandedapp.mobileprovision")
ProfileSpecifier = parsed["Name"]
sh "echo PROVISIONING_PROFILE_SPECIFIER=#{ProfileSpecifier} >> .env"
puts ProfileSpecifier;
unlock_keychain(path: "login.keychain", password: KEYCHAIN_PASSWORD)
xcclean(scheme: "360" )
sh "sed -i '' 's/ProvisioningStyle = Automatic;/ProvisioningStyle = Manual;/' '#{ENV["PROJECT_DIR"]}'/360.xcodeproj/project.pbxproj"
gym(scheme: "360",codesigning_identity: CODE_SIGN_IDENTITY,xcargs: "PROVISIONING_PROFILE_SPECIFIER='#{ProfileSpecifier}'")
upload_ipa
sh "fastlane-credentials remove --username FASTLANE_USER"
end

`./fastlane/Appfile`
app_identifier ENV["BUNDLE_IDENTIFIER"]
apple_id ENV["FASTLANE_USER"]
team_name ENV["TEAM_NAME"]
team_id ENV["TEAM_ID"]

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/docs/Appfile.md```

### fastlane gems

| Gem      | Version | Update-Status |
| -------- | ------- | ------------- |
| fastlane | 2.6.0   | ✅ Up-To-Date  |

### Loaded fastlane plugins:

**No plugins Loaded**

Loaded gems

| Gem                       | Version      |
| ------------------------- | ------------ |
| did_you_mean              | 1.0.0        |
| slack-notifier            | 1.5.1        |
| i18n                      | 0.7.0        |
| json                      | 1.8.3        |
| thread_safe               | 0.3.5        |
| tzinfo                    | 1.2.2        |
| minitest                  | 5.8.5        |
| activesupport             | <IP_ADDRESS>      |
| CFPropertyList            | 2.3.4        |
| claide                    | 1.0.1        |
| colored                   | 1.2          |
| nanaimo                   | 0.2.3        |
| xcodeproj                 | 1.4.1        |
| rouge                     | 1.11.1       |
| xcpretty                  | 0.2.4        |
| terminal-notifier         | 1.7.1        |
| terminal-table            | 1.4.5        |
| plist                     | 3.2.0        |
| public_suffix             | 2.0.4        |
| addressable               | 2.5.0        |
| multipart-post            | 2.0.0        |
| word_wrap                 | 1.0.0        |
| babosa                    | 1.0.2        |
| highline                  | 1.7.8        |
| commander                 | 4.4.0        |
| excon                     | 0.54.0       |
| faraday                   | 0.10.0       |
| unf_ext                   | <IP_ADDRESS>      |
| unf                       | 0.1.4        |
| domain_name               | 0.5.20161129 |
| http-cookie               | 1.0.3        |
| faraday-cookie_jar        | 0.0.6        |
| fastimage                 | 1.6.8        |
| gh_inspector              | 1.0.2        |
| uber                      | 0.0.15       |
| representable             | 2.3.0        |
| retriable                 | 2.1.0        |
| mime-types-data           | 3.2016.0521  |
| mime-types                | 3.1          |
| hurley                    | 0.2          |
| little-plugger            | 1.1.4        |
| multi_json                | 1.12.1       |
| logging                   | 2.1.0        |
| jwt                       | 1.5.6        |
| memoist                   | 0.15.0       |
| os                        | 0.9.6        |
| signet                    | 0.7.3        |
| googleauth                | 0.5.1        |
| httpclient                | <IP_ADDRESS>      |
| google-api-client         | 0.9.20       |
| mini_magick               | 4.5.1        |
| multi_xml                 | 0.5.5        |
| rubyzip                   | 1.1.7        |
| security                  | 0.1.3        |
| xcpretty-travis-formatter | 0.0.4        |
| dotenv                    | 2.1.1        |
| bundler                   | 1.13.6       |
| faraday_middleware        | 0.10.1       |
| io-console                | 0.4.5        |

*generated on:* **2017-01-09**
]

@biolinh how'd you run deliver?
it is supposed to be run with fastlane deliver ....  since the migration to a monogem 👍
you probably still have a olde deliver installed, which does not have the edit_live  feature.
let me know if this helps?

@hjanuschka: checking version of deliver, it returns that:
deliver -version
deliver 2.6.0

@biolinh hmmm - strange, looks good, can you check if jenkins has authentication problems ? e.g. do some other iTC stuff known-to-work? like calling produce  to create a dummy app?

@hjanuschka: No, my Jenkins job do not do any unrelated work.
It runs as normal for a long time without any problem.

I added "fastlane" prefix before "deliver", and this problem was resolved for me too.


How to cap the maximum number of topics generated?

Hi, how do I put a limit on the maximum number of topics to be generated? And a minimum? Is there a way to do this within the hyper parameter optimization?
Thanks,
Ari

Hi,
Yes, you can do this by setting the label_lower and label_upper parameters. Check out the tutorial notebook for an example: https://github.com/dborrelli/chat-intents/blob/main/notebooks/chatintents_tutorial.ipynb.

Hi, it doesnt seem to work. I have label_upper = 15, and sometimes it generates upwards of 300 labels.
(BTW, great work!)


the demo and unittest code in PAM generates compiler errors

Original issue 381 created by dterrell on 2014-04-18T19:54:31.000Z:
What steps will reproduce the problem?

make clean && make in the libpam directory

What is the expected output? What do you see instead?
no errors/warnings are expected. instead I see a number of these errors:
demo.c:88:36: warning: argument to ‘sizeof’ in ‘memcpy’ call is the same expression as the source; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess]
memcpy(item, &service, sizeof(&service));
What version of the product are you using? On what operating system?
Ubuntu linux.  master and 1.0 download both have the same problem.
Please provide any additional information below.
Trivial patch attached.

This issue was moved to google/google-authenticator-libpam#14


/etc/init.d/mysqld getting created along with /etc/init.d/mysql-sample if sysvinit is used

Cookbook version
8.2
Chef-client version
12.18.31
Platform Details
centos-6.8
Scenario:
Following recipe results into creation of /etc/init.d/mysqld and /etc/init.d/mysql-sample
include_recipe 'yum-mysql-community::mysql55'
mysql_service 'sample' do
  port '3307'
  version '5.5'
  run_user 'mysql'
  data_dir '/vol/mysql'
  service_manager 'sysvinit'
  action [:create, :start]
end

Steps to Reproduce:
use the above recipe
Expected Result:
/etc/init.d/mysqld should not get created as if somebody runs sudo service mysqld start then one more mysql process will start along with a process already running with /etc/init.d/mysql-sample.
Actual Result:
Either /etc/init.d/mysqld or /etc/init.d/mysql-sample should get created.

The "/etc/init.d/mysqld" is probably created by the original RPM or similar package installation. It should be flushed or ideally disabled by chef if it exists from an RPM installation. at least until or unless the "crate an instance of mysql" is reconfigured to allow it to not have a null instance name.

We are no longer supporting operating systems which still use sysvinit.


TTS is not working

I have successfully loaded all modules, like main, readium-shared-js, Epub3.
And thanks to you, Media Overlay is running perfectly.
But TTS is not working as expected.
I need to play TTS if media overlay is not present in ePUB. I think TTS feature is implemented slightly, but it's not in the working stage.
Can anyone say, what changes required to make TTS work?

I wasn’t aware that synthetic speech readaloud was implemented in this project. On Android, I assume the TalkBack screen reader can access the publication content (i.e. HTML documents) hosted inside Readium’s iframe, but of course a stand-alone TTS feature implemented specifically by Readium would offer a different UX.
PS: I am pleasantly surprised to hear that EPUB Media Overlays still work, as the code hasn’t evolved for a long time. Well done for putting together a working app! :)

Closing as N/A Not Applicable (as TTS is not implemented in this SDK)

Okay. Thank you.


Documentation custom mapping

Closes #47

Thanks! I'd probably keep it a bit less verbose. But that can be done later. Merging.
Thanks again for a nice feature.

Thanks! I'd probably keep it a bit less verbose. But that can be done later. Merging.
Thanks again for a nice feature.


Python 3.10: Update another collections.abc import

Most of the work was done in 72841f1c9eb81b4017f9a0bd0545ba94edeb8a6f, but one import got missed.
This is enough to pass the test suite on Python 3.10.

Thanks.


AKPlayer reporting wrong startTime after finished playing the track.

Im not sure if this is intended or a bug, but it only happens on 3.6 and the dev branch:
Reproduce: set pauseTime to a time other than 0, call resume(), wait till it finish play the whole track. Then call play(). It will start from where it previously paused instead of the beginning.
Expected behavior: The startTime should report 0 after the track is finished playing. This will effectively play the track from the beginning.

Thanks I'll check!


Smoktest fails

https://dev.azure.com/monacotools/Monaco/_build/results?buildId=154018&view=logs&j=672276a2-8d3a-5fab-615d-090c51352f92&t=0699ae84-7245-5a45-5eee-80b086af2725

Looks like our call to update.code.visualstudio.com failed. Since this is a source of potential flakiness where we do not control the end point, maybe node-fetch offers some kind of retry logic.


Broken dependency

Is there a way to solve this broken dependency?
Tryed on Deno 0.13.0 and 0.18.0 and got the same error.
Thanks!
Test Code
import Spinner from 'https://raw.githubusercontent.com/ameerthehacker/cli-spinners/master/mod.ts';

const spinner = Spinner.getInstance();

spinner.start('running step 1');
// Perform long running step 1
spinner.setText('running step 2');
// Perform long running step 2
spinner.stop();

Output result
> deno run spinner.ts
Compile file:///C:/temp/deno-play/spinner.ts
Download https://deno.land/x/std/colors/mod.ts
error: Uncaught Other: Import 'https://deno.land/x/std/colors/mod.ts' failed: 404 Not Found
► file:///C:/deno/js/dispatch_json.ts:40:11
    at DenoError (file:///C:/deno/js/errors.ts:20:5)
    at unwrapResponse (file:///C:/deno/js/dispatch_json.ts:40:11)
    at sendSync (file:///C:/deno/js/dispatch_json.ts:67:10)
    at fetchSourceFile (file:///C:/deno/js/compiler.ts:142:15)
    at _resolveModule (file:///C:/deno/js/compiler.ts:243:24)
    at file:///C:/deno/js/compiler.ts:381:33
    at resolveModuleNames (file:///C:/deno/js/compiler.ts:374:24)
    at resolveModuleNamesWorker (typescript.js:89230:127)
    at resolveModuleNamesReusingOldState (typescript.js:89473:24)
    at processImportedModules (typescript.js:90812:35)

Hi @fvilante I will look into it, please feel free to make a PR if you already have!

It had been fixed, please try and let me know. If you still have any difficulties please feel free to create a new issue


fixed the problem of the shader

I edited your program so that the normal map is shown.

I set the OpenGL version to the old one (legacy OpenGL)
I set the version of shader to the old one version 120
I edited the vertex and fragment shader program.
I removed VBO and VAO

I really appreciate it !


Kaleidoscope and Raikou png request

hi! the pngs i cropped aren't working.script just ignores Kaleidoscope and Raikou pngs.
can you add or send them?

I guess you took 1080p screenshots and didn't scale them down to 720p. Can you try if that works?

See https://29988122.github.io/Fate-Grand-Order_Lua/#/support-image-maker

I had this issue as well. I used the support image maker as guided in the wiki and copied the files into the support folder. It appears to be choking on finding the MLB Kaleidoscope; when *kscope.png is used as a command it scrolls endlessly. When the asterisk is removed it will select any Kaleidoscope as expected. I have attached the generated Kaleidoscope file from the support maker.


too many login attempts

Please check if your issue is not a duplicate by searching existing issues
Describe the bug
A clear and concise description of what the bug is.
im getting the too many login attempts bug, it only applies to the runelite client im able to play on the vanilla and steam client/mobile just fine
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error
not really sure i just went afk doing hydra and came back and wasnt able to login

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: [e.g. Windows, Ubuntu, macOS] windows 10
RuneLite version: [e.g 1.4.6] 1.7.19
Launcher version: [e.g 1.5.2]  2.1.7

Additional context
Add any other context about the problem here, e.g. logs. Your client logs can usually be found in
C:\Users\<your_user_name>\.runelite\logs on Windows and ~/.runelite/logs on Linux and macOS.

This is not a RuneLite issue and there's nothing that we can do to help you. You'll either have to play via mobile or steam and complain to Jagex about it, a VPN might help.

disappointing, i got the same reply from jagex basically to use their steam client instead


Add 3D app launcher visualization and move to global build handler

Overview

Adds a visualization to the 3D app launcher in the build window

Adds an additional access point to setting the 3D app launcher in MRTK build settings, which allows it to be used on any build, not just a build through the build window

Updates the 3D app launcher field to only accept glTF files

Adds a scrollbar to the AppX Build Settings pane in the build window, since the model visualization takes up some vertical space (recommend hiding whitespace changes when reviewing)

Assigns an MRTK icon to our build settings

Changes

Follow-up to #6309, #1231

/azp run

/azp run

Could you mention the change in the release notes?

Could you mention the change in the release notes?

/azp run

/azp run

Could you mention the change in the release notes?

@MaxWang-MS Added!

Could you mention the change in the release notes?

@MaxWang-MS Added!

I just tried the PR in editor and it looked good except for when trying to build unity project/appx package I received the following warning in the console. Could you confirm whether this is expected behavior?
null texture passed to GUI.DrawTexture
UnityEditor.Editor:OnInteractivePreviewGUI(Rect, GUIStyle)
Microsoft.MixedReality.Toolkit.Build.Editor.MixedRealityBuildPreferences:DrawAppLauncherModelField() (at Assets/MRTK/Core/Utilities/BuildAndDeploy/MixedRealityBuildPreferences.cs:88)

I just tried the PR in editor and it looked good except for when trying to build unity project/appx package I received the following warning in the console. Could you confirm whether this is expected behavior?
null texture passed to GUI.DrawTexture
UnityEditor.Editor:OnInteractivePreviewGUI(Rect, GUIStyle)
Microsoft.MixedReality.Toolkit.Build.Editor.MixedRealityBuildPreferences:DrawAppLauncherModelField() (at Assets/MRTK/Core/Utilities/BuildAndDeploy/MixedRealityBuildPreferences.cs:88)

/azp run

@MaxWang-MS I wasn't able to consistently repro, but I did see it a couple times. I added the only other null check I could think of to help prevent it! Not sure if it made a big difference though, and I'm not sure a way to prevent it :/

/azp run mrtk_pr

/azp run

/azp run


REST Authentication documentation + schemas

@ClaudeROSSI You can also have a look at this PR as you know OAS also :-)

@ClaudeROSSI You can also have a look at this PR as you know OAS also :-)


zerver: Block access to subdirectories when visiting user docs articles.

Render missing.md and serve a 404 error whenever a user tries to access an article in the include subdirectory (triggered whenever / is in the article path).
Fixes #6770

Looks good, will merge once travis passes.

Merged, thanks @synicalsyntax!


I think i didn't push whatever i changes i made in the night, please check now.


failed to get token from keyring

i've been happily using discordo over the week and have encountered with this on a daily basis; after following up with issues #390 and #413, i was capable of successfully login in, but now i'm just stuck and can't figure out what else to do...
i'm on Manjaro + sway

fixed it, dumb me, i was restarting my sway session but i also had to close all terminals (had one left with cmus playing music, so yeah... my bad, sorry).


NameError: uninitialized constant Chef::Knife::JobStart::JobHelpers

Using master and newest Chef:
$> bundle list | egrep "push|chef \("
  * chef (12.8.1)
  * knife-push (0.9.1 925367f)

$> > knife job start unlock -s 'chef_environment:*' --timeout  30000 --quorum 1%
ERROR: knife encountered an unexpected error
This may be a bug in the 'job start' knife command or plugin
Please collect the output of this command with the `-VV` option before filing a bug report.
Exception: NameError: uninitialized constant Chef::Knife::JobStart::JobHelpers

INFO: Using configuration from /Users/scalp/.chef/knife.rb
/Users/scalp/.rvm/gems/ruby-2.2.4@chef/bundler/gems/knife-push-925367ffa187/lib/chef/knife/job_start.rb:92:in `run': uninitialized constant Chef::Knife::JobStart::JobHelpers (NameError)
	from /Users/scalp/.rvm/gems/ruby-2.2.4@chef/gems/chef-12.8.1/lib/chef/knife.rb:421:in `block in run_with_pretty_exceptions'
	from /Users/scalp/.rvm/gems/ruby-2.2.4@chef/gems/chef-12.8.1/lib/chef/local_mode.rb:44:in `with_server_connectivity'
	from /Users/scalp/.rvm/gems/ruby-2.2.4@chef/gems/chef-12.8.1/lib/chef/knife.rb:420:in `run_with_pretty_exceptions'
	from /Users/scalp/.rvm/gems/ruby-2.2.4@chef/gems/chef-12.8.1/lib/chef/knife.rb:219:in `run'
	from /Users/scalp/.rvm/gems/ruby-2.2.4@chef/gems/chef-12.8.1/lib/chef/application/knife.rb:148:in `run'
	from /Users/scalp/.rvm/gems/ruby-2.2.4@chef/gems/chef-12.8.1/bin/knife:25:in `<top (required)>'
	from /Users/scalp/.rvm/gems/ruby-2.2.4@chef/bin/knife:22:in `load'
	from /Users/scalp/.rvm/gems/ruby-2.2.4@chef/bin/knife:22:in `<main>'
	from /Users/scalp/.rvm/gems/ruby-2.2.4@chef/bin/ruby_executable_hooks:15:in `eval'
	from /Users/scalp/.rvm/gems/ruby-2.2.4@chef/bin/ruby_executable_hooks:15:in `<main>'

@martinisoft or @thommay maybe :pray: ?

JobHelpers is a module that is exporting class methods and doesn’t inherit from Chef::Knife so it has no def rest
could inject the rest object from the code into the JobHelper call (changing the shape of that API).  could mix the JobHelpers directly into the Chef::Knife classes so that they have access to def rest.  Could bake in a call to get a Chef::ServerAPI object directly in the JobHelper (which will likely break old Chef 11 clients?).

@lamont-granquist Which of those three solutions seems like the best option then?

i don't know, that would be the next step.


Clicking a markdown link hijacks the sidebar

See gif:

Thanks for reporting this! We've created SIDE-2366 to track this issue.


Track who submitted appointment attendance & behaviour for delivery sessions

What does this pull request do?
Tracks who submitted appointment attendance & behaviour for delivery sessions
What is the intent behind these changes?
To be able to conform to ADR-4: Store time and actor information in data

oh. this might overlap with #363

would be good to seperate formatting changes and functional changes in future PRs 🙃

good point. will do!


Create issues regarding differences between File and AWS job stores

Ask on the Mesos mailing list.

Fixed by Benedict in DAG branch


switch to gortsplib v2

Fixes #1103
gortsplib/v2 supports multiple formats inside a single track (media). This allows to apply the resizing algorithm to single formats inside medias.
For instance, if a media contains a a proprietary format and an H264 format, and the latter has oversized packets, they can now be resized.

Codecov Report

Merging #1301 (7b53d3f) into main (074cfa6) will decrease coverage by 0.12%.
The diff coverage is 68.71%.

@@            Coverage Diff             @@
##             main    #1301      +/-   ##
==========================================
- Coverage   65.76%   65.63%   -0.13%
==========================================
  Files         107      109       +2
  Lines       10840    10809      -31
==========================================
- Hits         7129     7095      -34
- Misses       3145     3149       +4
+ Partials      566      565       -1

Impacted Files
Coverage Δ

internal/conf/authmethod.go
0.00% <ø> (ø)

internal/conf/conf.go
72.16% <ø> (ø)

internal/conf/path.go
20.74% <ø> (ø)

internal/conf/protocol.go
30.00% <ø> (ø)

internal/conf/sourceprotocol.go
0.00% <ø> (ø)

internal/core/core.go
85.40% <ø> (ø)

internal/core/data.go
33.33% <ø> (ø)

internal/core/formatprocessor_generic.go
0.00% <0.00%> (ø)

internal/core/rpicamera_source.go
0.00% <0.00%> (ø)

internal/core/rtsp_server.go
89.66% <ø> (-0.13%)
:arrow_down:

... and 44 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Try out commands like "vi README.md" in Linux or WSL

Some commands are working fine in Windows, but I'm seeing a few in Linux (or WSL) that aren't working correctly. Might be related to recent changes, I'm not sure.

Recent PRs have broken this again

Currently working around via https://github.com/wycats/nushell/pull/71


Fix stucking at "Waiting for master components to start" after upgrading

install_snap() removes flag kubernetes-master.components.started
but there is no set it back.
so status is stuck at "Waiting for master components to start"

I just removed it but if there is proper way, Please advice me.
Thanks

https://bugs.launchpad.net/charm-kubernetes-master/+bug/1825819

This isn't the right fix, since it will prevent the Kubernetes services from being reconfigured properly after snap upgrades.
Please refer back to https://bugs.launchpad.net/charm-kubernetes-master/+bug/1825819. We'll help you there.


Separate priority and preemption

Separate priority and preemption. We need to let user know how to configure preemption for scheduler.
PR in kubernetes repo: https://github.com/kubernetes/kubernetes/pull/62243

kindly ping @bradtopol for approve

/lgtm
/approve


getAccessTokenSilently fails on incognito mode

Describe the problem
I’m using the @auth0/auth0-react library in our Next.js app and when authenticated, the getAccessTokenSilently throws an error of login_required when running on incognito mode. But works as expected on the normal mode.
Reproduction
Next.js _app
<Auth0Provider
      domain={"..."}
      clientId={"..."}
      redirectUri={"http://localhost:3000/"}
      onRedirectCallback={(appState) =>
        Router.replace(appState?.returnTo || "/")
      } >
      <Component />
 </Auth0Provider>

 useEffect(() => {
    (async () => {
      try {
        const token = await getAccessTokenSilently()
       .....
      } catch(e) {
        // Throws an error on incognito mode of `login_required`
       ...
      }
    })()
  }, [isAuthenticated, user, getAccessTokenSilently])

Environment

Version of auth0-react used: ^1.8.0
Which browsers have you tested in? Chrome Incognito mode (works right in Chrome & Firefox)
Which framework are you using, if applicable (Angular, React, etc): Next.js ^9.4.4

Same issue here with React app ^17.0.2.
"@auth0/auth0-react": "^1.8.0"
Im using cacheLocation: 'localstorage'.
It works if instead of using getAccessTokenSilently I use getAccessTokenWithPopup.

Hey,
A few things to note here.

getAccessTokenSilently relies on third party cookies. Chrome incognito doesn't allow for third party cookies which is why getAccessTokenSilently isn't working. To solve this, you should use Refresh Tokens or Custom Domains, see: https://github.com/auth0/auth0-react/blob/master/FAQ.md#1-user-is-not-logged-in-after-page-refresh

you shouldn't use getAccessTokenSilently to switch organizations, see: https://github.com/auth0/auth0-react/issues/292

Closing this, as this is a known limitation with browsers that block third party cookies and the workaround is available, there isn't anything we can do other than have you configure the SDK in such a way that it doesn't rely on third party cookies (Refresh Tokens or Custom Domains).


export type

Hi
Have you thought about exporting ExternalToast type to make wrappers easier?

This has been fixed in #26


Add required_ruby_version

Add required_ruby_version  because using &.
https://github.com/titusfortner/webdrivers/blob/v4.1.3/lib/webdrivers/chrome_finder.rb#L83
https://www.ruby-lang.org/en/news/2015/12/25/ruby-2-3-0-released/

@masatooba Thank you for your contribution! After discussing with @titusfortner and @twalpole, we have decided to require Ruby >= 2.4.0 in webdrivers v4.3.0.
Closed by 77057bf20a62455a6f5eee1672c3ddae33c28c93


Set empty keccak codehash when account comes into existence

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Contents
Set the keccak code hash (in addition to the poseidon code hash which we already do) when an account comes into existence because of a transfer or create.

oh a rw mismatch


Failed to load the native TensorFlow runtime. even though I have specified all paths and everything

System information

OS: Windows 10
TensorFlow version: 2.1
Python version: 3.7.0
Installed using pip
CUDA version: 10.1
cuDNN version: v<IP_ADDRESS>
GPU model and memory: GTX 1080 Ti

Describe the problem
Hello I tried installing tensorflow using the following command -
pip --no-cache-dir install tensorflow

I am using no cache dir as I tried installing tensorflow many times and all of them failed. So i reinstalled python 4 times and then finally I used this command. It installed tensorflow.
But now  when I do -
>>> import tensorflow

It gives me the following error -
https://pastebin.com/T9niAwFt
So now I have installed everything and even added python to path and also the cuda and cudnn. But please note last time I installed python I didn't add it to path so I added it so it made 2 paths when I reinstalled python and they got duplicated and then I deleted the duplicated ones. And now here are my path variables -

And by the way I am using vs code 2017 and I have everything installed and also by the way I am not using any venv as I want to acess tensorflow without having to activate any environment and writing lines to activate every time I wanna acess tensorflow.

I guess your problem is because of CUDA 10.2 which is not yet supported for v2.1.0
Refer the GPU Guide, it is mentioned that "TensorFlow supports CUDA 10.1 (TensorFlow >= 2.1.0)".

@adityaa30 New update I did 10.1 now and it still doesent work

@rajcivils
Just to verify did you follow the instructions for installing GPU for windows .
What is make/model of your cpu?. Does your cpu supports AVX instructions sets.Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Revert "Add explicit diplay properties to input elements"

This commit collapsed label’s and busted the layout:
Currently

After (what this revert brings back)

:+1:

good


when running on minishift we should enable cluster-reader to ServiceAccounts

on minishift various apps don't work as we've been assuming a ServiceAccount should be able to read the REST API endpoints / pods etc (like for ribbon or cassandra).
So for now it might be nice for gofabric8 to do this
oc adm policy add-cluster-role-to-group cluster-reader system:serviceaccounts

A longer term more complex fix is maybe to add RoleBindings into our apps for openshift.yml?

yeah this sounds good to me, shall I add it into gofabric8?

that'd be awesome! Not totally sure how to do it via the go API :) fingers crossed its not too hard

@jstrachan do we want to do this when just deploying to minishift or any openshift?

I've gone for any openshift for now, we can do it just for minishift later if preferred.


Restrict files permissions

With current permissions there are many warning logs complaining about "insecure file permissions" when you start the service.
Restrict acces only to the opensearch user and remove permissions for the group.
So instead of 750 for directory it should be 700.
Instead of 640 for files it should be 600.

Related: https://github.com/voxpupuli/puppet-opensearch/pull/34
See (and raise your voice in :smile:) discussions with upstream:

https://github.com/opensearch-project/opensearch-build/issues/3815
https://github.com/opensearch-project/opensearch-build/issues/4087

Version 2.13 has a changed default package permissions:
https://github.com/opensearch-project/opensearch-build/pull/4043


Update readme to reflect elastic stack's changed paths

Closes #53.

Apologies thought I'd merged this!


Runtime should install user dependencies into a virtualenv

Since the compat and vmruntime packages are now split, this should be a lot easier.


Display carrier to add during sample loading

Adds a new column for Be and Al to display the needed amount
of carrier to reach the target mass in micrograms/L.
Fixes #2.

This is a start, but we still need to allow the user to configure the desired mass of Al and Be for the batch on the sample loading page. We also should create a settings section where the user can configure the default values Al and Be target masses in each analysis/sample.


Heap sort in python.py

`# Heap Sort in python
def heapify(arr, n, i):
# Find largest among root and children
largest = i
l = 2 * i + 1
r = 2 * i + 2
  if l < n and arr[i] < arr[l]:
      largest = l

  if r < n and arr[largest] < arr[r]:
      largest = r

  # If root is not largest, swap with largest and continue heapifying
  if largest != i:
      arr[i], arr[largest] = arr[largest], arr[i]
      heapify(arr, n, largest)

def heapSort(arr):
n = len(arr)
  # Build max heap
  for i in range(n//2, -1, -1):
      heapify(arr, n, i)

  for i in range(n-1, 0, -1):
      # Swap
      arr[i], arr[0] = arr[0], arr[i]

      # Heapify root element
      heapify(arr, i, 0)

arr = [1, 12, 9, 5, 6, 10]
heapSort(arr)
n = len(arr)
print("Sorted array is")
for i in range(n):
print("%d " % arr[i], end='')
`

Sir, you have to add file like others not to comment here!

Sir, you have to add file like others not to comment here!
I have done the changes and made new pr
https://github.com/AdarshAddee/Hacktoberfest2022_for_Beginers/pull/570

https://github.com/AdarshAddee/Hacktoberfest2022_for_Beginers/pull/571


Undo/Redo: better name for "Workspace Edit"

Refs: #91248
If I do a "Rename" workspace edit, we should ideally use that as a label over the generic "Workspace Edit".

This will also be helpful for refactor preview

In fact, there already is IBulkEditOptions#label and rename sets a value for it

This looked low hanging, so I just tackled it.

I have pushed another change that makes code actions also set a label

Still a clash of quotes, but that is just polish or we leave it.

@bpasero I tackled that in a different issue with feedback from you, but I don't think there is an insiders available yet.

@alexdima ah ok good, thanks!


Discussion -  Workflow

We've created a brand new Gulp workflow for Foundation for emails including a command line interface to templataize emails, inline them and modify Sass.  We want to know if this is even a thing you're interested in using! We have a few questions around this:

Will you use our gulp set up?
Does Inky do what you need it to do?
Is there anything you're using that you'd love to see?

This issue was moved to zurb/ink#160


Fix incorrect encoding strings in FileUploadInterceptorTest

Fix incorrect encoding strings provided in FileUploadInterceptorTest

Tests were using "text/html" which is not a valid character encoding. No impact currently, but the tests could fail in the future if this is not corrected.  If the code is re-used elsewhere for a test of an action a
valid encoding will be needed.
Switch to a predefined constant Charset to get the string instead.

I wonder if it would be enough to integrate those kind of fixes into the master branch. This would minimize the number of changes for maintenance branches.

Hi.  This is a minor correction for future-proofing the FileUploadInterceptorTest.
The incorrect encoding was discovered when trying to build a unit test of an action with a mock file upload based on this test  (and UnsupportedEncodingException arose).
It will be easy to cherry-pick into 2.6.x as well.

Hi @sepe81.  I think I see your point concerning master vs. maintenance branches, but since it was found within 2.5.x first I figured it should be fixed there first.  A PR for the master branch alone could be done, but a fix in 2.5.x and cherry-pick into 2.6 should be pretty simple for this one.
I'm fine either way ... we can wait and see if anyone else prefers one over the other.

Coverage remained the same at 47.069% when pulling ce467b7fa51d8cd98d19665c965a4bcc88553778 on JCgH4164838Gh792C124B5:local_25x_TstFix1 into 73eb6ed189cd3e3625a11cdeb213d948f611a9bf on apache:struts-2-5-x.

Thanks for the quick reply @JCgH4164838Gh792C124B5 -- I am OK either way, too. Just wanted to express my thoughts on that AND hope to see version 2.6 one day. ;-)

@sepe81 is right, please focus on Struts 2.6 :) I rather do not expect to release one more 2.5.x version.


Region folding not working at last region, if region only contains indented code

Discussed in https://github.com/microsoft/vscode-python/discussions/19815

Originally posted by Roffelkopter5 September 12, 2022
I have a Python class with a lot of diffrent methods, wich I want to group into regions. For the first 5 regions the folding works perfectly normal, but after the the region PROPERTIES it just stops working.
Here is a stripped down version of my code.
# Bunch of imports

class Sprite:
    def __init__(self):
        ...

    # region MOTION

    def change_pos(self):
        ...

    # Some other functions

    def bounce_on_edge(self):
        ...

    # endregion

    # region LOOKS

    def set_image(self):
        ...

    # Some other functions

    def show(self):
        ...

    # endregion

    # region EVENTS

    def on_key(self):
        ...

    # Some other functions

    def clone(self):
        ...

    # endregion

    # region CONTROLS

    def wait(self):
        ...

    # Some other functions

    def repeat_until(self):
        ...

    # endregion

    # region PROPERTIES

    @property
    def image(self):
        ...

    # Some other functions

    @property
    def name(self):
        ...

    # endregion

    # region PRIVATE

    def _update(self):
        ...

    # Some other methods

    def _scale_and_rotate(self):
        ...
    # endregion

After further testing I noticed, that the problem does not occur espacially at the fith region, but on the last one. And the nature of the problem seems to lie in the fact that the region only contains indented Code. I don't know if this behaviour is intentional, or if there's an easy fix for it, but it's kind of annoying not being able to collapse the last region.
I hope I described the problem clearly and that my english is not too bad :)

Simplified form:
class Sprite:
    # region PRIVATE

    def _update(self):
        ...

    # endregion

This is a duplicate of https://github.com/microsoft/pylance-release/issues/3290


【TextField】TextField content will auto clear

with the TextField/CupertinoTextField with Flutter V1.17.1.  when I select all content and copy it.then input new thing. the content will auto clear.
Steps to Reproduce

flutter doctor
[✓] Flutter (Channel stable, v1.17.1, on Mac OS X 10.15.4 19E287, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
[✓] Android Studio (version 3.6)
[✓] Connected device (1 available)
code
import 'package:bigshop/common/config/UIConfig.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class HomeVC extends StatefulWidget {
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State {
int _counter = 0;
void _incrementCounter() {
setState(() {
_counter++;
});
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('首页'),
),
body: Center(
child: CupertinoTextField(
        focusNode: FocusNode(),

        placeholderStyle: TextStyle(color: AppColors.Hint, fontSize: 16),

        decoration: BoxDecoration()

    ),
  ),
  floatingActionButton: FloatingActionButton(
    onPressed: _incrementCounter,
    tooltip: 'Increment',
    child: Icon(Icons.add),
  ), // This trailing comma makes auto-formatting nicer for build methods.
);

}
}

This also happens with English text

Code Sample
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Material App',
      // theme: ThemeData.dark(),
      home: HomeVC(),
    );
  }
}

class HomeVC extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('首页'),
      ),
      body: Center(
        child: CupertinoTextField(
            focusNode: FocusNode(),
            placeholderStyle: TextStyle(color: Colors.orange, fontSize: 16),
            decoration: BoxDecoration()),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel dev, 1.19.0-1.0.pre, on Mac OS X 10.15.4 19E287, locale
    en-GB)
    • Flutter version 1.19.0-1.0.pre at /Users/tahatesser/Code/flutter_dev
    • Framework revision 456d80b9dd (2 weeks ago), 2020-05-11 11:45:03 -0400
    • Engine revision d96f962ca2
    • Dart version 2.9.0 (build 2.9.0-7.0.dev 092ed38a87)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/tahatesser/Code/SDK
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/tahatesser/Code/SDK
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.45.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.10.2

[✓] Connected device (4 available)
    • Taha’s iPhone • 00008020-001059882212002E • ios            • iOS 13.5
    • macOS         • macOS                     • darwin-x64     • Mac OS X
      10.15.4 19E287
    • Web Server    • web-server                • web-javascript • Flutter Tools
    • Chrome        • chrome                    • web-javascript • Google Chrome
      81.0.4044.138

• No issues found!

@TahaTesser Can you reproduce this on master?  It seems fixed to me.  Not sure what was changed to fix it though.

Thanks @justinmc
issue no longer reproducible in English or Chinese on latest master

flutter doctor -v
[✓] Flutter (Channel master, 1.19.0-2.0.pre.145, on Mac OS X 10.15.4 19E287,
    locale en-GB)
    • Flutter version 1.19.0-2.0.pre.145 at
      /Users/tahatesser/Code/flutter_master
    • Framework revision af9b6a6efa (20 hours ago), 2020-05-26 09:17:55 -0700
    • Engine revision 9ce1e5c5c7
    • Dart version 2.9.0 (build 2.9.0-10.0.dev 7706afbcf5)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/tahatesser/Code/SDK
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/tahatesser/Code/SDK
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.45.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.10.2

[✓] Connected device (4 available)
    • Taha’s iPhone • 00008020-001059882212002E • ios            • iOS 13.5
    • macOS         • macOS                     • darwin-x64     • Mac OS X
      10.15.4 19E287
    • Web Server    • web-server                • web-javascript • Flutter Tools
    • Chrome        • chrome                    • web-javascript • Google Chrome
      81.0.4044.138

• No issues found!

Closing the issue as fixed


Allow aliases for devices

Hi there, great project. Been having fun setting it up.
I have a feature request to make: allow setting up aliases for devices. Here's how my dashboard looks:

These devices are being reported from my router by a script I made. Now, I could have used the hostname but I don't want to take the chance that one of the devices changes name in the future, so I went with MAC address.
Having said that, it's very difficult to determine which device is which at a glance. I'd love to be able to send the hostname as an alias so it could be easily identified in the UI (which I use for manual learning).

@nunofgs Thanks, this is a popular feature request.
I'm not planning on doing this in the future, so I'm happy to integrate a PR if someone would like to tackle it.


Continuous ADC Sample Values are Decimated through USB (IDFGH-14200)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
If I set the sample rate on the ESP32-C3 and run that for one minute, and then verify how many sample values there are, then have them outputted to serial port through USB, they do not match in value number size and/or length.

Could you help give more info about the mismatch between the size of the results and the one when via USB?

I have the sample rate set for 83333 Hz. It takes 160 seconds to acquire 2376800 samples. This does not equate to the correct sample rate. I have the serial baud rate set for 2,000,000.

May I know how many ADC channels you captured? @dustinlaroche

Only one channel.
On Wed, Dec 11, 2024, 2:49 a.m. Icarus113 @.***> wrote:

May I know how many ADC channels you captured? @dustinlaroche
https://github.com/dustinlaroche
—
Reply to this email directly, view it on GitHub
https://github.com/espressif/esp-idf/issues/14998#issuecomment-2535206020,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAZVCD3KYHWDKPWDI4UESST2E74BNAVCNFSM6AAAAABTGHF2QSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZVGIYDMMBSGA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Initial prediction model workflow

This PR adds a set of targets that develop ranger random forest models to predict streamflow metrics.
Phase 5: Select Features
Two feature selections are applied globally (to the full GAGES dataset):

The refine_features function is used to remove features that have the same value for all gages, and to drop features that are specified in drop_columns. The dropped features either had NAs, were perfectly correlated with another feature, or were highly correlated with another feature (>0.9).
The drop_high_corr_ACCTOT function is used to drop all TOT features that are highly correlated with non-TOT features. This step resulted in dropping all remaining TOT features in favor of using divergence routed ACC features.

Phase 6: Predict

For each model region and metric to be predicted, the screen_Boruta function is used to further screen features. First, the features within the modeling region are scanned and removed if they have the same value for all gages in the modeling region. Then, the split_data function is used to create training and testing datasets. Finally, the Boruta algorithm is used to select "all relevant" features based on the training dataset. The Boruta algorithm is applied three times: using all features, without CAT features, and without ACC features. The union of identified features is selected for prediction for that model region and flow metric. This function returns the train/test split with screened features.
The train_models_grid function is used to tune the parameters of the RF model using a grid search. The search is a space filled design. A 5-fold cross validation is used to get the prediction performance (mean over 5 folds). The function returns the summary results for each model evaluated, and the model whose parameters provided the best RMSE. This step takes about 8 mins on 35 cores. I have not tried to further reduce computation time.

Plots
The result of Boruta screening applied to all features is plotted with the plot_Boruta function

The performance metrics as a function of the grid search parameters are plotted with the plot_hyperparam_opt_results_RF function. Note: number of trees is the 3rd variable not symbolized here. Could vary point size for trees.

The variable importance plot for the best model is plotted with the plot_vip function.

How to run

submitted with sbatch --ntasks-per-node=35<EMAIL_ADDRESS>./slurm/launch-rstudio-container.slurm regional-hydrologic-forcings-container_FHWA_cc55e9da.sif
Container version: regional-hydrologic-forcings-container_FHWA_cc55e9da.sif
number of cores: 35
I set up the parallelization to work with tar_make(). I haven't tested with tar_make_clustermq(). I initially had issues with the clustermq approach and switched to a different method with doParallel.

Notes: Created issues for these

Only the 90th percentile flow volume is predicted, but we should be able to map with dynamic branching to predict for other metrics. #113
Only the rainfall-dominated flood region metrics have been tested, but the workflow should hold for other regions. Draft targets are provided for the other regions. #111
split_data currently uses a random split instead of using the nested gages matrix to inform splits #112
train_models_grid is currently based on a grid search. Refining hyperparameters with a Bayesian optimization is very slow when using the results of the grid search to provide initial solutions. Should investigate why and report to the tune_bayes GitHub repo if we have trouble. #114
Several tests we should do: Test with and without WB model variables, Test with and without monthly climate variables, Test creating and using seasonal climate variables to remove high monthly correlations #115
Should add an automatic method in the p6 phase to select variables with correlations < 0.9. #116
There are several plot functions that have not yet been tested: plot_vip, barplot_compare_RF

Closes #97

@jds485  I got this error running on tallgrass.  Looks like an error getting the NHDPlus attributes from science base.  Any thoughts on what is going on here?

I got this error running on tallgrass. Looks like an error getting the NHDPlus attributes from science base. Any thoughts on what is going on here? Its in target p1_sb_data_g2_csv

Did you try restarting it? I have seen errors like this occur seemingly at random. Maybe we need to implement a trycatch for these downloads, too.


JsonProperty required allowed but not respected on record parameters

Source/destination types
record R([JsonProperty(Required = Required.Always)] string A, [JsonProperty(Required = Required.Always)] string[] B);

Source/destination JSON
{}

Expected behavior

Deserialization error because the required properties were not present.
Actual behavior

Deserializes successfully with all properties null.
Steps to reproduce
JsonConvert.DeserializeObject<R>("{}");

Your attribute is invalid, try to use [property:JsonProperty...]

@MO2k4
No, the application of the attribute as shown is not invalid. It's meant to support constructor parameters:
https://github.com/JamesNK/Newtonsoft.Json/blob/2eaa475f8853f2b01ac5591421dcabd7a44f79ce/Src/Newtonsoft.Json/JsonPropertyAttribute.cs#L34-L35


[release-4.13] OCPBUGS-21329: CVE-2023-44487: bump golang.org/x/net to v0.17.0

cc @openshift/storage

/jira refresh

/label backport-risk-assessed

/lgtm

/jira refresh

CI result looks good.
Verified with golang.org/x/net v0.17.0 in go.mod file
/label cherry-pick-approved
/label qe-approved

/jira refresh

/lgtm

/jira refresh


Add command-line functionality

This PR indroduces command-line functionality, allowing users to perform the same tasks as before but through the terminal.
Changes

New CLI functionality:

Added cli.py: Contains CLI entry point (using click).
Added build_lookup.build_lookup_from_fastas_cli(): Runs the existing build_lookup.build_lookup_from_fastas() using terminal inputs.
Added convert.convert_gene_cli(): Reads an input file into a DataFrame, runs the existing convert.convert_gene() using terminal inputs, then saves the output to an output file.

Documentation updates:

Replaced the usage.ipynb notebook with two separate notebooks:

usage_cli.ipynb for CLI usage.
usage_library.ipynb for library usage.

Extensively updated the documentation to give CLI instructions and examples, and to be neutral towards people using TCRconvert via importing or the command-line.

Dependencies and formatting:

Added click>=8.1.7 as an installation requirement.
Added extra blank lines at the ends of some example files to match how Pandas writes output CSV/TSV files.

Testing

Added test_cli.py: Contains tests for CLI functionality (using click.testing).
Verified CLI functionality by running commands with various settings.

@sckott if you have time could you try installing from this branch and just ensure that the terminal options show up?

Will do, thanks!

Python version

I would encourage you to use a more recent Python if possible. 3.10 is getting pretty old. We're on 3.13 as the current one now.
I'd strongly suggest pinning the Python version in your package with a .python-version file

Dependencies

I couldn't run tests from this PR, so I had to change a few things
You can do away with the requirements.txt files and just list dependencies in your pyproject.toml with sections for the main code to run, for dev and for docs
I'd pin each dependency to a min version, e.g., click >= 8.1.7
You're missing click in dependencies  - I see you have it in requirements.txt but you don't have it in your pyproject.toml.
I'd make sure to use dev dependencies. If you switch to using uv then you can add dev dependencies by doing e.g., uv add pytest --dev

Docs and examples for functions

I'd strongly recommend having examples fully work. E.g., you have pd.read_csv('path/to/10x_tcrs.csv') - instead have an example file that comes with the package that the user can use, If you have code that can really run you could optionally test that your excamples run too with https://docs.python.org/3/library/doctest.html

Code in general

strongly recommend avoiding single letter parameters in your classes/functions, e.g., pad_single_digit and add_dash_one

Regarding the 11/21/24 comment:

Python version

Fixed by pinning version to 3.12 in 612254ffacb958e933f468005a82f480397598c3

Dependencies

Fixed via multiple commits, now all requirements are specified in the pyproject.toml

Docs and examples for functions

Fixed via multiple commits, now we have working examples

Code in general

Fixed single letter parameters in c238ce605d36e2030d5433f783a00dfb9d8d37d4


Enable sodaq boards, platformio made a change to their board configur…

…ations
* .travis.yml:

Got it working, but there is a warning on one of the sodaq files from platformio which causes now an error due to -Werror, made an issue to platformio


Support for non-string states such as int and Enum

Thanks for the review! Please wait as we are working on fixing your suggestions.

@Inspiaaa
I have fixed the following two bugs. Please review again.

Needs Exit Time / Pending States
Automatic start state setting

Thanks for fixing the bugs!
I really like your solution. I'm going to merge your pull request. 👍


Feat: check whether a project matched a config's project

If the config project is not nil, it's matched whether the project
matched the target project.
If the config project is nil, the target project matched the config.
Signed-off-by: Zheng Xi Zhou<EMAIL_ADDRESS>Description of your changes

Fixes #
I have:

[ ] Read and followed KubeVela's contribution process.
[ ] Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
[ ] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Special notes for your reviewer

/backport release-1.3


strip backslashes?

Should backslashes in strings be stripped? I noticed that backslashes are used to escape the " within strings and jsmn keeps them.
I'm not sure whether jsmn should handle such cases or the overlaying software. So I started this issue.
Thanks in advance and thanks for this great project. :)

As of now JSMN does not unescape JSON strings, so it has to be done manually. In the future this might be an optional feature of JSMN tho.
For more informations refer to Strings section of RFC-8259.

Ah, good to know that. Thanks for your fast reply and the hint with the RFC.


Add support for sqlalchemy 1.4

Add testing with both sqlalchemy <1.4 and ==1.4 and update setup.py/conda dependency list
Change cache system in setup_ncattribute to first check the database for matches before looking at the cache to fix an ordering issue
Change index_file to always use unique CFVariable objects, rather than generating temporary non-unique objects as these were sometimes getting added to the database
Manually set column names in querying dataframes, as they are no longer automatically generated

I've not explored the performance impact of the setup_ncattribute change
There is a minor breaking change in querying functions, empty results will still be zero length but will now have non-zero columns

Fixes #236 in case that isn't obvious.

Thanks for this @ScottWales
@angus-g do you have time to take a quick look?


Distinguish what files were changed in the output

Is your feature request related to a problem? Please describe.
It is not clear what files were changed from the import_sorter output. In fact. all files appear to be changed. I would like to review files that were changed by the tool. This could be especially useful when running import_sorter as a pre-commit hook.
Describe the solution you'd like
I would like to see just an "Ok" for files that were not changed and the current output for those that were.
Describe alternatives you've considered
There is none.

This sounds great! Do you think having the file name be yellow instead of green would work to signify that it was updated?

Do you think having the file name be yellow instead of green would work to signify that it wasn't updated?

I guess. However, it is better to avoid relying on color only IMO as there are a lot of cases when color is not available, i.e. command output in an IDE or on CI, custom terminal color schemes, etc.
As for me, as long as the output is distinguishable in plain text the color doesn't really matter that much.

So it not shows the number of imports actually update in the file out of the total number of imports. See the change log for more info. Thanks for the suggestion!

@Matt-Gleich looks like this will do it. Thanks!

@Matt-Gleich
Would it be possible to pass in an argument to only print a line with sorted is more than 0?


Start using tinify composer package

https://tinypng.com/developers/reference/php#installation

Had issues with the tinify/tinify library. Made a Guzzle implementation based on robopuff/tinypng in the v4.0.0 release: https://github.com/friends-of-forkcms/fork-cms-module-compression/releases/tag/4.0.0


hide/show ssid and password using side button

solved in https://github.com/valerio-vaccaro/SFYL-Wallet/commit/bcb26501c459b619e3d6cf7a9d2c285b7993f57d


Implement Error for SecretParseError

This makes it easy to use the error with e.g. thiserror or other crates that rely on the trait.

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (85a1025) 94.78% compared to head (ae5ccb9) 94.78%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master      #62   +/-   ##
=======================================
  Coverage   94.78%   94.78%
=======================================
  Files           6        6
  Lines        1420     1420
=======================================
  Hits         1346     1346
  Misses         74       74

Files
Coverage Δ

src/secret.rs
94.69% <ø> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Hi, nice catch!


fix: bug fix: fps

I encountered an issue today which seems to come from the channel.fps having been set inverse.
It seems like we should use fps and not frame-time.
Ref: The fps is used (among other places) here:
https://github.com/SuperFlyTV/casparcg-state/blob/develop/src/lib/transitionObject.ts#L110
TODO: To be discussed

The calculations in your reference example assume frame-time, but the default is in fps. Looks like the library needs to be consistent before we can do anything in TSR.

Closing this as semi-invalid.
I have started on a project in ccg-state to make typings stronger and clearer what is frames and what is milliseconds, but the reason for this PR is invalid, as I has mixed up seconds and milliseconds...


Refactor pdf2txt.py into an entry point

It is impossible to use pdf2txt.py, the main PDF 2 Text script of the package, from a Python function without calling a shell. This adds additional unnecessary overhead in addition to encoding issues.
This could all be easily avoidable by refactoring pdf2txt.py as an entry point, as described here and here.

This would have to look something like this:
entry_points = {'console_scripts': [
    'pdf2txt=pdfminer.pdf2txt:main',
    ...
]},

(Original comment: https://github.com/pdfminer/pdfminer.six/issues/27#issuecomment-274097265)

I realized that this is not as easy as I thought. The console script needs to be in the pdfminer package, but it is not. It is in the tools/ directory.
Mayb ewe should move the content of tools/ to the package as well and just keep some aliases there to not have any breaking changes?

I also realize now that this question already has a perfectly valid solution. To use pdfminer from a Python function (or anywhere) you can use the high-level api:
from pdfminer.high_level import extract_text

text = extract_text("example.pdf")
print(text)

All the features from the command-line are also available throught extract_text and related methods.

The request to add pdf2txt as an entrypoint is also made in issue #724, but it is slighly more on-point so I'm keeping that one open to track that request.


Feat: Contact Us page

Describe the feature
Icons are not clear, alignment is not good.
I can add transition and also improved UI of form
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Its-Aman-Yadav @Kalivarapubindusree ,
Please assign this issue to me under GSSoC'24.
Thank You!


LanguageStillLoadingError: Language 'javascript' is still loading; please wait and try again

I'm using this extension inside of my sane-indentation extension and after upgrading vscode today to 1.71.1 I now get:
[Extension Host] LanguageStillLoadingError: Language 'javascript' is still loading; please wait and try again
	at getTreeForUri (/home/cfritz/.vscode/extensions/pokey.parse-tree-0.21.2/out/extension.js:192:27)
	at getNodeAtLocation (/home/cfritz/.vscode/extensions/pokey.parse-tree-0.21.2/out/extension.js:206:24)

Any idea where this is coming from and how to fix it? Do you need to publish a new version or did something break in your recent commits?

I think I've narrowed it down: the errors only occur when I have an HTML file open among my editors!

Interesting! Maybe worth trying the tree-sitter cli with the tree-sitter-html parser on the html file to see if it hangs?

I haven't tried that yet, but I've narrowed it down further: it only happens when the said html file is already open when the window (re-)loads and the HTML contains web components, aka. custom tags.

Ah interesting!  Do you have an example?  I tried an html file with web components, and although it didn't parse correctly, it didn't seem to affect other documents in the workspace

Here is the file. And as a reminder: after you've opened it, you need to do a "Developer: Reload Window" to trigger the bug.
<html>
<head>

</head>

<body>
  <script src="http://portal.homedesk.local:8000/running/@transitive-robotics/webrtc-video/dist/webrtc-video-device.js?userId=cfritz&deviceId=f5b1b62bd4"></script>
  <webrtc-video-device
  id="cfritz"
  host="homedesk.local:8000"
  ssl="false"
  text="/dev/video0"
  timeout="1800"
  source="/dev/video0"
  type="v4l2src"
  width="320"
  height="240"
  framerate="15/1"
  bitrate="20"
  />
</body>
</html>

Cause by <webrtc-video-device ... />
For some reason it cannot handle tags that are over 10 chars long
<abcdefghijk> will break it, but <abcdefghij> wont

Fwiw here is the issue to track the >10 chars thing https://github.com/tree-sitter/tree-sitter-html/issues/30

fixed by 6317e9198e38bdb478f44f16f5d2cc4ff3a80ad8


Enhance Tensor Flexibility with Structs

replaces kp::Tensor::TensorDataTypes with std::type_info. This allows you to use any struct as a tensor rather than being limited by base datatypes (int, uint, float, etc..).
The easiest way I found to use structs in shaders is to use the "GL_GOOGLE_include_directive" extension to include a hpp file that holds the struct. this way you can use the struct in your shader code and c++ code. (see new example)

@BrianPetkovsek thank you for the contribution, this seems like a reasonable addition - also I wasn't aware of the GL_GOOGLE_include_directive, quite interesting. It seems relatively analogous to the way the Constants are impleemnted as these also have flexibility to be other structures.
In regards to performance would this have any distinction?
As a heads up there seems to still have build issues in the python package - the rest of the examples should also be tested to ensure they work correctly as although a small design change we just need to ensure the rest works - if you can validate the basic examples I can validate the heavier ones like the android / godot.

Hi @axsaucedo,
I’ve decided to change my approach and use an abstract class called ABCTypeContainer instead of typeid and std::type_info. This allows for the implementation of both a C++ and Python version, which I have already included.
I’ve made some significant changes to main.cpp for the pybind11 bindings, but I’m not entirely sure how push_consts, specconstsvec, and pushconstsvec are implemented. If they’re just buffers, it might be easier to make them a std::vector.
The C++ type container could use some cleanup. Currently, it uses a counter system with the struct IdCounter. If there’s a way to consolidate this without using an external struct, it should be done.
C++  type container works by
The classId() method in the C++ type container returns a unique identifier for each unique template type instantiation of the TypeContainer template. This is achieved by using a static variable id that is initialized with the value of counter from the IdCounter struct and then incremented, ensuring that each instantiation has a unique id.
The PyTypeContainer works by comparing the dtypes of numpy arrays. A dtype can act as either a structure or just a datatype, allowing for struct-like capabilities (see https://numpy.org/doc/stable/user/basics.rec.html#structured-arrays).

Oh I also have to update the c++ tests as they're not updated

Awaiting review/comments.

fixed the issues with the tests.
I created a new class called Buffer. This class is a basic buffer class that holds Buffer data like pointer location, size, length, and end. positions. The class gets compiled away at compile time.
I have also updated the classes that uses push/spec constants to allow for Buffer without affecting the external api, (you can still use vectors as push/spec).

Awaiting review/comments.

I'll downloads gcc and fix it

Thank you for having a deeper look into this, I was able to get an initial review. I have a few followups:

I have also updated the classes that uses push/spec constants to allow for Buffer without affecting the external api, (you can still use vectors as push/spec).

Would you be able to provide further context on the reasoning for having a Buffer class? Is this to simplify the way that the python wrapper implements it? I feel this buffer adds extra complexity - I do agree that this is only used internally so may not be as bad, but I am wondering if this would be necessary or whether it's only for use in the python side?
On a side note, in regards to naming conventions we should not use conventions that exist in Vulkan to avoid confusion (ie Buffer =? vkBuffer)
In regards to the dataType it seems it's passed everywhere as a pointer, is there a reason why this is not just passed everywhere as reference? GIven its deterministic behaviour I would assume this coudl now be the case.


update-reset: avoid hanging on shallow-since.

For some reason this seems to hang when there's been no commits since the latest tag. Not a problem in brew update.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.


Using Continuous Integration for nuget

Would it be possible to configure something like AppVeyor to keep this repo and NuGet in sync? Maybe @brockallen or @leastprivilege could help with this.
This would also create an (private) nuget feed for all the builds, making it easy for everyone to keep up with the latest running version (if they want) and keep a "stable" version in Github.

This is something we intended to do, but just did not have the time to set it up, yet :)


Update pet-care-store test case swagger

Purpose

Update pet-care-store test case swagger

Goals

Update pet-care-store test case swagger

Approach

Update pet-care-store test case swagger

User stories

N/A

Release note

N/A

Documentation

N/A

Training

N/A

Certification

N/A

Marketing

N/A

Automation tests

Unit tests

N/A

Integration tests

N/A

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

Samples

N/A

Related PRs

N/A

Migrations (if applicable)

N/A

Test environment

N/A

Learning

N/A

Codecov Report

Merging #463 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #463   +/-   ##
=======================================
  Coverage   82.29%   82.29%
=======================================
  Files          29       29
  Lines         864      864
  Branches       65       65
=======================================
  Hits          711      711
  Misses        109      109
  Partials       44       44

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 6c5cc07...6b569bd. Read the comment docs.


After operator upgrade PVC can not bee processed due to provisioner change

I've upgraded operator with make deploy command. Old storage class had provisioner topolvm.cybozu.com, now it's topolvm.io, but it didn't updated in my current sc. Now when all pods restarted they can't mount pvc with an error "topolvm.cybozu.com". Now all pv can't be resolved with an error  kubernetes.io/csi: mounter.SetUpAt failed to get CSI client: driver name topolvm.cybozu.com not found in the list of registered CSI drivers. How can I correctly upgrade sc and is it possible to upgrade current pvc without loosing data and how avoid such unexpected bugs in future

@eugenpro , apologies - the documentation has not been updated with the instructions for this breaking change.
The steps to migrate are available in https://github.com/topolvm/topolvm/blob/main/docs/proposals/rename-group.md.
Please let me know if you have any questions.


Anyone know how to fine tune the bot?

Has anyone figured how to get the bot to use abilities and to purchase items more smoothly

Feel free to create a PR with a smoother solution!


[stable/prometheus]: impossible to add custom templates to alertmanager via alertmanagerFiles

Is this a request for help?: Yes

Is this a BUG REPORT or FEATURE REQUEST? (choose one): Bug report
Version of Helm and Kubernetes: 2.9.1, 1.9.6
Which chart: stable/prometheus
What happened: I attempted to add an alertmanager notification template file to the alertmanagerFiles section, and it was interpreted not as the literal content of a file, but as YAML - this behaviour would've changed in #3777
What you expected to happen: The file should've been interpreted as a literal string, as given.
How to reproduce it (as minimally and precisely as possible):

create a file v.yaml:alertmanagerFiles:
  alertmanager.yml:
    templates:
      - /etc/config/custom-template.tmpl
  custom-template.tmpl: |
    {{ define "slack.myorg.text" -}}
    https://internal.myorg.net/wiki/alerts/{{ .GroupLabels.app }}/{{ .GroupLabels.alertname }}
    {{- end}}

deploy the chart with the values:$ helm upgrade --install foo stable/prometheus -f v.yaml
...

have a look at the ConfigMap created for alertmanager's use:$ kubectl get configmap foo-prometheus-alertmanager -o yaml

apiVersion: v1
data:
  alertmanager.yml: |
    global: null
    receivers:
    - name: default-receiver
    route:
      group_interval: 5m
      group_wait: 10s
      receiver: default-receiver
      repeat_interval: 3h
    templates:
    - /etc/config/custom-template.tmpl
  custom-template.tmpl: |
    |
      {{ define "slack.myorg.text" -}}
      https://internal.myorg.net/wiki/alerts/{{ .GroupLabels.app }}/{{ .GroupLabels.alertname }}
      {{- end}}
kind: ConfigMap
metadata: <a bunch of metadata that's irrelevant>

The issue is that the custom-template.tmpl entry ends up with an extra | on the first line.
Anything else we need to know:
I think a reasonable solution could be to detect the key name to see if the suffix is .yaml or .yml (with hasSuffix) and only parse it as YAML in that situation. Otherwise leave it as a string.
For now, we're getting around this by duplicating the template content in-line in the alertmanager config, but that's not ideal...

extraConfigMapMounts would be another solution.

I have the same issue with an extra | in the first line of configmap, and apply configmap from the separate kubernetes yaml after installing prometheus from stable chart, but it's really fiddly.

Argh, wish I hadn't missed the stale bot closing this 🤦♂...

This would be really nice to have

I eventually found an acceptable around this by adding the notifications template via configMapOverrideName. I'm using helmfile to provision services on a cluster and added a cleanup hook to inject this new configmap. So I'm still using the stable helm chart, just leveraging helmfile to create/update the configmap when rules/alerts. No bash scripts necessary.
kind: ConfigMap
metadata:
  name: prometheus-alertmanager-config
data:
  notifications.tmpl: |-
    {{ define "__single_message_title" }}{{ range .Alerts.Firing }}{{ .Labels.alertname }}
    [ other templating stuff here........... ]
    {{ end }}

  alertmanager.yml: |-
    global: {}
    etc....

Another quick workaround is to move template files to other key:
# values.yaml

alertmanagerCustomFiles:
  notifications.tmpl: |
    {{ define "__single_message_title" }}{

# templates/alertmanager-configmap.yaml:

{{- if and .Values.alertmanager.enabled (and (empty .Values.alertmanager.configMapOverrideName) (empty .Values.alertmanager.configFromSecret)) -}}
apiVersion: v1
kind: ConfigMap
metadata:
  labels:
    {{- include "prometheus.alertmanager.labels" . | nindent 4 }}
  name: {{ template "prometheus.alertmanager.fullname" . }}
data:
{{- $root := . -}}
{{- range $key, $value := .Values.alertmanagerFiles }}
  {{ $key }}: |
{{ toYaml $value | default "{}" | indent 4 }}
{{- end -}}
{{- range $key, $value := .Values.alertmanagerCustomFiles }}
  {{ $key }}: |
{{ $value | default "{}" | indent 4 }}
{{- end -}}
{{- end -}}


Fix db engine

Fix #32349

I was unable to create a backport for 1.22. @wxiaoguang, please send one manually. :tea:
go run ./contrib/backport 32351
...  // fix git conflicts if any
go run ./contrib/backport --continue

Should this be backported? @wxiaoguang

Fix debian package clean up (#32351) #32590


fix ollama streaming, to handle multiple objects

@skadefro is this addressing the same thing as #3 ?

@zya Yeah this seems to be addressing the same issue, I would recommend merging this though

Oh, i had not seen there was already a PR fixing that.
Feel free to close this PR then, if the other one already fixes it. ( but if you want to use this, i should remove a console.log i forgot to remove )

Done in #3


[Bug]: Error while parsing "<" in variable

Version of the software
0.1.27
Operating system
10
Browser / Native
Native
What happened?
it parse JSON
{"a":"<email>", "password":"IL0v3LinhChucamo<3","captcha_key":"<fey_captcha>"}
to C# code
string constantStringOutput = ConstantString(data, $"{{\"a\":\"{email}\", \"password\":\"IL0v3LinhChucamo{3 ","  captcha_key  ":" < fey_captcha }\"}}");
[IDLE] CompilationErrorException: (3,107): error CS1073: Unexpected token '","'
Relevant LoliCode if needed
BLOCK:ConstantString
  value = $"{\"a\":\"<email>\", \"password\":\"IL0v3LinhChucamo<3\",\"captcha_key\":\"<fey_captcha>\"}"
  => VAR @constantStringOutput
ENDBLOCK

Please see the link below for a workaround, currently there is no way to escape < and >
https://discourse.openbullet.dev/t/how-do-i-apply-such-type-of-a-post-data/4970/12

For reference, I still plan to implement this one day, I will reopen this original issue https://github.com/openbullet/OpenBullet2/issues/66