build.gradle: remove unused testfx-legacy dependency

Testfx-legacy is depreciated and no longer supported. We use testfx-core version 4.0.12-alpha, which is past the supported testfx-legacy version of 4.0.8-alpha, and breaks it, according to https://github.com/TestFX/TestFX#testfx-legacy-deprecated.
Let's remove the unused testfx-legacy dependency.

This is already being handled in #860 [11/12], so should not need to repeat this.

yup, looks good


Ncm configs rework

Mostly done, needs to be tested on actual hardware.

Basic tests are passing now so I'm marking this as ready for review @macpijan

@mkopec

I added the ability to mix different laptops and test stations like so:

I am fine with this proposal.
We try to come up with a single regression script: https://github.com/Dasharo/open-source-firmware-validation/blob/develop/scripts/regression.sh to get rid of these platform-specific ones. It might need a few more lines of code to get this working with your proposal. Can you do that?

@macpijan Added handling of the test station to the regression script, and rebased on develop


Readded victory create methods and imports

All Submissions:

[ ] Have you followed the guidelines stated in CONTRIBUTING.md file?
[ ] Have you checked to ensure there aren't any other open Pull Requests for the desired changed?

Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

New Feature Submission:

[ ] Does your submission pass the tests?
[ ] Have you linted your code locally prior to submission?

Changes To Core Features:

[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully ran tests with your changes locally?

After these steps, you're ready to open a pull request.
a. Give a descriptive title to your PR.

b. Describe your changes.

c. Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such).

Ok let me actually test this myself I just sent this pr without looking

Ok tested this myself with reflex web when victory was in it


Update pypy in CI to released version

PyPy released a new version, so CI does not need to use a nightly.

Thanks


[FLINK-5588][ml] add a data normalizer to ml library

Adds a Normalizer.
Throws an exception if NaN values are used, following the scikit-learn approach. An Imputer will be added later. Also I plan to make the rest of preprocessing algos compatible in another PR.
Supports p norm value as a double. L1,L2, LMax norms are predefined for easier use.

@thvasilo @tillrohrmann  pls review.

Hello @skonto thanks for your contribution!
I'm currently snowed under paper deadlines, so I can't give you a time for when I'll be able to go through this, hopefully within the next 2-3 weeks.

