Unable to run a non-system app

I made a simple program to launch an app in a simulator, but it's not working :/ I started with the code example, in the Readme for launching safari, and that worked great.
Then I replaced the configurationWithApplication argument to be
[FBSimulatorApplication
  applicationWithPath: @"/Path/to/My.app"
  error:&error]

Instead of the previous [FBSimulatorApplication systemApplicationNamed:@"MobileSafari"]
Inspecting the resulting, it seemed to have loaded the bundleId, binary path, etc. correctly, and it started the simulator, but it failed to install & launch my app.
Here's the error:
Domain=com.facebook.FBSimulatorControl Code=0 "Failed to launch application" UserInfo=0x10144bd00 {NSLocalizedDescription=Failed to launch application, launchd_is_running=true, launchd_subprocesses=(
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/sbin/syslogd | PID 34083",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/libexec/UserEventAgent (System) | PID 34084",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/FileProvider.framework/Support/fileproviderd | PID 34085",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/libexec/routined | PID 34086",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/MediaStream.framework/Support/mstreamd | PID 34087",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/MediaRemote.framework/Support/mediaremoted | PID 34088",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/IDSSimulatorSupport.framework/Support/ids_simd | PID 34089",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/libexec/installd | PID 34091",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/identityservicesd | PID 34092",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/TouchRemote.framework/Support/touchsetupd | PID 34093",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/CoreServices/AppleIDAuthAgent | PID 34094",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/WatchKit.framework/Support/companionappd | PID 34095",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/AssetsLibrary.framework/Support/assetsd | PID 34096",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/libexec/wcd | PID 34097",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/CoreServices/SpringBoard.app/SpringBoard | PID 34098",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/libexec/backboardd | PID 34099",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/libexec/locationd | PID 34101",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/libexec/assertiond | PID 34102",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/GenerationalStorage.framework/revisiond | PID 34103",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/CoreSimulator/RuntimeOverlay/usr/libexec/SimulatorBridge | PID 34104",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/libexec/configd_sim -d | PID 34105",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/CoreSimulator/RuntimeOverlay/usr/libexec/CoreSimulatorBridge | PID 34106",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/sbin/notifyd | PID 34107",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/sbin/cfprefsd daemon | PID 34108",
    "Process aslmanager | PID 34109",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/libexec/MobileGestaltHelper | PID 34110",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/libexec/nsurlsessiond | PID 34111",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/libexec/securityd | PID 34112",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/sbin/distnoted daemon | PID 34113",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/TelephonyUtilities.framework/callservicesd | PID 34114",
    "Process /usr/libexec/pkd -d/tmp/PlugInKit-Annotations | PID 34116",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/TCC.framework/tccd | PID 34118",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/ApplePushService.framework/apsd | PID 34119",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/libexec/networkd | PID 34120",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/MobileContainerManager.framework/Support/containermanagerd | PID 34122",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/libexec/mobileassetd | PID 34123",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/CarKit.framework/Support/carkitd | PID 34124",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/ManagedConfiguration.framework/Support/profiled | PID 34125",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/UserActivity.framework/Agents/useractivityd | PID 34126",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Applications/MobileSafari.app/webbookmarksd | PID 34127",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/Accounts.framework/accountsd | PID 34128",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetCacheServices.framework/XPCServices/AssetCacheLocatorService.xpc/AssetCacheLocatorService -d | PID 34129",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/iTunesStore.framework/Support/itunesstored | PID 34130",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Applications/ServerDocuments.app/PlugIns/ServerFileProvider.appex/ServerFileProvider | PID 34131",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/libexec/nsurlstoraged | PID 34132",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/libexec/nanoregistryd | PID 34136",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/libexec/lsd runAsRoot | PID 34137",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/CalendarDaemon.framework/Support/calaccessd | PID 34138",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/IMDPersistence.framework/XPCServices/IMDPersistenceAgent.xpc/IMDPersistenceAgent | PID 34139",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/sbin/filecoordinationd | PID 34141",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/StreamingZip.framework/XPCServices/com.apple.StreamingUnzipService.xpc/com.apple.StreamingUnzipService | PID 34145",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/libexec/nanoregistrylaunchd | PID 34146",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/libexec/sharingd | PID 34150",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/GeoServices.framework/geod | PID 34151",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/Search.framework/searchd | PID 34152",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Applications/MobileCal.app/PlugIns/MobileCalSpotlight.appex/MobileCalSpotlight | PID 34153",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Applications/Reminders.app/PlugIns/RemindersSpotlight.appex/RemindersSpotlight | PID 34154",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Applications/Contacts.app/PlugIns/ContactsCoreSpotlightExtension.appex/ContactsCoreSpotlightExtension | PID 34155",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/FoundationODR.framework/ondemandd.bundle/ondemandd | PID 34159",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AuthKit.framework/akd | PID 34160",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/Accessibility.framework/Frameworks/AccessibilityUI.framework/XPCServices/com.apple.accessibility.AccessibilityUIServer.xpc/com.apple.accessibility.AccessibilityUIServer | PID 34161",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/PassKit.framework/passd | PID 34162",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/MusicLibrary.framework/Support/medialibraryd | PID 34163",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/AudioToolbox.framework/XPCServices/com.apple.audio.SystemSoundServer-iOS-Simulator.xpc/com.apple.audio.SystemSoundServer-iOS-Simulator | PID 34164",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AppSupport.framework/Support/cplogd | PID 34165",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Applications/MobileCal.app/MobileCal | PID 34166",
    "Process /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/CoreServices/CFNetworkAgent | PID 34168"
), NSUnderlyingError=0x101130010 "The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 4.)"}

Are you certain that the arch of the binary matches the Simulator? The FBSimulatorApplication instance you create will have an arch property. This should be i386 or x86_64 (or both) depending on the target simulator. FBSimulatorControl does not currently check archs when launching.
Check the Log for the Simulator, there might be something of interest there. Currently this will be stored at ~/Library/Logs/CoreSimulator/Devices/<DEVICE-UDID./system.log. FBSimulatorControl should probably expose this on FBSimulator.

Bingo! The simulator arch is x86_64, and my binary is i386. Is there a way to get the simulator to start up as i386? (testing iPad 2, ios 9.0) I didn't find an option for that. I also haven't been able to get xcode to create an x86_64 binary (pretty new to these things, sorry for the noob questions)

Digging more through the code, it looks like there's a separate step for installing the app, which must be done before launching it. Is that the case?
Anyway, I tried
      BOOL success = [[[session.interact
                        bootSimulator]
                       installApplication:myApp]
                      performInteractionWithError:&error];

And this also fails. The simulator boots up fine, but then the "installApplication" step fails, with the error: "Failed to install Application". Digging in, there's an undescriptive error that doesn't end up getting surface that just says "POSIXErrorDomain" with some large integer values.
The system.log shows no log messages when I run my thing. It does show log messages when running via xcode.
Incidentally, if I switch the cli xcode version to 6.4, then I get a different error: "Timeout waiting for device to boot", even though the "iOS Simulator" app opens and boots quickly, long before the timeout error is thrown.

Yes you need to install an Application before launching it. I'll update the documentation to clarify this.
"Booting" is based on the information that CoreSimulator provides to us, not the launch of the Simulator process itself. I don't have 6.4 to hand, but this is the version that I think Travis-CI is currently using.
Have you tried on different Simulators? IIRC iPhone 5 may not run with 64 binaries and the 5S was the first iPhone to introduce this. Try running against a later device to confirm that it's definately not an architecture thing.
Errors are returned with high-level explainations and the error that is actually manifest from Core Simulator will provide whatever information is available in NSUnderlyingErrorKey. The Error Code may provide some value, but it's worth exhausting the possibility that this is an architecture issue first.

Check out MacErrors.h for descriptions of the error numbers.

also happens for me, output is the same as @jaredly 's

I am able to install the App, but failed to launch it:
2015-10-06 11:49:16.055 xctest[20772:290316] *** Assertion failure in -[FBSimulatorSessionLifecycle simulator:didStartWithProcessIdentifier:terminationHandle:], /Users/khu/ios/FBSimulatorControl/FBSimulatorControl/Session/FBSimulatorSessionLifecycle.m:84
/Users/khu/ios/FBSimulatorControl/FBSimulatorControlTests/Tests/FBSimulatorControlApplicationLaunchTests.m:56: error: -[FBSimulatorControlApplicationLaunchTests testLaunchesSafariApplication] : failed: caught "NSInternalInconsistencyException", "Invalid parameter not satisfying: self.simulatorTerminationHandle == nil"
(
0   CoreFoundation                      0x00007fff9427b03c __exceptionPreprocess + 172
1   libobjc.A.dylib                     0x00007fff9015a76e objc_exception_throw + 43
2   CoreFoundation                      0x00007fff9427ae1a +[NSException raise:format:arguments:] + 106
3   Foundation                          0x00007fff886d799b -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
4   FBSimulatorControl                  0x000000010526ebd7 -[FBSimulatorSessionLifecycle simulator:didStartWithProcessIdentifier:terminationHandle:] + 743
5   FBSimulatorControl                  0x00000001052780a6 __46-[FBSimulatorSessionInteraction bootSimulator]_block_invoke + 1462
6   FBSimulatorControl                  0x0000000105275170 -[FBInteraction_Block performInteractionWithError:] + 80
7   FBSimulatorControl                  0x00000001052743c1 __35+[FBInteraction chainInteractions:]block_invoke + 369
8   FBSimulatorControl                  0x0000000105275170 -[FBInteraction_Block performInteractionWithError:] + 80
9   FBSimulatorControl                  0x0000000105274fb6 -[FBInteraction performInteractionWithError:] + 70
10  FBSimulatorControlTests             0x0000000103908294 -[FBSimulatorControlApplicationLaunchTests testLaunchesSafariApplication] + 1236
11  CoreFoundation                      0x00007fff941527bc invoking + 140
12  CoreFoundation                      0x00007fff94152612 -[NSInvocation invoke] + 290
13  XCTest                              0x000000010002134f __24-[XCTestCase invokeTest]_block_invoke_2 + 159
14  XCTest                              0x0000000100053822 -[XCTestContext performInScope:] + 184
15  XCTest                              0x000000010002129f -[XCTestCase invokeTest] + 169
16  XCTest                              0x000000010002173a -[XCTestCase performTest:] + 443
17  XCTest                              0x000000010001f40b -[XCTestSuite performTest:] + 377
18  XCTest                              0x000000010001f40b -[XCTestSuite performTest:] + 377
19  XCTest                              0x000000010000ddbf __25-[XCTestDriver _runSuite]_block_invoke + 51
20  XCTest                              0x0000000100031f32 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 611
21  XCTest                              0x000000010000dd08 -[XCTestDriver _runSuite] + 408
22  XCTest                              0x000000010000e8b7 -[XCTestDriver _checkForTestManager] + 696
23  XCTest                              0x0000000100054a6f _XCTestMain + 628
24  xctest                              0x0000000100001dc9 xctest + 7625
25  libdyld.dylib                       0x00007fff897d05c9 start + 1
26  ???                                 0x0000000000000005 0x0 + 5
)

