Codesigning "No applicable devices found"

Called gym using
gym(scheme: "Themoji", export_method: "ad-hoc", export_team_id: "ABC...")

Used OS: macOS Sierra
Used Xcode: 8.0
Used plist file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>method</key>
	<string>ad-hoc</string>
	<key>teamID</key>
	<string>N8X438SEU2</string>
</dict>
</plist>

Generated export command (new lines for better readability)
/usr/bin/xcrun /Library/Ruby/Gems/2.0.0/gems/gym-1.11.0/lib/assets/wrap_xcodebuild/xcbuild-safe.sh
-exportArchive
-exportOptionsPlist '/var/folders/qq/5l_bf23d7_g0h2sv2k66xq_00000gn/T/gym_config20161010-7967-asw94y.plist'
-archivePath /Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji\ 2016-10-10\ 20.04.52.xcarchive
-exportPath '/var/folders/qq/5l_bf23d7_g0h2sv2k66xq_00000gn/T/gym_output20161010-7967-y1r6se'

simplified export command
/usr/bin/xcrun /Library/Ruby/Gems/2.0.0/gems/gym-1.11.0/lib/assets/wrap_xcodebuild/xcbuild-safe.sh
-exportArchive
-exportOptionsPlist '/tmp/my.plist'
-archivePath /Users/.../something.xcarchive
-exportPath '/tmp/output'