@tillrohrmann  the tests never finished :( Is there a way to re-trigger it besides a commit?

Hi @skonto, if you have activated the Travis integration for your own repo, then you can restart the testing job there. For the apache account it is not possible. However, I've seen that only the last build ran out of time. We're currently at the very limit in terms of runtime what Travis allows. That is a known issue and we try to address it soon.

@skonto another option, if the master branch has a newer commit, is to rebase and force push.

But please don't do a force push on a branch which has been opened as a PR. If there was a review ongoing, then the force push might invalidate it (e.g. if you changed something in the relevant files).

Ok sorry for that I did squash the commits, also I am used to it from other projects where the comments are invalidated.

WIP I will add the unit scaler here.

Closing since flink-ml is effectively frozen.


Update usages of fromEnvironment to handle breaking change #40678

SDK issue 40678 is concerned with a breaking change which will be performed in the Dart language and core libraries: The constant constructors int.fromEnvironment and String.fromEnvironment will have default values 0 and "", respectively, for the parameter named defaultValue.
This means that the following usages in protobuf will have a new semantics (and presumably will not work as intended):
./third_party/pkg/protobuf/query_benchmark/bin/encode_json.dart:  String path = const String.fromEnvironment('testfile') ?? 'testdata/500.pb';
./third_party/pkg/protobuf/query_benchmark/bin/decode.dart:  String path = const String.fromEnvironment('testfile') ?? 'testdata/500.pb';
./third_party/pkg/protobuf/query_benchmark/bin/set_nested_value.dart:  String path = const String.fromEnvironment('testfile') ?? 'testdata/500.pb';
./third_party/pkg/protobuf/query_benchmark/bin/encode.dart:  String path = const String.fromEnvironment('testfile') ?? 'testdata/500.pb';
./third_party/pkg/protobuf/query_benchmark/bin/decode_json.dart:  String path = const String.fromEnvironment('testfile') ?? 'testdata/500.pb';

The expressions should be changed as follows in order to work:
// Current form
String path = const String.fromEnvironment('testfile') ?? 'testdata/500.pb';

// New form that will work also after the breaking change has occurred.
String path = const bool.hasEnvironment('testfile')
    ? const String.fromEnvironment('testfile')
    : 'testdata/500.pb';

The constructor bool.hasEnvironment has been added to Dart as of https://github.com/dart-lang/sdk/commit/4aba58122c3070d5effef416d52cb4f74b7bd253. Until that commit is available, it is possible to replace const bool.hasEnvironment('testfile') by (const String.fromEnvironment('testfile', defaultValue: 'a') == const String.fromEnvironment('testfile', defaultValue: 'b')).

It seems like this was fixed by f611f237. I checked uses of fromEnvironment methods. We don't use int.fromEnvironment, and for String.fromEnvironment we always specify the default values:
query_benchmark/bin/decode_json.dart:11:      const String.fromEnvironment('testfile', defaultValue: 'testdata/500.pb');
query_benchmark/bin/decode.dart:11:      const String.fromEnvironment('testfile', defaultValue: 'testdata/500.pb');
query_benchmark/bin/set_nested_value.dart:14:      const String.fromEnvironment('testfile', defaultValue: 'testdata/500.pb');
query_benchmark/bin/encode_json.dart:11:      const String.fromEnvironment('testfile', defaultValue: 'testdata/500.pb');
query_benchmark/bin/encode.dart:11:      const String.fromEnvironment('testfile', defaultValue: 'testdata/500.pb');


Store Apps Don't Remember Last Open Location

Windows 10 Version 1909
Windows build number: [Version 10.0.18363.476]
PowerToys version: 0.14
PowerToy module for which you are reporting the bug (if applicable): FanzyZones

Simply opening Store apps

Expect these apps to remember their last location/FanzyZone and open there.

All Store apps open in the same FanzyZone area even though they have been moved into other areas. Only seems to happen with Store apps.

Screenshots

On 1903 I cannot reproduce that. It might be that something changed for UWP apps in 1909, current implementation depends on UWP windows being created by ApplicationFrameHost.exe.
@WinObs, what are the exact apps that are causing this?

Some of them include
Microsoft Store
Your Phone
NextGen Reader
Some that do remember their location
Messenger
Messenger (Beta)
Rich
From: Bartosz Sosnowski<EMAIL_ADDRESS>Sent: Wednesday, December 4, 2019 11:39 AM
To: microsoft/PowerToys<EMAIL_ADDRESS>Cc: Richard Hay<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [microsoft/PowerToys] Store Apps Don't Remember Last Open Location (#859)
On 1903 I cannot reproduce that. It might be that something changed for UWP apps in 1909, current implementationhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FPowerToys%2Fblob%2F3a65d5ce2353fd5d1de3b78d1191ea619f6dbbaf%2Fsrc%2Fcommon%2Fcommon.cpp%23L237-L257&data=02|01||6ebd428367e1453204a508d778d87087|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637110743296058573&sdata=ZyAfnHfEn%2B4zureqJ%2FrHmfuDEMv8XJV5rNhxryS9QNw%3D&reserved=0 depends on UWP windows being created by ApplicationFrameHost.exe.
@WinObshttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FWinObs&data=02|01||6ebd428367e1453204a508d778d87087|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637110743296068575&sdata=JAiOqNN%2BE1CIRF6RkjrJA3A1nn8wGgNpJSurho7vz%2BU%3D&reserved=0, what are the exact apps that are causing this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FPowerToys%2Fissues%2F859%3Femail_source%3Dnotifications%26email_token%3DAJXJD3H6VGBYFYKYUKZNYDDQW7MJRA5CNFSM4JVKFUSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF5UO7A%23issuecomment-561727356&data=02|01||6ebd428367e1453204a508d778d87087|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637110743296068575&sdata=vVcQ3dfYkuscmoIZ4sU%2B8cMsrCKXjyqysEoSlaS4m6U%3D&reserved=0, or unsubscribehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJXJD3BOT6UD7A3ITU7M2PLQW7MJRANCNFSM4JVKFUSA&data=02|01||6ebd428367e1453204a508d778d87087|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637110743296078587&sdata=0aVY6FgDQoSI21Fk9J%2B%2BAz4j%2B544nPmP1%2B7kttOSAMI%3D&reserved=0.

Ok, so Microsoft Store and Your Phone end up in different zones on 1903. I'll try it with 1909.

@WinObs sorry, cannot reproduce this even with 1909. Tried Microsoft Store and Your Phone - they both get their own zone and stick to it.
Could you maybe provide a screenshot of your FancyZones settings?

Here you go.

Ok, I managed to reproduce this, but only with "Space around zones" set to 1. With it set to 16 everything works as expected.
My is guess that you have scaling set to something more than 100% percent and this is a duplicate of #762.
/cc @yuyoyuppe

Oh, I do use 125% scaling because I am on a 37 inch wide screen monitor. Let me try the setting as I normally have that turned off.
I tried with 16 and turned it on but it continues to not remember its last spot.
Even resetting my scaling to 100% - the official Twitter app from the Store continues to not remember its last zone.
Rich
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Bartosz<EMAIL_ADDRESS>Sent: Wednesday, December 4, 2019 2:50 PM
To<EMAIL_ADDRESS>Cc: Richard<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [microsoft/PowerToys] Store Apps Don't Remember Last Open Location (#859)
Ok, I managed to reproduce this, but only with "Space around zones" set to 1. With it set to 16 everything works as expected.
My is guess that you have scaling set to something more than 100% percent and this is a duplicate of #762https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FPowerToys%2Fissues%2F762&data=02|01||b2778db1da8c4050c16e08d778f3278e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637110858037546954&sdata=cgJByLv0c9Yv84%2BeHbnsBsc9OwvbrWrX3YQrppOzwFQ%3D&reserved=0.
/cc @yuyoyuppehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fyuyoyuppe&data=02|01||b2778db1da8c4050c16e08d778f3278e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637110858037566970&sdata=D5XB12E%2FF9OvlA90%2BQFsOxqmdLcU1WB7LTYgBBOPT4Q%3D&reserved=0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FPowerToys%2Fissues%2F859%3Femail_source%3Dnotifications%26email_token%3DAJXJD3AWR63QF6ORPIXLZDDQXACWTA5CNFSM4JVKFUSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF6I5DQ%23issuecomment-561811086&data=02|01||b2778db1da8c4050c16e08d778f3278e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637110858037586981&sdata=QOCvx%2F7RClnR20NxNbxKjbyn6nCMdQZY00myT35Rlj0%3D&reserved=0, or unsubscribehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJXJD3B7GJWAFZPZULYWEHLQXACWTANCNFSM4JVKFUSA&data=02|01||b2778db1da8c4050c16e08d778f3278e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637110858037596998&sdata=euCOGyK81EKLZapi43KX94lIOARyoirBsRtqTyVJg0I%3D&reserved=0.

Ok. We will continue to investigate this.

Is there a thread to add apps that do not remember their last zone?

I guess it would be here. If - besides apps that don't remember their zone - you have apps that do remember their, please also list them.
We also made a new release recently, please give it a try.

I am using 0.14.1 and still have some apps that do not remember their zones:
Twitter (Official app from Store) is the most prominent one right now.

Do it get snapped to a different apps zone, or does it ignore the zones altogether?

It gets snapped to my other zone. I have two setup for this monitor 2/3 and 1/3 split. UWP apps for the most part open in the left zone. I want most of them in that zone so it is not an issue but when I open Twitter I always have to move it.
If I use the Twitter PWA from one of the Edge (Chromium) browsers and move it over to my 1/3 zone – then other browser windows open up in that zone as well.
Rich
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Bartosz<EMAIL_ADDRESS>Sent: Thursday, December 5, 2019 3:56 PM
To<EMAIL_ADDRESS>Cc: Richard<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [microsoft/PowerToys] Store Apps Don't Remember Last Open Location (#859)
Do it get snapped to a different apps zone, or does it ignore the zones altogether?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FPowerToys%2Fissues%2F859%3Femail_source%3Dnotifications%26email_token%3DAJXJD3BSQXNBLLX5XLQW5VLQXFTHHA5CNFSM4JVKFUSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGCDXQA%23issuecomment-562314176&data=02|01||c73d4e2a5daa43be694008d779c594b2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637111761809857296&sdata=qLt2%2Ba3RD0MwOtarLhpXoXzcvGfTjqLZ%2FQ%2FRHFqYquk%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJXJD3GOWU3XYRXAYO77O5DQXFTHHANCNFSM4JVKFUSA&data=02|01||c73d4e2a5daa43be694008d779c594b2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637111761809867295&sdata=7xoNlUNsJrKU3iQqQfW1tZ1PdIvE%2FY4EvSFrsmbWTvY%3D&reserved=0.

@WinObs @bzoz
we have this issue to track PWA apps not moving to zones
https://github.com/microsoft/PowerToys/issues/652

I just commented there about my situation – thanks.
The issue is not so much the PWA not going to the zone – but subsequent instances of the browser that PWA was installed from – for instance Edge Canary – follow it into that same zone. Not ideal when I want the browser to open in the larger 2/3 segment and the Twitter PWA in the smaller 1/3 section.
Rich
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Enrico<EMAIL_ADDRESS>Sent: Thursday, December 5, 2019 4:10 PM
To<EMAIL_ADDRESS>Cc: Richard<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [microsoft/PowerToys] Store Apps Don't Remember Last Open Location (#859)
@WinObshttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FWinObs&data=02|01||0bd131d171324fc3e84a08d779c79a6e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637111770498759670&sdata=iEMW431RRhALVyc3VvL3cPP2WVE0FQqcpzyOmbOCD74%3D&reserved=0 @bzozhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbzoz&data=02|01||0bd131d171324fc3e84a08d779c79a6e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637111770498769675&sdata=HPSZ0JS6NVA6T5lFNGhwNAOB8zuTbz%2BnwzcbLYJqDcA%3D&reserved=0
we have this issue to track PWA apps not moving to zones
#652https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FPowerToys%2Fissues%2F652&data=02|01||0bd131d171324fc3e84a08d779c79a6e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637111770498779681&sdata=xmzlPlhMWgQxH2uu%2FfM7yOoMBdGEO27w%2B5HtaF8TIB0%3D&reserved=0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FPowerToys%2Fissues%2F859%3Femail_source%3Dnotifications%26email_token%3DAJXJD3EXSBXLJGOFQL6H67LQXFU5TA5CNFSM4JVKFUSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGCFCMI%23issuecomment-562319665&data=02|01||0bd131d171324fc3e84a08d779c79a6e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637111770498789698&sdata=4Hf2nc2A4KoO%2B7mw1qHxkF5iJDkKmC1MEvWpMYFXrbw%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJXJD3FX77KGFVD23OBEEPDQXFU5TANCNFSM4JVKFUSA&data=02|01||0bd131d171324fc3e84a08d779c79a6e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637111770498799703&sdata=PCaWD0S3BaXMXt9LOsTehs5iA5Huw0stEMqNOua5F1Q%3D&reserved=0.

Just jumping in for an update. Did a clean install on my main desktop this AM and after reinstalling PowerToys (current release) all apps remembered their last FanzyZone.
That was until I changed my scaling to 125% then they forgot their last location and then did not readjust to their zones after putting them in their spots.
So as someone previously mentioned - seems to definitely have a scaling connection.

@WinObs
thanks for info, this should help reproducing the problem.

This should be working now.
Please reopen if it still reproduces.


Azure Activity Logs new settings

Change the module to implement new diagnostics for Azure activity logs new experience as per:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/activity-log-collect
"Currently, you can only create a subscription level diagnostic setting using the Azure portal and a Resource Manager template."

Waiting for https://github.com/terraform-providers/terraform-provider-azurerm/pull/6603 before fixing up.


Companion v3 - TH-65EQ2

Hello,
Attempting to connect to a TH-65EQ2 on v3.
ERROR
[object Object]
Is shown when trying to connect.  Is a fix possible?
Cheers
James

To add to above, log shows:
Network error: connect ECONNREFUSED <IP_ADDRESS>:10101


[BETA] Automate API not reporting Habitat Service that appears in UI

Describe the bug
A habitat service reporting to Automate is visible in the UI but does not appear in the API at the /v1/applications/service-groups or /v1/applications/services endpoints.
To Reproduce
I started a Supervisor in a container with EVENT_STREAM enabled, reporting to Automate. I loaded a single service on this instance and was able to see it in Automate UI as well as through the API.  I did this 3-4 times in the space of about 20 minutes (Jenkins library testing).
An hour later the Automate UI was displaying 4 disconnected instances of the service (I had opened this tab new, so it was not cached). I started up a new Supervisor in the same scenario; the new Supervisor/service instance appeared in the UI, but was absent in the API at /services or /service-groups. In fact, none of the service instances for this group, new or old (disconnected), appeared in the Automate API calls. I terminated the Supervisor and destroyed the container & re-tried with the same results; the UI now reported 6 total, 4 disconnected and the API did not show the group in /service-groups or the instances in /services.
I can see some disconnected instances from other groups, though even those have issues; e.g. for one group that has 6 nodes, 4 disconnected, I can only see 1 out of 4 disconnected services through the API. All of them are visible in the UI and disconnected in the same 1-2 minutes, and I waited a few minutes and retried to see if Automate was cleaning up old nodes.
Expected behavior
I expect to see the service group appear in /service-groups, as the group still exists and is visible in the UI. I also expected the old, disconnected instances appear in /services as they were also appearing in the UI.
Screenshots
Can't post screenshots directly on here due to this being a customer system, but can provide this directly to Chef engineers if required.
Versions (please complete the following information):

OS: centos7 based Docker container
Browser: Chrome
Automate Build Number:<PHONE_NUMBER>2734

Thanks for reporting this.
What the exact URLs (with all parameters) you are using with these APIs? It could be something else but at the moment my hypothesis is that pagination is "hiding" the results on a later page.
When no pagination parameters are specified, you will only see the first page with a page size of 25 results. The UI uses these default sort and pagination parameters: ?sorting.field=percent_ok&sorting.order=ASC&pagination.page=1&pagination.size=25 (e.g., a full URL like  https://a2-dev.test/api/v0/applications/service-groups?sorting.field=percent_ok&sorting.order=ASC&pagination.page=1&pagination.size=25 ).

@danielsdeleo this was it. I remember seeing docs on pagination at https://automate.chef.io/docs, but I can't seem to find it anymore - this might've been why I hadn't thought of this. I can see these are documented in the Automate repo in the Swagger JSON files, is there anywhere on the online docs these are present?

@sirajrauff the Swagger-based content is being improved and will be published online at some point in the future, but I don't know when that's expected to ship.


Multi-tenant architecture for the app

My aim is to break this into multiple PRs:

[x] PRs which refactors the App and introduces the right interfaces for alternative, multi-tenant implementations (#997, #1150)
A PR which implements various multi tenant backends (this one)
A PR which does the right plumbing in prog/app to bring this all together (also this one)

TO DEMO:
$ make
$ cd experimental/multitenant
$ make
$ weave launch
$ ./run.sh
$ cd ../../
$ ./scope --probe-only

TODO:

Dynamo Collector
[x] deal with periods spanning the hour
[ ] read row/column keys first, pick already decoded reports from a cache, and then send a multiget for the rest.
[ ] use sqs for sending shortcut reports.
Control Router
[x] don't delete queues
[x] correctly tidy up connections
[ ] use consul to keep connection state
Pipe Router
[x] implement delete
[x] make it work beyond the single replica case
[ ] implement garbage collection

Initially looks fine. fns (particularly consulpiperouter) are too large and need breaking down, IMO (but at least there are lots of comments).

Yeah I'm rewriting pipe router into mich smaller bits.  Thanks!
On Friday, 11 March 2016, Paul Bellamy<EMAIL_ADDRESS>wrote:

Initially looks fine. fns (particularly consulpiperouter) are too large
and need breaking down, IMO (but at least there are lots of comments).
—
Reply to this email directly or view it on GitHub
https://github.com/weaveworks/scope/pull/996#issuecomment-195298699.

The ConsulPipeRouter seems to be three things in one. There's the actual pipe routing, a consistent consul kv client, and an atomic-CASable value (backed by consul).

The ConsulPipeRouter seems to be three things in one. There's the actual pipe routing, a consistent consul kv client, and an atomic-CASable value (backed by consul).

I've broken out the high-level consul client.  Pipe-routing and the value data type have been left in there.

LGTM


bug: oracle node randomly quits

Dont know how this happened yet, but I have seen the Bye! log randomly with no logs at all.

This can be prevented with a loop on the outside, and termination signal handlers

I was able to reproduce this by disconnecting from internet, causing the node to close after a few seconds.
Perhaps the stream ends preeemptively when the network is done.


Sharing benchmark results

We encourage the users to share their benchmark results if they run the notebook on a local machine, not the binder, correct? My branch specifies that.

I don't know how useful it is to share benchmark results in the end... For us, it was essential to compare the different libraries. Now, I see this as a way to validate that the code is working correctly when testing on a local machine. But I don't see anything wrong with specifying something in the Notebook.

Agree.


Feature Request: Provide tf.pow with supporting  broadcasting?

Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
TensorFlow version (use command below):
Python version:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

I wonder if the following example isn't a broadcast already?

@ayush2991  It' s my carelessness. The tf.pow()  API description doesn't refer to the broadcasting feature, while other operations (eg. tf.multiply()) have mentioned it if they support broadcasting.  And I mistakenly think that there is not broadcasting in tf.pow(). Thx a lot! :)

@lepangdan, in that case I think you must close the issue now.


Sandbox: Broken "Add String" buttons in multiple object types

Description:
The Sandbox contains broken "Add String" buttons when viewing the following object types:

DriverObject under "LinkedAgainst"
FirewallObject under "LocalAddresses"
FirewallObject under "LocalPorts"
FirewallObject under "RemoteAddresses"
FirewallObject under "RemotePorts"
RegistryObject under "Permissions"
RegistryObject under "SubKeys"

Expected behavior:
The "Add String" buttons should add strings to a list displayed as a dropdown
To Reproduce:
Steps to reproduce the behavior:

Run ASA, open GUI
Click Sandbox page
Select any of the above mentioned types, e.g. DriverObject
Create the object
Click 'View' tab to view the object, expand its contents
Find some broken "Add String" buttons

Configuration:

ASA Application Version: v2.3.146-beta
OAT Application Version: 718b12bddf671984074aefe98e6789c4dd0c7b95

This appears to be because the underlying type here is List<string>? and not List<string>.  OAT appears to need some work with nullable types in general.


checking the existence of znode for resuming job

Are there tests that reproduce both cases where ZK path is supplied vs when it is not?

Can someone provide an update on this? Is it still relevant?

This is fixed in AMATERASU-62


Run via rootless podman or singularity/apptainer?

We should check with @asmacdo if that would be possible to avoid possible "kill all by using docker" scenario ;)

huh?

Without fully understanding the use case I think the answer is yes.
With podman, we have 4 options.

run podman as root, run container as root
run podman as root, run container as non-root (specify -u someuser)
run podman as non-root, run the container as root (ex. UID 0 inside the container maps to UID 1000)
run podman as non-root, run the container as non-root. safety first!

FWIW we have podman installed on smaug now.
In development mode we need to start db and broker from https://github.com/datalad/datalad-registry/blob/master/docker-compose.yml .
https://github.com/datalad/datalad-registry/blob/master/up is the script used for that purpose.
Can you @asmacdo work with @candleindark and research into possibility of the "non-root" execution of those instances?  I think it should be feasible since really there is no need for "outside root" - ports they use are not privileged so for that root also would not be needed.

@yarikoptic Podman on Smaug is currently @ 3.0.1. Can we have it updated to the current version 4.4.1?

I've tried to backport 4.3.1 (present in debian unstable) but "no good".
Why would we need 4.4.1?  is there a way for user-space installation (attn @asmacdo)?

Seems like it's possible but probably not worth the effort.
https://github.com/containers/podman/issues/3100

I've tried to backport 4.3.1 (present in debian unstable) but "no good".
Why would we need 4.4.1? is there a way for user-space installation (attn @asmacdo)?

All the documentation I have been reading is at version 4+. I was just wondering if we can upgrade to version 4+ just for consistency. It actually don't have to be 4.4.1 in particular.

feel welcome to close issues you consider addressed. Where possible/relevant -- reference a commit or PR which closed it.  In this case I guess it might benefit from a quick section in README.md on podman and settings to use to avoid containers being killed.

Note:
Before closing this issue, provide a section on README.md for running registry on Podman. This section should provide the solution to avoid Podman containers being killed by systemd.

could we consider #102 as a replacement for this one? ;)

Sure, let's close this one.


fish_command_not_found override breaks default command-not-found implementation

Describe the bug
mise activate fish overrides the default fish_command_not_found implementation in a way that breaks the default command-not-found handling.
To Reproduce
Using Arch, add mise activate fish | source to ~/.config/fish/config.fish. Try to call a binary that isn't installed:
~> htop
fish: Unknown command: htop

Expected behavior
Using Arch with pkgfile installed, without mise activate fish | source in config:
~> htop
htop may be found in the following packages:
  extra/htop 3.3.0-1	/usr/bin/htop

mise doctor output
mise version:
  2024.2.4 linux-x64 (2024-02-05)

build:
  Target: x86_64-unknown-linux-gnu
  Features: DEFAULT, NATIVE_TLS
  Built: Mon, 5 Feb 2024 22:00:01 +0000
  Rust Version: rustc 1.75.0 (82e1608df 2023-12-21)
  Profile: release

shell:
  fish
  fish, version 3.7.0

mise data directory:
  /home/kevindetry/.local/share/mise

mise environment variables:
  MISE_SHELL=fish

settings:
  activate_aggressive = false
  all_compile = false
  always_keep_download = false
  always_keep_install = false
  asdf_compat = false
  cargo_binstall = true
  color = true
  disable_default_shorthands = false
  disable_tools = []
  experimental = false
  jobs = 4
  legacy_version_file = true
  legacy_version_file_disable_tools = []
  node_compile = false
  not_found_auto_install = true
  paranoid = false
  plugin_autoupdate_last_check_duration = "7d"
  python_compile = false
  python_default_packages_file = "/home/kevindetry/.default-python-packages"
  python_pyenv_repo = "https://github.com/pyenv/pyenv.git"
  python_venv_auto_create = false
  raw = false
  trusted_config_paths = []
  quiet = false
  verbose = false
  yes = false
  ci = false
  debug = false
  trace = false
  log_level = "info"

  [status]
  missing_tools = "if_other_versions_installed"
  show_env = false
  show_tools = false

config files:

plugins:
  bun      (core)
  deno     (core)
  go       (core)
  java     (core)
  node     (core)
  python   (core)
  ruby     (core)

toolset:

No problems found

Seems to be broken again with https://github.com/jdx/mise/pull/1665
Without and not functions -q __mise_fish_command_not_found command-not-found handler works as expected.

@jdx, would it be possible to reopen this issue? :)