I'm now using xcrun simctl for installing + running the app, and it works fine. no arch issues

There's probably more that can be done in terms of looking at preconditions before calling certain CoreSimulator methods. I'll look at installed apps shortly.
@jaredly did you find out what the Error Code corresponded to?

I manually opened the app and it functions properly, here is the command:
    FBSimulatorSession *session = [self.control createSessionForSimulatorConfiguration:[FBSimulatorConfiguration.iPhone6 iOS_8_4] error:&error];
    FBSimulatorApplication *application = [FBSimulatorApplication<EMAIL_ADDRESS>error:&error];
    FBApplicationLaunchConfiguration *appLaunch3 = [FBApplicationLaunchConfiguration
                                                   configurationWithApplication:application
                                                   arguments:@[]
                                                   environment:@{}];
    BOOL install = [[[session.interact bootSimulator] installApplication:application] performInteractionWithError:&error];

    BOOL success = [[[session.interact
                      bootSimulator]
                     launchApplication:appLaunch3]
                    performInteractionWithError:&error];

another question is how to run xctest with this tool? Any sample code for that?

@oliverhu Are you talking about using FBSimulatorControl to launch Application Tests on a Simulator? It should be possible to do this for application tests with an Application launch with the -XCTest argument.

@oliverhu you should also hopefully see that cryptic message go away after #48 is landed.

Finally be able to run the application - the issue is I cannot boot simulator again when trying to launch the app.
@lawrencelomax Still not able to run xctest (with host app)
    FBSimulatorApplication *application = [FBSimulatorApplication<EMAIL_ADDRESS>error:&error];
    FBApplicationLaunchConfiguration *appLaunch3 = [FBApplicationLaunchConfiguration
                                                   configurationWithApplication:application
// also tried @[@"-XCTest"] and @[@"-XCTest", @"All"]
                                                   arguments:@[@"-XCTest", @"All", @"/Users/ohu/Library/Developer/Xcode/DerivedData/foo-aodwsnztqjhrikgifstschfgfhzf/Build/Products/Debug-iphonesimulator/FooTests.xctest"]
                                                   environment:@{}];
    [[[session.interact bootSimulator] installApplication:application] performInteractionWithError:&error];
    [[session.interact launchApplication:appLaunch3] performInteractionWithError:&error];

@oliverhu did you manage to get the tests to run? I have managed to get the bundle to load but the tests aren't running...

@foulkesjohn no ..

I tried moving away from FBSimulatorControl to see if I can get my XCTest bundle to run just using a single simulator. I am getting the same issue, I've put more detail in this SO post: http://stackoverflow.com/questions/33633882/run-xctest-bundle-with-simctl. This probably isn't the place to have this conversation but thought it could help.

Any update on this?  I'd be interested to know how to run tests from the  FBApplicationLaunchConfiguration...

I have a branch that aims to do this but haven't had the chance to finish it.
Running xctest bundles doesn't require the xctest commandline. xctest works by injecting a dylib into the App-Under-Test that will load the xctest bundle at runtime. If you inspect the system log you can see the environment variables that are passed to the App-Under-Test on launch. In fact this is the  way that xctool launches tests
cc @ExtremeMan

@lawrencelomax Thanks for the response.
I've been looking at this thread and #10 's thread.  I checked out the demo project linked in that thread, re-wrote it in Swift and adapted it a bit for my needs, but as I've looked at the system log, I haven't found the right combination of environment variables to use/customize for it to launch an archived xctest bundle.  I'll go check out your branch and see what you're doing.  Thanks for all or your work on this, it's really great stuff.

@lawrencelomax After much digging and inspecting of the system.log, I've not been able to find a way to get it to successfully inject the dylib into the App-under-test to have it load the xctest bundle at runtime.  I created a demo project doing what I think you're talking about here.  You can see that I set the arguments and environment params when creating the FBApplicationLaunchConfiguration object.
I'd appreciate it if you could look at it and tell me what I'm doing wrong.  It sounds like this may have stopped working sometime after the Xcode 7.1 release?

I've looked at xctool and what parameters its passing and brought over the XCTestConfiguration stuff. Its hardcoded right now for the bundle but I didn't really have any joy getting tests to run with my test app. Still looks like something is missing but I can't see what: https://github.com/foulkesjohn/FBSimulatorControl/tree/xctest-xctestconfig

It's possible that we could find what is missing in terms of the bootstrapping of the application process by comparing the environment & arguments of an xctest-launched process in #72
I believe that xctool also uses a shim, but I'd need to look to confirm what reason it has this shim for.

shim should be only a hack to reformat xcode's output to a xctool json format?

I was able to make xctest (application test) work with FBSimulatorControl. It is a combination of bundle injection settings plus XCTestConfiguration setup. I copied some code from XCTool to make it work, here is the draft commit.
https://github.com/oliverhu/FBSimulatorControl/commit/929813a10519ceaa6aba8f7e9f85f59e42bdaf72
A demo .. https://youtu.be/uUDDSrC89gM
Also, you would have to wait for the simulator to boot before run the tests.

@oliverhu Looks great :) would certainly like to see this in FBSimulatorControl. We can work on the details and how to make this as flexible as possible for users of the Framework in a PR. Also cc @ExtremeMan

Closing due to inactivity. If there are remaining issues that need discussion, please open a new task.


LayerMaterials: With Base baked in, transparency should be the default and can be deterministic

If we bake in the base as mentioned in #8 there's no need to call transparent. You still could I guess, just to be 100% sure or if you planned on adjusting the other values later.
But if you place a color in base:
 <LayerMaterial>
    <Base color="#603295" />
</LaterMaterial>

or by #8 :
<LayerMaterial color="#603295">

There's no alpha set so it is 100% opaque
where this becomes confusing is actually on the inverse:
 <LayerMaterial>
    <Base color="#603295" alpha=".5" />
</LaterMaterial>

You would think that layer is 50% see through (opaque) but it's not...
Transparent maps to the material, while base and alpha map to the material color map..
I have NO IDEA what this would do..
//simplified from @Fasani Blob experiment
<mesh>
  <sphereGeometry args={[0.8, 128, 128]} />
  <LayerMaterial>
    <Base color="#603295" />
          {...}
  </LayerMaterial>
</mesh>
<mesh ref={glow} scale={0.6} visible={showGlow}>
    <circleGeometry args={[2, 16]} />
    <LayerMaterial depthWrite={false} side={THREE.FrontSide} blending={THREE.AdditiveBlending}>
        {...}
    </LayerMaterial>
</mesh>

In that instance the user accidentally left of the transparent value on glow. Now, because the blending mode isnt the default we know we're supposed to be transparent..
TLDR: based on input props we can assume the intended transparency value
Transparency on meshStandardMaterial in Three.js doscs

If I understand correctly, you mean to say, we should set the transparent flag on the material if any alpha other than 1 is used in any of the layers?
Yep we could do that

Addressed in 1.1.0


[3D] marker symbols are limited in plotly.js for 3D but RCE shows all the available marker symbols in the dropdown that won't support

Supported 3D marker symbols are: https://github.com/plotly/plotly.js/blob/master/src/constants/gl3d_markers.js

Same with map box

Link to spec: https://plot.ly/javascript/reference/#scatter3d-marker-symbol

Link to spec per trace: https://plotly.github.io/schema-viewer/?attribute=marker.symbol


docs: invalid signing time fail to sign prompt improvement

