CI tests using Gitlab and Fastlane timeout.

New Issue Checklist

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

Issue Description
When running scan ( test lane ) manually by using fastlane test, everything works nice and smoothly. however, when the CI ( gitlab ) is trying to do this on my machine it stops just before running the tests.. it won't continue doing anything and then gives me the timeout messages. ( the simulator does get launched ) However, I do get the same messages when running it manually but it will run the tests anyway. Any solution on how to solve this?
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

Captured Output
Command Used: test
Output/Log

DEBUG [2017-05-04 17:08:34.16]: Checking if there are any plugins that should be loaded...
INFO [2017-05-04 17:08:34.18]: -------------------------------------------------
INFO [2017-05-04 17:08:34.18]: --- Step: Verifying required fastlane version ---
INFO [2017-05-04 17:08:34.18]: -------------------------------------------------
INFO [2017-05-04 17:08:34.18]: Your fastlane version 2.25.0 matches the minimum requirement of 2.22.0  ✅
INFO [2017-05-04 17:08:34.18]: ------------------------------
INFO [2017-05-04 17:08:34.18]: --- Step: default_platform ---
INFO [2017-05-04 17:08:34.18]: ------------------------------
INFO [2017-05-04 17:08:34.18]: Driving the lane 'ios test' 🚀
INFO [2017-05-04 17:08:34.18]: ------------------
INFO [2017-05-04 17:08:34.18]: --- Step: scan ---
INFO [2017-05-04 17:08:34.18]: ------------------
INFO [2017-05-04 17:08:34.20]: Successfully loaded '/Users/******/xcode/******/fastlane/Scanfile' 📄

+----------------------+---------------------+
| Detected Values from './fastlane/Scanfile' |
+----------------------+---------------------+
| scheme               | Intern              |
| devices              | ["iPhone SE"]       |
| open_report          | true                |
| clean                | false               |
+----------------------+---------------------+

INFO [2017-05-04 17:08:34.20]: $ xcodebuild -list -workspace ******.xcworkspace
INFO [2017-05-04 17:08:35.47]: $ xcodebuild clean -showBuildSettings -workspace ******.xcworkspace -scheme Intern
DEBUG [2017-05-04 17:08:36.85]: Fetching available simulator devices
DEBUG [2017-05-04 17:08:36.99]: Detected derived data path '/Users/******/Library/Developer/Xcode/DerivedData/Factuur_Verwerking-fjwgtgkmhbejnigwiegsfxnmcmfx'
INFO [2017-05-04 17:08:37.34]: Successfully loaded '/Users/******/xcode/******/fastlane/Scanfile' 📄
WARN [2017-05-04 17:08:37.34]: No values defined in './fastlane/Scanfile'
INFO [2017-05-04 17:08:37.34]: $ xcodebuild -list -workspace ******.xcworkspace
INFO [2017-05-04 17:08:38.60]: $ xcodebuild clean -showBuildSettings -workspace ******.xcworkspace -scheme Intern
DEBUG [2017-05-04 17:08:39.94]: Fetching available simulator devices

+------------------------+-------------------------------------------------------------------------+
|                                     Summary for scan 2.25.0                                      |
+------------------------+-------------------------------------------------------------------------+
| workspace              | ******.xcworkspace                                          |
| scheme                 | Intern                                                                  |
| devices                | ["iPhone SE"]                                                           |
| open_report            | true                                                                    |
| clean                  | false                                                                   |
| derived_data_path      | /Users/******/Library/Developer/Xcode/DerivedData/Factuur_Verwe... |
| skip_build             | false                                                                   |
| output_directory       | ./fastlane/test_output                                                  |
| output_types           | html,junit                                                              |
| buildlog_path          | ~/Library/Logs/scan                                                     |
| include_simulator_logs | false                                                                   |
| skip_slack             | false                                                                   |
| slack_only_on_failure  | false                                                                   |
| use_clang_report_name  | false                                                                   |
| fail_build             | true                                                                    |
| xcode_path             | /Applications/Xcode.app                                                 |
+------------------------+-------------------------------------------------------------------------+