App Clip uncompressed size is larger than 10MB

Submitting a minimal app currently exceeds the 10mb uncompressed size limit with a
ITMS-90865: Thinned app clip size is too large
on 1.24.0-8.0.pre.344.
Compressed, thinned IPA is 4.6mb, but the current uncompressed breakdown is:
Total: 11,289,773 bytes
[ 320]  AppClip.app
├── [ 90K]  AppClip
├── [ 34K]  Assets.car
├── [ 128]  Base.lproj
│   ├── [ 160]  LaunchScreen.storyboardc
│   │   ├── [2.2K]  01J-lp-oVM-view-Ze5-6b-2t3.nib
│   │   ├── [ 258]  Info.plist
│   │   └── [ 896]  UIViewController-01J-lp-oVM.nib
│   └── [ 160]  Main.storyboardc
│       ├── [1.8K]  BYZ-38-t0r-view-8bC-Xf-vdC.nib
│       ├── [ 258]  Info.plist
│       └── [ 923]  UIViewController-BYZ-38-t0r.nib
├── [ 128]  Frameworks
│   ├── [ 192]  App.framework
│   │   ├── [1.7M]  App
│   │   ├── [ 794]  Info.plist
│   │   ├── [  96]  _CodeSignature
│   │   │   └── [2.7K]  CodeResources
│   │   └── [ 160]  flutter_assets
│   │       ├── [   2]  AssetManifest.json
│   │       ├── [   2]  FontManifest.json
│   │       └── [725K]  NOTICES
│   └── [ 192]  Flutter.framework
│       ├── [7.4M]  Flutter
│       ├── [ 956]  Info.plist
│       ├── [  96]  _CodeSignature
│       │   └── [2.0K]  CodeResources
│       └── [781K]  icudtl.dat
├── [4.2K]  Info.plist
├── [   8]  PkgInfo
├── [  96]  _CodeSignature
│   └── [6.7K]  CodeResources
└── [104K]  embedded.mobileprovision

The App.framework/App breakdown is:

The flutter package breakdown is:

