how to use the full screen listener

Hello,
I am new to coding so I am learning how to create an app. So far I managed to create an app with 3 youtube videos using the XML and shown the full-screen button.
In non-fullscreen mode, the edges of the youtube videos are not visible but the video plays fine. Upon testing it, when I click on the full-screen button the edges become visible but it does not fill the screen of the phone.
I tried looking for fullscreen listeners online but have failed in finding one or in how to use it.
Would you know how to create a full-screen listener? I don't have any Java so far

Hi, I just added an answer to a similar issue (how to use the fullscreen) on Stack Overflow. In a nutshell:

create a layout for fullscreen and add it to the parent layout;
in the .getPlayerUiController().setFullScreenButtonClickListener remove the YT player View from the layout (eg. trailerLayout) and add the same YT player View into the fullscreen layout;
when exiting fullscreen, remove the YT player View from the fullscreen layout and add the same YT player View into the trailerLayout.

Hi, I just added an answer to a similar issue (how to use the fullscreen) on Stack Overflow. In a nutshell:

create a layout for fullscreen and add it to the parent layout;
in the .getPlayerUiController().setFullScreenButtonClickListener remove the YT player View from the layout (eg. trailerLayout) and add the same YT player View into the fullscreen layout;
when exiting fullscreen, remove the YT player View from the fullscreen layout and add the same YT player View into the trailerLayout.

Consider it as a "fake" fullscreen" - you are rotating the whole layout while remaining in portrait mode :-)

Do you have this in Java?

Hi, I just added an answer to a similar issue (how to use the fullscreen) on Stack Overflow. In a nutshell:

create a layout for fullscreen and add it to the parent layout;
in the .getPlayerUiController().setFullScreenButtonClickListener remove the YT player View from the layout (eg. trailerLayout) and add the same YT player View into the fullscreen layout;
when exiting fullscreen, remove the YT player View from the fullscreen layout and add the same YT player View into the trailerLayout.

Consider it as a "fake" fullscreen" - you are rotating the whole layout while remaining in portrait mode :-)

Do you have this in Java?

Do you have this in Java?

Hi, unfortunately not, I have it only in Kotlin. But thanks to the similarities between Kotlin and Java, it should be very similar.

Do you have this in Java?

Hi, unfortunately not, I have it only in Kotlin. But thanks to the similarities between Kotlin and Java, it should be very similar.

Do you have this in Java?

Hi, unfortunately not, I have it only in Kotlin. But thanks to the similarities between Kotlin and Java, it should be very similar.

I've migrated my app to Kotlin just for this and the code seems to not work for some reason. Can I contact you privately? I've been struggling with this for days and would appreciate the help.

Do you have this in Java?

Hi, unfortunately not, I have it only in Kotlin. But thanks to the similarities between Kotlin and Java, it should be very similar.

I've migrated my app to Kotlin just for this and the code seems to not work for some reason. Can I contact you privately? I've been struggling with this for days and would appreciate the help.

Yes, of course, feel free to contact me via e-mail (in my profile) - although I am not a skilled developer, I am just learning how to code :-)

Yes, of course, feel free to contact me via e-mail (in my profile) - although I am not a skilled developer, I am just learning how to code :-)

Sent an email

Sent an email


Update build and test instructions

This patch updates the contribution guide to reflect the latest
changes necessary to build and run the unit tests.

This change is

Coverage remained the same at 48.566% when pulling 5664e6a26ecd6289b8ba8b5e9b67900a6a5ae574 on jwcroppe:update-build-instructions into ea2e066e5008d0de5645ac8a4d3659b2f92a3063 on IBM:master.

Hi
Please cancel this PR since you did it directly to master branch - you should do it to dev branch first(this is the proper way for PRs).
but anyway please don't open PR right now since we are in a middle of GAing phase these days.
so please hold back till we finish.

@shay-berman No problem, I intended to target dev - hit the button one too many times.  :-)
I'll just resubmit and feel free to review/merge if you'd like.  I was trying to build on ppc64le as a quick experiment and wanted to note the updates in the build process for others' awareness.  Thanks!

Changes Unknown when pulling 5664e6a26ecd6289b8ba8b5e9b67900a6a5ae574 on jwcroppe:update-build-instructions into ** on IBM:dev**.


How to show legend for a data in the real time charts?

@rsandor Is this issue free to work on? Or is there any other relevant issue to work on this repository? i really liked the idea of the project. Would love to contribute.


After upgrading Keda to v2.12.0 the v1beta1.external.metrics.k8s.io API component is not getting updated and its out of sync.

Expected Behavior
After upgrading Keda to v2.12.0 all the components should be in sync .
Actual Behavior
After upgrading Keda to v2.12.0 the v1beta1.external.metrics.k8s.io API component is not getting updated and it shows out of sync. When looking at the desired and the acutal state of the manifest file we could see the insecureSkipTLSVerify: false  this value in desrired manifest is not getting picked up by argocd

PR where insecureSkipTLSVerify: false was added explicitly  https://github.com/kedacore/charts/pull/520/files
Steps to Reproduce the Problem

Upgraded the Keda version to v2.12.0
synced the changes with Argocd
v1beta1.external.metrics.k8s.io API component  is not getting synced and shows outofsync with difference in the manifest .

Specifications

KEDA Version: * v2.12.0
Platform & Version: Please elaborate
Kubernetes Version: 1.28
Scaler(s): Please elaborate

can you please suggest any workaround which can fix this issue as in production env the Keda application shows outofsync due to this issue and this needs to be resolved at earliest.

Yup, we have the sane issue in our ArgoCD. I think the issue here is that it is trying to enforce the default value, so it never appears in the resource (do kubectl get apiservice v1beta1.external.metrics.k8s.io -o yaml) and you'll see it isn't there, as a result ArgoCD see this as a difference in the resource manifests. I see a few options here:

Wait it out until it eventually gets removed in a later Helm release
Add a toggle to Helm to enable/disable this via a value
Add that value to ArgoCD's ignore list (this is what we'll probably do)

Also ran into this, since the value is default and is not configurable in the helm chart should probably just remove it from the manifest. I didn't quite get what the change was fixing during upgrades, though ArgoCD might not have seen this issue since it doesn't use the normal Helm upgrade workflow.
If someone runs into this with ArgoCD you can use this ignoreDifferences config:
ignoreDifferences:
  - group: apiregistration.k8s.io
    kind: APIService
    jsonPointers:
      - /spec/insecureSkipTLSVerify

@sidewinder12s could you please update our Troubleshooting section in docs with this info?
https://keda.sh/docs/2.12/troubleshooting/
https://github.com/kedacore/keda-docs/tree/main/content/troubleshooting

Actually turns out ArgoCD does need to apply the manifest as is in the chart. Once the upgrade is through you can apply the ignoreDifferences config however.
So I think users can either ignore it and wait for the workaround to be removed from the chart or use the ignoreDifferences config. I don't think this issue is very important to flag on general troubleshooting for Keda. Either way I can't commit to OSS repos without going through a legal review with my company.

Has this been fixed in v2.13?


Apply configured prefix to the .group class for group-hover variants

Fixes #1215, so now if you configure a prefix like tw-, group-hover variants will include the prefix on the .group portion:

...

...

This is one of those "bug fix but also breaking change for anyone who was working around the bug" patches :/
Let me know if this change impacts your project, if the impact is widespread enough maybe we will just live with this bug until 2.0.

Would you not call the function group instead of group-hover?

Just came across this one in a new project—I wonder if a fix could be an opt-in via config, and then baked in for v2.0? Just a thought!

I could double up the selector and have it generate stuff like:
.group:hover .group-hover\:tw-bg-blue-500,
.tw-group:hover .group-hover\:tw-bg-blue-500 {
  // ...
}

...but that sucks too and introduces some cruft. Bleh. Next time I will just try not to make mistakes.

Ah, it happens! I wouldn't beat yourself up over it.


Error and restart homebridge

Describe The Bug
Hi.
My HB reboots several times a day.
Logs
[01/05/2023, 03:30:05] UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "undefined".
[01/05/2023, 03:30:05] UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "undefined".
[01/05/2023, 03:30:05] Got SIGTERM, shutting down Homebridge...
[01/05/2023, 03:30:07] [FibaroHC] M5 Temp (id: 176): 20.2
[01/05/2023, 03:30:10] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[01/05/2023, 03:30:15] [HB Supervisor] Restarting Homebridge...
[01/05/2023, 03:30:15] [HB Supervisor] Starting Homebridge with extra flags: -I

Config
No response
Homebridge UI Version
4.50.2
Homebridge Version
1.6.1
Node.js Version
18.16.0
Operating System
Official Homebridge Raspberry Pi Image
Environment Info

[ ] Using Docker?
[ ] Using Hyper-V?
[ ] Using hb-service?

Raspberry Pi Model
Raspberry Pi 4 B

This is going to be one of your plugins triggering this, can you share your config,json so we can see which plugins you have.
also if you use child bridges, you can isolate the problematic plugin to its own child bridge instance, to minimize the impact from the problematic plugin.

I have:

Homebridge Camera Ui
Homebridge Dummy
homebridge Fibaro Home Center
Homebridge Panasonic Ac Platform

And I think that there is problem with Panasonic because this is only plugin that i have on this homebridge - i have second device in another home and there everything is ok.

I already post about this on plugin page:
https://github.com/embee8/homebridge-panasonic-ac-platform/issues/71
I think that problem is with async login() function in src/comfort-cloud.ts (in working plugin it is dist/comfort-cloud.js).

As this is an issue with the plugin, our only recommendation is to minimize the impact from the issue by using child bridge.  Not sure what else we can do.


boto3 and EMR not working -- JSON responses