INFO [2017-05-04 17:08:40.10]: $ set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace ******.xcworkspace -scheme Intern -destination 'platform=iOS Simulator,id=F2B56798-B19A-4CE3-BFB7-5DAA2BFF3155' -derivedDataPath '/Users/******/Library/Developer/Xcode/DerivedData/Factuur_Verwerking-fjwgtgkmhbejnigwiegsfxnmcmfx' build test | tee '/Users/******/Library/Logs/scan/Factuurverwerking-Intern.log' | xcpretty
INFO [2017-05-04 17:08:40.10]: ▸ Loading...
INFO [2017-05-04 17:08:40.47]: ▸ 2017-05-04 17:08:40.473 xcodebuild[51292:393226] [MT] PluginLoading: Required plug-in compatibility UUID DFFB3951-EB0A-4C09-9DAC-5F2D28CC839C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/RealmPlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
INFO [2017-05-04 17:08:41.86]: ▸ Building Pods/RxSwift [Intern]
INFO [2017-05-04 17:08:41.88]: ▸ Check Dependencies
INFO [2017-05-04 17:08:42.32]: ▸ Building Pods/Alamofire [Intern]
INFO [2017-05-04 17:08:42.32]: ▸ Check Dependencies
INFO [2017-05-04 17:08:42.32]: ▸ Building Pods/DZNEmptyDataSet [Intern]
INFO [2017-05-04 17:08:42.32]: ▸ Check Dependencies
INFO [2017-05-04 17:08:42.32]: ▸ Building Pods/GoogleToolboxForMac [Intern]
INFO [2017-05-04 17:08:42.32]: ▸ Check Dependencies
INFO [2017-05-04 17:08:42.32]: ▸ Building Pods/IQKeyboardManagerSwift [Intern]
INFO [2017-05-04 17:08:42.32]: ▸ Check Dependencies
INFO [2017-05-04 17:08:42.32]: ▸ Building Pods/Locksmith [Intern]
INFO [2017-05-04 17:08:42.32]: ▸ Check Dependencies
INFO [2017-05-04 17:08:42.32]: ▸ Building Pods/Protobuf [Intern]
INFO [2017-05-04 17:08:42.32]: ▸ Check Dependencies
INFO [2017-05-04 17:08:42.32]: ▸ Building Pods/QRCodeReader.swift [Intern]
INFO [2017-05-04 17:08:42.32]: ▸ Check Dependencies
INFO [2017-05-04 17:08:42.32]: ▸ Building Pods/SwiftSpinner [Intern]
INFO [2017-05-04 17:08:42.32]: ▸ Check Dependencies
INFO [2017-05-04 17:08:42.32]: ▸ Building Pods/SwiftyJSON [Intern]
INFO [2017-05-04 17:08:42.32]: ▸ Check Dependencies
INFO [2017-05-04 17:08:42.32]: ▸ Building Pods/TRON [Intern]
INFO [2017-05-04 17:08:42.32]: ▸ Check Dependencies
INFO [2017-05-04 17:08:42.40]: ▸ Building Pods/RxCocoa [Intern]
INFO [2017-05-04 17:08:42.40]: ▸ Check Dependencies
INFO [2017-05-04 17:08:42.42]: ▸ Building Pods/RxSwiftExt [Intern]
INFO [2017-05-04 17:08:42.42]: ▸ Check Dependencies
INFO [2017-05-04 17:08:42.42]: ▸ Building Pods/RxGesture [Intern]
INFO [2017-05-04 17:08:42.42]: ▸ Check Dependencies
INFO [2017-05-04 17:08:42.44]: ▸ Building Pods/RxDataSources [Intern]
INFO [2017-05-04 17:08:42.44]: ▸ Check Dependencies
INFO [2017-05-04 17:08:42.44]: ▸ Building Pods/Action [Intern]
INFO [2017-05-04 17:08:42.44]: ▸ Check Dependencies
INFO [2017-05-04 17:08:42.44]: ▸ Building Pods/Pods-****** [Intern]
INFO [2017-05-04 17:08:42.44]: ▸ Check Dependencies
INFO [2017-05-04 17:08:42.45]: ▸ Building ******/****** [Intern]
INFO [2017-05-04 17:08:42.45]: ▸ Check Dependencies
INFO [2017-05-04 17:08:42.69]: ▸ Running script '[CP] Check Pods Manifest.lock'
INFO [2017-05-04 17:08:42.73]: ▸ Running script '[CP] Embed Pods Frameworks'
INFO [2017-05-04 17:08:44.81]: ▸ Running script '[CP] Copy Pods Resources'
INFO [2017-05-04 17:08:44.88]: ▸ Running script 'Run Script'
INFO [2017-05-04 17:08:45.10]: ▸ Build Succeeded
INFO [2017-05-04 17:08:45.18]: ▸ 2017-05-04 17:08:45.185 xcodebuild[51292:393246]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
INFO [2017-05-04 17:08:45.18]: ▸ /Users/******/Library/Developer/Xcode/DerivedData/Factuur_Verwerking-fjwgtgkmhbejnigwiegsfxnmcmfx/Logs/Test/90E98240-07F2-4C7A-BC32-12EE5717449E/Session-******Tests-2017-05-04_170845-rP0gMU.log
INFO [2017-05-04 17:08:45.18]: ▸ 2017-05-04 17:08:45.185 xcodebuild[51292:393226] [MT] IDETestOperationsObserverDebug: (15CD0130-517E-4DE6-A392-FFDB930FE336) Beginning test session ******Tests-15CD0130-517E-4DE6-A392-FFDB930FE336 at 2017-05-04 17:08:45.185 with Xcode 8E2002 on target <DVTiPhoneSimulator: 0x7fb8e56e7ca0> {
INFO [2017-05-04 17:08:45.18]: ▸ SimDevice: SimDevice : iPhone SE (F2B56798-B19A-4CE3-BFB7-5DAA2BFF3155) : state={ Booted } deviceType={ SimDeviceType : com.apple.CoreSimulator.SimDeviceType.iPhone-SE } runtime={ SimRuntime : 10.3 (14E269) - com.apple.CoreSimulator.SimRuntime.iOS-10-3 }
INFO [2017-05-04 17:08:45.18]: ▸ } (10.3 (14E269))
INFO [2017-05-04 17:08:45.21]: ▸ 2017-05-04 17:08:45.210 xcodebuild[51292:393236]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
INFO [2017-05-04 17:08:45.21]: ▸ /Users/******/Library/Developer/Xcode/DerivedData/Factuur_Verwerking-fjwgtgkmhbejnigwiegsfxnmcmfx/Logs/Test/90E98240-07F2-4C7A-BC32-12EE5717449E/Session-******UITests-2017-05-04_170845-tOXggS.log
INFO [2017-05-04 17:08:45.21]: ▸ 2017-05-04 17:08:45.210 xcodebuild[51292:393226] [MT] IDETestOperationsObserverDebug: (8D804A86-DB69-4EF7-9C5F-60B902B120AB) Beginning test session ******UITests-8D804A86-DB69-4EF7-9C5F-60B902B120AB at 2017-05-04 17:08:45.210 with Xcode 8E2002 on target <DVTiPhoneSimulator: 0x7fb8e56e7ca0> {
INFO [2017-05-04 17:08:45.21]: ▸ SimDevice: SimDevice : iPhone SE (F2B56798-B19A-4CE3-BFB7-5DAA2BFF3155) : state={ Booted } deviceType={ SimDeviceType : com.apple.CoreSimulator.SimDeviceType.iPhone-SE } runtime={ SimRuntime : 10.3 (14E269) - com.apple.CoreSimulator.SimRuntime.iOS-10-3 }
INFO [2017-05-04 17:08:45.21]: ▸ } (10.3 (14E269))
INFO [2017-05-04 17:08:45.57]: ▸ Building Pods/RxSwift [Intern]
INFO [2017-05-04 17:08:45.57]: ▸ Check Dependencies
INFO [2017-05-04 17:08:46.61]: ▸ Building Pods/GoogleToolboxForMac [Intern]
INFO [2017-05-04 17:08:46.61]: ▸ Check Dependencies
INFO [2017-05-04 17:08:46.61]: ▸ Building Pods/DZNEmptyDataSet [Intern]
INFO [2017-05-04 17:08:46.61]: ▸ Check Dependencies
INFO [2017-05-04 17:08:46.61]: ▸ Building Pods/Alamofire [Intern]
INFO [2017-05-04 17:08:46.61]: ▸ Check Dependencies
INFO [2017-05-04 17:08:46.61]: ▸ Building Pods/IQKeyboardManagerSwift [Intern]
INFO [2017-05-04 17:08:46.61]: ▸ Check Dependencies
INFO [2017-05-04 17:08:46.61]: ▸ Building Pods/Locksmith [Intern]
INFO [2017-05-04 17:08:46.61]: ▸ Check Dependencies
INFO [2017-05-04 17:08:46.61]: ▸ Building Pods/Protobuf [Intern]
INFO [2017-05-04 17:08:46.61]: ▸ Check Dependencies
INFO [2017-05-04 17:08:46.61]: ▸ Building Pods/QRCodeReader.swift [Intern]
INFO [2017-05-04 17:08:46.61]: ▸ Check Dependencies
INFO [2017-05-04 17:08:46.61]: ▸ Building Pods/SwiftSpinner [Intern]
INFO [2017-05-04 17:08:46.61]: ▸ Check Dependencies
INFO [2017-05-04 17:08:46.61]: ▸ Building Pods/SwiftyJSON [Intern]
INFO [2017-05-04 17:08:46.61]: ▸ Check Dependencies
INFO [2017-05-04 17:08:46.61]: ▸ Building Pods/Pods-******Tests [Intern]
INFO [2017-05-04 17:08:46.61]: ▸ Check Dependencies
INFO [2017-05-04 17:08:46.61]: ▸ Building Pods/Pods-******UITests [Intern]
INFO [2017-05-04 17:08:46.61]: ▸ Check Dependencies
INFO [2017-05-04 17:08:46.61]: ▸ Building Pods/RxSwiftExt [Intern]
INFO [2017-05-04 17:08:46.61]: ▸ Check Dependencies
INFO [2017-05-04 17:08:46.63]: ▸ Building Pods/TRON [Intern]
INFO [2017-05-04 17:08:46.63]: ▸ Check Dependencies
INFO [2017-05-04 17:08:46.69]: ▸ Building Pods/RxCocoa [Intern]
INFO [2017-05-04 17:08:46.70]: ▸ Check Dependencies
INFO [2017-05-04 17:08:46.72]: ▸ Building Pods/RxDataSources [Intern]
INFO [2017-05-04 17:08:46.72]: ▸ Check Dependencies
INFO [2017-05-04 17:08:46.73]: ▸ Building Pods/RxGesture [Intern]
INFO [2017-05-04 17:08:46.73]: ▸ Check Dependencies
INFO [2017-05-04 17:08:46.74]: ▸ Building Pods/Action [Intern]
INFO [2017-05-04 17:08:46.74]: ▸ Check Dependencies
INFO [2017-05-04 17:08:46.74]: ▸ Building Pods/Pods-****** [Intern]
INFO [2017-05-04 17:08:46.74]: ▸ Check Dependencies
INFO [2017-05-04 17:08:46.75]: ▸ Building ******/****** [Intern]
INFO [2017-05-04 17:08:46.75]: ▸ Check Dependencies
INFO [2017-05-04 17:08:46.86]: ▸ Running script '[CP] Check Pods Manifest.lock'
INFO [2017-05-04 17:08:46.90]: ▸ Running script '[CP] Embed Pods Frameworks'
INFO [2017-05-04 17:08:49.15]: ▸ Running script '[CP] Copy Pods Resources'
INFO [2017-05-04 17:08:49.21]: ▸ Running script 'Run Script'
INFO [2017-05-04 17:08:49.30]: ▸ Building ******/******UITests [Intern]
INFO [2017-05-04 17:08:49.30]: ▸ Check Dependencies
INFO [2017-05-04 17:08:49.32]: ▸ Running script '[CP] Check Pods Manifest.lock'
INFO [2017-05-04 17:08:49.36]: ▸ Running script '[CP] Embed Pods Frameworks'
INFO [2017-05-04 17:08:49.41]: ▸ Running script '[CP] Copy Pods Resources'
INFO [2017-05-04 17:08:49.48]: ▸ Building ******/******Tests [Intern]
INFO [2017-05-04 17:08:49.48]: ▸ Check Dependencies
INFO [2017-05-04 17:08:49.48]: ▸ Running script '[CP] Check Pods Manifest.lock'
INFO [2017-05-04 17:08:49.48]: ▸ Running script '[CP] Embed Pods Frameworks'
INFO [2017-05-04 17:08:49.48]: ▸ Running script '[CP] Copy Pods Resources'
INFO [2017-05-04 17:08:55.89]: ▸ All tests
INFO [2017-05-04 17:08:55.89]: ▸ Test Suite ******Tests.xctest started
INFO [2017-05-04 17:08:55.89]: ▸ APIHelperTests
INFO [2017-05-04 17:08:55.90]: ▸ ✓ testDeviceIDShouldNotReturnAnEmptyStringAndMatch (0.011 seconds)
INFO [2017-05-04 17:08:55.90]: ▸ AssessmentDetailViewTests
INFO [2017-05-04 17:08:55.90]: ▸ ✓ testExample (0.002 seconds)
INFO [2017-05-04 17:08:56.17]: ▸ ◷ testPerformanceExample measured (0.000 seconds)
INFO [2017-05-04 17:08:56.17]: ▸ ✓ testPerformanceExample (0.269 seconds)
INFO [2017-05-04 17:08:56.17]: ▸ AssessmentTests
INFO [2017-05-04 17:08:56.17]: ▸ ✓ testExample (0.004 seconds)
INFO [2017-05-04 17:08:56.44]: ▸ ◷ testPerformanceExample measured (0.000 seconds)
INFO [2017-05-04 17:08:56.44]: ▸ ✓ testPerformanceExample (0.257 seconds)
INFO [2017-05-04 17:08:56.44]: ▸ ✓ testRetreivingAssessments (0.005 seconds)
INFO [2017-05-04 17:08:56.44]: ▸ Factuur_VerwerkingTests
INFO [2017-05-04 17:08:56.44]: ▸ ✓ testExample (0.002 seconds)
INFO [2017-05-04 17:08:56.70]: ▸ ◷ testPerformanceExample measured (0.000 seconds)
INFO [2017-05-04 17:08:56.70]: ▸ ✓ testPerformanceExample (0.254 seconds)
INFO [2017-05-04 17:08:56.70]: ▸ OnboardingTests
INFO [2017-05-04 17:08:56.70]: ▸ ✓ testExample (0.002 seconds)
INFO [2017-05-04 17:08:56.96]: ▸ ◷ testPerformanceExample measured (0.000 seconds)
INFO [2017-05-04 17:08:56.96]: ▸ ✓ testPerformanceExample (0.254 seconds)
INFO [2017-05-04 17:08:56.96]: ▸ 	 Executed 10 tests, with 0 failures (0 unexpected) in 1.060 (1.073) seconds
INFO [2017-05-04 17:08:56.96]: ▸
INFO [2017-05-04 17:09:03.06]: ▸ All tests
INFO [2017-05-04 17:09:03.06]: ▸ Test Suite ******UITests.xctest started
INFO [2017-05-04 17:09:03.06]: ▸ 	 Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.000) seconds
INFO [2017-05-04 17:09:03.06]: ▸
INFO [2017-05-04 17:09:06.23]: ▸ Test Succeeded
+--------------------+----+
|      Test Results       |
+--------------------+----+
| Number of tests    | 10 |
| Number of failures | 0  |
+--------------------+----+

INFO [2017-05-04 17:09:07.44]: Successfully generated report at '/Users/******/xcode/******/fastlane/test_output/report.html'
INFO [2017-05-04 17:09:08.27]: Successfully generated report at '/Users/******/xcode/******/fastlane/test_output/report.junit'
INFO [2017-05-04 17:09:08.61]: Successfully generated documentation at path '/Users/******/xcode/******/fastlane/README.md'

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | Verifying required fastlane version | 0           |
| 2    | default_platform                    | 0           |
| 3    | scan                                | 34          |
+------+-------------------------------------+-------------+

INFO [2017-05-04 17:09:08.62]: fastlane.tools finished successfully 🎉

✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.2

Ruby
2.0.0

Bundler?
false

Git
git version 2.11.0 (Apple Git-81)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.12.2 (16C67)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib

OpenSSL Version
OpenSSL 0.9.8zc 19 Mar 2015

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

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

Xcode Version
8.3.2

System Locale

Variable
Value

LANG
nl_NL.UTF-8
✅

LC_ALL

LANGUAGE

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

default_platform :ios

platform :ios do