The Flutter.framework/Flutter breakdown (on an equivalent Android libflutter.so, since we don't have a tool to break down iOS dylibs yet https://github.com/dart-lang/sdk/issues/44278):

Possible explorations

[ ] [90k] Dig more into what the AppClip binary is.
[x] [1.6m] Build App.framework/App with split-debug-info.
[x] [781k] The NOTICES file is huge. Since the uncompressed size is being measured here, there might be de-duplication potential. https://github.com/flutter/flutter/issues/71102
[ ] [1m] The 70kb ld-temp.o and the 950kb unattributed code in the Flutter.framework/Flutter / libflutter.so is suspicious.

The measured App.framework/App is already building with split-debug-info, which went from 2,057,088 bytes to 1,774,672.

#71102 brings it down by a bit
> zipinfo -m AppClip-9C3E397E-C262-473A-AB39-9E3F03DD9B35.ipa
Archive:  AppClip-9C3E397E-C262-473A-AB39-9E3F03DD9B35.ipa
Zip file size: 4651240 bytes, number of entries: 37
drwxr-xr-x  2.1 unx        0 bx  0% stor 20-Dec-15 13:14 Payload/
drwxr-xr-x  2.1 unx        0 bx  0% stor 20-Dec-15 13:14 Payload/AppClip.app/
drwxr-xr-x  2.1 unx        0 bx  0% stor 20-Dec-15 13:14 Payload/AppClip.app/_CodeSignature/
-rw-r--r--  2.1 unx     6863 bX 72% defN 20-Dec-15 13:14 Payload/AppClip.app/_CodeSignature/CodeResources
-rwxr-xr-x  2.1 unx    92416 bX 90% defN 20-Dec-15 13:14 Payload/AppClip.app/AppClip
drwxr-xr-x  2.1 unx        0 bx  0% stor 20-Dec-15 13:14 Payload/AppClip.app/Base.lproj/
drwxr-xr-x  2.1 unx        0 bx  0% stor 20-Dec-15 13:14 Payload/AppClip.app/Base.lproj/Main.storyboardc/
-rw-r--r--  2.1 unx      923 bX 35% defN 20-Dec-15 13:14 Payload/AppClip.app/Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r.nib
-rw-r--r--  2.1 unx     1832 bX 41% defN 20-Dec-15 13:14 Payload/AppClip.app/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib
-rw-r--r--  2.1 unx      258 bX 42% defN 20-Dec-15 13:14 Payload/AppClip.app/Base.lproj/Main.storyboardc/Info.plist
drwxr-xr-x  2.1 unx        0 bx  0% stor 20-Dec-15 13:14 Payload/AppClip.app/Base.lproj/LaunchScreen.storyboardc/
-rw-r--r--  2.1 unx     2260 bX 43% defN 20-Dec-15 13:14 Payload/AppClip.app/Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib
-rw-r--r--  2.1 unx      896 bX 34% defN 20-Dec-15 13:14 Payload/AppClip.app/Base.lproj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib
-rw-r--r--  2.1 unx      258 bX 42% defN 20-Dec-15 13:14 Payload/AppClip.app/Base.lproj/LaunchScreen.storyboardc/Info.plist
-rw-r--r--  2.1 unx    34440 bX 57% defN 20-Dec-15 13:14 Payload/AppClip.app/Assets.car
drwxr-xr-x  2.1 unx        0 bx  0% stor 20-Dec-15 13:14 Payload/AppClip.app/Frameworks/
drwxr-xr-x  2.1 unx        0 bx  0% stor 20-Dec-15 13:14 Payload/AppClip.app/Frameworks/Flutter.framework/
drwxr-xr-x  2.1 unx        0 bx  0% stor 20-Dec-15 13:14 Payload/AppClip.app/Frameworks/Flutter.framework/_CodeSignature/
-rw-r--r--  2.1 unx     2084 bX 75% defN 20-Dec-15 13:14 Payload/AppClip.app/Frameworks/Flutter.framework/_CodeSignature/CodeResources
-rw-r--r--  2.1 unx   799760 bX 42% defN 20-Dec-15 13:14 Payload/AppClip.app/Frameworks/Flutter.framework/icudtl.dat
-rwxr-xr-x  2.1 unx  7733808 bX 56% defN 20-Dec-15 13:14 Payload/AppClip.app/Frameworks/Flutter.framework/Flutter
-rw-r--r--  2.1 unx      956 bX 59% defN 20-Dec-15 13:14 Payload/AppClip.app/Frameworks/Flutter.framework/Info.plist
drwxr-xr-x  2.1 unx        0 bx  0% stor 20-Dec-15 13:14 Payload/AppClip.app/Frameworks/App.framework/
drwxr-xr-x  2.1 unx        0 bx  0% stor 20-Dec-15 13:14 Payload/AppClip.app/Frameworks/App.framework/_CodeSignature/
-rw-r--r--  2.1 unx     2758 bX 75% defN 20-Dec-15 13:14 Payload/AppClip.app/Frameworks/App.framework/_CodeSignature/CodeResources
-rwxr-xr-x  2.1 unx  1794752 bX 65% defN 20-Dec-15 13:14 Payload/AppClip.app/Frameworks/App.framework/App
drwxr-xr-x  2.1 unx        0 bx  0% stor 20-Dec-15 13:14 Payload/AppClip.app/Frameworks/App.framework/flutter_assets/
-rw-r--r--  2.1 unx    63100 bX  2% defN 20-Dec-15 13:14 Payload/AppClip.app/Frameworks/App.framework/flutter_assets/NOTICES.Z
-rw-r--r--  2.1 unx        2 bX-99% defN 20-Dec-15 13:14 Payload/AppClip.app/Frameworks/App.framework/flutter_assets/AssetManifest.json
-rw-r--r--  2.1 unx        2 bX-99% defN 20-Dec-15 13:14 Payload/AppClip.app/Frameworks/App.framework/flutter_assets/FontManifest.json
drwxr-xr-x  2.1 unx        0 bx  0% stor 20-Dec-15 13:14 Payload/AppClip.app/Frameworks/App.framework/flutter_assets/packages/
drwxr-xr-x  2.1 unx        0 bx  0% stor 20-Dec-15 13:14 Payload/AppClip.app/Frameworks/App.framework/flutter_assets/packages/cupertino_icons/
drwxr-xr-x  2.1 unx        0 bx  0% stor 20-Dec-15 13:14 Payload/AppClip.app/Frameworks/App.framework/flutter_assets/packages/cupertino_icons/assets/
-rw-r--r--  2.1 unx      794 bX 57% defN 20-Dec-15 13:14 Payload/AppClip.app/Frameworks/App.framework/Info.plist
-rw-r--r--  2.1 unx   106203 bX 64% defN 20-Dec-15 13:14 Payload/AppClip.app/embedded.mobileprovision
-rw-r--r--  2.1 unx     4280 bX 78% defN 20-Dec-15 13:14 Payload/AppClip.app/Info.plist
-rw-r--r--  2.1 unx        8 bX  0% defN 20-Dec-15 13:14 Payload/AppClip.app/PkgInfo
37 files, 10648653 bytes uncompressed, 4642890 bytes compressed:  56.4%

Looks like the NOTICES part is down by ~700kB.

Does this mean it's under the 10mb limit now to use in production?

@xster thanks for the #71102, looks like it's still just a bit over 10m for production?

@xster any updates on when this will be addressed?

@xster Do you have news for iOS App Clips support for production?

@xster  bump :). (since it's been 2 months since request for info and 6 months since your last comment hope you don't mind gentle bump

Any updates regarding the sizing issues? :)

Any updates?

Don't you think that if there were updates to give, they would be posted here already?

Any updates?

This is important to the adoption of Flutter in development. Can you consider to raise priority on this isssue? Thanks!

Any updates?

Correct, it's still over 10mb currently unfortunately. I don't have an ETA for when it'll be addressed.

Hello do you have an ETA in April 2022?

IOS16 seems to increase the size constraints of App Clips

Google waiting for Apple to finally solve its problem? Nice :-)

IOS16 seems to increase the size constraints of App Clips

Was anyone able to submit Flutter App Clips to the Store with iOS 16?

1

Would be cool to have a flutter create generated target for app clips in the future if the engine keeps getting smaller and apple keeps moving in the app clip direction.

So the existing documentation on the flutter.dev site is here and may need an update if it turns out we can fit into 15MB?
https://developer.apple.com/documentation/app_clips/choosing_the_right_functionality_for_your_app_clip

So the existing documentation on the flutter.dev site is here and may need an update if it turns out we can fit into 15MB?

Yes, that's correct, the note should be updated. https://docs.flutter.dev/development/platform-integration/ios/ios-app-clip
Was anyone able to submit Flutter App Clips to the Store with iOS 16?

And if so how specifically did you satisfy this requirement?  Did you make the app clip target minimum version iOS 16?

If you make your App Clip available on devices running iOS 16 and later, the uncompressed App Clip binary can be up to 15 MB in size.

I just tried to build an empty AppClip with Flutter and got around 14.9 MB, leaving little room for app code even by iOS 16 standards. I'm trying to analyse size now, but from what I can see, submitting App Clips with Flutter might not be possible yet.

Do we know where most of the size is coming from? Anything we can exclude to make it smaller?

Do we know where most of the size is coming from? Anything we can exclude to make it smaller?

It seems to me (as a flutter noob) to be the Framework itself being so large

Do we know where most of the size is coming from? Anything we can exclude to make it smaller?

It seems to me (as a flutter noob) to be the Framework itself being so large

my experiment is that, if you don't use "flutter/material", the size comes down to 12.8M

Do we know where most of the size is coming from? Anything we can exclude to make it smaller?

It seems to me (as a flutter noob) to be the Framework itself being so large

my experiment is that, if you don't use "flutter/material", the size comes down to 12.8M

That’s interesting. Could be fun to try and add basic UI icons (no material) and some basic HTTP request see how much space it requires. Then it seems r

Regarding app clip in a Flutter app, i did also struggle with the size, but what i did in the end was to develop the app clip in swiftui. It's just a separate target in xcode, separated from the Flutter code, so in that way it's possible. Now, my clients app wasn't that advanced so it went quite well with my basic knowledge of swiftui. And maybe this is the only way to ship a Flutter app with an app clip, for now.

Just an idea: What about having the actual Flutter UI on a Web Server and simply implementing a WebView in a swiftUI-App?Am 30.08.2023 um 08:49 schrieb jimad @.***>:
Regarding app clip in a Flutter app, i did also struggle with the size, but what i did in the end was to develop the app clip in swiftui. It's just a separate target in xcode, separated from the Flutter code, so in that way it's possible. Now, my clients app wasn't that advanced so it went quite well with my basic knowledge of swiftui. And maybe this is the only way to ship a Flutter app with an app clip, for now.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Just an idea: What about having the actual Flutter UI on a Web Server and simply implementing a WebView in a swiftUI-App?Am 30.08.2023 um 08:49 schrieb jimad @.>: Regarding app clip in a Flutter app, i did also struggle with the size, but what i did in the end was to develop the app clip in swiftui. It's just a separate target in xcode, separated from the Flutter code, so in that way it's possible. Now, my clients app wasn't that advanced so it went quite well with my basic knowledge of swiftui. And maybe this is the only way to ship a Flutter app with an app clip, for now. —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.>

Your Idea is great, i've tested and works. Simply add AppClip target and then add simply SwiftUI code for rendering a web page witch use flutter. If someone need it i can share the SwiftUI code.

Just an idea: What about having the actual Flutter UI on a Web Server and simply implementing a WebView in a swiftUI-App?Am 30.08.2023 um 08:49 schrieb jimad @.>: Regarding app clip in a Flutter app, i did also struggle with the size, but what i did in the end was to develop the app clip in swiftui. It's just a separate target in xcode, separated from the Flutter code, so in that way it's possible. Now, my clients app wasn't that advanced so it went quite well with my basic knowledge of swiftui. And maybe this is the only way to ship a Flutter app with an app clip, for now. —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID<EMAIL_ADDRESS>
Your Idea is great, i've tested and works. Simply add AppClip target and then add simply SwiftUI code for rendering a web page witch use flutter. I had some trouble with adding flavos (Staging and debugging bundle) but at the end i solved them. If someone need it i can share the SwiftUI code.