When I try to test run_job_flow with boto3, I get the following error:
Traceback (most recent call last):
  File "/Users/alex.debrie/Envs/findapp-test/lib/python2.7/site-packages/moto/core/models.py", line 71, in wrapper
    result = func(*args, **kwargs)
  File "/Users/alex.debrie/emr/test_schemas.py", line 51, in test_can_launch_cluster
    r = client.run_job_flow(**config)
  File "/Users/alex.debrie/Envs/findapp-test/lib/python2.7/site-packages/botocore/client.py", line 269, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/Users/alex.debrie/Envs/findapp-test/lib/python2.7/site-packages/botocore/client.py", line 324, in _make_api_call
    operation_model, request_dict)
  File "/Users/alex.debrie/Envs/findapp-test/lib/python2.7/site-packages/botocore/endpoint.py", line 111, in make_request
    return self._send_request(request_dict, operation_model)
  File "/Users/alex.debrie/Envs/findapp-test/lib/python2.7/site-packages/botocore/endpoint.py", line 138, in _send_request
    request, operation_model, attempts)
  File "/Users/alex.debrie/Envs/findapp-test/lib/python2.7/site-packages/botocore/endpoint.py", line 191, in _get_response
    operation_model.output_shape)),
  File "/Users/alex.debrie/Envs/findapp-test/lib/python2.7/site-packages/botocore/parsers.py", line 208, in parse
    parsed = self._do_parse(response, shape)
  File "/Users/alex.debrie/Envs/findapp-test/lib/python2.7/site-packages/botocore/parsers.py", line 534, in _do_parse
    original_parsed = json.loads(body)
  File "/usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

From what I can tell, moto returns XML responses for EMR (see here). You can only use EMR with the client interface (rather than the resources interface), which means it relies on the data files in botocore. The EMR data file says it returns JSON, rather than XML, so it's choking when it gets XML from moto. The EMR Api Reference also indicates it returns JSON (scroll to the very bottom).
I'm happy to implement the JSON responses, but I could use a little guidance. Any tips on how to check whether JSON or XML should be returned? I see a similar issue happened with SNS in #402. My request has a Content-Type of u'application/x-amz-json-1.1', so maybe I'll just check for that?

Yes, that is the route we need to go. If you get some time, that would be great!
Checking the Content-Type is the correct approach. Doing something very similar to #404 is what we want here.

This repro script might help a bit.
# -*- coding: utf-8 -*-
import logging

import boto3
from moto import mock_emr

if __name__ == '__main__':
    mock = mock_emr()
    mock.start()

    boto3.set_stream_logger('boto3.resources', logging.DEBUG)
    client = boto3.client('emr', region_name='us-east-1')
    cluster = client.run_job_flow(
        Name='cluster',
        AmiVersion='3.8.0',
        Instances={
            'MasterInstanceType': 'c3.xlarge',
            'SlaveInstanceType': 'c3.xlarge',
            'InstanceCount': 3,
            'Placement': {'AvailabilityZone': 'us-east-1a'},
            'KeepJobFlowAliveWhenNoSteps': True,
        },
        VisibleToAllUsers=True,
    )
    print(cluster)
    mock.stop()

This was fixed with https://github.com/spulec/moto/commit/7cd404808b9fd60e2529ce4b65ada15071f0ee1e
Feel free to reopen if it still doesn't work.


LongClassNameCheck.java:71-74: Introduce new class from...

The puzzle 81-f6754283 from #81 has to be resolved:
https://github.com/l3r8yJ/sa-tan/blob/f336963ec063ac29201885a9c8a74a934f70d292/src/main/java/ru/l3r8y/rule/LongClassNameCheck.java#L71-L74
The puzzle was created by @h1alexbel on 29-Dec-23.
role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@0pdd thank you for reporting this. I'll assign someone to take care of it soon.

@0pdd thank you for reporting this. I'll assign someone to take care of it soon.

I see you're talking to me, but I can't reply since I'm not a chat bot.

@h1alexbel this is your task now, please go ahead. Deadline (when this ticket should be closed) is 2024-01-08T08:50:04.674808.
Estimation here is 60 minutes, that's how much you will be paid.
Remember, you don't have to solve everything in this ticket - you can solve it partially and leave todo markers in the code, which will become future tasks.
If you have any questions don't ask me, I'm not a technical person. Open new tickets instead.
If you don't have time or simply don't want to work on this, you can always resign.

@h1alexbel Looks like you've missed the task deadline (2024-01-08T08:50:05). You are now resigned from this task.
Please stop working on it, you will not be paid. I will assign it to someone else soon.

@l3r8yJ this is your task now, please go ahead. Deadline (when this ticket should be closed) is 2024-01-18T09:00:27.784531.
Estimation here is 60 minutes, that's how much you will be paid.
Remember, you don't have to solve everything in this ticket - you can solve it partially and leave todo markers in the code, which will become future tasks.
If you have any questions don't ask me, I'm not a technical person. Open new tickets instead.
If you don't have time or simply don't want to work on this, you can always resign.

@l3r8yJ Don't forget to close this ticket before the deadline (2024-01-18T09:00:28). You are past the first half of the allowed period.

@l3r8yJ Looks like you've missed the task deadline (2024-01-18T09:00:28). You are now resigned from this task.
Please stop working on it, you will not be paid. I will assign it to someone else soon.

@l3r8yJ I couldn't find any assignee for this task. This is either because there are no contributors with role DEV available or because the project does not have enough funds.
Please, make sure there is at least one available contributor with the required role and the project can afford to pay them.

@l3r8yJ I couldn't find any assignee for this task. This is either because there are no contributors with role DEV available or because the project does not have enough funds.
Please, make sure there is at least one available contributor with the required role and the project can afford to pay them.


[Macros] Add option to disable sandbox for exectuable plugins

-disable-sandbox to disable sandboxing when invoking subprocess from from the frontend. Since sandbox(7) in macOS doesn't support nested sandbox, compilations used to fail when the parent build process is sandboxed.

@swift-ci Please smoke test

@swift-ci Please smoke test macOS


[native_assets_builder] Hide KernelAssets field

Some cleanup of the last PR that will make the Flutter PR https://github.com/flutter/flutter/pull/143472 slightly cleaner.
Changes the constructor to take an optional iterable instead of a required list.

coverage: 92.684%. remained the same
when pulling b4fde98e9228326a8b102406c3da12e58fbd4b1f on builder-fixes
into f0c96cc26c8d0f765d3ca1a4d53a79ab2034ab19 on main.


feat: add metadata into oci manifest when 'kpm push'

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y

Fixed #201

2. What is the scope of this PR (e.g. component or file name):

pkg/oci/oci.go
3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

When the kpm push is executed, some of the data required by AH is filled into the annotation field of the OCI manifest conf.
5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[x] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 25 (12.0%)  changed or added relevant lines in 5 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.1%) to 36.983%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/client/client.go
0
1
0.0%

pkg/cmd/cmd_push.go
0
1
0.0%

pkg/package/package.go
0
6
0.0%

pkg/oci/oci.go
0
14
0.0%

Files with Coverage Reduction
New Missed Lines
%

pkg/cmd/cmd_push.go
1
10.08%

pkg/oci/oci.go
1
6.93%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
1233

Relevant Lines:
3334

💛  - Coveralls


Fix lr scheduler to update before creating the checkpoint

What does this PR do?

Fixes #4655
Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together? Otherwise, we ask you to create a separate PR for every change.
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In in short, see following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified; Bugfixes should be including in bug-fix release milestones (m.f.X) and features should be included in (m.X.b) releases.

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

Hello @rohitgr7! Thanks for opening this PR.

In the file pytorch_lightning/trainer/training_loop.py:

Line 586:17: W503 line break before binary operator
Line 587:17: W503 line break before binary operator
Line 825:13: W503 line break before binary operator
Line 826:13: W503 line break before binary operator
Line 827:13: W503 line break before binary operator
Line 869:13: W503 line break before binary operator

Do see the Hitchhiker's guide to code style

The only problem left here is with ReduceLROnPlateau. This scheduler needs a monitor to update. If it's done on epoch level then it won't get the monitored key/value since checkpoints are created before epoch metrics are aggregated. Does anyone got a suggestion??

fixing it here: https://github.com/PyTorchLightning/pytorch-lightning/pull/5208


client.sync(space).fetch() returns everything, expect only updates

When calling sync a second time (using before returned space variable) we expect only updated items/entries/assets etc to be returned. Current behavior is like doing an initial sync call every time
Using
        <dependency>
            <groupId>com.contentful.java</groupId>
            <artifactId>java-sdk</artifactId>
            <version>10.4.0</version>
        </dependency>

Using the following code:
        CDAClient client = CDAClient.builder()
                .setSpace("foo")
                .setToken("bar")
                .build();
        SynchronizedSpace space = client.sync().fetch();
        System.out.println(space.entries().size());
        SynchronizedSpace later = client.sync(space).fetch();
        System.out.println(later.entries().size());

Output (in our example):
1405
1405
Expected outout:
1405
0
If we use the "hack" SynchronizedSpace later = client.sync(space.nextSyncUrl().split("=")[1]).fetch(); then 0 is returned.

Hey,
you found a nice side condition: The intention of using a syncSpace for a sync is to fill it up with the actual changed resources. So it is expected to get the exact same number, since the second time no new resources got added.
If you are keen on seeing the second time only the updated resources, you could sync by a sync id:
SynchronizedSpace reallast = client.sync(space.nextSyncUrl().split("=")[1]).fetch();
System.out.println(reallast.entries().size());

This will give you only the updated resources.
I hope that helps,
Mario

Ok, I see. So how do we detect changes when calling sync using client.sync(space).fetch();? As you describe it, it seems like client.sync(space).fetch(); and client.sync().fetch(); both returns the same data.