Update 1
The error message is generated by the bundled ipatool:
2016-10-11 03:05:13 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:15:in `require': cannot load such file -- cfpropertylist (LoadError)

so it's related to the third party dependency CFPropertyList. Since Xcode doesn't make use of bundler, it seems like the ipatool has a problem loading the third party dependency, depending on the Ruby environment.
Update 2
We already have xcodebuild-safe.sh which should unset the environment variables of rbenv and rvm during the build process, however some people still run into the cfpropertylist issue, even with the stock macOS installation.
Update 3
Even though I'm using stock Ruby on this fresh MacBook with Sierra, I'm using bundler. The cfpropertylist gem is not bundled with fastlane and doesn't get shipped with Xcode (which it should), instead of relying on the user's machine.
Update 4
It seems like CFPropertyList is not the only gem that Xcode needs:

CFPropertyList
sqlite3
digest

Update 5
Adding those 2 gems as a dependency actually fixes the problem. I'll see if there is a way to unset the bundler environment for this external script, so that we don't have to add additional dependencies to fastlane
There are 15 similar issues, let's see if somebody found a solution for this already.
This one seems definitely relevant, and has a lot of discussion about this problem.
Update 6
Bundler.with_clean_env and similar didn't work, however unsetting the bundler environment variables like we already do for rbenv and rvm setups solves the problem:
Update 7
Submitted a pull request https://github.com/fastlane/fastlane/pull/6497
unset RUBYLIB
unset RUBYOPT
unset _ORIGINAL_GEM_PATH
unset BUNDLE_BIN_PATH
unset BUNDLE_GEMFILE
unset GEM_HOME
unset GEM_PATH
unset RUBYLIB
unset RUBYOPT
unset BUNDLE_BIN_PATH
unset _ORIGINAL_GEM_PATH
unset BUNDLE_GEMFILE

Build error output:
INFO [2016-10-10 20:05:11.69]: ▸ Touching Themoji.app.dSYM
INFO [2016-10-10 20:05:11.93]: ▸ Archive Succeeded
DEBUG [2016-10-10 20:05:12.08]: Stored the archive in: /Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive
INFO [2016-10-10 20:05:12.09]: $ /usr/bin/xcrun /Library/Ruby/Gems/2.0.0/gems/gym-1.11.0/lib/assets/wrap_xcodebuild/xcbuild-safe.sh -exportArchive -exportOptionsPlist '/var/folders/qq/5l_bf23d7_g0h2sv2k66xq_00000gn/T/gym_config20161010-7967-asw94y.plist' -archivePath /Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji\ 2016-10-10\ 20.04.52.xcarchive -exportPath '/var/folders/qq/5l_bf23d7_g0h2sv2k66xq_00000gn/T/gym_output20161010-7967-y1r6se'
INFO [2016-10-10 20:05:12.11]: ▸ + xcodebuild -exportArchive -exportOptionsPlist /var/folders/qq/5l_bf23d7_g0h2sv2k66xq_00000gn/T/gym_config20161010-7967-asw94y.plist -archivePath '/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive' -exportPath /var/folders/qq/5l_bf23d7_g0h2sv2k66xq_00000gn/T/gym_output20161010-7967-y1r6se
INFO [2016-10-10 20:05:12.49]: ▸ 2016-10-10 20:05:12.491 xcodebuild[8335:60633] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/qq/5l_bf23d7_g0h2sv2k66xq_00000gn/T/Themoji_2016-10-10_20-05-12.490.xcdistributionlogs'.
INFO [2016-10-10 20:05:12.66]: ▸ 1.2.840.1136<IP_ADDRESS>
INFO [2016-10-10 20:05:13.04]: ▸ 2016-10-10 20:05:13.048 xcodebuild[8335:60633] [MT] IDEDistribution: Step failed: <IDEDistributionThinningStep: 0x7fe5eeef4440>: Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}
INFO [2016-10-10 20:05:13.04]: ▸ error: exportArchive: No applicable devices found.
INFO [2016-10-10 20:05:13.05]: ▸ Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}
INFO [2016-10-10 20:05:13.05]: ▸ ** EXPORT FAILED **
+ xcodebuild -exportArchive -exportOptionsPlist /var/folders/qq/5l_bf23d7_g0h2sv2k66xq_00000gn/T/gym_config20161010-7967-asw94y.plist -archivePath '/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive' -exportPath /var/folders/qq/5l_bf23d7_g0h2sv2k66xq_00000gn/T/gym_output20161010-7967-y1r6se
2016-10-10 20:05:12.491 xcodebuild[8335:60633] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/qq/5l_bf23d7_g0h2sv2k66xq_00000gn/T/Themoji_2016-10-10_20-05-12.490.xcdistributionlogs'.
1.2.840.1136<IP_ADDRESS>
2016-10-10 20:05:13.048 xcodebuild[8335:60633] [MT] IDEDistribution: Step failed: <IDEDistributionThinningStep: 0x7fe5eeef4440>: Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}
error: exportArchive: No applicable devices found.

Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}

** EXPORT FAILED **
ERROR [2016-10-10 20:05:13.06]: Exit status: 70
ERROR [2016-10-10 20:05:13.06]: 2016-10-11 03:05:12 +0000 [MT] Running step: IDEDistributionSigningAssetsStep with <IDEDistributionContext: 0x7fe5ee8f8470; archive(resolved)='<IDEArchive: 0x7fe5eee24ab0>', distributionTask(resolved)='2', distributionMethod(resolved)='<IDEDistributionMethodAdHoc: 0x7fe5ec7a5c30>', teamID(resolved)='(null)'>
  Chain (2, self inclusive):
  <IDEDistributionContext: 0x7fe5ee8f8470; archive = '(null)', distributionMethod='<IDEDistributionMethodAdHoc: 0x7fe5ec7a5c30>', teamID='(null)'>
  <IDEDistributionContext: 0x7fe5eee277d0; archive = '<IDEArchive: 0x7fe5eee24ab0>', distributionMethod='(null)', teamID='(null)'>
</IDEDistributionContext: 0x7fe5ee8f8470>
2016-10-11 03:05:12 +0000 [MT] [OPTIONAL] Didn't find archived user entitlements for <DVTFilePath:0x7fe5eed556e0:'/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftUIKit.dylib'>: Error Domain=NSCocoaErrorDomain Code=4 "Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftUIKit.dylib" did not contain a "archived-expanded-entitlements.xcent" resource." UserInfo={NSLocalizedDescription=Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftUIKit.dylib" did not contain a "archived-expanded-entitlements.xcent" resource.}
2016-10-11 03:05:12 +0000 [MT] [OPTIONAL] Didn't find archived user entitlements for <DVTFilePath:0x7fe5eed4d4a0:'/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftCoreGraphics.dylib'>: Error Domain=NSCocoaErrorDomain Code=4 "Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftCoreGraphics.dylib" did not contain a "archived-expanded-entitlements.xcent" resource." UserInfo={NSLocalizedDescription=Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftCoreGraphics.dylib" did not contain a "archived-expanded-entitlements.xcent" resource.}
2016-10-11 03:05:12 +0000 [MT] [OPTIONAL] Didn't find archived user entitlements for <DVTFilePath:0x7fe5eed4ecc0:'/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftFoundation.dylib'>: Error Domain=NSCocoaErrorDomain Code=4 "Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftFoundation.dylib" did not contain a "archived-expanded-entitlements.xcent" resource." UserInfo={NSLocalizedDescription=Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftFoundation.dylib" did not contain a "archived-expanded-entitlements.xcent" resource.}
2016-10-11 03:05:12 +0000 [MT] [OPTIONAL] Didn't find archived user entitlements for <DVTFilePath:0x7fe5eed54030:'/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftObjectiveC.dylib'>: Error Domain=NSCocoaErrorDomain Code=4 "Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftObjectiveC.dylib" did not contain a "archived-expanded-entitlements.xcent" resource." UserInfo={NSLocalizedDescription=Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftObjectiveC.dylib" did not contain a "archived-expanded-entitlements.xcent" resource.}
2016-10-11 03:05:12 +0000 [MT] [OPTIONAL] Didn't find archived user entitlements for <DVTFilePath:0x7fe5eed4b650:'/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftCore.dylib'>: Error Domain=NSCocoaErrorDomain Code=4 "Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftCore.dylib" did not contain a "archived-expanded-entitlements.xcent" resource." UserInfo={NSLocalizedDescription=Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftCore.dylib" did not contain a "archived-expanded-entitlements.xcent" resource.}
2016-10-11 03:05:12 +0000 [MT] [OPTIONAL] Didn't find archived user entitlements for <DVTFilePath:0x7fe5eed4feb0:'/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftDarwin.dylib'>: Error Domain=NSCocoaErrorDomain Code=4 "Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftDarwin.dylib" did not contain a "archived-expanded-entitlements.xcent" resource." UserInfo={NSLocalizedDescription=Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftDarwin.dylib" did not contain a "archived-expanded-entitlements.xcent" resource.}
2016-10-11 03:05:12 +0000 [MT] [OPTIONAL] Didn't find archived user entitlements for <DVTFilePath:0x7fe5eee3bba0:'/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/EmojiKit.framework'>: Error Domain=NSCocoaErrorDomain Code=4 "Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/EmojiKit.framework" did not contain a "archived-expanded-entitlements.xcent" resource." UserInfo={NSLocalizedDescription=Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/EmojiKit.framework" did not contain a "archived-expanded-entitlements.xcent" resource.}
2016-10-11 03:05:12 +0000 [MT] [OPTIONAL] Didn't find archived user entitlements for <DVTFilePath:0x7fe5eed51420:'/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftDispatch.dylib'>: Error Domain=NSCocoaErrorDomain Code=4 "Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftDispatch.dylib" did not contain a "archived-expanded-entitlements.xcent" resource." UserInfo={NSLocalizedDescription=Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftDispatch.dylib" did not contain a "archived-expanded-entitlements.xcent" resource.}
2016-10-11 03:05:12 +0000 [MT] [OPTIONAL] Didn't find archived user entitlements for <DVTFilePath:0x7fe5eed56a40:'/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/PKHUD.framework'>: Error Domain=NSCocoaErrorDomain Code=4 "Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/PKHUD.framework" did not contain a "archived-expanded-entitlements.xcent" resource." UserInfo={NSLocalizedDescription=Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/PKHUD.framework" did not contain a "archived-expanded-entitlements.xcent" resource.}
2016-10-11 03:05:12 +0000 [MT] [OPTIONAL] Didn't find archived user entitlements for <DVTFilePath:0x7fe5eed4aa30:'/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftContacts.dylib'>: Error Domain=NSCocoaErrorDomain Code=4 "Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftContacts.dylib" did not contain a "archived-expanded-entitlements.xcent" resource." UserInfo={NSLocalizedDescription=Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftContacts.dylib" did not contain a "archived-expanded-entitlements.xcent" resource.}
2016-10-11 03:05:12 +0000 [MT] [OPTIONAL] Didn't find archived user entitlements for <DVTFilePath:0x7fe5eed4ed30:'/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftCoreImage.dylib'>: Error Domain=NSCocoaErrorDomain Code=4 "Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftCoreImage.dylib" did not contain a "archived-expanded-entitlements.xcent" resource." UserInfo={NSLocalizedDescription=Item at "/Users/felixkrause/Library/Developer/Xcode/Archives/2016-10-10/Themoji 2016-10-10 20.04.52.xcarchive/Products/Applications/Themoji.app/Frameworks/libswiftCoreImage.dylib" did not contain a "archived-expanded-entitlements.xcent" resource.}
2016-10-11 03:05:12 +0000 [MT] Running step: IDEDistributionThinningStep with <IDEDistributionContext: 0x7fe5eed21d20; archive(resolved)='<IDEArchive: 0x7fe5eee24ab0>', distributionTask(resolved)='2', distributionMethod(resolved)='<IDEDistributionMethodAdHoc: 0x7fe5ec7a5c30>', teamID(resolved)='N8X438SEU2'>
  Chain (3, self inclusive):
  <IDEDistributionContext: 0x7fe5eed21d20; archive = '(null)', distributionMethod='(null)', teamID='N8X438SEU2'>
  <IDEDistributionContext: 0x7fe5ee8f8470; archive = '(null)', distributionMethod='<IDEDistributionMethodAdHoc: 0x7fe5ec7a5c30>', teamID='(null)'>
  <IDEDistributionContext: 0x7fe5eee277d0; archive = '<IDEArchive: 0x7fe5eee24ab0>', distributionMethod='(null)', teamID='(null)'>
</IDEDistributionContext: 0x7fe5eed21d20>
2016-10-11 03:05:12 +0000 [MT] Running /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool '/var/folders/qq/5l_bf23d7_g0h2sv2k66xq_00000gn/T/IDEDistributionThinningStep.SzI' '--json' '/var/folders/qq/5l_bf23d7_g0h2sv2k66xq_00000gn/T/ipatool-json-filepath-jARuxQ' '--info' '--toolchain' '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr' '--platforms' '/Applications/Xcode.app/Contents/Developer/Platforms'
2016-10-11 03:05:12 +0000  ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]
2016-10-11 03:05:13 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:1432: warning: assigned but unused variable - minVersion
/Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:1432: warning: assigned but unused variable - sdkVersion
/Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:1441: warning: assigned but unused variable - sourceVersion
2016-10-11 03:05:13 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:1529: warning: shadowing outer local variable - node
2016-10-11 03:05:13 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2250: warning: shadowing outer local variable - machoFile
/Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2250: warning: shadowing outer local variable - machoImage
2016-10-11 03:05:13 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2431: warning: assigned but unused variable - flag
/Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2431: warning: assigned but unused variable - transformer
2016-10-11 03:05:13 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2648: warning: assigned but unused variable - exc
2016-10-11 03:05:13 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:708: warning: assigned but unused variable - output
2016-10-11 03:05:13 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:15:in `require': cannot load such file -- cfpropertylist (LoadError)
  from /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:15:in `<main>'
2016-10-11 03:05:13 +0000 [MT] /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool exited with 1
2016-10-11 03:05:13 +0000 [MT] ipatool JSON: (null)

ERROR [2016-10-10 20:05:13.06]: There was an error exporting your application
ERROR [2016-10-10 20:05:13.06]: Unfortunately the new Xcode export API is unstable and causes problems on some projects
ERROR [2016-10-10 20:05:13.06]: You can temporary use the :use_legacy_build_api option to get the build to work again
WARN [2016-10-10 20:05:13.10]: Variable Dump:
INFO [2016-10-10 20:05:13.10]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios yolo"}
ERROR [2016-10-10 20:05:13.10]: Error packaging up the application
INFO [2016-10-10 20:05:13.11]: Successfully generated documentation at path '/Users/felixkrause/ios/fastlane/README.md'

DEBUG [2016-10-10 20:05:13.11]: All plugins are up to date
ERROR [2016-10-10 20:05:13.11]: fastlane finished with errors
DEBUG [2016-10-10 20:05:13.12]: All plugins are up to date
bundler: failed to load command: fastlane (/usr/local/bin/fastlane)
FastlaneCore::Interface::FastlaneError: [!] Error packaging up the application
  /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/interface.rb:145:in `user_error!'
  /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/ui.rb:14:in `method_missing'
  /Library/Ruby/Gems/2.0.0/gems/gym-1.11.0/lib/gym/error_handler.rb:94:in `handle_package_error'
  /Library/Ruby/Gems/2.0.0/gems/gym-1.11.0/lib/gym/runner.rb:125:in `block in package_app'
  /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.52.1/lib/fastlane_core/command_executor.rb:88:in `call'
  /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.52.1/lib/fastlane_core/command_executor.rb:88:in `execute'
  /Library/Ruby/Gems/2.0.0/gems/gym-1.11.0/lib/gym/runner.rb:121:in `package_app'
  /Library/Ruby/Gems/2.0.0/gems/gym-1.11.0/lib/gym/runner.rb:20:in `run'
  /Library/Ruby/Gems/2.0.0/gems/gym-1.11.0/lib/gym/manager.rb:10:in `work'
  /Library/Ruby/Gems/2.0.0/gems/fastlane-1.105.1/lib/fastlane/actions/gym.rb:24:in `run'
  /Library/Ruby/Gems/2.0.0/gems/fastlane-1.105.1/lib/fastlane/runner.rb:202:in `block (2 levels) in execute_action'
  /Library/Ruby/Gems/2.0.0/gems/fastlane-1.105.1/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
  /Library/Ruby/Gems/2.0.0/gems/fastlane-1.105.1/lib/fastlane/runner.rb:187:in `block in execute_action'
  /Library/Ruby/Gems/2.0.0/gems/fastlane-1.105.1/lib/fastlane/runner.rb:186:in `chdir'
  /Library/Ruby/Gems/2.0.0/gems/fastlane-1.105.1/lib/fastlane/runner.rb:186:in `execute_action'
  /Library/Ruby/Gems/2.0.0/gems/fastlane-1.105.1/lib/fastlane/runner.rb:112:in `trigger_action_by_name'
  /Library/Ruby/Gems/2.0.0/gems/fastlane-1.105.1/lib/fastlane/fast_file.rb:140:in `method_missing'
  Fastfile:47:in `block (2 levels) in parsing_binding'
  /Library/Ruby/Gems/2.0.0/gems/fastlane-1.105.1/lib/fastlane/lane.rb:33:in `call'
  /Library/Ruby/Gems/2.0.0/gems/fastlane-1.105.1/lib/fastlane/lane.rb:33:in `call'
  /Library/Ruby/Gems/2.0.0/gems/fastlane-1.105.1/lib/fastlane/runner.rb:49:in `block in execute'
  /Library/Ruby/Gems/2.0.0/gems/fastlane-1.105.1/lib/fastlane/runner.rb:45:in `chdir'
  /Library/Ruby/Gems/2.0.0/gems/fastlane-1.105.1/lib/fastlane/runner.rb:45:in `execute'
  /Library/Ruby/Gems/2.0.0/gems/fastlane-1.105.1/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
  /Library/Ruby/Gems/2.0.0/gems/fastlane-1.105.1/lib/fastlane/command_line_handler.rb:30:in `handle'
  /Library/Ruby/Gems/2.0.0/gems/fastlane-1.105.1/lib/fastlane/commands_generator.rb:49:in `block (2 levels) in run'
  /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
  /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
  /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'
  /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'
  /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/fastlane_runner.rb:36:in `run!'
  /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'
  /Library/Ruby/Gems/2.0.0/gems/fastlane-1.105.1/lib/fastlane/commands_generator.rb:244:in `run'
  /Library/Ruby/Gems/2.0.0/gems/fastlane-1.105.1/lib/fastlane/commands_generator.rb:20:in `start'
  /Library/Ruby/Gems/2.0.0/gems/fastlane-1.105.1/lib/fastlane/cli_tools_distributor.rb:58:in `take_off'
  /Library/Ruby/Gems/2.0.0/gems/fastlane-1.105.1/bin/fastlane:5:in `<top (required)>'
  /usr/local/bin/fastlane:23:in `load'
  /usr/local/bin/fastlane:23:in `<top (required)>'

Pull request is live https://github.com/fastlane/fastlane/pull/6497

File a radar, feel free to dupe https://openradar.appspot.com/28726736 👍


Cannot read field "entity" because "c" is null

Describe the Bug
On a server, whenever someone loads a certain area of the world (probably where the problem entity is located), every single person's game crashes, resulting from the Exception being thrown.
Reproduction Steps