Even if displaying a web view works, one thing to consider is Apple's human interface guidelines regarding web view.
"Avoid using web views in your App Clip. App Clips use native components and frameworks to offer an app-quality experience. If only web components are available to you, offer a quick link to your website instead of an App Clip."
https://developer.apple.com/design/human-interface-guidelines/app-clips
If your app will be rejected due to this is hard to say, but it's good to keep this in mind.

tried to remove exclude pods from the Podfile. but its excluding those pods from Main application target as well.someone find any solution with flutter app?.  Unfortunately we can't create  new separate app clip to reduce size because its binding with application.

Targeting iOS 17 increases the limit to 15MB;
It's 50MB if triggered by digital invocations such as url (not by QR or NFC tag) Source: Apple official Video
Please update the flutter webpage describing use of iOS App Clip

If doing an App Clip with Flutter could possibly be very limited by the size, would it be possible to create a Native AppClip(iOS)/Instant App(Android) within a Flutter Project?

Yes, just implement it natively

If doing an App Clip with Flutter could possibly be very limited by the size, would it be possible to create a Native AppClip(iOS)/Instant App(Android) within a Flutter Project?

Yes, as you can see I wrote about that earlier. It's just another target in xcode, and that will use a separat prov profile. All those kind of stuff is well documented on apples dev site.

Please update the flutter webpage describing use of iOS App Clip

https://github.com/flutter/website/pull/10145

Updating the sample https://github.com/flutter/samples/pull/2162

Hey @xster, is there anything we can do to help move this forward?
Our App Clip (uncompressed, thinned) is currently at 14.9 MB (even after switching out MaterialApp for WidgetsApp). Happy to try and help to reduce Flutter engine size and overall iOS build size [with guidance]
P.S. I noticed that App Thinning doesn't seem to help much -- the IPA size for Universal variant is equal to the IPA size for all compatible variants. Is this something you've seen before, and if so, does it imply that we've misconfigured something?


Fix a typo in Tentacat.Repositories.Contributors docs

Hey guys,
Thanks for the lib. I've just noticed there is a typo in the doc, this PR fixes it.
Cheers!

Coverage remained the same at 91.722% when pulling d358a02cf63fcdd1a497f3213d9576fb0b4c7fcb on mbirman:contributors-doc-typo into def9fb9275fd6db4a125536ff36309f39febe8af on edgurgel:master.

Thank you, @mbirman !


Oob builder for messages crate

Building OOB invitation is fundamental way for anyone to get started with aries-vcx, in its current state. The first thing you ever need if you want to simulate a basic use case with aries-vcx is to create the oob invitation.
This need came up for example in:

https://github.com/hyperledger/aries-vcx/issues/870
mentorship mediator project https://github.com/nain-F49FF806/axum-test-server/tree/main/src