Hey,
just as you described: If your last space contains the same amount of entries then the current space, there was no change, unless an element got added and another one got deleted, or there are some field changes in between.
If you are interested then just the complete set of resources, but actually want to find out what changed, please feel free to use the sync_token as described by you and me above.


destroy the file stream if the response closes

src.pipe(dst) doesn't close the source stream if the destination closes. this means that ecstatic will leaks file descriptors if the response closes before the file stream ends

Oh word.
Is there any chance that destroy can throw an error or otherwise cause barf? Do we need to protect against that?

Published @0.7.3
Cheers!


lua-{5.2,5.3}: cross fixups, drop crossAttrs

mostly just forward environment variables to make arguments,
this partially reverts 5d1e51a199917fa945cb59567597e354c6e4f56d
which removed them because they're already set in env--
but that's not enough to override make vars.
Also, readline is buildInput not nativeBuildInput
(we need headers and to link against it)

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Of course, I have never cross-compiled Lua…

Of course, I have never cross-compiled Lua…

So you're not biased like all that lua-cross crowd! :grin:

@angerman I'd like to merge this, feeling guilt-free for dropping crossAttrs cruft since it didn't even eval until https://github.com/dtzWill/nixpkgs/commit/681555c11c75337462703c5a2f936fd28ff82e20 .  That said, since you're working on Darwin and mingw thought I'd check before possibly introducing breakage.
Thoughts/objections?

I’ve not touched or used lua in Nix at all.