#  before_all do
#    ENV["FASTLANE_XCODE_LIST_TIMEOUT"] = "120"
#    sh "./launch-ios-simulator.sh 'iPhone SE'"
#  end

  lane :preproduction do
    itc(scheme: "Preproduction")
  end

  #
  # Learn more here: https://github.com/fastlane/setups/blob/master/samples-ios/distribute-beta-build.md 🚀
  #
  lane :intern do |values|
    # Fabric generated this lane for deployment to Crashlytics Beta
    # set 'export_method' to 'ad-hoc' if your Crashlytics Beta distribution uses ad-hoc provisioning
    gym(scheme: 'Intern', export_method: 'development')

    emails = values[:test_email] ? values[:test_email]<EMAIL_ADDRESS># You can list more emails here
    groups = values[:test_email] ? nil : nil # You can define groups on the web and reference them here

    crashlytics(api_token: 'ba59a67ae7484542b056269f41f408d4e1b518a8',
             build_secret: '15916db6f6f846fe24611570122f071879f4cdedf057b5c0056597a3438490c0',
                   emails: emails,
                   groups: groups,
                    notes: 'Distributed with fastlane', # Check out the changelog_from_git_commits action
            notifications: true) # Should this distribution notify your testers via email?

    # for all available options run `fastlane action crashlytics`

    # You can notify your team in chat that a beta build has been uploaded
    # slack(
    #   slack_url: "https://hooks.slack.com/services/YOUR/TEAM/INFO"
    #   channel: "beta-releases",
    #   message: "Successfully uploaded a beta release - see it at https://fabric.io/_/beta"
    # )
  end

  #
  # Learn more here: https://github.com/fastlane/setups/blob/master/samples-ios/distribute-beta-build.md 🚀
  #
  lane :beta do |values|

   # Before calling match, we make sure all our devices are registered on the Apple Developer Portal
   # register_devices(devices_file: "devices.txt")

    # After registering the new devices, we'll make sure to update the provisioning profile if necessary
    # Note how we make sure to pass "development" to get and use a provisioning profile for Beta/dev distribution
    # match(force_for_new_devices: true, type: "development")

    #scan(
    #  workspace: "******.xcworkspace",
    #  scheme: "Beta",
    #  clean: false
    #)

    # Fabric generated this lane for deployment to Crashlytics Beta
    # set 'export_method' to 'ad-hoc' if your Crashlytics Beta distribution uses ad-hoc provisioning
    gym(scheme: 'Beta', export_method: 'development')

    emails = values[:test_email] ? values[:test_email]<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS># You can list more emails here
    groups = values[:test_email] ? nil : nil # You can define groups on the web and reference them here

    crashlytics(api_token: 'ba59a67ae7484542b056269f41f408d4e1b518a8',
             build_secret: '15916db6f6f846fe24611570122f071879f4cdedf057b5c0056597a3438490c0',
                   emails: emails,
                   groups: groups,
                    notes: changelog_from_git_commits(pretty: '%h %s'),
            notifications: true) # Should this distribution notify your testers via email?

    # for all available options run `fastlane action crashlytics`

    #increment the build number after each beta release
    add_git_tag(
      grouping: "fastlane-builds",
      prefix: "v",
      build_number: get_build_number
    )
    increment_build_number

    notification(subtitle: "Finished Building Beta", message: "Ready to upload...")
    # You can notify your team in chat that a beta build has been uploaded
    # slack(
    #   slack_url: "https://hooks.slack.com/services/YOUR/TEAM/INFO"
    #   channel: "beta-releases",
    #   message: "Successfully uploaded a beta release - see it at https://fabric.io/_/beta"
    # )
  end

  lane :test do |values|
    scan(
     workspace: "******.xcworkspace",
    )

    # You can notify your team in chat that a beta build has been uploaded
    # slack(
    #   slack_url: "https://hooks.slack.com/services/YOUR/TEAM/INFO"
    #   channel: "beta-releases",
    #   message: "Successfully uploaded a beta release - see it at https://fabric.io/_/beta"
    # )
  end

  #--------------------------- App Store -------------------------#

  private_lane :itc do |options|
    scheme = options[:scheme]

    sigh(
      skip_install: true,
      development: false,
    )

    build(
      scheme: scheme,
      signId: ENV['SIGNING_IDENTITY_PROD']
    )

    pilot(
      ipa: "../******.ipa",
      skip_submission: true,
    )

    post_to_slack(scheme: scheme, destination: "TestFlight")

  end
end

`./fastlane/Appfile`
apple_id<EMAIL_ADDRESS>

fastlane gems

Gem
Version
Update-Status

fastlane
2.25.0
💥 Check failed

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
1.5.1

rouge
1.10.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

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.4

excon
0.55.0

faraday
<IP_ADDRESS>

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170223

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

uber
0.0.15

representable
2.3.0

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

hurley
0.2

little-plugger
1.1.4

multi_json
1.12.1

logging
2.2.0

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.9.28

json
1.7.7

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>

i18n
0.7.0

thread_safe
0.3.5

tzinfo
1.2.2

minitest
5.8.2

activesupport
4.2.4

CFPropertyList
2.3.5

claide
1.0.1

nanaimo
0.2.3

xcodeproj
1.4.2

generated on: 2017-05-04

Is your scheme marked as Shared?

Yes, all my schemes are marked as shared. @KrauseFx

gitlab-ci user here 👍  - so you run the gitlab-ci-runner locally? and when gitlab starts the build it hangs?
can you get the captured-output  from the one the CI launches?
i bet on something like "unlock_keychain" missing and gitlab-runner fails to access keychain.

@hjanuschka hi
Yes I run the gitlab-runner locally.
how do I get the captured-output from the CI? I was thinking about something with the keychain involved to this issue but I didn't know how to set this up honestly.

first of all you'd need some secure ENV variables on your gitlab project, under settings->ci/cd...

the following envs work for me:
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_ALL=en_US.UTF-8
MATCH_PASSWORD=password_for_match
FASTLANE_PASSWORD=password_for_itunes
FL_UNLOCK_KEYCHAIN_PASSWORD=password_of_runner_user
FL_UNLOCK_KEYCHAIN_PATH=/Users/ios/Library/Keychains/login.keychain-db

another approach would be to set the envs directly in the runner.
sample config:
concurrent = 1
check_interval = 0

[[runners]]
  name = "hackintosh-ios-builder"
  url = "http://xxx.xxx.at/ci"
  token = "915f4194bffa8476aae3adf85763df"
  environment = ["LANG=en_US.UTF-8", "LANGUAGE=en_US.UTF-8", "LC_ALL=en_US.UTF-8", "MATCH_PASSWORD=match_password", "FASTLANE_PASSWORD=itunes_password", "FL_UNLOCK_KEYCHAIN_PASSWORD=runner_user_password", "FL_UNLOCK_KEYCHAIN_PATH=/Users/ios/Library/Keychains/login.keychain-db" ]
  limit = 1
  executor = "shell"
  [runners.cache]

id recommend the project env var base. if you later on add more runners to your builder-farm, you don't have to modify each config.
if everything is setup - make sure you call unlock_keychain - right before anything that involves signing. 👍

to retrieve the captured-output, you'd need to add the parameter --capture_output  inside .gitlab-ci.yml under the right stage on the fastlane command, if you could share the current file, i could show you where.


Recursive removal of folder works but throws error

Mountpoint for Amazon S3 version
mount-s3 1.13.0
AWS Region
us-east-1
Describe the running environment
EC2 instance running Ubuntu 22.04
Mountpoint started with service that sets the needed AWS credentials to the S3 bucket
Mountpoint options
mount-s3 --force-path-style --allow-delete --allow-overwrite --incremental-upload --allow-other --prefix=<prefix_path> <bucketname> <local_mountpoint>

What happened?
Running a recursive removal on a directory works, but also throws an error "Cannot remove <DIR>: No such file or directory where <DIR> is the path specified for removal:
ex: rm -R /This_is/My_path
output: cannot remove My_path: No such file or directory.
Relevant log output
No response

Hi, thanks for sharing this.
Most likely, this is expected behaviour, as Mountpoint removes implicit directories (for more context, see SEMANTICS.MD): Once the last file in the directory is deleted (i.e. if a directory blue is visible because of keys that are mapped to files blue/a.txt and blue/b.txt, the directory will cease to exist once the two objects are deleted from S3 or the two files are removed).
Thus, when rm tries to delete the directory, it will already be considered to not exist by Mountpoint, as all files in the directory will have been deleted before.
There already is an issue about changing this behaviour and we are considering revisiting our current semantics decision, but we don't have anything concrete to share on that yet.
As a workaround, at least in my testing, the issue didn't occur when i used rm -Rf DIR on the directory, alternatively, only removing the files in the directory, i.e. using  something along the lines of find DIR -type f -delete should also work without throwing an error.
Please let us know, if that doesn't work in your use-case.


Formatting println!() is inconsistent.

Before:
println!("{} coverted to Fahrenheit is: {}", value, value * 9 / 5 + 32);

println!("{} coverted to Celcius is: {}", value, value - 32 * 5 / 9);

After :
println!(
     "{} coverted to Fahrenheit is: {}",
     value,
     value * 9 / 5 + 32
 );

println!("{} coverted to Celcius is: {}", value, value - 32 * 5 / 9);

This is an expected behavior: function and macro calls are split into multiple lines when the arguments have more characters than the threshold (which is set to 60 by default).


docs: update readme

updated .env.example filename typo
updated valid method name for setting protocol fee: setProtocolFee -> setFee

Can you sign your commit please? The PR looks alright, but it can't be merged without signed commits.

Can you sign your commit please? The PR looks alright, but it can't be merged without signed commits.

sure


Scrobbles Spotify ads

When listening to Spotify free version in a web browser with this Chrome extension enabled, the ads that come up in Spotify get picked up and scrobbled as though they were songs. Now my Last.fm page has things like "greatest hits ever - Listen now",  "Gordon's - Enter Now", and "ASICS - Learn More" showing as my most frequently played tracks.
Environment:
Last.fm Scrobbler 1.67.1
Chrome 56.0.2924.87 (64-bit)
CentOS Linux release 7.3.1611 (Core)

Tried to catch ads while listening to music on Spotify yesterday, had no luck (adblock is disabled, though). I use free version too. Is there a way to get ads?

Sure, here's how it happens in my experience:

Go to http://open.spotify.com (with Adbock disabled/paused)
Start listening to a playlist, for example Discover Weekly
After about 15-30 minutes of music the first ad will play.
Looking at my Last.fm history, it looks like the ads play about once every 10 songs or so, although I think they get more frequent the longer you have listened to Spotify continuously.

Fixed.


[Enhancement] Security enhancement when powertoys runs in Administrator Mode

Environment
Windows build number: 10.0.18363.836
PowerToys version: 0.18.0
PowerToy module for which you are reporting the bug (if applicable): Powertoys Run

Steps to reproduce

Set powertoys to run in administrator mode
Wake Powertoys run up
type powershell , then press enter

Expected behavior
Run powershell as normal user
Actual behavior
Run powershell as administrator and UAC elevated
Other Details
I know the process context will be inherited from parent process.
So I think you either you need to tell user about this behaviour might lead in some unwanted security issue, or just do some switch to normal user context before run child process via powertoys run when powertoys runs in administrator mode.
Another reasonable solution is remove "run as administrator" icon in powertoys run when powertoys itself runs in administrator mode, use this ui change to tell user about this behaviour.

tracking this in #3215.  We agree that launcher shouldn't be under admin.


Handle errors in bin_prot serialisation functions