Currently in aries_vcx/src/handlers/out_of_band there's OutOfBandSender which is position on same level like other protocol handlers, but in fact, this is just a builder for OOB messages.
More-over, working with the OutOfBandSender is currently difficult, because it's method
pub fn append_service(mut self, service: &OobService) -> Self {

ultimately requires you to import diddoc_legacy into your project, which is not obvious.
Proposal:

There's already established consensus that builder for messages crate is necessary, and constructing message by hand is currently cumbersome.
So let's use this as opportunity to create first message builder, specifically for oob invites; also get rid of OutOfBandSender in the process

Additional note:
There's also OutOfBandReceiver - we'll get rid of that in separate step - it contains method. nonmediated_connection_exists which is being used in some NodeJS tests.

We now have builders for Messages crate, but we should yet do something about OutOfBandSender and OutOfBandReceiver


Migrate SSO to Gold Cluster

Describe the issue
We are currently using SSO on an older system that is aiming to be decommissioned next year.  PO has met with SSO team and put our prod realm forward for migration to Gold to improve our reliability (SLA).
Additional context

It's possible that realm license plate may change
It's possible the base URL might change
SSO Team board here https://app.mural.co/t/cgihumancentereddesign9508/m/cgihumancentereddesign9508/1643649054364/ae873e6319cbb99d446908417eb1c16170dd69dd?sender=ladamiaous0473

Definition of done

We need to make sure our current role and group functionality is not removed
Migrate from old to Gold cluster, hopefully without having to repoint everything to a new URL and realm

closing as duplicate


gaurun_recover failed with "device token was not specified"

log is here.
[info] {"type":"accepted-push","time":"2016/08/16 01:11:34 UTC","id":10,"platform":"ios","token":"cc763874eb07992073e682ae8f67807bea7f9cddea7aff6b4ce3fce0a411c35d","message":"test","ptime":0,"error":"","content_available":true}
[error] {"type":"failed-push","time":"2016/08/16 01:12:09 UTC","id":10,"platform":"ios","token":"cc763874eb07992073e682ae8f67807bea7f9cddea7aff6b4ce3fce0a411c35d","message":"test","ptime":5,"error":"Post https://api.push.apple.com/3/device/cc763874eb07992073e682ae8f67807bea7f9cddea7aff6b4ce3fce0a411c35d: net/http: request canceled (Client.Timeout exceeded while awaiting headers)","content_available":true}

Fitst, I got following output.
2016/08/16 12:05:50 failed to push notification: cc763874eb07992073e682ae8f67807bea7f9cddea7aff6b4ce3fce0a411c35d ios test

To investigate this problem, I embed fmt.Print() in the error handling section. (cmd/gaurun_recover/gaurun_recover.go:l73)
Then, I got following output.
device token was not specified

Hi, @tugusuke
Thank you for the report. As we have fixed in e2a1c5f06406ed1fbf0a91cd2163fcfe387a6b3d, try in HEAD.


linear regression algorithm using python

many times brokers end up taking an unfair amount of commission whenever they are asked to evaluate a property .
i would like to evaluate the price of houses using this algorithm myself using linear regression algorithm and thus saving my hard-earned money.

Is your feature request related to a problem? Please describe.
Yes, I would like to work on this algorithm.
Describe the solution you'd like
I will add appropriate comments in the code and also properly explain the algorithm
@Kumar-laxmi Kindly assign me with this task, I will do my best .
Under SSOC'23

Sorry this algorithm has been implemented in Python


Do some Categorical Analysis

EDA the Catagoric Variables with Uni-variate Analysis method: visualized in Pie Chart (?)

Categorical Analysis has been done with Uni-variate Analysis method:
I found 2 row of data within variable of "thal" that turns out to be having null / missing value (value of 0, supposed to be only value of 1, 2, 3)


[BUG]: Can't Download HiDive Movies

Program version
5.0.0
Operating System
Windows
Type
CLI
Service
Hidive
Command used
aniDL.exe --service 'hidive' --username 'XXXXXX' --password 'XXXXXX' --partsize 40 -e 576095
Show ID
1317
Episode
1
Console Output
aniDL.exe --service 'hidive' --username 'XXXXXX' --password 'XXXXXX' --search "penguindrum"

=== Multi Downloader NX 4.7.1 ===

Search Results:
[E.576096] RE:cycle of the PENGUINDRUM MOVIE - Part 2 I Love You
[E.576095] RE:cycle of the PENGUINDRUM MOVIE - Part 1 Your Train Is the Survival Tactic
[VOD_PLAYLIST #20452] RE:cycle of the PENGUINDRUM MOVIE - Part 1 Your Train Is the Survival Tactic
[VOD_PLAYLIST #20451] RE:cycle of the PENGUINDRUM MOVIE - Part 2 I Love You
[Z.1317] RE:cycle of the PENGUINDRUM MOVIE - Part 1 Your Train Is the Survival Tactic

aniDL.exe --service 'hidive' --username 'XXXXXX' --password 'XXXXXX' --partsize 40 -e 576095

=== Multi Downloader NX 5.0.0 ===

node:internal/process/task_queues:95
    runMicrotasks();
    ^

TypeError: Cannot set properties of undefined (setting 'episodeNumber')
    at Hidive.<anonymous> (C:\snapshot\multi-downloader-nx\lib\hidive.js)
    at Generator.next (<anonymous>)
    at fulfilled (C:\snapshot\multi-downloader-nx\lib\hidive.js)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.18.2

Additional Information
The GUI and CLI both fail to process HiDive content without actual episode numbers. The search function works and reveals the content (movies) however the downloader fails to download when the listed episode is specified. The error implies that there's an issue when the "episode" doesn't have an episode number associated with it.

See #672, this is already fixed in the latest commit, a new build just hasn't been made yet. You can build yourself in the meantime if you want, I've just been occupied with another project the last week or so

Awesome! Thank you! I only looked through open issues so I missed that one.

Built the new version and it fixes this issue. Thanks again! This software is amazing!


idea: allowing the query and options args to be reactive.

For example,
const [query, setQuery] = createSignal(makeQuery(...args))
const data = createQuery(query, options)

createEffect(() => {
  console.log(data())
})

// later
// disposes the previous query internally, makes a new one with the new query document.
// the effect will re-run with the new result eventually
setQuery(makeQuery(...otherArgs))

One reason for this is I find it too cumbersome to write query variables. So this is much easier in various cases:
function makeQuery(foo: string, bar: string) {
  return gql`
    query SomeQuery {
      someStuff("${foo}", ${bar}) {
        foo
      }
    }
  `
}

Written that way it is less ergonomic.
The desired effect can be achieve with a memo wrapper actually (although it requires double calling):
const [query, setQuery] = createSignal(makeQuery(...args))
const [options, setOptions] = createSignal(initialOptions)
const data = createMemo(() => createQuery(query(), options()))

createEffect(() => {
  console.log(data()()) // double call
})

// later
// disposes the previous query, makes a new one with the new query.
// the effect will re-run with the new result eventually
setQuery(makeQuery(...otherArgs))


⚠ Mobitopup has degraded performance

In 9ed3817, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 8100 ms

Resolved: Mobitopup performance has improved in 888b9a5.


cleanup json type

Also this file has no copyright. Please port this change into client project or log an issue.

closed since @birdstorm takes over.


Post a sample of records with location 'f'

[ ] configure the sandbox to include location f

[ ] use the Alma API to post these records.

We will have to map the location 'f' to a different location in Alma since we cant configure our locations.

Is this done? Was this task intending to answer a specific question?


⚠ SceneTime has degraded performance

In 353aafd, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 13619 ms

Resolved: SceneTime performance has improved in dd0120e.


Migrates clock app to edge app

To Do

Test edge app with real response from screenly.js
Ignore screenly.js used for testing

Closing this - Clock edge app will be a part of the playground: https://github.com/Screenly/playground/pull/66


Pre-industrial experiment run time

The pre-industrial configuration currently sets the run time to 1 month, which was helpful for testing it. The historical configuration will require a 1 year runtime, due to the land use being updated at the end of each year. Checking here whether we'd like to increase the pre-industrial default run time to a year just for consistency before the release?

Closed by PR #30 merge.


Windows version

Hello :)
I compiled the library, and I use the manual map injection method.
In windows 10 everything works fine, but on windows 7 and 8 my program does not work, error "Failed to create activation context".
I tried xenos, and it works fine on windows 7, 8 and 10
How do I make compatibility with other versions of Windows?
OS: Windows 10
SDK: 10.0.15063.0
Visual Studio 2017 (v141)
Code:
void inject(DWORD pID, std::wstring dll) {
	NTSTATUS status = ERROR_SUCCESS;
	Process myProcess;

	status = myProcess.Attach(pID);
	if (!NT_SUCCESS(status))
	{
		std::cout << "Failed process access" << std::endl;
	}

	blackbone::call_result_t<blackbone::ModuleDataPtr> mod = nullptr;

	mod = myProcess.mmap().MapImage(dll);
	if (!mod)
	{
		std::cout << "Failed to Inject" << std::endl;
		myProcess.Detach();
		return;
	}
	myProcess.Detach();

	std::cout << "SUCCESS INJECT" << std::endl;
}

What is your win7 version? Is that x86 or x64 TestApp and dll?

My windows 7, 8 and 10 is 64 bit
TestApp, dll and injection process is 32 bit


Is Expandable notification supported in firebase messaging(notification) in flutter?

If the text content is more than 1 or 2 lines it gets cropped out and the notification can not be expanded. It can be done easily in android but I don't know how to do it in flutter.
I've attatched a image about what i want.

Hi. You find and answer?
I can't find anything about it is supported. Thanks


--file has no effect

Describe the bug
--file flag has no effect when running analyze.
CodeChecker version
6.23.1
To Reproduce
Steps to reproduce the behaviour:

git clone https://github.com/tolikzinovyev/codechecker
cd codechecker
bazel build //...
bazel run @hedron_compile_commands//:refresh_all to generate compile_commands.json
~/.local/bin/CodeChecker analyze compile_commands.json -o ./report --analyzers clang-tidy --clean --file a.cc

Expected behaviour
Only a.cc is analyzed.
Desktop (please complete the following information)

OS: Arch Linux
Browser: not applicable
Version: rolling

Additional context

The --file flag must match the absolute path of files. Could you try this command?
~/.local/bin/CodeChecker analyze compile_commands.json -o ./report --analyzers clang-tidy --clean --file '*/a.cc'

It still analyzes both files.
[INFO 2024-03-11 20:46] - [1/2] clang-tidy analyzed a.cc successfully.
[INFO 2024-03-11 20:46] - [1/2] clang-tidy analyzed b.cc successfully.


Python 3.8 support

Only a little syntax warning needed to be fixed.
Testing 3.7 and 3.8 in Travis-CI. Added 3.8 to the list of supported versions in the classifiers in setup.py.

/morph test

/morph test


Error: SQLITE_ERROR: no such table: count

After cloning the repository and running it on my local machine, i get the following error:
$git clone [...] && cd ...
$yarn
$yarn watch
....
backend error { Error: SQLITE_ERROR: no such table: count
    at Error (native)
....

@hems You forgot yarn seed before yarn watch

thanks!


[FEATURE] .issue

Command to easily call an issue from a repository and receive the link in the channel you invoked it in.
!issue 42 - Call issue 42 from Seasonal Bot
!issue 42 meta - Call issue 42 from Meta
List the changes required for the implementation here.

[ ] Write the bot command
[ ] If no repository stated then default to SeasonalBot
[ ] If issue doesn't exist then make it return an error message

I can handle this once accepted. Please let me know.

Go for it.

Will be merged by https://github.com/python-discord/seasonalbot/pull/234


soft teacher

What's the feature?
Hello, I see that you have added the soft teacher model to mmdet3. x, and I wonder if you have ever tried to train soft teacher model based on full coco dataset(coco_train_2017 and coco_unlabeled data). The source code requires 8 gpus to train 720k iters, which is too strict for individual users.
Any other context?
No response

Actually, we don't train soft teacher model based on full coco dataset. Because we found that there exits a large room for hyperparameters optimization and we are doing some researsh on the semi-supervised object detection.  In the near future, we will provide a general semi-supervised object detection framework that is suitable for most detection models and provide some high-precision semi-supervised pre-training models for users to download.


Cherry-pick #3898 and #3886 from feature/token-experiment to master

Cherry-pick #3898 and #3886 from feature/token-experiment to master

/azp run

/azp run


Update README.md

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks for the PR - the buttons should be rendering now.


Add favicon to output

To complement the new styling in v0.40 it would be great if a favicon.ico was also included in the output.

@tmcw - fancy taking a shot at this?


Minor grammar correction; use possessive its.

No code changes, just a minor nit with README.md.

Thanks!


Cancel button on add expense page

Would it be possible to add a "Cancel" button at the bottom the add expense page that takes you to the page you were previously? Instead of having to click to another tab then back to "expense" tab to cancel?

Would it be possible to add a "Cancel" button at the bottom the add expense page that takes you to the page you were previously? Instead of having to click to another tab then back to "expense" tab to cancel?

You can also click the name of the group to get back to the expense list 😄
But yeah, I also found this mildly confusing before I figured that out, so I do think it's a nice suggestion!


Fix GridInterface multi-dimensional groupby

As @basnijholt originally reported there was an issue for multi-dimensional groupbys in the GridInterface. This PR fixes the bug and adds a unit test.

Made one comment about cartesian_product. Otherwise looks good and I am happy to merge once the tests pass.

Ready to merge.


keyboard cannot input 'e' and 'r' letter in editor.

Issue Type
Bug
Description
like this feedback page, it's okay but I cannot input 'e' and 'r' letter in editor.
VS Code Info
VS Code version: Code 1.20.1 (f88bbf9137d24d36d968ea6b2911786bfe103002, 2018-02-13T15:31:21.019Z)
OS version: Linux x64 4.13.0-1011-azure

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz (4 x 2294)

Load (avg)
1, 1, 0

Memory (System)
15.64GB (12.30GB free)

Process Argv
/usr/share/code/code --unity-launch

Screen Reader
no

VM
0%

Extensions (3)

Extension
Author (truncated)
Version

rails-snippets
Hri
1.0.8

vsliveshare
ms-
0.3.335

Ruby
reb
0.18.0

Reproduces only with extensions

@dwap392 Can you search for e and r in the keybindings editor (ctrl+k ctrl+s) and see if there are bindings to them?


Mouse Button Support

The Motivation
Easier selection for people with extra mouse keys.
The Solution
A 3th or 4th mouse button can be set as shortcut. When keeping pressed, you can select stuff like you can with the left mouse key.
The Alternatives
Using a key mapper. That would have the disadvantage, that you have to release the extra mouse key and then press down the left.

Hi there! Thanks for the suggestion but sadly binding something globally to mouse buttons is impossible on Wayland. However, as you said, there are some workarounds. I listed some ideas here: https://github.com/Schneegans/Fly-Pie/issues/221#issuecomment-1092088979
If you map the mouse button to something like Ctrl +1, you will not need to switch mouse buttons. The turbo-mode also works if a modifier button like Ctrl is pressed instead of the left mouse button!

It works, but for some reason its very laggy.


Fixed fs::ReadDir: Implement PinnedDrop

Implement PinnedDrop to poll future stored internally, otherwise it would drop the internal request ids too early, causing read task to fail when they should not fail.
Signed-off-by: Jiahao XU<EMAIL_ADDRESS>

Since I have rebased the PR, I need your approval again @silver-ymz

Oh the problem seems to be my commit was not signed, not approval.


Devise a mechanism for determining whether a file already exists at a destination.

We've talked here and there about how to minimize unnecessary data transfers, and discussed the merits and drawbacks of various approaches. In particular, I'm not crazy about using a log to figure out where a file should or shouldn't be--I'd rather ask the source of truth itself!
In this connection, I'm considering an additional endpoint for the Database specification that searches for files by their MD5 checksums specifically, instead of using search queries. This endpoint would accept an array of checksums and return their corresponding file IDs (or null in the case that they aren't found).
Obviously this is a very complicated problem to solve, and the above approach doesn't begin to handle all of the nastiness to do with files that have been transferred but don't yet have IDs, etc. But I think it would at least give us a solid point of departure. I think I can probably stand up a JDP file checksum search endpoint that uses JAMO.

JAMO does maintain an md5sum field in its records, but it's hard to know how many records have this populated. Also, it's not an indexed field, which produces pretty terrible performance for queries that select records related to it. I've had no luck getting results from JAMO queries that reference known md5 checksums. So unless I'm overlooking something, it doesn't look like JAMO can provide this capability.
The JAMO documentation says that it's possible to ask the team to add another index. That's an option to explore as this becomes more important.

Good news here--Chris Beecroft told me he would add md5 checksums to the set of indexed JAMO fields along with some others requested by the JDP team. So it looks like we'll be able to work with the JDP team to add an endpoint that supports querying files by md5 checksum soon.


changing the way we check for media object field: comments to cover c…

changing the way we check for media object field: comments to cover cases where the instagram scope doesnt give back comments.data because of scope-access limitation (as sandbox mode) to have Media object still generated with other useful information instead of crushing

1 fix: comments.data in get_recent_media was crashing when no comment field provided by the server
2 fix: bind_method create_media_comment need to give back a response instead of 'empty' response type for storing it locally


How hard is it to add an email client?

So that the email is sent automagically without needing to pop up your own email client.
Then also it would come from a potentially trusted email?
Want to know if there is some simple JS plugin for this or if that would require a literal running server at all times.

For my personal website I just used a serverless function (which e.g. Netlify or Vercel supports) and the Sendgrid API (but any other mail sending service will do too). Need to think about how we want to deploy the app and sync with the Marcomms team what email services they're using.


feat!: 2.1 Components

Implementing the 2.1 components seen in this abstract component graph:

Orbs will not be included with this PR

Implements #60, #61, and #60

Pretty please.

Intentionally leaving the tests as they are. Ready to be merged into main.


Creating custom dataset for Semantic Segmentation using CityScape format

I have a custom set of images that I want to manually generate labels for. How do I label the dataset in a way I can use the pretrained cityscape models here and fine tune it by training on those manually labelled images. I only have 2 classes I want it to detect for now (If there is a way to automate it, a link to such a resource would be greatly appreciated)

Will use lableme


the evaluation metric of segmentation task

Hello,
In order to compare ocnn's performance with others,the evaluation metric is the intersection over union(IoU) of the part class,why don't you use the training accuracy and test accuracy directly?
By the way, could you tell me what's the training accuracy and test accuracy roughly?,I run the converted dataset (02691156),and my training accuracy is 0.91.
And, Is the code for solving IoU just use compared paper's?
Thank you!

@chengchengxuxu,
I'm also working on this task. Can I talk to you for a moment?  I'd appreciate it if you could QQ:2232661644


vsedit closing with Release r9_mod_v4

Using
# Imports
import vapoursynth as vs
# getting Vapoursynth core
core = vs.core
# Loading Plugins
core.std.LoadPlugin(path="i:/Hybrid/64bit/vsfilters/MiscFilter/MiscFilters/MiscFilters.dll")
core.std.LoadPlugin(path="i:/Hybrid/64bit/vsfilters/FrameFilter/RIFE/librife.dll")
core.std.LoadPlugin(path="i:/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# source: 'G:\TestClips&Co\files\test.avi'
# current color space: YUV420P8, bit depth: 8, resolution: 640x352, fps: 25, color matrix: 470bg, yuv luminance scale: limited, scanorder: progressive
# Loading G:\TestClips&Co\files\test.avi using LWLibavSource
clip = core.lsmas.LWLibavSource(source="G:/TestClips&Co/files/test.avi", format="YUV420P8", stream_index=0, cache=0, fpsnum=25, prefer_hw=0)
# Setting detected color matrix (470bg).
clip = core.std.SetFrameProps(clip, _Matrix=5)
# Setting color transfer info, when it is not set
clip = clip if not core.text.FrameProps(clip,'_Transfer') else core.std.SetFrameProps(clip, _Transfer=5)
# Setting color primaries info, when it is not set
clip = clip if not core.text.FrameProps(clip,'_Primaries') else core.std.SetFrameProps(clip, _Primaries=5)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# making sure frame rate is set to 25
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=0)
clip = core.misc.SCDetect(clip=clip,threshold=0.300)
# adjusting color space from YUV420P8 to RGBS for vsRIFE
clip = core.resize.Bicubic(clip=clip, format=vs.RGBS, matrix_in_s="470bg", range_s="limited")
# adjusting frame count&rate with RIFE, target fps: 60fps
#clip = core.rife.RIFE(clip, model=22, fps_num=60, fps_den=1, sc=True) # new fps: 60
# adjusting output color from: RGBS to YUV420P8 for x264Model
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, matrix_s="470bg", range_s="limited", dither_type="error_diffusion")
# set output frame rate to 60fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=60, fpsden=1)
# Output
clip.set_output()

with the new Release r9_mod_v4 causes all editors I tried:
https://github.com/YomikoR/VapourSynth-Editor
https://github.com/Selur/vsViewer
https://github.com/AmusementClub/VapourSynth-Editor
to simply crash. (they simply close, no error message)
Using;
VSPipe.exe c:\Users\Selur\Desktop\test_2.vpy -c y4m - | i:\Hybrid\64bit\x264.exe --demuxer y4m -o g:\Output\script.mkv
works fine.
With Release r9_mod_v3 the viewers work fine.
=> Any idea what might cause all the viewers I tried to crash?
I'm on Windows 11, with a Geforce RTX 4080 with v528.49 Studio drivers.

yay -S vulkan-devel ffms2 vapoursynth vapoursynth-editor
import vapoursynth as vs
core = vs.core
core.std.LoadPlugin(path="/home/user/Schreibtisch/librife.so")
clip = core.ffms2.Source(source="/home/user/Schreibtisch/a.mp4", cache=False)

clip = vs.core.resize.Bicubic(clip, format=vs.RGBS, matrix_in_s="709")
clip = core.rife.RIFE(
    clip,
    model=21,
    factor_num=2,
    gpu_id=0,
    gpu_thread=4,
    tta=False,
    uhd=False,
    skip=False,
    sc=False,
)
clip = vs.core.resize.Bicubic(clip, format=vs.YUV420P8, matrix_s="709")
clip.set_output()

Speicherzugriffsfehler (Speicherabzug geschrieben)
I thought I can just update ncnn submodules and I thought it is fine since it compiled. :/ I didn't even have time to test it to be honest. After some recompiling, my conclusion is that ncnn is broken with this commit https://github.com/Tencent/ncnn/commit/1f1981052c6650408d947a4d9ba29407605cb457.  https://github.com/Tencent/ncnn/commit/9cc6eb1942149be8b19bc5b703a6886c09acbb0a works fine.
Recompiling with opt_var.add_cmake_defines({'WITH_LAYER_gemm': true}) seems to work. I did not expect them to straight up break ncnn. Works on Manjaro with VapourSynth Editor from aur now. New release soon.

Try again, updated release.

Updated Release r9_mod_v4 works fine. Thanks for looking into it. :)