Great! I ran into it via cross-haskell when attempting to build pandoc (was first haskell package I thought of, but it's very ambitious in terms of dependencies haha).
Just wanted to make sure, thanks for quick response!


branch.initSessionWithLaunchOptions causes UITextField to removeFirstResponder on clean install

This issue only happens on the first install of my app - never after.
In my initial view controller, my viewDidLoad() looks like this:
override func viewDidLoad(){
super.viewDidLoad()
self.textField.becomeFirstResponder()
}
The problem is that on a clean install of the app, the keyboard shows up, then goes back down, and then ~1 second later, it comes back up. Since this is the first screen users see in my app, I don't want to have an initial bad experience.
I've tried rearranging where the textField becomes first responder, but the only way I've been able to fix the problem is to comment out branch.initSessionWithLaunchOptions.
This may to be related to the issue addressed in v0.12.10 : "Fix for issue causing initsession hang on cold start from universal link", but I'm using v0.12.11, so it must be something different.
I'd love some clarity on why this is happening and what I can do to fix it.

I've been able to fix the problem by keeping a copy oflaunchOptions from applicationDidFinishLaunchingWithOptions AppDelegate and calling initSessionWithLaunchOptions later. If I'm not doing any link handling before this, is there any potential downside to not initializing branch on app launch?

I understand.  The first app impression is pretty important.  I'm glad you were able to find a work around.
The only downside to not initializing Branch at startup is that app links that are used to launch you app may not be handled.
Are you using the useCookieBasedMatching? That may cause the keyboard to momentarily lose focus.

@E-B-Smith
I'm not explicitly using useCookieBasedMatching, but I also haven't disabled it, so if it's a default setting then that could be it.
I'll test it soon, but I've been able to get all of my app launches via links working by initializing branch on launch unless it's the app's first launch, so it isn't a big issue for me now, but it was very frustrating trying to figure out why it was happening.

Yes, I'm sure it was frustrating!  Sorry about that.  I'm going to investigate this to prevent problems in the future.  Thanks for the heads up.
The useCookieBasedMatching defaults to 'on', so you were using that.

Hey @eeallen1 Quick clarification: the method name is actually disableCookieBasedMatching. This will prevent our SafariViewController code from executing. However, this would only execute if you've got SafariServices.framework included. Did you give this a try?
We'd like to help you solve this issue!

Fixed in SDK release 0.12.18.


How to ignore unknown block tag from node_modules

Question
How to ignore unknown block tag from node_modules
./node_modules/.pnpm/@sapphire+framework@5.2.1/node_modules/@sapphire/framework/dist/cjs/index.d.cts:988:7 - [warning] Encountered an unknown block tag @note

988         * @note You can set {@link Command.Options.fullCategory} to override the built-in category resolution.

./node_modules/.pnpm/@sapphire+framework@5.2.1/node_modules/@sapphire/framework/dist/cjs/index.d.cts:997:7 - [warning] Encountered an unknown block tag @note

997         * @note You can set {@link Command.Options.fullCategory} to override the built-in category resolution.

./node_modules/.pnpm/@sapphire+framework@5.2.1/node_modules/@sapphire/framework/dist/cjs/index.d.cts:1006:7 - [warning] Encountered an unknown block tag @note

1006         * @note You can set {@link Command.Options.fullCategory} to override the built-in category resolution.

typedoc.json
{
    "$schema": "https://typedoc.org/schema.json",
    "name": "My Monorepo Packages",
    "emit": "docs",
    "readme": "./README.md",
    "hideGenerator": true,
    "cleanOutputDir": true,
    "excludeExternals": true,
    "entryPoints": ["packages/*"],
    "entryPointStrategy": "packages",
    "packageOptions": {
        "entryPoints": ["src/index.ts"]
    },
    "plugin": [
        "typedoc-plugin-djs-links",
        "typedoc-plugin-mdn-links",
        "typedoc-material-theme"
    ]
}

You want the suppressCommentWarningsInDeclarationFiles option, which apparently I forgot to add to the documentation

Ah, you found a bug -- it works for .d.ts, but not .d.cts

IC


Fix react-query dependency lookup

Issue
If you have multiple @tanstack packages in your package.json file, the logic that checks if your are using v5 will fail because internally is calling isValidSync(/@tanstack/, '>=5')
Solution
Call isValidSync explicitly passing @tanstack/react-query

Thanks but this will not work for vue-query, solid-query and such. Can you adapt the regex so that react is not hardcoded?

@all-contributors add @dgarciamuria for code

Thanks but this will not work for vue-query, solid-query and such. Can you adapt the regex so that react is not hardcoded?

Good catch! I decided to be explicit instead of trying to form of fuzzy matching, the downside is that if react-query adds support for a new framework then the regex will need to be updated...but is better than risking capturing other packages that are not related.
Also moved the regex as an export to make it easier to refactor in the future


commands, create: Add .Site to the archetype templates

This commit completes the "The Revival of the Archetypes!"
If .Site is used in the arcetype template, the site is built and added to the template context.
Note that this may be potentially time consuming for big sites.
A more complete example would then be for the section newsletter and the archetype file archetypes/newsletter.md:
---
title: "{{ replace .TranslationBaseName "-" " " | title }}"
date: {{ .Date }}
tags:
- x
categories:
- x
draft: true
---

<!--more-->

{{ range first 10 ( where .Site.RegularPages "Type" "cool" ) }}
* {{ .Title }}
{{ end }}

And then create a new post with:
hugo new newsletter/the-latest-cool.stuff.md

Hot Tip: If you set the newContentEditor configuration variable to an editor on your PATH, the newly created article will be opened.
The above newsletter type archetype illustrates the possibilities: The full Hugo .Site and all of Hugo's template funcs can be used in the archetype file.
Fixes #1629

For docs on "what vars can I use in the archetype template", see ArchetypeFileData here:
https://godoc.org/github.com/gohugoio/hugo/create


[Option Request] Ability to disable variant tokens

An option to force closest match and not randomize a variant token for subsequent drags past the first would be nice.
CR/Type matching doesn't really help when dealing with colour variants having minorly different stat blocks sadly.

@roguedevjake if I understand you correctly, this should already be possible.
Once you've dragged the token onto the canvas and it has changed. Open the actor, open the prototype token, go to the Appearance tab and there will be a Token Replacer option that disables the replacement. If you tick that, any future token placements will use the already selected image.


How to build Mac x64 and both x86 and x64 linux?

Thanks for all your help in the past. I would like to try to build three packages in one command, how do I get to build just one Mac OSX version (as x86 is no longer available) and both x86 and x64 versions of Linux? Is there a chance to support ignoring a 404 failure for a missing NWJS package if others exist and complete the other builds?
Currently I get a failure to build any of the above or I need to build Mac in a separate command from Linux if I want all three builds.

Building modern versions of NW.js for macOS x86 should now be ignored in nwjs-builder-phoenix 1.12.1.


Size of packages

Hi,
The size of both packages with are loaded, ist quite big.. filemanager and the field are 2mb in total..
is it possible to make it smaller?
thanks

Of course. Make a PR 😅. No time to optimize this for now.


Do not register MenuComponent factory for each menu definition

..., otherwise exception "Service 'menu.component.menu' has already been added." is thrown.

thanks


Compressing logfile

I have the problem that the internal storage of my UDM-Pro is bloated with a vast amount of logfile data, when MDNS is activsated and some devices produce traffic. Because of this my UDM-Pro hangs completely every 2 month.
The logfile (ctrl.log) from this multicast-relay container becomes quickly 10GB size of uncompressed ASCII-file.
It would be great to have a logrotate and compressed old logfile data on a regular basis.
That would be great.

I could remove the verbose option if that would help?
other solutions:

map the logfile to your host storage and implement log rotate on the host
feel free to create a PR for the changes

I was having the same problem.
There's a handy script for on_boot.d that'll set a max log size for podman containers.
Or you can set it manually in /etc/containers/libpod.conf, look for max_log_size = -1 and set it to something more reasonable, like 104857600 for 100MB (this is exactly what the script does, but will reapply it on boot in case it gets overridden)

@scyto @McSwindler tnx for your input!
I'll try both and give feedback in 2-3 weeks after observation ;-)

@scyto @McSwindler tnx for your input! I'll try both and give feedback in 2-3 weeks after observation ;-)

no problem, tby i dont know why i enabled verbose by default, in retrospect that was pretty stupid, i will try to correct and republish at the weekend.

despite what my docs say, my code shows that --verbose is not enabled by default....
nor should it be saving to any form of file by default if --logfile is not specified
as such all logging should just be going to stderr
unless the container (and thus alans multicast relay) has change default to log to file or verbose there is nothing for me to change as what you are seeing is unifi choice on what do about logging stderr
@McSwindler take a deeper look at what is going on your install because i don't understand it.  what command line options were you using?

By default the podman containers will log to /mnt/data/podman/storage/over-containers/*/userdata/ctr.log
And I had enabled the verbose option to debug some issues I had. Can't remember what it was exactly, but wasn't an issue with this service.

ok, I made sure the verbose option is not set in the image and pushed let me know if this fixes the default verbosity
in terms of podman logging this is external to this container and log rotation can be handled by whatever external log rotation folks want
this will have implictly updated to latest version of multi-cast relay from alan, please let me know if there issues in a new issue/


Error after upgrading to latest version in React: presetHTML5.extend is not a function

Discussed in https://github.com/JiLiZART/BBob/discussions/213

Originally posted by bmt2604 January  5, 2024
Hello,
I upgraded the package version of @bbob/react and @bbob/preset-react from 2.9.0 to 3.0.2 in my React application and started seeing this error: TypeError: presetHTML5.extend is not a function.
I was previously importing from the package like so:
import BBCode from '@bbob/react';
import presetReact from '@bbob/preset-react';

but have found that since upgrading, the only way I've found to fix the error is to include /lib in the import path:
import BBCode from '@bbob/react/lib';
import presetReact from '@bbob/preset-react/lib';

Is this an expected change to have to make when using the latest version?

Same issue, thanks for fixing 👍

Same Issue

Same issue

@petrvecera @BadiiBoukalane can you please share your vite/webpack configs or what build system you use?
If you use type: module in package.json so currently this package don't support esm format

Here is the code how I am using it in my app https://github.com/cohstats/coh3-stats/blob/4e6b5de72f59538a9a2b35d1ff7773a8d7bf84bf/screens/news/index.tsx#L6
I am using it in NextJS app https://github.com/cohstats/coh3-stats/blob/master/package.json
Btw thank you for your great lib 🙏


[Feature] Keep some EpochSecrets (e.g. recovery_secret) around while maintaining FS

Is your feature request related to a problem? Please describe.
Right now, EpochSecrets are not kept around and instead discarded with the old group state. However, we need to keep some around to enable functionality like PSK branching, etc.
Describe the solution you'd like
There could be an old_secrets field in mls_group that stores a subset of the EpochSecrets indexed by epoch offset and with a regular deletion schedule.

This was fixed with #632. If we need more functionality for PSKs, we can always add it.


Platform priority list?

See #8

In the prior Issue my intention was looking at the amount of users that every social Network has. I used this chart for my evaluation. Apparently I did not have a premium account at statista to be able to see, how the numbers were evaluated and why couple of Asian and Russian Networks are not popping up in that chart! However I continued removing Mobile and non English Networks which gave me this Output:
Webbased:
I bolded those who are actually mobile apps, but also have desktop solutions
WeChat
TikTok
Reddit
LinkedIn
Printerest
Mobile Apps:
(WhatsApp)
(FB Messanger)
SnapChat
Telegram (Not on the Statista Site, 200mil Users by feb. 2016)
My personal thoughts are also: The number of users doesn’t mirror the "importance" of a social Network. I would say f.e., that Telegram has a higher priority than LinkedIn and Printerest. I guess it also depends on the type of research you are aiming for. Since minors are easily using more discord (Which you wont find in the list above), WeChat and similar and adults will be found more on one of the other platform, like reddit or linkedIn.
Considering these arguments my prio list would look like this:
Reddit
TikTok
snapchat
WeChat
telegram
discord
Twitch
Why i removed Printerest and LinkedIn:
personally they don’t have a high value of research within our realm. LinkedIn is concentrated on business relations and similar. Less family or political motivated actions. Maybe I am completely wrong. As you know I am still not really into this as you are. So please prove me wrong if so ;)!!
So far ;)

@manilevian do we still do this or can we close/postpone this? I'd like to close the milestone.

Ofc. we can focus on what we have to clear out now. So its really okay to postpone this. Also we have alot of new emerging exciting sociaal networks which we will need to ebvaluate later on!
feel free to close ;)!


Initial tabular classification Santander

Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you make sure to update the docs?
[x] Did you write any new necessary tests?

What does this PR do?
Fixes # (issue).
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

hi, seems you are accidentally changing some other files in Flash turorials

I changed the name of the electricity_forecasting folder to tabular_forecasting. I believe that might be much more informative.

Why do we get error
python -m pytest flash_tutorials/tabular_classification/santander.ipynb -v --nbval
deactivate
rm -rf flash_tutorials/tabular_classification/venv
401 - Unauthorized
Error: Process completed with exit code 1.

?

@PabloAMC seems like some variables in the notebook are not defined... mind checking the failing test?

we may not promote Flash examples as it was archived some time ago, apology nd thank you for all you help :rabbit:


Added 'Policy Evaluator'

Added 'Policy Evaluator' - https://azure.permissions.cloud/policyevaluator

Hey great find! This is actually for evaluating AAD RBAC custom roles and is not related to Azure Policy.

Cheers @lukemurraynz

Oh, your right! Apologies didn't look at it close enough, will close the PR.


Fix loaderUtils.parseQuery() deprecation warning

Fixes #3
I couldn't get existing tests to work, there was a large difference between generated bundles and saved fixtures in master branch. So, in order to proceed with changes required for loaderUtils issue, I had to simplify test setup to test only loader output without whole webpack bundle context.

Could this get merged please?

I would like to get at least some feedback for this PR. I might be able to split it in 2 parts (test updates and deprecation fix) if necessary.

What can I do to help with this PR?
I'd love to see it merged, because the deprecation warning says it's going to stop working at all in next webpack release.

+1

thank you it was fixed in v1.1.3 and v2.0.0


Hint message when executing condor-git-config several times

When executing condor-git-config more than once (e.g. during testing) git prints out the following hint message:
Pulling without specifying how to reconcile divergent branches is discouraged. You can squelch this message by running one of the following commands sometime before your next pull:
git config pull.rebase false  # merge (the default strategy)
git config pull.rebase true  # rebase
git config pull.ff only  # fast-forward only
You can replace "git config" with "git config --global" to set a default preference for all repositories. You can also pass --rebase, --no-rebase, or --ff-only on the command line to override the configured default per invocation.
How to deal with this message? Is a global solution via --ff-only advisable?

I think --ff-only would work well to encode how the script expects to fetch updates. There shouldn't be any modifications on the client.
@giffels @mschnepf do you see any problems with using always using fast-forward pulls?

+1 for adding --ff-only.  Sometimes I modify the client git repo to test things, but that is not for production use.

--ff-only sound fine to me :+1:


Adds cypress e2e tests and github action cypress workflow

Issue #, if available:
Description of changes:
Adds cypress e2e tests, can run locally and against a remote kibana endpoint
Adds github action workflow to run e2e tests on pull requests
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Not sure if it will run workflow when doing PR from a fork.. will create a PR also from temp branch inside repo to check.

Seems to be correct, closing this in favor of:
https://github.com/opendistro-for-elasticsearch/index-management-kibana-plugin/pull/80


Validation check is incorrectly flagging dynamic variable as a resourceId property

This is the branch with our Solution files.
Describe the bug
RE mainTemplate.json: validation is failing with the following error and suggested fix:

The suggested fix is to create a variable under the variables section of mainTemplate.json. This does not make sense, as detection_id is simply referencing the detection_id_s column from our custom table; it is not a hardcoded value or a resourceId. detection_id is used in our analytics rule here to group alerts.
The associated CI run showing the validation failure is available here.
To Reproduce
Steps to reproduce the behavior:

Run validation against our branch.

Expected behavior
Validation should pass.

Hello @rc-iwoodley , We are already working on this error. We are listing out all the values which are referencing to a column from a custom table. We will add exception for all those values in one go. Sorry for inconvenience caused. Issue will be resolved soon.
Thanks.

@NikTripathi Thanks for the input.  We have been waiting to get resolution on this for months.  Can you post here when the exceptions for the given values have been added?  We will then immediately resubmit.

We are working on this and will share an update shortly.


Convert cvars.xlsx to Markdown

Try to use markdown table styling. Would be nice to split server and client cvars apart.
Create a separate markdown file (e.g. cvars.md) for this documentation .

How would you feel about writing a document of the most common, useful, and important commands and cvars to administering of a server?  I was looking over the cvars excel file and there was way to much useless info.

That's the right way to do it.
Recommend you create sections to distinguish between any server and client cvars.


Search: Page is reloaded after entering value

WHERE YOU CAN REPLICATE: tenant/application/DEVELOP
Steps to reproduce:
Go to the system and enter a value in the search field.
Push enter.
Actual result: The system reloads page after click enter. Also, redirects on /application/search?
DEVELOP

taking this one

fixed in develop


Allow disabling --no-* in boolean arguments

Always adding --no-* makes arguments like --skip-something  use double-negative (--no-skip-something) and it might not make sense in all contexts

@d4rky-pl I think that can be implemented of course but it has low priority IMO, if you wish to create a new PR for this feature, go ahead please ;)

@d4rky-pl Hi, is it still actual for your use cases or I can close this request?

@IvanShamatov it is but I also understand that it won't get implemented any time soon so it's fine to close this


Align declined offers util with Marathon API

Change the acceptedResourceRoles and  constraints path to be in line with Marathons app type definition.
For detailed app type definition, please see:
https://github.com/mesosphere/marathon/blob/6db4d9980af15b45bc3c8647335f39deef3f49bf/docs/docs/rest-api/public/api/v2/types/app.raml

✨ 👍

Thanks @orlandohohmeier! I went back and forth a couple times on this and thought I ended up with the proper path, sorry you had to fix it!

Perhaps I merged too soon... @orlandohohmeier do we not need to do this for pods as well? https://github.com/dcos/dcos-ui/pull/1415/files#diff-05d538b8dad1163c5f63426574d0d46aR101

@jfurrow Nope, the pod property paths are correct. For details see: https://github.com/mesosphere/marathon/blob/6db4d9980af15b45bc3c8647335f39deef3f49bf/docs/docs/rest-api/public/api/v2/types/pod.raml

Thanks @orlandohohmeier!


Handle error condition for RJ45 and retrieving RSSI value

This error condition is not currently handled in the code.

Recent changes removed global to store network connectivity status, so when/if we rebuild the RJ45 branch, this has to be addressed.


Added Print Stock Problem In c++

Using Stack Easy to UnderStand
Description of Change

Checklist

[ ] Added description of change
[ ] Added file name matches File name guidelines
[ ] Added tests and example, test must pass
[ ] Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
[ ] Relevant documentation/comments is changed or added
[ ] PR title follows semantic commit guidelines
[ ] Search previous suggestions before making a new one, as yours may be a duplicate.
[ ] I acknowledge that all my contributions will be made under the project's license.

Notes:

I'm Added Stock Problem Can you merge it ,so it is Easy to Learn Everyone


typo/open reference in "partial methods" block

shouldn't this line:
It is a compile-time error to create a delegate to method (Delegate creation expressions).
be this:
It is a compile-time error to create a delegate to M (Delegate creation expressions).
?

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

ID: d94b01ab-fe87-23fc-44b6-da9f3f627bd5
Version Independent ID: a86008b1-2fdd-bbb9-3bbf-8fc8c51c1b71
Content: Classes - C# language specification
Content Source: spec/classes.md
Product: dotnet-csharp
Technology: csharp-spec
GitHub Login: @dotnet-bot
Microsoft Alias: wiwagn

This is correct in the C# standard branch (from the 5.0 standard).
I'm transferring this to the charplang repo, to make sure we merge this section correctly as we merge the C# 6 draft with the C# 5 standard.


4077 ECONNRESET connection reset by peer

EXCEPTION OCCURRED:Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ConnectionResetException|Error -4077 ECONNRESET connection reset by peer|Void ThrowFailed()|   at Microsoft.AspNetCore.Server.Kestrel.Internal.System.IO.Pipelines.PipeCompletion.ThrowFailed()
at Microsoft.AspNetCore.Server.Kestrel.Internal.System.IO.Pipelines.Pipe.GetResult(ReadResult& result)
at Microsoft.AspNetCore.Server.Kestrel.Internal.System.IO.Pipelines.Pipe.Microsoft.AspNetCore.Server.Kestrel.Internal.System.IO.Pipelines.IReadableBufferAwaiter.GetResult()
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.MessageBody.<ReadAsync>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.FrameRequestStream.<ReadAsyncInternal>d__21.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.WebUtilities.BufferedReadStream.<EnsureBufferedAsync>d__37.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.WebUtilities.MultipartReaderStream.<ReadAsync>d__36.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream.<ReadAsync>d__35.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.WebUtilities.StreamHelperExtensions.<DrainAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Http.Features.FormFeature.<InnerReadFormAsync>d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.ModelBinding.FormValueProviderFactory.<AddValueProviderAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.ModelBinding.CompositeValueProvider.<CreateAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.ModelBinding.CompositeValueProvider.<CreateAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ControllerBinderDelegateProvider.<>c__DisplayClass0_0.<<CreateBinderDelegate>g__Bind|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextExceptionFilterAsync>d__23.MoveNext()
Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Internal.Networking.UvException|Error -4077 ECONNRESET connection reset by peer

So the client disconnected? What's your actual question?

Hi Chris,
We have uploaded the files from different sessions at the same times and some of the files are uploaded successfully and some of not. And we are getting the exception as mentioned.
Thanks,
Jaimin
From: Chris Ross<EMAIL_ADDRESS>Sent: 08 October 2018 08:29 PM
To: aspnet/KestrelHttpServer<EMAIL_ADDRESS>Cc: Jaimin Soni<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [aspnet/KestrelHttpServer] 4077 ECONNRESET connection reset by peer (#2995)
So the client disconnected? What's your actual question?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/aspnet/KestrelHttpServer/issues/2995#issuecomment-427868149, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AgRP70ypWKEyTAGfbbhQuaLVM2XU3iXKks5ui2hMgaJpZM4XMwE8.
Disclaimer: The information contained in this message and attachment may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the information, or copying of this message is prohibited and may be unlawful. If you are not the intended addressee, please notify the sender immediately and delete this message. Cygnet Infotech Private Limited or its Subsidiary does not accept any liability for any errors, loss, delayed delivery, tampering, corruption or presence of viruses in this message or any attachment.

I suggest you take this to a community forum like stackoverflow.com where they can help you formulate your question.


RE: Zero downtime deploys

I've had to roll-back my attempt at blue-green deploys.
The steps given in this document simply do not achieve the desired effect.
Desired effect:

The current version of the site will be served while the new version is being deployed. After the new version is deployed, the current version will no longer be served, and only the new version will be served.

Actual effect of following the steps:

The current version of the site and the version immediately prior to the current version are both be served simultaneously, whether or not a newer version is being deployed. They are served at random alternating intervals, so that it's impossible to predict which one will be served. If the older version is served, and the current version is desired, the only way to get to the current version is to keep refreshing the page until the current version is served.

It's a great idea, so I will work with you all to figure out a safe way to implement this.

Apologies if my commentary was a bit negative. I appreciate the great work the Cloud team have been doing thus-far, supporting CI and hosting for all of our prototypes.
I hope we can work together to constantly improve.


Admin can view list of questions

Done when
Admin can view list of questions i.e. the question bank

wireframes : https://miro.com/app/board/o9J_lXULxwE=/?moveToWidget=3074457354353430975&cot=14

M1 Review - In progress


crash(Mobile): Emoji's w/ Mobile view will crash

Issue:
Noticing a crash while in mobile view with extensions installed, when you try to re open app it will instantly crash. If you also drag the extensions file to said folder while the app is open in mobile view it will crash as soon as the file is dragged to the folder
-Install extension
-Adjust app to mobile view
-Close and re open + type in PIN
-Crash appears
OS:
Windows
Mac
Linux - Ubuntu
Screenshot/recordings + Crash report:

Without emojis -
https://github.com/Satellite-im/Uplink/assets/93608357/8f2c10cb-cfae-4569-8ad0-9e5d0b1d5e37
With emoji's -
https://github.com/Satellite-im/Uplink/assets/93608357/148b5bd7-62d3-47e6-af3b-d64eb6f58a5e
Compared to desktop view -
https://github.com/Satellite-im/Uplink/assets/93608357/980f54f9-1c05-47b7-b73b-9ef3b294eb4b

also happens in prod


Board not straight

I have no idea why but for some reason the board is not straight on my console. ( I am on a linux vm on chromebook).
https://drive.google.com/file/d/1zgMDVbBpK8RAgQADH3VCzXO6iyqM8Qot/view?usp=sharing

same here, tested on google colab

Sorry for the super late reply here, but it appears like the font in your terminal is not monospaced (the unicode characters for the chess pieces don't have the same width as the space character)


Jest on windows

I've found for Jest to work with vim-test on windows I have to use the following config
function! JestTransform(cmd) abort
  let correct_path = substitute(a:cmd, '\\', '\\\\', 'g')
  let correct_call = substitute(correct_path, '\/', '\\', 'g')
  return correct_call
endfunction

let g:test#custom_transformations = {'jest': function('JestTransform')}
let g:test#transformation = 'jest'

This is due to windows paths and Jests use of regex.
OS: Windows 8
Editor: gVim 8

I agree with @janko-m since this is also an issue in the javascript karma runner. I am sure it pops up in other ones as well. I will try to help by looking into to the code more when I get some time if nobody has a solution by then.


python 3.10 support

Hopefully it's just a matter of enabling new version in jenkins

Jenkins doesn't seem to support python 3.10. It's time to migrate to github actions. svarog-ctl using it since day 1 and it seems to be working fine.

#90 added python 3.10 support.


Solo: scvi.external.SOLO.from_scvi_model() errors if scvi.data.setup_anndata() used a layer

If you train an scvi batch-effect correction model, and then use that trained VAE as an input for Solo, then it seems that an AssertionError occurs upon scvi.external.SOLO.from_scvi_model() if the original scvi.data.setup_anndata() specified a layer that was not None.
The reason appears to be that when Solo creates simulated doublets here
https://github.com/YosefLab/scvi-tools/blob/334c03822b34d2e1dd9b87ecff6bfb0f4803f05e/scvi/external/solo/_model.py#L232-L236
it does not copy the layer information into the doublets_ad object.  Then when scVI calls _validate_anndata(adata) from get_latent_representation(), the below error appears.
To reproduce

import scvi

# assume adata is a loaded AnnData object with a layer called "cellbender", and adata.obs['scvi_batch']

scvi.data.setup_anndata(adata, layer='cellbender', batch_key='scvi_batch')
vae = scvi.model.SCVI(adata)
vae.train()

print('running SOLO doublet detection algorithm on the scVI model')
for batch_label in adata.obs['scvi_batch'].unique():
    solo_batch = scvi.external.SOLO.from_scvi_model(vae, restrict_to_batch=batch_label)  # error occurs here
    solo_batch.train()
    solo_df = solo_batch.predict()
    adata.uns['solo_' + batch_label] = solo_df.copy()

The error

running SOLO doublet detection algorithm on the scVI model
INFO     Creating doublets, preparing SOLO model.
/home/user/miniconda/lib/python3.7/site-packages/scvi/data/_anndata.py:1232: UserWarning: Categorical encoding for batch is similar but not equal between the anndata used to train and the anndata passed in. Will attempt transfer. Expected categories: [0 1]. Received categories: [0].

  warnings.warn(warning_msg.format(category, mapping1, mapping2))
Traceback (most recent call last):
  File "<stdin>", line 81, in <module>
  File "/home/user/miniconda/lib/python3.7/site-packages/scvi/external/solo/_model.py", line 180, in from_scvi_model
    doublet_latent_rep = scvi_model.get_latent_representation(doublet_adata)
  File "/home/user/miniconda/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "/home/user/miniconda/lib/python3.7/site-packages/scvi/model/base/_vaemixin.py", line 158, in get_latent_representation
    adata = self._validate_anndata(adata)
  File "/home/user/miniconda/lib/python3.7/site-packages/scvi/model/base/_base_model.py", line 153, in _validate_anndata
    transfer_anndata_setup(self.scvi_setup_dict_, adata)
  File "/home/user/miniconda/lib/python3.7/site-packages/scvi/data/_anndata.py", line 435, in transfer_anndata_setup
    x_loc, x_key = _setup_x(adata_target, layer)
  File "/home/user/miniconda/lib/python3.7/site-packages/scvi/data/_anndata.py", line 798, in _setup_x
    ), "{} is not a valid key in adata.layers".format(layer)
AssertionError: cellbender is not a valid key in adata.layers

But "cellbender" is a valid key in adata.layers.
AnnData object with n_obs × n_vars = 94169 × 36601
    obs: 'sample', 'exon_fraction', 'mito_fraction', 'batch', 'scrublet', 'entropy', 'individual', 'tissue', 'ribo_fraction', 'mito_ribo_fraction', 'n_gene', 'n_umi', 'outlier', 'scvi_batch'
    var: 'gene_ids', 'feature_types', 'genome'
    layers: 'cellbender', 'cellranger'

It's just not a valid key in the simulated doublets_ad created by Solo.
Versions:

0.11.0

Thanks for raising this. We will address this soon.

Btw, we have this method to make the logger output nicer when writing to a file.
can be accessed like scvi.settings.reset_logging_handler()

Thanks!!


Removed prerelease from github action

Fixes #286
This just enables our releases to show in the github sidebar

To clarify, this is something we should bring up with GH (I think there is already a feature request). The other option is to find a way to explicitly call out that this is pre-1.0 software. If we do that, then I am ok with this moving forward

I think release notes is probably the best place for it. Wash is definitely stable enough to use for realsies, but we still reserve the right to break things as we evolve


feat: warn active plan holders before deleting their account

Adds a warning in Delete account section, which reminds the users to cancel their subscription prior to deleting their account (if needed). This is just a temporary solution until SKY-717 is implemented.
Visual changes

Checklist

[x] All git commits are signed. (REQUIRED)
[ ] All new methods or updated methods have clear docstrings.
[ ] Testing added or updated for new methods.
[x] Verified if any changes impact the WebPortal Health Checks.
[ ] Appropriate documentation updated.
[ ] Changelog file created.

Issues Closed

Good immediate improvement but @ro-tex I think we should cancel the subscription for the user if he deletes the account. I think it should be done inside of the account delete endpoint unless the api is strictly crud-style, otherwise we will need a separate endpoint for this to call from frontend as precondition

Absolutely. @meeh0w has already created a Linear issue describing that: https://linear.app/skynetlabs/issue/SKY-717/make-sure-stripe-subscription-is-canceled-when-user-deletes-their


Use standardized official country codes

It would streamline certain workflows if the APIs could be queried using standardized country codes, such as ISO 3166-1 alpha-2 instead of the ORS-specific(?) numeric ids listed in https://github.com/GIScience/openrouteservice-docs#country-list.
This doesn't need to be a breaking change because ISO_3166-1 codes can be easily distinguished from the current numeric ids, so the API could allow either.
Note that ISO 3166-1 country codes are already used by Pelias gecoder.

Moved: https://github.com/GIScience/openrouteservice/issues/195


[Apple Reminders] Error fetching data

Extension
https://raycast.com/raycast/apple-reminders
Description
Error:
SwiftError
    at ChildProcess.<anonymous> (/Users/bruguerangel/.config/raycast/extensions/112ad714-bf10-4ccc-a70f-4232bb2241a5/my-reminders.js:50:13331)
    at ChildProcess.emit (node:events:514:28)
    at ChildProcess.emit (node:domain:488:12)
    at maybeClose (node:internal/child_process:1105:16)
    at ChildProcess._handle.onexit (node:internal/child_process:305:5)

Steps To Reproduce

Access to Raycast
Go to "Create reminder"
An try to create a reminder
A message saying "Error fetching data" appears

Current Behaviour
No response
Expected Behaviour
No response

Make sure Raycast has access to your reminders in System Settings → Privacy & Security.

I turned the Privacy on but the extension remains unworking.

errorLog.pdf
That are my error logs produced at Raycast, any suggestions?

@anxobruguera have you tried to remove and reinstall the extension?

Thanks for bringing this up. It appears that this is a duplicate of issue #9172, so I'll mark it as such.


Delete Get-TenantAnalyticsConfig.md

I am a PM on MyAnalytics. This functionality Get-TenantAnalyticsConfig is no longer supportedby the product. Please remove it.

OPS Build status updates of commit f27cf6b:
:clock10: Preparing: average preparing time is 1 min(s) 12 sec(s)

OPS Build status updates of commit f27cf6b:
:clock10: Incremental building: average incremental building time is 12 min(s) 23 sec(s)

OPS Build status updates of commit f27cf6b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/reporting/Get-TenantAnalyticsConfig.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit 9188f4e:
:clock10: Preparing: average preparing time is 1 min(s) 12 sec(s)

OPS Build status updates of commit 9188f4e:
:clock10: Incremental building: average incremental building time is 12 min(s) 23 sec(s)

OPS Build status updates of commit 9188f4e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/reporting/Get-TenantAnalyticsConfig.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit 628d7a2:
:clock10: Preparing: average preparing time is 1 min(s) 12 sec(s)

@chrisda  :)

OPS Build status updates of commit 628d7a2:
:clock10: Incremental building: average incremental building time is 12 min(s) 24 sec(s)

OPS Build status updates of commit 628d7a2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/reporting/Get-TenantAnalyticsConfig.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Give a list of changed tags in a commit

Currently the sidebar gives just the commits, but with the information in the database it is possible to say which tags were actually altered (provided an update has happened). In the new website, we could try to say which tags were updated inside a particular commit displayed in the sidebar.

Having this in the sidebar will be not so good, as it's not guaranteed that the website is updated often. But we could definitely make a separate page with a more complete overview.


THANK YOU FOR THIS PROJECT & PLS KEEP IT UPDATED

hi,thank you for making browsing possible on w7,this browser works great on windows 7 32bit the only thing missing is built-in ad blocker,i'm coming from brave browser i'm used to ad blocker if you add it in the future that will be amazing,i have a question can you make the latest brave browser works on w7,the latest version of brave v1.47.186 that support w7 has cloudflare issues i can't visit some web sites it won't pass cloudflare security check that's why i found your project,and thank you i really appreciate your work.

Indeed, Supermium is a remarkable achievement so far - Thanks so much win32ss! We all know the caveats of keeping legacy OS's running, but I currently need to keep the status-quo running for the moment, rather then be bullied into an undesirable "upgrade." Supermium, 0patch, robust non-windows/offline backup and some ongoing antiviral support should allow this 64 bit win 7 install to carry on :)

You are welcome. I am just returning from major hardware failure and now setting up a new build system (dual E5-2667v2s replaces dual X5670s). Now to get some NVMe SSDs and move the build to there from the previous solution of building on a USB 2.0 7200 rpm eHDD. Then Supermium and its electron counterpart can be built from patches.

i'm sorry to hear about your hardware failure,the new build sounds exciting and i'm just a user learning how things works i hope this build helps this project and maybe achieve new things in the future and thank again.


chore(tests): uncomment mempool & p2p reactor tests

Closes #3689

PR checklist

[x] Tests written/updated
[ ] Changelog entry added in .changelog (we use unclog to manage our changelog)
[ ] Updated relevant documentation (docs/ or spec/) and code comments
[x] Title follows the Conventional Commits spec

--- FAIL: TestReactorBroadcastTxsMessage (120.06s)
    reactor_test.go:62: Timed out waiting for txs
--- FAIL: TestMempoolReactorSendLaggingPeer (120.79s)
    reactor_test.go:187: Timed out waiting for txs
FAIL
coverage: 81.4% of statements
FAIL	github.com/cometbft/cometbft/mempool	267.852s
ok  	github.com/cometbft/cometbft/node	6.962s	coverage: 60.2% of statements
ok  	github.com/cometbft/cometbft/p2p	9.941s	coverage: 69.0% of statements
ok  	github.com/cometbft/cometbft/p2p/conn	6.932s	coverage: 84.2% of statements
--- FAIL: TestConnectionSpeedForPeerReceivedFromSeed (0.04s)
    pex_reactor_test.go:312:
        	Error Trace:	/home/runner/work/cometbft/cometbft/p2p/pex/pex_reactor_test.go:312
        	Error:      	Should be zero, but was 1
        	Test:       	TestConnectionSpeedForPeerReceivedFromSeed
FAIL

Thanks a lot for this 🙏. I see you're just uncommenting them, so what caused them to be commented out in the first place (or am I missing some further change in this PR?)

Constant failures. The mempool tests probably fail because of #3694. This issue may be fixed by #3700.

--- FAIL: TestReactorBroadcastTxsMessage (120.19s)
    reactor_test.go:62: Timed out waiting for txs
--- FAIL: TestMempoolReactorSendLaggingPeer (124.57s)
    reactor_test.go:187: Timed out waiting for txs
coverage: 82.0% of statements
panic: test timed out after 6m40s
running tests:
	TestMempoolReactorMaxActiveOutboundConnections (2m[18](https://github.com/cometbft/cometbft/actions/runs/10382617814/job/28761983651?pr=3698#step:6:19)s)

https://github.com/cometbft/cometbft/actions/runs/10382617814/job/28761983651?pr=3698

This PR should be merged after #3700, which fixes the tests.


Editor Window NOT Cleared at Asset Deletion

When you delete a BehaviourTree asset that is being edited, the editor window is not cleared. This allows users to modify a deleted asset, which raises an exception.

Fixed by the PR above.


#537: fixed repository setup NPE

Fixes: #537
Implements:

fixed NPE in PathProperty.validate method
added a simple test for a missing but not required argument

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 64.188%

Totals

Change from base Build<PHONE_NUMBER>5:
0.04%

Covered Lines:
5646

Relevant Lines:
8471

💛  - Coveralls


AlgoliaReindex task doesn't remove old records from the index

Current Behaviour
The AlgoliaReindex task doesn't seem to remove existing records that no longer exists in SilverStripe ... For example, let's say Content Item X was removed, executing the AlgoliaReindex task doesn't seem to remove it from the Index even with the forceAll=1 being passed. This is undesirable, as it means Algolia's InstantSearch will still present this no longer existing item in the hits.
The only solution would be to clear out the full index, and to do a full re-index, which unfortunately is quiet slow at the moment, and takes about 10 minutes, which would be distributive for users, as we have a cron job that re-indexes records every few hours throughout the day.
Expected Behaviour
Ideally, when running the AlogoliaReindex task, old records that no longer exist in SilverStripe are removed from the index, so it no longer appears in the InstantSearch hits.

Hi @zaidaldabbagh You are correct, forceAll forces all records in Silverstripe to be re-indexed. It does not clear all existing ones. I've added a clearAll flag now.

@wilr do you have a new published version that we can install?

You can always use dev-main#commit for testing the change instantly. I've tagged 1.4.13 as well.


otest-query-ios crashes when running an .xctest built with Address Sanitizer

I want to be able to run my tests after compiling them with Address Sanitizer. A problem with address sanitizer builds is that they need some extra environment information to load properly, and xctool doesn't seem to pass that along, causing the process to crash (because that's what Address Sanitizer does if it can't find all of its expected libraries).
From the error messaging, I need to export DYLD_INSERT_LIBRARIES=/Applications/Xcode_9.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib. From what I understand, to get that to work with xctool, I need to prefix that further with XCTOOL_TEST_ENV_, so what I should be doing is:
export XCTOOL_TEST_ENV_DYLD_INSERT_LIBRARIES=/Applications/Xcode_9.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib
xctool -destination "platform=iOS Simulator,OS=latest,name=iPhone 6" -sdk iphonesimulator run-tests -test-sdk iphonesimulator -testTimeout 5 -logicTest /Path/to/my.xctest

But when I do that, xctool fails and otest-query-ios has produced some crash logs.
xctool output:
=== RUN-TESTS ===

  [Info] Collecting info for testables... (201 ms)
  run-test my.xctest (iphonesimulator11.0, iPhone 6, logic-test)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Failed to query the list of test cases in the test bundle:
stdout:

stderr:
==69094==ERROR: Interceptors are not working. This may be because AddressSanitizer is loaded too late (e.g. via dlopen). Please launch the executable with:
DYLD_INSERT_LIBRARIES=/Applications/Xcode_9.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib
"interceptors not installed" && 0Child process terminated with signal 6: Abort trap
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Failures:

  0) /Path/to/my.xctest (my.xctest)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Failed to query the list of test cases in the test bundle:
stdout:

stderr:
==69094==ERROR: Interceptors are not working. This may be because AddressSanitizer is loaded too late (e.g. via dlopen). Please launch the executable with:
DYLD_INSERT_LIBRARIES=/Applications/Xcode_9.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib
"interceptors not installed" && 0Child process terminated with signal 6: Abort trap
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

** RUN-TESTS FAILED: 0 passed, 0 failed, 1 errored, 1 total ** (202 ms)

header info and the stack for thread 0 of the crash log:
Process:               otest-query-ios [69094]
Path:                  /Volumes/VOLUME/*/otest-query-ios
Identifier:            otest-query-ios
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [69093]
Responsible:           otest-query-ios [69094]
User ID:               501

Date/Time:             2017-10-10 16:49:31.529 -0700
OS Version:            Mac OS X 10.12.6 (16G29)
Report Version:        12
Anonymous UUID:        E51D1785-F586-64BA-0A94-BA4D33F1C903

Time Awake Since Boot: 590000 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
/Applications/Xcode_9.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib
abort() called
CoreSimulator 494.13.6 - Device: iPhone 6 - Runtime: iOS 11.0 (15A372) - DeviceType: iPhone 6
==69094==ERROR: Interceptors are not working. This may be because AddressSanitizer is loaded too late (e.g. via dlopen). Please launch the executable with:
DYLD_INSERT_LIBRARIES=/Applications/Xcode_9.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00000001041f1d42 __pthread_kill + 10
1   libsystem_pthread.dylib       	0x0000000104229457 pthread_kill + 90
2   libsystem_c.dylib             	0x0000000103eb2107 abort + 127
3   libclang_rt.asan_iossim_dynamic.dylib	0x0000000108376556 __sanitizer::Abort() + 70
4   libclang_rt.asan_iossim_dynamic.dylib	0x0000000108371bd8 __sanitizer::Die() + 120
5   libclang_rt.asan_iossim_dynamic.dylib	0x000000010836ad13 __sanitizer::MaybeReexec() + 1043
6   libclang_rt.asan_iossim_dynamic.dylib	0x000000010835bb62 __asan::AsanInitInternal() + 306
7   dyld_sim                      	0x00000001018c3c16 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 420
8   dyld_sim                      	0x00000001018c3e46 ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
9   dyld_sim                      	0x00000001018bf6da ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 330
10  dyld_sim                      	0x00000001018bf66d ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 221
11  dyld_sim                      	0x00000001018be898 ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 134
12  dyld_sim                      	0x00000001018be92c ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 74
13  dyld_sim                      	0x00000001018b5956 dyld::runInitializers(ImageLoader*) + 82
14  dyld_sim                      	0x00000001018bb076 dlopen + 803
15  libdyld.dylib                 	0x0000000103de0a47 dlopen + 86
16  otest-query-lib-ios.dylib     	0x0000000101938aa7 +[OtestQuery queryTestBundlePath:] + 951 (OtestQuery.m:100)
17  otest-query-lib-ios.dylib     	0x0000000101937fc8 EntryPoint + 392 (otest-query-lib.m:26)
18  dyld_sim                      	0x00000001018c3c16 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 420
19  dyld_sim                      	0x00000001018c3e46 ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
20  dyld_sim                      	0x00000001018bf6da ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 330
21  dyld_sim                      	0x00000001018be898 ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 134
22  dyld_sim                      	0x00000001018be92c ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 74
23  dyld_sim                      	0x00000001018b3135 dyld::initializeMainExecutable() + 126
24  dyld_sim                      	0x00000001018b6c98 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 4412
25  dyld_sim                      	0x00000001018b23d4 start_sim + 136
26  dyld                          	0x00000001095cf510 dyld::useSimulatorDyld(int, macho_header const*, char const*, int, char const**, char const**, char const**, unsigned long*, unsigned long*) + 2246
27  dyld                          	0x00000001095cda39 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 241
28  dyld                          	0x00000001095c9249 dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 470
29  dyld                          	0x00000001095c9036 _dyld_start + 54

This also repros in Xcode 8, so this isn't "new", just I didn't get around to making an issue for it until now.
I'm not interested in figuring out my company's process for agreeing to FB's contributor license agreement.
Some investigation we've done shows that this is due to OCUnitTestQueryRunner.m not doing anything with environment variables with the XCTOOL_TEST_ENV_ prefix, so otest-query-ios doesn't ever get an environment variable called DYLD_INSERT_LIBRARIES.
OCUnitTestRunner.m has a _filteredProcessEnvironment method that handles sets up the environment by only taking the environment keys where they started with "XCTOOL_TEST_ENV_" and removing that prefix, but OCUnitTestQueryRunner.m doesn't make use of that.

Thanks for the report and investigation. I will try to put up a patch.

I tried to repro and can't.
I build project like this:
xcodebuild -project TestProject-AppTests.xcodeproj -scheme TestProject-AppTests -destination "name=iPhone 6s,OS=latest" -sdk iphonesimulator build-for-testing -enableAddressSanitizer YES

And then I run xctool like this:
./xctool.sh -sdk iphonesimulator -destination 'name=iPhone 6s,OS=latest' run-tests -appTest TestProject-AppTests.app/PlugIns/TestProject-AppTestsTests.xctest:TestProject-AppTests.app/TestProject-AppTests

Doesn't it work for you?

From xcodebuild logs I see that the library you mentioned is part of xctest hence xctool doesn't need to explicitly specify to load it:
/usr/bin/codesign --force --sign - --preserve-metadata=identifier,entitlements,flags --timestamp=none TestProject-AppTests.app/PlugIns/TestProject-AppTestsTests.xctest/Frameworks/libclang_rt.asan_iossim_dynamic.dylib
May be Apple fixed it in latest Xcode? I am using Xcode 9.0.1.

I think this is a difference between running xctests that are hosted in an app with -appTest and running an independent xctest with -logicTest.
I've only just figured out how -appTest even works, so forgive me if I've misunderstood anything here.
I just setup my own test project ("TestingAsan") with an automatically generated unit test target.
By default, the UT target is setup to be hosted in the TestingAsan.app, and the "Allow testing Host Application APIs" box is checked.
I can successfully build that with address sanitizer:
xcodebuild -project TestingAsan.xcodeproj -scheme TestingAsan -destination "name=iPhone 6s,OS=latest" -sdk iphonesimulator build-for-testing -enableAddressSanitizer YES

And I can successfully run that with -appTest:
~/Library/Developer/Xcode/DerivedData/TestingAsan-dlyjfbkbklnbjsapvrtgeobsllbb/Build/Products/Debug-iphonesimulator]
 aaclarke$ /Volumes/Source/git/GitHub_facebook_xctool/xctool.sh -showTasks -destination "platform=iOS Simulator,OS=latest,name=iPhone 6" -sdk iphonesimulator run-tests -appTest /Users/aaclarke/Library/Developer/Xcode/DerivedData/TestingAsan-dlyjfbkbklnbjsapvrtgeobsllbb/Build/Products/Debug-iphonesimulator/TestingAsan.app/PlugIns/TestingAsanTests.xctest:TestingAsan.app/TestingAsan