Log into server
Load in world
crash

We are not quite sure how to replicate this error, as it has happened multiple times now unexpectidly.
Expected Result
Game should not throw exception and crash for every single player online.
Screenshots and Videos

Crash Report or Log
https://pastebin.com/mGy1w3Mu
Operating System
Windows 11
Mod Version
0.5.0d
Minecraft Version
1.18.2
Other Mods
https://pastebin.com/zBbV0EaM
Additional Context
The issue seems to be able to be resolved by killing all entities when the player close enough to the problematic entity loads into the world.
This crash also occured on patch 0.5.0c

Can’t reproduce, please test patch G.

As a follow-up, I looked into the code surrounding this area and please correct me if I am wrong, but I think this might be a race condition with the renderer and the assembly of the offending contraption. Consider the following:
The code that is erroring out is this line in the ContraptionRenderingWorld.java file:
ContraptionHandler.loadedContraptions.get(world)
				.values()
				.stream()
				.map(Reference::get)
				.filter(Objects::nonNull)
				.map(AbstractContraptionEntity::getContraption)
				.forEach(this::getRenderInfo);

when we call getRenderInfo() it performs this action which results in a null reference exception:
int entityId = c.entity.getId();
Specifically, We can conclude that the entity is getting initialized and added to the world because if it was null then the filter(Objects::nonNull) code would filter it out, but the contraption is not or has not been yet assigned. The major difference for why this doesn't happen every time for every contraption, as far as I can tell, is the size of the contraption being assembled. Tracking back to the CartAssemblerTileEntity.java and the assemble() method we see the contraption gets created on line 128
MountedContraption contraption = new MountedContraption(mode);
Then on line 130 it gets assembled.
if (!contraption.assemble(world, pos))
    return;

Finally, after it is assembled, some more actions are performed finally, on line 161 the entity is created.
OrientedContraptionEntity entity = OrientedContraptionEntity.create(world, contraption, initialOrientation);
When the  OrientedContraptionEntity.create() call is executed, the entity.setContraption() method is called almost immediately and inside that the onEntityCreated() call is executed if the contraption is not null, which we know it is initialized and therefore not null, and if the level is not clientside, which I cannot confirm.
If we assume that the level is not client side, then the onEntityCreated() method is called and the contraption should be successfully assigned to the entity and there should be no null reference exception, but this is not what is happening.
The gap in my knowledge right now, is that I am unsure how the entity gets registered within the world. If it works how I suspect, being that as soon as an entity is created it is registered in the world, it would mean that if the render tick is happening too fast then its possible to get an entity with no related contraption because it is still being constructed/assigned.
I am not a Minecraft mod developer, nor a java developer, but I have spent the last 10 years debugging code and fixing difficult bugs including race conditions and this has all the tell tale signs of a race condition.
As a fix, I suggest someone who is set up to debug and test this simply adds a filter before the forEach loop that filters out entities with null contraptions as they have not yet been initialized and therefore are not ready to render.
Again though, I am not a Minecraft mod developer, and my experience solely comes from my time as a software developer and I made a whole bunch of assumption here. Feel free to correct me, I just really want to build my giant-ass world eater without my world crashing and forcing me to go into the NBT data to delete the offending entity so I thought I would lend an external view to the problem as it seems this has been going on for a while.

@TropheusJ I can also replicate it on Forge. I switched to Fabric, hoping it wouldn't continue, but I was wrong.

In that case, it should be fixed on forge and then pulled into fabric. If you can get it to happen on forge again, report it there.

@TropheusJ I can do that, I will copy my response over to the relevant open issue,

I had this occur on a server and I think I've tracked down the cause. If you install XL Packets is it fixed?

@TropheusJ you absolute GENIUS. Yes that fixed it. What is the source of the bug? Is it not a race condition? Also installing that packets mod greatly increased the performance of my world so thanks for that was well.

Is there an issue on the Forge repo about this?

PR is still waiting but a fix for the crash has been added


Merge pull request #1 from OrchardCMS/1.9.x

Sync 1.9.x branch

Sorry, trying to figure out how to sync branches. This was not the way :(

You need to pull / merge from this remote "assuming you have set 2 remotes" on your local repository. Then you push it to the forked one.

Think I got it right now. I'm used to TFS, git really is something different... Sorry guys!


ImageFilterLayer for simple matrix transforms leads to unnecessary render target switches

Due to Skia's implementation of SkMatrixImageFilter, the filterQuality parameter on the Transform widget is actually very inefficient. This can be verified by taking a capture of a Flutter application with RenderDoc.
https://github.com/google/skia/blob/main/src/core/SkMatrixImageFilter.cpp#L65
Skia's implementation creates an offscreen surface to render the transformed image into. This can be simplified greatly, especially since the source image comes from the raster cache.
In the worst case scenario, Flutter rasterizer caches the child layer, then takes the rasterizer cached image and draws it onto a new SkSurface with the transform, and then draws it to the final canvas during compositing. In the best case scenario, the child layer is already cached.
This extra copy makes the transform extremely expensive, even for static content. ImageFilterLayer is supposed to be a way to efficiently transform and scale static content without tons of raster cache misses, but it unfortunately isn't worthwhile as it doesn't scale due to this issue. It also forcefully caches itself if the filter doesn't change, which is terrible for animations because the raster cache drops the child content if the animation is still for a certain number of frames.
When using a lot of layers, performance suffers compared to using a canvas with transforms & drawImage. The only reason why the canvas solution isn't viable is because Picture.toImage is async, which gives a frame of delay before the image can be used for drawing. The raster cache doesn't have this issue.
I would love to be able to tell TransformLayer to rasterize it's child with one matrix (to add a scale factor to the cache entry's resolution) and then draw the raster cached content with another matrix. This would also be very helpful for ScaleTransition, as you could avoid thrashing the raster cache when scaling something up or down.
cc @flar

This is related to the work that is just starting to peephole optimize various operations, starting with group opacity (see https://github.com/flutter/engine/pull/29775 and https://github.com/flutter/engine/pull/30957).
Our next target was going to be ColorFilter, but ImageFilter should benefit here as well.

I would love to be able to tell TransformLayer to rasterize it's child with one matrix (to add a scale factor to the cache entry's resolution) and then draw the raster cached content with another matrix. This would also be very helpful for ScaleTransition, as you could avoid thrashing the raster cache when scaling something up or down.

We considered such a mechanism for optimizing transforms when we added the filterQuality property to the Scale/Transform widgets but we went with using the existing ImageFiltered widget with a transform filter as the mechanism because it left the 2 Layer objects with distinct semantics. TransformLayer always operates by changing the CTM and passing it to the children. IFLayer always applies a filter.
Note that the Matrix ImageFilter should be as fast as just drawing the item with a matrix if the child to which it is applied is already an image.

Note that the Matrix ImageFilter should be as fast as just drawing the item with a matrix if the child to which it is applied is already an image.

Unfortunately that's not the case.
This Fiddle shows the issue: https://fiddle.skia.org/c/8569faa0da80fcd099bb475ad2e3b687
By looking in the SKP debugger, you can see the final drawImage includes two separate render target steps (one doing a copy, and then another scaling it 2x): https://debugger.skia.org/?url=https://fiddle.skia.org/i/8569faa0da80fcd099bb475ad2e3b687.skp
A transformed drawImage is significantly cheaper than ImageFilter because of this.

It looks like this optimization I was referring to has been on Skia's back burner for a while. I thought it had gone in.

One question, though, the filterQuality parameter was not created to solve the problem of being the absolute fastest way to transform an image - though it should strive to be, at least eventually whether or not the optimization of SkImageFilter happens in a timely manner.
The parameter was created to avoid re-rendering complex scenes while a transform is animating. If you use a Transform without the parameter then it should be much slower than using it with the property. The case with the property could be faster still, but the goal was to avoid expensive rasterizations, not to be the fastest way to transform an image.
So, the question then is - are you finding cases where it is slower to use the property than without it? And are those cases transforming a complex rendered child as the feature was intended to be used with?

In my scenario, the scene is complex enough that it is always worth rasterizing. Skia absolutely chokes on the paths involved in the Lottie animations I'm dealing with, and I don't control the source of the animations. Because of this, it's only slightly slower to use a TransformLayer. The overhead of the extra render targets every frame really starts to show up once you have lots of layers, which happens when displaying a grid of animations.
With my draft PR flutter/engine#31443 it doesn't run into this issue. It becomes significantly faster.

@flar I think #102611 shows this performance issue in an actual benchmark. If the framework needs to depend on ImageFilterLayer, I think this is a bit more important now.
cc @jonahwilliams

A simple fix for this would be to have the ImageFilterLayer take the DlImageFilter rather than the SkImageFilter. We can inspect the DlImageFilter and discover that it is a matrix and then have it apply the matrix directly rather than go through Skia's filtering mechanisms.

The above solution is actually part of an already submitted Issue: https://github.com/flutter/flutter/issues/100454

Hi, is there any updates?

I think the simple fix above can be implemented to reduce performance impact. Haven't had a moment to address it, but it should definitely be doable.


feat(source): add metrics for source

Signed-off-by: tabVersion<EMAIL_ADDRESS>I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
PLEASE DO NOT LEAVE THIS EMPTY !!!
Please explain IN DETAIL what the changes are in this PR and why they are needed:

move StreamingMetrics to risingwave_common to solve cycle dependency
refine parse error message and support skip wrong message
add a counter metric for wrong message

Summarize your change (mandatory)
How does this PR work? Need a brief introduction for the changed logic (optional)
Describe clearly one logical change and avoid lazy messages (optional)
Describe any limitations of the current code (optional)
Add the 'user-facing changes' label if your PR contains changes that are visible to users (optional)

Checklist

[x] I have written necessary docs and comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)
close #3422

Any progress in this PR?

Any progress in this PR?

I have forgotten the pr, the feature has been done in #3505.
close for duplicate


Track performance with benchmarks

This is a reminder to start collecting a set of benchmarks to track, possibly run with every pull request to check for performance regressions. We can look into the package PkgBenchmark.jl to help with this.

Great. One thing I wonder about is whether we can ensure the benchmarks get run on a computer with similar hardware each time? Like perhaps with Github actions or Travis there is a way to ensure this? Something to look into.
Of course as a fallback we can also run the benchmarks ourselves occasionally on some reference computer of our own.

There are some benchmarks that are run automatically with Github Actions now.


Port features.json properties for most common runtime arguments