Podman hangs after 'logout' in container with FUSE mount

Reported via IRC:
Podman will hang after 'logout' is run in a container that has a mounted FUSE filesystem. Exec will fail with exec failed: container_linux.go:348: starting container process caused "process_linux.go:86: executing setns process caused \"exit status 21\". Podman attach will not retrieve any output, though you can still type into the container's console.
Reproduce with:

Launch podman with pkexec podman run -it --priviledged=true --device=/dev/sdd1 --device=/dev/fuse debian su - (will probably need to modify the device line - maybe a loopback with a FUSE fs on it?)
In the container, run apt-get update; apt-get install exfat-fuse"; mount command: "cd /media; mkdir test; mount /dev/sdd1 test (again, device will likely not be /dev/sdd1 if you want to reproduce)
In the container, run logout

I suspect that a FUSE mount isn't actually necessary to reproduce this, and any mount will be sufficient, but I haven't verified that yet.

Correction, just using ordinary mounts doesn't seem to trigger this - logout causes the container to exit, and you can exec into the container and remove it with rm -f without issue (even with the mount not being unmounted before exiting)

@rhatdan Potentially - the container is privileged, but this could be a more general selinux issue.

The mount should be cleaned up since the mount namespace went away.

@mheon Do we still have this issue?

Closing. Feel free to re-open if the issue is still present or reoccurs.


Infinite Loop with Docker / npm -g install @angular/cli

Bug Report or Feature Request (mark with an x)
- [ x] bug report -> please search issues before submitting
- [ ] feature request

Versions.
Node v8.3.0
NPM v5.3.0
OS: Docker buildpack-deps:jessie
Repro steps.
docker build
The log given by the failure.
RUN npm install -g @angular/cli

...removed...

><EMAIL_ADDRESS>postinstall /usr/local/lib/node_modules/@angular/cli/node_modules/node-sass
> node scripts/build.js

Building: /usr/local/bin/node<EMAIL_ADDRESS>rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ '/usr/local/bin/node',
gyp verb cli<EMAIL_ADDRESS>gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library=' ]
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| linux | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /usr/bin/python2
gyp verb check python version `/usr/bin/python2 -c "import platform; print(platform.python_version());"` returned: "2.7.9\n"
gyp verb get node dir no --target version specified, falling back to host node version: 8.3.0
gyp verb command install [ '8.3.0' ]
gyp verb install input version string "8.3.0"
gyp verb install installing version: 8.3.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp WARN EACCES user "undefined" does not have permission to access the dev dir "/root/.node-gyp/8.3.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir<EMAIL_ADDRESS>gyp verb tmpdir == cwd automatically will remove dev files after to save disk space
gyp verb command install [ '8.3.0' ]
gyp verb install input version string "8.3.0"
gyp verb install installing version: 8.3.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version not already installed, continuing with install 8.3.0
gyp verb ensuring nodedir is created<EMAIL_ADDRESS>gyp WARN EACCES user "nobody" does not have permission to access the dev dir<EMAIL_ADDRESS>gyp WARN EACCES attempting to reinstall using temporary dev dir<EMAIL_ADDRESS>gyp verb tmpdir == cwd automatically will remove dev files after to save disk space
gyp verb command install [ '8.3.0' ]
gyp verb install input version string "8.3.0"

...repeating infinitely...
Note RUN npm install -g node-gyp seems to work fine.
Desired functionality.
Installs properly
Mention any other details that might be useful.
N/A

Having same issue.

I am also having the same issue.

workaround is here: https://github.com/nodejs/node-gyp/issues/1236#issuecomment-309447800

Okay the nodejs/node-gyp#1236 trick/workaround seems to fix it:
USER node
RUN mkdir /home/node/.npm-global
ENV PATH=/home/node/.npm-global/bin:$PATH
ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
RUN npm install -g @angular/cli

Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 8.x
Found bindings for the following environments:

Linux 64-bit with Node.js 7.x

when I am running when I try to launch ng tests using PhantomJS I get the above error?  anyone able to shed some light on why?  or how I can resolve it

Same here. What I don't get is why there's no problem of user when using node 7.9.0.
For now, i'm keeping node 7.9.0.

Same here!

Same here, and I'm not using Docker on this project, its only installed on my machine.

I see that this thread is now closed. Has there been an actual fix or is everyone still just using the --unsafe command? I got a similar error when installing today. The unsafe command fixed the infinite loop issue for me as well.

Actually, if you just control c out of the loop, you'll see that angular cli is installed.

Still getting this in March 2018:
FROM node:8.0
RUN npm install -g @angular/cli

This spins into an infinite loop when in gets to the gyp build part.
Using @PhilThurston's --unsafe option helped me.
Why is this still a problem?

Tried installing this with the latest Node docker image.  Received the loop because it didn't want to install as root.  Use the node user, but I didn't have write permissions to where I wanted to install.  Tried --unsafe with success.

npm_config_user=root npm install -g ...

works for me


Fix upstream deprecation: change np.alltrue to np.array_equiv

