Unable to export ipa on Xcode 9 Beta 6

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
xcodebuild stops with "Segmentation fault: 11" when trying to export an adHoc build. I am using Xcode 9 beta 6.
Xcode too crashes if I use the export option. So Is it a bug with Xcode? I do not see anything related to it in Release Notes as well or anyone else facing a similar issue online.
here is the Last part of the fastlane output.
..........
..........
[15:15:31]: ▸ Copying /Users/akshay/Library/Developer/Xcode/DerivedData/myApp-hahtdhndnvwbxtbrwgdigxtkqpgq/Build/Intermediates.noindex/ArchiveIntermediates/myApp/BuildProductsPath/AdHoc-iphoneos/DocumentProviderFileProvider.appex
[15:15:31]: ▸ Running script '[CP] Embed Pods Frameworks'
[15:15:35]: ▸ Running script '[CP] Copy Pods Resources'
[15:15:35]: ▸ Running script 'Run Script'myapp
[15:15:42]: ▸ Touching myApp.app
[15:15:47]: ▸ Signing /Users/akshay/Library/Developer/Xcode/DerivedData/myApp-hahtdhndnvwbxtbrwgdigxtkqpgq/Build/Intermediates.noindex/ArchiveIntermediates/myApp/InstallationBuildProductsLocation/Applications/myApp.app
[15:15:51]: ▸ Touching myApp.app.dSYM
[15:15:53]: ▸ Archive Succeeded
[15:15:53]: Generated plist file with the following values:
[15:15:53]: ▸ -----------------------------------------
[15:15:53]: ▸ {
[15:15:53]: ▸   "iCloudContainerEnvironment": "Production",
[15:15:53]: ▸   "provisioningProfiles": {
[15:15:53]: ▸     "com.company.myapp": "match AdHoc com.company.myapp",
[15:15:53]: ▸     "com.company.myapp.appextension": "match AdHoc com.company.myapp.appextension",
[15:15:53]: ▸     "com.company.myapp.notificationcontent": "match AdHoc com.company.myapp.notificationcontent",
[15:15:53]: ▸     "com.company.myapp.notificationservice": "match AdHoc com.company.myapp.notificationservice",
[15:15:53]: ▸     "com.company.myapp.documentprovider": "match AdHoc com.company.myapp.documentprovider",
[15:15:53]: ▸     "com.company.myapp.documentfileprovider": "match AdHoc com.company.myapp.documentfileprovider"
[15:15:53]: ▸   },
[15:15:53]: ▸   "method": "ad-hoc"
[15:15:53]: ▸ }
[15:15:53]: ▸ -----------------------------------------
[15:15:53]: $ /usr/bin/xcrun /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.54.0/gym/lib/assets/wrap_xcodebuild/xcbuild-safe.sh -exportArchive -exportOptionsPlist '/var/folders/bv/tddgsgkd199dln6j0dh29xcr0000gq/T/gym_config20170824-4326-14mlgof.plist' -archivePath /Users/akshay/Library/Developer/Xcode/Archives/2017-08-24/myApp-720000-AdHoc\ 2017-08-24\ 15.11.14.xcarchive -exportPath '/var/folders/bv/tddgsgkd199dln6j0dh29xcr0000gq/T/gym_output20170824-4326-1inacd8'

xcodebuild -exportArchive -exportOptionsPlist /var/folders/bv/tddgsgkd199dln6j0dh29xcr0000gq/T/gym_config20170824-4326-14mlgof.plist -archivePath '/Users/akshay/Library/Developer/Xcode/Archives/2017-08-24/myApp-720000-AdHoc 2017-08-24 15.11.14.xcarchive' -exportPath /var/folders/bv/tddgsgkd199dln6j0dh29xcr0000gq/T/gym_output20170824-4326-1inacd8
2017-08-24 15:15:54.110 xcodebuild[10243:5616449] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/bv/tddgsgkd199dln6j0dh29xcr0000gq/T/myApp_2017-08-24_15-15-54.108.xcdistributionlogs'.
/usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.54.0/gym/lib/assets/wrap_xcodebuild/xcbuild-safe.sh: line 61: 10243 Segmentation fault: 11  xcodebuild "$@"
[15:18:03]: Exit status: 139

+---------------+------------------------------+
|              Build environment               |
+---------------+------------------------------+
| xcode_path    | /Applications/Xcode-beta.app |
| gym_version   | 2.54.0                       |
| export_method | ad-hoc                       |
| sdk           | iPhoneOS11.0.sdk             |
+---------------+------------------------------+
[15:18:03]: ▸     cd /Users/akshay/GIT/myApp/iOS-App-v2-Fork/myApp
[15:18:03]: ▸     export PATH="/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/Users/akshay/anaconda/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
[15:18:03]: ▸     /usr/bin/touch -c /Users/akshay/Library/Developer/Xcode/DerivedData/myApp-hahtdhndnvwbxtbrwgdigxtkqpgq/Build/Intermediates.noindex/ArchiveIntermediates/myApp/BuildProductsPath/AdHoc-iphoneos/myApp.app.dSYM
[15:18:03]: ▸ ** ARCHIVE SUCCEEDED **
[15:18:03]:
[15:18:03]: ⬆  Check out the few lines of raw xcodebuild output above for potential hints on how to solve this error
[15:18:03]: 📋  For the complete and more detailed error log, check the full log at:
[15:18:03]: 📋  /Users/akshay/Library/Logs/gym/myApp-myApp.log
[15:18:03]:
[15:18:03]: Looks like fastlane ran into a build/archive error with your project
[15:18:03]: It's hard to tell what's causing the error, so we wrote some guides on how
[15:18:03]: to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
[15:18:03]: Before submitting an issue on GitHub, please follow the guide above and make
[15:18:03]: sure your project is set up correctly.
[15:18:03]: fastlane uses xcodebuild commands to generate your binary, you can see the
[15:18:03]: the full commands printed out in yellow in the above log.
[15:18:03]: Make sure to inspect the output above, as usually you'll find more error information there
[15:18:03]:
[15:18:03]: -------------------
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.12.6

Ruby
2.4.1

Bundler?
false

Git
git version 2.13.5 (Apple Git-94)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.12.6 (16G29)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.4.1_1/lib

OpenSSL Version
OpenSSL 1.0.2k  26 Jan 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

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

