Problems with timer clocks

I want to get the configred clocks for timer TIM2 on my stm32h743vgt6. This let clk = ccdr.peripheral.TIM2::get_clk(&ccdr.clocks).unwrap().raw(); produces an error:
error: expected `<`
   --> src/main.rs:176:41
    |
176 |         let clk = ccdr.peripheral.TIM2::get_clk(&ccdr.clocks).unwrap().raw();
    |                                         ^^^^^^^

I do have the use stm32h7xx_hal::timer::GetClk trait in scope. What is the problem?

Associated functions must be called on the type itself, not an instance of the type


ADDING A REMEMBER ME OPTION FOR CONSTANT READERS / VISITORS TO THE SITE AND AGREE TO TERMS AND CONDITIONS

Describe the feature
This feature will help the registered users to login easily without getting into the hassle of remembering credentials. The required changes will be made to the login page below.
Add ScreenShots

Record

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

@anuragverma108 Kindly assign this issue to me

Assigned @AnushkaSharma04

@anuragverma108 Can u provide me with the terms and conditions to keep in that checkbox feature for the website or shall I do it on my own

Do it your own!
Feel free to use your creativity!
Go ahead

@anuragverma108 What's the expected deadline to commit the changes

1 week

@anuragverma108 I have added the remember me check box that will ensure easy access to users by storing info in local storage . Kindly check the screenshot

Give some gap between check box and remember me. Also there should be in same alignment.

@anuragverma108  Is it better now ?

Yess.
Raise PR


How to rename output dll & libs of openssl  1.1.1t on windows

I am using openssl 1.1.1t,  I just want to rename the out dll, like libssl-1_1.lib->libssl-test-1_1.lib, libcrypto-1_1.lib->libcrypto-test-1_1.lib, I have refer the issue #20439 , but it seems the solution did not work on windows. So do we havn another solution to do this, thanks

Yup, you are correct...  as build files templates currently stand with 1.1.1, only the Unix Makefile template supports shlib_variant.  That's an omission that should be easy to fix.

1.1.1 is security fixes only and this wouldn't qualify.

1.1.1 is security fixes only and this wouldn't qualify.

Argh, forgot about that

@levitte I haved tried your patch but it doesnot work for me, what I did is:

apply the patches like:

diff --git a/Configurations/descrip.mms.tmpl b/Configurations/descrip.mms.tmpl
index e1aecfa..1685941 100644
--- a/Configurations/descrip.mms.tmpl
+++ b/Configurations/descrip.mms.tmpl
@@ -13,6 +13,8 @@
our $sover_dirname = sprintf "%02d%02d", split(/./, $config{shlib_version_number});
our $osslver = sprintf "%02d%02d", split(/./, $config{version});
+  our $shlibvariant = $target{shlib_variant} || "";
+
our $sourcedir = $config{sourcedir};
our $builddir = $config{builddir};
sub sourcefile {
@@ -47,13 +49,13 @@
map { (my $x = $_) =~ s/.a$//; $x }
@{$unified_info{libraries}};
our @shlibs =

 map { $unified_info{sharednames}->{$_} || () }

 map { $unified_info{sharednames}->{$_}.$shlibvariant || () }
 grep(!/\.a$/, @{$unified_info{libraries}});

our @install_libs =
map { (my $x = $_) =~ s/.a$//; $x }
@{$unified_info{install}->{libraries}};
our @install_shlibs =

 map { $unified_info{sharednames}->{$_} || () }

 map { $unified_info{sharednames}->{$_}.$shlibvariant || () }
 grep(!/\.a$/, @{$unified_info{install}->{libraries}});

This is a horrible hack, but is needed because recursive inclusion of files

@@ -695,7 +697,7 @@ reconfigure reconf :
}
return map { $_ =~ /.a$/
? $`.".OLB"

              : $unified_info{sharednames}->{$_}.".EXE" } @_;

              : $unified_info{sharednames}->{$_}.$shlibvariant.".EXE" } @_;

}
Helper function to deal with inclusion directory specs.

@@ -912,7 +914,7 @@ EOF
sub libobj2shlib {
my %args = @_;
my $lib = $args{lib};

 my $shlib = $args{shlib};

 my $shlib = $args{shlib}.$shlibvariant;
 my $libd = dirname($lib);
 my $libn = basename($lib);
 my @objs = map { (my $x = $_) =~ s|\.o$|.OBJ|; $x }

diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl
index 13716e0..96a3f6f 100644
--- a/Configurations/windows-makefile.tmpl
+++ b/Configurations/windows-makefile.tmpl
@@ -42,13 +42,15 @@
(my $lib = shift) =~ s/.a$//;
$lib .= '_static'
if (defined $unified_info{sharednames}->{$lib});

return $lib . $libext;

#return $lib . $libext;

return $lib . $shlibvariant . $libext;

}
sub shlib_import {
my $lib = shift;
return () if $disabled{shared} || $lib =~ /.a$/;

return $lib . $shlibextimport;

#return $lib . $shlibextimport;

return $lib . $shlibvariant . $shlibextimport;

}
sub dso {
diff --git a/util/mkdef.pl b/util/mkdef.pl
index 3ac7982..0599f23 100644
--- a/util/mkdef.pl
+++ b/util/mkdef.pl
@@ -197,6 +197,7 @@ foreach (@ARGV, split(/ /, $config{options}))
}
$libname = $unified_info{sharednames}->{libcrypto} if $do_crypto;
$libname = $unified_info{sharednames}->{libssl} if $do_ssl;
+$libname .= $target{shlib_variant} || "";

if (!$libname) {
if ($do_ssl) {

create an new config file named "99-ourtargets.conf", and the content is:
(
"VC-WIN64A-masm-test" => {
inherit_from => [ 'VC-WIN64A-masm' ],
shlib_variant => "-test",
}
);

run this command:
perl Configure VC-WIN64A-masm-test

But the lib and dll named were not changed, still libcrtpto.lib&libcrypto-1_1.dll, Did I do something wrong? Please help, thanks

The version 1.1.1 is not supported anymore. Closing. If this is still an issue with currently supported releases, please open a new issue.


feat: Update Map Component

Auto scale of map: Get height of available screen size (and width 100%) and set size container of FilmSchoolMap component before of render 👍


CI for Node

CI for testing the bug

FAIL test/game.test.js
App
✕ Contains the compiled JavaScript (11 ms)
Game
Game
✕ Initializes with two players (5 ms)
✓ Initializes with an empty board (1 ms)
✕ Starts the game with a random player (1 ms)
turn
✓ Inserts an 'X' into the top center (1 ms)
✓ Inserts an 'X' into the top left (1 ms)
nextPlayer
✕ Sets the current player to be whoever it is not (1 ms)
hasWinner
✓ Wins if any row is filled (1 ms)
✓ Wins if any column is filled (2 ms)
✓ Wins if down-left diagonal is filled
✓ Wins if up-right diagonal is filled (1 ms)

FAIL test/game.test.js
App
✕ Contains the compiled JavaScript (11 ms)
Game
Game
✕ Initializes with two players (5 ms)
✓ Initializes with an empty board (1 ms)
✕ Starts the game with a random player (1 ms)
turn
✓ Inserts an 'X' into the top center (1 ms)
✓ Inserts an 'X' into the top left (1 ms)
nextPlayer
✕ Sets the current player to be whoever it is not (1 ms)
hasWinner
✓ Wins if any row is filled (1 ms)
✓ Wins if any column is filled (2 ms)
✓ Wins if down-left diagonal is filled
✓ Wins if up-right diagonal is filled (1 ms)


persisted session DO timestamp is not correct

in the class org.wso2.carbon.identity.application.authentication.framework/src/main/java/org/wso2/carbon/identity/application/authentication/framework/store/SessionDataStore.java the time_created is computed as:
currentStandardNano = currentStandardNano + (currentSystemNano - FrameworkServiceDataHolder.getInstance().getNanoTimeReference());
which after certain time (e.g. 2 days) places all timestamps 2 days in future. A simple nano should suffice (is there even any reason to use nanosecods?)

Closing this referring to conversation at https://github.com/wso2/carbon-identity/pull/1744


Custom Error Messages in 3.0

I've read in a couple of different places that starting with version 3.0, we'd be able to override Qlik's error message behavior and create our own.  Currently you can get stuck in a loop if there is an issue with the Qlik server where the error keeps popping up as a modal dialog and makes using the rest of the application impossible.
Is there an example anywhere on how to override this behavior in 3.0?

Just pass in the config a timeoutMessage
https://github.com/qlik-demo-team/qdt-components/blob/master/src/qdtEnigma.js#L71


load_active_pixels! only works with a single active source, unit tests for Infer.jl

load_active_pixels! only gets the active pixels for the first active source.  This probably slipped past because it and the other functions in Infer.jl, are also missing tests.

There's an assert statement in load_active_pxiels! that ensures only 1 source is active. PR #363 adds a basic unit test for load_active_pixels!.
As for the other functions in Infer.jl,  there's infer_source(), which gets run in test_infer.jl. That in turn calls all the other functions in Infer.jl, so at least their syntax gets checked. Not saying that's good enough, but it's a lot better than not having the syntax checked by the tests. fit_object_psfs!() is really simple / algorithmic---I don't know that it warrants a test beyond the test that runs infer_source(). get_tile_source_map() is going to change entirely with #316. find_neighbors() should be tested, the perhaps after #142? OK if we close this issue and open one specific to testing find_neighbors()?

This function should set active pixels for multiple sources if requested.  It is not hard to do.  The code that you refactored did it, so I'm really requesting that you restore deleted functionality rather than implement new functionality.  When we look into doing per-source coordinate ascent vs joint optimization on multiple sources we will want to have this.  Please fix this.
Regarding testing, per our discussion at lunch today, we have different ideas about the value of unit tests.  If I were you, I would restore the full functionality of the old tests (that the active pixels actually catch most of the light, that the ELBO is about the same, and that the min_radius works as advertised).  But this is your code, so if you don't think those tests are important, it's your call.

PR #363 adds the additional test you mention and restores support for multiple active sources. As original implemented, the intersect command was allocating a huge amount of memory. That's partly why I removed support for multiple sources during the IPDPS push to lower memory allocation. The current code avoids using intersect with in in statement for each active source. Because we'll never have many active_sources (or else we're in trouble because the hessian will be huge), this should be pretty fast. But let me run benchmark_infer.jl before merging PR #363.


replace post w get

#3143  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tommylau523 and the rest of your teammates on  Graphite

Merge activity

Sep 6, 2:38 PM EDT: @tommylau523 merged this pull request with Graphite.


Remove all future imports

We added the __future__ imports for python 2.  Now that we're using
python 3.6 or above, they're no longer necessary.
The imports removed are:

absolute_import
division
print_function
unicode_literals

Accepting. Jason previously agreeing with this change in a conversation a few weeks ago. It can easily be reverted if needed (i.e. an easy one commit revert).


Code for the default plane is inside of modelgroup.cs instead of in it's own file

All of the other models have their own files. Change this to be consistent.

Dupe


Azure metrics spec tests (CPU)

This is a PR to add spec tests to the current Azure (CPU) metrics support.
Once merged, I will update the PR referenced below1 with specs for network, disk and memory.
Links
1https://github.com/ManageIQ/manageiq/pull/10065 Azure - Enhanced C&U support
https://github.com/ManageIQ/azure-armrest/wiki/Insights:-Metrics

👍

I think you still need to change the with_metrics_service to get around your original arity error.  You are technically not stubbing the method exactly the way the method works.
So, I think change
def with_metrics_services
  yield [conn1, conn2]
end

to
def with_metrics_services
  yield conn1, conn2
end

LGTM :+1:

@Fryguy @blomquisg @chessbyte
Tests are passing,  this is all set.

👍 (again)

@miq-bot add_label darga/yes

Darga backport details:
commit 5a0d0639c367f24b13417c458f2d9b6cf21e391a
Author: Jason Frey<EMAIL_ADDRESS>Date:   Thu Aug 4 14:40:37 2016 -0400

    Merge pull request #10196 from bronaghs/azure_metrics_specs

    Azure metrics spec tests (CPU)
    (cherry picked from commit f39b966aaa31b55707a88ee319756697a43275db)

https://bugzilla.redhat.com/show_bug.cgi?id=1375286


Trying to run the test but nothing happened

This is the code, copied from the readme

but when I'm trying to run the tests nothing happens.

Looking forward to some assistance. Thanks :)

`No tests found for given includes:


[Mod Suggestion/Compatibility list]: Placeholder for Mod Compat.

General Info

[X] I would like to suggest a new mod
[ ] I would like to suggest a new quests
[X] I would like to propose changes
[X] I would like to propose another thing

Suggestion Description
unfinished

https://modrinth.com/mod/resource_explorer
Modpack customization

https://modrinth.com/mod/solid_mobs
Gameplay Feature

https://modrinth.com/mod/tellme
Modpack customization

https://modrinth.com/mod/create-tfmg
Another Create mod all about Oil
(America once again)

https://modrinth.com/mod/immersive-ui

https://modrinth.com/mod/via-romana
Better Fast Travel

https://modrinth.com/mod/astikorcarts-redux
Carts

https://modrinth.com/mod/fastmove
Movement

https://modrinth.com/mod/realistic-rowing
Rowing

https://modrinth.com/mod/wfs-cave-overhaul
world gen

https://modrinth.com/mod/profundis
World gen


fix(container): unable to set partial container resources (#741)

Backport
This will backport the following commits from k8s-24/main to k8s-22/main:

fix(container): unable to set partial container resources (#741)

Questions ?
Please refer to the Backport tool documentation

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 796

Questions ?
Please refer to the Backport tool documentation


[CARBONDATA-2804][DataMap] fix the bug when bloom filter or preaggregate datamap tried to be created on older V1-V2 version stores

[CARBONDATA-2804] fix the bug when bloom filter or preaggregate datamap tried to be created on older V1-V2 version store
fix the bug for read the carbondata format version form carbondata file header of the older V1-V2 version stores, the version filed is moved to FileHeader
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?
NA
[ ] Any backward compatibility impacted?
NA
[ ] Document update required?
NA
[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.
test pass in test environment
[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
NA

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7731/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6457/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7737/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6463/

hi, @ndwangsen Can you provide simple description about your solution in the PR description.

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/6122/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/6127/

retest this please

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6477/

retest this please

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7753/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6478/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7758/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6483/

LGTM

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/6139/


add documentation to show SI-7139 limitation in REPL and tut

LGTM :+1:
I saw a build logs. Maybe, TravisCI was cranky when pushed :sweat_smile:
I restarted CI and passed tests.

Thanks, sorry I didn't see the build failure.


Add class name to "has conflict" warnings

Initial Checks

[X] I have searched Google & GitHub for similar requests and couldn't find anything
[X] I have read and followed the docs and still think this feature is missing

Description
This would make it easier to identify which class has the conflict when multiple classes are involved.
Before:
.../site-packages/pydantic/_internal/_fields.py:160:
UserWarning: Field "model_max_budget"
has conflict with protected namespace "model_".

After:
.../site-packages/pydantic/_internal/_fields.py:160:
UserWarning: Field "model_max_budget" in LiteLLM_BudgetTable
has conflict with protected namespace "model_".

I started working on this and will have a PR ready shortly...
Affected Components

[ ] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .model_dump() and .model_dump_json()
[ ] JSON Schema
[ ] Dataclasses
[X] Model Config
[ ] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - model_construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

@sydney-runkle: Do I close this issue or is there some automation that will do that when #9964 appears in a release?

@msabramo we can close this issue, and the change will show up in release notes :).


Endpoint to cancel an order

Description
An application owner should be able to cancel a registered order as long as the requested send time is not passed.
PUT notifications/api/v1/orders/{id}/cancel
If less than 1 minute to send time cancellation does not need to be accepted
Consideration
What should be the response if you try to cancel an order you have not created? 404 as we cannot find an order within the provided creator scope or 403?
Tasks

[ ] Implement controller endpoint
[ ] Extend order processing enum with a cancelled property
[ ] Implement repository logic for cancelling an order
[ ] Implement OrderCancelService with logic for validating and potentially cancelling an order
[ ] Implement unit & integration tests
[ ] QA
[ ] Update APIM
[ ] Implement automated tests

Acceptance Criterias

[ ] an application owner can only cancel an order they have created themselves
[ ] an order with status pending is possible to cancel
[ ] A PUT request to the cancel endpoint of an order results in the order getting a Cancelled status in the database
[ ] Orders with status cancelled should not be included in the list of past due orders
[ ] Order cancelation works for any type of order (sms/email)

After discussing with Ragnar and Roar in Melding & Formidling, we discovered the need for the following responses:

OK/Accepted (the notification was cancelled)
Fail (e.g. due to the notification being past the cut-off/already executed)
Fail (notification does not exist)


Support iOS 15

We need to support iOS 15, check if anything broke

@alon-ha does this include Applesimutils?

Yes, in case we need to update there something as well

@alon-ha something to look into this week?

@alon-ha something to look into this week?

I think so, it will be good time to check it

👋  Hello everyone! I just wanted to call attention to the fact that the Apple event where the iOS 15 release date is expected to be announced is next week. If anyone at Detox could find time to look into this it would be much appreciated.

Thanks @mickmaccallum, we will do our best!

had some investigation for xcode 13.0 beta5 + ios 15 simulator today. there was a detox crash like this:
2021-09-13 18:17:46.144 Df BareExpoDetox[51267:2b20a1] (CoreFoundation) *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<_NSMainThread 0x6000025c42c0> valueForUndefinedKey:]: this class is not key value coding-compliant for the key private.'
*** First throw call stack:
(
        0   CoreFoundation                      0x000000011adb88a8 __exceptionPreprocess + 242
        1   libobjc.A.dylib                     0x00000001135ecbe7 objc_exception_throw + 48
        2   CoreFoundation                      0x000000011adb8549 -[NSException init] + 0
        3   Foundation                          0x000000011614d38e -[NSObject(NSKeyValueCoding) valueForUndefinedKey:] + 225
        4   Foundation                          0x00000001161fba76 -[NSThread valueForUndefinedKey:] + 85
        5   Foundation                          0x000000011614c16e -[NSObject(NSKeyValueCoding) valueForKey:] + 307
        6   Foundation                          0x000000011614cba8 -[NSObject(NSKeyValueCoding) valueForKeyPath:] + 244
        7   Detox                               0x00000001136bfd02 __DTXHandleCrash + 130
        8<…>

after further xcode debugging, the root cause is here to access private api UIWindowScene._keyWindowScene which is not available in ios 15. i am not sure where the change is in the ios 15 sdk, but looks like the symbol did exist.
$ nm -C /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore |grep 'UIWindowScene _keyWindowScene'
0000000000e94324 t +[UIWindowScene _keyWindowScene]

just for reference, hopefully to help with ios 15 support for detox.
thanks for your great work for the detox framework 🔥

Will check it this week. Im sure there will be more issues with iOS 15.
Everyone please keep adding stack traces of crashes you are having on iOS 15.
Thanks

@alon-ha I just bumped into Detox not working on iOS15 and I wonder if following the Apple documentation you could move past your crash if you locally patched to use
	UIWindowScene* scene = UIWindowScene.keyWindow;

In place of
	UIWindowScene* scene = UIWindowScene._keyWindowScene;

c.f. https://developer.apple.com/documentation/uikit/uiwindowscene/3750932-keywindow?language=objc
Seems like it would be taking the relevant changes from the iOS13 PR here and implementing them in a slightly different way but not using hidden symbols ? https://github.com/wix/Detox/commit/ac73949514199bc2f3acec192be3615c0bd79cf5#diff-7920fa2275d13d2229e29a25293f7ba57440fa87c8e57fcb7b9ff9053faa26d6

:thinking: I thought I was on to something with the ios15 changes to key window detection and this diff:
diff --git a/detox/ios/Detox/Utilities/UIWindow+DetoxUtils.m b/detox/ios/Detox/Utilities/UIWindow+DetoxUtils.m
index 1a067fe0..de91ca1d 100644
--- a/detox/ios/Detox/Utilities/UIWindow+DetoxUtils.m
+++ b/detox/ios/Detox/Utilities/UIWindow+DetoxUtils.m
@@ -138,19 +138,34 @@ static NSString* _DTXNSStringFromUISceneActivationState(UISceneActivationState s

 + (UIWindow*)dtx_keyWindow
 {
-       return UIWindowScene._keyWindowScene._keyWindow;
+    UIWindow        *foundWindow = nil;
+    NSArray         *windows = [[UIApplication sharedApplication]windows];
+    for (UIWindow   *window in windows) {
+        if (window.isKeyWindow) {
+            foundWindow = window;
+            break;
+        }
+    }
+    return foundWindow;
+}
+
++ (UIWindowScene*)dtx_keyWindowScene
+{
+       UIWindow* keyWindow = [self dtx_keyWindow];
+       UIWindowScene* scene = keyWindow ? keyWindow.windowScene :  nil;
+       return scene;
 }

 + (NSArray<UIWindow *> *)dtx_allKeyWindowSceneWindows
 {
-       UIWindowScene* scene = UIWindowScene._keyWindowScene;
+       UIWindowScene* scene = [self dtx_keyWindowScene];
        return [self dtx_allWindowsForScene:scene];
 }

 + (NSArray<UIWindow*>*)dtx_allWindowsForScene:(UIWindowScene*)scene
 {
        NSMutableArray<UIWindow*>* windows = [[self dtx_allWindows] mutableCopy];
-       scene = scene ?: UIWindowScene._keyWindowScene;
+       scene = scene ?: [self dtx_keyWindowScene];
        if(scene != nil)
        {
                NSPredicate* predicate = [NSPredicate predicateWithFormat:@"windowScene == %@", scene];
@@ -193,7 +208,7 @@ static NSString* _DTXNSStringFromUISceneActivationState(UISceneActivationState s

 + (void)dtx_enumerateKeyWindowSceneWindowsUsingBlock:(void (NS_NOESCAPE ^)(UIWindow* obj, NSUInteger idx, BOOL *stop))block
 {
-       UIWindowScene* scene = UIWindowScene._keyWindowScene;
+       UIWindowScene* scene = [self dtx_keyWindowScene];
        [self dtx_enumerateWindowsInScene:scene usingBlock:block];
 }

But now I'm crashing deep in Detox innards, with a fishhook crash while it's trying to rebind symbols :disappointed:
EXC_BAD_ACCESS here while doing a dyld load on something
https://github.com/facebook/fishhook/blob/8ef82f0711494ecc78d16bf6ce76f5ad92e5f67b/fishhook.c#L137
I'm just an Objective-C dilettante so this is really hard + slow going for me, any chance this will see attention some time soon by someone that actually knows Objective-C + iOS :pray:  :laughing:

Fantastic, does that mean that you are using my patch above with ios15 and detox  v18 and it's working? Just curious if that was useful. My test case is just using the detox repo directions for development and running the ios e2e app. I was on an Intel Mac fully updated to current stable versions of everything in the tool chain

I should make a fork of this repo and make a PR just so it's easier to inspect I guess

@mikehardy i have a fork/pr with your changes and little more here:  https://github.com/wix/Detox/pull/2992
It works using the iOS:none flow. I will try other scenarios. It’s capable of manipulating and juggling navigators. I added an example app to fiddle with

Premature... Signal 6 crash in release build.
The symbols issue. Side-by-side, it does work on 14.5.
I'll keep digging.
The app has crashed, see the details below:

Signal 6 was raised
(
        0   Detox                               0x00000001093fac45 +[NSThread(DetoxUtils) dtx_demangledCallStackSymbols] + 37
        1   Detox                               0x00000001093fde50 __DTXHandleCrash + 464
        2   Detox                               0x00000001093fe595 __DTXHandleSignal + 59
        3   libsystem_platform.dylib            0x000000010b6fdd7d _sigtramp + 29
        4   ???                                 0x0000000000000001 0x0 + 1
        5   libsystem_c.dylib                   0x000000010b68a684 abort + 123
        6   libc++abi.dylib                     0x00000001091f25c2 abort_message + 241
        7   libc++abi.dylib                     0x00000001091e376d demangling_unexpected_handler() + 0
        8   libobjc.A.dylib                     0x000000010918ec1b _objc_terminate() + 96
        9   Detox                               0x00000001093fea8f __dtx_terminate() + 157
        10  libc++abi.dylib                     0x00000001091f19e7 std::__terminate(void (*)()) + 8
        11  libc++abi.dylib                     0x00000001091f1998 std::terminate() + 56
        12  libdispatch.dylib                   0x000000010a88da6a _dispatch_client_callout + 28
        13  libdispatch.dylib                   0x000000010a89ae20 _dispatch_main_queue_callback_4CF + 1073
        14  CoreFoundation                      0x0000000109bd485d __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
        15  CoreFoundation                      0x0000000109bcf0ba __CFRunLoopRun + 2772
        16  CoreFoundation                      0x0000000109bce103 CFRunLoopRunSpecific + 567
        17  GraphicsServices                    0x000000010d8a2cd3 GSEventRunModal + 139
        18  UIKitCore                           0x000000011d974e63 -[UIApplication _run] + 928
        19  DetoxSync                           0x00000001212712fd __detox_sync_UIApplication_run + 362
        20  UIKitCore                           0x000000011d979a53 UIApplicationMain + 101
        21  example                             0x000000010768b3c8 main + 104
        22  dyld                                0x0000000108f45e1e start_sim + 10
        23  ???                                 0x0000000000000001 0x0 + 1
)

Premature... Signal 6 crash in release build. The symbols issue. Side-by-side, it does work on 14.5. I'll keep digging.

The symbol crash was actually due to a stale version in ~/Library/detox/ios, ensuring the newly built framework with the changes to NSObject+DetoxUtils.m as well resolved the issue.
Video is kind of long but shows side by side 14.5 & 15 running the test app that was crashing before
https://user-images.githubusercontent.com/30021449/135115805-957e612e-70d8-47ac-bb6a-87d000984398.mp4

Very interesting! If you see success with my patch above as used in #2992, then I need to re-test locally and make sure I have a clean environment. That would be a great result. #2992 contains unrelated things so I posted #2996 in the hopes that if the patch works it can be incorporated really quickly, independent of any new demo or unrelated changes...

I think you will still need the two changes in

detox/ios/Detox/Utilities/UIWindow+DetoxUtils.h
detox/ios/Detox/Utilities/NSObject+DetoxUtils.m

Oh, very interesting result! I'm not sure when I'll have the time to give this another timeslice as I need to get a few other critical things done first, but my next step if no one beats me to it will be to triple-check my local environment (to make sure I have up to date local frameworks built etc etc) and try to reproduce success based on your PR branch. Given my obj-c skills I'm going to be kind of astounded if it works
Yeah - just seeing your comment - I think you are right - I just noticed those in your PR, added a second commit with those and attribution. Hopefully something here works between the two PRs !

A new version released.
Let's see if we still have issues with iOS 15..

Unfortunately, react-native-firebase e2e test harness still fails on it in github using macos-11 runner + Xcode 13.0 + iOS15 - https://github.com/invertase/react-native-firebase/pull/5734/checks?check_run_id=3749043879 (the simulator log, attached as an artifact, did not reveal anything really)
whereas it works with Xcode12.5.1/iOS14.5 github actions or local  https://github.com/invertase/react-native-firebase/actions/runs/1288236200
I did give it a whirl at least :-). The README.md here shows how to run it in case you want to use it as a fuzztest once Detox internal e2e works on iOS15? https://github.com/invertase/react-native-firebase/blob/master/tests/README.md

Hi! I just updated to detox 18.22.0, and it stills is not working in my case.
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Incident Identifier: F548AF41-6556-4654-8720-553D599337CB
CrashReporter Key:   61FDB4F5-B654-92E7-EC0A-1EC76F813242
Hardware Model:      MacBookPro16,1
Process:             webapiReactNativeClient [33219]
Path:                /Users/USER/Library/Developer/CoreSimulator/Devices/7F8D459C-2BF9-401F-8FE4-5D945CE6E598/data/Containers/Bundle/Application/4DDA58ED-D890-4070-ABF4-94DE5A91CAC8/webapiReactNativeClient.app/webapiReactNativeClient
Identifier:          ar.com.nexion.webapiReactNativeClient
Version:             1.0 (0)
Code Type:           X86-64 (Native)
Role:                Foreground
Parent Process:      launchd_sim [29086]
Coalition:           com.apple.CoreSimulator.SimDevice.7F8D459C-2BF9-401F-8FE4-5D945CE6E598 [1235]
Responsible Process: SimulatorTrampoline [2080]

Date/Time:           2021-09-29 21:25:05.1515 -0300
Launch Time:         2021-09-29 21:25:04.9549 -0300
OS Version:          macOS 12.0 (21A5522h)
Release Type:        User
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x00007fff81a55478
Exception Codes: 0x0000000000000002, 0x00007fff81a55478
VM Region Info: 0x7fff81a55478 is in 0x7fff81a54f20-0x7fff81a98088;  bytes after start: 1368  bytes before end: 273423
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      unused shlib __TEXT      7fff81a54f18-7fff81a54f20 [     8] r--/rwx SM=COW  ... this process
--->  __DATA_CONST             7fff81a54f20-7fff81a98088 [  268K] r--/rwx SM=COW  ...avaScriptCore
      __DATA_CONST             7fff81a98088-7fff81a9aed0 [   12K] r--/rwx SM=COW  ...Dynamic.dylib
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 10 Bus error: 10
Terminating Process: exc handler [33219]

Triggered by Thread:  0

Application Specific Information:
CoreSimulator 776.3 - Device: iPhone 12 (7F8D459C-2BF9-401F-8FE4-5D945CE6E598) - Runtime: iOS 15.0 (19A339) - DeviceType: iPhone 12
dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_INSERT_LIBRARIES=/Users/javiercastro/Library/Detox/ios/87fc7c1a86f820d7804733cd5e9abb5dfa4b3bed/Detox.framework/Detox
dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_INSERT_LIBRARIES=/Users/javiercastro/Library/Detox/ios/87fc7c1a86f820d7804733cd5e9abb5dfa4b3bed/Detox.framework/Detox

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   DetoxSync                              0x10f083828 perform_rebinding_with_section + 649
1   DetoxSync                              0x10f083465 rebind_symbols_for_image + 504
2   dyld_sim                               0x10f185e99 invocation function for block in dyld4::APIs::_dyld_register_func_for_add_image(void (*)(mach_header const*, long)) + 175
3   dyld_sim                               0x10f1720b5 dyld4::RuntimeState::withLoadersReadLock(void () block_pointer) + 41
4   dyld_sim                               0x10f185d9a dyld4::APIs::_dyld_register_func_for_add_image(void (*)(mach_header const*, long)) + 116
5   DetoxSync                              0x10f083575 rebind_symbols + 157
6   DetoxSync                              0x10f0830e6 +[NSTimer(DTXSpy) load] + 145
7   libobjc.A.dylib                     0x7fff2018cd65 load_images + 970
8   dyld_sim                               0x10f1769da dyld4::RuntimeState::notifyObjCInit(dyld4::Loader const*) + 170
9   dyld_sim                               0x10f17b94d dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 167
10  dyld_sim                               0x10f17b93b dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 149
11  dyld_sim                               0x10f17b9f6 dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const + 102
12  dyld_sim                               0x10f18a2d8 dyld4::APIs::runAllInitializersForMain() + 222
13  dyld_sim                               0x10f16e920 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 2306
14  dyld_sim                               0x10f16ed3f _dyld_sim_prepare + 379
15  dyld                                   0x117689ba7 dyld4::prepareSim(dyld4::RuntimeState&, char const*) + 1265
16  dyld                                   0x1176886b5 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 244
17  dyld                                   0x1176884b4 start + 388

Thread 1:
0   libsystem_pthread.dylib             0x7fff6bfec00c start_wqthread + 0

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x000000010f082bc9  rbx: 0x0000000000000000  rcx: 0x000000010f0c6d78  rdx: 0xffffffffffffffff
  rdi: 0x00007fff81a553a8  rsi: 0x000000000000001a  rbp: 0x00007ff7b24269c0  rsp: 0x00007ff7b24268f0
   r8: 0x0000000000000000   r9: 0x0000000000000910  r10: 0x0000000000000001  r11: 0x0000000000000203
  r12: 0x0000000000000001  r13: 0x0000000000000001  r14: 0x00007fffd3be5072  r15: 0x00006000009ee280
  rip: 0x000000010f083828  rfl: 0x0000000000010202  cr2: 0x00007fff81a55478

Logical CPU:     4
Error Code:      0x00000007 (invalid protections for user data write)
Trap Number:     14

Binary Images:
       0x10f07a000 -        0x10f0a5fff com.wix.DetoxSync (1.0) <56006f1c-e9db-36d8-86ad-393fc6e1252e> /Users/USER/Library/Detox/*/Detox.framework/Frameworks/DetoxSync.framework/DetoxSync
       0x10f16d000 -        0x10f1b9fff dyld_sim (*) <d494c297-dc73-394b-901e-1b5930e801df> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim
    0x7fff2017f000 -     0x7fff201b0fff libobjc.A.dylib (*) <8d646e32-1ecc-300d-acea-e906348ab594> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libobjc.A.dylib
       0x117683000 -        0x1176eafff dyld (*) <9fc670fc-4d35-3582-a044-8f06bf2528af> /usr/lib/dyld
    0x7fff6bfea000 -     0x7fff6bff5fff libsystem_pthread.dylib (*) <ad356414-9c4c-3df7-a0e6-57ccac56de46> /usr/lib/system/libsystem_pthread.dylib
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

EOF

-----------
Full Report
-----------

{"app_name":"webapiReactNativeClient","timestamp":"2021-09-29 21:25:05.00 -0300","app_version":"1.0","slice_uuid":"05187f0c-dd94-32dc-b182-0f1d4b75668b","build_version":"0","platform":7,"bundleID":"ar.com.nexion.webapiReactNativeClient","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.0 (21A5522h)","incident_id":"F548AF41-6556-4654-8720-553D599337CB","name":"webapiReactNativeClient"}
{
  "uptime" : 22000,
  "procLaunch" : "2021-09-29 21:25:04.9549 -0300",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro16,1",
  "procStartAbsTime" :<PHONE_NUMBER>0113,
  "coalitionID" : 1235,
  "osVersion" : {
    "train" : "macOS 12.0",
    "build" : "21A5522h",
    "releaseType" : "User"
  },
  "captureTime" : "2021-09-29 21:25:05.1515 -0300",
  "incident" : "F548AF41-6556-4654-8720-553D599337CB",
  "bug_type" : "309",
  "pid" : 33219,
  "procExitAbsTime" :<PHONE_NUMBER>3417,
  "cpuType" : "X86-64",
  "procName" : "webapiReactNativeClient",
  "procPath" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/7F8D459C-2BF9-401F-8FE4-5D945CE6E598\/data\/Containers\/Bundle\/Application\/4DDA58ED-D890-4070-ABF4-94DE5A91CAC8\/webapiReactNativeClient.app\/webapiReactNativeClient",
  "bundleInfo" : {"CFBundleShortVersionString":"1.0","CFBundleVersion":"0","CFBundleIdentifier":"ar.com.nexion.webapiReactNativeClient"},
  "storeInfo" : {"deviceIdentifierForVendor":"1CA5B917-A72E-50A5-A3CA-5CE22D3CD512","thirdParty":true},
  "parentProc" : "launchd_sim",
  "parentPid" : 29086,
  "coalitionName" : "com.apple.CoreSimulator.SimDevice.7F8D459C-2BF9-401F-8FE4-5D945CE6E598",
  "crashReporterKey" : "61FDB4F5-B654-92E7-EC0A-1EC76F813242",
  "responsiblePid" : 2080,
  "responsibleProc" : "SimulatorTrampoline",
  "wakeTime" : 3739,
  "bridgeVersion" : {"build":"19P50522d","train":"6.0"},
  "sleepWakeUUID" : "2134466E-08E5-4E04-AB31-F9CF0D46B8F9",
  "sip" : "disabled",
  "vmRegionInfo" : "0x7fff81a55478 is in 0x7fff81a54f20-0x7fff81a98088;  bytes after start: 1368  bytes before end: 273423\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      unused shlib __TEXT      7fff81a54f18-7fff81a54f20 [     8] r--\/rwx SM=COW  ... this process\n--->  __DATA_CONST             7fff81a54f20-7fff81a98088 [  268K] r--\/rwx SM=COW  ...avaScriptCore\n      __DATA_CONST             7fff81a98088-7fff81a9aed0 [   12K] r--\/rwx SM=COW  ...Dynamic.dylib",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000002, 0x00007fff81a55478","rawCodes":[2,140735368483960],"type":"EXC_BAD_ACCESS","signal":"SIGBUS","subtype":"KERN_PROTECTION_FAILURE at 0x00007fff81a55478"},
  "termination" : {"flags":0,"code":10,"namespace":"SIGNAL","indicator":"Bus error: 10","byProc":"exc handler","byPid":33219},
  "vmregioninfo" : "0x7fff81a55478 is in 0x7fff81a54f20-0x7fff81a98088;  bytes after start: 1368  bytes before end: 273423\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      unused shlib __TEXT      7fff81a54f18-7fff81a54f20 [     8] r--\/rwx SM=COW  ... this process\n--->  __DATA_CONST             7fff81a54f20-7fff81a98088 [  268K] r--\/rwx SM=COW  ...avaScriptCore\n      __DATA_CONST             7fff81a98088-7fff81a9aed0 [   12K] r--\/rwx SM=COW  ...Dynamic.dylib",
  "asi" : {"libsystem_sim_platform.dylib":["CoreSimulator 776.3 - Device: iPhone 12 (7F8D459C-2BF9-401F-8FE4-5D945CE6E598) - Runtime: iOS 15.0 (19A339) - DeviceType: iPhone 12"],"dyld_sim":["dyld4 config: DYLD_ROOT_PATH=\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot DYLD_INSERT_LIBRARIES=\/Users\/javiercastro\/Library\/Detox\/ios\/87fc7c1a86f820d7804733cd5e9abb5dfa4b3bed\/Detox.framework\/Detox"],"dyld":["dyld4 config: DYLD_ROOT_PATH=\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot DYLD_INSERT_LIBRARIES=\/Users\/javiercastro\/Library\/Detox\/ios\/87fc7c1a86f820d7804733cd5e9abb5dfa4b3bed\/Detox.framework\/Detox"]},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":313518,"instructionState":{"instructionStream":{"bytes":[193,76,139,101,168,76,139,109,176,76,139,77,184,72,139,117,152,235,103,72,255,5,222,233,2,0,73,139,7,72,131,124,216,16,0,72,139,125,160,72,139,117,152,116,46,72,255,5,220,233,2,0,72,139,12,247,73,139,7,72,59,76,216,8,116,25,72,255,5,191,233,2,0,72,139,4,247,73,139,15,72,139,76,217,16,72,137,1,73,139,7,72,139,68,216,8,72,137,4,247,76,141,5,173,233,2,0,76,137,193,76,139,101,168,76,139,109,176,76,139,77,184,72,141,29,71,233,2,0,72,255,1,255,198,73,139,68,36,40,72,193,232,3,72,57,240,15,135,82,254,255,255,131,125,196,0,117,70,72,255,5,123,233,2,0,49,210,139,69,212,168,1,116,12,72,255,5,115,233,2,0,186,1,0,0,0,168,2,72,139,125,160],"offset":96}},"threadState":{"r13":{"value":1},"rax":{"value":4547161033,"symbolLocation":0,"symbol":"__detox_sync_CFRunLoopAddTimer"},"rflags":{"value":66050},"cpu":{"value":4},"r14":{"value":140736745853042},"rsi":{"value":26},"r8":{"value":0},"cr2":{"value":140735368483960},"rdx":{"value":18446744073709551615},"r10":{"value":1},"r9":{"value":2320},"r15":{"value":105553126679168},"rbx":{"value":0},"trap":{"value":14,"description":"(invalid protections for user data write)"},"err":{"value":7},"r11":{"value":515},"rip":{"value":4547164200,"matchesCrashFrame":1},"rbp":{"value":140701824346560},"rsp":{"value":140701824346352},"r12":{"value":1},"rcx":{"value":4547439992,"symbolLocation":0,"symbol":"__orig_CFRunLoopAddTimer"},"flavor":"x86_THREAD_STATE","rdi":{"value":140735368483752}},"queue":"com.apple.main-thread","frames":[{"imageOffset":38952,"symbol":"perform_rebinding_with_section","symbolLocation":649,"imageIndex":0},{"imageOffset":37989,"symbol":"rebind_symbols_for_image","symbolLocation":504,"imageIndex":0},{"imageOffset":102041,"symbol":"invocation function for block in dyld4::APIs::_dyld_register_func_for_add_image(void (*)(mach_header const*, long))","symbolLocation":175,"imageIndex":1},{"imageOffset":20661,"symbol":"dyld4::RuntimeState::withLoadersReadLock(void () block_pointer)","symbolLocation":41,"imageIndex":1},{"imageOffset":101786,"symbol":"dyld4::APIs::_dyld_register_func_for_add_image(void (*)(mach_header const*, long))","symbolLocation":116,"imageIndex":1},{"imageOffset":38261,"symbol":"rebind_symbols","symbolLocation":157,"imageIndex":0},{"imageOffset":37094,"symbol":"+[NSTimer(DTXSpy) load]","symbolLocation":145,"imageIndex":0},{"imageOffset":56677,"symbol":"load_images","symbolLocation":970,"imageIndex":2},{"imageOffset":39386,"symbol":"dyld4::RuntimeState::notifyObjCInit(dyld4::Loader const*)","symbolLocation":170,"imageIndex":1},{"imageOffset":59725,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":167,"imageIndex":1},{"imageOffset":59707,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":149,"imageIndex":1},{"imageOffset":59894,"symbol":"dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const","symbolLocation":102,"imageIndex":1},{"imageOffset":119512,"symbol":"dyld4::APIs::runAllInitializersForMain()","symbolLocation":222,"imageIndex":1},{"imageOffset":6432,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":2306,"imageIndex":1},{"imageOffset":7487,"symbol":"_dyld_sim_prepare","symbolLocation":379,"imageIndex":1},{"imageOffset":27559,"symbol":"dyld4::prepareSim(dyld4::RuntimeState&, char const*)","symbolLocation":1265,"imageIndex":3},{"imageOffset":22197,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":244,"imageIndex":3},{"imageOffset":21684,"symbol":"start","symbolLocation":388,"imageIndex":3}]},{"id":313542,"frames":[{"imageOffset":8204,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" :<PHONE_NUMBER>,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.wix.DetoxSync",
    "size" : 180224,
    "uuid" : "56006f1c-e9db-36d8-86ad-393fc6e1252e",
    "path" : "\/Users\/USER\/Library\/Detox\/*\/Detox.framework\/Frameworks\/DetoxSync.framework\/DetoxSync",
    "name" : "DetoxSync",
    "CFBundleVersion" : "1"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" :<PHONE_NUMBER>,
    "size" : 315392,
    "uuid" : "d494c297-dc73-394b-901e-1b5930e801df",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/dyld_sim",
    "name" : "dyld_sim"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" :<PHONE_NUMBER>27712,
    "size" : 204800,
    "uuid" : "8d646e32-1ecc-300d-acea-e906348ab594",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/libobjc.A.dylib",
    "name" : "libobjc.A.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" :<PHONE_NUMBER>,
    "size" : 425984,
    "uuid" : "9fc670fc-4d35-3582-a044-8f06bf2528af",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" :<PHONE_NUMBER>37248,
    "size" : 49152,
    "uuid" : "ad356414-9c4c-3df7-a0e6-57ccac56de46",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "sharedCache" : {
  "base" :<PHONE_NUMBER>58944,
  "size" :<PHONE_NUMBER>,
  "uuid" : "f63c144b-9857-37d5-a155-1a1434f2703a"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=899.4M resident=0K(0%) swapped_out_or_unallocated=899.4M(100%)\nWritable regions: Total=687.0M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=687.0M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nKernel Alloc Once                    8K        1 \nMALLOC                           172.2M       18 \nMALLOC guard page                   24K        5 \nMALLOC_MEDIUM (reserved)         120.0M        1         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSTACK GUARD                       56.0M        2 \nStack                             8712K        2 \nVM_ALLOCATE                          8K        2 \n__DATA                            13.2M      374 \n__DATA_CONST                      29.9M      371 \n__DATA_DIRTY                        22K       10 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       525.9M       10 \n__LLVM_COV                         144K        4 \n__OBJC_RO                         61.8M        1 \n__OBJC_RW                         3040K        1 \n__TEXT                           373.5M      380 \n__UNICODE                          588K        1 \ndyld private memory               2048K        2 \nmapped file                       28.3M        2 \nshared memory                       32K        3 \n===========                     =======  ======= \nTOTAL                              1.7G     1193 \nTOTAL, minus reserved VM space     1.2G     1193 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "607844aa04477260f58a8077",
      "factorPackIds" : {
        "SIRI_MORPHUN_ASSETS" : "60ef663fa2f864203caf575c"
      },
      "deploymentId" : 250000055
    },
    {
      "rolloutId" : "60da5e84ab0ca017dace9abf",
      "factorPackIds" : {

      },
      "deploymentId" : 250000007
    },
    {
      "rolloutId" : "60356660bbe37970735c5624",
      "factorPackIds" : {

      },
      "deploymentId" : 250000016
    },
    {
      "rolloutId" : "5ffde50ce2aacd000d47a95f",
      "factorPackIds" : {

      },
      "deploymentId" : 250000036
    },
    {
      "rolloutId" : "5fc94383418129005b4e9ae0",
      "factorPackIds" : {

      },
      "deploymentId" : 250000124
    },
    {
      "rolloutId" : "602ad4dac86151000cf27e46",
      "factorPackIds" : {
        "SIRI_DICTATION_ASSETS" : "61522de8f387f92b1fffbc0d"
      },
      "deploymentId" : 250000205
    },
    {
      "rolloutId" : "601d9415f79519000ccd4b69",
      "factorPackIds" : {
        "SIRI_TEXT_TO_SPEECH" : "61522cf341685658846fadb6"
      },
      "deploymentId" : 250000224
    }
  ],
  "experiments" : [

  ]
}
}

That was the one I saw! Exact same trace, mentioned in https://github.com/wix/Detox/issues/2895#issuecomment-926181391 - glad I'm not going crazy on that one. That's in the Fishhook library as it's hooking into the native calls in order to do the syncing etc, it was way farther than my Obj-C skills could carry me unfortunately.

@mikehardy did you have an app/scenario I could recreate the issue on? happy to dig in.
Only problem I've seen on iOS 15 now is the suite as a whole seems to take an extra 30 minutes

Yeah I linked the react-native-firebase tests suite above. That's my only goal here, make that run. In the process I found that following the contribution guide here and running the e2e tests for ios results in the fish hook crash

@calebmackdavenport did Detox 18.22.0 sort things out for you?

@calebmackdavenport did Detox 18.22.0 sort things out for you?

Yes it did!
I am digging into react-native-firebase to see if I can replicate the fishhook crash and check if any of the forks resolve it

@calebmackdavenport great! Keep us posted, please

Running  iOS 15, "detox": "^18.22.1" and "react-native": "^0.65.1".  Weirdly it tries to launch the app again and the same thing happens. After a while I get this error:
detox[51738] ERROR: [APP_UNREACHABLE] Detox can't seem to connect to the test app(s)!

@mklb is there any way for you to grab the crash trace like :point_up: https://github.com/wix/Detox/issues/2895#issuecomment-929204381 ?
It is not the easiest to get them because it is not the easiest to launch a Detox test run via Xcode, so I get them from Console.app usually - quite verbose and I have to watch the time of the crash closely in order to scroll back to the crash location, but it's possible. The crash trace is critical for locating the issue(s)

@mikehardy @calebmackdavenport thanks for the true effort on this. Yes - we will give this a few more days and other fork fishhook.

Seems like Zendesk decided to move ahead and fork: https://github.com/zendesk/fishhook

@glesperance interesting - zendesk/fishhoook doesn't have issues enabled though and the last two commits are...puzzling :thinking:

"detox": "^19.6.7",
"react-native": "0.67.2",
M1 Xcode Version 13.3  simulator iOS 15.4

@MaxJadav that looks more like the whole command failed. What happened when you cut out the /usr/bin/xcrun command line and pasted it in + ran it directly? did that work at all?
I have definitely run detox on a mac (intel and m1) and it's working with ios15 no problem.

@MaxJadav I recently had the same error and fixed it by upgrading detox from 19.4.1 to 19.6.4. Not sure if this helps though since you are already on 19.6.7...

All I can say is that both these repos use detox and they're both working right now, intel or m1 mac - linking in to their e2e test/example apps in case that helps
https://github.com/invertase/react-native-google-mobile-ads/tree/main/RNGoogleMobileAdsExample
https://github.com/invertase/react-native-firebase/blob/main/tests/
The github workflows for both projects exercise them all the time (within the last day, during my work certainly) on intel macs and I have intel and m1 in the house, running them from time to time. No issues with those sets of dependencies / CI order-of-operations+versions

@MaxJadav your report is painfully short of information. Please reach out either through a separate issue, providing more details, or join our Discord.

"detox": "^19.6.7", "react-native": "0.67.2", M1 Xcode Version 13.3 simulator iOS 15.4

@d4vidi Getting this issue. Build was success. When try to test command. throw error.

Are you sure about what version of detox you acctually have in your node_modules? did you run npm ls detox to se what that says?

Also getting the issue @MaxJadav is experiencing somehow all of a sudden but it seems to happen on other versions of iOS as well, not just 15. The app doesn't even get installed and it seems to fail on the termination step. Also it's not on M1 macs only. I also have one where the same tests run just fine, but so far I couldn't figure out what the problem could be.

"detox": "^19.6.7", "react-native": "0.67.2", M1 Xcode Version 13.3 simulator iOS 15.4

@d4vidi Getting this issue. Build was success. When try to test command. throw error.

Are you sure about what version of detox you acctually have in your node_modules? did you run npm ls detox to se what that says?

Thank you. This error happen when upgrade detox version. After remove from node module and reinstall, clean. Working fine now.

After remove from node module and reinstall, clean. Working fine now.

@asafkorem does that make sense?

@d4vidi it's the same issue I reported here: https://developer.apple.com/forums/thread/699615
It was resolved here, way before v19.6.7, so I guess that the version listed in your package.json wasn't really installed at the time of the bug report @MaxJadav.


How to associate my github account?

I thought gitless sounded like a great idea, so I proceeded to download the binary and initialize a local repo, and put some files in. Then I wanted to push this to a new repo on my github account, so I tried gl remote -c qq https://github.com/pepa65/qq, but that never completes.
What is the way to connect a local repo with a remote account?

This is a bug in Gitless. GitHub is probably asking you for a password and we should prompt you to input one like git does. A workaround is to use git when you need to interact with your remote (e.g, when you need to push or pull).

Another thing you could do (I did it last semester, when I was intensively
using gitless) is to configure git to cache your password for a given time.
It’s secure, and local. But the great thing about it is this: you use git
“something something” once, enter your credentials, and then until the
cache expires, gl works perfectly using git’s cache :3
I don’t remember the configuration commands, but you can google it :)
I’m sure you can find it, this is a common use case ^^
On Thu, Dec 14, 2017 at 11:23 PM Santiago P De Rosso <
<EMAIL_ADDRESS>wrote:

This is a bug in Gitless. GitHub is probably asking you for a password and
we should prompt you to input one like git does. A workaround is to use
git when you need to interact with your remote (e.g, when you need to push
or pull).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sdg-mit/gitless/issues/160#issuecomment-351895015,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALNBJ92T5ZqbnZUmaToQIGYlqk9_v26rks5tAdgbgaJpZM4RC4iy
.

This seems to be it:
git config --global credential.helper cache
git config --global credential.helper 'cache --timeout=3600'

But now it says:
✘ remote: Repository not found.
fatal: repository 'https://github.com/pepa65/qq/' not found

If I create the repo by curl -u pepa65 https://api.github.com/user/repos -d '{ "name": "qq" }' and then do gl remote -c qq https://github.com/pepa65/qq it comes back ✘ Remote 'qq' already exists....
 No dst branch specified, using upstream branch master
✘ Can't publish to a local branch (yet---this will be implemented in the future)

If you do gl branch what do you see? What's the upstream branch of your local branch master? I think that you probably want it to be qq/master (assuming qq is the name of your remote)
If you do gl branch -su qq/master and then try gl publish, does it work?

gl branch:
List of branches:
  ➜ do gl branch -c b to create branch b
  ➜ do gl branch -d b to delete branch b
  ➜ do gl switch b to switch to branch b
  ➜ * = current branch

    * master

gl branch -su qq/master gives ```✘ Remote "qq" doesn't exist, and there is no local Branch "qq/master"

(In addition, gl remote -c qq https://github.com/pepa65/qq now comes back with:
✔ Remote qq mapping to https://github.com/pepa65/qq created successfully
  ➜ to list existing remotes do gl remote
  ➜ to remove qq do gl remote -d qq

)

Oh I see what happened. Your remote repo is empty. It looks like you hit another bug, sorry about that!
You can do git push qq master to push your master branch and after that  gl branch -su qq/master should work

Actually, this is not necessarily a bug. The problem is that there is no qq/master branch because your repo is empty. You can also do gl branch -c qq/master to create a master branch in qq

The following sequence of commands should work:
gl remote -c qq https://github.com/pepa65/qq
gl branch -c qq/master
gl branch -su qq/master

OK, and precede all that with curl -u pepa65 https://api.github.com/user/repos -d '{ "name": "qq" }' otherwise you get:
✘ remote: Repository not found.
fatal: repository 'https://github.com/pepa65/qq/' not found


Problems with equity Tick resolution.

I used to get close price when Security.Exchange.ExchangeOpen was false in Second resolution. But in Tick resolution, it's never set to false.

EMA values are always 0. EMA(Symbol, 14, Resolution.Daily, x => ((TradeBar)x).Volume)). Tried it with ((Tick)x).Quantity) and received System.ArgumentNullException: Received type of TradeBar but expected Tick. It's normal since it use Daily resolution but it should not always return 0.

HistoricalData does not seem to work. The new SetWarmup method SetWarmup(TimeSpan.FromDays(30), Resolution.Minute) return System.ArgumentNullException: Received type of TradeBar but expected Tick

RSI seems to work fine and return proper values. RSI(Symbol, 14, MovingAverageType.Exponential, Resolution.Minute)

@Maly-Lemire, I answered the thread you opened in the community forum about the ExchangeOpen issue. I couldn't reproduce it.
The other questions are not verified bugs, so I will close this issue.
Please share your code in the aforementioned community forum thread or<EMAIL_ADDRESS>

Thanks, I'll try to provide a sample project to illustrate the problems.


defaultLogger: build defaultCore without stderrCore when gressCore base on stdout or stderr (#34)

#34

Codecov Report
Base: 78.85% // Head: 78.72% // Decreases project coverage by -0.12% :warning:

Coverage data is based on head (daae74c) compared to base (e8da8b0).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #774      +/-   ##
==========================================
- Coverage   78.85%   78.72%   -0.13%
==========================================
  Files         101      101
  Lines       11166    11169       +3
==========================================
- Hits         8805     8793      -12
- Misses       1857     1870      +13
- Partials      504      506       +2

Impacted Files
Coverage Δ

pkg/filters/validator/basicauth.go
76.49% <0.00%> (-2.31%)
:arrow_down:

pkg/object/autocertmanager/autocertmanager.go
91.42% <0.00%> (-2.05%)
:arrow_down:

pkg/filters/headerlookup/headerlookup.go
84.61% <0.00%> (-1.40%)
:arrow_down:

pkg/filters/proxy/pool.go
76.00% <0.00%> (-0.71%)
:arrow_down:

pkg/object/httpserver/mux.go
87.64% <0.00%> (+0.05%)
:arrow_up:

pkg/object/pipeline/pipeline.go
81.09% <0.00%> (+0.07%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add on_after_logout method to user_manager

Allows to perform custom logic (analytic etc.) after logout for the same reasons as in on_after_login.
I am currently using fast-api for serving html content. I know its not the primary use-case for it but its pretty well supported. Because of this login/logout requests come from html forms instead of api calls from javascript so login/logout routes need to handle http redirects. For login requests its easy to handle with the on_after_login method on the user_manager but for logouts there is no such option. Currently to add custom redirects to logout requires manually implementing both login and logout routes so having a on_after_logout method would make things much more convenient.

Will this RP be merged?

@heiskane is it possible to release this please?

@heiskane is it possible to release this please?

Yes its ready to merge.


How to get the current li attribute in the afterSelect callback function?

How to get the currentliattribute in the afterSelect callback function?
I want to make a judgment based on the values of value, and add some different styles or contents to li after the selection.

Did you have any luck with this feature @mofengfs ? I added some data-attibutes to the list options that I want to use in the afterSelect function.

Did you have any luck with this feature @mofengfs ? I added some data-attibutes to the list options that I want to use in the afterSelect function.

Brother, a long time has passed. I don't need JQuery for a long time.

Alright  brother :) Appreciate the answer. Take care


Need help in ngx-graph

Hi,
I am looking for some help in using ngx-graph. I feel you are knowledgable on this. Could you please help me. Please let me know how can we connect?

Hi, saw it now. still relevant?


Teams - Task Module not working in some mobile devices

Sample information
teams-task-module
Node JS
Bot Framework
Describe the bug
I am trying  play some video content inside a teams bot using task module. it works fine in desktop but in some Mobile devices it showing error "Failed to load webview".
##Error Screenshot :-

Here is list of mobile devices giving  "Failed to load webview" error

Samsung On 7 Prime, Android Version 9
Pixel XL, Android Version 10
Samsung M21, Android Version 10

To Reproduce
Steps to reproduce the behavior:

Implement task module with adaptive cards

here is code i have written for task module in my adaptive card
actions:[
{
"type": "Action.Submit",
"title": title,
"data": {
"url" : url,
"msteams": {
"type": "task/fetch",
"title": title,
}
}
}
]
Server Code :-
if (turnContext._activity.type === "invoke") {
let { url } = turnContext._activity.value.data
res.send({
task: {
type: 'continue',
value: {
"height": "large",
"width": "large",
"url": url
}
}
})
Expected behavior
it should work like below screenshot

Hi - I'm going to move this to the Teams support repository so that they can address this directly. Please see: https://github.com/MicrosoftDocs/msteams-docs/issues/1969


Proposal: make Exporter dynamic

First, thanks for creating this package ;)
I wanted to propose a change to the API for Exporter. The current API is really coupled to export a GIF(or any composition resulting in List). In my use case for example I will not need a List since my plan is to send to a backend the frames captured by the recorded. So something like this will be sufficient for me:
class FramesExporter implements Exporter {
  final List<Frame> _frames = [];
  @override
  void onNewFrame(Frame frame) {
    _frames.add(frame);
  }

  @override
  Future<List<ByteData>> export() async {
    final images = <ByteData>[];
    for (final frame in _frames) {
      final bytes =
          await frame.image.toByteData(format: ui.ImageByteFormat.png);
      if (bytes != null) {
        images.add(bytes);
      } else {
        print('Skipped frame while enconding');
      }
    }
    return images;
  }
}

This can be achieved by changing the Exporter class to:
abstract class Exporter {
  void onNewFrame(Frame frame);
  Future export();
}

And that way your current GifExporter is not affected and there is not any breaking change. Let me know if you are ok with this and I can create a PR since I already have a branch with the changes also adding a new example where instead of exporting a GIF simply display in a ListView the frames captured.
Thanks!

First, thanks for creating this package ;)

Thank you very much!

And that way your current GifExporter is not affected and there is not any breaking change. Let me know if you are ok with this and I can create a PR since I already have a branch with the changes also adding a new example where instead of exporting a GIF simply display in a ListView the frames captured.

Sounds good, I'll happily accept it

@omartinma
Actually, now that I think about it, what do you think of generics?
ScreenRecorder<T>(
  height: 200,
  width: 200,
  background: Colors.white,
  controller: ScreenRecorderController<T>(
    pixelRatio: 0.5,
    skipFramesBetweenCaptures: 2,
  ),
  child: // child which should be recorded
);

ScreenRecorderController.export<T>();

class Exporter<T> {
//...
}

Then the default constructor takes a generic and ScreenRecorder.gif is for gifs.
Does that make sense to you?

@omartinma Actually, now that I think about it, what do you think of generics?
ScreenRecorder<T>(
  height: 200,
  width: 200,
  background: Colors.white,
  controller: ScreenRecorderController<T>(
    pixelRatio: 0.5,
    skipFramesBetweenCaptures: 2,
  ),
  child: // child which should be recorded
);

ScreenRecorderController.export<T>();

class Exporter<T> {
//...
}

Then the default constructor takes a generic and ScreenRecorder.gif is for gifs.
Does that make sense to you?

Actually, I just thought about another problem. What about if anyone wants to export frames and gifs? With the current approach would be impossible to achieve, or you will need 2 controllers for that.

What about simplify like this? @ueman
import 'dart:ui' as ui show ImageByteFormat;

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:image/image.dart' as image;
import 'package:screen_recorder/src/frame.dart';

class Exporter {
  final List<Frame> _frames = [];
  void onNewFrame(Frame frame) {
    _frames.add(frame);
  }

  Future<List<RawFrame>?> exportFrames() async {
    if (_frames.isEmpty) {
      return null;
    }
    final bytesImages = <RawFrame>[];
    for (final frame in _frames) {
      final bytesImage =
          await frame.image.toByteData(format: ui.ImageByteFormat.png);
      if (bytesImage != null) {
        bytesImages.add(RawFrame(16, bytesImage));
      } else {
        print('Skipped frame while enconding');
      }
    }
    return bytesImages;
  }

  Future<List<int>?> exportGif() async {
    final frames = await exportFrames();
    if (frames == null) {
      return null;
    }
    final result = compute(_exportGif, frames);
    _frames.clear();
    return result;
  }

  static Future<List<int>?> _exportGif(List<RawFrame> frames) async {
    final animation = image.Animation();
    animation.backgroundColor = Colors.transparent.value;
    for (final frame in frames) {
      final iAsBytes = frame.image.buffer.asUint8List();
      final decodedImage = image.decodePng(iAsBytes);

      if (decodedImage == null) {
        print('Skipped frame while enconding');
        continue;
      }
      decodedImage.duration = frame.durationInMillis;
      animation.addFrame(decodedImage);
    }
    return image.encodeGifAnimation(animation);
  }
}

class RawFrame {
  RawFrame(this.durationInMillis, this.image);

  final int durationInMillis;
  final ByteData image;
}

I just created this Draft PR maybe we can continue there
https://github.com/ueman/screenrecorder/pull/19


Add telemetry for rendering problems

What

Add telemetry for rendering problems
This will require change from https://skype.visualstudio.com/SCC/_git/internal_dogfood_self-hosted-e2e/pullrequest/612214 to get logs in selfhost app
Why

How Tested

Process & policy checklist

[ ] I have updated the project documentation to reflect my changes if necessary.
[ ] I have read the CONTRIBUTING documentation.

Is this a breaking change?

[ ] This change causes current functionality to break.

I am curious how can we use these logs to help determine that something wrong is going on? Can you share a scenario about how we could see something odd is going on and how we can use the logs to visibly see this?


How to use JSON method to store a trained net?

How to use JSON to store a trained net?
The code im trying to understand is:
const json = net.toJSON();
net.fromJSON(json);

const json = net.toJSON();

You can save this json (write to file) for later usage.

net.fromJSON(json);

Create a new net of similar type stored in json. e.g. const net = new brain.NeuralNetwork() and then you can load net from json. i.e. net.fromJSON(json);


Can't update to 1.5 nightly (nightly-i686-pc-windows-msvc)

C:\Users\liigo>rustup update
info: syncing channel updates for 'stable-i686-pc-windows-msvc'
info: syncing channel updates for 'nightly-i686-pc-windows-msvc'
info: checking for self-updates

   stable-i686-pc-windows-msvc unchanged - rustc 1.13.0 (2c6933acc 2016-11-07)
  nightly-i686-pc-windows-msvc unchanged - rustc 1.14.0-nightly (cae6ab1c4 2016-11-05)
                                                 ^^^^^^
                                                 |--------- expect 1.15.0

verbose info
C:\Users\liigo>rustup -v update
verbose: read metadata version: '12'
verbose: updating existing install for 'stable-i686-pc-windows-msvc'
verbose: toolchain directory: 'C:\Users\liigo\.multirust\toolchains\stable-i686-pc-windows-msvc'
info: syncing channel updates for 'stable-i686-pc-windows-msvc'
verbose: creating temp file: C:\Users\liigo\.multirust\tmp\efn9mjqaxuftuz7g_file
verbose: downloading file from: 'https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256'
verbose: downloading with curl
verbose: deleted temp file: C:\Users\liigo\.multirust\tmp\efn9mjqaxuftuz7g_file
verbose: toolchain is already up to date
verbose: updating existing install for 'nightly-i686-pc-windows-msvc'
verbose: toolchain directory: 'C:\Users\liigo\.multirust\toolchains\nightly-i686-pc-windows-msvc'
info: syncing channel updates for 'nightly-i686-pc-windows-msvc'
verbose: creating temp file: C:\Users\liigo\.multirust\tmp\u__ovuyr6jhx8ds5_file
verbose: downloading file from: 'https://static.rust-lang.org/dist/channel-rust-nightly.toml.sha256'
verbose: downloading with curl
verbose: deleted temp file: C:\Users\liigo\.multirust\tmp\u__ovuyr6jhx8ds5_file
verbose: toolchain is already up to date
info: checking for self-updates

   stable-i686-pc-windows-msvc unchanged - rustc 1.13.0 (2c6933acc 2016-11-07)
  nightly-i686-pc-windows-msvc unchanged - rustc 1.14.0-nightly (cae6ab1c4 2016-11-05)

Hi,
I've the same issue here, on Windows 10, Arch Linux and OS X 10.11.6.
Thank you.

I think the reason is rust nightlies don't build successfully on all paltforms recently. For the detail, please check this.

Yes 1.15 nightlies just haven't been built yet, so rustup is working as expected.

Thank you for the clarification.
So beta and nightly versions shown at this page are wrong?

Yep!


how to make it work on color images? any thoughts?

Run it 3 separate times for each channel and combine the channels in the end. I recommend using chrominance - luminance instead of rgb.


Provide a combined token interface in the SDK

We currently have two interfaces that we can create clients from Interface and StellarAssetAdminInterface, but we don''t provide a single client with the combined interface.  I tried pub trait CompleteInterface: Interface + StellarAssetAdminInterface {}, but this doesn't work because the contractclient macro doesn't find the inherited methods. I also tried just copying the methods into a combined interface, but there were naming conflicts (Ex. __SPEC_XDR_FN_APPROVE was defined multiple times).

Provide a combined token interface in the SDK

What's the use case for having a combined interface?

Provide a combined token interface in the SDK

What's the use case for having a combined interface?

It's mainly to avoid situations like https://github.com/stellar/soroban-examples/blob/bddac245ed6f3ae660f011a16133167d38ecfbd2/atomic_swap/src/test.rs#L13-L18 in tests where you need to create both interfaces and use them in tandem. In addition to that, any contract that wants to call transfer and mint will either need both interfaces, or use a token wasm client like we do in the liquidity pool example.

where you need to create both interfaces and use them in tandem

This is inconvenient, but by design and a tradeoff that @graydon and I came to when addressing:

https://github.com/stellar/rs-soroban-sdk/issues/268

I tried pub trait CompleteInterface: Interface + StellarAssetAdminInterface {}
I also tried just copying the methods into a combined interface

I think we could make the second approach work with the use of some macros and namespacing, but I'm not convinced we should.
Today the SDK exposes:

token::Interface and token::Client – The only methods tokens need to be interoperable.
token::StellarAssetAdminInterface and token::AdminClient* –  Interface and client for convenience calling a SAC.

If we add a third interface for tokens, we create decisions for developers to navigate, and it's unclear to me if that cost outweighs the value added. Developers will see:

token::Interface and token::Client – The only methods tokens need to be interoperable.
token::StellarAssetAdminInterface and token::StellarAssetAdminClient –  Interface and client for convenience calling a SAC.
token::StellarAssetInterface and token::StellarAssetClient – Convenience to use for Stellar assets?

@sisuresh Maybe we should take another approach: Remove token::StellarAssetAdminInterface. Add token::StellarAssetInterface. It'll keep the API smaller. The only reason to use the admin client is with Stellar Assets. Most of the time it would be more convenient to have the full Stellar Asset interface.

I also tried just copying the methods into a combined interface

To get around this limitation we can move the Stellar Asset types into token::stellar_asset::....
@sisuresh Wdyt?

The only reason to use the admin client is with Stellar Assets.

I don't think this is true due to the fact that mint is used on non-stellar assets, but your idea makes sense. I agree that if you're going to use an admin function, the full interface will probably be helpful.

mint is part of the Stellar Asset interface though, and not part of the standard token interface. If it's part of the standard token interface, then we should probably revisit the split because splitting up the token interface was to separate Stellar Asset functions from standard token functions.

I retract the suggestion of making a token::StellarAssetInterface, I think this risks contracts being developed that rely on it, when they could instead rely on token::Interface, which may reduce interoperability with the smaller standard interface.

Closing because of the risks highlighted above and no further conversation. Anyone is welcome to comment on the issue for reopen if this should be pursued.


PAS and NSM working together

Persistance: Create directories for applications
NodeStateManager: Create directories for PAS

I do not understand why persistence-administrator package should deploy those directories -- it does not even have to be on a system for persistence storage to work.


Preview needs to be based on fullsize of window.

The preview height is based on document height not window height.
If height is more than window's height as scroll, the positions of preview is wrong.

Could you fix it ?

Hi @junimohano, could you give me more info? code example? package.json? maybe link to application or to sources?
Here https://lukasz-galka.github.io/ngx-gallery-demo/ you can find demo for my plugin and there is no problem which you described.

um.. yes your demo is okay...
I am using flex layout.
my package.json as below,
"dependencies": {
"@angular/animations": "^4.3.3",
"@angular/cdk": "^2.0.0-beta.8",
"@angular/common": "^4.3.3",
"@angular/compiler": "^4.3.3",
"@angular/core": "^4.3.3",
"@angular/flex-layout": "^2.0.0-beta.8",
"@angular/forms": "^4.3.3",
"@angular/http": "^4.3.3",
"@angular/material": "^2.0.0-beta.8",
"@angular/platform-browser": "^4.3.3",
"@angular/platform-browser-dynamic": "^4.3.3",
"@angular/router": "^4.3.3",
"@ngrx/effects": "^4.0.2",
"@ngrx/router-store": "^4.0.2",
"@ngrx/store": "^4.0.2",
"@ngx-translate/core": "^7.1.0",
"@ngx-translate/http-loader": "^1.0.1",
"angular2-jwt": "^0.2.3",
"angular4-social-login": "^1.0.10",
"core-js": "^2.5.0",
"font-awesome": "^4.7.0",
"hammerjs": "^2.0.8",
"ngx-gallery": "^1.1.1",
"rxjs": "^5.4.2",
"zone.js": "^0.8.16"
},
"devDependencies": {
"@angular/cli": "^1.2.7",
"@angular/compiler-cli": "^4.3.3",
"@angular/language-service": "^4.3.3",
"@ngrx/store-devtools": "^4.0.0",
"@types/jasmine": "^2.5.53",
"@types/node": "^8.0.19",
"codelyzer": "^3.1.2",
"jasmine-core": "~2.7.0",
"jasmine-spec-reporter": "^4.1.1",
"karma": "~1.7.0",
"karma-chrome-launcher": "^2.2.0",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.3.0",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.1.2",
"ts-node": "^3.3.0",
"tslint": "^5.6.0",
"typescript": "~2.4.2"
}

I found one thing that it occured on md-tab.
preview's size is based on width and height of md-tab.
Is there any soluations?

How to remove this transform? I saw the issues you wrote and follow to remove this transform on chrome developer mode, it works but i don't know how to remove on code.

You can try with:
.mat-tab-body-content {
    transform: none !important;
}

I already tried.. but not working..

I have created empty project with angular material tabs and my gallery. At the begining there was problem with preview size, but above css solved this issue.
Did you find solution? Could you create demo/github repo with this issue? Do you have this issue on evry tab? Maybe this is because of other material element?
I would like to resolve this issue.

test project link
I made a repository for you.
Can you check this one?
Same problem.. I need a full screen of preview.
also, preview should cover toolbar as well.
Can you look at it and fix please ?

Hi @junimohano thanks for test repository. You have to insert styles for .mat-tab-body-content inside file style.css:
/* You can add global styles to this file, and also import other style files */

@import<EMAIL_ADDRESS>body {
    font-family: 'Roboto', sans-serif;
}

.mat-tab-body-content {
    transform: none !important;
}

In your example you had these styles in app.component.css. Styles defined in component are only for this component, so in output you had
.mat-tab-body-content[_ngcontent-c0] {
    -webkit-transform: none !important;
            transform: none !important;
}

but we need selector without component attribute [_ngcontent-c0]:
.mat-tab-body-content {
    -webkit-transform: none !important;
            transform: none !important;
}

For fullscreen there are two options previewFullscreen and previewForceFullscreen (starting from 1.1.2), more here https://github.com/lukasz-galka/ngx-gallery#ngxgalleryoptions
One more thing. In your example you had menu with position fixed. At this moment in preview mode this menu is above preview. If you need similar menu in your real life application I can think about some solution for that. Just let me know.

Thank you.
previewFullscreen of property is not working but those code in styles.css is working as below,
.mat-tab-body-content {
-webkit-transform: none !important;
transform: none !important;
}
also can you add z-index higher number on preview ?

previewFullscreen requires font awesome for icon, did you include font awesome?

Preview has zindex 10000. If you have other element with position fixed (for example floating header) there can be problems because position depends also on order in html.
I have added two events previewOpen and previewClose in version 1.1.6 and you can make custom action, for example show/hide header.
I'm closing this issue, if you have still problems let me know.

@taghaniali this issue is closed, pls create the new one


clean code

This looks to be more about personal taste than clean code, so going to close for now. Please reopen if you think there is a strong advantage to this approach.


nomodifiable infect to new buffer

:set readonly
:new

new buffer is not readonly. but
:set nomodifiable
:new

nomodifiable infect to new buffer. I think new buffer should be modifiable.
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 99c19f913..0d80390f3 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -4242,6 +4242,7 @@ do_ecmd(
 	    swap_exists_action = SEA_DIALOG;
 #endif
 	    curbuf->b_flags |= BF_CHECK_RO; /* set/reset 'ro' flag */
+	    curbuf->b_p_ma = TRUE;

 	    /*
 	     * Open the buffer and read the file.

When you say :set, you want to change the global value (not just the local value).  'readonly' is an exception ... (I think fewer exceptions are better than more exceptions?).  Users maybe stumble over 'readonly' as being exceptional at several occasions: :view, -R, etc. -- this is not the case for 'modifiable'.
But maybe it would make sense to also set 'nomodifiable' with :view, -R etc.?

Yes, 'nomodifiable' should normally be set via :setlocal (or via a modeline, which is the same thing). For instance, help files have 'nomodifiable' set on them, but only locally, so that :new from a helpfile still opens a new window which is 'modifiable' because the global default hasn't been touched by opening the helpfile.
If view or the equivalent vim -R is not enough, you can set 'nomodifiable' globally at startup by invoking vim -M and then all files you view in that session will be 'nomodifiable' (and, by default, have [-] on their status lines)… until or unless, of course, you use :setl ma on one of them. The same happens if you use :set nomodifiable because :setlocal sets only the local value, :setglobal sets only the global default, and plain :set sets both.
Best regards,
Tony.

the current behavior is correct.  When using :set for a buffer-local option, you are setting the default value for a new buffer.  However, 'readonly' is not using the default value, but initialized from the file protection.  A new buffer being readonly doesn't make sense, it's like creating a new file.


Left Button does not appear

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Description
I want to work with the leftButton and show it.
I set
self.leftButton.setImage(UIImage(named: "uploadic"), for: UIControlState())
but no leftButton appears.
Are there further Steps TODO?
Can´t find anything in documentation or example

I am not sure, but maybe try change UIControlState to .normal

Nope, that doesn't fix the issue.

Oh it turns out you must set a button image in -viewDidLoad otherwise it won't show up.

Turned out i hadn´t the image in my assets. Thanks


Eviction fix ltsr

Description of your changes

Fixes #
I have:

[ ] Read and followed Crossplane's contribution process.
[ ] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

/lgtm