What is not working as expected?
Because the signing time is not within the validity period of the certificate, the signing failure message does not have the certificate expiration date, and the user needs to run other commands to check the validity period of the certificate, which is not a good experience
./bin/notation sign localhost:5000/gateway@sha256:b992672d71a62c0a94cd8640f7c0db62ffb9de65317100742bf44892b179445f Error: certificate-chain is invalid, certificate with subject "CN=test,O=Notary,L=Seattle,ST=WA,C=US" was not valid at signing time of 2023-11-12 08:34:48 +0000 UTC
What did you expect to happen?
It is necessary to show the certificate validity period in the prompt.
./bin/notation sign localhost:5000/gateway@sha256:b992672d71a62c0a94cd8640f7c0db62ffb9de65317100742bf44892b179445f Error: certificate-chain is invalid, certificate with subject "CN=test,O=Notary,L=Seattle,ST=WA,C=US" was invalid at signing time of 2023-11-12 08:33:33 +0000 UTC. Valid from [2023-10-25 02:40:40 +0000 UTC] to [2023-10-26 02:40:40 +0000 UTC]
How can we reproduce it?
Use expired certificates for signing operations.
Describe your environment
macOS 14.0
What is the version of your Notation CLI or Notation Library?
version 1.0.1

change to enhancement

@fanndu Please let us know if any support you need it. /cc: @FeynmanZhou


iostat action

Iostat action returns I/O stats of system storage.

This is a good start. Would it be possible to also add some of the flags used with iostat?
    -C    Display CPU statistics.  This is on by default, unless -d is specified.

     -c    Repeat the display count times.  If no wait interval is specified, the default is 1 second.

     -d    Display only device statistics.  If this flag is turned on, only device statistics will be displayed, unless -C or -U or -T is also specfied to enable the display of CPU, load average or TTY statistics.

     -I    Display total statstics for a given time period, rather than average statistics for each second during that time period.

     -K    In the blocks transferred display (-o), display block count in kilobytes rather then the device native block size.

     -n    Display up to devs number of devices.  iostat will display fewer devices if there aren't devs devices present.

     -o    Display old-style iostat device statistics.  Sectors per second, transfers per second, and miliseconds per seek are displayed.  If -I is specified, total blocks/sectors, total transfers, and miliseconds per seek are displayed.

     -T    Display TTY statistics.  This is on by default, unless -d is specified.

     -U    Display system load averages.  This is on by default, unless -d is specified.

     -w    Pause wait seconds between each display.  If no repeat count is specified, the default is infinity.

@jfryman , Thanks for your valuable input. Yeah sure, I will do this shortly and push it up the stream.