...
** RUN-TESTS SUCCEEDED: 2 passed, 0 failed, 0 errored, 2 total ** (20947 ms)

But if you go back to the project and change the unit test target to not be hosted (set the Host Application to None) and rebuild without address sanitizer, that will produce a separate .xctest bundle. Running that with -logicTest will work.
xcodebuild -project TestingAsan.xcodeproj -scheme TestingAsan -destination "name=iPhone 6s,OS=latest" -sdk iphonesimulator build-for-testing; /Volumes/Source/git/GitHub_facebook_xctool/xctool.sh -destination "platform=iOS Simulator,OS=latest,name=iPhone 6" -sdk iphonesimulator run-tests -test-sdk iphonesimulator -testTimeout 5 -logicTest /Users/aaclarke/Library/Developer/Xcode/DerivedData/TestingAsan-dlyjfbkbklnbjsapvrtgeobsllbb/Build/Products/Debug-iphonesimulator/TestingAsanTests.xctest
Build settings from command line:
    SDKROOT = iphonesimulator11.0

=== BUILD TARGET TestingAsan OF PROJECT TestingAsan WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET TestingAsanTests OF PROJECT TestingAsan WITH CONFIGURATION Debug ===

Check dependencies

** TEST BUILD SUCCEEDED **

=== RUN-TESTS ===

  [Info] Collecting info for testables... (271 ms)
  run-test TestingAsanTests.xctest (iphonesimulator11.0, iPhone 6, logic-test)
    ✓ -[TestingAsanTests testExample] (3 ms)
      -[TestingAsanTests testPerformanceExample]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