We should audit our uses of bin_prot, identifying where they may throw errors and handling them properly, otherwise issues like #6623, #6514, etc. will keep cropping up. This also has impact for RPC calls which all use bin_prot, and where our behaviour around ill-formed messages is not ideal.
IMO we would be best writing a small wrapper library and ppx that returns an Or_error.t for serialisation, so that we are explicit in acknowledging and handling these errors.
/cc @psteckler

From a Discord conversation:
the goal is to generate two interfaces: 1) Binable.S except that bin_read_t returns Or_error.t, and 2) Binable.S with t := Or_error.t

Fork at: https://github.com/o1-labs/ppx_bin_prot

For types referencing types that use bin_io, perhaps this annotation: [@bin_io_mk_safe]


Show loading icon / indicator on first load

Show a loading indicator after the startup, till the defis are loaded (takes something about 10s)

added loading text and icon on first load of defis

added loading text and icon on first load of defis


Pdf generation was too slow.

Steps to reproduce
Tell us about your environment:

Puppeteer version:   "puppeteer": "^1.11.0",
Platform / OS version: windows 10  or docker (latest version) (tried in both)
URLs (if applicable):
Node.js version: 10.15

What steps will reproduce the problem?
I am genrating PDF by giving some html content. when i start my  service for first time it takes 14 seconds to generate pdf. then next time onwords it takes 8 seconds. it was very slow. is there any solution to boost up the pdf genartion process .
Please include code that reproduces the issue.
const browser = await puppeteer.launch({ args: ['--no-sandbox', '--disable-setuid-sandbox'] });
const page = await browser.newPage();
await page.setContent(getReactHtml(req), { waitUntil: 'networkidle0' });
await page.emulateMedia('screen');
const data = await page.pdf({
  format: 'Letter',
 printBackground: true
});
browser.close();
return data;

What is the expected result?
i want pdf to be generated with 3 to 4 seconds. it takes so much time
What happens instead?
it taking too much time to generate the pdf

I try this:
const page2 = await browser.newPage();       page2.setContent(

Document

Simple Test

);       logger.info("Rendering pdf2 ..");       data = await page2.pdf(opts.pdf);       logger.info("Rendering pdf2 done");
Output:
2019-07-20T02:08:34.187Z - info: [render-core.js] Rendering pdf2 ..
2019-07-20T02:08:41.608Z - info: [render-core.js] Rendering pdf2 done
Rendering pdf takes 7 sec!!

I try this:
const page2 = await browser.newPage();
page2.setContent(                <meta charset="UTF-8" />         <meta name="viewport" content="width=device-width, initial-scale=1.0" />         <meta http-equiv="X-UA-Compatible" content="ie=edge" />         <title>Document</title>
Simple Test
            );
logger.info("Rendering pdf2 ..");
data = await page2.pdf(opts.pdf);
logger.info("Rendering pdf2 done");
Output:
2019-07-20T02:08:34.187Z - info: [render-core.js] Rendering pdf2 ..
2019-07-20T02:08:41.608Z - info: [render-core.js] Rendering pdf2 done
Rendering pdf takes 7 sec!!

I can confirm that executing the page.pdf() takes up to 7 Seconds.

The content i set is pure HTML and is about 15 Pages.

I do more test, chrome 77 take 7 sec, but chrome 76 less than 1 sec!!!

Do you mean chromium? Mine is at 3.5.2

Do you mean chromium? Mine is at 3.5.2

used chrome by "executablePath" param

Has this problem been resolved? I am still facing problem with slow pdf generation

What CPU are you using? We moved to a new server and generating a large PDF (20 Pages) is like 250 to 500ms only.
I also refactored my code like the following; adding an timeout of 1 second for finishing rendering of FA-Icons. Of course the whole progress then takes like 1250 to 1500ms.
const fs = require('fs')
const path_to_node = __dirname;
const puppeteer = require('puppeteer');

let html_filename = process.argv[2];
let css_filename = process.argv[3];
let filepath_with_name = process.argv[4];

async function timeout(ms) {
    return new Promise(resolve => setTimeout(resolve, ms));
}

(async () => {

    const browser = await puppeteer.launch()
    const page = await browser.newPage()

    const html = fs.readFileSync(path_to_node + "/temp/" + html_filename, 'utf8')
    const css = fs.readFileSync(path_to_node + "/temp/" + css_filename, 'utf8')

    await page.setContent(html)
    await page.addStyleTag({ path: path_to_node + "/css/style.css" })
    await page.addStyleTag({ content: css })
    await page.addScriptTag({ path: path_to_node + "/js/all.min.js" })

    //Wait for Font-Awesome Icon rendering
    await timeout(1000)
    await page.pdf({
        path: filepath_with_name,
        format: 'A4',
        landscape: true,
        printBackground: true
    })

    await browser.close()
})()

Probably you can give it a try on another / faster machine?

@louis123562  thank you for your answer. For 20 pages it works really smooth. I need to generate a pdf report with 2000 pages.

mmh... you should have a good machine for that too, because the rendering is done by CPU only. I guess enough RAM is needed as well.
Did you try to generate in parts, like 100 pages per PDF and combine thos after it with FPDI maybe?

pageRanges did not resolve the problem. Looks like generating pdf with 500+ pages with pageRanges ('1-4') and with default config take the same amount of time.
I am not able to split html before rendering, because my data is dynamic with a lot of entries of data, so I am not able to predict where is the page break

1-2-3 commented that using Chrome 76 he went from 7 seconds to 1 second in the response.
I tested that locally and it didn't dramatically speed up the call to page.pdf()  (html of about 1 MB generating 58 pages in my case).
It went from 7.5 secs to 6.5 - 7 secs. Not the 1-second delay promised.
Here's how I tested it:

I looked up which version of puppeteer had an equivalent Chromium version.
I got the equivalent versioning from the page of the related package chrome-aws-lambda
I installed  puppeteer 1.17.0 which downloaded Chromium 76.0.3803.0 (r662092).

@louis123562 thank you for your answer. For 20 pages it works really smooth. I need to generate a pdf report with 2000 pages.

@milczarekIT you got any alternate solution, i also facing the same issue, need to generate 2000 pdf pages from html, but taking more time using puppeteer

Actually wkhtmltopdf is faster than puppeteer on converting HTML to PDF. I need to create 1000 labels in one single PDF file, wkhtmltopdf took about 7 seconds, while puppeteer took 30 seconds.


Fix backward compatiblity of comments

The old workflows do not have comments. The code has to take care of the undefined comments correctly.

Tested fix locally, LGTM.
Test process:

Manually changing one entry in workflow table by removing all comment-related text in content column.
Example: {"operators":[],"operatorPositions":{},"links":[],"groups":[],"breakpoints":{},"commentBoxes":[{"commentBoxID":"commentBox-728dc569-9a34-40de-8e60-c721fad3ccb9","comments":[],"commentBoxPosition":{"x":506,"y":92}}]} -> {"operators":[],"operatorPositions":{},"links":[],"groups":[],"breakpoints":{}}
Opening the specific workflow in Texera, workflow loaded successfully without rendering error.
Modified workflow by adding a commentBox with some comments, content column in database successfully updated to include comment-related information.


Support filters

[ ] implement Filter, FilterKeyword, FilterResult, FilterStatus entities: https://docs.joinmastodon.org/entities/Filter/
[ ] add filtered field to Status entity to close #16
[ ] implement API methods documented here: https://docs.joinmastodon.org/methods/filters/

I'd like to work on this next, because I can use it in my own app. According to the API documentation, there are v1 API methods that have been deprecated for Mastodon 4.0.0, and v2 methods that have been added with Mastodon 4.0.0.
Our goal is to support Mastodon's last two major releases, but doing it in this case would mean implementing a lot of stuff that is already deprecated and probably would not be used anywhere (do active instances running Mastodon 3.x.x even still exist?). I think it would be sensible to just implement v2 methods here.
@andregasser what do you think?

I am totally happy if we have a working implementation for 4.x. If there are any requests for making it work for 3.x, we can pick up the discussion again. 😀

Having started work on this, I'm sure that I can get some of the methods implemented within the next few days. However, there are some weird choices in the API that I'd rather discuss first - for example, updating a filter includes having key/value pairs where the key is a mix of (new) keywords and ID values for (existing) keywords, while the value is a mix of booleans, keywords and "destroy" flags.
I'll see what part of this is straightforward and what isn't. :)


Consider making "skip git" the default in v2