As a part of development for dev container features (#60), we introduced properties for the most common runtime arguments used in devcontainer.json's runArgs property. The great part about this implementation is that it worked with Docker Compose as well and is abstracted enough to work with other potential orchestrators or container runtimes down the road.  It would be awesome to bring these to devcontainer.json as well.
Specifically:

privileged
capAdd
securityOpt
init
mounts in a revised form that is not quite so engine specific
entrypoint (which would be useful with the proposed overrideEntrypoint from https://github.com/microsoft/vscode-remote-release/issues/3614#issuecomment-724125719)

We could also bring containerEnv into Docker Compose as it is in features.json.
Ideally we'd continue this trend whenever a new property along these lines is added to features.json (and vice versa).

Yep! It should future proof the spec as well given interest in different container engines. These can have orchestrators that have subtle tweaks in how these need are set.  We don't want to "be the orchestrator", but provide a place to house subset of properties that are specific to dev that need to happen regardless of them - e.g. capAdd to enable ptrace based debuggers.

Is is possible to specify overrides for a feature added to devcontainer.json? It may solve a class of issues where the default arguments (like mounts) of feature definitions need to be removed/changed.
For example, I added the docker-in-docker feature to my devcontainer.json, but in order to be able to have docker-in-docker enabled in more than one containers on one host, you must mount /var/lib/docker to a uniquely-named volume.
	"features": {
		"docker-in-docker": {
			"version": "latest",
			"moby": true,
			"dockerDashComposeVersion": "v1"
			//FIXME: can we have "customizations": { "mounts": [  ] } or similar
		},
        },
        // attempt to mount /var/lib/docker to unique :
	"mounts": [
		"source=UNIQUE-dind-var-lib-docker,target=/var/lib/docker,type=volume"
	]

Fails because "docker-in-docker" feature def has a built-in mount to /var/lib/docker which conflicts with my uniquely-named volume:
from error log, formatted for readability:
...
--mount source=UNIQUE-dind-var-lib-docker,target=/var/lib/docker,type=volume   <-- my attempt
--mount type=volume,src=dind-var-lib-docker,dst=/var/lib/docker    <-- built-in
--mount type=volume,src=vscode,dst=/vscode -l
...
echo Container started
docker: Error response from daemon: Duplicate mount point: /var/lib/docker. <-- conflict
...

The drop-in features are great until they don't work for rare edge cases. I suppose this issue could be resolved by adding an additional config parameter to disable/rename /var/lib/docker mount, but something like "features.*.customizations" could reduce the overall need to design features with every possible use-case in mind.
https://github.com/microsoft/vscode-dev-containers/issues/1249
https://github.com/microsoft/vscode-dev-containers/blob/72359e9ca313b7ab529a9481aae84432a81e007f/script-library/container-features/src/devcontainer-features.json#L36
https://github.com/microsoft/vscode-remote-release/issues/5679

FYI: If anyone has this issue, the workaround is to use manual script method docker-in-docker.md#script-use and remove the "docker-in-docker" feature from devcontainer.json.

We added mounts, containerEnv, containerUser, init, privileged, capAdd, and securityOpt as part of #95.


[v3] Implement new Concept Exercise: enums

This issue describes how to implement the enums concept exercise for the C++ track.
Getting started
Please please please read the docs before starting. Posting PRs without reading these docs will be a lot more frustrating for you during the review cycle, and exhaust Exercism's maintainers' time. So, before diving into the implementation, please read up on the following documents:

The features of v3.
Rationale for v3.
What are concept exercise and how they are structured?

Please also watch the following video:

The Anatomy of a Concept Exercise.

Goal
The goal of this exercise is to teach the student how to deal with enum class in C++.
Learning objectives

Know of the existence of the enum keyword.
Know of the existence of the enum class keyword.
Know how to define enum members.
Know how to define enum class members.
Know the difference between enum and enum class.
Know why using enum class is preferable instead of enum.
Know how to use enumerations.
Know where it's documented, or at least how to search for it.

Out of scope

Casting enum class objects to other types and vice versa.

Concepts

enums-basic

Prequisites
There are no prerequisites.
Resources to refer to
Hints

Enum classes

After

Enumeration declaration
Enumerated types

Representer
There is no representer at this moment.
Analyzer
There is no analyzer at this moment.
Implementing
If you'd like to work on implementing this exercise, the first step is to let us know through a comment on this issue, to prevent multiple people from working on the same exercise. If you have any questions while implementing the exercise, please also post them as comments in this issue.
To implement a concept exercise, the following files must be created:

languages
└── cpp
    └── exercises
        └── concept
            └── enums
                ├── .docs
                │   ├── after.md
                │   ├── hints.md
                │   ├── instructions.md
                │   └── introduction.md
                ├── .meta
                |   |── config.json
                │   ├── design.md
                │   ├── example.cpp
                │   └── example.h
                ├── CMakeLists.txt
                ├── enums.cpp
                ├── enums.h
                ├── enums_test.cpp
                └── test
                    ├─- catch.hpp
                    └── tests_main.cpp

Step 1: add .docs/introduction.md
This file contains an introduction to the concept. It should make the exercise's learning goals explicit and provide a short introduction with enough detail for the student to complete the exercise. The aim is to give the student just enough context to figure out the solution themselves, as research has shown that self-discovery is the most effective learning experience. Using the proper technical terms in the descriptions will be helpful if the student wants to search for more information. If the exercise introduces new syntax, an example of the syntax should always be included; students should not need to search the web for examples of syntax.
As an example, the introduction to a "strings" exercise might describe a string as just a "Sequence of Unicode characters" or a "series of bytes". Unless the student needs to understand more nuanced details in order to solve the exercise, this type of brief explanation (along with an example of its syntax) should be sufficient information for the student to solve the exercise.
Step 2: add .docs/instructions.md
This file contains instructions for the exercise. It should explicitly explain what the student needs to do (define a method with the signature X(...) that takes an A and returns a Z), and provide at least one example usage of that function. If there are multiple tasks within the exercise, it should provide an example of each.
Step 3: add .docs/hints.md
If the student gets stuck, we will allow them to click a button requesting a hint, which shows this file. This will not be a "recommended" path and we will (softly) discourage them using it unless they can't progress without it. As such, it's worth considering that the student reading it will be a little confus fileed/overwhelmed and maybe frustrated.
The file should contain both general and task-specific "hints". These hints should be enough to unblock almost any student. They might link to the docs of the functions that need to be used.
The hints should not spell out the solution, but instead point to a resource describing the solution (e.g. linking to documentation for the function to use).
Step 4: add .docs/after.md
Once the student completes the exercise they will be shown this file, which should provide them with a summary of what the exercise aimed to teach. This document can also link to any additional resources that might be interesting to the student in the context of the exercise.
See the C++ strings exercise's after.md file for an example.
Step 5: update languages/cpp/config.json
An entry should be added to the track's config.json file for the new concept exercise:
{
  ...
  "exercises": {
    "concept": [
      ...
      {
        "slug": "enums",
        "uuid": "d5b6a34d-4757-4dde-9bcb-d897fb59770b",
        "concepts": ["enums-basic"],
        "prerequisites": []
      }
    ]
  }
}

Step 6: adding track-specific files
These files are specific to the C++ track:

enums.h and enums.cpp. the stub implementation files, which is the starting point for students to work on the exercise.
CMakeLists.txt: the C++ project file.
enums_test.cpp: the test suite.
.meta/example.h and .meta/example.cpp: an example implementation that passes all the tests.
test/catch.hpp: single-header testing library.
test/tests_main.cpp: generates test main from test library

Step 7: updating list of implemented exercises

Add the exercise to the list of implemented exercises.

Step 8: add .meta/design.md:
This file contains information on the exercise's design, which includes things like its goal, its teaching goals, what not to teach, and more (example). This information can be extracted from the exercise's corresponding GitHub issue.
Step 9: add .meta/config.json:
This file contains meta information on the exercise, which currently only includes the exercise's contributors (example).
Inspiration
When implementing this exercise, it can be very useful to look at already implemented C++ exercises.
Help
If you have any questions regarding implementing the exercise, please post them as comments in the exercise's GitHub issue.

The enumeration concept has been added in 2023.


[iOS] unable to find all nearby devices

[ ] I am running the latest version
[x] I checked the documentation and found no answer
[x] I checked to make sure that this issue has not already been filed

Expected Behavior
When searching for devices, I expect to find the 4 nearby devices on both IOS and Android
Current Behavior
On android, all 4 devices are found as expected.
On IOS only 2 of the 4 devices can be found, the ones found are always the same
Steps to Reproduce
Grab android phone (samsung galaxy s8), and validate all 4 devices are findable in nrf connect.
Boot up the app, scan for devices, receive a list of 4 found devices.
Grab ios phone (iphone 8), and validate all 4 devices are findable in nrf connect.
Boot up app, scan for devices, receive a list of 2 out of 4 devices.
Context

Library version: ^1.1.1
React-native version: 0.59.9
Platform: iOS, Iphone8

[x] Validated that the devices have the correct tx, rx and service id's
[x] Validated that the devices match the filtered name list
[x] Validated no error message are send on #onScan
class BLE {
  bleManager = new BleManager();

  devices = [];

  deviceName = 'GT ';

  searchDuration = 1280 * 10;

  stateUpdateDuration = 500;

  stateUpdateAttempts = 0;

  maxStateUpdateAttempts = 10;

  txID = '6E400003-B5A3-F393-E0A9-E50E24DCCA9E';

  rxID = '6E400002-B5A3-F393-E0A9-E50E24DCCA9E';

  serviceId = '6E400001-B5A3-F393-E0A9-E50E24DCCA9E';

  startScan = () =>
    this.bleManager.startDeviceScan(
      [this.serviceId],
      {
        // IOS Only option
        allowDuplicates: false,
      },
      this.#onScan,
    );

  stopScan = () => this.bleManager.stopDeviceScan();

  getState = () => this.bleManager.state();

   #onScan = (error: ?Error, scannedDevice: ?Device) => {
    if (error) {
      console.log({ error });
      return;
    }

    const exists = find(this.devices, ['id', scannedDevice.id]);
    const existingName = find(this.devices, ['name', scannedDevice.name]);

    if (
      !exists &&
      !existingName &&
      scannedDevice.name &&
      scannedDevice.name.startsWith(this.deviceName) &&
      scannedDevice.name.toUpperCase() !== 'GT COM'
    ) {
      this.devices.push(scannedDevice);
    }
  };
}

Zip containing video of mismatch between found devices

I am afraid that you have not attached the video.

I am afraid that you have not attached the video.

It should be there now

Could you add console.log(scannedDevice) before the if and show the logs? Native logs could also be valueable

Logs.txt

Could you show native logs as well? (manager.setLogLevel(LogLevel.Verbose);)

Logs-2.txt

It seems to correctly return all that native part receives. You could try remove the native filtering for service UUID and check if it changes anything. If so post new logs please. If not compare the peripherals that are shown and not shown in nRF — they must be different in some way as it seems that the library behaves in a consistent way.

@d3ullist Could you add more info? Where there any differences between those devices?

The reproduction on my end (the one where the logs where coming from) seems to have not been a proper reproduction of the issue at hand. After a device reboot all 3 where properly being picked up again by ble-plx without an issue.
The original issues stemming the bug report seem to have been caused by caching of old device names, or something along those lines.
Several weeks ago the naming scheme changed from a static GT Com to GT XXXXXXXX, and while nrf connect did manage to properly detect them under the new name. The app with ble-plx still seemed to detect the old GT Com name.
Using a python script with another bluetooth library we detected that on this end it also still detected the old GT Com name as well. After a power on/off like reset on those devices, they became available through ble-plx on the ios side as well.

Glad to hear that the issue is solved.
This however does not explain why your additional devices did not appear in the logs as there was only a native filter using the service UUID (nothing about name filtering). I could imagine this to be a problem if the service UUID appeared only in Scan Response and not in the Advertisement packet.

@dariuszseweryn On the android side we currently do not have the service UUID filter implemented. Considering they did show up in there, and not in IOS I would also assume something along those lines.


[Blog's post] A faster JabRef

Following https://github.com/JabRef/jabref/pull/1100 , I figure out this is a more suitable place for a discussion.
Please, review (facts and writing).
Tentative publication date : Friday April 8  (a week before the post about the release of version 3.3).
%%%%%%%%%%%%%%%%%%%%%%%%%%
A faster JabRef is coming!
Some users reported JabRef was slow on large databases (thank you for the feedback!). This was especially the case for three operations:

loading a database
saving a database
searching through a database.

During a search, the user interface could become very unresponsive, which is indeed quite annoying... Well, this time will be over soon: @simonharrer has recently contributed code making search much faster (https://github.com/JabRef/jabref/pull/1100). By integrating the Java Microbenchmarking framework (https://github.com/JabRef/jabref/pull/1103), @tobiasdiez was able to benchmark JabRef and reveal interesting insights about the performance of JabRef:
Preliminary tests have been carried out on a database with 100000 entries (is it big enough for you?). They show that JabRef is now 10 times faster at searching: it takes only one second to search through 60000 entries.
If you want to give it a try: http://builds.jabref.org/master/ (this is a development version. So, be carefully, and back up your data!). Your comments are welcomed at https://github.com/JabRef/jabref/pull/1100
About opening large databases: work is under way to speed it up You can follow this development at https://github.com/JabRef/jabref/issues/1094

I have tried to convert this into a pull request (which seems more appropriate).
Clicking on "New pull request" led me to https://github.com/JabRef/www.jabref.org/compare .
I am probably missing something...

Go to https://github.com/JabRef/www.jabref.org/new/gh-pages/_posts and then click on "new file" add the contents and then it is turned into a PR, I think.

@simonharrer: Thanks for the pointer. It works.
Comments and changes welcomed at PR #37.

Follow up at #37.


No commands to turn plugin groups on and off in the command palette.

I reinstalled Plugin Groups, created a new group and still didn't see any commands for it in the palette. I also did tried this on another vault and it didn't work.
While you're at it, I want you to look at my other feature request: A command to Toggle (not just turn on or off) plugin groups.

Could you make sure that you've turned on commands for plugin groups globally in the plugins general settings?

Oh I didn't notice that. I thought it would happen automatically. I made this feature request: Add a default settings section, to apply default settings to new plugin groups.


link fix

Description

As already mentioned in #ISSUE_NUMBER, this PR tackles:

...
...
...

In particular, the ...
Checklist

[ ] I followed the indications in the CONTRIBUTING
[ ] The documentation related to the proposed change has been updated accordingly (also comments in code).
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully ran tests with your changes locally?
[ ] Ready for review! :rocket:

Fixes

Fixes #

@westcoast ho corretto un paio di link errati
quando potete, si può mergiare
taggo anche @denismarini @bfabio


Flashing Router Firmware "Z-Stack_3.x.0_router_20221102" fails with "Unknown record type: 3."

I am using "SmartRF Flash Programmer 2" to Flash the Sonoff Zigbee Sticks with the Z-Stack-Router-firmware:
https://notenoughtech.com/home-automation/sonoff-zigbee-3-0-usb-dongle-plus/
When attempting to Flash the just released router-version "20221102" ("CC1352P2_CC2652P_launchpad_router_20221102.hex"), I cannot flash it, and flashing fails with: "Unknown record type: 3."
Screenshot - CC1352P2_CC2652P_launchpad_router_20221102.hex

Log - CC1352P2_CC2652P_launchpad_router_20221102.hex
`>Initiate access to target: COM9 using 2-pin cJTAG.

Reading file: C:/Users/wunsch/OneDrive/Home Automation/Zigbee Sonoff 3.0 USB plus/Firmware/Router/CC1352P2_CC2652P_launchpad_router_20221102.hex.
Unknown record type: 3.
Reset target ...
Reset of target successful.`

Flashing with the previous version of the Router works perfectly: CC1352P2_CC2652P_launchpad_router_20210128.hex
Screenshot  - CC1352P2_CC2652P_launchpad_router_20210128.hex:

Log - CC1352P2_CC2652P_launchpad_router_20210128.hex:

Initiate access to target: COM9 using 2-pin cJTAG.
Reading file: C:/Users/wunsch/OneDrive/Home Automation/Zigbee Sonoff 3.0 USB plus/Firmware/Router/CC1352P2_CC2652P_launchpad_router_20210128.hex.
Start flash erase ...
Erase finished successfully.
Start flash programming ...
Programming finished successfully.
Start flash verify ...
Skip verification of unassigned page: 24.
Skip verification of unassigned page: 25.
Skip verification of unassigned page: 26.
Skip verification of unassigned page: 27.
Skip verification of unassigned page: 28.
Skip verification of unassigned page: 29.
Skip verification of unassigned page: 30.
Skip verification of unassigned page: 31.
Skip verification of unassigned page: 32.
Skip verification of unassigned page: 33.
Skip verification of unassigned page: 34.
Skip verification of unassigned page: 35.
Skip verification of unassigned page: 36.
Skip verification of unassigned page: 37.
Skip verification of unassigned page: 38.
Skip verification of unassigned page: 39.
Skip verification of unassigned page: 40.
Skip verification of unassigned page: 41.
Skip verification of unassigned page: 42.
Page: 0 verified OK.
Page: 1 verified OK.
Page: 2 verified OK.
Page: 3 verified OK.
Page: 4 verified OK.
Page: 5 verified OK.
Page: 6 verified OK.
Page: 7 verified OK.
Page: 8 verified OK.
Page: 9 verified OK.
Page: 10 verified OK.
Page: 11 verified OK.
Page: 12 verified OK.
Page: 13 verified OK.
Page: 14 verified OK.
Page: 15 verified OK.
Page: 16 verified OK.
Page: 17 verified OK.
Page: 18 verified OK.
Page: 19 verified OK.
Page: 20 verified OK.
Page: 21 verified OK.
Page: 22 verified OK.
Page: 23 verified OK.
Page: 43 verified OK.
Verification finished successfully.
Reset target ...
Reset of target successful.`

So I can flash the previous version of the Router Software, but not the recently released one.
(But I am looking forward to this change very much :) : "•	Fix directly connected Xiaomi devices disconnecting")
Same on 2 different Sonoff Sticks
I tested with 2 different Sonoff-Zigbee-3.0 devices - both show the same issue.
Same problem withe ZZH-Stick
CC2652R_router_20221102.hex
Log:
`>Reset target ...

Reset of target successful.
Initiate access to target: COM10 using 2-pin cJTAG.
Reading file: C:/Users/wunsch/OneDrive/Home Automation/CC2652R - zzh/Router/CC2652R_router_20221102.hex.
Unknown record type: 3.
Reset target ...
Reset of target successful.`

I also have the same problem with SONOFF Zigbee 3.0 USB dongle-p and Texas flash programmer:

Initiate access to target: COM8 using 2-pin cJTAG.
Reading file: C:/Users/AC12/Desktop/AAAAAAAAAAAAAAA TEMP/CC1352P2_CC2652P_launchpad_router_20221102 (1)/CC1352P2_CC2652P_launchpad_router_20221102.hex.
Unknown record type: 3.
Reset targets ...
Reset of target successful.
If I launch the update for coordinator version (CC1352P2_CC2652P_launchpad_coordinator_20221226.hex),
everything works fine...

Thanks, @Koenkk !
Sorry for the bother, and that I did not attempt a different flashing tool.
I did not even consider that!!

Same situation  is it a solution?

Initiate access to target: COM3 using 2-pin cJTAG.
Reading file: C:/Temp/Sonoff/CC1352P2_CC2652P_launchpad_coordinator_20230507.hex.
Unknown record type: 3.
Reset target ...
Reset of target successful.

same hear


Remove tox and requirements files

Dependencies and tests are now managed with pipenv and make. See the
README for details.

Coverage remained the same at 70.577% when pulling 14c68cde6dbb2ca03e06a76b54f6668160eee174 on remove-old-build into e989af43923f96c0cd298c8eda6522dddd65e7c0 on master.


Running SonarQube on localhost, DependencyCheck cannot find HTML report

Hello,
I'm running my SonarQube locally. I installed the DependencyCheck plugging and I manage to generate the json and html reports which I can manually open but SonarQube cannot find. On SonarQube, it shows a message that says...
No HTML-Report found. Please check property sonar.dependencyCheck.htmlReportPath
I added the below to my sonar-project.properties file...
sonar.dependencyCheck.htmlReportPath=dependency-check-report.html
I tried a few combinations such as putting the full path to the file as in $HOME/mypath/dependency-check-report.html and ./dependency-check-report.html but always same result, the plugin seems like it can't find the report.
Any suggestion on how to write that path when running SonarQube locally?
Thank you.

This is more a topic for the Sonarqube community, but as I use it myself as well I might still be able to help you towards the solution..
The location where your sonarqube server resides is irrelevant. The property needs to have the right value for the sonarqube scanner that you run.
You're talking about a plugin not finding it regardless of what you enter in sonar-project.properties.
What plugin would that be?

I got it working. While I was preparing to answer your question, I noticed that my scan was failing. Well, the scan was showing on the command line as 'INFO  EXECUTION SUCCESS' but on SonarQube, on the Background Tasks, it showed as failed with an error as 'java.lang.OutOfMemoryError: Java heap space'.
I realise that running out of memory was because I was creating the Dependency Check report on the root of the project and SonarQube was analysing that file too but it was too large to cope with it.
I moved the report files to a sud-directory and added it to the exclude list of the scanner. After doing this, it all worked fine and now I get SonarQube to open the report.
Thank you @aikebah for coming back to me willing to help, that is great :-)
A follow up question though... On my sonar-project.properties, I had to set the absolute path to my reports. Is there a way to use some env variable?
This is my sonar-project.properties content...
sonar.projectKey=myproject

# Remove autogenerated files and do not remove testing files
sonar.exclusions=**/.dependecycheck/*

# Include code coverage analysis
sonar.go.coverage.reportPaths=coverage.out

# Vulnerability Checks
sonar.dependencyCheck.jsonReportPath=/home/mycomputer/path/to/project/myproject/.dependecycheck/dependency-check-report.json
sonar.dependencyCheck.htmlReportPath=/home/mycomputer/path/to/project/myproject/.dependecycheck/dependency-check-report.html

sonar.dependencyCheck.severity.high=7.0
sonar.dependencyCheck.severity.medium=4.0
sonar.dependencyCheck.severity.low=0.0

sonar.dependencyCheck.securityHotspot=true

Is there a way to substitute /home/mycomputer/path/to/project/ by a variable? I have tried using the $HOME variable to shorten that path but it did not work.
Thanks.

I have mainly experience with the maven-plugin as the sonar-scanner in use, where the configuration goes into the pom.xml and can use maven property configuration parameters.
Based on the plugin's default (targeting Jenkins) of ${WORKSPACE}/dependency-check-report.html can you try what happens when you replace $HOME by ${HOME}? Not sure it would work, but maybe env variable references in sonar-project.properties  need to be braces-delimited to be properly replaced.

Looks like indeed the ${ } demarcation is required as per https://github.com/SonarSource/sonar-scanner-cli/blob/a3c341f0b95704ed1b1d17e2273fb0458a9c5db6/src/main/java/org/sonarsource/scanner/cli/PropertyResolver.java#L30

Gut feel browsing further in that codebase is that you need to use ${env.HOME} as the placeholder for your env-variable.

Yeap, ${env.HOME} worked great!
Thanks a lot for your help, this will make things so much easier.


Add constraints field to TransactionLayer

Issue Number
ADP-839
Overview
This PR:

[x] adds field constraints of type TxConstraints to the TransactionLayer record type.
[x] adds an implementation of constraints to Shelley.Transaction.TransactionLayer.
[x] adds property tests to demonstrate the correctness of Shelley.Transaction.TransactionLayer.constraints.

Refactoring
This PR also:

[x] makes TxSize into a concrete type exported by Primitive.Types.Tx.
[x] removes calcMinimumCoinValue from TransactionLayer, as TxConstraints.txOutputMinimumAdaQuantity makes this redundant.

Future work
This PR will make it possible to:

remove tokenBundleSizeAssessor from TransactionLayer, as TxConstraints.txOutputMaximumSize makes this redundant.

bors r+

bors r+

bors r+

bors r-
Let's do the release first, then try to merge this.

bors r+

bors r-

bors r+


add route based code splitting / lazy loading

As per #1

Code-splitting by default with vue-router

Lazy loading via routes requires these little tweaks in the router to make it work.
Webpack will now split off route based chunks and HTMLWebpackPlugin will add a prefetch script tag to the top of the HTML. Could possibly slow down performance very slightly in a small app like this, but I'll leave it to you to decide.
Vue docs that cover this: https://router.vuejs.org/en/advanced/lazy-loading.html
Ps. hi @cheneytsai 😃
-conrad

Thanks for the PR! I'll take a look at this shortly.

So reviewing this, as you noted it will cause the initial default route to get shifted into a separate chunk so that we end up fetching 4 scripts before the page is useful. This would introduce 1 x additional network request and in this case.

But let's WPT it out.

It appears the impact of the change is negligible.
Comparison: https://www.webpagetest.org/video/compare.php?tests=170420_B9_3VK,170420_TF_3V6
Before: https://www.webpagetest.org/result/170420_B9_3VK/
After: https://www.webpagetest.org/result/170420_TF_3V6/
I'm personally on the fence/leaning towards not opting for this change - any thoughts @yyx990803?

I think this should be left out for the user to implement - optimal code splitting is usually case-specific and requires actual testing and hand-tuning.

That sounds reasonable to me. Thanks for the input! Appreciate the PR @zyzski (and hope you're consider continuing to contribute if you have suggestions!). Going to pass on this one for now.

no problem 👍


close vnc client connection on container remove

fixes #154

Codecov Report

Merging #156 into master will decrease coverage by 0.65%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #156      +/-   ##
==========================================
- Coverage   75.04%   74.38%   -0.66%
==========================================
  Files           5        5
  Lines         565      570       +5
==========================================
  Hits          424      424
- Misses        120      125       +5
  Partials       21       21

Flag
Coverage Δ

#unittests
74.38% <0%> (-0.66%)
:arrow_down:

Impacted Files
Coverage Δ

selenoid.go
72.93% <0%> (-1.23%)
:arrow_down:

Continue to review full report at Codecov.

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


Bugfixes/consistency improvements for multiline stuff

Movement::{BeginningOfLine,EndOfLine,etc} now actually go to beginning/end of the line.
Movement::BeginningOfBuffer, etc was added to get the original functionality back.
Fix some off-by-one bugs in the line movement code.
Make it easier to test the multiline functionality by adding a matching bracket validator, and using it in the examples.

zsh seems to escape only '\n':
echo "\test\
t"
echo "\test\\
t"

But zsh is buggy if line ends with a backslash:
$ echo test\\
$ # a space is appended in history

That part is just so that if you have a multiline history item, after saving/loading it doesn't come back as individual lines.

With bash, Ctrl-A/Ctrl-E|Ctrl-U/Ctrl-K moves|kills to begin/end of buffer even with multiline input.
Maybe we should keep the current behaviour ?

It's a mix with what does what -- fish-shell and... every text editor supporting these have it go to the beginning of the line.
Also, as an anecdote: I use these very commonly and find going to the beginning of the buffer very frustrating (as it behaves differently than text editors).

Ok.

Anything left for this PR to get merged (except resolving conflicts of course)? We already use the code from the branch, and are pretty happy with it.

Sorry, I was mistaken that I'd have time last weekend, but I have nothing else planned for this weekend/tomorrow afternoon and will rebase it.

This should be good now.

Thanks.


Black bar at the top of the spyder 3 IDE causing miss click issue

Problem Description

black bar at the top of the editor.
doesn't seem like a big deal but causes the cursor to click lower than intended.
when i click on a line in the editor it would mark the row below.
i believe this has to do with dpi issues, since i use dual monitors, and when i switch to the other monitor it seems fine. my windows 10 display settings in the "scale and layout" section are set to the same resolution on both screens, although the small screen has the "change the size of text, apps, and other items" box set to 150%. when i change the other screen to 150% as well, it works fine and there is no black bar (but then my entire windows 10 has huge icons and text on the large screen which makes this a very weak solution).
What steps reproduce the problem?
just opening Spyder IDE is enough.
Versions

Spyder version: 3.2.8
Python version: 3.6.5 64bits
Qt version: 5.9.4
PyQt version: 5 5.9.2
Operating System name/version: windows 10

Dependencies
IPython >=4.0    :  6.3.1 (OK)
cython >=0.21    :  0.28.2 (OK)
jedi >=0.9.0     :  0.12.0 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
numpy >=1.7      :  1.14.2 (OK)
pandas >=0.13.1  :  0.22.0 (OK)
pycodestyle >=2.3:  2.4.0 (OK)
pyflakes >=0.6.0 :  1.6.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.8.4 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
rope >=0.9.4     :  0.10.7 (OK)
sphinx >=0.6.6   :  1.7.4 (OK)
sympy >=0.7.3    :  1.1.1 (OK)

Hmm, @ccordoba12 could it have something to do with an invisible UI element not scaling properly at such high resolutions, or something like that? @YoniPorat What resolutions are your two monitors, exactly?

@YoniPorat, please close the Help pane and try again.

@ccordoba12 Yup, that fixed it. once the help window was closed the black bar has gone away. there are no miss click issues anymore as well. as long as i don't need help, it all works great! thank you both very much for the help @ccordoba12 @CAM-Gerlach .

No, it shouldn't. Are you able to reproduce it? I think this is a Win 10 only problem.

Oops, sorry about that... let me know if you have anymore questions for me.

@YoniPorat, no worries. We need a way to reproduce this so we can fix it, but so far we haven't had time to do it.

Testing on my Windows 10 1709 system with the same versions of anything important and help open, (Spyder 3.2.8, Qt 5.9.4, PyQt 5.9.2, Python 3.6.5 x64, Sphinx 1.7.4, 2x1200p monitors, and the rest generally identical as well), I was only able to partially reproduce it. The best I managed was to get the black bar, but it was on the bottom of the window, not the top, and had no effect on functionality; it just took away a few dozen pixels of vertical real estate and that was it. There were some other graphics glitches though which had more of an impact. @YoniPorat , what version (e.g. 1709) of Windows 10 are you running it on?
It only happens on Qt 5.9, not 5.6 (as did some of the other glitches, or vice-versa), when monitors have different scaling ratios, and when Spyder is on the monitor that has the scaling applied. I tried it on two 1920 x 1200 monitors, and two 1600 x 900 monitors, and experienced exactly the same effects on each; also, which monitor I launched Spyder on didn't cause any differences. Which monitor was the primary when applying a scaling setting (1 is always the primary, 2 is always the secondary, and I tried it on both) did have an impact, but only to one of the other glitches, not the black bar.
Summary of findings and glitches (plain items are good, bold items are bad, italic items are neutral):
In Qt 5.6:

No black bar
Window title bar never scaled
UI Text scaled always based on current monitor scaling
UI element size always scaled based on primary monitor scaling
Help pane display always scaled based on primary monitor scaling

In Qt 5.9:

Black bar on scaled monitor
Window title bar scaled on scaled monitor, but covers up part of menu bar
UI Text scaled always based on current monitor scaling
Some UI element sizes always scaled based on current monitor scaling, others based on primary
Help pane display always scaled based on primary monitor scaling

In full, for the record, here are the results:
Qt 5.6 Results
150% Scale on 1 (primary), 100% on 2
Monitor 1:

Monitor 2:

100% Scale on 1 (primary), 150% on 2
Monitor 1:

Monitor 2:

Qt 5.9
150% Scale on 1 (primary), 100% on 2
Monitor 1:

Monitor 2:

100% Scale on 1 (primary), 150% on 2
Monitor 1:

Monitor 2:

@CAM-Gerlach My laptop is running windows 10 version 1709.
also i would like to point out that one of the screens i am using is the laptop screen which is significantly smaller than the other. currently using the lenovo ideapad 510s which has a 14" screen connected to a Samsung SyncMaster S23B300 23" screen (which i mostly use obviously).

My laptop is running windows 10 version 1709.

Thanks; so the same version then.

which is significantly smaller than the other

For these purposes, size doesn't matter, at least physical size that is. An application has no way of reliably determining such, and therefore doesn't care. All that matters in the resolution, and what scaling factor one uses. So long as the resolution of both were identical, or to two very different sized monitors for the purposes of the test, they should all behave identically. (Incidentally, one of the screens I used was also small, a 17 in (44 cm) laptop; the other two were 24 in (61 cm) IPS monitors). In this case, even when I tested different resolutions—1600 x 900, 1920 x 1080 and 1920 x 1200—I got the very same results.

No one else has reported this issue. I would close this.

This was solved by using the software OpenGL renderer in Qt by default.


PIP 110: Support Topic metadata

Fixes #12629
Motivation
The original discussion mail :
https://lists.apache.org/thread/m9dkhq1fs6stsdwh78h84fsl5hs5v67f
Introduce the ability to store metadata about topics.
This would be very useful as with metadata you could add labels and other
pieces of information that would allow defining the purpose of a topic,
custom application-level properties.
This feature will allow application-level diagnostic tools and maintenance
tools to not need external databases to store such metadata.
Imagine that we could add a simple key value map (String keys and String
values) to the topic.
These metadata could be set during topic creation and also updated.
Modification

Add two new rest API reduce compatibility issue :
@Path("/{property}/{cluster}/{namespace}/{topic}/partitions/properties")
@Path("/{tenant}/{cluster}/{namespace}/{topic}/properties")

Add below new methods in Topics.java :
createPartitionedTopic(String topic, int numPartitions, Map<String, String> properties);
createPartitionedTopicAsync(String topic, int numPartitions, Map<String, String> properties);
createNonPartitionedTopic(String topic, Map<String, String> properties);
createNonPartitionedTopicAsync(String topic, Map<String, String> properties);

Documentation

[ x ] no-need-doc

Do we have a way to get the properties? Looks like the PR just supports set properties, but is not able to get the properties.

These new properties are put in PartitionedTopicMetadata. So we can get it from getPartitionedMetadata

BTW, could you check https://github.com/apache/pulsar/issues/12629#issuecomment-1003723222? I have the same concern that for a partitioned topic, what's the behavior when an individual partition's properties was set?
For example, I ran following commands:
curl -L http://localhost:8080/admin/v2/persistent/public/default/xxx/partitions -X PUT -H 'Content-Type: application/json' -d '{"partitions":"3","properties":{"k1":"v1","k2":"v2"}}'
curl -L http://localhost:8080/admin/v2/persistent/public/default/xxx-partition-0 -X DELETE
curl -L http://localhost:8080/admin/v2/persistent/public/default/xxx-partition-0 -X PUT -H 'Content-Type: application/json' -d '{"k3":"v3"}'

Create a partitioned topic xxx with 3 partitions and properties k1 -> v1, k2 -> v2.
Delete the 1st partition (xxx-partition-0).
Create the 1st partition with properties k3 -> v3.

The 3rd step works well but I think it should be prevented. /cc @eolivelli Is it what you concerned?

BTW, could you check #12629 (comment)? I have the same concern that for a partitioned topic, what's the behavior when an individual partition's properties was set?
For example, I ran following commands:
curl -L http://localhost:8080/admin/v2/persistent/public/default/xxx/partitions -X PUT -H 'Content-Type: application/json' -d '{"partitions":"3","properties":{"k1":"v1","k2":"v2"}}'
curl -L http://localhost:8080/admin/v2/persistent/public/default/xxx-partition-0 -X DELETE
curl -L http://localhost:8080/admin/v2/persistent/public/default/xxx-partition-0 -X PUT -H 'Content-Type: application/json' -d '{"k3":"v3"}'

Create a partitioned topic xxx with 3 partitions and properties k1 -> v1, k2 -> v2.
Delete the 1st partition (xxx-partition-0).
Create the 1st partition with properties k3 -> v3.

The 3rd step works well but I think it should be prevented. /cc @eolivelli Is it what you concerned?

Ok。

Hi there. Since the metadata can be created on topic level. Any plan for adding metadata update logic for topic?

Hi there. Since the metadata can be created on topic level. Any plan for adding metadata update logic for topic?

https://github.com/apache/pulsar/pull/17238


Document cleanup of system events (Mendix 9.9.0)

Describe automatic cleanup and its configuration of:

System.ProcessedQueueTask
`System.ScheduledEventInformation

The settings are introduced in Mendix 9.9.0.

This PR replaces https://github.com/mendix/docs/pull/3899.


Few typos on the documentation

Hi, I guess there is others, but that's it for the first pages.

This is a great addition, ty!

I will finish to proof-read the other pages of the doc.
Thanks for this great project! :clap: !


Vphysics Jolt not working on linux build of Garry's Mod

I'm not sure if it's just me and I did something wrong, but I followed the instructions as said in the readme.txt within the zip, then launched gmod as normal. After launching my own local server for testing, turns out that none of the vjolt_ commands are showing up in the console nor am I getting the results of what I expected from videos of messing around with the physics as shown in a few youtube videos. (1) (2) (3)
There's also vphysics_client.so and vphysics_stub_client.so that aren't present in the Windows build of Gmod, is there more going on here, or? I don't see any other issues made in this git that talks about this happening in linux.

Okay it works, but under heavy physics or ragdolls, it crashes the game with a corrupted double-link list error when steam is launched from terminal.
Should I move this to a new issue?

That's just https://github.com/Joshua-Ashton/VPhysics-Jolt/issues/17

oh my bad! noted


Support for IPython 4.0

I recently installed version 4.0 of IPython, where a full switch to Jupyter for the notebook app was made.  Consequently, any of the notebook profiles (like julia) that were installed are not recognized now.  Do you have any suggestions as to how I can get IJulia to work with IPython 4.0/Jupyter?
Thanks!

Have you tried to reinstall IJulia? I'm under the impression that we've already dropped the support for ipython profile and switched fully to use the kernel spec on the master.

Hmm, I just installed it earlier, I can try to remove and install again.  I noticed I got it to work when I change the command being run in the notebook function in IJulia.jl to: run(jupyter notebook)
Of course, I first had to move over the config settings from the profile_julia folder in .ipython to jupyter_notebook_config.py in .jupyter.

Just do Pkg.checkout("IJulia") to get the version that uses the Jupyter protocol exclusively.
I should probably go ahead an pull the trigger on tagging this, so that you don't need master.  I've been using it for a while and it seems quite stable, and I think most people have IPython 3 these days.
(I'm mainly worried about Ubuntu users, since the latest Ubuntu is still on IPython 2.x.)

See #325

Using the master branch (via Pkg.checkout) didn't seem to work.  When I initialize IJulia (running "using IJulia"), it outputs a warning saying:
Warning: error initializing module IJulia:
Base.MethodError(f=srand, args=(Base.Random.MersenneTwister(state=Base.dSFMT.DSFMT_state(val=Array{Int32, 1} [lots of random numbers]))))
That said, I am able to call "notebook()", and this starts IPython notebook.  However, using version 4.0, it does not seem to read any of the kernels (including the Julia one) from .ipython/kernels.  The only one that appears is for my version of Python.
Any ideas?
Thanks!

What is the output of Pkg.build("IJulia")?

Here is the output:
julia> Pkg.build("IJulia")
INFO: Building WinRPM
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3
2/openSUSE_13.1/repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win6
4/openSUSE_13.1/repodata/repomd.xml
INFO: Building Nettle
INFO: Updating WinRPM package list
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3
2/openSUSE_13.1/repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win6
4/openSUSE_13.1/repodata/repomd.xml
INFO: Building ZMQ
INFO: Building IJulia
Found IPython version 4.0.0 ... ok.
Writing IJulia kernelspec to C:\Users\F585581.ipython\kernels\julia-0.3\kernel.
json ...
(Existing logo-32x32.png file untouched.)
(Existing logo-64x64.png file untouched.)
Note, this is a Win 7 machine.
Thanks!

And after running that, the Julia kernel still does not show up in ipython notebook?

Only if I add this line to the jupyter_notebook_config.py:
c.NotebookApp.port = 8998
However, I still get the Method errors from Julia, as it is complaining about the srand method in init in IJulia.jl.  So when I call notebook, and then attempt to open a notebook using Julia, attempts to reach the kernel time out and I see additional Method errors like I see when I initialize IJulia (calling "using IJulia").

@pazzo83, the old port for IJulia was 8998, so you're probably just going to the wrong URL out of habit in your browser.   The default port is 8888, so you should be going to localhost:8888.  (Running ipython notebook should automatically open this URL in your browser.)
Regarding the method errors, it could be that the latest IJulia master inadvertently depends on Julia 0.4; I'll check it out right now and fix it soon if so.

Understood, if I remove that override (for the port) and have it default to 8888, then only "Python" shows up as an available notebook, and not "Julia".  Quite strange, could be an issue on my end.

@pazzo83, maybe you are running another IPython/Jupyter process already.

Thanks for all your help!  Got it working running 0.4-dev (a version from July 28th).  Probably an IPython thing, but the 0.3.11 Julia version was still showing up in the drop down from the main page, even though I've long since deleted that kernel (I basically removed the .ipython folder entirely before I checked out the IJulia master branch, then let it rebuild it running Pkg.build("IJulia")).  Anyways, that strange srand error is now gone as well.
Thanks!!

I will be pushing an update to Compat soon that will fix the srand issue on 0.3.  (It turned out to be fairly involved; there was quite a lot of code that was added to 0.4 in order to expand random-number support for non-global state.)

Okay, with Compat 0.6 it should work again with Julia 0.3.


Animated aim cursor sprites

Nice-up the aim cursors with animated sprites

Aim cursors improved in 086e77460a40ca46a853d405a0e022aab9935217
Not animating

Would be nice animated


docs and cleanup

add docstrings to the decorators that are used on the event handlers, so it shows the method signature that should be used for each event handler.
add the method get_source_uri_from_trigger(), which is handy for device-to-device calling.
invoke an fstring when logging the listening port.
clarify up some of the docstrings for the calling actions (place_call, answer_call, hangup_call).

Will want to do the same get_source_uri_from_trigger and calling docstrings in all the other SDKs.


[10.x] Adjust Eloquent Builder __call to return the result of the forwardCallTo

The Eloquent builder __call method forwards a call to the Base builder. The problem is that the result of the forwarded call is ignored. This PR fixes that by returning the value of forwardCallTo.

No explanation of what is fixed or why it is needed.


Build on supported version of go fails

It isn't possible to build the binary with go 1.16+. Support for 1.15 was dropped back in August. Right now it's not possible to build the package with a supported version of go. The go vet step in checkstyle.sh fails because the project doesn't use modules (see #11 for a fix for that). Then doing the build it fails with multiple go.mod file not found in current directory or any parent directory; see 'go help modules' errors.
Please apply #11 so this project can be built with modern go.

I tried export GO111MODULE=auto as a "lightweight alternative" to #11 (which is a major change in the package structure, with >5000 file changes).
This still fails:
# _/home/slate/session-manager-plugin/src/sessionmanagerplugin/session/portsession
src/sessionmanagerplugin/session/portsession/basicportforwarding.go:169:2: misuse of unbuffered os.Signal channel as argument to signal.Notify
src/sessionmanagerplugin/session/portsession/muxportforwarding.go:182:2: misuse of unbuffered os.Signal channel as argument to signal.Notify
make: *** [makefile:18: checkstyle] Error 2

Any updates?

Any updated on this fix


[New game]:  Russian Roulette

🎮 Game Request

A simple Russian Roulette Game Where you test your luck by shooting bullets by Clicking a Button.
The Gun has a 33% chance of shooting and if shot a shooting sound plays and you die and the death counter increases.

Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hello @Harshitmishra001, Time's up!⏰
Sorry for closing your issue!
But it's more than a week since we haven't received anything from your side 😢 .
Come up with new ideas, create a new issue and make sure you finish it within a week! 🔥
All the best! 🚀
Happy Hacking! 💗

Hey @Harshitmishra001 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Add counter and hint to TextInput

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/7522
Tests | QA Steps

Check that there is no visual change to the TextInput itself.

[x] Verify that no errors appear in the JS console

Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Web | Desktop

Mobile Web

iOS

Android

Can you help me understand why you chose to make FormHelp a separate component. Is it because we plan to use the same form help text on other input types?

Can you help me understand why you chose to make FormHelp a separate component. Is it because we plan to use the same form help text on other input types?

Yeah, exactly. I think other components(picker, DatePicker, etc) will need the same to apply the correct margin and padding. So we will eventually give up InlineErrorText component.

Yeah, exactly. I think other components(picker, DatePicker, etc) will need the same to apply the correct margin and padding. So we will eventually give up InlineErrorText component.

I'm not sure we will end up reusing this. Those inputs will most likely not require a hint nor character count.

Changes done.

OK, Changes are done @luacmartins @puneetlath. Updated screenshots. Thanks.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to production by @timszot in version: 1.1.39-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

Issue 1 -
Title- [Medium]: Chrome+ Jaws : Screen reader :Role is not defined for the 'Save' control.
Actual - Focus lands on the Save control  and screen reader is reading "Save".
Note - Reading "Group" on MAC.
Expected - Role = 'Button' should be defined for the Save control and when focus lands on the Save control then screen reader should read "Save button".
WCAG failure - 4.1.2
Reproducible in staging?: - Yes
Version Number: - v1.1.39-3
Platforms - Mobile-Web, iOS
Note - Due to installation of build not able to check on Android
https://user-images.githubusercontent.com/97600950/156965505-e9f5926f-cffb-46bf-b52b-4b913789e4bc.mp4
Issue 2 -
Title-[High] Chrome + Jaws: Screen reader : Error message is not announced by the screen reader
Actual - Screen reader does not announce any inline error message appear below to text boxes.
Expected - Inline error message should be conveyed to the users as soon as it appear on the  fields so that user can resolve the error.
WCAG failure - 3.3.1
Reproducible in staging?: - Yes
Version Number: - v1.1.39-3
Platforms - Web, Desktop, Mobile-web, iOS
https://user-images.githubusercontent.com/97600950/156965823-dd22064c-7876-41de-be24-ac2594be10d5.mp4
Note - Due to installation of build not able to check on Android
Issue 3 -
Title-[Medium] Chrome +Jaws: Screen reader : Status message is not being announced by screen reader
Actual - Status message 'Your profile was successfully saved' is not announced by the screen reader.
Expected - Status message 'Your profile was successfully saved' should announce by the screen reader.
WCAG failure - 4.3.1
Reproducible in staging?: - Yes
Version Number: - v1.1.39-3
Platforms - Web, Desktop(Voiceover), Mobile-web(Safari + Voiceover), iOS
Note - Due to installation of build not able to check on Android


sonusmix: init at 0.1.1

Init sonusmix at 0.1.1, Next-gen Pipewire audio routing tool, https://codeberg.org/sonusmix/sonusmix
Fixes #350986

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4749


[TEST ONLY][SQL] Test resolve column references with PLAN_ID

What changes were proposed in this pull request?
https://github.com/apache/spark/pull/39925 introduced a new approach to resolve column references with PLAN_ID, this PR tests what will happen if we apply it in regular Spark SQL.
Why are the changes needed?
NA
Does this PR introduce any user-facing change?
NO
How was this patch tested?
CI
Was this patch authored or co-authored using generative AI tooling?
NO

@zhengruifeng can we rebase and rerun the tests? The new df col framework got several bug fixes and let's try it out again.


Add a method for setting up firewall

I'll make this a separate .exe.  It will
upgrade itself to run-as admin
Check to see if the firewall rules are already in place
Add the necessary inbound and outbound rules

Inbound to BrainSim (ports?)
Outbound from BrainSim
Inbound to NeuronServer (Ports?)
Outbound to NeuronServer

Make sure it is properly documented as to what it does. Users are a bit shy when it comes to programs requiring elevation.
Maybe write out the actions undertaken to the console as they happen.

This would also fix #38 possibly.

So far it does not seem to fix anything, according to the following scenario:

Run SetupFireWall as administrator, answer Y to all prompts.
Start a NeuronServer, either on the same or another machine.
Start Brain Simulator II, choose New Network.
Check Use Servers box, see 'No Servers Detected'.
Click Refresh, still no servers.

This bug has been solved now...


Error detected while processing /Users/congshi/.vim_runtime/sources_non_forked/tlib/plugin/02tlib.vim

$ tmux
$ git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime
$ sh ~/.vim_runtime/install_awesome_vimrc.sh
$ vim
Error detected while processing /Users/congshi/.vim_runtime/sources_non_forked/tlib/plugin/02tlib.vim:
line   77: E1208: -complete used without -nargsError detected while processing /Users/congshi/.vim_runtime/sources_non_forked/vim-fugitive/plugin/fugitive.vim:
line  431: E1208: -complete used without -nargsline  432: E1208: -complete used without -nargsline  436: E1208: -complete used without -nargsline  440: E1208: -complete used without -nargs
Press ENTER or type command to continue

I encountered the same issue.

After vim was upgraded to 8.2.3200 by brew, I also encountered this problem.

Just checked. I seems like we use https://github.com/vim-scripts/tlib, which wasn't updated in years. https://github.com/tomtom/tlib_vim has this fixed and works fine. Maybe we should replace the plugin?
Got the same error with fugitive, but there the latest version also fixed it.

Just saw that there is a PR already 😄 #650

#650 is now merged 👍


Add Log repository

Log is in use via https://github.com/arduino/library-registry/blob/main/repositories.txt#L4614C38-L4614C40 https://github.com/ploys/arduino-logger - last release in October, 2017 https://github.com/nik-sharky/arduino-logger/releases/tag/v1.0.1

Hi @per1234,
Thank you so much for taking the time to provide such a thorough and detailed review of my library submission! I really appreciate the feedback and will work on making the necessary changes to ensure compliance with the Arduino Library Specification.
Just out of curiosity, could you clarify your role in this process? I’d love to know more about how you’re involved in the Arduino ecosystem for future contributions.
Thanks again for your guidance, and I look forward to getting the library up to standard!

could you clarify your role in this process?

I'm the primary maintainer of this repository, and responsible for the development of its infrastructure.


Dropped support for Node 16 make ghost update error database migrate

Issue Summary
Dropped support for Node 16 on ghost v5.70 made ghost update database error.
Cannot rollback to old version as well.
Steps to Reproduce

Update Nodejs 18.18.12 from Nodejs 16.20
Upgrade ghost with CLI ghost update

Ghost Version
5.71.0
Node.js Version
18.18.2
How did you install Ghost?
Ubuntu, v22.04.3 LTS, 2CPU 2GB RAM NVMe SSD
Database type
MySQL 8
Browser & OS version
No response
Relevant log / error output
Message: Ghost was able to start, but errored during boot with: connect ECONNREFUSED ::1:3306
Help: Unknown database error
Suggestion: journalctl -u ghost_domain-com -n 50

Code of Conduct

[X] I agree to be friendly and polite to people in this repository

same issue. @cuongtqtran did you find any solution?


Extend taint analysis to inline listener decl

Purpose
// We have missed analyzing the taintedness of listeners when declared inline such as below
service mediator on new http:Listener(9090) {
    @http:ResourceConfig {
        methods: ["GET"],
        path: "/hello/{name}"
    }
    resource function hi(http:Caller caller, http:Request request, string name) {
        var err = caller -> respond("hello "+ name);
    }
}

Fixes https://github.com/ballerina-platform/ballerina-lang/issues/19954
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

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

@@           Coverage Diff           @@
##           master   #20148   +/-   ##
=======================================
  Coverage    19.9%    19.9%
=======================================
  Files          55       55
  Lines        1437     1437
  Branches      218      218
=======================================
  Hits          286      286
  Misses       1138     1138
  Partials       13       13

Continue to review full report at Codecov.

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