<unknown>:0: Test Case '-[TestingAsanTests testPerformanceExample]' measured [Time, seconds] average: 0.000, relative standard deviation: 104.437%, values: [0.000002, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100
━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
    ✓ -[TestingAsanTests testPerformanceExample] (253 ms)
    2 passed, 0 failed, 0 errored, 2 total (257 ms)

** RUN-TESTS SUCCEEDED: 2 passed, 0 failed, 0 errored, 2 total ** (792 ms)

But it will fail if you use addressSanitizer:
xcodebuild -project TestingAsan.xcodeproj -scheme TestingAsan -destination "name=iPhone 6s,OS=latest" -sdk iphonesimulator build-for-testing -enableAddressSanitizer YES; /Volumes/Source/git/GitHub_facebook_xctool/xctool.sh -destination "platform=iOS Simulator,OS=latest,name=iPhone 6" -sdk iphonesimulator run-tests -test-sdk iphonesimulator -testTimeout 5 -logicTest /Users/aaclarke/Library/Developer/Xcode/DerivedData/TestingAsan-dlyjfbkbklnbjsapvrtgeobsllbb/Build/Products/Debug-iphonesimulator/TestingAsanTests.xctest
Build settings from command line:
    SDKROOT = iphonesimulator11.0

=== BUILD TARGET TestingAsan OF PROJECT TestingAsan WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET TestingAsanTests OF PROJECT TestingAsan WITH CONFIGURATION Debug ===

Check dependencies

** TEST BUILD SUCCEEDED **

=== RUN-TESTS ===

  [Info] Collecting info for testables... (265 ms)
  run-test TestingAsanTests.xctest (iphonesimulator11.0, iPhone 6, logic-test)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Failed to query the list of test cases in the test bundle:
stdout:

stderr:
==2179==ERROR: Interceptors are not working. This may be because AddressSanitizer is loaded too late (e.g. via dlopen). Please launch the executable with:
DYLD_INSERT_LIBRARIES=/Users/aaclarke/Library/Developer/Xcode/DerivedData/TestingAsan-dlyjfbkbklnbjsapvrtgeobsllbb/Build/Products/Debug-iphonesimulator/TestingAsanTests.xctest/Frameworks/libclang_rt.asan_iossim_dynamic.dylib
"interceptors not installed" && 0Child process terminated with signal 6: Abort trap
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Failures:

  0) /Users/aaclarke/Library/Developer/Xcode/DerivedData/TestingAsan-dlyjfbkbklnbjsapvrtgeobsllbb/Build/Products/Debug-iphonesimulator/TestingAsanTests.xctest (TestingAsanTests.xctest)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Failed to query the list of test cases in the test bundle:
stdout:

stderr:
==2179==ERROR: Interceptors are not working. This may be because AddressSanitizer is loaded too late (e.g. via dlopen). Please launch the executable with:
DYLD_INSERT_LIBRARIES=/Users/aaclarke/Library/Developer/Xcode/DerivedData/TestingAsan-dlyjfbkbklnbjsapvrtgeobsllbb/Build/Products/Debug-iphonesimulator/TestingAsanTests.xctest/Frameworks/libclang_rt.asan_iossim_dynamic.dylib
"interceptors not installed" && 0Child process terminated with signal 6: Abort trap
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

** RUN-TESTS FAILED: 0 passed, 0 failed, 1 errored, 1 total ** (266 ms)

Got it. I will take a look into logic tests support. Meanwhile as a workaround use app tests.

Fixed in https://github.com/facebook/xctool/commit/746c3a042f1a781c80e5f697edba345f7b5270f5 for iOS, OS X and TV OS tests!
Thanks for your bug report, @aaronclarke. Let me know if the fix doesn't work for you for some reasons.


FileBackedMetastore not up to date when index is deleted

The FileBacked Metastore has caching mechanism for lazily loading the metastore file. When an index is deleted, it is not reflected in the metastore even when pooling is activated on that metatstore file.
Steps to reproduce