(I've been meaning to raise this to discuss for a few months and we're getting closer to v2 so I'm making a public issue to force my own hand 😄)
Currently when I run the scanner without any config it will include scanning the commit if it sees its in a git repository which generally it always will be for me as everything I do that involves code and dependencies uses git for source control, however most of the time these git repositories will not be public because they're proprietary applications meaning there will never a result of scanning the commit and arguably that's a bit of private data being sent to the API (which unlike e.g. the dependency tree, will never give a positive result).
My understanding is that generally there are two main criteria for git scanning to be useful:

the codebase is public (meaning its commits can be indexed, and whatnot)
the codebase is using a very "commit driven" language like C++ (i.e. while possible for other ecosystems to have commits related to vulnerabilities, it's far more likely in just about every ecosystem that version numbers/semver will be being used instead)

Given the number of ecosystems the scanner supports and frankly just how much better/easier non-git based vuln info is to handle right now, I strongly suspect more than half of the uses of the scanner are in a context where at least one of those conditions are not true meaning this current default is not useful for most people and arguably a little negative (though I admit it's not a huge privacy concern).
Personally I'd prefer if this was opt-in (i.e. --check-git or --include-git), though maybe there's another way to try make this more automatic - for example, maybe it would make sense for the scanner to fallback to checking git if it doesn't find any other lockfiles, or to make this managed through a config property so codebases could opt-in (i.e. open source repos could create an osv-scanner.toml with a marker effective telling the scanner "hey this is a public repo so feel free to be more 'aggressive' in what you check")

Discussed offline and agreed that we should make it disabled by default

This generally makes sense to me that we shouldn't need to scan the git hash of projects generally. However, we do want C/C++ scanning to work out of the box for third party / open source dependencies.
Should we look at still accounting for git repos if they live inside one of these directories by default?
https://github.com/google/osv-scanner/blob/3702c3bbdf0dac9d9c50c4ffa0560f82a0365365/pkg/osvscanner/osvscanner.go#L85

~@oliverchang it looks like we're already doing that - if I'm understanding the code right, vendor scanning is about finding git commit shas, and is currently in no way tied to the --skip-git flag~ ok no it looks like the current logic is to look for C/C++ files and determine a hash, so we'd want to extend that logic to also check if there's an initialized .git directory and if so include the sha.
On an aside, that list includes vendor which is a common directory used by bundler/rails, which was another thing I was going to look into after learning about it the other day (as i.e right now on our Rails apps the scanner keeps finding those as an empty directory and then complaining that there's nothing in them), but overall I think it's a lot fair for the scanner to be automatically looking into a directory with that name looking for .git directory

Agree with not enabling scan the base git repository by default, though I think scanning submodules git hashes, and hashes under vendored lib names is still valuable to enable by default?


Warn when non-OnPush is used inside of an OnPush

Internal users:

Embedding a ChangeDetectionStrategy.Default component inside of a ChangeDetectionStrategy.OnPush component leads to strange, and often undesired behavior. It might be nice to have this be a warning or an error at compile time.

Even if we kept this just at a warning, it might be pretty annoying to see over and over during builds.
It might be worth it though? @nshahan @TedSander

Is it ever possible that this is a pattern that you want and it works the way you would expect?

I mean, I'm sure folks do it, but I'm not sure on purpose.

I'd be in favor of a compiler warning. Seems like teams are just waiting
for a bug without it. My only hesitation would be if it came up with
directives or other situations where there was no possible fix.
On Fri, Aug 17, 2018, 4:50 PM Matan Lurey<EMAIL_ADDRESS>wrote:

I mean, I'm sure folks do it, but I'm not sure on purpose.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/angular/issues/504#issuecomment-413984624,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFYd3K2QLIuDDGeJJ7fGD4kDyaaQ-gBmks5uRyyCgaJpZM4OTIki
.

We could ignore the warning for directives, or make it a finer (not show on builds) log message.


Add spacing in lscp math definition

Added spaces in LSCP notebook problem formulation for readability.

@erinrolson Congrats on your first successful PR!! 🎉 🎉


@1.15.0 -<EMAIL_ADDRESS>

close #339

Coverage: 99.244%. Remained the same when pulling 0e8f68face8bb268b5fbc465838f61e54e524fd6 on rc-1.15.0 into 6c3b1656335daec03fdca44b9ed5526016fe0944 on master.


GraphQL needed when following the new Learn setup

I'm happy to update this but I'm not exactly sure how. This chapter talks about initialize the database, but if we're using GraphQL this doesn't make sense because the page renders

https://github.com/serverless-stack/sst/blob/master/www/docs/learn/initialize-the-database.md

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


YOLOV7 Pre-trained Weights

Are the YOLOV7 pre-trained weights available in the dropbox files, trained on just the 4 main classes ("Vehicle", "VulnerableVehicle", "Pedestrian", "Animal")? If so is it advised to then break these down into the subclasses listed in the anno/object.py by adding more classes to the existing pytorch model?

Hi,
The pretrained weights that are available on Dropbox were trained only with the super-classes shown in the paper (i.e., Vehicle", "VulnerableVehicle", "Pedestrian"). We have not yet defined any official benchmark (and therefore not the final classes to be used) for the dataset. This will be done in the future.
You are very welcome to train and publish the weights for a more granular class taxonomy.


error in vs code with importing this package

idk why i have this error, but i can't fix this, pls help

i can fix this only with creating this file


molpro_variables.ipynb corrupt xml output on Windows

https://github.com/molpro/pymolpro/blob/master/docs/source/examples/molpro_variables.ipynb generates
XMLSyntaxError: Char 0x0 out of allowed range, line 16, column 46

line 16 is:
    <irreducibleRepresentation index="1" id="...." cartesian=""/>

This bit of the xml is no longer generated in the release version of Molpro, and therefore there's nothing to fix.


Find/Replace panel deserves a button in Status bar?

Currently, the Status bar displays five buttons: "Locate", "Search", "Terminal", "Build", "App Output". Clicking any of these buttons opens a corresponding panel at the bottom of the window, replacing any previously open panel.
The Find/Replace panel, accessible via the keyboard shortcut Ctrl+F, also occupies this bottom space. Unlike the other five panels, the button to open Find/Replace panel is not visible on the Status bar.
Given this, it might be more intuitive to add a sixth button to the Status bar to directly open the Find/Replace panel with a mouse click?

This is intentional since the Find/Replace functionality is part of the document view, Find/Replace needs a document view open and focused, and Find/Replace is not something that is available globally (you can use the editor without a document opened). Also I think this is so basic that virtually no-one will look up for a button for "Find".


destra network

No description provided.

Hello, do you have any issue related to Polkadot or its extension?


Fix antctl e2e controller-mode empty tests

Currently when running antctl e2e tests for controller mode+coverage not enabled, the command arguments are empty.
So commands are not tested as expected. This PR fixes the issue. (Mainly line 200)

/test-all


Questions about CSEA

Hi,
I have managed to run the CSEA method, but I have several questions. I hope you have time to answer.

Can the "latent" data matrix in VISION be Principal Component Analysis (PCA) embeddings? If I have multiple replicates, is data integration recommended to remove batch effects, and should the PCA embeddings be batch-corrected?
In "Datasets.ipynb" notebook, are the count matrices that are provided as input raw counts, i.e. unnormalized?
What do these signatures mean: "ID_EXP_DOWN", "Patho-manual_DOWN". By the way, I find it quite strange that the signature names somehow change during the analysis. At some point "DOWN" is shortened as "DN", even though I am using the allsigs.txt signature file and not doing any changes to the names myself.
In "CSEA_All.ipynb" notebook, I manage to obtain significantly enriched signatures, such as

Pvalue	corrected Pvalue	Pvalue control	Pvalue control corrected	ES_max	leading edge
IL23+TGFB+IL6 vs TGFB+IL6 (Th17)	0	0	0	0	0.012492751	799
and when I visualize the signature using the "CSEA_TFH.ipynb" notebook, it looks like this:

However, when I calculate the p-value in the same notebook using the command np.mean(np.asarray([np.max(x) for x in control2[1:]]) > np.max(ES)), for some reason it is 1.
When I visualize the results on the latent_u embeddings (UMAP, batch-corrected), I don't see any difference between my two groups.

For comparison, this is the enrichment plot for "Th2", which is not supposed to be enriched based on the results. It looks very different compared to the first example.

这是来自QQ邮箱的假期自动回复邮件。你好，我最近正在休假中，无法亲自回复你的邮件。我将在假期结束后，尽快给你回复。

Please refer to Vision documentation for detailed instructions, but yes PCA embedding is what Vision uses by default. PCA does not perform batch correction though, and batch correction is recommended. https://yoseflab.github.io/VISION/articles/VISION-vignette.html

Yes they are raw counts.

A lot of these genesets were manually generated, and the names might have changed for ease of reading at some point.

The difference between "CSEA_All.ipynb" and "CSEA_TFH.ipynb" is that they use a different control set. CSEA_ALL uses random genesets as control to save computational time, while CSEA_TFH uses genesets that are matched in mean to the TFH geneset. I believe that if you'd like to test a new signature with more confidence, you would need to generate your own matched random set.  Also since CSEA is a directional test, I would take the significant result from both CSEA_X.ipynb and CSEA_X-Inverse.ipynb notebook


Remove reference to external libraries, fonts and code

I expect

the app does not rely on external fonts and code
style is aligned with design kit cc: @Clou-dia

Instead

it loads fonts and js from CDNs

Notes

can this be configured in some way?

@ioggstream regarding external fonts loading, this is something internal in jquery library, so it's hard to fix

@Clou-dia how did we fix this issue in other projects?

@gnespolino pls always cc: @mfortini
for design/accessibility stuff, cc: @Clou-dia too
thx++ :)

We load them locally, not via Google. See Bootstrap Italia docs , here the folder.


Chats Do Not Populate on Other Devices

Describe the bug
I created two chats using bolt.new on my PC. When I logged in with my laptop however, I noticed that my chats were not available, and I was unable to continue work.

Link to the Bolt URL that caused the error
https://bolt.new
Steps to reproduce

Used Chrome and Safari private browsing to log into Bolt.new
Checked chat history on both browsers
Ensured was using correct account on both instances

Expected behavior
I was expected my chat history to appear as I have seen on other tools of similar nature.
Screen Recording / Screenshot
No response
Platform

OS: [MacOS]
Browser: [e.g. Chrome, Safari]

Additional context
No response

Hi @Mhinolv,
Appreciate the feedback. We are aware of this issue and are tracking current workarounds plus ongoing developments here: #39


sendHandshake on android may have a bad request

Android platform
current master branch
WebSocketClient.java
private void sendHandshake() throws InvalidHandshakeException {
		String path;
		String part1 = uri.getRawPath();
		String part2 = uri.getRawQuery();
		if( part1 == null || part1.length() == 0 )
			path = "/";
		else
			path = part1;
		if( part2 != null )
			path += '?' + part2;

in which String part2 = uri.getRawQuery(), which returns url decoded string in android
    public String getQuery() {
        if ((decodedQuery == null) && (query != null))
            decodedQuery = decode(query);
        return decodedQuery;
    }

it's may cause a bad request.

And I just check URI.java in java 1.8
    public String getQuery() {
        if ((decodedQuery == null) && (query != null))
            decodedQuery = decode(query);
        return decodedQuery;
    }

Hello @oscarthecat,
I will not change this without any known issue.
Why should this cause a bad request?
What is a bad request for you?
This code was changed due to this report here #247
Greetings
marci4

Any update?


Other Aosp apps?

Great clock app been looking for stock Aosp apps that work on all devices, will you be making any other Aosp apps in the future?
(I really am just look for a good Aosp calculator & calendar)

I don't know if i will bring other aosp apps, however as good calculators i can recommend these:
https://github.com/Javinator9889/calculator
https://github.com/SimpleMobileTools/Simple-Calculator
https://github.com/tranleduy2000/ncalc
for the calendar I can recommend you etar (which is based on the aosp calendar)
https://github.com/Etar-Group/Etar-Calendar
Or
https://github.com/SimpleMobileTools/Simple-Calendar

if you want you can try the calculator https://github.com/qw123wh/Aosp-Calulator/tree/0.1

@qw123wh
Sorry to bother you, but I wanted to also share my opinion. I think you should really consider doing this with other stock AOSP apps if you have the time to do so because while there are many third-party options available, most of them lack functionality or stability when compared to their Google-made counterparts. This would be really cool, and I'd happily make a small donation (and I'm sure others would as well) as an incentive to having you do this.
Having these apps compiled with their proprietary blobs removed and published on F-Droid would be a game-changer for me personally. I don't know much about Android development, though, so if you think this is unrealistic, I completely understand. This is coming purely from a user's perspective.
Let me know your thoughts, and thanks in advance for your consideration!


Title: Issue Regarding the Implementation of ResidualFSQ

Dear Maintainers,
I hope this message finds you well. I'm currently working with the ResidualFSQ module and I have encountered a potential inconsistency that I'd like to discuss.
In the ResidualFSQ implementation, the residual is computed as follows:
residual = first(self.layers).bound(x)

However, in the FSQ implementation, the bound function and the subsequent quantize function are defined as:
def bound(self, z, eps: float = 1e-3):
    """Bound `z`, an array of shape (..., d)."""
    half_l = (self._levels - 1) * (1 + eps) / 2
    offset = torch.where(self._levels % 2 == 0, 0.5, 0.0)
    shift = (offset / half_l).atanh()
    return (z + shift).tanh() * half_l - offset

def quantize(self, z):
    """Quantizes z, returns quantized zhat, same shape as z."""
    quantized = round_ste(self.bound(z))
    half_width = self._levels // 2  # Renormalize to [-1, 1].
    return quantized / half_width

Comparing these two segments, I noticed that in the quantize function, the variable quantized is normalized by half_width, which is not considered in the bound function used in ResidualFSQ. Could this difference potentially lead to a mismatch or an unintended behavior in the module's functionality?
Could you please clarify whether this discrepancy is intentional and if it might affect the computation outcomes? Any insights or further explanations would be greatly appreciated.
Thank you for your time and assistance.
Best regards,

@qinxiangyujiayou hello! thanks for testing out this experimental work. very curious if you find the residual formulation useful at all
you are correct, but i removed it altogether because another repo is using residual lfq successfully without any initial bounding
i tested out the residual fsq just now on the autoencoder in the example and it converges just fine.

@qinxiangyujiayou what are you training this on? image generation?


fix bug

closes #42
Bug fix is implemented as described at https://github.com/vercel/next.js/issues/45595

Hi, this fixes the problem, but then SSG doesn't seem to work anymore. Is there any other solution?

I don't use SSG for Typebout right now, so I don't have this problem. The downloading file bug is part of the unstable version of Next js 13. I think the easiest solution is to just migrate to 13.4 which is stable. I'm in the process of doing it right now.


HTTP response status 204 (No Content) includes superfluous Content-Type header

When returning HTTP code 204 Flask will include a Content-Type header which is superfluous as there is no content.
Environment:

Python version: 3.9
Flask version: 3.0.2

This is because Response has a default content type, and it's not worth inspecting the status and body on each response just in case its 204 with no body to remove the header. You can call del response.headers["content-type"] if you know you need to remove it.


Test check quota cache hit

Fixes #1181

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: linsun
Assign the PR to them by writing /assign @linsun in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Please take a look. Thanks.

@JimmyCYJ: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-v1alpha3.sh
5e66847e0a2ae813ec6a2058e050ee29052fb340
link
/test istio-pilot-e2e-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-v1alpha3.sh
5e66847e0a2ae813ec6a2058e050ee29052fb340
link
/test istio-pilot-e2e-v1alpha3

prow/istio-pilot-e2e.sh
5e66847e0a2ae813ec6a2058e050ee29052fb340
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
5e66847e0a2ae813ec6a2058e050ee29052fb340
link
/test istio-pilot-e2e

prow/istio-pilot-e2e-v1alpha3.sh
92d9ec148df536bce033bedfd82ee0c99ed6b970
link
/test istio-pilot-e2e-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-v1alpha3.sh
92d9ec148df536bce033bedfd82ee0c99ed6b970
link
/test istio-pilot-e2e-v1alpha3

prow/istio-pilot-e2e.sh
92d9ec148df536bce033bedfd82ee0c99ed6b970
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm
/approve

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: qiwzhang
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: linsun
Assign the PR to them by writing /assign @linsun in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: geeknoid, qiwzhang
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [geeknoid]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-v1alpha3.sh
92d9ec148df536bce033bedfd82ee0c99ed6b970
link
/test istio-pilot-e2e-v1alpha3

prow/istio-pilot-e2e.sh
92d9ec148df536bce033bedfd82ee0c99ed6b970
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test e2e-bookInfo

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
92d9ec148df536bce033bedfd82ee0c99ed6b970
link
/test istio-pilot-e2e

prow/istio-pilot-e2e-v1alpha3.sh
92d9ec148df536bce033bedfd82ee0c99ed6b970
link
/test istio-pilot-e2e-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-v1alpha3.sh
92d9ec148df536bce033bedfd82ee0c99ed6b970
link
/test istio-pilot-e2e-v1alpha3

prow/istio-pilot-e2e.sh
92d9ec148df536bce033bedfd82ee0c99ed6b970
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


The project settings are adapted for the libuv project.

Closing this as a squashed version of this PR was committed in 464eedeacd8096a1bef0d57a77e0a1568f10c8e7 and the issues raised in the above review were performed in 57cf109b919159a0c3892820c33b7e43c8e1fea8.


Create Snakemake report

Describe the solution you'd like
Implement in run/snakemake.py
Additional context
Snakemake API: https://snakemake.readthedocs.io/en/stable/api_reference/snakemake.html

https://git.scicore.unibas.ch/zavolan_group/pipelines/zarp/-/issues/130

https://git.scicore.unibas.ch/zavolan_group/pipelines/zarp/-/issues/118

Given that we do not call the API I don't think this issue is valid anymore, right @dominikburri?

My bad - it is valid, just that the call is not through an API but a sub-shell command, I think,


Standardized Readme.md

I have updated the size of text as per the suggestion , Still if there is something missing please acknowledge me with that

Hey @ChakshuGautam  please review the PR

Hey @The-Shivam-garg  can you attach a screenshot of the same?

Hey @The-Shivam-garg can you attach a screenshot of the same?

you can check the outlook for the same at the Fork Repository : https://github.com/The-Shivam-garg/C4GT/tree/32f97a2067d76ef1bb8c5648b359d205a90ad6a2
OR


View ending in "WHERE  IN (, );" not parsed correctly by snowddl-convert

Describe the bug
We have a view whose definition ends as in the title. It appears that the yaml generated by snowddl-convert has the trailing ")" stripped off. Looks like a recent addition of .rstrip(";") in the following line removes the trailing ";" that was previously protecting us from this.
https://github.com/littleK0i/SnowDDL/blame/c7ca3c48a533340bc88ac690b6664840005093ec/snowddl/converter/view.py#L86C9-L86C85
Expected behavior
Expected the output of snowddl-convert (in the "text" field of the view yaml) to have the full text of the view without truncations.
Attach log
No log (for now), but: Snowflake version = 8.43.0 (BUSINESS_CRITICAL), SnowDDL version = 0.35.1
Attach YAML config (if applicable)
Not applicable, I think.

Ok, that last step did eliminate this issue for us. (Removing the .rstrip(";").)

If you have time, you may try to adapt pyparsing module insted of using raw regexp:
https://pypi.org/project/pyparsing/
Here is the example:
https://github.com/pyparsing/pyparsing/blob/master/examples/simpleSQL.py
It should be something like:

Starts with CREATE
Followed by optional keywords
Followed by VIEW
Followed by anything inside parenthesis (column names with comments, not important)
Followed by anything
Followed by AS outside of single quotes and parenthesis
Followed by everything else

Capture the final part. It should be raw VIEW SQL. At least until Snowflake changes something in future.
I'll do it myself as well, but a little bit later. Including pyparsing in dependencies would bump minimum Python version to 3.9.

Interesting, thanks. Like you, I have some higher priorities, but I'll bear this in mind.

Upd in 0.36.0: converter no longer strips parenthesis from view SQL.
No luck with Snowflake metadata, I could not find a good source of pure view SQL.
I'll experiment with pyparsing soon and see if more we can introduce more permanent solution.

Many thanks for these fixes. I have now successfully deployed our git repo back to our dev server for the first time (it had been maintained "in parallel" with git -- you can guess how that went :) ), so this and #147 can be closed, unless you're keeping them open as a reminder to try pyparsing.
I have another horrendous internal utility written in PowerShell with regexps to pre-process our SQL and if I use pyparsing, I'll start there.


Revert mis-merged reverts of vendor.conf

PR #440 reverted the vendor.conf edits of #426.  This passed CI because the corresponding vendor/* subpackages were not modified.
Restore the vendor.conf changes, and re-run full (vndr) to ensure the two are consistent again.

Thanks a ton Miloslav

LGTM
and happy green lights, looks like this can be merged.

@runcom PTAL


Custom scan paths for executables for program plugin

📝 Provide a description of the new feature
It would be very nice if there is a way to provide custom path for indexing the executable files (like .bat, .exe etc)
This can be very useful for those of us who do not use Windows indexer.  I personally find Indexer to be way to active and way too resource using. Plus running indexer means providing more telemetry to Microsoft.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

On newer builds of Windows, Indexer is much better behaved.
how do you access these files typically?

Hi,
I still do not like to run it on my laptop personally.
I have these files in special program folders since most of them are not put there by installers. And I also create manual .bat files and put them there

this would be part of #9293 as it is dealing with self contained app scenario


Fixes #974

Fixes #974
Merge after #1097

Let me check this again but IIRC there was no escape I could get to work.


URL Dragand is broken

Is there an alternative for the Dragand application? Thanks.

I think Dragand closed down. I actually don't use the app any more.
When I need subtitles for something I just google the name of the episode/movie and download it there.


Fix callbacks

While playing with callbacks to monitor prediction timers, I encountered some issues whose fixes are adressed in this PR:

the callback batch_predictions are now a list, instead of an empty iterator
callbacks are now GeneratorExit-proof

What's your opinion ?
Thanks in advance for reviewing.

I might use some help to deal with the missing async test 🤔


PropertyFieldFilePicker - Your organisation tab, Sites tab and Upload tab is not working

PropertyFieldFilePicker
Category

[ ] Enhancement
[x] Bug
[ ] Question

Version
Please specify what version of the library you are using: [ 3.11.0 ]
SPFX 1.16.1
Expected / Desired Behavior / Question

The 'Recent' tab should be displaying the recent files
The 'Your Organisation' tab should be displaying any libraries set as organization assets
The 'Sites' tab should be displaying any libraries in the current site
The 'Upload' tab should allow uploading the file from the local drive to the site asset library
The 'Upload from Link' tab should allow external links. (Note: the 'allowExternalLinks' is set to true_)

Observed Behavior

The 'Recent' tab - displays nothing
The 'Your Organisation' tab - displays nothing
The 'Sites' tab - displays nothing
The 'Upload' tab - displays nothing
The 'Upload from Link' tab is not accepting external link

Steps to Reproduce

Create new SPFx Webpart project using yeoman generator

npm i @pnp/spfx-property-controls

Add the following
   PropertyFieldFilePicker("imagePicker", {
   context: this.context as any,
   filePickerResult: this.properties.imagePicker,
   onPropertyChange: this.onPropertyPaneFieldChanged.bind(this),
   properties: this.properties,
   onSave: (e: IFilePickerResult) => {
     //console.log(e);
     this.properties.imagePicker = e;
   },
   onChanged: (e: IFilePickerResult) => {
     //console.log(e);
     this.properties.imagePicker = e;
   },
   allowExternalLinks: true,
   key: "imagePickerId",
   buttonLabel: "Image Picker",
   label: "Section Image",
   }),

gulp build

gulp serve

When uploading an image it will show here but nothing is saved

External links is not working

Only the 'Stock Image',  'OneDrive'  and  'Upload from Link'  option are working.
Thank you.

@muges01 - I want to clarify how the control works before digging into the issue.

Recent documents select documents based on a search request to the SharePoint. If the request doesn't return any items, we don't display them. In your tests, are you seeing out of the box picker has Recent values but our control doesn't?
Upload just returns a file as a result. Could you explain a bit more on "it's not saved"?
Upload from link supports internal links only.

For the Site and org assets - I can't repro it.
Could you please share some sort of test solution?
Also - could you check the Network trace and console logs for any errors?
Thanks.

@AJIXuMuK I am seeing the same issue in our solution using 3.11.0 and SPFx 1.15.2. With 3.10.0 it works fine. On 3.11.0 the Recent tab is just totally blank. I find that I have to click into the blank area and then a bunch of inline styles kick in and the recent documents become visible again.
For the "Your organisation" tab, the org libraries we have configured used to show up fine, but with 3.11.0 that tab is just totally blank (no errors, just missing inline styles that would normally allow the box to show up).
e.g. 3.10.0

3.11.0 (notice the missing inline style width of 25% on the container div, which is causing it not to show up)

Same thing with the Site tab (missing inline width on the card title containers).
3.10.0

3.11.0

Hope that helps!

Hi @AJIXuMuK,
I do have documents in the SharePoint. I agree with @mbice, that actual scenario, I hope that helps.
Thank you.

I'll try to repro it again.
Thanks for details!

@muges01 @mbice  - I made changes to the requests.
The changes are available in the latest beta version.
Could you please check on your side if there are still any errors?
Thanks!

@AJIXuMuK I was having the same issue with the FilePicker in the reusable controls project and the latest version fixed the site tab, and I submitted a fix for the Recent tab, which was still not working correctly.
It was reported to me today that the property control file picker was behaving the same, so I found this thread, installed the beta, and it still does not work for me. My experience is, when I click Recent or Site, you see the spinner when it attempts to fetch data, but only see a white screen. If I resize the window the underlying list control will then render properly. Here is an example:

Let me know if I can provide any further info to assist. Thanks!

@AJIXuMuK same here (just re-tested with latest 3.13.0-beta.4457085) and the issue still reproduces. Both recent and sites panels are blank. If I resize the viewport, some inline styles kick in and content becomes visible again.

Finally, I was able to repro it and fix it.
Please, check the latest beta - should be good for all tabs

@AJIXuMuK tested against latest beta and the tabs are looking good for me. Thanks for this fix, really appreciate it!

Ok I'll retry the beta version and reply to this forum by 28/03/2023. Thank you

Yes, I have tested with the latest beta version and all the tabs are working correctly. Thank you.
When this changes will be in GA?

HI @AJIXuMuK @mbice
I have tried with beta version but still facing an issue.
I have used below version in my app
"@microsoft/sp-core-library": "1.16.0",
"@pnp/spfx-property-controls": "^3.13.0-beta.4458261",
Only 3 tabs are working as expected.

Recent
Stock Images
From a link

In site tab when I tried to click on any of folder like Documents or Site Assets, the property pane control is automatically close.
Please check attached screenshot for the same.

It seems to be a separate issue.
Please create a new one.

Hi @AJIXuMuK
i didn't get you. Can you please explain in details?

@bhoomesh-spe The problem discussed here is about the tiles being invisible in some tabs.
Your problem is about clicking a tile which is a logically separate one.
I'm asking you to open a new GitHub issue for your problem to track/fix it properly.

Hi @AJIXuMuK
Thanks for quick response.
I will create new issue for tiles issue. But upload image from local machine functionality is not working.
Can you please check that upload tab issue in current issue?
Thanks

Fixed, closing

@joelfmrodrigues - Thanks for fixing the issue. Can you please let me know in which version the new changes will be available?

Hi @bhoomesh-spe , I was referring to the initial issue, as per Alex's suggestion, please test the latest version released today and open a separate issue if you still find problems. Sorry but we need to try to avoid chained discussions as this makes following up really hard


emplace: 1.4.0 -> 1.4.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/tversteeg/emplace/releases.
meta.description for emplace is: "Mirror installed software on multiple machines"
meta.homepage for emplace is: "https://github.com/tversteeg/emplace"
meta.changelog for emplace is: ""
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.4.1 with grep in /nix/store/vrwz6p395iqy60ycgvl16rcnb62x6w5p-emplace-1.4.1

directory tree listing: https://gist.github.com/d40562037bac830e05f5a44bf0a4625b

du listing: https://gist.github.com/024d3377ff28d3e3646a0d86b71f51d0

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
emplace

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vrwz6p395iqy60ycgvl16rcnb62x6w5p-emplace-1.4.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A emplace https://github.com/r-ryantm/nixpkgs/archive/b8ad44183ac5cfd25b7e69160c665b40454780d0.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/vrwz6p395iqy60ycgvl16rcnb62x6w5p-emplace-1.4.1
ls -la /nix/store/vrwz6p395iqy60ycgvl16rcnb62x6w5p-emplace-1.4.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

emplace

Maintainer pings
cc @Br1ght0ne for testing.

Result of nixpkgs-review pr 117431 run on x86_64-linux 1

1 package built:

emplace


Implement Intl.ListFormat

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat

Resolved in v1.0.1-alpha.8


Function in module.exports without the underscore argument

Given the FAQ top-level function should have underscore as a last argument.
Does it mean that anyone whose module will depend on my module will be obliged to use Streamlinejs library? Are there any workarounds for module exports?
function func(foo, bar, _) {
    // ...
}

// will cause this error:
func(foo, bar);

// fixed:
func(foo, bar, _);

You can implement a module with streamline.js and consume it without. For example:
module1._js (streamline.js code)
exports.func = function(foo, bar, _) {
  // ...
}

module2.js (vanilla JS code)
require("module1").func("hello", 5, function(err, result) {
  // ...
});

You can also mix the two styles in the same file.
But you cannot call an asynchronous function without a callback.


Ability to enforce query parameters

When doing a search on a subset of your dataset, the filter you used will show up in the currentRefinedValues and can show up in a refinement list.
This issue has no quick win :

We could add an exclude or filterData to every widget. This would work, but adds yet another type of needed logic to every widget and I'm definitely against it. However it remains a considerable option.
We could add some logic to the helper that would allow to flag some filters as being enforced, which would mean that we wouldn't list them in the facetValues it sends back to the widgets.
Or we could do a simple thing, which requires adding some size to the JS client build (but if we go with https://github.com/algolia/algoliasearch-client-js/issues/179 , this is no issue) : add the generateSecuredAPIKey to the client, expose a privateSearchParameters to instantsearch, and generate a securedAPIKey that would contain these parameters in itself.

cc @redox .
And @vvo , we already have multiple use cases where this would be needed.

In Magento, in a specific category, you don't want your users to be able to unrefine
In Magento, @maxiloc is using something like visibility: true
In Shopify, I have already two users using us on categories pages using tags.

Can you precise what you call "when doing a search on a subset..?" And maybe show a screenshot of what is shown thx

add the generateSecuredAPIKey

Careful this is a node.js only method

Can you precise what you call "when doing a search on a subset..?"
I'm doing it with the three examples for which I specifically tagged you.
A screenshot wouldn't help.
In a shop, in the Shoes page, you only want to list Shoes results, not anything else. You hence don't want the user to be able to remove the Shoes.

var search = instantsearch(/* ... */);
// ...
search.addWidget({
  init: ({helper}) => { helper.toggleRefinement('category', 'Shoes') };
});
// Now, currentRefinedValues will list Shoes when we don't want it listed
// Now, a refinementList on category will list Shoes when we don't want it listed
// Now, if you click a clearAll widget, it will remove Shoes when we don't want it to be removed

add the generateSecuredAPIKey
Careful this is a node.js only method

Which is why I said "add".
Food of thought after thinking about this. The securedAPIKey only solves the currentRefinedValues and the clearAll issue. However, for refinementList the Shoes option will be listed, and can be toggled endlessly without changing anything. So in the end, this isn't a good solution.

Which is why I said "add".

Yes sorry I was not precise enough. This is a method using crypto features: you can have it client side but it will add A LOT of code and possibly unsafe code because frontend crypto libraries are not based on native system features.
But more importantly to generate the secured API key you need an admin key you do not want to expose on the frontend (If this is what you had in mind).

To sump up this issue is about: "I have a default refinement I don't want the users to be able to remove or see in any widget". Is that it?

I currently see the filterData option as the easiest way to do it right now,

We could add some logic to the helper that would allow to flag some filters as being enforced, which would mean that we wouldn't list them in the facetValues it sends back to the widgets.

Could you try to imagine how such API would look like in the helper? And what would be the effect of it on the dataset sent back by the helper (results)?

But more importantly to generate the secured API key you need an admin key you do not want to expose on the frontend (If this is what you had in mind).

No, we wouldn't have been using it with the "secured" sense of the secured API key, but just for its capability to embed and hide query parameters.

To sump up this issue is about: "I have a default refinement I don't want the users to be able to remove or see in any widget". Is that it?

:+1:

Could you try to imagine how such API would look like in the helper? And what would be the effect of it on the dataset sent back by the helper (results)?

I don't know. I'm not doing an API proposal, just suggesting ideas.

I like the idea of being able to define some filters as being impossible to change. It's more than defaultFilters, it's more like defaultAndUnalterableFilters. They won't be removed when we clearFilter and will not be returned by the helper when we play with the filter API.
But we have to be careful about what it implies on the helper API and see if it makes sense in every method. If it makes the helper too complex (to understand and to code), I'm ok with:

"Manually" fixing it in a transformData whenever we need it. But this will result in a lot of boilerplate code copy-pasted in several implementations
Fixing it at the UI level in instantsearch.js, ie. not displaying the facets in the render part of the widgets, but still letting user remove it programmatically with the helper API.

One thing I want to clarify: Let's say you want "color: 'blue'" to be a default filter then I guess not only you do not want "blue" to be shown in the refinement list but you do not want to show the whole color refinement list, since it already has a default value?
I guess it depends on the use case but I fail to imagine a use case where you have a default value for a filter and still want to display other filtering options for the same facet.
The only place where I can think it makes sense is hierarchical facet (but already handled by the "rootPath" option which allows you to preselect a root path).
I would let the user do it by providing him the necessary tool: filterData which will allow him to remove some facet values from a refinement list IF he really need both a default filter and still showing the refinement list.
Unless someone can come up of a good helper implementation + instantsearch.js, filterData is the easiest way for now.

The only place where I can think it makes sense is hierarchical facet (but already handled by the "rootPath" option which allows you to preselect a root path).

Except for the currentRefinements widget that is allowing to remove rootPath refinement it for now

@vvo

but you do not want to show the whole color refinement list, since it already has a default value
[...]
I fail to imagine a use case where you have a default value for a filter and still want to display other filtering options for the same facet
Well, no, for example when using tags to restrict the search. Ability to filter on associated tags still makes sense.
If you don't want to display the refinement list, it's easy, just don't call addWidget with it.

The only place where I can think it makes sense is hierarchical facet (but already handled by the "rootPath" option which allows you to preselect a root path).
You actually also want to hide the rootPath because it will show up in currentRefinedValues otherwise.

Unless someone can come up of a good helper implementation + instantsearch.js, filterData is the easiest way for now.
Alright, but I'm really worried that we add yet another thing to ALL facetting widgets. Our library becomes less and less extendable with that.

Except for the currentRefinements widget that is allowing to remove rootPath refinement it for now

Yes. Could this be handled inside the currentRefinements widget by providing either a whitelist or a blacklist of refinement names to show? (Or just a filter function)

Yes. Could this be handled inside the currentRefinements widget by providing either a whitelist or a blacklist of refinement names to show? (Or just a filter function)

Yes it can, but then it falls under my previous concern. I would be way happier to have a way to exclude it from the getRefinements instead.

Well, no, for example when using tags to restrict the search. Ability to filter on associated tags still makes sense.

Yep, so in this case "filterData" can work, you could put your default value on top of the list in a "disabled" state so that user see that it's automatically enabled (depend on use case/ux)

Yep, so in this case "filterData" can work, you could put your default value on top of the list in a "disabled" state so that user see that it's automatically enabled (depend on use case/ux)

Indeed

Yeah! I'm late to the party, but this issue got me thinking. I've added an issue in the helper that could help us here https://github.com/algolia/algoliasearch-helper-js/issues/273 (tldr: it fixes a reset point to which all values would go back, if we "clear" them). If we add the capability to clearly express which field should not change, we could have a headless widget that does the constant configuration. The API would look like :
var instantsearch = instantsearch();
instantsearch.addWidget(FixConfigWidget({
  constants: ['categories',  'tags']
}))

Do you think that could help here?

up /o\

filterData is the way to go here, it will allow you to completely reformat the data passed to the templates

@vvo the problem is not visual, but on the query side. If we clear all then the filter is not there which means that the hits won't be the one expected.
What I suggested to @Shipow is to implement in its widget with default parameters to bind the helper change event, and add back the filter if it was cleared.

I think I need to see an acutal UX implementation to really understand the requirement

You can have a look at searchstone. On the top right corner you can select the language (which is a facet). All cards are in the same index, but filtered on their lang attribute.
If you start adding new filters, then "clear all", you will no longer have a filtering on the language, and all cards of all languages will be displayed.
What would be nice would be a way to have "protected filters" that are not removed when we "clear all".

Ok so this looks more of a clear all API need no? A way to give a list of attributes to clear all that won't be cleared.

I think it's higher level than that, not only clear all.
For example, you might want to define a default filter on the page to show only the playable cards, so you add the facet type:playable. But you still allow users to sort on other card attributes like type:minion, type:spell, type:whatever. And you do not want the type:playable facet to be displayed in your refinement list.
The filters defined this way will always be part of the query made to the API, but will not be displayed in the UI. Their are part of the query, on the same level as the APPID, the API key or the index name. You cannot alter them from the UI, and you should not even see them from the UI.
So when you clearAll, they still stay. When you display a list of active facets for this attribute, they do not show.

I think it's a top level "init" widget where you could set the configuration and precise attributes that will be used by default and if they are read only / visible.

And you do not want the type:playable facet to be displayed in your refinement list.

For that, it's only a matter of adding the right flag to the facet value you want to be hidden in a transformData function no?

For that, it's only a matter of adding the right flag to the facet value you want to be hidden in a transformData function no?

This is a weird hack which will have the inconvenient of removing X facet values for this specific facet. Plus, this will still be added to the markup, and you have to use a custom template that will add display: none to this specific facet. A lot of pain involved here.

I agree but finding API entries for every use case is not a solution either, and we did not find one here. I am more and more up for finding the right pluggable interface and delegating advanced use cases to tutorials.

I think what @bobylito mentionned earlier about this being added to the helper would be the best solution here.
We will still need a way to pass this config to the helper from instantsearch, though. I really think this is not something that must be handled on a per-widget basis, but being in the core of the helper.
As usual, we could either give users access to the helper and let them configure this constants (but this requires to totally embrace the helper, document it completly, and so on). Or we could expose one more API entrypoint to instantsearch that delegates to the helper, with the added overhead of every new entrypoint we add to instantsearch...
I feel like we are pushing the limits of what can be done with a JavaScript search library. What is considered "advanced" use case today should be default basic options of the instantsearch.js of tomorow.

At this point we do not have any clear proposal on this being a feature of the helper.
I think we should go with a more simple approach for now, I created #1064


Add installation guide

This adds installation steps as per my personal experience, sadly I don't know how to see the actual result on the devdocs page so maybe the format is a bit incorrect, all I see is a plaintext document :(
I was helped by jaiden.sh on discord, and if the official installation differs from this please correct it, I was simple asked to contribute a guide by jade, and I'm happy to do so :)
Unrelated note: I used Tree's audio script, and now it shows a new entry in the submarine menu (I'm assuming its because it makes a custom kernel), but the audio still doesn't work in this new option or the original one, maybe it has to do something with how grub manages the systems.
One more note: This was supposed to be pr #15 but I'm new here and I accidentally closed it somehow.

Just a couple comments, first there was a small typo on the meta.json page, I've fixed that now. Also a handful of spelling errors but that's no big deal at all :p. I added sections to the page as well.
Thank you so much for your contribution. We really appreciate work like this, we can't test for every distro, so it's great for the people who use the distros to write the guide.
Also I did something wrong so this is now #17 Your credit is still in the commit log :p
Thank you again!

Nevermind on the last point, I've been told to PR into your fork, watch out for that


nativescript-youtubeplayer uncaught

No matter what video I try, I get this when I hit play on android:
"Uncaught [object Object]", source: https://ssl.gstatic.com/support/realtime/operator/1614024346482/operatordeferred_bin_base__en.js (107)

after running ns clean this seems to have resolved


Head's up: Version reporting from 4.6.0 onwards

Hey Matt 👋
As of the recently released 4.6.0, we now report what version of Frontend is in use directly in the code we release. We've done this for several reasons, including to help us track how fast new versions roll out, to help debug support requests, and because service teams are moving more towards customising how they use Frontend—be that through only importing and using certain components, or adding lots of bespoke code on top of it.
In JavaScript, we export the version as part of the global GOVUKFrontend object.
window.GOVUKFrontend.version
// => "4.6.0"

We also include it within our CSS, in case a user has changed the JavaScript build pipeline for their project. In CSS, it looks like this:
:root{
  --govuk-frontend-version: "4.6.0";
}

It can be grabbed by JS with this snippet:
getComputedStyle(document.documentElement).getPropertyValue("--govuk-frontend-version")
// => '"4.6.0"' (note the two sets of quotes)

Might be useful to know, assuming this tool is still being maintained!

Thanks, @querkmachine! I've now deprecated this and linked to this issue from the README.md.
I didn't realise the version is exposed via JavaScript too! 😍


Running CDXGen Locally on Rancher Desktop

Hello,
Do we have any documents or support to running CDXGen locally using Rancher Desktop?
Currently, I don't see any support in the current repo we can run as a container.
Any helpful links will be greatly appreciated. Thank you!

@srace9532, we have container images for cdxgen. We have a long readme page as well as a documentation site. Could you find the image name and give it a try and report how it went?

Not sure if that's supposed to work out of the box but on my side I had to add the node runtime manually to make it work:
FROM node:22 AS node
FROM ghcr.io/cyclonedx/cdxgen:v10.5.1

...

COPY --from=node /usr/local /opt/node
ENV PATH="/opt/node/bin:${PATH}"
RUN node --version

@nekhtan, this is due to the use of ENTRYPOINT instead of CMD in our container files

@srace9532 I have added support for Rancher Desktop on a mac with this PR. The npm package can use the nerdctl binary bundled with Rancher Desktop to create container SBOMs. cdxgen container image has always worked under docker, podman, and nerdctl, so I am hoping you managed to get it working already.


id number for Venezuela

https://en.wikipedia.org/wiki/National_identification_number#Venezuela

According to the sample doc, like below, it contains 8 digits with 2 dots. I don't know if the leading V is a matter.

Another ID is the fiscal id number:
Private companies and public entities are assigned a RIF (Fiscal Information Registry) number for taxable purposes. For natural persons, it is their ID number + checksum digit.


virtualisation/docker: when enabled, net.ipv4.conf.default.forwarding not set to 1

Describe the bug
Upon enabling docker via virtualisation.docker.enable = true sysctl.d is not updated to allow IP forwarding which is required by containers to communicate with outside world.
To Reproduce
Steps to reproduce the behavior:

configure virtualisation.docker.enable = true
 # nixos-rebuild switch
This will get dockerd up and running with net.ipv4.conf.default.forwarding set to 1 which in my understanding is set by the dockerd itself.
reload systemd-sysctl to re-apply system-wide sysctl settings and check net.ipv4.conf.all.forwarding

# systemctl restart systemd-sysctl
# sysctl net.ipv4.conf.default.forwarding
net.ipv4.conf.default.forwarding = 0

By now your bridge-mode docker containers lost connectivity.
Expected behavior
I expect virtualisation/docker.nix to override relevant boot.kernel.sysctl values. Something like this:
boot = {
  kernel.sysctl = {
    "net.ipv4.conf.all.forwarding" = mkOverride 99 true;
    "net.ipv4.conf.default.forwarding" = mkOverride 99 true;
  }
}

Additional context
I discovered this problem when applying other sysctl values on a running system without a reboot.
Notify maintainers
@ryneeverett @bachp @rasendubi
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.108, NixOS, 20.09.3732.91b77fe6942 (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.10`
 - channels(root): `"nixos-20.09.3732.91b77fe6942"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Hi, I stumbled into the same issue. I had to manually run sysctl net.ipv4.ip_forward=1 to regain container internet access.


Grafana-Prometheus Dashboards using 'unpoller' in all metrics

Grafana-Prometheus Dashboards using 'unpoller' in all metrics but the metric data pulled in from the controller via prometheus is labeled 'unifipoller'.
E.g. unpoller_client_uptime_seconds vs unifipoller_client_uptime_seconds
Dashboards show up empty unless you go in and modify this.

Not sure if you fixed this, but I found the same issue. What confused me, I had it was working using a local install, then I ran it in a Docker container using the community Docker compose example and I noticed all of the metrics started with unifipoller.
I realised that the community Docker compose example sets the UP_PROMETHEUS_NAMESPACE=unifipoller, and that's the issue, it should be UP_PROMETHEUS_NAMESPACE=unpoller

@RedEchidnaUK I didn't catch that initially. Looking at my compose file now it does have it set to unifipoller. I wish I had seen that before I went and edited all the queries in the dashboards ha ha. Your solution is obviously the quickest fix.

@RedEchidnaUK has the easiest fix. Just modify your docker-compose to us UP_PROMETHEUS_NAMESPACE=unpoller and the dashboards will work.