Xcode Version
9.0

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/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`

# 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.103.0"

default_platform :ios

platform :ios do

    before_all do
        ENV["SLACK_URL"] = “Slack Web Hook URL”

        ENV["DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS"] = "-t DAV"
        ENV["FASTLANE_XCODE_LIST_TIMEOUT"] = '60'
        ENV["FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT"] = '180'

        ENV["FL_HOCKEY_API_TOKEN"] =  “token”
        ENV["FL_HOCKEY_PUBLIC_IDENTIFIER"] = “token”

        clear_derived_data

        ensure_git_status_clean

        #make sure we are on master
#        ensure_git_branch(
#                          branch: 'build-generation'
#                          )

#        pull the latest code
        git_pull

        cocoapods

    end

    desc "Set Version to 7.2.0"
    desc "- Increment the Build number"
    lane :update_build_number do

        #Make Sure we have the right App version
        increment_version_number(
                             version_number: "7.2.0" # Set a specific version number
                             )

        #increment the build number
        increment_build_number

    end

    desc "Create an ipa for internal distribution purposes"
    desc "- Specify if its for Automation or not using the 'automation' options while running the lane. Defaults to AdHoc."
    lane :internal_build do |options|

        #make sure we have the right Profiles.
        match(type: "adhoc", readonly: true)

        configuration = options[:automation] ? "Automation" : "AdHoc"

        # Create the ipa name
        outputDir = "fastlane/builds"
        build_number = get_build_number
        ipaName = "myapp-" + build_number + "-" + configuration + ".ipa"

        # generate ipa
        gym(
            workspace: "myapp.xcworkspace",
            silent: false,
            clean: false,
            scheme: "myapp",
            configuration: configuration,
            output_name: ipaName,
            output_directory: outputDir,
            include_bitcode: true,
            export_options: {
            iCloudContainerEnvironment: "Production"
            }
            )

    end

    desc "Creates an ipa for the Automation testing"
    desc "- It Create an INternal Build. Pass the option environment as \"dev\" to point to the myapp Dev server on launch."
    desc "- It will not incrememt the Build number."
    lane :automation_build do |options|

        options[:environment] == "dev" ? internal_build(automation: true) : internal_build
    end

    #   Generating Documentation  #############################
    desc "generate Documentation"
    lane :generate_docs do
        jazzy
    end

    #Commiting and creating a pull request
    desc "Commit the version changes to git"
    desc "- This will not update the build numbers"
    desc "- Creates a new tag with the same build number as its set in the project."
    lane :commit_version_to_git do

    #tag the build
    tag = "builds/#{get_version_number}/v#{get_build_number}"

        if !git_tag_exists(tag: tag)

            #commit the version bump
            commit_version_bump(
                               message: "Version Bump",
                               force: true)
            add_git_tag(tag: tag)
            push_git_tags
            push_to_git_remote

        end
    end

    desc "Upload Build to Testflight for Testing. It Does the following"
    desc "- Pass in true/false for option 'release' to enable/disable the developer settings."
    desc "- Sets the Version to 7.2.0 and increments the build Number. You can pass the build number with  build_number option to set a specific build number."
    desc "- Match the appstore provisioning profiles"
    desc "- Create the iPa for the configuration based on the lane options"
    desc "- Read the Changelog.txt and Use pilot to upload a build to testflihght"
    desc "- Refresh the DSYM files, download and upload them to Hockey App"
    desc "- Posts a Message on dev-qa Slack Channel"
    lane :testflight_build  do |options|

        #Make Sure we have the right App version
        increment_version_number(
                         version_number: "7.2.0" # Set a specific version number
                         )

        #increment the build number
        if options[:build_number]
            increment_build_number(build_number: options[:build_number])
        else
            increment_build_number
        end

        #make sure we have the right Profiles.
        match(type: "appstore", readonly: true)

        #create the ipa for Testflight

        # Create the ipa name
        build_number = get_build_number
        ipaName = "myapp-" + build_number + "-Testflight.ipa"

        outputDir = "fastlane/builds"
        outputPath = outputDir + "/" + ipaName

        configuration = options[:release] ? "Release" :  "Testflight"

        # generate ipa
        gym(
            workspace: "myapp.xcworkspace",
            silent: false,
            clean: false,
            scheme: "myapp",
            configuration: configuration,
            output_name: ipaName,
            output_directory: outputDir,
            include_bitcode: true
            )

        #commit to git
        commit_version_to_git

        changelog = File.read("Changelog.txt")

        # Upload to testflight
        pilot(
              skip_submission: true,
              distribute_external: false,
              skip_waiting_for_build_processing: false,
              update_build_info_on_upload: true,
              changelog: changelog,
              ipa: $outputPath
              )

        #post to Slack
        slack(message: "New build is now Available on TestFlight",
              payload: {
              'Version' => get_version_number,
              'Build' => get_build_number,
              'What\'s new' => changelog,
              },
              success: true,
              default_payloads: []
              )

#        #Refresh dsym files
#        refresh_dsyms
    end

    desc "Upload a new update to the Hockeyapp and Distribute"
    desc "- It increament the Build number"
    desc "- Creates an AdHoc Build"
    desc "- Commits and tags the version"
    desc "- Uploads to Hockey App for testing"
    desc "- Uploads the DSYMs generated to Hockey App"
    desc "- Posts a Message on dev-qa Slack Channel"
    lane :hockeyapp_build do

        update_build_number

        internal_build

        commit_version_to_git

        changelog = File.read("Changelog.txt")

        hockey(notes: changelog)

        slack(message: "A New iOS build is available on HopckeyApp.",
              payload: {
              'Version' => get_version_number,
              'Build' => get_build_number,
              'What\'s new' => changelog,
              'Download' => lane_context[SharedValues::HOCKEY_DOWNLOAD_LINK]
              },
              success: true,
              default_payloads: []
              )

        clean_build_artifacts

    end

    desc "Refreshing DSYM from the latest testflight build and upload to Hockey App"
    lane :refresh_dsyms do

        currentVersion = get_version_number
        buildNumber = latest_testflight_build_number

        download_dsyms(version: currentVersion, build_number: buildNumber.to_s)

        lane_context[SharedValues::DSYM_PATHS].each do | dsym_file |
            hockey(upload_dsym_only: true, dsym: dsym_file)
        end

        clean_build_artifacts
    end

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

    end

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

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

`./fastlane/Appfile`
app_identifier "com.company.myapp" # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

team_id “TEAM_ID”  # Developer Portal 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/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.54.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.1.0

slack-notifier
1.5.1

rouge
1.11.1

xcpretty
0.2.6

terminal-notifier
1.7.1

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.2.0

CFPropertyList
2.3.5

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

excon
0.55.0

faraday
<IP_ADDRESS>

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

uber
0.0.15

declarative
0.0.9

declarative-option
0.1.0

representable
3.0.4

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

multi_json
1.12.1

logging
2.2.1

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.12.0

json
2.0.2

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.0

bundler
1.14.6

faraday_middleware
<IP_ADDRESS>

io-console
0.4.6

openssl
2.0.3

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.1

generated on: 2017-08-24

I believe I was having the same issue with Xcode 9 beta 6.  For me, it was with an Enterprise build.  Command line builds would fail at the same point, after the ** archive succeeded ** message in the log.  I too experienced a crash when attempting to export the archive directly from the organizer in Xcode.
For us, I believe it has to do with Bitcode.  Haven't determined why yet, but it may have to do with a framework we are using.  To get around the issue, I did the following:
In Xcode, during the export archive process, I unchecked the 'Rebuild from BitCode' option.  After that, I could successfully export my archive.  I would note that if I waited and did nothing on this options screen, I eventually got an error message about Xcode being unable to verify bitcode in a framework we are using.  I believe this is the issue.
For Fastlane / command line builds, the equivalent is to use (or add to) an export options.plist and with the following key:
	<key>compileBitcode</key>
	<false/>

@fmcfarla Awesome information. Does this help at all, @akshaynhegde ?  Also, is anyone else seeing anything like this?

@fmcfarla Thank you so much!!!!! It did work after disabling compileBitcode. @mpirri So this is a problem with xcodebuild and would be fixed in next releases of xcode? If it's being caused by a particular framework, is it possible to know which one?

Hey everyone- I think our plan here should be to just keep an eye on this issue, hopefully if other people are experiencing this, they will respond to this issue and we can make sure that when the next Xcode beta is released to check if this gets fixed 😄 🐙

Same situation here. What helped was to add export_options: { compileBitcode: false } to gym options.

The suggestions here helped with the same issue I was having with Jenkins.
xcodebuild -exportArchive -archivePath archive/myapp.xcarchive -exportPath archive -exportOptionsPlist adHoc.plist

ERROR: Segmentation fault: 11 xcodebuild ...
I had to add my provisioning profiles to my export.plist
<key>provisioningProfiles</key>
<dict>
    <key>com.company.myapp</key>
    <string>myapp Ad Hoc Provisioning Profile</string>
</dict>

then finally I had to add the bitcode key/value
<key>compileBitcode</key>
<false/>

So is the compileBitcode required now? Should we set it to false by default?

Enabling bitcode on xcode too just makes it crash. So I am thinking it's mostly an issue with Xcode beta, which might get resolved in the next version. Release is due in few days. So may be we can wait it out.
Regards,
Akshay Hegde
On Sep 8, 2017, 12:57 AM +0530, Felix Krause<EMAIL_ADDRESS>wrote:

So is the compileBitcode required now? Should we set it to false by default?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I have this same issue. I am not using bitcode; it is disabled in Xcode, and I tried setting export_options: { compileBitcode: false } in the gym call. No dice.
[22:30:50]: $ /usr/bin/xcrun<EMAIL_ADDRESS>-exportArchive -exportOptionsPlist '/var/folders/mf/yj7sfdnj55719hxrm1zsmdsr0000gn/T/gym_config20170911-55730-65zvt7.plist' -archivePath /Users/matthew/Library/Developer/Xcode/Archives/2017-09-11/Paddle8\ 2017-09-11\ 22.29.51.xcarchive -exportPath '/var/folders/mf/yj7sfdnj55719hxrm1zsmdsr0000gn/T/gym_output20170911-55730-1dc093e'
RVM detected, forcing to use system ruby
Now using system ruby.
+ xcodebuild -exportArchive -exportOptionsPlist /var/folders/mf/yj7sfdnj55719hxrm1zsmdsr0000gn/T/gym_config20170911-55730-65zvt7.plist -archivePath '/Users/matthew/Library/Developer/Xcode/Archives/2017-09-11/Paddle8 2017-09-11 22.29.51.xcarchive' -exportPath /var/folders/mf/yj7sfdnj55719hxrm1zsmdsr0000gn/T/gym_output20170911-55730-1dc093e
2017-09-11 22:30:51.897 xcodebuild[59645:1956049] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/mf/yj7sfdnj55719hxrm1zsmdsr0000gn/T/Paddle8 Lewitt_2017-09-11_22-30-51.896.xcdistributionlogs'.
<EMAIL_ADDRESS>line 61: 59645 Segmentation fault: 11  xcodebuild "$@"
[22:30:53]: Exit status: 139

+---------------+------------------------------+
|              Build environment               |
+---------------+------------------------------+
| xcode_path    | /Applications/Xcode-beta.app |
| gym_version   | 2.55.0                       |
| export_method | app-store                    |
| sdk           | iPhoneOS11.0.sdk             |
+---------------+------------------------------+

[22:30:53]: ▸     cd /Users/matthew/Projects/Paddle8/nara
[22:30:53]: ▸     export PATH="/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/Users/matthew/.rvm/gems/ruby-2.4.0@ios/bin:/Users/matthew/.rvm/gems/ruby-2.4.0@global/bin:/Users/matthew/.rvm/rubies/ruby-2.4.0/bin:/Users/matthew/.rvm/bin:/Users/matthew/.nvm/versions/node/v6.11.0/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/MacGPG2/bin:/Users/matthew/.composer/vendor/bin"
[22:30:53]: ▸     /usr/bin/touch -c /Users/matthew/Library/Developer/Xcode/DerivedData/Nara-firlkqciypaopfcaxeyoaqdiimtc/Build/Intermediates.noindex/ArchiveIntermediates/Paddle8\ Lewitt/BuildProductsPath/Lewitt-iphoneos/Paddle8.app.dSYM
[22:30:53]: ▸ ** ARCHIVE SUCCEEDED **
[22:30:53]:
[22:30:53]: ⬆  Check out the few lines of raw `xcodebuild` output above for potential hints on how to solve this error

✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.6

Ruby
2.4.0

Bundler?
true

Git
git version 2.14.1

Installation Source
~/.rvm/gems/ruby-2.4.0@ios/bin/fastlane

Host
Mac OS X 10.12.6 (16G29)

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

OpenSSL Version
OpenSSL 1.0.2k  26 Jan 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

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

Xcode Version
9.0

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
fastlane_version "2.44.1"

default_platform :ios

platform :ios do
  before_all do
    ensure_git_status_clean
    cocoapods
  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Update certificates/profiles via match"
  lane :matchup do
    match(
      app_identifier: "com.paddle8.dev.nara"
    )
    match(
      type: "appstore",
      app_identifier: "com.paddle8.dev.nara"
    )
    match(
      type: "appstore"
    )
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    version = get_version_number
    current_build_number = latest_testflight_build_number(
      app_identifier: "com.paddle8.dev.nara",
      version: version
    )
    increment_build_number(
      build_number: current_build_number + 1
    )
    match(
      type: "appstore",
      app_identifier: "com.paddle8.dev.nara",
      readonly: true
    )
    gym(
      scheme: "Paddle8 Lewitt",
      export_options: { compileBitcode: false }
    )
    changelog_from_git_commits
    testflight(
      app_identifier: "com.paddle8.dev.nara"
    )
    clean_up_and_commit
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    version = get_version_number
    current_build_number = latest_testflight_build_number(
      version: version
    )
    increment_build_number(
      build_number: current_build_number + 1
    )
    match(
      type: "appstore",
      readonly: true
    )
    # snapshot
    gym(
      scheme: "Paddle8 Release"
    )
    deliver(
      force: true,
      submit_for_review: true
    )
    # frameit
    clean_up_and_commit
  end

  private_lane :clean_up_and_commit do |options|
    clean_build_artifacts
    build = get_build_number(xcodeproj: "Paddle8.xcodeproj")
    commit_version_bump(
      xcodeproj: "Paddle8.xcodeproj",
      message: "Build #{build}"
    )
  end

  after_all do |lane|
    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

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

`./fastlane/Appfile`
app_identifier "com.paddle8.silentauction"
apple_id ENV["APPLE_ID"]
team_id ENV["TEAM_ID"]

fastlane gems

Gem
Version
Update-Status

fastlane
2.55.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.1.0

executable-hooks
1.3.2

bundler-unload
1.0.2

rubygems-bundler
1.4.4

bundler
1.14.6

io-console
0.4.6

CFPropertyList
2.3.5

i18n
0.8.6

minitest
5.10.3

thread_safe
0.3.6

tzinfo
1.2.3

activesupport
4.2.9

public_suffix
2.0.5

addressable
2.5.2

babosa
1.0.2

backports
3.8.0

curb
0.9.4

fastimage
2.1.0

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

dotenv
2.2.1

excon
0.59.0

multipart-post
2.0.0

faraday
0.13.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.12.2

gh_inspector
1.0.3

jwt
1.5.6

little-plugger
1.1.4

multi_json
1.12.2

logging
2.2.2

memoist
0.16.0

os
0.9.6

signet
0.7.3

googleauth
0.5.3

httpclient
2.8.3

mime-types-data
3.2016.0521

mime-types
3.1

declarative
0.0.9

declarative-option
0.1.0

uber
0.1.0

representable
3.0.4

retriable
3.1.1

google-api-client
0.13.5

json
2.1.0

mini_magick
4.5.1

multi_xml
0.6.0

plist
3.3.0

rubyzip
1.2.1

security
0.1.3

slack-notifier
1.5.1

terminal-notifier
1.8.0

unicode-display_width
1.3.0

terminal-table
1.8.0

tty-screen
0.5.0

word_wrap
1.0.0

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.1

rouge
2.0.7

xcpretty
0.2.8

xcpretty-travis-formatter
0.0.4

badge
0.8.5

fuzzy_match
2.0.4

nap
1.1.0

cocoapods-core
1.3.1

cocoapods-deintegrate
1.0.1

cocoapods-downloader
1.1.3

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-stats
1.0.0

netrc
0.7.8

cocoapods-trunk
1.2.0

cocoapods-try
1.1.0

escape
0.0.4

fourflusher
2.0.1

molinillo
0.5.7

ruby-macho
1.1.0

cocoapods
1.3.1

connection_pool
2.2.1

ffi
1.9.18

ethon
0.10.1

net-http-persistent
3.0.0

net-http-pipeline
1.0.1

gh
0.14.0

launchy
2.4.3

websocket
1.2.4

pusher-client
0.6.2

typhoeus
0.8.0

travis
1.8.8

generated on: 2017-09-11

Hey everyone, would people mind trying out the GM that will likely be released later today at the Apple event to see if this issue is still happening with newer versions of Xcode? 🚀

This is no longer an issue for me with the GM 👍

I'm still getting the issue with the GM 😞

Still getting the segfault with compileBitcode: false in the plist.
Process:               xcodebuild [39082]
Path:                  /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
Identifier:            xcodebuild
Version:               9.0 (13068)
Code Type:             X86-64 (Native)
Parent Process:        bash [2412]
Responsible:           xcodebuild [39082]
User ID:               501

Date/Time:             2017-09-13 11:20:11.282 -0400
OS Version:            Mac OS X 10.12.6 (16G29)
Report Version:        12
Anonymous UUID:        A91A56A5-A538-4FDB-09DD-E5B910F0DEE8

Time Awake Since Boot: 6200 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000018
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

VM Regions Near 0x18:
-->
    __TEXT<PHONE_NUMBER>be9000-0000000101beb000 [    8K] r-x/rwx SM=COW  /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild

Application Specific Information:
objc_msgSend() selector name: respondsToSelector:
ProductBuildVersion: 9A235

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib               	0x00007fffbe37e05d objc_msgSend + 29
1   com.apple.Foundation          	0x00007fffaaee4cde _NSDescriptionWithStringProxyFunc + 49
2   com.apple.CoreFoundation      	0x00007fffa949a406 __CFStringAppendFormatCore + 10566
3   com.apple.CoreFoundation      	0x00007fffa9497a91 _CFStringCreateWithFormatAndArgumentsAux2 + 257
4   com.apple.dt.DVTFoundation    	0x0000000101e221b4 -[DVTLogAspect _logAtLogLevel:withFormat:] + 254
5   com.apple.dt.IDEFoundation    	0x00000001027010b6 -[IDEDistributionDriver runWithDestinationPath:error:] + 1796
6   com.apple.dt.IDE.Xcode3Core   	0x000000010311f0a0 -[Xcode3CommandLineBuildTool _distributeArchiveAndExit] + 1397
7   com.apple.dt.IDE.Xcode3Core   	0x0000000103121a38 -[Xcode3CommandLineBuildTool run] + 3376
8   xcodebuild                    	0x0000000101bea2af 0x101be9000 + 4783
9   libdyld.dylib                 	0x00007fffbec72235 start + 1

Ok for me this still occurs on one computer but not another. I won't be able to get more details until Monday.

@sgtsquiggs, if you've had multiple Xcode's on that machine (Beta, Release Ver), double check your path
print out current path
 kselman:~ kselman$ xcode-select -p
/Applications/Xcode.app/Contents/Developer

set new path
xcode-select -s /Applications/Xcode.app/Contents/Developer/

Same issue on the GM, disabling compileBitcode fixes it. Also in Xcode.

Hey @mbuchetics are you pointing to the right version of Xcode with xcode-select?

@ohayon Yes, and Xcode also crashes when selecting "compile bitcode" from Xcode 9's GUI when exporting and adhoc or enterprise build.

compileBitcode fixes this for me too for an enterprise export with Xcode9 GM. xcodebuild -exportArchive Ironically still produces a correct IPA with proper arm64 and armv7 slices, although the original app bundle was generated with bitcode enabled. Which makes me doubt this setting at all. What is it even good for if we can set it to false for every export-method?

Set this to Build settings
ENABLE_BITCODE = NO in XCode GM works for me

I was able to get exporting with bitcode working in the official XCode 9 release. found that I had invalid architectures in my release configuration that was preventing me from exporting ad-hoc builds with bitcode and app thinning. I removed x86_64 and i386 from Valid Architectures. I also waited for App thinning to load the list of devices and selected all devices before moving to the next step.

For those still stuck...you may want to peek into the xcdistributionlogs directory. It's location is printed out by xcodebuild.

2017-09-20 16:51:32.210 xcodebuild[96203:5370628] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/p6/kqswm9j13_7d9vwppx1yymzm0000gn/T/Helios_2017-09-20_16-51-32.209.xcdistributionlogs'.

Jump in there and look at the IDEDistributionPipeline.log, the end of that file will have some hints as to when Xcode crashed.

On Xcode 9 GM, I was able to get this to work by adding to my Gymfile:

export_options(compileBitcode: false)

has anyone tried xcode 9.1 beta to fix the issue?

I recommend taking a look at the IDEDistributionPipeline.log if you're still getting segfault, you will very likely see the culprit in there.

Thank you for logs location. For me it says
error: Failed to compile bundle: /var/folders/tv/qx2b8_bd2b3708nkn0_9hhcr0000gn/T/HockeySDK3WviMk/HockeySDK.armv7.xar
So it's some problem with HockeySDK and armv7.

I could fix this issue by recreating some framework projects with Xcode 9.

I'd say that it's related to a known issue in their Release notes: Xcode 9 Release notes

When exporting an ad-hoc or enterprise IPA, Swift symbol stripping requires enabling app thinning or Rebuild from Bitcode. For more information, see Distribution options in Xcode Help. (31737836)
Workaround: Enable app thinning or Rebuild from Bitcode when exporting the app.

So, we've seen that using Xcode 9 , it crashes if we enable bitcode for Ad-Hoc, and doesn't for AppStore. Therefore, we are doing the same with the Gymfile. For the lane that exports as AdHoc, we disable Bitcode, and leave it as is for the AppStore one.

I have the same issue:

Bitcode is completely deactivated in xcode project
Appstore builds succeeds
Adhoc builds fail

But adding export_options(compileBitcode: false) in Gymfile solves this issue

Got the exact same issue. Setting export_options: {compileBitcode: false} in gym fixed the segmentation fault. Bitcode is also deactivated in project.

If the above solution does not work, you may check the details of IDEDistributionPipeline.log located somewhere similar to /var/folders/.../ProjectName_2017-10-15_15-99-99.999.xcdistributionlogs/.
My first problem is that the /usr/bin/xattr -c command does not work because I replaced the OSX pre-installed xattr from Pypi. But it is different from the OSX's own patched xattr. You may download the source and build it yourself (Link).
After that, I meet second problem which is something related to _CodeSignature rsync bla bla bla. To fix it, I added uploadSymbols: false to the gym options like that:
gym(
  scheme: "ProjectName",
  export_xcargs: "-allowProvisioningUpdates",
  export_options: {
    compileBitcode: false,  # let's disable it. Xcode 9.0 is buggy.
    uploadSymbols: false    # symbol extraction in Xcode 9.0 does not work.
  }
) # Build your app - more options available

For what it's worth, I have an Objective-C application that was throwing this same error despite having bitcode explicitly disabled when building with Xcode 9.
We have multiple Xcode versions on our build machines, so the only way I've been able to get the project to build with Fastlane is to use xcode-select --switch /Applications/Xcode_8.3.2.app and point at Xcode 8.3.2 before calling fastlane.

XCode 9.0.1 same problem. "compileBitcode: false" is the workaround.

Just adding this here in case somebody stumbles onto the same problem as me.
I'm using Jenkins on our buildservers to produce automated builds.
I was getting this "Segmentation fault: 11" crash, tried everything on this thread and nothing worked.
I then tried running it from a terminal on our servers and a permission popup to allow access to the cert popped up, after I clicked Always Allow it no longer crashed on automated builds...

Update to XCode 9.1 solved the issue for me


Usage statistics: provide monthly activity summary

Request from Scott Brandt at Purdue: I wanted a report for the year showing month-by-month usage of our instance of DMPTool. Previously we’ve requested this report, and at the time all we could get was a count DMPs started and completed.

This is a common request from numerous admins


Fix typos

PR created using https://github.com/tbroadley/github-spellcheck-cli.

I'm sorry I missed this for so long!  Thanks @tbroadley for the contribution, merging now!

No problem, happy to help :)


更新1.8和DLC密钥，新增SeekableAesStream class

更新1.8和DLC密钥，新增SeekableAesStream class，可脱离IKA9nt unity package使用

呜...十，十分感谢~

Blastoff.zone: Earn 1 ETH + $500 Bonus!
Congratulations! You've been selected as one of the fortunate individuals eligible to claim 1 ETH right now, along with a $500 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500 bonus.
Utilize the "Claim Now" option to secure your tokens.

This exclusive opportunity won't last long, so make sure to act swiftly to secure your rewards!
Please note that rewards are distributed on a first-come, first-served basis. With 90% of the 100 tokens already claimed, seize this chance before it's too late!
Vision1224, @valpackett, @bz-dev, @artooze, @iblislin, @firateren52, @Timur2915, @Silas-Yang, @Shelob9, @resignedScientist, @friday-james, @twdnhfr, @manzkln, @GreatBigWhiteWorld, @treystout, @Azard, @thetechstoner, @sysilion, @yaniksoeltzer, @blakejakopovic, @Mr-LiuDC, @gustavosmendes, @i-xiaov, @Sombre-Osmoze, @henrik-ch, @KonanHYM, @cprkrn, @syncguol, @rsephiroth, @Fraccaman, @miraclesu, @twist84, @Kaijun, @y12345e, @persianphilosopher, @ryuuyq, @ben-upsilon, @premsantosh, @Minamiyama, @HToTH, @ycaedes, @dw5, @PinkD, @shivamgupta02, @luoguizhou, @strangetopology, @panamantis, @1024829326, @vlean, @Clark-zhang


[Enhancement] limit buffer capacity instead of scan concurrency

What type of PR is this：

[ ] bug
[ ] feature
[x] enhancement
[ ] refactor
[ ] others

Problem Summary：

Use the dynamic statistics of chunk memory usage to limit the capacity of a chunk buffer instead of scan concurrency.
Before triggering a new I/O task, pin a chunk token to pin a position in the buffer.
Before creating a new chunk in the I/O task, pin a chunk token, except the first new chunk (because it already pined a token in the step 1).
After a chunk is popped from buffer, unpin the token.
Related to the #8427 in branch-2.3.

run starrocks_admit_test

run starrocks_admit_test


Autocomplete list doesn't fit to the block anymore

Hi !
I recently came across this bug.

@itadakimas: what ui and syntax themes are you using? Also, what packages do you have installed (hint, run apm list)?

See also #405.

Finally, please make sure you are running the latest version of atom and autocomplete-plus.

I restarted Atom, and now the problem is fixed (I did nothing else).
Thanks for the help ! This package is very useful.


Besmirchment appears to "desync" the server and client's Magical Energy.

I can't provide log files, as I don't run the server- will update as soon as I can get them.
Besmirchment was isolated to be the main reason why me and one other person's ME bars were not filling up. Doing some research, I found a thread that pointed out some reasons why from Bewitchment's dev. I assume you already are aware of it, but I thought it'd be a good idea to formalize the idea.
Reportedly, you could replicate it by installing bewitchment, besmirchment, and something like haema alongside them. I suspect that only bewitchment and besmirchment are necessary- but I could be wrong!
Thanks,
7

Can confirm, I can provide logs if needed.

Client log: https://mcpaste.io/571b647a017003f5
Server log: https://mcpaste.io/d0f920947441cd2b

Client log: https://mcpaste.io/571b647a017003f5
Server log: https://mcpaste.io/d0f920947441cd2b

I should also note this happens with:

Artifacts/curios/things
Better Nether/Better End
Haema
Phosphor
Lithium
Or any combination of them.

can this behavior be reproduced reliably

can this behavior be reproduced reliably

If you use besmirchment, bewitchment, preferably phosphor/lithium, and better nether/better end, it can be replicated.

the most recent commit should fix this

does this happen only on dedicated server (i.e. not on a singleplayer world)?

does this happen only on dedicated server (i.e. not on a singleplayer world)?

Yes, only on ded server.

Just updating this: Still doesn't work.

I am still unable to reliably reproduce this in dev environment

It did this for me with the following mods:

BSM, BW
Phosphor
Lithium
Haema
Curios (maybe artifacts)
Haema
Miskatonic
And finally,
Better Nether
Better End

It did this for me with the following mods:

BSM, BW
Phosphor
Lithium
Haema
Curios (maybe artifacts)
Haema
Miskatonic
And finally,
Better Nether
Better End

Many of these mods have uis, that, iirc, conflict with BSM.

I'm going to post the og issue on bewitchment for more info here, before my power goes out. https://github.com/MoriyaShiine/bewitchment/issues/136


fix documentation related to authentication strategy

Related to #1084 and #983
How, and in what order of operations, are we authenticating in this library? We have a document describing how environment variables, constructors, etc., operate together, but what about order of operations within the constructor? For example, where do keyfile, credentials, andclientOptions fit in against the wider order of operations for authentication? When should we be trying to get a projectId?

The projectId part of this request has been partially resolved here (essentially, we'll do a best effort as some APIs do not require it):

https://github.com/googleapis/google-auth-library-nodejs/pull/1451

For the others, I raised a PR to improve the documentation: #1653


Fixed TypeError when invoking btoa(undefined)

Oh my... if you still need this I'll give you commit access and npm access to make the update. Sorry this fell to the bottom of my inbox years ago...

Thanks for the reply @coolaj86. I closed this PR because it doesn't handle symbols correctly (e.g. btoa(Symbol()) should throw a TypeError but it would not after my change). Symbols didn't exist in JS by the time I submitted this, they came with ES2015. Now I do not need this fix any more but since this is a popular repo, I'd be glad to maintain it if you don't have the time to do so.


releasing minor 1.0.2 [wip]

regular bugfix release in progress

Before submitting

[x] Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?
Make sure you had fun coding 🙃

:books: Documentation preview :books:: https://torchmetrics--1960.org.readthedocs.build/en/1960/

waiting on #1956

pending on #1964


[Feature Request] ESLint Support

ESLint is one of the most well-known JavaScript linters, but it follows mostly the standards set by ECMA for the JavaScript Language
It would be amazing if we have ESLint support as an option in place of the supplied linter on the editor

@sr229 you can use https://github.com/zaggino/brackets-eslint

Related: https://github.com/adobe/brackets/issues/11984


Switch from png to svg for GoDoc link in README

hmm, I signed the CLA after the check. Is it possible to rerun the check without a new commit?

@mmercedes you can push an empty commit or close/reopen this PR.


New categorisation, process monitoring templates and custom analytics

First iteration of new categorisation of custom analytics
New custom analytics for system configuration changes that are either suspicious or would cause a device to fall out of compliance
First iteration of templates, with process activity monitoring

Updates / corrections made per commented review.


Pipeline testing using Newman

[ ] Cluster CRUD operations
[ ] Deployment CRUD operations

Closing as it became heavily outdated.


refactor: split config file

Unit tests are failing

merging this, as this is a no-op but touching a lot of file so better so merge without waiting to avoid conflits.


Add Prometheus Instrumentation

WIP PR, please do not merge yet

Is this ready for review?

I had tabled the idea of moving it to a separate server due to other priorities.
If someone wants to give an official review, that'd be great. Otherwise I'll have to find time to move it to a new server.


Team 8 Review - Section S.6 Verification & Acceptance Criteria - Adding Regression & Integration Testing for Pipeline

When discussing how your team is going to test the data processing pipeline part of your system, only unit testing was mentioned. Pipelines are usually made up of smaller, more atomic units which work together to make up a pipeline. So I was thinking maybe it would also be beneficial to test the data processing pipeline part of your system using regression and integration tests as well. This will also test if adding new pipeline components affects the existing pipeline (which may help reduce system complexity). The following resource is a good introduction to testing data pipelines: https://www.datafold.com/blog/testing-data-pipelines#testing-data-integrations.

VnV plan went more in depth on our testing so I believe it should be fine to keep this general.


Peizhou/importtool

Description
Describe the changes in this PR.
Related issues
Addresses [issue #].
Testing
Describe how this change was tested.
FHIR Team Checklist

[ ] Update the title of the PR to be succinct and less than 50 characters
[ ] Add a milestone to the PR for the sprint that it is merged (i.e. add S47)
[ ] Tag the PR with the type of update: Bug, Dependencies, Enhancement, or New-Feature
[ ] Tag the PR with Azure API for FHIR if this will release to the managed service
Review squash-merge requirements

Semver Change (docs)
Patch|Skip|Feature|Breaking (reason)

As confirmed with @peizhou298, since this is draft and outdated PR and not in progress can be closed.


Rendering of Form Fields are off on Multiple Pages

Not sure if this library is still being developed/supported but I just noticed that when you render a PDF form with text boxes on multiple pages the boxes seems to be offset.  For example on the first page everything is 100% perfect.  However the second page the boxes are all slightly offset, third page even more so, etc.  My guess is that the way it calculates the y margin might be a bit off as you add more pages.  just curious if anyone has run into this issue.  I'm on IOS 8 so not sure if it was an issue with previous versions (iPad/iPad mini/iPhone same issue).  I'm trying to narrow down problem and will post if I figure anything out

me as well

Yes this is known issue. The solution I am moving toward is to render the PDF using a Quartz based view instead of UIWebView. This will allow for more precise control and accuracy of margins.

I was able to partially fix this in the latest version on Cocoapods. It will probably still fall apart on very long documents, but if you only have a few pages the results are reasonably good.
It seems that the page margin is a little higher on pages 2 and on than it is on the first page. This means if you line up the Y margin on the first page, each page thereafter will be incorrect. I was able to fix this by subtracting a few pixels from the pageMargin in the loop for multiple pages: pageOffset+= iheight*ifactor+ymargin-2.9;
The other issue seems to be from converting the frame values to Integers, which loses a small amount of precision each time. By removing these conversions, the fields are slightly less uniform (as now they may be drawing on subpixels) but their positioning is more accurate as the fields go down the page.
_pageFrame =  CGRectMake(correctedFrame.origin.x*factor+hmargin, correctedFrame.origin.y*factor+ymargin, correctedFrame.size.width*factor, correctedFrame.size.height*factor); and _uiBaseFrame = CGRectMake(_pageFrame.origin.x, _pageFrame.origin.y+pageOffset, _pageFrame.size.width, _pageFrame.size.height);
These changes were made in the createWidgetAnnotationViewForSuperviewWithWidth: xMargin: yMargin: method in the PDFForm class. The full modified version of this method is here:
- (PDFWidgetAnnotationView *)createWidgetAnnotationViewForSuperviewWithWidth:(CGFloat)vwidth xMargin:(CGFloat)xmargin yMargin:(CGFloat)ymargin {
    if ((_annotFlags & PDFAnnotationFlagHidden) > 0) return nil;
    if ((_annotFlags & PDFAnnotationFlagInvisible) > 0) return nil;
    if ((_annotFlags & PDFAnnotationFlagNoView) > 0) return nil;
    CGFloat width = _cropBox.size.width;
    CGFloat maxWidth = width;
    for (PDFPage *pg in self.parent.document.pages) {
        if([pg cropBox].size.width > maxWidth) maxWidth = [pg cropBox].size.width;
    }
    /*
     vwidth-2*xmargin = pixel width of canvas on screen for full screen scaled page
     xmargin = pixel width of grey border between canvas and edge of UIWebView for full scaled page.
     maxWidth = PDF canvas points of widest page;
     ((vwidth-2*xmargin)/maxWidth) = converstion factor from canvas space to device space.
     Thus hmargin is the horizonal pixel margin from the border of the screen to the beginning of the page canvas.
     */
    CGFloat hmargin = ((maxWidth-width)/2)*((vwidth-2*xmargin)/maxWidth)+xmargin;
    CGFloat height = _cropBox.size.height;
    CGRect correctedFrame = CGRectMake(_frame.origin.x-_cropBox.origin.x, height-_frame.origin.y-_frame.size.height-_cropBox.origin.y, _frame.size.width, _frame.size.height);
    CGFloat realWidth = vwidth-2*hmargin;
    CGFloat factor = realWidth/width;
    CGFloat pageOffset = 0;
    for (NSUInteger c = 0; c < self.page-1; c++) {
        PDFPage *pg = self.parent.document.pages[c];
        CGFloat iwidth = [pg cropBox].size.width;
        CGFloat ihmargin = ((maxWidth-iwidth)/2)*((vwidth-2*xmargin)/maxWidth)+xmargin;
        CGFloat iheight = [pg cropBox].size.height;
        CGFloat irealWidth = vwidth-2*ihmargin;
        CGFloat ifactor = irealWidth/iwidth;
        pageOffset+= iheight*ifactor+ymargin-2.9;
    }
    _pageFrame =  CGRectMake(correctedFrame.origin.x*factor+hmargin, correctedFrame.origin.y*factor+ymargin, correctedFrame.size.width*factor, correctedFrame.size.height*factor);
    if (_formUIElement) {
        _formUIElement = nil;
    }
    _uiBaseFrame = CGRectMake(_pageFrame.origin.x, _pageFrame.origin.y+pageOffset, _pageFrame.size.width, _pageFrame.size.height);
    switch (_formType) {
        case PDFFormTypeText:
            _formUIElement = [[PDFFormTextField alloc] initWithFrame:_uiBaseFrame multiline:((_flags & PDFFormFlagTextFieldMultiline) > 0) alignment:_textAlignment secureEntry:((_flags & PDFFormFlagTextFieldPassword) > 0) readOnly:((_flags & PDFFormFlagReadOnly) > 0)];
        break;
        case PDFFormTypeButton: {
            BOOL radio = ((_flags & PDFFormFlagButtonRadio) > 0);
            if (_setAppearanceStream) {
                if ([_setAppearanceStream<EMAIL_ADDRESS>!= NSNotFound && [_setAppearanceStream rangeOfString:@"(l)"].location!=NSNotFound)radio = YES;
            }
            PDFFormButtonField *temp = [[PDFFormButtonField alloc] initWithFrame:_uiBaseFrame radio:radio];
            temp.noOff = ((_flags & PDFFormFlagButtonNoToggleToOff) > 0);
            temp.name = self.name;
            temp.pushButton = ((_flags & PDFFormFlagButtonPushButton) > 0);
            temp.exportValue = self.exportValue;
            _formUIElement = temp;
        }
        break;
        case PDFFormTypeChoice:
            _formUIElement = [[PDFFormChoiceField alloc] initWithFrame:_uiBaseFrame options:_options];
        break;
        case PDFFormTypeSignature:
            _formUIElement = [[PDFFormSignatureField alloc] initWithFrame:_uiBaseFrame];
        break;
        case PDFFormTypeNone:
        default:
            break;
    }
    if (_formUIElement) {
        [_formUIElement setValue:self.value];
        _formUIElement.delegate = self;
        [self addObserver:_formUIElement forKeyPath:@"value" options:NSKeyValueObservingOptionNew context:NULL];
        [self addObserver:_formUIElement forKeyPath:@"options" options:NSKeyValueObservingOptionNew context:NULL];
    }
    return _formUIElement;
}

This is essentially a hack until more precise rendering using Quartz methods causes this to be unnecessary. But, it may be helpful for someone else who wants to use this framework in its current state with a PDF that has a few pages in it.


TTS speech rate number always sets to fast

DAISY Pipeline 1.2.7-RC1
DTBook to DAISY 3:
using css in the config:
	h1 { pause: 30ms; volume: x-loud }
	h2 { pause: 30ms 40ms; volume: loud }
	p { pause: 20ms; speech-rate: 145 }
	p.quotation { pitch: high }

We want the speech-rate just a bit slower than normal. I have tried all sorts of numerical values but they all have the same speed confirmed by the length of the mp3 file. I tried slow but it was too slow. Any numerical value is too fast. Any ideas?
Thanks
Paul

If you're editing ttsConfig.xml directly then there is a risk that it would get overwritten by the Pipeline UI, as that file gets regenerated. So that's why I ran a test directly on the command line.

@torchtrust Can you tell me which voice you were using?

On Thu, 7 Dec 2023 at 13:57, Bert Frees @.***> wrote:

@torchtrust https://github.com/torchtrust Can you tell me which voice
you were using?
—
Reply to this email directly, view it on GitHub
https://github.com/daisy/pipeline-ui/issues/175#issuecomment-1845388342,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AASSUUJF7HTCDK7OI2RW7JTYIHDMFAVCNFSM6AAAAABAJX5WSOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBVGM4DQMZUGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Paul Wood
Head of Technical Services
Torch Trust
Torch House, Torch Way,
Market Harborough, Leics. LE16 9HL, UK
Direct Line: +44(0)1858 438269
Mobile: +44(0)7521 514212
Tel: +44(0)1858 438260
Email: @.***
Websites: www.torchtrust.org www.sightlossfriendlychurch.org.uk
https://torchtrust.org/sight-loss-friendly-church
Facebook: Torch-Trust
https://www.facebook.com/pages/Torch-Trust/209414622516639
Twitter: @TorchTrust https://twitter.com/TorchTrust
YouTube: Torch Trust on Video
https://www.youtube.com/channel/UCjh3k2t6SckTWOtQZNmkN8w
[image: Losing your sight? Know someone who is? Order a FREE audio Bible
player at torchtrust.org/pathway] https://torchtrust.org/pathway
[image: Registered with the Fundraising Regulator]
https://www.fundraisingregulator.org.uk/
Charity No. 1095904
Privileged/Confidential Information may be contained in this message.
If you are not the intended recipient please destroy this message
and kindly notify the sender by reply email. The computer from which
this mail originates is equipped with virus screening software.
However Torch Trust cannot guarantee that the mail and its attachments
are free from virus infection.

@torchtrust It appears that Azure interprets the numeric value not as an absolute value (words per minute), but as a relative value (e.g. 1.5 means 50% faster). See https://learn.microsoft.com/en-us/azure/ai-services/speech-service/speech-synthesis-markup-voice#adjust-prosody for more info.
Unfortunately this does not match with how Pipeline interprets the values. It won't accept values with a decimal point.
I've done a local fix that normalizes numeric values to what Azure expects, by dividing the number by 200. That seems to work.


Merge Current to master

@MinnowTheFish , is this ready to be merged to master?
respond via discord

@MinnowTheFish rsvp pls uwu


Split extended NFC APDUs into smaller seph messages

Description
This PR splits extended NFC APDUs (>255 bytes) into smaller chunks that fit into internal bolos buffers when sending and receiving them over SEPH.
To perform the split we use the existing ledger protocol, like we do on BLE and USB.
Support for extended size APDUs is required for FIDO2 on NFC, with APDU sizes that can exceed 700 bytes.
Changes include

[ ] Bugfix (non-breaking change that solves an issue)
[ ] New feature (non-breaking change that adds functionality)
[x] Breaking change (change that is not backwards-compatible and/or changes current functionality)
[ ] Tests
[ ] Documentation
[ ] Other (for changes that might not fit in any category)

Breaking changes
The payload format of NFC_CAPDU and NFC_RAPDU seph messages is modified and it now includes a ledger protocol header
Additional comments
Release of this change must be synchronized with the release of the corresponding MCU firmware.

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

Project coverage is 60.47%. Comparing base (e0d514f) to head (f246e72).
Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #665   +/-   ##
=======================================
  Coverage   60.47%   60.47%
=======================================
  Files          12       12
  Lines        1723     1723
=======================================
  Hits         1042     1042
  Misses        681      681

Flag
Coverage Δ

unittests
60.47% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


[Question] Is there a way to restrict the number of members and UNITS?

It may be desirable for some DAOs to set a configurable limit on the number of members allowed to join (DAOs like The LAO), instead of managing this limit artificially via external means. Additionally, it may also be desirable to set a configurable limit on UNITS allowed to be issued (minus the deployer's 1).
If this does not already exist within the DAO, is it possible to do in a way which is not expensive, and is configurable?
cc: @adridadou @fforbeck @craigwblake @mcchan1

That's a very good question.
I think we should separate the question in two parts, limit the members and limit the UINTS
Regarding the UINTS, I think the best way to do that is to mint a certain amount of UNITS at config time and then send them all to the guild bank.
Then each onboarding will move UNITS from the guild bank to the member's address.
This way you have control over the amount of UNITS in circulation and never end up minting too many (but can always create an adapter to mint more if needed)
Regarding limiting the number of members, I can't think of a centralized way to do it (at least not right now). You would have to check that on any adapter that might create a member.
Right now a member always stays a member and so there is no way of removing someone that might be an issue. This is why usually an "active member" is defined by a member with some UNITS. Keeping track of that can be tricky.
Happy to hear if anyone has some ideas regarding the members question


Task List on Account Details

This task is required for the completion of the user story:

TrueSparrowSystems/AI-SalesSparrow-iOS-App#4
TrueSparrowSystems/AI-SalesSparrow-iOS-App#7


Apply feedback on tests and comments.

Feedback on PR# 2435
Detailed changes

Updated comment on isActivity method.
Added validation in isActivity method to contemplate cases where the source.type is not a string.
Replaced assert.strictEqual with strictEqual in tests.
Unified ActivityEx and ActivityTypes imports.
Added 5 new tests to cover isActivity method.

Changes pushed to PR# 2435


[release/1.0] socket in archive and gc config fixes

Backports #2214 and #2222

Codecov Report

Merging #2224 into release/1.0 will decrease coverage by 0.02%.
The diff coverage is 33.33%.

@@               Coverage Diff               @@
##           release/1.0    #2224      +/-   ##
===============================================
- Coverage        50.57%   50.55%   -0.03%
===============================================
  Files               81       81
  Lines             7171     7176       +5
===============================================
+ Hits              3627     3628       +1
- Misses            2849     2853       +4
  Partials           695      695

Flag
Coverage Δ

#linux
50.55% <33.33%> (-0.03%)
:arrow_down:

Impacted Files
Coverage Δ

gc/scheduler/scheduler.go
70.32% <0%> (-0.92%)
:arrow_down:

archive/tar.go
50.3% <50%> (-0.16%)
:arrow_down:

Continue to review full report at Codecov.

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

LGTM


[Dependency Scanning] Guard access to shared state of the DependencyScannerDiagnosticCollectingConsumer

DependencyScanningTool has one DependencyScannerDiagnosticCollectingConsumer which gets associated with each individual scan query during lifetime of the tool. This isn't a valid use of such diagnostic consumer because the tool may be handling multiple scan queries at any given time, which may all be adding/resetting/querying diagnostics. For now, guard the shared state of the shared consumer as a short-term fix.
A follow-up change will refactor the diagnostic consumer to be per-client-scan.
Resolves rdar://123344065

@swift-ci smoke test

@swift-ci smoke test

@swift-ci smoke test Windows platform

Longer-term fix landed in https://github.com/apple/swift/pull/71907


Usability enhancements

[x] batch file format to .mzbatch
[ ] drag and drop batch files - load
[ ] drag and drop wizard files - put into wizard folder

@robinschmid are the other ones done as well?
 drag and drop wizard files - put into wizard folder -> should we also load them in that case? it's a bit unintuitive if it is not loaded automatically. Or show a prompt?


ROBUSTNESS: Assert that R also works, e.g. R --version and R --no-echo --quiet -e "1+2"

We currently assert that R is an executable;
https://github.com/UCSF-CBI/rstudio-server-controller/blob/a2529a046a255d1f2f86c9e2ab818b33134d0044/bin/rsc#L1463-L1465
but that's all the validation of R we do.  In rare cases it could be that R is non-working.  rsc start could run some basic checks, e.g.
R --version

and
R --no-echo --quiet -e "1+2"

to assert that we have a working R binary.  If not, it could give an informative error message.

Added


[Feature Request] PlayMode_Course/Both

Is your feature request related to a problem?
For example, in Mungyodance 3, there is an Extra Mode, which is pretty much the only course mode it has and is being set as playmode,oni
This makes it impossible to play nonstop courses in that mode or both in one at all.
Describe the solution you'd like
A mode that combines both nonstop and oni with one another.
A differentiation between them should be easy as oni courses have GAINSECONDS / LIVES and nonstop courses have TIME.
Describe alternatives you've considered
There is no alternative. Not that I know of...
Additional context
No response

Another great feature request. Converting to discussion so we can archive and add it to the road map.


Recyclerview container with recyclerview adapter

I have implemented your example and I must say the library is good thanks for the library.
Is it possible to use recyclerview adapter instead of base adapter?
I am making an app similar to tinder in terms of functionality so need to know base adapter will be sufficient?

BaseAdapter should be sufficient. I'm just guessing but i believe recyclerview adapter probably just adds some view recycling stuff.
is that your question?


Revert "remove openssl install, it's already on the base image for codebuild"

Reverts aws/eks-anywhere-build-tooling#490

/hold

I dont think this was the issue, closing.


feat: add sql completions powered by LLM

Adding another AI assistant feature, SQL Complete, to help query authoring like the Github Copilot
Currently we're using this codemirror extension, we can reimplement it to meet our additional requrements in the future if needed.
The prompt and context still needs to be tuned for better quality.

By default it is disabled, user can enable it in the user settings.

Looks good! Does the code mirror support showing multi line suggestions back to user?

yes, it supports multiple lines.


Support for Virtualmin Apache Log Format??

$ cat /path/to/httpd.conf | grep "LogFormat"
    LogFormat "%h %l %v %V %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %v %V %u %t \"%r\" %>s %b" common
$ exit

Can you please post a few lines from your access log?

the only change is the %v %V which is the virtual hostname
the NCSA Standard is to put the %v in front but for some off reason virtualmin is putting it after the %h
as for the %V I am not sure in the logs its showing the same value from %v
so %v and %V are the same

<IP_ADDRESS> - vanlug.bc.ca vanlug.bc.ca - [24/Nov/2015:07:00:18 -0800] "GET / HTTP/1.1" 302 20 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
<IP_ADDRESS> - vanlug.bc.ca vanlug.bc.ca - [24/Nov/2015:07:00:20 -0800] "GET / HTTP/1.1" 200 8735 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"

The following should work:
log-format %h %^ %v %^[%d:%t %^] "%r" %s %b "%R" "%u"
date-format %d/%b/%Y
time-format %H:%M:%S

I will try thanks

ok looks like thats working thanks
http://djjeff.yourtrap.com/reports/vanlug.bc.ca_report.html

Looks great :+1:
Closing this, feel free to reopen if needed.


define HTTP route tiebreaker semantics

possibly resolves https://github.com/kubernetes-sigs/service-apis/issues/337

PathMatchType specific matching behavior
Tie breaker on hostname path docs

@robscott  @hbagdi still some doubts here please let me know if we are close or missed here :) thanks !

/ok-to-test

/close thanks all !

Thanks!
/lgtm
/approve


Test Agent Build

What does this PR do?
Don't merge, test agent build.

(note, just so you know: there's no need to open a PR to test the Agent build; simply pushing your branch will trigger a gitlab build)

Thanks @olivielpeau :bowing_man:


Using concurrently ?

Hi,
Thanks for making hotel, very useful.
I have an issue or maybe a feature request. I'm working on a project with a react frontend and a python flask backend.
for instance:
├── app.log
├── client the react app (frontend)
│   ├── README.md
│   ├── craco.config.js
│   ├── dist
│   ├── package.json
│   ├── public
│   ├── src
│   ├── yarn-error.log
│   └── yarn.lock
├── package.json
├── requirements.txt
├── scripts
│   └── restart_server.sh
├── server.py the flask app (backend)
├── database.py
├── db.json
├── venv
│   ├── bin
│   ├── include
│   ├── lib
│   ├── pip-selfcheck.json
│   └── pyvenv.cfg
└── yarn.lock
I use concurently to run both the python server and the react app (dev mode) at the same time with --kill-others-on-fail
Trying to register hotel add "yarn run dev" but it's autobinding both to the same port making one or the other fail.
I know that I could use two separate add for frontend / backend but I was wondering if there was a workaround to this ?

I'm thinking the ability to create server groups might be nice.
It's not quite what you're asking for, but if Hotel could boot multiple servers at once (essentially replacing concurrently) that'd be swell. We'd still need a way to pass in the ports of all the other servers to each process though; right now I have to hardcode the ports so that they can talk to eachother.


correct coverage comand

Description
Wrong coverage command on read me,  current:
coverage run --source=pywps -m unittest tests
correct:
python -m coverage run --source=pywps -m unittest tests
Also possible to install as package (python-coverage) and then run
python-coverage  --source=pywps -m unittest tests

Fixed in pull request #170.


fix: add security headers

As suggested in https://smartcontracts.org/docs/security-best-practices/web-app-development-security-best-practices.html#define-security-headers

@robin-kunzler
The wallet can be tested with following steps:
# In cycles-wallet repo
npm ci
dfx start --background --clean
dfx deploy
dfx canister id wallet

# In internet-identity repo
npm ci
II_FETCH_ROOT_KEY=1 dfx deploy --no-wallet --argument '(null)'
dfx canister id internet_identity

# Open url in browser
http://localhost:8000/?canisterId=<wallet_canister_id_here>&identityProvider=http://localhost:8000/?canisterId=<internet_identity_id>
# Follow the auth steps with Internet Identity


Slow performance when calling opaque function

Is your feature request related to a problem? Please describe.
I don't know if it's the nature of SSE or if it's specifically to opaque function calls, but calling opaque functions with binary data is very slow.
Describe the solution you'd like
Improve performance of calling opaque functions
Describe alternatives you've considered
Maybe use CST (mentioned in https://cjycode.com/flutter_rust_bridge/guides/miscellaneous/codec#comparison), but I could not find an annotation to change that.
Additional context
pub struct Dart2RustStreamSink {
    sender: mpsc::Sender<Vec<u8>>,
}

pub struct Dart2RustStreamReceiver {
    pub(crate) receiver: mpsc::Receiver<Vec<u8>>,
}

pub fn create_stream() -> (Dart2RustStreamSink, Dart2RustStreamReceiver) {
    let (sender, receiver) = mpsc::channel(16 * 1024); // 16KB buffer
    println!("create_stream");
    (
        Dart2RustStreamSink { sender },
        Dart2RustStreamReceiver { receiver },
    )
}

impl Dart2RustStreamSink {
    pub async fn add(&mut self, data: Vec<u8>) -> Result<(), RhttpError> {
        // This method still needs 100ms or more to complete from Dart side, even without calling mpsc

        // self.sender
        //     .send(data)
        //     .await
        //     .map_err(|_| RhttpError::RhttpUnknownError("Failed to send data".to_string()))
        Ok(())
    }

    pub async fn close(&mut self) -> Result<(), RhttpError> {
        self.sender
            .close()
            .await
            .map_err(|_| RhttpError::RhttpUnknownError("Failed to close stream".to_string()))
    }
}

After some debugging, I found out that the call of an opaque function itself is expensive, regardless of the payload.
Tried to remove the parameter, so no payload is needed. Still it takes very long to call the function.
pub async fn add(&mut self) -> Result<(), RhttpError> {
        // This method still needs 100ms or more to complete from Dart side.
        Ok(())
    }

My buffer implementation was causing the slowness.

Happy to see it is solved! If there are any questions just ping me :)


Ability to purge expired items

Hi there,
It would be great to be able to purge items that have expired from the cache. For example, I have a service that returns images with a cache-control header. I would like to have the ability to, when inserting into the cache, specify a date to mark them as expired and then have the ability to remove only the expired items from the cache.
Thanks

Would be happy to accept a pull request that implemented this without a performance cost for use that didn't require this functionality.

I second this, purging at the object level rather than the entire cache would be useful in many use cases.

@kerrmarin TTL has been implemented as an option. Does this address this issue?


Explain 'check entire attack surface' test

Code at https://github.com/DinisCruz/BSIMM-Graphs-QA/blob/65c3430502a8c21dea27e6e7aecf5a043d1abf9b/test/browser/All-Pages.test.coffee
Browser_API = require '../../src/_Test_APIs/Browser-API'
Http_API    = require '../../src/_Test_APIs/Http-API'
async       = require 'async'

describe.only 'browser | All-Pages', ->

  browser = null
  http    = null

  before ()->
    browser = new Browser_API()
    http    = new Http_API()

    using browser.spectron, ->
      @.start()

  after ()->
    using browser, ->
      @.spectron?.stop()

  it 'get routes list', (done)->
    browser.open('/routes').then ->
      browser.$html ($)->
        $.html().assert_Contains '
Available routes
'
        $('a').length.assert_Is 37
        $('h2').html().assert_Is('Available routes')
        done()

  it 'open all pages (http)', (done)->                                         # using site hosted at DigitalOcean this test runs in 1.4sec
    check_Link = (href, next)->                                                # using site hosted at localhost it runs in 680ms
      #console.log "Loading #{href}"
      http.GET href, (html)->
        html.size().assert_Is_Bigger_Than 3
        next()

    http.$GET '/view/routes/list ', ($)->
      links = (link.attribs.href for link in $('a'))
      links.assert_Size_Is 37
      async.eachSeries links, check_Link, done

  it 'open all pages (browser and http)', (done)->                            # using site hosted at DigitalOcean this test runs in 16 sec
    @.timeout 40000                                                           #    when running on locahosst this test runs in 12.5 sec
    check_Link = (href, next)->
      #console.log '> opening: ' + href                                       # see page being opened (useful when debugging)
      browser.open(href).then ->                                              # opening href in a browser
        if href.contains 'team-random'                                        # special check for pages with random content
          href.size().assert_Is_Bigger_Than 20                                #    since we can't compare its content with the http version
          next()
        else
          browser.html (html_Browser)->                                       # get html content from browser
            http.GET href, (html_Http)->                                      # get html content via direct http request
              if html_Http.contains 'Found. Redirecting to '                  # if http request is a redirect
                href = html_Http.remove ('Found. Redirecting to ')            #   extract redirect url from html body
                href = '/' + href if not href.starts_With ('/')               #   fix case when redirect doesn't start with a /
                http.GET href, (html_Http)->                                  #   make request to redirect page
                  html_Http = html_Http.remove('<!DOCTYPE html>')             #   remove docktype from html (it is removed in the browser)
                  html_Browser.assert_Is html_Http                            #   compare html from http request with html rendered in browser
                  next()
              else                                                            # else (not an redirect)
                if html_Browser.contains ''          #   check for case when json was sent to browser
                  html_Browser = html_Browser.remove '
'
                                             .remove ''
                                             .remove '
'   #   remove all of these
                                             .remove ''         #   that were added by the browser
                  html_Http = html_Http.replace(/&/g,'&')                 #   small encoding fix

                html_Http = html_Http.remove('<!DOCTYPE html>')               #   remove docktype from html (it is removed in the browser)

                html_Browser.assert_Is html_Http                              #   compare html from http request with html rendered in§ browser
                next()

    browser.open('/view/routes/list ').then ->                                # get all current routes from browser
      #browser.show()                                                         # don't show the browser (only good when debugging an issue)
      browser.$html ($)->
        links = (link.attribs.href for link in $('a') )                       # extract all links from page
        async.eachSeries links, check_Link, done                              # for each link call check_Link

here is the performance running locally

here is the same test running against a docker instance running at DigitalOcean

it takes 20 sec from travis


Splitting reaction containers for efficiency?

Hi,
I was wondering whether the existing static reaction array could be split into two separate containers to improve the computational efficiency. Specifically, the time-based reactions (added with delay or repeat methods) could be stored in a separate priority queue. This would allow for O(1) time checks and O(log N) operations for insertions and deletions. Repeats would then work as delays which reinsert themselves automatically. The remaining interrupt, tick and stream reactions would still need to be looped every tick and could be stored in, say, a linked list.
If you don't mind having external dependencies, I've had good success with the ArduinoSTL library (with ESP8266 targets, mind you). STL provides both of the required data structures.

The only (or most significant) snag I've been able to think of is that the comparison function used to order time-based reactions should include some heuristics for the millis() wraparound, or else reactions close to the wraparound value will never be triggered.

I'm happy to explore this.
I thought of a linked list as a possible design for tracking the reactions but I think it makes the API messy unless you start using dynamic memory allocation (which needs to be avoided in micro-controllers unless very carefully managed). Do you have any thoughts on this?

Hm, my most recent experience is from https://github.com/mxtommy/SigkSens which runs on ESP8266. Those already have quite a bit more memory than the smaller Arduinos, and using the STL may be more relevant on that platform. I definitely didn't have any issue using maps in the project.
One approach would be to abstract the data structures a bit. IIRC, a heap queue can be quite easily implemented on a static array, so you could still have the static arrays for storing the queue and the other reactions and avoid using STL altogether. Then, on other projects, you could opt for dynamic structures for efficiency.


[Security] Any user can edit RemoteApps

I have several accounts without administrator rights. Some of these accounts do not have RDP access and have a very simple password.
I decided to try to log into the Web interface under such an account and was able to edit the RemoteApp list (as if I were an administrator).

Please add a check for user rights so that users without administrator rights can only download RDP files and use the WEB channel.

Correct. The authentication does not check the user's group membership.
This most certainly needs to go on the todo list!
Ideally, I'd like it to check whether the user is a member of either:
Administrators
Remote Desktop Users

Correct. The authentication does not check the user's group membership.
This most certainly needs to go on the todo list!
Ideally, I'd like it to check whether the user is a member of either:
Administrators Remote Desktop Users

please allow to specify a seperate group


Playback gets stuck at the ad point when using IMA SDK to play movies with .srt format subtitles.

Version
ExoPlayer 2.19.1
More version details
The issue also can be reproduced with ExoPlayer 2.18.5
Devices that reproduce the issue
It can be reproduced on all my devices. Looks like it'snot a device-specific issue

Pixel 2 running Android 11

Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps

Adding the following sample to the media.exolist.json file

 {
        "name": "playback stuck with srt subtitle",
        "uri": "https://manifest.staging-public.tubi.io/6526b9fa-0c02-4a6d-9fff-4a8ef70dc4e8/de7zyvhkdb.m3u8?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjZG5fcHJlZml4IjoiaHR0cHM6Ly9ha2FtYWkudHViaS1zdGFnaW5nLnZpZGVvIiwiY291bnRyeSI6IlVTIiwiZGV2aWNlX2lkIjoiYmRkZDEwNGYtYjgxYS00ZmUwLTk4ZTgtNGI0ZDMyZWI3ODBiIiwiZXhwIjoxNjk3MjAwMjAwLCJwbGF0Zm9ybSI6IkFORFJPSUQiLCJ1c2VyX2lkIjo3Mzk3NDExfQ.vy4K8bpX_pOD5Pfc52pzrqLylejz9A9-m-CTNP9TMEM&manifest=true",
        "ad_tag_uri": "https://run.mocky.io/v3/d3c23db8-aaf8-43a4-9690-3398a0f0f10f",
        "subtitle_uri": "http://s.adrise.tv/d2b870dd-7374-45d5-9f13-f543bf61a991.srt",
        "subtitle_mime_type": "application/x-subrip",
        "subtitle_language": "en"
      }

Play the added sample video from the beginning. The ad points are 00:00:10s, 00:00:20s, 00:00:30s
Wait and play to the 20s without seeking.

Expected result
Video, audio, and subtitles all play normally.
Actual result
The video frame gets stuck, no audio, and the subtitles continue to play.
No error logs.
After fast-forwarding, this issue disappeared.
Media
Not applicable.
Below are the URLs for testing.
Video URL:
https://manifest.staging-public.tubi.io/6526b9fa-0c02-4a6d-9fff-4a8ef70dc4e8/de7zyvhkdb.m3u8?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjZG5fcHJlZml4IjoiaHR0cHM6Ly9ha2FtYWkudHViaS1zdGFnaW5nLnZpZGVvIiwiY291bnRyeSI6IlVTIiwiZGV2aWNlX2lkIjoiYmRkZDEwNGYtYjgxYS00ZmUwLTk4ZTgtNGI0ZDMyZWI3ODBiIiwiZXhwIjoxNjk3MjAwMjAwLCJwbGF0Zm9ybSI6IkFORFJPSUQiLCJ1c2VyX2lkIjo3Mzk3NDExfQ.vy4K8bpX_pOD5Pfc52pzrqLylejz9A9-m-CTNP9TMEM&manifest=true
Subtitle URL:
http://s.adrise.tv/d2b870dd-7374-45d5-9f13-f543bf61a991.srt
AdTag URL:
https://run.mocky.io/v3/d3c23db8-aaf8-43a4-9690-3398a0f0f10f
Bug Report

[X] You will email the zip file produced by adb bugreport to<EMAIL_ADDRESS>after filing this issue.

@icbaker
Thank you for getting back to me.
I double-checked it can reproduce with the JSON snippet I proposed.
There is no issue with your JSON snippet.
The difference between the two JSONs is your ad_tag_uri returned ads(full midrolls), but mine have two empty midrolls.
The critical points to reproduce the issue are:

Playback to the second ad point without manually seeking
No ads at these two ad points(ad empty).

Let's say, the ad point is at the 10 seconds and the 20 seconds, and if no ads are returned at these two ad points, then the video frame will be stuck at the 20 seconds.
The demo app has VMAP empty midroll and VMAP full, empty, full midrolls samples, the JSON snippet I proposed is VMAP empty, empty, empty midrolls sample which can reproduce the issue.

I am not an IMA SDK user, and I don't know whether the IMA SDK supports the scenario I mentioned.
Context
I'm following this doc(https://developer.android.com/guide/topics/media/exoplayer/ad-insertion#client-using-third-party)
implementing a custom AdsLoader that wraps our ads SDK.
We use our own ad server to play real-time bidding ads. We will pre-set some ad points and only know whether ads are filled after requesting the ad server a few seconds before the ad points(sometimes the ad point was filled with ads, sometimes the ad points are empty), and meet this issue.
I found this issue can also be reproduced in the demo app with IMA SDK applying the same scenario, then raised this issue.

Below is the video, it gets stuck at the 20th second and stops moving forward, while the subtitles and playback progress are still moving forward. After fast forward, the video playback returns to normal.
https://github.com/androidx/media/assets/14145498/f78f408f-c1cb-4fa7-a46e-c436f8601d5d

Thanks, I can now repro with your original example (not sure what was different yesterday, sorry about that) - I will investigate.
I'm also able to repro with your IMA URI and our content (the MKV link I posted above).
I'm not able to repro with our VMAP empty midroll example.
I am able to repro with our VMAP full, empty, full midrolls example.

I'm going to close this because the fix described above will soon become the default behavior, and it doesn't seem worth spending time to investigate a bug in the old code that will soon be unused/deleted.

@icbaker DefaultMediaSourceFactory.experimentalUseProgressiveMediaSourceForSubtitles() fixed the issue, thanks so much!


Uncaught error on startup

Hi,
I've installed the module today using default config.js settings.
Get following error in dev console:
main.js:394 Uncaught TypeError: Cannot read property 'toLowerCase' of undefined
Any ideas?
Hilsen fra Nordens Paris :)

Hi,
I have tried to recreate your problem, but have not been able to get the same result.
Have you tried with the default Avinor URL? It can be that the reply for your arport is different and there is a problem parsing it.
If the problem crashes the module, then please give some more information of how you tested it.
Please note that i have cleaned up the code today, but even before this i did not get any errors.
Hilsen Kjell

Hei Kjell :)
Last commit fixed the issue.
Suggestion; could you do a check - if using in fullscreen separate Dep and Arr better?
I can do it myself, but it would be better to have this option for everybody :)
Closing topic.
Bra ide dette :) Vi må få til mer norsk på MM!
Slipper egen modul snart, blir en bra voice offline-modul med kjekke funksjoner.

Please see new layout in the latest commit in separate folder, there are now 3 options to change between CSS files. I found it easier to change between CSS's, than to change the code.


Make base64 encoding argument optional in Tracker constructor

There are lots of arguments like that which should be optional.
What's the equivalent of a Builder pattern for obj-c?

This has been done in 0.5.0


[Suggestion] Make An Alert Whenever the Message in the Chatbox says, "A Champion's scroll falls to the ground as you slay your opponent."

According to the OSRS Wiki listed here. A message appears titled "A Champion's scroll falls to the ground as you slay your opponent." whenever you get a champions scroll in the chat. Its in red and cannot be filtered.
The problem is, since it takes forever to get (usually 1/5000), we may not be paying attention. I propose an alert pops up when it does happen

Duplicate of #1469


importer: add Instagram importer

Tracking bug for instagram importer.

is anyone already working on the instagram importer?  I'd like to help if i can.

@plural, nope. Please do!
Note that using the new-ish pk-devimport makes importer development a lot more fun & iterative. (faster hack/save/compile/run cycle)

fantastic.  I've written some stuff against the instagram API in python a while back.  The instagram API docs talk about non-automated uses, so i am a bit worried we will need to prevent it from running scheduled, but i'll dig in more and see what's up.

@plural not sure how far you got but it seems like instagram has seriously limited their public API https://www.instagram.com/developer/changelog and they plan on deprecating reading the authenticated users profile and media until 2020 :/

@bradfitz @mpl
I have a working instagram importer on top of goinsta but I'm a bit stuck on how to test it... I would just submit what I have for review :p
I also haven't really looked into the ui part too much...

@robertgzr sure, if it seems to be working, that's a good enough starting point for a CL. Send away please.
For an integration test, you can look at what's already been done in other importers, such an the pinboard one.

@robertgzr I've started reviewing, but before I go further, can you please explain better why we need to use goinsta at all? In particular, it bothers me that we would have to ask the user's credentials (username and password) while the API seems to be offering good old OAuth2: https://www.instagram.com/developer/authentication/
Feel free to point at parts of the code directly in the CL (even the vendored parts) to explain better.

@robertgzr yes, I had a look at the endpoints, and I feared the 20 entries limitation, but good to know you've actually tried.
But then comes the next question (because I'm hoping you've had a look at the goinsta code, I haven't yet): the goinsta devs do not have anymore access to a broader instagram API than we do, so how do they do it? And is the way they do it complicated enough that we have to import all of goinsta instead of redoing it ourselves for our (I assume) simpler needs?

@mpl They reverse-engineered the "non-public" instagram api (what the app is using I assume), probably similar to https://github.com/mgp25/Instagram-API (which has quite elaborate technical documentation) by basically emulating the app.
I wouldn't want to replicate all that stuff... but I see what you mean. The alternative would be to have this be it's own app instead of an integrated importer.

so they're basically using undocumented endpoints?

https://perkeep-review.googlesource.com/c/perkeep/+/17606


Crash with binding path="/" in multibinding

Hello, I am having some issue that seems simple but I really cannot find any way to do it:
I have a list of MyEnum values, I have them in a ComboBox and have been using a converter to convert the MyEnum items to IBitmaps that are drawn for each ComboBox item.
Now I need to have another property of my object used as a parameter of the converter, so I looked to multiconverters, but I cannot find out how to plug in the values to the converter
The old way was:
<DataTemplate x:Key="Menu">
  <Image Source="{Binding Converter={x:Static infrastructure:MyConverter.Instance}, ConverterParameter=ExampleParam, Mode=OneWay}"/>
</DataTemplate>
.....
<ComboBox Items="{Binding MyObj.SelectableItems}" ItemTemplate="{StaticResource Menu}" SelectedItem="{Binding MyObj.MyEnumValue}"/>

From browsing Google, I came up with this:
<DataTemplate x:Key="Menu">
  <Image Stretch="None">
    <Image.Source>
      <MultiBinding Converter="{x:Static infrastructure:MyMultiConverter.Instance}" ConverterParameter="ExampleParam" Mode="OneWay">
        <Binding Path="SelectedItem" ElementName="MyOtherComboBox"/>
        <Binding Path="/"/> <!--This crashes-->
      </MultiBinding>
    </Image.Source>
  </Image>
</DataTemplate>

The Path="/" is apparently supposed to reference the current item in the iteration, like the regular bindings do, but it crashes instead. The crash is here: https://pastebin.com/raw/N29dzRaQ
Also, the converter is never called when I have Path="/", even when the items populate the ComboBox
I'm on 0.9.10

I can't test right now, but any chance this is fixed by https://github.com/AvaloniaUI/Avalonia/pull/6246 ?

CurrentItem is used in the context of https://docs.microsoft.com/en-us/dotnet/api/system.windows.data.collectionview.currentitem?view=net-5.0 and that isn't available under Avalonia

TIL there is '/' in bindings.

Does any workaround exist? I couldn't find one so I left it as it was a year ago

@Kermalis something like {Binding $parent[ComboBoxItem].DataContext} might help.


What is "dark powered"?

I see this in multiple repos regarding VIM plugins and I don't know what it means and I can't find an answer online.

https://salt.bountysource.com/teams/neovim
Q: What means "dark powered"?
A: I think text editor is everything in the world. I want to do everything in
Vim(neovim) like Emacs. It is not allowed by |design-not| in Vim. It is not
the light way to use Vim. So I have defined it as the dark way. I am the
dark Vimmer. My plugins are dark powered.


Update Marked to v4.2.4

For convenience, I make this a TODO.
https://github.com/markedjs/marked/releases/tag/v4.2.4

This work has been done.


MMM example notebook not working

MMM Example Notebook
Notebook works until the "DelayedSaturatedMMM" model is defined.
mmm.fit(target_accept=0.95, chains=4, random_seed=rng)
Error: TypeError: ModelBuilder.fit() missing 1 required positional argument: 'X'

CC @michaelraczycki

Thanks for reporting. We did some refactoring recently and this might have slipped under our radar.
We'll take a look soon

@smusch2 which version of PyMC-Marketing are you using?
That links refers to the last official release on pypi. If you installed from the repo, these would be the up to date docs: https://www.pymc-marketing.io/en/latest/notebooks/mmm/mmm_example.html

How did you install the library?

@ricardoV94
pip install git+https://github.com/pymc-labs/pymc-marketing.git

I suggest you install through the official release channels instead: https://www.pymc-marketing.io/en/stable/#installation
Or just pip install pymc-marketing without the git+ bit

The git + is to test out the next release before it's out, but then you have to check the documentation in latest not stable. If you just want to try out the library it's better not to do the pre-release installation

Yep, that worked when running in Google Colab. It doesn't work in Jupyter still, but that must be an issue on my side. Thanks!


Meteor client is not supported

Could you update so that Meteor Client is compatible? 1.20.1

Duplicate of #966


TypeError: $(...).data is not a function

I am trying to use the gem in my rails app with Ruby version 1.9.2-p320 & Rails 3.1.1, all is working well but when I click on any of the icon for share then it wouldn't do anything. I have inspected it & found the below issue
TypeError: $(...).data is not a function            social...?body=1 (line 10)
site = $(el).data('site');
I am trying to resolve but no luck.

jQuery


could not find extension's manifest file Domain

Description
Reason: Could not find extension's manifest file
Domain: commands
Time: 11:36:30.299
Recovery: You might need to reinstall the extension.
Steps To Reproduce
No response
Current Behaviour
No response
Expected Behaviour
No response

Raycast throws that error when it tries to launch an extension but can't find its package.json file. Extensions get installed in ~/.config/raycast/extensions/, so maybe something happened to that folder?

Raycast throws that error when it tries to launch an extension but can't find its package.json file. Extensions get installed in ~/.config/raycast/extensions/, so maybe something happened to that folder?

Hi @vivgui, it worked after I deleted all the extensions and reinstalled them.


Resolve msaa when needed

The viewer was resolving color & depth buffers every frame, even though depth was not always needed.
This PR updates the viewer to only resolve color buffers every frame and then resolve depth buffer when it's required.
This change saves 3.0ms per frame when rendering 4xMSAA at 1440p on macbook ATI hardware.

Ideally we would not resolve depth .. as this is the only code at the moment that does it, and it's not compatible with WebGl1 nor WebGPU. I'd prefer we remove depth parameter to RenderTarget.resolve and implement this feature using SceneDepth.


Fix notification->post jump for real

Reverts https://github.com/bluesky-social/social-app/pull/5297 which is the wrong fix.
The actual problem was that when we construct a placeholder, we're looking into the author feed first.
So here's what can happen:

Write a post
Go to your profile tab and refetch Posts
Go to notifications and wait for likes to pour in
Click on the liked post from the like notification, observe a jump (due to initially missing likes)

Previously, the post from author feed would be found first, which still has likeCount: 0.
With this change, the version from notifs would be prioritized over the version from feeds.
I think this generally makes sense because notifs seem more likely to be fresh. Ideally we'd either keep this normalized or prioritize the most recently fetched version. But that would require a much bigger refactoring.
This seems like a simple enough fix to me.
Test Plan
Try the above. Verify we hit the breakpoint:

Verify the version we find has the like count from the notif:

So there is no jump.

nice


Signing

Set up APK signing:
https://developer.android.com/studio/build/gradle-tips#publish-your-app

For now, I am using the GUI provided by Android Studio. Modifying build.gradle to load the signing config from a properties file will only be necessary for automating the build and deployment for #11.


Add $/kW for battery replacements to be consistent

Currently, battery replacements are specified on a $/kWh basis, while battery costs on the System Costs page are $/kW and/or $/kWh.

See also https://github.com/NREL/SAM/issues/355

Closing duplicate issue (see #355)

OK, my comment on this is that we likely should leave the replacement cost as $/kwh.  While a full new storage system includes battery packs, containers, installation, a ariety of soft costs, etc. it is safe to envision that a replacement in 10 years (particuarlly for large systems) will be (1) cheaper and (2) likely to just replace the battery pack and not require all the same interconnection, soft csots, etc.  Therefore, those issues combined wtih the uncertainty of future costs and the ATB having both future $/kW and $/kwh costs, it would be confusing if we implied that the entire battery needs to be replaced including all of the support structures and inverter, etc.


Installation error

Can someone please help me with this error? I tried everything to fix, I installed, I reinstalled, nothing solved, please help.
this is the mistake
ETGMod Installer v17.10.19
Something went horribly wrong:
System.Net.WebException: Request aborted: Could not create a secure channel for SSL / TLS.
in System.Net.WebClient.DownloadDataInternal (Uri address, WebRequest & request)
in System.Net.WebClient.DownloadString (Uri address)
in System.Net.WebClient.DownloadString (String address)
in ETGModInstaller.RepoHelper.GetAPIMods ()
in ETGModInstaller.InstallerWindow.DownloadModsList ()
Entering the Modgeon
No previous mod installation found.
Still reverting to unmodded backup ...
Reverting: EtG.exe
Reverting: Assembly-CSharp.dll
Reverting: UnityEngine.dll
Reloading Assembly-CSharp.dll
Backing up: UnityEngine.dll
Backing up: Assembly-CSharp.dll
Backing up: EtG.exe
Mod # 0: Base
Downloading http: //modthegungeon.github.io/ETGMOD.zip ...
System.Net.WebException: Request aborted: Could not create a secure channel for SSL / TLS.
in System.Net.WebClient.OpenRead (Uri address)
in System.Net.WebClient.OpenRead (String address)
in ETGModInstaller.ETGModder.Download (InstallerWindow ins, String url)
in ETGModInstaller.ETGModder.DownloadCached (InstallerWindow ins, String url, String cached)
in ETGModInstaller.ETGModder.Install_ (InstallerWindow ins)
in ETGModInstaller.ETGModder.Install (InstallerWindow ins)
my version of the game is 1.1.4

I have the exact same issue. I'd love a solution

I think I was able to resolve the search on youtube as disable windows dep


Design/jose interface implementation demo

I would like to close this branch and start working on features properly since the interface demonstration is working. I added some tests to the upload mechanism, and also added some little scripts to create a dummy project to test the upload of data in the setup.py.

I will also merge this since its ahead and testing more of the upload feature.


Redesign landing page

Improve design, CSS, and background of index.html.

Hi @QAZIMAAZARSHAD , love to work on this issue


add a static Active::method('method')

Please add a  Active::method('method') similar to Active::controller('Controller') which will return a Boolean.  :)

You can use Active::action which accept the first parameter as "Controller@method".


Unicode strings with codepoints at or below \u00ff are encoded as \x?? rather than \u00??

This is a different facet of the unicode encoding issue mentioned in #129, which is unfortunately not solved by PR #142. This is because of two issues:

Python chooses to represent \u00?? codepoints as \x??, which is not supported by OrientDB.
on Python 2, pyorient uses str values internally, which are implicitly encoded with ascii and therefore cannot correctly represent all of Unicode.

To reproduce, add a unicode value that contains the \u00c5 character (latin capital letter a with ring above, AKA Angstrom unit symbol normalized) and attempt to write it to OrientDB.

Can i close?

Ah yes I think this was fixed. Closing.


Mime type not set for Chrome and Firefox

For modern browsers, a type is not included for the Blob as is the case for IE.
I will create a pull request for this issue.

Added fix.


Anti-Crash on character editor

What feature do you want to get added on the base engine?

I was organizing stuff on the mods folder (mods/images/characters) and aparently i messed it up, but i noticed you should add that
To test your sight, and reliability, please select the option of what should NOT be requested.
Useful feature

YOU'RE SO RIGHT, i should add an anti crash for the character editor since i did it for the chart editor

added (https://github.com/JordanSantiagoYT/FNF-PsychEngine-NoBotplayLag/commit/39969a13bf3e2f421cc1cd286120e66795295250)