Cosmic Text (Continuation of #179)

Closes #95.
This PR picks up where #179 left off! I didn't do a great job of reviewing this code when @msparkles was working on it, but now I'm hoping to push this work over the finish line.
I created a new branch and PR because I don't have write access to the original repo from #179.
I changed most of the widget APIs to align them when the main branch to make it easier for folks to migrate, including our game. In tandem, I'm working on upgrading our game to support the changes in this PR and using it as a layout test because it's such a big overhaul!
Remaining Issues

[x] Split premultiplied texture format into separate change
[x] Split PaintLimits into separate change
[x] Investigate sizing issues when using expanded alongside this widget
[x] Audit text alignment inside buttons
[ ] Drag operations that happen outside the textbox bounds always snap to the beginning of the box instead of the nearest position within the box

Button alignment is currently a little whack. These buttons have a minimum size enforced on them which causes the text to no longer be centered it seems:

ルシアン様、
この度はご連絡いただき、誠にありがとうございます。大変申し訳ございませんが、現在日本に滞在しており、時差の関係でGitHubの課題に取り組むことができません。この不手際に深くお詫び申し上げます。何卒ご理解賜りますよう、お願い申し上げます。
誠心誠意、迅速に対応させていただく所存でございますので、帰国次第、優先的に課題の解決に努めさせていただきます。このたびはご迷惑をおかけしてしまい、心よりお詫び申し上げます。
敬具
ケイン

(jokingly, directed at kane) we worked on yakui while we were in Taiwan, checkmate liberal


Decide on dashboard

Stress test and try out for ease of use and ease of development. Then make a choice.
Considerations:

the ability to stream several videos,
slider and interface design requirements from PIs,

Candidates:

[ ] Voila (ease to port from jupyter notebook)
[ ] Plotly + dash
[ ] Streamlit ←
[ ] Google/neuroglancer (perhaps too focused on volumetric).
[ ] Zooniverse
[ ] ....

https://panel.holoviz.org/ was suggested by someone in ARC.

someone from SWC recommended Dash/Plotly and has a demo we can check (from inside SWC)

I think Dash/Plotly or Streamlit are the best two options. I found a good comparison between them  here
Some key differences:
Dash/Plotly

around for longer, larger community
steeper learning curve
potentially more flexible?
more focused on production/industry applications?
primarily designed to work with Plotly
example with video data here

Streamlit

fairly straightforward
easy to prototype
may be limited/less flexible?
example with video data here
more flexible wrt underlying plotting library (matplotlib, seaborn etc)
worse speed performance: the whole app is re-run when input changes

Feel free to post below any thoughts

@samcunliffe those two links are both for dash btw.

worse speed performance: the whole app is re-run when input changes

What does this mean in practice? If we change e.g. a parameter, does the whole thing reload?

Thanks @sfmig for the report.
After reading that very helpful article, I'm also leaning towards Dash, with Streamlit as 2nd option.
Though Streamlit sounds like it would get us to our prototype/MVP the fastest, I'm worried that it's limited customisability/generality (is that even a word?) will cause us headaches down the line when we extend the pipeline.
My only issue with Dash is the following:

Although they’re both open source, Dash is more focused on the enterprise market and doesn’t include all the features (such as job queues) in the open source version. By contrast, Streamlit is fully open source.
Though I don't know if we would actually need the Dash enterprise feature.

Another plus for Dash (for me) is that it also has R and Julia support, so it seems like a more generally useful tool to invest into learning.
The link to the Streamlit video data example wrongly leads to the Dash example

Fixed the duplicate link. I didnt't find a good repo of streamlit with video but it seems easy from the snippet.

I am happy to close this issue and continue forward with Dash/Plotly, but feel free to re-open if you think otherwise


Cannot complete OAuth process. Could not find an OAuth cookie for shop url

Issue summary
Getting error with message: Cannot complete OAuth process. Could not find an OAuth cookie for shop url:
Expected behavior
validateAuthCallback shouldn't throw an error
Actual behavior
/auth/callback route throws an error
This happens while validating auth callback (route: /auth/callback)
I used the code from the docs (README.md)
Steps to reproduce the problem

Initialize Shopify Context

Shopify.Context.initialize({
    API_KEY: settings.SHOPIFY_API_KEY,
    API_SECRET_KEY: settings.SHOPIFY_API_SECRET,
    SCOPES: settings.SHOPIFY_API_SCOPES.split(','),
    HOST_NAME: settings.HOST.replace(/https:\/\//, ''),
    API_VERSION: ApiVersion.October20,
    IS_EMBEDDED_APP: true,
    SESSION_STORAGE: new Shopify.Session.MemorySessionStorage()
  })

Add auth route in my case is /login

router
    .get('/login', async (req: Request, res: Response) => {
      const { shop } = req.query

      if (typeof shop !== 'string' || !Shopify.Utils.validateShop(shop)) {
        res.status(400).send('Invalid shop parameter')
        return
      }

      try {
        const authRoute = await Shopify.Auth.beginAuth(
          req,
          res,
          shop,
          '/auth/callback',
          true
        )

        return res.redirect(authRoute)
      } catch (error) {
        log.error(error)
        res.status(500).send('Unexpected error occured')
      }
    })

Add auth callback route in my case /auth/callback

router
    .get('/auth/callback', async (req: Request, res: Response) => {
      try {
        await Shopify.Auth.validateAuthCallback(
          req,
          res,
          (req.query as unknown) as AuthQuery
        )

        return res.redirect('/')
      } catch (error) {
        log.error(error)
        res.status(500).send('Unexpected error occured')
      }
    })

Open the app with the route /auth?shop=your.shop.url

Checklist

[ ] I have described this issue in a way that is actionable (if possible)

clone of #130 Sorry for off top, I found the same issue, after I opened the new one.

Hello, what does Shopify.Utils.validateShop do ? Does it return false when shop does not exist ?

Hello, what does Shopify.Utils.validateShop do ? Does it return false when shop does not exist ?

It tests string for match with valid Shopify shop name using regexp


How to generate media query?

Just tested on my project but maybe i left something here because it does not generate @media query
style.scss
@import '../../rfs';

p {
 @include rfs(17);
}

the output
p {
  font-size: 1.0625rem;
}

so how to generate the media query? by the way i'm using Bulma
thanks

Somehow it generate now 👍


keep the column if the input value is null when export json

Mike solved this using a better solution


brainstorming: support generalized descriptors

How should this be done?
I can think of two plausible ways:

Allow multiple devices to be specified and xpubs extracted in one call. This means keys are in one place, naturally which is a large downside.

Have users simply provide the xpubs when creating the importmulti descriptor import. Users can get the xpubs from different hosts in different locations, using the same command to ensure the same path and type. This is more manual, but allows keys to never be in the same place.

I prefer (2) for the security, though more onerous, and it's probably not plausible to have someone have 3+ devices plugged in at the same time anyways.

I mean the ability for the software to make importmulti entries, like now,
but allowing things like multisig.
On Sat, Nov 17, 2018, 3:26 PM Andrew Chow<EMAIL_ADDRESS>wrote:

What do you mean by generalized descriptors? I'm not sure that it is
useful for us to support making complex descriptors. That seems like
something that is better suited for a descriptor generator software. They
could get an xpub from HWI and pass it to that software.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/achow101/HWI/issues/61#issuecomment-439645274, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFgC0xk69oENCFmpGmJwdYn5dbWS4dZnks5uwHDwgaJpZM4YnlNK
.

This is also useful in the context of #137 (getdescriptors command), vs. the alternative approach I tried in #73 with descriptor templates.
For simple enough policies, e.g. M of N multisig, it makes sense for HWI to return descriptors based on params:
For example:
./hwi.py --fingerprint 0000000 getdescriptors --account 0 --multisig_threshold 2 --multisig_participants xpub1,xpub2
{
  "receive": [
    "sh(wpkh(...))",
    "wpkh(multi(2, xpub, xpub1, xpub2)/0/*)",
    "taproot(...)"
  ],
  "internal": [
     ....
  ]
}

This is very easy to build on what we have, and Bitcoin Core could use as soon as it has native descriptor support.
But for more complex policies, perhaps it's better if some other program gives us a template descriptor, we check if the hardware wallet can handle it, and then fill in our xpub.
./hwi.py --fingerprint 0000000 getdescriptors --receive "wpkh(multi(2, $xpub, xpub1, xpub2)/0/*)" --internal "wpkh(multi(2, $xpub, xpub1, xpub2/1/*)"
{
  "receive": "wpkh(multi(2, xpub, xpub1, xpub2)/0/*)"
  "internal": "wpkh(multi(2, xpub, xpub1, xpub2)/1/*)"
}

However, currently there is no such standard. Bitcoin Core also can't compose descriptors yet, it can only parse them or infer them from a script.

Thinking about this a bit more, neither approach seems sufficient for an interactive MuSig setup. For that we may need to add a number of specific commands.
Once the key is produced we can use descriptors, but how will the device know that it controls some of that? I'm sure this, and Taproot, will require new firmware anyway, but it's useful to think about what the interaction might look like.


update logic to support parsing of single bare event

Dear @RalphTro,
During recent GSMP calls, it was decided that REST binding will support a single event without being wrapped around epcisBody/event therefore hash generator should honor the same. Did a minor tweak in logic to support it.
EPCIS github PR#298 conversation link : https://github.com/gs1/EPCIS/pull/298#issuecomment-884674212

Dear @dakbhavesh ,
Thanks a lot for considering this! I think that will be a valueable contribution.
I just tested your improvements. For this purpose, I cloned your repo (https://github.com/dakbhavesh/epcis-event-hash-generator), selected the branch (support-for-bare-single-event ) and tried to generate the corresponding hash value for the new files you created. The code worked fine for existing ones, but this is what I was returned for the file "epcisDocWithSingleEvent.jsonld":
iMac:examples Ralph$ python3 -m epcis_event_hash_generator -p epcisDocWithSingleEvent.jsonld
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/epcis_event_hash_generator/__main__.py", line 144, in <module>
    main()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/epcis_event_hash_generator/__main__.py", line 127, in main
    filename, args.algorithm, args.join, args.enforce_format)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/epcis_event_hash_generator/__main__.py", line 43, in epcis_hash_from_file
    events = events_from_file_reader.event_list_from_file(path, enforce)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/epcis_event_hash_generator/events_from_file_reader.py", line 61, in event_list_from_file
    return _event_list_from_epcis_document_json(path)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/epcis_event_hash_generator/events_from_file_reader.py", line 47, in _event_list_from_epcis_document_json
    return json_to_py.event_list_from_epcis_document_str(data)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/epcis_event_hash_generator/json_to_py.py", line 144, in event_list_from_epcis_document_str
    if "eventList" in json_obj["epcisBody"]:
KeyError: 'epcisBody'

Any idea why I was not returned the corresponding hash?
Kind regards,
Ralph

Dear @RalphTro,
This code is not yet merged in master and published/released as a python package hence I believe python3 -m epcis_event_hash_generator -p epcisDocWithSingleEvent.jsonld will not work.
Can you please try to trigger command python3 __main__.py -p ../tests/examples/epcisDocWithSingleEvent.jsonld  from epcis_event_hash_generator directory under root?

Dear @dakbhavesh ,
Somehow this does not work for me neither. :-) Allow me to suggest to wait until Sebastian's return from his well-earned holiday (next week) and continue this discussion then? If everything works fine in your fork, feel free to submit a PR with your code additions. Thanks again for this and kind regards,
Ralph

Hi  @Echsecutor,  Can you please take a look at this PR? Let me know if anything requires a fix.
FYI: @RalphTro

Hi @Echsecutor, As you're active, can you please review this PR and merge if it makes sense.


No queryParam method set to queryString in url

I want to add queryParams in sending request url. but, queryParam method isn't set to url.
test :
given().log().all()
	.queryParam("projectId", "project")
	.queryParam("page", 0)
	.queryParam("size", 3)
.when()
	.get("/api/posts")
.then().log().all()

request log is :
Request method:	GET
Request path:	http://localhost:8080/api/posts?projectId=project&page=0&size=3
Proxy:			<none>
Request params:	<none>
Query params:	projectId="project"
				page=0
				size=3

log is ok.
but if I get the requestURI from HttpServletRequest i couldn't find queryString in url
String url = ServletUriComponentsBuilder.fromCurrentRequest().build().toString();
assertTrue(url, is("http://localhost:8080/api/posts");

I think MockMvcRequestSenderImpl.sendRequest() should make uri with queryParams before building MockHttpServletRequestBuilders for setting queryString in MockHttpServletRequest

Is this how vanilla MockMvc does things? Could you help out and provide a pull request if so?

I just used com.jayway.restassured.module.mockmvc.RestAssuredMockMvc.webAppContextSetup() for spring-mock-mvc.
https://github.com/rest-assured/rest-assured/wiki/Usage#using-spring-security-test
I'll try fix it and provide pull request.

Thanks! I'll hopefully make a new release soon and it would be nice to include this fix.


teleport - Managed Log Source

Mentioned in #17
Teleport is an access management system which emits a lot of different audit logs
https://goteleport.com/docs/reference/audit/
There doesn't appear to be One True Way to get these logs in to AWS. For my purposes, I'm using vector to ship a local log file to firehose.
The log format is quite loosely defined and I've seen it emit events that are not documented, so it will be important to be strict as to what we keep to make sure it fits the schema, and to keep a copy of the original event in event.original in case they make changes and users need to parse out any changes.
Panther has teleport support https://docs.panther.com/data-onboarding/supported-logs/teleport

First attempt at log ingestion for teleport. It's a bit of a mess, but this has been running for a couple weeks on busy teleport servers with no schema or VRL errors.
I break out as much as I can to ECS, but there's still a lot of teleport-specific content which I write to its own top level. Event categorisation is best-effort, I'm sure there's stuff I missed.
Some gotchas:

operation is sometimes a string and sometimes not.
attributes and server labels are user-defined key/value, i store them as a JSON string
I store the teleport user as .source.user and the system user as .destination.user in line with ECS recommendations.
.source.user gets copied out to .user in line with ECS as well.
I populate the .related fields as much as I can, they are very, VERY useful for correlation at query time.

name: "teleport_audit_logs"
schema:
  ecs_field_names:
  - destination.user.name
  - destination.address
  - destination.ip
  - destination.port
  - destination.bytes
  - ecs.version
  - event.action
  - event.category
  - event.created
  - event.code
  - event.end
  - event.id
  - event.original
  - event.outcome
  - event.reason
  - event.start
  - event.type
  - file.directory
  - host.hostname
  - host.id
  - process.args
  - process.command_line
  - process.executable
  - process.exit_code
  - process.name
  - process.pid
  - process.parent.pid
  - network.direction
  - network.type
  - related.ip
  - related.user
  - related.hosts
  - source.user.name
  - source.address
  - source.ip
  - source.port
  - source.bytes
  - user.name
  fields:
  - name: teleport
    type:
      type: struct
      fields:
      - name: action
        type: string
      - name: attributes
        type: string
      - name: cgroup_id
        type: int
      - name: cluster_name
        type: string
      - name: ei
        type: int
      - name: enhanced_recording
        type: boolean
      - name: interactive
        type: boolean
      - name: method
        type: string
      - name: namespace
        type: string
      - name: participants
        type:
          type: list
          element: string
      - name: proto
        type: string
      - name: operation
        type: string
      - name: server_addr
        type: string
      - name: server_labels
        type: string
      - name: session_recording
        type: string
      - name: sid
        type: string
      - name: size
        type: string
transform: |
  .related.hosts = []
  .event.original = encode_json(.json)
  .event.created = .ts
  .ts = to_timestamp!(del(.json.time))

  .event.action = to_string!(del(.json.event))

  .event.category = []
  .event.type = []
  if includes(["auth", "user.login"], .event.action) {
    .event.category = push(.event.category, "authentication")
  }
  if contains(.event.action, "db.") {
    .event.category = push(.event.category, "database")
  }
  if includes(["session.disk", "scp"], .event.action) {
    .event.category = push(.event.category, "file")
  }
  if .event.action == "session.network" {
    .event.category = push(.event.category, "network")
    .event.type = push(.event.type, "connection")
  }
  if includes(["session.start", "session.end", "session.join", "session.leave", "app.session.start"], .event.action) {
    .event.category = push(.event.category, "session")
  }
  if includes(["session.start", "session.join", "app.session.start"], .event.action) {
    .event.type = push(.event.type, "start")
  }
  if includes(["session.end", "session.leave"], .event.action) {
    .event.type = push(.event.type, "end")
  }

  .event.id = del(.json.uid)
  .event.code = del(.json.code)
  if is_boolean(.json.success) {
    if bool!(.json.success) {
      .event.outcome = "success"
    } else {
      .event.outcome = "failure"
    }
    del(.json.success)
  }
  .event.reason = del(.json.error)
  if .json.session_start != null {
    .event.start = to_timestamp!(del(.json.session_start))
  }
  if .json.session_end != null {
    .event.end = to_timestamp!(del(.json.session_stop))
  }

  .teleport.cgroup_id = del(.json.cgroup_id)
  .teleport.cluster_name = del(.json.cluster_name)
  .teleport.ei = del(.json.ei)
  .teleport.enhanced_recording = del(.json.enhanced_recording)
  .teleport.interactive = del(.json.interactive)
  .teleport.method = del(.json.method)
  .teleport.namespace = del(.json.namespace)
  .teleport.participants = del(.json.participants)
  .teleport.proto = del(.json.proto)
  .teleport.sid = del(.json.sid)
  .teleport.size = del(.json.size)
  .teleport.server_addr = del(.json.server_addr) # TODO: is this useful? has [::]:3022 for fly logs
  .teleport.session_recording = del(.json.session_recording)
  if .json.action != null {
    .teleport.action = to_string!(del(.json.action))
  }
  if .json.operation != null {
    .teleport.operation = encode_json(del(.json.operation))
  }
  if .json.attributes != null {
    .teleport.attributes = encode_json(del(.json.attributes))
  }
  if .json.server_labels != null {
    .teleport.server_labels = encode_json(del(.json.server_labels))
  }

  .source.user.name = del(.json.user)
  .destination.user.name = del(.json.login)

  .host.hostname = del(.json.server_hostname)
  .host.id = del(.json.server_id)

  if .event.action == "session.command" {
    .process.name = del(.json.program)
    .process.executable = del(.json.path)
    .process.args = del(.json.argv)
    .process.exit_code = del(.json.return_code)
  }
  .process.pid = del(.json.pid)
  .process.parent.pid = del(.json.ppid)
  .process.command_line = del(.json.initial_command)
  .process.command_line = del(.json.command)
  .process.exit_code = to_int!(del(.json.exitCode))

  .source.address = del(.json."addr.remote")
  if .source.address != null {
    src_tuple = split!(.source.address, ":", limit:2)
    .source.ip = src_tuple[0]
    .source.port = to_int!(src_tuple[1])
  }

  .destination.address = del(.json."addr.local")
  if .destination.address != null {
    dst_tuple = split!(.destination.address, ":", limit:2)
    .destination.ip = dst_tuple[0]
    .destination.port = to_int!(dst_tuple[1])
  }

  if .event.action == "session.network" {
    .destination.address = del(.json.dst_addr)
    .destination.ip = .destination.address
    .destination.port = del(.json.dst_port)
    .source.address = del(.json.src_addr)
    .source.ip = .source.address

    .network.direction = "egress"
    if .json.version == 4 {
      .network.type = "ipv4"
    } else if .json.version == 6 {
      .network.type = "ipv6"
    }
    del(.json.version)
  }

  if .event.action == "scp" {
    .file.directory = del(.json.path)
  }

  if .json.tx != null {
    .source.bytes = to_int!(.json.tx)
  }
  if .json.rx != null {
    .destination.bytes = to_int!(.json.rx)
  }

  # tidy up ecs
  .user = .source.user
  .related.ip = push(.related.ip, .source.ip)
  .related.ip = push(.related.ip, .destination.ip)
  .related.user = push(.related.user, .source.user.name)
  .related.user = push(.related.user, .destination.user.name)
  if is_array(.teleport.participants) {
    .related.user = append!(.related.user, .teleport.participants)
  }
  .related.user = unique(.related.user)
  .related.hosts = push(.related.hosts, .host.hostname)

Closed via #153


Readme should specify Python version

(Either 2 or 3, I'm assuming this doesn't work on one of them)

thanks for heads up. fixed in 9cdbeafdae5332ff301fd9cdd7d659f78f1be967


Code sample has incorrect settings

Test1 sets Test3Called to true and Test3 sets Test1Called to true.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a17b1fbc-2e79-c453-ef83-2ffff1683d5c
Version Independent ID: b82fafa9-47c1-1c5a-93a3-669782e915eb
Content: Order unit tests - .NET
Content Source: docs/core/testing/order-unit-tests.md
Product: dotnet-fundamentals
GitHub Login: @IEvangelist
Microsoft Alias: dapine

Thank you for posting this issue @MongoCaleb, please see #30013


Undefined method `match?' for /##?[^#]/:Regexp

.check! fails with the stacktrace:
Danger::DSLError:
[!] Invalid `Dangerfile` file: undefined method `match?' for /##?[^#]/:Regexp
Did you mean?  match
 #  from Dangerfile:41
 #  -------------------------------------------
 #  changelog.placeholder_line = "- Your change(s) here."
 >  changelog.check!
 #
 #  -------------------------------------------

  /Library/Ruby/Gems/2.3.0/gems/danger-changelog-0.6.0/lib/changelog/parsers/keep_a_changelog.rb:45:in `block in parse_into_blocks'
  /Library/Ruby/Gems/2.3.0/gems/danger-changelog-0.6.0/lib/changelog/parsers/keep_a_changelog.rb:42:in `each_line'
  /Library/Ruby/Gems/2.3.0/gems/danger-changelog-0.6.0/lib/changelog/parsers/keep_a_changelog.rb:42:in `each'
  /Library/Ruby/Gems/2.3.0/gems/danger-changelog-0.6.0/lib/changelog/parsers/keep_a_changelog.rb:42:in `parse_into_blocks'
  /Library/Ruby/Gems/2.3.0/gems/danger-changelog-0.6.0/lib/changelog/parsers/keep_a_changelog.rb:11:in `parse'
  /Library/Ruby/Gems/2.3.0/gems/danger-changelog-0.6.0/lib/changelog/changelog_file.rb:28:in `parse'
  /Library/Ruby/Gems/2.3.0/gems/danger-changelog-0.6.0/lib/changelog/plugin.rb:76:in `is_changelog_format_correct?'
  /Library/Ruby/Gems/2.3.0/gems/danger-changelog-0.6.0/lib/changelog/plugin.rb:27:in `check!'
  Dangerfile:41:in `eval_file'
  /Library/Ruby/Gems/2.3.0/gems/danger-6.0.9/lib/danger/danger_core/dangerfile.rb:297:in `eval'
  /Library/Ruby/Gems/2.3.0/gems/danger-6.0.9/lib/danger/danger_core/dangerfile.rb:297:in `eval_file'
  /Library/Ruby/Gems/2.3.0/gems/danger-6.0.9/lib/danger/danger_core/dangerfile.rb:200:in `block in parse'
  /Library/Ruby/Gems/2.3.0/gems/danger-6.0.9/lib/danger/danger_core/dangerfile.rb:197:in `instance_eval'
  /Library/Ruby/Gems/2.3.0/gems/danger-6.0.9/lib/danger/danger_core/dangerfile.rb:197:in `parse'
  /Library/Ruby/Gems/2.3.0/gems/danger-6.0.9/lib/danger/danger_core/dangerfile.rb:273:in `run'
  /Library/Ruby/Gems/2.3.0/gems/danger-6.0.9/lib/danger/commands/pr.rb:64:in `block in run'
  /Library/Ruby/Gems/2.3.0/gems/danger-6.0.9/lib/danger/commands/local_helpers/local_setup.rb:43:in `setup'
  /Library/Ruby/Gems/2.3.0/gems/danger-6.0.9/lib/danger/commands/pr.rb:63:in `run'
  /Library/Ruby/Gems/2.3.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
  /Library/Ruby/Gems/2.3.0/gems/danger-6.0.9/bin/danger:5:in `<top (required)>'
  /usr/local/bin/danger:22:in `load'
  /usr/local/bin/danger:22:in `<top (required)>'

Here is my CHANGELOG.md:
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.1.0] - 2019-08-22

### Added

- Initial Project Setup
- ktlint & detekt
- Map Screen
- Danger.systems
- Your change(s) here.

[Unreleased]: https://github.com/Org/Repository/compare/master...HEAD

Strange. I couldn't reproduce. My first guess is that Regexp#match? is not defined because some older version of Ruby, but this worked for me at least in specs with 2.3.0.
Try to add require 'regexp' in your Dangerfile to start? If not put up a project with a repro?

@r0adkll I could reproduce this too. This is because you're using Ruby 2.3.0 which doesn't have Regexp#match? which was introduced in Ruby 2.4 (https://blog.cognitohq.com/new-features-in-ruby-2-4/).
Ruby 2.3 was EOL in march, so I am going to close this as won't fix.
That said, it's not difficult to fix by using match or adding Regexp#match?. I would take a PR here that re-adds support for Ruby 2.3.

Oh and it works in my specs because ActiveSupport defines Regexp#match? when it's not available, eg. https://github.com/rails/rails/blob/5d5cbbe0b7ccb35860d8ee097f4213a807f9e92c/activesupport/lib/active_support/core_ext/regexp.rb#L3..L10, but it looks like that's also being removed in newer versions as Ruby 2.3 support is being dropped.
An alternative for you could be to add activesupport to dev dependencies.

Yup! That was my problem, I updated ruby and it went away. Thanks! I'm still pretty new to Ruby.


Utilize development configuration in docker-compose

Current Behaviour

It seems like nowhere in the dev containers the development configuration of Django is set. Thus, we can't obtain stack traces if something fails, and we can't see informative error messages if we just follow the deployment guide.
Also, we can possibly add request/response tracing on the server with a solution like this -https://gist.github.com/SehgalDivij/1ca5c647c710a2c3a0397bce5ec1c1b4
Possible Solution

Possibly, we can use development Django configuration when we start containers with docker-compose ... -f docker-compose.dev.yml ....
 We are developing CVAT without containers usually. Also you added a way to debug containers. I believe it is enough for now.


Added the Unitree's Z1 robot, improved colors in Unitree robots, and defined the B1_Z1 robot.

b1 and go1 are 37Mo and 36Mo, the heaviest of the repo. I really think we should optimize before merging. But now this is merged, so we'll have to rewrite history to avoid having this burden in the git history forever.

Is this was introduced by my changes? I just added colors in blender.
How much was it before?

After checking the sizes of mesh files for b1 and go1 robots before my changes, I can see the same file sizes. Moreover, these files were added in December 2022, which prohibits us from rewriting history.
It is worth reducing the file sizes. Do you have any advice for doing so? (@nim65s)


Shortcut Guide: Add other applications

Summary of the new feature/enhancement
Pressing and holding Windows-Key should show the shortcuts of the curently active application instead of the windows-shortcuts only. For example when working with Lightroom show the lightroom-shortcuts but when working in Explorer show the explorer-shortcuts.
Proposed technical implementation details (optional)
The list of available-shorcuts could be read by an API (if possible). Otherwise the list could be maintained on github by the community.
See the application cheat-sheet for macos to see what this could look like

I thought Power Toys was supposed to be for Windows, not for every other program.

I thought Power Toys was supposed to be for Windows, not for every other program.

Sure it is a Windows application, but why not add features that can be used for other applications too?
Fences are also usable by all applications but not by Windows-only.

Hello there! I'm sorry I didn't find this suggestion before posting my duplicate.
I also want to support this idea! The point of this one is that memorising a single key will enable a user to display any program's shortcuts that will speed up their workflow.
I think you have suggested 2 ways here:
a) either provide some API so that the program developer can "hook" into the Shortcuts Guide directly.
b) the community here can make a list of shortcuts for popular programs, and design some generic overlay to display the list.
I want to suggest an additional way which is similar to b) but doesn't rely on a community curated list:
c) the shortcut summons the program's in-built keyboard shortcuts guide / editor.
Examples: In Adobe Premiere this would open 'Edit > Keyboard Shortcuts'. In MS Word this would open File > Options > Customise Ribbon > Customise Keyboard.
Since many programs allow to customise the shortcuts or vary depending on your keyboard layout, community-maintained lists are likely ineffective.
While the overlay is the prettiest option and eventual goal, I think it would be a really good start for this feature to at least bring up a program's in-built keyboard shortcuts menu.
Regardless, I'm really glad someone had the same idea before me, and I hope another more knowledgeable person may consider developing this feature/enhancement into PowerToys.

Closing in favor of https://github.com/microsoft/PowerToys/issues/1431


The application cannot be accessed through the service name

Detailed description of the question.

Some reference materials you see.
No response

kubernetes.default.svc is coreDNS , need in cluster using this dns.


No documentation.

I would like to implement this in an old sequencer I wrote.
However, there is zero documentation on lilv or ladspav2 as a host and my time to work on this is limited. A reference by itself is useless and the examples are incredibly complex. Implementing LV1 15 years ago was a tiny fraction of the code, and not even wrapper libs were needed.
A tutorial on setting up, using it, discovering, bringing up an UI, etc. or at least what each thing is supposed to be would be appreciated, otherwise I'm afraid even supporting Linux is just a bad idea.
I'm surprised you spent so much writing example code but not even dedicated to explain even an overview on how the library is supposed to work.
If you don't have time for this, I suggest you make Github the official development platform (it's 2018, hosting the project on hour own website is very 1999), put documentation in here in Markup and ask the community for contributions on this aspect.
Best

I implemented a host in a few hours last night, using utils/lv2apply.c as a starting point and the reference to fill-in the gaps

And, by the way, I am not sure why you come here with such an aggressive tone. David has put so much of his time into a number of open source projects, making it easier for other people to get started with lv2, and the least you could do is be grateful.
Hopefully you will find some more time to work on this project in the future and share your results with the online community, to make other people's life easier when getting started with lilv.


?plot in REPL hangs

After showing : starting httpd help server ... done
nothing happened. I clicked Reset repel, nothing happened.

fix for the #2500 might have broken it.

https://github.com/Microsoft/RTVS/commit/f981c81aef6dcd32be84d6f372e40e69670feeb1


Review issues in old repos and migrate any needed

[x] account-service
[x] content-watcher
[x] content-publisher
[x] graph

Completed.


Wheels glitching in update

any idea what can cause wheels glitching?
https://github.com/user-attachments/assets/a8e70511-3492-45d2-9495-afd95f70fb84
Also check this out :P
https://github.com/user-attachments/assets/adc0ed75-3424-48e1-b19b-cbe9cc42626d

closed with #4


fix: forgot to make x11 folder in node-playwright and node-puppeteer

I guess we can ignore the broken python-selenium images, they seem to be broken on master as well.


Add calculate_centroid, define_rotation_matrix

Adds two functions required by the new Orientation and Normal handlers.

Adds two functions required by the new Orientation and Normal handlers.

Without a link this doesn't mean a whole lot.

Adds two functions required by the new Orientation and Normal handlers.

Without a link this doesn't mean a whole lot.

The link to the draft PR including the new Orientation and Normal handlers can be found here. The PR is a draft because it depends on another pending PR made to the same repository.


Too aggressive terminal name filter

https://github.com/6gk/fet.sh/blob/de8e83b22cb36097ad6ec6243073417549fcd558/fet.sh#L47
*init* filters out miniterm which I use. *init would also filter xinit out which is the only reason for the filter, I think. If not just ignore this issue.

I believe it was to filter out inits that use a plain ol' init binary, and not xinit - close though!
Thanks for the report.


The callable has to be a function?

Hi,
I’m trying to create a web application that can transparently detect whether it’s run using classic approach or PHPSGI. The pseudocode of what I want to do is:
$site = new Site();
$application = $site->run(); // returns an anonymous function when using PHPSGI, and just prints content when using classic approach

Hovewer, I’ve found out that “application” really has to be a function, not just a callable variable. In other words, this code does not work
$application = function($env) { return ["200 OK", [], "Hello, world"]; };

while this does
function application($env) {
	return ["200 OK", [], "Hello, world"];
}

Is it how it’s supposed to work, or I am doing something in a wrong way?

Nevermind, I workarounded this
function application($env) {
	global $site;
	return $site->handlePHPSGIRequest($env);
}

if(PHP_SAPI != 'uwsgi-phpsgi') $site->run();

Feeling quite satisfied with this for now.


Small fixes

Description:

make pip install more robust on Debian-based systems
change default input device on Raspberry Pi

Checklist:

[x] PR Location (usually master for hotfixes, dev for general development)

@alexa-pi/team Please have a look, this should be fast.

I just finished testing this one.
It installs on a fresh image without issue, and works on a standard rPi setup right out of the box.
Works great.  Ready to merge.

Great, thanks! Merging.


Add option for dockerized onyx-dashboard

This is more difficult than I anticipated. Running into a slew of issues. I'm thinking we put this on the backburner until after new idioms release.


Add DetailedLogSubscriber to more easily debug ActiveResource requests/re

@Soleone
This returns more detailed logging to help people debug issues when using the gem and would look something like this:
require 'logger'
ActiveResource::Base.logger = Logger.new(STDOUT)

# page is a ShopifyAPI::Page resource
page.title = ""
page.save

INFO -- : PUT http://localhost:3000/admin/pages/4.json
INFO -- : --> 422  39 (298.8ms)
INFO -- : Request:
{"page":{"handle":"page","created_at":"2011-10-19T14:10:27-04:00","body_html":"asdf","title":"","template_suffix":null,"author":"Shopify","updated_at":"2011-10-21T11:56:07-04:00","shop_id":3,"id":4,"published_at":"2011-10-19T14:10:27-04:00"}}
INFO -- : Headers: {"Authorization"=>"Basic MmQ3ZjNmODdiNmFhMzQ0MWZmNzNjNThkODJmYjg0NDE6ZGM2ZDNjOTNmOGZmM2JlZWY2OWU5YjViNjJkYmFiMjg=", "Content-Type"=>"application/json"}
INFO -- : Response:
{"errors":{"title":["can't be blank"]}}

Great addition. This is really going to help cut down on support request turnaround times.
Edward Ocampo-Gooding
Developer Advocate, Shopify
On Friday, 21 October, 2011 at 2:08 PM, Denis Odorcic wrote:

@Soleone
This returns more detailed logging to help people debug issues when using the gem and would look something like this:
require 'logger'
ActiveResource::Base.logger = Logger.new(STDOUT)

# page is a ShopifyAPI::Page resource
page.title = ""
page.save

INFO -- : PUT http://localhost:3000/admin/pages/4.json
INFO -- : --> 422 39 (298.8ms)
INFO -- : Request:
{"page":{"handle":"page","created_at":"2011-10-19T14:10:27-04:00","body_html":"asdf","title":"","template_suffix":null,"author":"Shopify","updated_at":"2011-10-21T11:56:07-04:00","shop_id":3,"id":4,"published_at":"2011-10-19T14:10:27-04:00"}}
INFO -- : Headers: {"Authorization"=>"Basic MmQ3ZjNmODdiNmFhMzQ0MWZmNzNjNThkODJmYjg0NDE6ZGM2ZDNjOTNmOGZmM2JlZWY2OWU5YjViNjJkYmFiMjg=", "Content-Type"=>"application/json"}
INFO -- : Response:
{"errors":{"title":["can't be blank"]}}

You can merge this Pull Request by running:
git pull https://github.com/odorcicd/shopify_api detailed_log
Or you can view, comment on it, or merge it online at:
https://github.com/Shopify/shopify_api/pull/12
-- Commit Summary --

Add DetailedLogSubscriber to more easily debug ActiveResource requests/responses

-- File Changes --
M lib/active_resource/connection_ext.rb (29)
A lib/active_resource/detailed_log_subscriber.rb (19)
M lib/shopify_api.rb (1)
A test/detailed_log_subscriber_test.rb (48)
-- Patch Links --
https://github.com/Shopify/shopify_api/pull/12.patch
https://github.com/Shopify/shopify_api/pull/12.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/Shopify/shopify_api/pull/12

Two notes inline, but looks great overall!


cot: fixes for python312

Closes #362127

distutils was removed from the CPython standard library this PR adds it as regular python package
SafeConfigParser used in "versioneer" was renamed to ConfigParser

Marked broken in #326930
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
[x] sandbox = true

[x] 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/)
25.05 Release Notes (or backporting 24.11 and 25.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

[ ] Fits CONTRIBUTING.md.

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

@ofborg build python311Packages.cot python312Packages.cot

You can simply delete versioneer.py and use the packaged version. See pkgs/development/python-modules/sphinx-material/default.nix for an example.

The rest of cot packaging is not compatible with the packaged versioneer. I don't want to go down that rabbit hole and cot upstream has not seen a commit in 5 years.

I take that back. It does work, Nick. Don't know what I did, when first I tried. If everyone is good with the new version, I'd squash my commits and we can merge.

@ofborg build python311Packages.cot python312Packages.cot


Lack of widening fixed point macs

A common operation in audio codecs is the need to perform fixed point MACs with an accumulator of wider precision than the vector elements.  Their importance means that these are richly supported in other architectures (for example VRMLALVH in ARM V8-M) . In the RISCV vector spec these need to be synthesized using  a widening multiply (vwmul.vv), shift at the wider precision (vsra.vi @ LMUL2) and wider add (vadd.vv @LMUL2) for each VLMAX elements, followed by a final reduction across VLMAX accumulators. This makes it hard to achieve the same throughput as these architectures unless the lack of composite instructions is  compensated for by increasing VLEN.  In specific use cases it may be possible to eliminate the shifts (for example if the samples are 24-bits) so the accumulation can be performed without risk of overflow, but when implementing a generic DSP library, for example the RISCV equivalent of arm_dot_prod_q31, this is not possible.

These are candidates for future fixed-point extension.


install: prune build-only deps of deps

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

This avoids needlessly installing :build dependencies of dependencies which are not themselves being built from source.
Fixes #1272. See it for details of the problematic behavior.
Before:
$ brew info diff-pdf | grep Build:
Build: pkg-config, automake, autoconf
$ brew info openjpeg | grep Build:
Build: cmake, doxygen
$ brew install -s diff-pdf
==> Installing dependencies for diff-pdf: cmake, doxygen
==> Installing diff-pdf dependency: cmake

cmake and doxygen are :build deps of openjpeg, which is not being built from source in this scenario, so they shouldn't be picked up.
After:
$ brew install -s diff-pdf
==> Using the sandbox

(No attempt to install cmake or doxygen.)

Will this cause it not to install missing run-time deps? :(

Will this cause it not to install missing run-time deps? :(

No, they still get picked up. They just no longer look like they're being built from source inside the dependency expansion logic (unless they have explicitly been requested to be built from source).
Here's an example with diff-pdf's dependency wxmac locally converted to a run-time dependency.
$ brew rm wxmac jpeg
Uninstalling /usr/local/Cellar/wxmac/3.0.2_3... (809 files, 23.6M)
Uninstalling /usr/local/Cellar/jpeg/8d... (19 files, 731.5K)
[/usr/local/Homebrew on ⇄ prune-build-deps-of-deps]
$ brew install -s diff-pdf
==> Installing dependencies for diff-pdf: jpeg, wxmac
==> Installing diff-pdf dependency: jpeg

Or is there something else I'm overlooking?

Thanks @apjanke!


[FLINK-28044][runtime][security] Make hadoop filesystems configuration available to all deployment targets

What is the purpose of the change
At the moment only YARN can be configured to obtain delegation token for hadoop filesystems. In this PR yarn.security.kerberos.additionalFileSystems is made to be deprecated and the new configuration is added with security.kerberos.access.hadoopFileSystems name. Please be aware that delegation token framework is not yet fully working so using this PR don't expect all deployment targets to work.
Brief change log

Made yarn.security.kerberos.additionalFileSystems deprecated
security.kerberos.access.hadoopFileSystems added as new parameter
Minor bugfixes in tests

Verifying this change
Existing unit tests.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: yes
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

cc @gyfora @mbalassi

Thank you @mbalassi for taking care!


decoder summary has a output shape as multiple. What does it mean

Please make sure that the boxes below are checked before you submit your issue.
If your issue is an implementation question, please ask your question on StackOverflow or on the Keras Slack channel instead of opening a GitHub issue.
Thank you!

[ ] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps

[ ] Check that your version of TensorFlow is up-to-date. The installation instructions can be found here.

[ ] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

It's when layers have multiple outputs, it can't be displayed because of the size. The documentation should mention it. Pull request wecome to modify the documentation and add this.

What does it mean for a layer to have multiple outputs ?
Like in a vanilla CNN, each layer would output 3D volumes right ?
Is that considered as multiple output ( why/why not ?)


Add the option to have different Draw Distance based on whether a laptop is plugged in or not

I've just tried out the GPU plugin, which looks absolutely phenomenal. Thanks for the work on this!
On a laptop, it is a problem that on battery, GPUs tend to be throttled due to save battery or there not being enough power output from the battery to support a GPU at full power. Therefore, it is useful to have different Draw Distances based on whether your laptop is plugged in to an outlet or not. This is specific to the GPU plugin, since CPU usually doesn't really get limited by the battery. My suggested solution would be to detect whether the user is on a laptop, and have 2 different settings for draw distances based on whether it is plugged in or not. If the user also uses a desktop, it would use the plugged in option, since desktops don't suffer from this problem.
A workaround would be to have 2 Google accounts or implement profiles. Since this setting is particular to the GPU, I think it's fine to put it in the plugin configuration.
To put it into perspective: On a laptop with an i5-7300HQ CPU and a GTX 1060 my experience on battery with 30 Draw Distance is buttery smooth around Shilo Village bank, solid 50 fps, When I up it to 50, I get lagspikes when loading new areas, going down to around 30 fps. Upping it to 100 gives many lagspikes below 15 fps. I'll have to test it in an hour when it's plugged in how the performance is, but since Woox ran smoothly on a 1070, I think my experience will be similar. Here is a screenshot of my GPU usage with 100 Draw Distance on battery:

max draw distance is 90 by the way.

I think this is very weird request

Although I agree that this might be a weird request, normally NVIDIA Geforce Experience does this for you (note the "Aangesloten", which is Dutch for connected, and "Op batterij" which is Dutch for on battery):

You can just adjust the draw distance if you are on battery. E.g, use plugin configuration


[BUG] Update-Module for Current User (not an admin on machine)

Reporting an Issue
✔ Please confirm what it is that your reporting
Expected behavior
Able to update module in current user scope when not an admin on machine.
Actual behavior
Prompted to add specific, named parameter to cmdlet.
Add specific, named parameter to cmdlet.
Told specific, named parameter doesn't exist.
am ded

Steps to reproduce behavior
see screenshot
What is the version of the Cmdlet module you are running?
1.10.0
Which operating system/environment are you running PnP PowerShell on?

[x] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

@sparkitect - I have no issue using the -Scope CurrentUser. Is the module already installed on your machine?

Yes, the module is definitely installed and I am able to use it most(ly) effectively.
However, it seems the (customer-provided, citrix accessed, virtual) machine has an older version of PowerShellGet installed, and since I am not an admin, I will be unable to update it myself.
Thanks for responding, @veronicageek!

If you use Install-Module instead will it recognize the -Scope parameter?

If you use Install-Module instead will it recognize the -Scope parameter?

Yes, that worked. Thank you, @ToddKlindt❕

@sparkitect

However, it seems the (customer-provided, citrix accessed, virtual) machine has an older version of PowerShellGet installed, and since I am not an admin, I will be unable to update it myself

Can you please try on your own machine and not on your customer's one? Again I have no problem with those cmdlets.
If this is not working only on your customer's environment, there won't be much we can do.

No porblems on my machine, so I'll chalk it up to the older version of PowerShellGet.
I will aslo ask the customer's IT to update the maching for me.
Thanks again for your help, @ToddKlindt❕


[0.11] ISE in DruidLeaderClient foils RTAC retries

RemoteTaskActionClient is built to retry any IOExceptions or ChannelExceptions, but consider other exceptions as fatal and give up. Generally, this will bubble up and fail the task as well.
DruidLeaderClient (introduced in 0.11.0) will however throw ISE for some things that should be IOExceptions, such as ISE("Couldn't find any servers.") in pickOneHost(). It causes tasks to fail when a leader briefly goes offline, when they really should just retry.

i'm checking.

@himanshug I raised a patch in #4913 that I am verifying now.


Didn't work for me

AFDropdownNotification *notification = [[AFDropdownNotification alloc] init];
notification.titleText = message;
notification.dismissOnTap = YES;
[notification presentInView:self.view withGravityAnimation:YES];
I don't need the buttons so I didn't set the delegate but it was not showing on my UITableViewController.

:+1: Seeing this too. Even when I use buttons and set a delegate…

Got it to work by making it a strong property.

Yeah, looks like that does the trick. I'm currently looking into it. I'll keep you guys updated.

It does´t seem to work in Swift, is there a reason for that?


search for projectson GBIF.rog based on the project ID

ie. BID-CA2020-004-INS
If I search for this on the website I don't find it directly...so I search through contentful instead or google. I don't know what impact it would potentially have but it is a feature I miss, to be able to just look up the project ID number and then find the project on GBIF.org.

partly addressed in https://github.com/gbif/portal16/commit/3795f30ff67c057c2dd6fa1dd820a851c2772135
But an option is also to add keywords to contentful. I've done so for that specific entry

@dnoesgaard what is your opinion on this? would that be an option?

We could do that, yes.
Though I just tried searching for a few IDs and did find the relevant projects. Coincidence?


Debookee fails to link app

Debookee fails to link app. Unpacks to wrong folder name.
⇒ brew cask install debookee --verbose
==> Downloading http://www.iwaxx.com/debookee/debookee.zip 100.0%
Error: It seems the symlink source is not there: '/opt/homebrew-cask/Caskroom/debookee/latest/Debookee.app'

Checked the zip package, seems issue is that it unpacks to Debookee 4.2.0/Debokee.app and not to latest/Debokee.app looked through the stanza's to find something like a way to specify the folder name it unpacks to, but not quite sure how to fix it.
⇒  brew cask doctor
==> OS X Release:
10.10
==> OS X Release with Patchlevel:
10.10.2
==> Hardware Architecture:
intel-64
==> Ruby Version:
2.0.0-p481
==> Ruby Path:
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
==> Homebrew Version:
0.9.5
==> Homebrew Executable Path:
/usr/local/bin/brew
==> Homebrew Cellar Path:
/usr/local/Cellar
==> Homebrew Repository Path:
/usr/local
==> Homebrew Origin:
https://github.com/Homebrew/homebrew.git
==> Homebrew-cask Version:
0.53.3
==> Homebrew-cask Install Location:
/usr/local/Cellar/brew-cask/0.53.3
==> Homebrew-cask Staging Location:
/opt/homebrew-cask/Caskroom
==> Homebrew-cask Cached Downloads:
/Library/Caches/Homebrew
/Library/Caches/Homebrew/Casks
0 files
0.00 megs
==> Homebrew-cask Default Tap Path:
/usr/local/Library/Taps/caskroom/homebrew-cask
==> Homebrew-cask Alternate Cask Taps:
/usr/local/Library/Taps/caskroom/homebrew-versions
==> Homebrew-cask Default Tap Cask Count:
2388
==> Contents of $LOAD_PATH:
/usr/local/Cellar/brew-cask/0.53.3/rubylib
/Library/Ruby/Site/2.0.0
/Library/Ruby/Site/2.0.0/x86_64-darwin14
/Library/Ruby/Site/2.0.0/universal-darwin14
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/x86_64-darwin14
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/universal-darwin14
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/x86_64-darwin14
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin14
==> Contents of $RUBYLIB Environment Variable:
<NONE>
==> Contents of $RUBYOPT Environment Variable:
<NONE>
==> Contents of $RUBYPATH Environment Variable:
<NONE>
==> Contents of $RBENV_VERSION Environment Variable:
<NONE>
==> Contents of $CHRUBY_VERSION Environment Variable:
<NONE>
==> Contents of $GEM_HOME Environment Variable:
<NONE>
==> Contents of $GEM_PATH Environment Variable:
<NONE>
==> Contents of $BUNDLE_PATH Environment Variable:
<NONE>
==> Contents of $PATH Environment Variable:
PATH="/Users/johan/.rbenv/shims:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin:/usr/local/MacGPG2/bin:/Users/johan/.rvm/bin:.:/bin:/opt/chef/bin:/opt/chef/embedded/bin:/usr/local/zend/bin:/usr/local/zend/mysql/bin:/usr/local/share/npm/bin:/Users/johan/.nvm/v0.10.22/bin:/usr/local/Library/ENV/scm"
==> Contents of $SHELL Environment Variable:
SHELL="/bin/zsh"
==> Contents of Locale Environment Variables:
LANG="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
==> Running As Privileged User:
No

You need only update app to include it. However, since they have a versioned directory name even though they use an unversioned url, it makes no sense to keep it at :latest. I’ll update it shortly.


Bugfix refresh(), add Repositories setter, various fixes

Allow empty list of repos initially, add setRepositories()
Fix refresh() to work also when Repositories given in constructor or setter
Optimize getUpdates() by iterating installed plugins rather than plugins from repos
Removed code duplication in hasUpdates()
Safeguard against nullpointer in UpdateRepository.hasUpdate()

Thanks!


Bug: Advancing time with an effect with duration on a token causes all items in the sidebar to flash

How to reproduce

Using PF2e v5.2.3 and FVTT V11 build 306
Using module Beginner Box (Not required, but convenient to reproduce)
Have one PC token on the field (one of the example PCs will work)
Apply an effect from the items tab with a duration (Elemental Aid will work)
With the Effects folder open, advance system time by any amount (1 round should be fine)

Observed:  All the items in the items folder sidebar will briefly flicker, appearing to not render for a frame or two and then render again.
Expected:  The items should not visibly change.
Impact:  Minor, but annoying if using something like Simple Calendar and real time progress which is updating the PF2e system clock in 1 second increments.

Limitation of upstream rendering workflows


merge/use bchroot

Figure out, how to share code from the C library with bchroot.

Done, bchrot is now using plash.h


Undo-tree package in emacs-straight repo is lagged after the latest version found on github.

I noticed that the undo-tree package in emacs-straight repo is lagged after the latest version found on GitHub. Why not use this repo as its upstream?
Regards,
HZ

The mirrors are automated. We do not hand curate their recipes. You can specify a recipe which points to the version of undo-tree you'd like to use.


cant convert iced_aw::Element to iced::Element

Is there an existing issue for this?

[X] I have searched the existing issues.

Is this issue related to iced?

[X] My hardware is compatible and my graphics drivers are up-to-date.

What happened?
I was trying to use the iced_aw's MenuBar, when
pushing the menubar to a column i got this error:
error[E0277]: the trait bound `iced_core::element::Element<'_, _, _>: From<MenuBar<'_, _, _>>` is not satisfied
   --> src/ui.rs:130:9
    |
130 |         column![menu_bar, tabs].into()
    |         ^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<MenuBar<'_, _, _>>` is not implemented for `iced_core::element::Element<'_, _, _>`
    |
    = help: the following other types implement trait `From<T>`: <Cut Garbage from rustc>

with the following code:
        let menu_bar = menu_bar!();
        let mut tabs = row![];

        for tab in self.tabs.1.iter() {
            let title = match tab.1 {
                Tab::File(title, _) => title
                    .to_str()
                    .unwrap_or("File contains non-utf8 characters"),
                Tab::Buffer(_) => "Title",
            };

            let tab = row![Text::new(title), Button::new("X")];

            tabs = tabs.push(tab);
        }

        column![menu_bar, tabs].into()

What is the expected behavior?
Be able to convert iced_aw::Element into iced::Element
Version
master
Operating System
Linux
Do you have any log output?
No response

Previously i had in my cargo.toml ```toml
[dependencies]
iced = { git = "https://github.com/iced-rs/iced", branch = master }
iced-aw = "0.7"
Issue can be resolved by ```toml
iced = "0.10"
```,
the main disadvantage in my case is not having the text editor widget in the main branch, looking for solutions

I have been looking into promoting a beta branch for iced_aw that will be up to date with the current master branch of iced, But I am having similar issue atm with iced_aw itself not being compatible with the current iced master....


fix broken Download PDF link

Download PDF badge link in https://odu-cga-cubesat.github.io/sealion-mission-architecture/ redirects to 404

should be resolved in #199


Cannot use enum from parent scope in map

Using an enum from the parent scope as a map value does not work. Using it as normal field works however.
The following code (copy pasted from generated code) does not compile:

pub mod snazzy {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration,
    )]
    #[repr(i32)]
    pub enum Size {
        Small = 0,
        Medium = 1,
        Large = 2,
    }

    pub mod items {
        #[derive(Clone, PartialEq, ::prost::Message)]
        pub struct Shirt {
            #[prost(string, tag = "1")]
            pub colour: std::string::String,
            #[prost(enumeration = "super::Size", tag = "2")]
            pub size: i32,
            #[prost(map = "int32, enumeration(super::Size)", tag = "3")]
            pub size_map: ::std::collections::HashMap<i32, i32>,
        }
    }
}

The error message is:
error[E0433]: failed to resolve: could not find `Size` in `super`
  --> src/lib.rs:46:36
   |
46 |         #[derive(Clone, PartialEq, ::prost::Message)]
   |                                    ^^^^^^^^^^^^^^^^ could not find `Size` in `super`

error[E0412]: cannot find type `Size` in module `super`
  --> src/lib.rs:46:36
   |
46 |         #[derive(Clone, PartialEq, ::prost::Message)]
   |                                    ^^^^^^^^^^^^^^^^ not found in `super`

error: aborting due to 2 previous errors

Interestingly if I add use super::Size; after pub mod items { it compiles.
I know this probably not a very common issue. Any help would be appreciated though.

@mger1 I believe this should be fixed as of prost 0.6.0.  Please re-open if you still have issues after updating.