configure filebacked meatsrore with pooling s3://quickwit-dev/foo#polling_interval=30s
Create an index and start the indexing server
Index a batch of data to create a split. (can be skipped)
Open another terminal and delete the index
The Metastore will still see the splits from the last know index. This can be noticed from the GarbageCollector actor in the pushAPI indexing pipeline
Pooling the Metastore file for new content will fail with FetchError

Expected behavior
In the last step of the reproduction, the metastore should remove the know the index is deleted and remove itself.
Related to cleaning up of object in https://github.com/quickwit-oss/quickwit/issues/1229

After investigating, the pooling works, 30s is just too long, especially when running one of the indexer or searcher services.
@fulmicoton WDYT?  if we introduce a default polling_interval we still don't prevent the actors from discovering the index is suddenly gone before the metastore pooling task has ran (when a user set a longer pooling interval).

Ah right. When we delete splits, we are saved by the grace period. But when we delete index, we don't benefit from that unfortunately.
I think this will be a non-fix for the moment.

Closing as won't fix.


i18n support in server-side JS

Currently UUF only support i18n in Handlebars templates. Need it in server-side JS functions (onGet, onPost) as well.
(originally reported at https://github.com/wso2/carbon-uuf-common/issues/36)

Maybe we shouldn't do this feature, seems like it's not needed with #166 , which is better

@manuranga Let's reevaluate the necessity of this feature after fixing #166.


Possible GSOC project: Adding plugin framework to LLVM, compatible with GCC and ICI, and exposing all optimization choices for tuning

Moved to ck-autotuning repo: https://github.com/ctuning/ck-autotuning/issues/6


generate test cases for Association Entities

We need some test cases for pure binary association in chaise. Any feature that is testing "related" entities, should test both "pure and binary association" and also "inbound related" tables.

Action columns in the related tables should be tested for both inbound foreign related tables and association tables in the related-table-actions spec.
Inbound related tables:

View should show the related entity
Edit should allow the editing of the related entity
Delete should delete the related entity
Association related tables:
View should show the association entity
Edit should allow you to edit the associated entity (it doesn't make sense to edit the association because then you are just creating a new association, verify with @hongsudt about this though)
Unlink should remove the association

In the related-table-link spec, make sure:

view more points to the right recordset page
add allows you to create a new association (basically associating a new entity with the main entity)

Every action item for an association lets you manipulate the association table, except View (Eye Icon)

Add: Will let you add a relationship between the base and related table.
Edit: Will let you edit a relationship between the base and the related table.
View: Will land you the record page of the related entity (Leaf table) of the association.

The test cases have been merged with master. Closing this issue.


Introspect rfc7662

I have been looking at the source code of introspect. Is is correct that it is not possible to validate refresh_tokens?
If I remember the RFC7662 spec correct then "token" can be either a refresh or a access token. And the "token_type_hint" can also be of value "acces_token" and "refresh_token".
The reason why I am asking is because as a client I want to validate a refresh token that I have obtained from the IdentityServer.

thats not implemented. and pretty unusual as well. To validate a refresh token - try to use it.

Thanks for fast reply