Description
Resolve:
napari/layers/labels/_tests/test_labels.py: 7 warnings
napari/_vispy/_tests/test_vispy_labels_polygon_overlay.py: 8 warnings
  /tmp/.tox/py310-linux-pyqt5-no_cov/lib/python3.10/site-packages/_pytest/python.py:194: DeprecationWarning: `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
    result = testfunction(**testargs)

Most of these can be updated to np.array_equiv(a, b) when b is not an array. np.assert_array_equal otherwise.

sigh I forgot about that whole thing @Carreau 😅 thanks for pointing it out. @Czaki wanna update them accordingly?

We could have a custom test using https://pypi.org/project/astsearch/ that prevent any np.all(??==??), or maybe there is a way to add that to ruff/pyflake ?
Currently there seem to be a single line remaining:
./napari/_tests/test_dtypes.py:39:12:    assert np.all(viewer.layers[1].data == data)

I like such a rule. To add a rule to ruff there is a required contribution. I have the plan to learn rust to be able to contribute to ruff, but not have such time now.

I think we might be able to use a tool like semgrep (https://github.com/returntocorp/semgrep ?) as well.

@Czaki you missed a couple of ==s, so I pushed a quick fix.

This got the "Ready-to-merge" label 2 days ago and got no objections. Merging to move the queue forward.
Thanks.


tls config extension for redis

Supported:

client certificates,
serverName
insecure

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.wolf510 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@davidzhao can you please review this pr?

@paulwe can you review? please..


Sorting not working on using 'Template', 'Flex', on using flex for column, resizing is an issue

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here

Current behavior

Expected behavior

Reproduction of the problem

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Table version: 7.3.0

Angular version: 4.0.2

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Language: [all | TypeScript X.X | ES6/7 | ES5]

I have tried all the possible solutions mentioned in previous issues, hence no luck.
Plus, the performance of the table is also an big issue.
Please suggest some approach or an fix?

Can you add a demo? or code?

Make sure you put let-sort="sortFn" in your ng-template and make sure to encapsulate your content in a class with a span  Your Content here
This was the case for me. Here's a full code example of my column template:
<ngx-datatable-column name="Description">                    <ng-template let-column="column" let-sort="sortFn" ngx-datatable-header-template>                    Your Content HereBeschrijving                   </ng-template>                 </ngx-datatable-column>

I have  a similar  issue, the sort works but no sort (asc/desc) icons and I get the text cursor instead of  the pointer
here is my code
<ng-template let-column="column" let-sort="sortFn" ngx-datatable-header-template>
      {{column.name}}
      <input type="text" (keyup)="onGridFilter($event, column)" class="form-control">
</ng-template>

Thanks,
solved sorting issue by removing header-cell template, i was using multiple column templates.
performance also got enhanced on doing so.

'flex' for column, resizing the column has no effect on the table only table header gets resized not the rows.

Still an issue in latest release 9.3.0.

Check demo - http://swimlane.github.io/ngx-datatable/#flex
Column resizing has no effect on rows.

Is there any work around to fix column resizing issue for columnmode 'flex'?

columnmode 'flex' should really fallback to force upon resize at the very least.
https://github.com/swimlane/ngx-datatable/blob/d86ee5443b937ed439258f1ebaa884dd88876b9b/src/components/datatable.component.ts#L920
// Check if columnMode is flex and fallback to force
// Fixes issue #681
if (this.columnMode === ColumnMode.flex) {
    this.columnMode = ColumnMode.force;
}
c.width = newValue;

I can submit a pull request if that fallback policy is suitable.

Any updates about colomnMode flex and resize columns? For me the approach proposed by @wizarrc is absolutely suitable.

Any updates on the sorting for a custom Template?  I found if I add a font-awesome icon as the content to a sort-btn class it will work, but I don't want a sort for all tables. Adding sortable:false does not change this.

Removing ngx-datatable-header also worked for me. Thx chintan11192

@mikevandonselaar
I am trying to sort a column externally with ngx-template but getting error - ERROR TypeError: Converting circular structure to JSON. Below is my code for column-
<ngx-datatable-column scope="col" style="width: 10%" name="Program ID" prop="programId"
                                              [draggable] = "false" [resizeable]= "false">

                            <ng-template let-column="column" let-sort="sortFn" let-sortDir="sortDir" ngx-datatable-header-template>

                                        {{column.name}}

                            </ng-template>
                        </ngx-datatable-column>

Could you please help to resolve the issue.

@mikevandonselaar
I am trying to sort a column externally with ngx-template but getting error - ERROR TypeError: Converting circular structure to JSON. Below is my code for column-
<ngx-datatable-column scope="col" style="width: 10%" name="Program ID" prop="programId"
                                              [draggable] = "false" [resizeable]= "false">

                            <ng-template let-column="column" let-sort="sortFn" let-sortDir="sortDir" ngx-datatable-header-template>

                                        {{column.name}}

                            </ng-template>
                        </ngx-datatable-column>

Could you please help to resolve the issue.

@ahsanahmad22 I'm not quite sure I can help you with this, since I haven't work with ngx-datatable in over a year. But I'm guessing this is an issue that is not necessarily ngx-datatable related (https://stackoverflow.com/questions/11616630/json-stringify-avoid-typeerror-converting-circular-structure-to-json/11616993).
I'm guessing it has something to do with either the {{column.name}} in your template or the name="Program ID" in your column template.
I'm sorry I can't help you any further

Thanks for your reply
I really appreciate it

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.


Readme content of Azure Key Vault Secrets is unclear and inconsistencey

1
Section Link

Comments: Correct it as secret
2
Section Link

Comments: This link goes to Azure Identity Readme, But I think it should go to DefaultAzureCredential section directly.
3
Section Link

Comments: Correct it as Install the Azure Key Vault Secrets client library for .NET with NuGet:
4
Section Link

Comments: Consider to remove 'provider' word. TokenCredential isn't inherit from a Provider Interface. Remove provider might more accurate
5
Section Link

Comments: Inconsistency between "Azure Key Vault" and "Key Vault". Consider using "Azure Key Vault" in all .md files?

I agree with suggestions.  Please do a PR.  Thank you.  @tzhanl

Created a new PR #11267 to address this issue.


File Modes Getting Lost In Software Templates

Expected Behavior
Consider the following repo state:
$ stat -f %A test.sh
755

and the following template
apiVersion: backstage.io/v1beta2
kind: Template
metadata:
  name: bug-report
  title: bug-report
  description: Add bug report
spec:
  owner: test
  type: test

  steps:
    - id: fetch-repo
      name: Fetch repo
      action: fetch:plain
      input:
        url: 'https://github.com/asummers/backstage/tree/master'

    - id: publish
      name: Publish
      action: publish:github:pull-request
      input:
        repoUrl: 'github.com?owner=asummers&repo=backstage'
        title: 'This PR has different file permissions'
        branchName: 'script-perms'
        description: |
          This is a bug

  output:
    links:
      - url: '{{steps.publish.output.remoteUrl}}'
        text: 'Go to PR'

As I am pulling and pushing to same repo, this should result in no changes to the asummers/backstage repo whatsoever.
Current Behavior
What seems to be happening is +x (and possibly other) are being dropped along the way.

Possible Solution
Pass along file modes faithfully.
Steps to Reproduce
See ## Current behavior
Context
This makes using software templates extremely arduous in repos with scripts with manual correction to files.
Your Environment

NodeJS Version (v12): v14
Operating System and Version (e.g. Ubuntu 14.04): OSX, Ubuntu 18.04
Browser Information: N/A

I suspect that this is a dupe of #7021

Possibly, but this template seems to use fetch:plain rather than fetch:template so there might be another bug.

@asummers could you verify if this was fixed for you as mentioned above?

Seems to be! Thanks.

My testing was not sufficient and this is still an issue.

Never mind, we didn't bump the plugin properly.


Travis build status are not reported in Github

We used to have travis build status reported on the branch/commit that were pushed to Github. Same was true for pull-request. Now, It is not working anymore. Looks like the build is done but reporting back to github doesn't happen
@jeeyi Looks like I don't have full access to travis anymore. Could you have a look please?

It works for me.

Check your settings and check if Travis CI has access to your account. Settings -> Applications -> Authorized OAuth Apps:

seems to show up for me this morning too. Thanks for "the fix" :D
I've read on google that some people had intermittent issue like this... closing for now.

@jeeyi this is happening again. One thing I don't remember exactly also is how the initial setup was done. I think we use the "pro" travis but in your screenshot there is both "Travis CI/pro" and "Travis CI for Open Source". As far as I remember one is on travis-ci.org and the other one is on travis-ci.com. When I go to travis-ci.com i don't see anything anymore which i guess make sense since I"m not in the Box organization anymore. I see the build in travis-ci.org, things are built it is just github that is not updated

Setup Github action to build and run the test. It seems to have bring back the report for travis too. Will keep both for now


don't destroy user's input if it was invalid

Closes #575
Signed-off-by: Tycho Andersen<EMAIL_ADDRESS>

make i18n please


Fix wl_output_transform rotation direction, and composition

See https://gitlab.freedesktop.org/wayland/weston/issues/99 for motivation. I also found and fixed a small issue in wlr_output_transform_compose when composing transforms with flips and rotations.
This change breaks forward compatibility for past versions of wlroots; for example, upgrading wlroots with a corresponding patch, without upgrading sway, could change monitor orientations for anyone using sway's https://github.com/swaywm/sway/blob/master/sway/commands/output/transform.c .
I have tested these changes using ~the wlroots example rotation compositor~ and swaymsg output eDP-1 transform flipped-90 clockwise, and by patching an image display program to call wl_surface::set_buffer_transform() with a given value.

Breaking change: output transformations have been aligned with the Wayland protocol's definition

Thanks!


ESP32 reconnect multiple times per second

Hi,
I use a simple code to light on/off a led on my Lolin D32 with MQTT.
I only use the subscribe functionality.
After some loop (5-6 so multiple times per sec), the client reconnect to MQTT broker. I try to change keepalive without success.
After a while the Lolin D32 seems unresponsive.
I use almost the same code (I only change wifi lib) on my Weemos D1 mini (ESP8266) without this issue.

Sorry. I'm retarded.
Didn't notice the clientID should be unique on mqtt broker.
When I copy my esp8266 code, i keep the same clientID.


Added missing link to Eclipse Sign-In Instructions

Please verify and confirm.
Thanks!

Link has been updated and verified. Closing.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/eclipse/azure-toolkit-for-eclipse-create-hello-world-web-app.md
:white_check_mark:Succeeded
View (azure-java-stable) View (azure-java-preview) View (azure-java-legacy)

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.