feat: add depth option to getKeys

Adds a new depth option to the getKeys signature.
Also implements that option in the following drivers:

fs
fs-lite
azure-storage-blob

Fixes #539
Let me know if this is the kind of implementation you had in mind @pi0
While I was wandering around the fs code, I did also get somewhat confused by base in getKeys(base). It is probably me misunderstanding, but if I do getKeys("subdir"), I assumed I'd get all the files in {root}/subdir and below. However, it seems the current impl ignores base and hard codes . for traversal
Changing that to base ?? "." breaks some tests, though. it also results in some keys being dropped in the test driver/harness because it expects the keys to be {base}{key}, which isn't true in the fs driver it seems

I appreciate the PR. For the first step, we need to implement core/generic functionality

storage.get(key, { depth }
In core (storage.ts) apply the filter (so even if the driver does not natively implement depth support behavior is consistent)

Before following up with adding driver support, I am thinking of exposing a new capabilities: {} object from drivers so the core is aware of the native ability of drivers. (we were inferring this for raw methods but this one needs meta)
Also, PR welcome to improve fs/-lite drivers please consider limiting changes in PRs to the scope to make review easier 🙏🏼

so we need get to support depth just the same as getKeys?

In core (storage.ts) apply the filter (so even if the driver does not natively implement depth support behavior is consistent)

how do you suggest we do this, given not all keys will be hierarchical
do we just assume any key with / in it is hierarchical? i.e. what delimiter do we default to?

my bad i mean getKeys/keys(alias)
delimiter is normalized to : always.

I have opened #547 so will close this one, as the followups are more likely to be one-pr-per-driver (once we know how capabilities will work)


erlang-ls: add updateScript

To ensure dependencies are also updated during automatic updates

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

I tried to run it with
nix-shell maintainers/scripts/update.nix --argstr package erlang-ls
and it didn't like it so much
Going to be running update for following packages:
 - erlang-ls-0.18.0

Press Enter key to continue...

Running update for:
 - erlang-ls-0.18.0: UPDATING ...
 - erlang-ls-0.18.0: ERROR

--- SHOWING ERROR LOG FOR erlang-ls-0.18.0 ----------------------

error: undefined variable 'rebar3WithPlugins'

       at «string»:1:175:

            1| {...}@args: with import <nixpkgs> args; (pkgs.runCommandCC or pkgs.runCommand) "shell" { buildInputs = [ (common-updater-scripts) (coreutils) (git) (gnused) (gnutar) (gzip) (rebar3WithPlugins { globalPlugins = [ beamPackages.rebar3-nix ]; }) ]; } ""
             |                                                                                ^
(use '--show-trace' to show detailed location information)

--- SHOWING ERROR LOG FOR erlang-ls-0.18.0 ----------------------

perhaps there is another way to run it ?

 Can you try with export NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/archive/master.tar.gz?

weird, that was it.
I wonder what the modern "nix-command" equivalent of that command is.
I'm not used to those nixpkgs= being wrongly set.
Thank you for the PR!


How to use the default value when the option is not given

With the following code I set the option port to default 9001:
options.add_options()("p, port", "port where the server is running", cxxopts::value(), "9001");
auto result = options.parse(argc, argv);
This is fine.
How can I use the default value 9001 later.
I want to do something similar to the following:
if (result.count("port")) {
//proceed with given port
auto port = result["port"].as();
}
else{
//proceed with given default value
auto port = result["port"].as(); //will raise an error
}
How can I get the default value entered in the option definition?
Best regards
Stephan

The fourth argument where you have passed "9001" is not the default value.
You need to call default_value on the cxxopts::value object. Then that option will always be present, as in count will always return at least 1 and you use it like any other option.

Thanks a lot


Pre-compute vision encoder features

Hi,
Thanks for very useful and interesting work
I was wondering, if there is any easy way to precompute vision encoder features for training(and load them), so memory complexity issue can be solved

That's a good idea and definitely possible. I can try to support such options in the following days. Meanwhile if you'd like to implement something yourself I might be able to give some high level ideas. Let me know.

Good to hear, sure, I can work on that
Let me know the pointers(and anything to not miss), as I have less experience working with hf modules

After thinking about it the best option would be that I (and our maintainers) to implement it because there will be some model loading/unloading logics involved which are coupled with the existing logics. I'm already working on it and it should be available soon.


fix compiler error: comparison between signed and unsigned integer expressions

The compiler error is as following:
ngx_devel_kit/src/ndk_complex_value.c: In function ‘ndk_http_complex_value_array_compile’:
ngx_devel_kit/src/ndk_complex_value.c:62: error: comparison between signed and unsigned integer expressions
ngx_devel_kit/src/ndk_complex_value.c: In function ‘ndk_conf_set_http_complex_value_array_slot’:
ngx_devel_kit/src/ndk_complex_value.c:128: error: comparison between signed and unsigned integer expressions

@chobits Thanks for the patch! I'll look into this :)

Merged. Thanks!


create hookimpl by using the official pluggy API

hookimpl should not be imported but fetched via pluggy.

I just noticed that the module contains a complete copy of the tests in tox - I wonder why that is and if it is a good idea ...


HTML Title element sometimes not set

The following illustrates a resource that displays "Untitled" in the browser tab that I think comes from the HTML title element, but the resource does have a title.  This seems to occur if the Title is populated automatically from a netCDF file.

@dtarb See if this can be closed.

Looks good on Dev, I hope it propagates through to www.

Re-opening as this did not propagate through to www.

@dtarb I assume this is a resource previously existed before the fix  was made. Could write a migration script to fix it for all the old resources.

Yes.  Depending on how hard this is, it may not be worth it for old resources.  However a related issue is that this shows up as "Untitiled" in Discover, which does need fixing.  @alvacouch and @xuezhaokun could comment on whether this will still be a problem in the new Discover they are working on, but it seems that there is a basic data model problem in that the same information seems to be stored in two places, putting burden on developers to keep in sync.

The title problem in discovery page can be fixed by using resource.metadata.title in place of resource. title

Since Discover pull request #1108 under review can you please make sure this gets into the Discovery deploy

@dtarb I think I got it fixed in pull request #1108 by replacing resource.title with resource.metadata.title

@dtarb Should this be closed?

Seems to be fixed.


[XLA] Allow the tuple simplifier to operate on only subcomputations

This change optionally allows for the tuple simplifier to exclude the entry computation from its processing.

@jlebar could you take a look? Feel free to suggest another reviewer otherwise.

thanks - will do all those.  that LOG(INFO) was debug left in by mistake.

Updated

update done.  thanks :)

Does someone have to tell the CI system run run the unit tests, so that it will be merged?

@drpngx can you help us get this committed?

Sure, kicking off the tests...

Merged. Thank you for the contribution!


Black screen coming after pressed on login button

I have setup your ip messaging code in our Android Studio IDE after that created google-services.json file from google portal. When I am going to click on login button application going to stuck with black screen and found some log given below.
07-21 16:27:30.289 352-352/com.twilio.ipmessaging.demo.debug D/TwilioAccessManagerObserver(native): onTokenUpdated.
07-21 16:27:30.304 352-352/com.twilio.ipmessaging.demo.debug D/IPMessagingClient(native): Creating notification client
07-21 16:27:30.309 352-352/com.twilio.ipmessaging.demo.debug D/IPMessagingClient(native): Creating client with init strategy ChannelLists
07-21 16:27:30.329 352-658/com.twilio.ipmessaging.demo.debug D/IPMessagingClientListener(native): onClientSynchronization
07-21 16:27:30.334 352-665/com.twilio.ipmessaging.demo.debug D/IPMessagingClientListener(native): onToastSubscribed
07-21 16:27:30.359 352-658/com.twilio.ipmessaging.demo.debug E/BasicIPMessagingClient: Received onClientSynchronization callback with status STARTED
07-21 16:27:30.364 352-666/com.twilio.ipmessaging.demo.debug I/BasicIPMessagingClient: GCM registration successful
07-21 16:27:30.474 352-352/com.twilio.ipmessaging.demo.debug W/IPMessagingClient(native): Messaging lib not ready, retrying...
07-21 16:27:31.634 352-694/com.twilio.ipmessaging.demo.debug E/TwilioApplication: Received onError event. Error code: 8, text: Provided grant token is not authentic or has expired
07-21 16:27:31.644 352-695/com.twilio.ipmessaging.demo.debug E/ChannelActivity: Received onClientSynchronization callback FAILED
07-21 16:27:31.989 352-666/com.twilio.ipmessaging.demo.debug E/TwilioApplication: GCM registration not successful. Error code: 5, text: Notification exception during registration: TNException: Couldn't create registration
Please support us what is the problem behind that. You support more appreciable.
Thanks,
Ajit
Thanks,

Hello, I have the same issue. After login success,  the black screen happened when launching ChannelActivity.
Log:
08-20 17:32:18.077 E/DynamiteModule(29470): Failed to load module descriptor class: Didn't find class "com.google.android.gms.dynamite.descriptors.com.google.firebase.auth.ModuleDescriptor" on path: DexPathList[[zip file "/data/app/com.twilio.ipmessaging.demo.debug-2/base.apk"],nativeLibraryDirectories=[/data/app/com.twilio.ipmessaging.demo.debug-2/lib/arm, /vendor/lib, /system/lib]]
Thanks,
Shilry

I'm having the same issue in iOS.. were you able to get it resolved?

I was able to get this working by not using the test token from the Debugger tools, but instead generate from from my server.

Now it's working fine with Programmable Chat Android v0.11 and Programmable Chat iOS 0.16.0.

Provided grant token is not authentic or has expired

Your token was invalid or expired, how are you generating it?

Feel free to reopen this if you have further questions.

Now it's working fine.
Thanks for your support

Provided grant token is not authentic or has expired

Having this error while using react-native-twilio-chat even though the token was verified in jwt.io

I guess TwilioChatJsReactNative is the best place to report this!


RsPrint.java:101-104: Remove the #print(OutputStream)...

The puzzle 1054-0458805c from #1054 has to be resolved:
https://github.com/yegor256/takes/blob/7d155276c74a68a14c0d2b93b4205e845131dd22/src/main/java/org/takes/rs/RsPrint.java#L101-L104
The puzzle was created by Fabrício Cabral on 11-Sep-20.
Estimate: 30 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 1054-0458805c has disappeared from the source code, that's why I closed this issue.

@sereshqua/z please review this job completed by @baudoliver7/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed

@0crat quality good


Re-enable autovacuum and fix sequence naming post swap

pgosc disables autovacuum for the new table it creates  - (probably because we want to go with faster inserts ),so we need to re-enable autovacuum manually for the new fresh table.
Also, it gives some weird name to sequence and primary key which we also need to rename back/correct. In my case , there was a dependent function on that table sequence ,so that stopped working :)

Hi @shiwangini93 - We actually, do we restore storage params (autovaccum) and any other settings on a table here:
https://github.com/shayonj/pg-osc/blob/f47f7aac481b5202c17899b2f8ace7cc6bbe8cf5/lib/pg_online_schema_change/orchestrate.rb#L246
Could you share an example perhaps? Also note that, pg-osc isn't compatible with partitioned tables yet (https://github.com/shayonj/pg-osc/issues/68), so in case this is related to https://github.com/shayonj/pg-osc/issues/68, its normal in this case to not see the vaccum settings transferred.
Regarding the sequence naming, collapsing that into: https://github.com/shayonj/pg-osc/issues/20
Closing the issue for now, but please feel free to re-open in case you see any issues with autovaccum settings being not restored. Thanks


Use source maps or bundle prod build

Today we are pulling dev build of ng2 with in-lined source maps but since we don't have source maps plugins setup properly on WebPack side, those source maps are not available for end users.
So, we've got a situation where we pay a price (size) of source maps but can't benefit. We need to do one of the 2:

properly configure source maps plugin on the WebPack side, or
use prod input of ng2 for bundling

can we solve the sourcemap problem upstream on angular2? we should really have .js, .map.js and .d.ts being distributed to npm. anything else is gonna require a bunch of configuration for end users.

can we solve the sourcemap problem upstream on angular2?

by publishing prod instead of dev to the root ?

i think that's probably the best solution long term.

So, was trying to see what we can do on this repo side (till the decision is made in the main repo) with:
preLoaders: [
      {test: /\.js$/, loader: 'source-map-loader'}
]

but getting flooded with:

WARNING in ./~/rxjs/Observable.js
Cannot find source file '../../src/Observable.ts': Error: Cannot resolve 'file' or 'directory' ../../src/Observable.ts in /home/pk/work/gitrepos/gh/pkozlowski-opensource/angular2-seed/node_modules/rxjs

WARNING in ./~/rxjs/Subject.js
Cannot find source file '../../src/Subject.ts': Error: Cannot resolve 'file' or 'directory' ../../src/Subject.ts in /home/pk/work/gitrepos/gh/pkozlowski-opensource/angular2-seed/node_modules/rxjs

WARNING in ./~/rxjs/add/operator/map.js
Cannot find source file '../../../../src/add/operator/map.ts': Error: Cannot resolve 'file' or 'directory' ../../../../src/add/operator/map.ts in /home/pk/work/gitrepos/gh/pkozlowski-opensource/angular2-seed/node_modules/rxjs/add/operator

It looks like source maps might be off in the rxjs repo

Sth to be fixed on the RxJS side: https://github.com/ReactiveX/RxJS/issues/1089

Wouldn't this problem be fixed if you told the webpack config not to ignore node_modules/angular2 and if you turned on sourcemaps on the tsconfig.json for development (and also told it not to exclude all of node_modules as is the case right now)?
Then you'd get sourcemaps for the development setup, and for the production setup you could just use the same sources but turn off sourcemaps.

Hello, I was wondering if there is yet a way to shrink the vendor.bundle.js size? I added

@johnwheeler I added the source-map-loader to correctly map the inline source maps provided by angular2 which cut the vendor size in half. The build time is slower because we have to deal with the inline source maps. I also have to exclude rxjs and angular2-material until their source maps are fixed. closing for now


Display more rows per table per page

Either we want the user to make it adjustable or automatically adjust based on viewport height.

See https://leptos-use.rs/elements/use_resize_observer.html


Grid support

I can't seem to get grids to work, is there any plan to add support?

Could you please provide an example so I could reproduce your issue?

I figured it out, I was depending on an old version of d2. Sorry about that.


ux change website deployment instruction

Configurations
Few parameters are needed to be able to publish your website online

Create a github account
FORK this website template repo to your github account
Copy your forked website template URL to the vdc deployer
Select the branch you want to deploy, e.g: main
Identify which folder the codes live on your website, e,g : html
You can customize the website template on your github once deployed.
--
This is important. users have no clue how to deploy if we don't do this.

closing in favor of https://github.com/threefoldtech/js-sdk/issues/2375


The argument type 'String?' can't be assigned to the parameter type 'String' because 'String?' is nullable and 'String' isn't.       todo = jsonDecode(storage.getString('todo'));

Hey, i made a todo application.
But I get this error in the Console when I try to run the app.
Please help me.
The Error:
31:33: Error: The argument type 'String?' can't be assigned to the parameter type 'String' because 'String?' is nullable and 'String' isn't.
      todo = jsonDecode(storage.getString('todo'));
                                ^
Failed to compile application

The code:
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:green_todos_app/navbar.dart';
import 'package:green_todos_app/todo.dart';
import 'package:shared_preferences/shared_preferences.dart';

class _HomePageState extends State<HomePage> {

  Map<String, dynamic> todo = {};
  TextEditingController _controller = new TextEditingController();

  @override
  void initState() {
    _loadData();
  }

  _loadData() async {
    SharedPreferences storage = await SharedPreferences.getInstance();

    if (storage.getString('todo') != null) {
      todo = jsonDecode(storage.getString('todo'));
    }
  }

jsonDecode takes in a String(non-nullable), but the return type for storage.getString('todo) is String? (nullable), so the compiler senses a type mismatch. To get around that, you'll just have to make sure you're providing a String to jsonDecode. There are a lot of ways you can do that, but the two simplest examples would be:

Provide a default string value, like jsonDecode(storage.getString('todo') ?? '{}') (defaulting to an empty map when the method returns null)
You can also forcefully cast the result of storage.getString('todo') to a non-nullable string by adding a ! to the end of the method: jsonDecode(storage.getString('todo')!)

Just depends on how you want to handle the case where the value is null, because if that's the return type of the method, you'll probably have to deal with that case in some way

Hi @DanielRck, as pointed out above, you need to handle the null check in some way, since storage.getString('todo') can return a null value.
Any of the above suggestions should help resolve your issue.
For future reference do bear in mind that the issue tracker is for issues with flutter and its associated plugins/tools.
If you need help with your personal code, consider visiting any of the community channels in https://flutter.dev/community#community-grid.
Closing as this is not actually an issue with flutter.
Thank you

All right, I'm sorry.
But thank you very much, I'll do that tonight.

The ! was missing at the end after the bracket because I want to output it with zero.
That was the problem. Many thanks for the quick help!


Xnero: Watch sparxitsolutions.com

Xnero requests the watch of the watch_keyword sparxitsolutions\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

sparxitsolutions\.com has been seen in 1 true positive, 0 false positives, and 2 NAAs.

Approved by Spevacus in Charcoal HQ


Fail in passing kwargs into gdal in reproject with dask

Issue:
_dask_rio_reproject stopped passing **kwargs into rasterio.warp and hence gdal, which would cause problem when extra options required for gdal to be working as expected, specially the transform path between lat/lon (epsg:4326) and Australian Albers (epsg:3577). Since GDA2020 was introduced, the transform path is not unique and the default option has been changing arbitrarily when upgrade on either proj or gdal happened.
Expected behaviour:
Be able to pass **kwargs into rasterio.warp

Also resampling= argument gets lost


feat(authentication): support Firebase Emulator

Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] The changes have been tested successfully.
[x] A changeset has been created (npm run changeset).

Close #19

npm i<EMAIL_ADDRESS>


skype notification not appearing in systray

when a skype message comes in while franz is minimized to sys tray, rather than the notice dot appearing on the franz icon, i get a windows10 notification. this doesn't happen with whatsapp, which seems to notify correctly

well that's weird, i just did the test again, and this time it works. so huzzah! :)


Lots of log noise from pubsub

Anytime a page is refreshed, the socket gets an error ECONNRESET. Since pubsub uses console.log everywhere, this gets spit out into the logs. See https://github.com/FiveOFive/pubsub-ws/blob/a0ba6fd5c5c217b909a59d21fc9b3ca12a89de36/src/webSocket.ts#L25
Is it possible to pass in our own logger for better control, and perhaps suppress ECONNRESET on the socket error?

Example from logs

Implemented https://github.com/FiveOFive/pubsub-ws/blob/283a22e61fdefe6e1a7c5b85e82da7f2d7d8a791/src/logger.ts


Display Tab Indexes in VSCode

I'd like a setting to decide show tab index.
there are two reasons i need to open this pull request.
1.It's useful for vim extension use <leader>+num to switch tab pages , and this won't disturb regular users, as it is disabled by default.
2.I tried compile an oss version , but the remote-ssh Extension not support oss version.
I look forward to any feedback or suggestions for improvement. Thank you for considering.

@microsoft-github-policy-service agree

Please create an issue for this feature and link this PR. Make sure to add a detailed description which describes the use case and the problem it solves.
FYI we added custom editor labels in this months release. It allows you change the name of the open editors/tabs. The setting name is workbench.editor.customLabels.patterns. But it won't give you any info on the tab index.

Please create an issue for this feature and link this PR. Make sure to add a detailed description which describes the use case and the problem it solves.
FYI we added custom editor labels in this months release. It allows you change the name of the open editors/tabs. The setting name is workbench.editor.customLabels.patterns. But it won't give you any info on the tab index.

fixes #209533

FYI we added custom editor labels in this months release. It allows you change the name of the open editors/tabs. The setting name is workbench.editor.customLabels.patterns. But it won't give you any info on the tab index.

I like the idea of having a new variable for the tab index for custom editor labels. Maybe one that is group-relative and one that is global?

Please create an issue for this feature and link this PR. Make sure to add a detailed description which describes the use case and the problem it solves.
FYI we added custom editor labels in this months release. It allows you change the name of the open editors/tabs. The setting name is workbench.editor.customLabels.patterns. But it won't give you any info on the tab index.

It would be great if we could add it to this setting

I would disagree with making this part of the workbench.editor.customLabels.patterns setting. Custom Labels have no relation to tabs/editor groups state. I would rather add a new setting workbench.editor.showIndex or something like this. This would just prepend the index of the editor in the group to the tab. I also check if we could make it part of one of the label format settings but I don't think that would work. What do you think @ghrejoe @bpasero?

I have made the code modifications as required, specifically modifying the following:
1.Moved the settings into options.
2.Moved tab refresh to updateOptions.
3.Simplified the code using a ternary operator.
4.Renamed the setting from 'workbench.tabIndex.enabled' to 'workbench.editor.showTabIndex'.
5.Removed some irrelevant code.

Any updates?

Excuse me, how is it going now

Excuse me, how is it going now
The code is already finished, and I have also modified it according to the requirements. Then there was no further message, and I don't know what to do next either.

Excuse me, how is it going now

The code is already finished, and I have also modified it according to the requirements. Then there was no further message, and I don't know what to do next either.

@bpasero Custom Labels work solely based on the file path. It's possible that a custom label is rendered for a file which is not opened. In that case no index could be resolved.
Imagine the template ${tabIndex}: ${filename}.${extname}. If we render the custom label for a file which is not open for example in quick open ${tabIndex}``could not be resolved to a number, hence we would have to render an empty string for it and so it would display : file.txt` which is not wanted.
Also, if custom labels would use editor group information, it would probably strongly impact performance.
I wonder if we could still allow this to be customized  without using custom labels

Is this still relevant?


[Bug] SkyWalking Java Agent performance degradation after upgrading to 9.0

Search before asking

[X] I had searched in the issues and found no similar issues.

Apache SkyWalking Component
Java Agent (apache/skywalking-java)
What happened
After upgrading to SW 9.0, we've observed increasing application start-up in the production cluster.
For the same application, using two different Agent versions,

SW Agent 9.0: 2023-10-26 19:12:37.143 [main] INFO  com.wosai.middleware.Application.logStarted - Started Application in 10.733 seconds (JVM running for 21.072)
SW Agent 8.15: 2023-10-26 19:18:12.700 [main] INFO  com.wosai.middleware.Application.logStarted - Started Application in 10.538 seconds (JVM running for 16.828)

What you expected to happen
Roughly the same start-up time and CPU consumption.
How to reproduce
Run a Java application with 8 and 9.
Anything else
No response
Are you willing to submit a pull request to fix on your own?

[ ] Yes I am willing to submit a pull request on my own!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Basically I wouldn't be surprised of this, considering what was changed for 9.0.0 kernel.
It is a tradeoff to make instrumentation classes predictable, it affects booting and weave performance.

You could try the version without the change, I believe the latency will be gone.

After some investigation, I found that
.with(AgentBuilder.DescriptionStrategy.Default.POOL_FIRST);

changing this strategy leads to almost double CPU usage during the startup. What is the motivation for the change from https://github.com/apache/skywalking-java/pull/561? @kylixs

What was the value by default?

What was the value by default?

HYBRID

@lujiajing1126 The POOL_FIRST solution is to solve the retransform failure problem by obtaining the original bytecode and reprocessing it.
What is the approximate number of classes that need to be enhanced in this case? Are multiple Agents to be mounted?

@lujiajing1126 The POOL_FIRST solution is to solve the retransform failure problem by obtaining the original bytecode and reprocessing it.

I see.

Are multiple Agents to be mounted?

No.

What is the approximate number of classes that need to be enhanced in this case?

As shown in the logs, 79 in total.

@lujiajing1126 Please try this patch: https://github.com/apache/skywalking-java/pull/634

@lujiajing1126 Please try about new solution: https://github.com/apache/skywalking-java/pull/637


Execution failed for task ':app:mergeDebugAssets'.

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...
I installed the Flutter, and created an demo named 'myapp'. And when it done, I checked to root of the directory, and run 'flutter run'. And then, it throws an error and build failed. I run it on Win7, but I executed it in the same way on Mac, and it worked well.
Expected results:
The project can work well.
Actual results:
The terminal throws an error. And I got these.
PS C:\Users\admin\Desktop\myapp> flutter run
Running "flutter pub get" in myapp...                              799ms
Launching lib\main.dart on MI 9 in debug mode...
Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':app:mergeDebugAssets'.

> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

   > Could not find io.flutter:flutter_embedding_debug:1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.

     Searched in the following locations:

       - https://dl.google.com/dl/android/maven2/io/flutter/flutter_embedding_debug/1.0.0-7a8f8ca02c276dce02f8dd42a44e77
6ac03fa9bc/flutter_embedding_debug-1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.pom

       - https://jcenter.bintray.com/io/flutter/flutter_embedding_debug/1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc/f
lutter_embedding_debug-1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.pom

       - https://mirrors.cloud.tencent.com/flutter/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-7a8f8ca0
2c276dce02f8dd42a44e776ac03fa9bc/flutter_embedding_debug-1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.pom

     Required by:

         project :app

   > Could not find io.flutter:x86_debug:1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.

     Searched in the following locations:

       - https://dl.google.com/dl/android/maven2/io/flutter/x86_debug/1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc/x86
_debug-1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.pom

       - https://jcenter.bintray.com/io/flutter/x86_debug/1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc/x86_debug-1.0.0
-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.pom

       - https://mirrors.cloud.tencent.com/flutter/download.flutter.io/io/flutter/x86_debug/1.0.0-7a8f8ca02c276dce02f8dd
42a44e776ac03fa9bc/x86_debug-1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.pom

     Required by:

         project :app

   > Could not find io.flutter:x86_64_debug:1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.

     Searched in the following locations:

       - https://dl.google.com/dl/android/maven2/io/flutter/x86_64_debug/1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc/
x86_64_debug-1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.pom

       - https://jcenter.bintray.com/io/flutter/x86_64_debug/1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc/x86_64_debug
-1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.pom

       - https://mirrors.cloud.tencent.com/flutter/download.flutter.io/io/flutter/x86_64_debug/1.0.0-7a8f8ca02c276dce02f
8dd42a44e776ac03fa9bc/x86_64_debug-1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.pom

     Required by:

         project :app

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with
--scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 31s
Running Gradle task 'assembleDebug'...                             32.9s
Exception: Gradle task assembleDebug failed with exit code 1
PS C:\Users\admin\Desktop\myapp>
<details>
  <summary>Logs</summary>

<!--
      Run your application with `flutter run --verbose` and attach all the
      log output below between the lines with the backticks. If there is an
      exception, please see if the error message includes enough information
      to explain how to solve the issue.
-->

[  +77 ms] executing: [D:\src\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +203 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 5d36f2e7f5387b6c751449258ade8e4e6edf99be
[        ] executing: [D:\src\flutter/] git tag --points-at 5d36f2e7f5387b6c751449258ade8e4e6edf99be
[ +184 ms] Exit code 0 from: git tag --points-at 5d36f2e7f5387b6c751449258ade8e4e6edf99be
[        ] 1.25.0-8.3.pre
[  +40 ms] executing: [D:\src\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +169 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [D:\src\flutter/] git ls-remote --get-url origin
[ +160 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +198 ms] executing: [D:\src\flutter/] git rev-parse --abbrev-ref HEAD
[ +264 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[ +153 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +68 ms] executing: C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l
[ +179 ms] List of devices attached
<IP_ADDRESS>:21503        device product:MI 9 model:MI_9 device:MI 9 transport_id:1
[   +6 ms] C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.exe -s <IP_ADDRESS>:21503 shell getprop
[ +178 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +34 ms] "flutter run" took 483ms.
[  +17 ms] Error: No pubspec.yaml file found.
This command should be run from the root of your Flutter project.
[   +4 ms]
#0      FlutterCommand.validateCommand (package:flutter_tools/src/runner/flutter_command.dart:1251:11)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:430:19)
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1091:11)

#3      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:986:27)
       <asynchronous suspension>
       #4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
       <asynchronous suspension>
       #5      AppContext.run (package:flutter_tools/src/base/context.dart:149:12)
       <asynchronous suspension>
       #6      CommandRunner.runCommand (package:args/command_runner.dart:197:13)
       <asynchronous suspension>
       #7      FlutterCommandRunner.runCommand.<anonymous closure>
       (package:flutter_tools/src/runner/flutter_command_runner.dart:274:9)
       <asynchronous suspension>
       #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
       <asynchronous suspension>
       #9      AppContext.run (package:flutter_tools/src/base/context.dart:149:12)
       <asynchronous suspension>
       #10     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:230:5)
       <asynchronous suspension>
       #11     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:63:9)
       <asynchronous suspension>
       #12     run.<anonymous closure> (package:flutter_tools/runner.dart:61:12)
       <asynchronous suspension>
       #13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
       <asynchronous suspension>
       #14     AppContext.run (package:flutter_tools/src/base/context.dart:149:12)
       <asynchronous suspension>
       #15     runInContext (package:flutter_tools/src/context_runner.dart:70:10)
       <asynchronous suspension>
       #16     main (package:flutter_tools/executable.dart:88:3)
       <asynchronous suspension>

[ +299 ms] ensureAnalyticsSent: 295ms
[   +2 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[   +1 ms] exiting with code 1

@Calvin1121
Your error log shows below:
[ +17 ms] Error: No pubspec.yaml file found. This command should be run from the root of your Flutter project.
Are you sure you are running flutter  command from root of your project path ?
If so, can you check if at the root path of your project, do you see pubspec.yaml file ? If not, fix the path (ie, cd to the correct path where pubspec.yaml is and try again to see if it works).

I'm sure there is the file at the root path of project. And when I run 'flutter run --verbose' at the root path on ternimal. The log is:
PS C:\Users\admin\Desktop\myapp> flutter run --verbose
[  +75 ms] executing: [D:\src\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +196 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 5d36f2e7f5387b6c751449258ade8e4e6edf99be
[        ] executing: [D:\src\flutter/] git tag --points-at 5d36f2e7f5387b6c751449258ade8e4e6edf99be
[ +173 ms] Exit code 0 from: git tag --points-at 5d36f2e7f5387b6c751449258ade8e4e6edf99be
[        ] 1.25.0-8.3.pre
[  +40 ms] executing: [D:\src\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +161 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [D:\src\flutter/] git ls-remote --get-url origin
[ +160 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +194 ms] executing: [D:\src\flutter/] git rev-parse --abbrev-ref HEAD
[ +162 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[ +148 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +58 ms] executing: C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l
[ +179 ms] List of devices attached
<IP_ADDRESS>:21503        device product:MI 9 model:MI_9 device:MI 9 transport_id:1
[   +6 ms] C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.exe -s <IP_ADDRESS>:21503 shell getprop
[ +176 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +83 ms] Skipping pub get: version match.
[ +235 ms] Found plugin integration_test at D:\src\flutter\packages\integration_test
[ +187 ms] Found plugin integration_test at D:\src\flutter\packages\integration_test
[   +5 ms] Generating
C:\Users\admin\Desktop\myapp\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +53 ms] ro.hardware = qcom
[  +37 ms] Initializing file store
[   +9 ms] Skipping target: gen_localizations
[   +4 ms] complete
[   +5 ms] Launching lib\main.dart on MI 9 in debug mode...
[   +6 ms] D:\src\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
D:\src\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
D:\src\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter
--debugger-module-names --experimental-emit-debug-metadata --output-dill
C:\Users\admin\AppData\Local\Temp\flutter_tools.cc79b5f1\flutter_tool.b55f955c\app.dill --packages
C:\Users\admin\Desktop\myapp.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false
--enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill
build\cache.dill.track.dill
[  +15 ms] executing: C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.exe -s <IP_ADDRESS>:21503 shell -x logcat
-v time -t 1
[ +225 ms] <- compile package:myapp/main.dart
[ +179 ms] --------- beginning of main
02-04 15:10:17.346 W/WifiMode(  547): cxyap22682, Invalid SupportedRates!!!
[ +149 ms] executing: C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.exe version
[ +178 ms] Android Debug Bridge version 1.0.41
Version 30.0.5-6877874
Installed as C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.exe
[   +3 ms] executing: C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.exe start-server
[ +176 ms] Building APK
[  +16 ms] Running Gradle task 'assembleDebug'...
[   +5 ms] Using gradle from C:\Users\admin\Desktop\myapp\android\gradlew.bat.
[   +1 ms] C:\Users\admin\Desktop\myapp\android\gradlew.bat mode: 33279 rwxrwxrwx.
[  +13 ms] executing: D:\Android\jre\bin\java -version
[ +192 ms] Exit code 0 from: D:\Android\jre\bin\java -version
[        ] openjdk version "1.8.0_212-release"
OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)
[   +3 ms] executing: D:\Android\jre\bin\java -version
[ +201 ms] Exit code 0 from: D:\Android\jre\bin\java -version
[        ] openjdk version "1.8.0_212-release"
OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)
[   +2 ms] executing: [C:\Users\admin\Desktop\myapp\android/] C:\Users\admin\Desktop\myapp\android\gradlew.bat
-Pverbose=true -Ptarget-platform=android-x86 -Ptarget=C:\Users\admin\Desktop\myapp\lib\main.dart
-Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +766 ms] Welcome to Gradle 6.7!
[   +1 ms] Here are the highlights of this release:
[   +1 ms]  - File system watching is ready for production use
[        ]  - Declare the version of Java your build requires
[   +1 ms]  - Java 15 support
[   +1 ms] For more details see https://docs.gradle.org/6.7/release-notes.html
[+1217 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[        ] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :integration_test:preBuild UP-TO-DATE
[        ] > Task :integration_test:preDebugBuild UP-TO-DATE
[        ] > Task :integration_test:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :integration_test:packageDebugRenderscript NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :integration_test:writeDebugAarMetadata UP-TO-DATE
[+20968 ms] > Task :app:checkDebugAarMetadata FAILED
[  +11 ms] FAILURE: Build failed with an exception.
[   +3 ms] * What went wrong:
[   +1 ms] Execution failed for task ':app:checkDebugAarMetadata'.
[   +1 ms] > Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
[   +6 ms]    > Could not find io.flutter:flutter_embedding_debug:1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.
[        ]      Searched in the following locations:
[   +1 ms]        -
https://dl.google.com/dl/android/maven2/io/flutter/flutter_embedding_debug/1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9b
c/flutter_embedding_debug-1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.pom
[   +3 ms]        -
https://jcenter.bintray.com/io/flutter/flutter_embedding_debug/1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc/flutter_em
bedding_debug-1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.pom
[  +12 ms]        -
https://mirrors.cloud.tencent.com/flutter/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-7a8f8ca02c276dce0
2f8dd42a44e776ac03fa9bc/flutter_embedding_debug-1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.pom
[   +7 ms]      Required by:
[  +18 ms]          project :app
[   +5 ms]    > Could not find io.flutter:x86_debug:1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.
[        ]      Searched in the following locations:
[        ]        -
https://dl.google.com/dl/android/maven2/io/flutter/x86_debug/1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc/x86_debug-1.
0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.pom
[        ]        -
https://jcenter.bintray.com/io/flutter/x86_debug/1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc/x86_debug-1.0.0-7a8f8ca0
2c276dce02f8dd42a44e776ac03fa9bc.pom
[   +1 ms]        -
https://mirrors.cloud.tencent.com/flutter/download.flutter.io/io/flutter/x86_debug/1.0.0-7a8f8ca02c276dce02f8dd42a44e776
ac03fa9bc/x86_debug-1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.pom
[   +1 ms]      Required by:
[        ]          project :app
[        ]    > Could not find io.flutter:x86_64_debug:1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.
[        ]      Searched in the following locations:
[        ]        -
https://dl.google.com/dl/android/maven2/io/flutter/x86_64_debug/1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc/x86_64_de
bug-1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.pom
[        ]        -
https://jcenter.bintray.com/io/flutter/x86_64_debug/1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc/x86_64_debug-1.0.0-7a
8f8ca02c276dce02f8dd42a44e776ac03fa9bc.pom
[        ]        -
https://mirrors.cloud.tencent.com/flutter/download.flutter.io/io/flutter/x86_64_debug/1.0.0-7a8f8ca02c276dce02f8dd42a44e
776ac03fa9bc/x86_64_debug-1.0.0-7a8f8ca02c276dce02f8dd42a44e776ac03fa9bc.pom
[   +1 ms]      Required by:
[        ]          project :app
[        ] * Try:
[        ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log
output. Run with --scan to get full insights.
[   +1 ms] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 22s
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] 5 actionable tasks: 1 executed, 4 up-to-date
[ +316 ms] Running Gradle task 'assembleDebug'... (completed in 23.8s)
[   +5 ms] Exception: Gradle task assembleDebug failed with exit code 1
[   +2 ms] "flutter run" took 25,829ms.
[   +4 ms]
#0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:623:7)

#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1134:12)

#3      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:986:27)
       <asynchronous suspension>
       #4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
       <asynchronous suspension>
       #5      AppContext.run (package:flutter_tools/src/base/context.dart:149:12)
       <asynchronous suspension>
       #6      CommandRunner.runCommand (package:args/command_runner.dart:197:13)
       <asynchronous suspension>
       #7      FlutterCommandRunner.runCommand.<anonymous closure>
       (package:flutter_tools/src/runner/flutter_command_runner.dart:274:9)
       <asynchronous suspension>
       #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
       <asynchronous suspension>
       #9      AppContext.run (package:flutter_tools/src/base/context.dart:149:12)
       <asynchronous suspension>
       #10     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:230:5)
       <asynchronous suspension>
       #11     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:63:9)
       <asynchronous suspension>
       #12     run.<anonymous closure> (package:flutter_tools/runner.dart:61:12)
       <asynchronous suspension>
       #13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
       <asynchronous suspension>
       #14     AppContext.run (package:flutter_tools/src/base/context.dart:149:12)
       <asynchronous suspension>
       #15     runInContext (package:flutter_tools/src/context_runner.dart:70:10)
       <asynchronous suspension>
       #16     main (package:flutter_tools/executable.dart:88:3)
       <asynchronous suspension>

[ +257 ms] ensureAnalyticsSent: 253ms
[   +5 ms] Running shutdown hooks
[   +2 ms] Shutdown hook priority 4
[  +16 ms] Shutdown hooks complete
[   +2 ms] exiting with code 1
PS C:\Users\admin\Desktop\myapp>
Actually, I run the project on the third-party simulator.

@Calvin1121
I see couple of things from your log:

You seem to have your app created in C:/admin path which may have limited permissisons to execute flutter commands. So try to move your flutter installation and apps created somewhere else where you won't require permissions (ex : Documents or other drive).
Assuming you are from China, you may have to use mirror flutter site to run Flutter (esp on Windows). Check this and see if it helps https://github.com/flutter/flutter/issues/14968. Also check this link and try to configure your setup accordingly, https://flutter.dev/community/china
Also provide flutter doctor -v
Actually, I run the project on the third-party simulator.. Try that on a physical device or AS emulator / simulator to see if you get same issue or not.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


The wait for action node does not save action node upon save.

Describe the bug
The action name is not properly saved when the wait for action node is added to the scene.
Expected behavior
Field value is persisted.
Actual behavior
Field value is lost.
How to Reproduce?
No response
Godot full version
4.1.1.stable
Orchestrator version
1.0.5 and main
Additional information
See https://discord.com/channels/1049457206648655912/1157689798660739214/1157689798660739214

With the move to GDExtension for Godot 4.2+ and Orchestrator 2, this is now out-dated.


Custom class in namespace not found

Hi,
I'm trying to build a class to manage all the different keyboard I have in my all bot.
I defined it like this..
<?php
namespace Longman\TelegramBot;

use Longman\TelegramBot\Entities\Keyboard;
use Longman\TelegramBot\Entities\InlineKeyboard;
use Longman\TelegramBot\Entities\InlineKeyboardButton;
use Longman\TelegramBot\Entities\KeyboardButton;
use TelegramBot\InlineKeyboardPagination\InlineKeyboardPagination;

/**
 * Class KeyboardController
 *
 * Class to generate inline keyboards. Normal & paginated ones.
 *
 */
class KeyboardController
{
    protected $type;
    protected $paged;
    protected $page;
    public $keyboard;
...
}

From a Command file I'm trying to use it like
use Longman\TelegramBot\KeyboardController;
and I have this error:

PHP Fatal error:  Uncaught Error: Class 'Longman\TelegramBot\KeyboardController' not found in /public_html/MyCommands/PresentazioneCommand.php:118

How can I achieve what I'm trying ?

Best use your own namespace, not the one of the library.
Then you can autoload your custom namespaced classes via composer 👍


Re-add the setupCommissioningSessionWithPayload API on MTRDeviceController.

This is a re-landing of some of the API addition parts of
https://github.com/project-chip/connectedhomeip/pull/22596/ and
https://github.com/project-chip/connectedhomeip/pull/22566, without including
any of the API changes/removals. The code is nearly identical to what was on
master before Darwin framework changes were reverted in
https://github.com/project-chip/connectedhomeip/pull/23155; the differences have
to do with the different type and name of MTRSetupPayload's
rendezvousInformation.

Fast-tracking platform change with platform owner review.


Document how and what we use in compoment template and macros

In the session we identified inconsistencies in the use of parameters across all components. We identified common parameters and decided on their names and structure.
This PR is a summary of those changes and sets the guidance for future development.

As discussed, I would add the following section (mostly rephrased from @36degrees' commit message):

##Allow for text argument to be passed as a single parameter
When the users don't want to specify extra attributes we should allow them to call a component without having to pass an entire object.
Example:
govukErrorMessage("Full name must be provided")
This is only possible for component that only rely on text and html attributes.
We do this in the macro so that if in the future we transpile the templates we do not have to worry about mimicking this functionality in other languages.

@alex-ju  added

Pending any clarification about the attributes argument vs classes etc, I think this is looking good 👍

someone better with words check if this makes sense https://github.com/alphagov/govuk-frontend/pull/300#pullrequestreview-70578121

updated


Add 'Awesome PHP @LibHunt' to the 'PHP Websites' section

Awesome PHP @LibHunt is based on the awesome-php list here plus some helpful addition. For example, most libraries have popularity and activity index that helps you judge what to try, and you can also compare different libs. Moreover, I believe, it has a decent UI/UX that is easy to navigate/use.

It's literally this list in a different format. 👎 unless someone else with commit bit wants to merge it.

I think we'll pass on this.

@ziadoz fair enough.
I'm considering adding it to "Resources > PHP Websites (Useful PHP-related websites.)". I believe it could be counted as useful. Also, tracking the number of downloads (Packagist) is on its way. That metadata/info will be useful, too. What do you think? Can I open a PR?


Add day marker character for Japanese.(update)

Move changing to src/locale/ja.js.

Looks like you need to update the test too (OK to just add new commits to this PR)

Update test. https://github.com/XueWei/moment/commit/e37b622aa805c9526b307c20be40bcd46d4e1144

Here's the output from the test:
Module: locale:ja Test: format
dddd, MMMM Do YYYY, a h:mm:ss ---> 日曜日, 2月 14 2010, 午後 3:25:50
    at Object.<anonymous> (/home/travis/build/moment/moment/build/umd/test/locale/ja.js:103:20)
Actual value:
日曜日, 2月 14日 2010, 午後 3:25:50
Expected value:
日曜日, 2月 14 2010, 午後 3:25:50
Module: locale:ja Test: format
d do dddd ddd dd ---> 0 0 日曜日 日 日
    at Object.<anonymous> (/home/travis/build/moment/moment/build/umd/test/locale/ja.js:103:20)
Actual value:
0 0日 日曜日 日 日
Expected value:
0 0 日曜日 日 日
Module: locale:ja Test: format
[the] DDDo [day of the year] ---> the 45 day of the year
    at Object.<anonymous> (/home/travis/build/moment/moment/build/umd/test/locale/ja.js:103:20)
Actual value:
the 45日 day of the year
Expected value:
the 45 day of the year

You can run them with grunt test

update test again.

@ichernev this is ready to be merged. I suspect you don't want me to do drive-by merges though.

You are welcome. btw, could you please let me know when it could be merged
into master branch ?
2015年12月23日星期三，Isaac Cambron<EMAIL_ADDRESS>写道：

Thanks @XueWei https://github.com/XueWei
@ichernev https://github.com/ichernev this is ready to be merged. I
suspect you don't want me to do drive-by merges though.
—
Reply to this email directly or view it on GitHub
https://github.com/moment/moment/pull/2829#issuecomment-167038781.

Sorry this has been sitting for awhile.  Could you please rebase against the current develop branch, and squash/fixup to a single commit?  Then we can stage it for the next release.  Thanks.
See: https://help.github.com/articles/about-git-rebase/

Merged in 5083c7c117f9b5727e12736ef38942269e27321d


Rejected by Appstore

10.6 Details
Your app includes an update button or alerts the user to update the app. To avoid user confusion, app version updates must utilize the iOS built-in update mechanism.
We’ve attached screenshot(s) for your reference.
Next Steps
Please remove the update feature from your app. To distribute a new version of your app, upload the new app binary version into the same iTunes Connect record you created for the app’s previous version. Updated versions keep the same Apple ID, iTunes Connect ID (SKU), and bundle ID as the original version, and are available free to customers who purchased a previous version.

Probably you just need to remove button/alert from the UI and just do it automatically when app launches. Something like a splash screen while you are checking and installing update. After that - hide the splash and show new content to the user.

Just to complete the Information of this issue.
From Apple Guidlines:

10.6 Apple and our customers place a high value on simple, refined, creative, well thought through interfaces. They take more work but are worth it. Apple sets a high bar. If your user interface is complex or less than very good, it may be rejected

Please report further what they're saying, so other will not run into the same issue. Thanks!

Yes, I will add this info into Readme and Wiki.

If your user interface is complex or less than very good, it may be rejected

I like this statement. Basically, any app can be rejected, because the reviewer decided, that it is not pretty enough or too complex. And try to prove that it's not.

Roger that! Thanks


intialize function never resolves

We're running into an issue with the initialize function for the ApiClient never resolving or rejecting.  It just hangs forever.  When we connect to https://test.openchain.org with the client, it will initialize, but not when connecting to a local instance at http://localhost:8080.  In this case we're running the Openchain docker image on OSX 10.10.5.  Below is a test script that replicates our issue:
var openchain = require('openchain');
var client = new openchain.ApiClient('http://localhost:8080');
console.log('Initializing Openchain client');
client.initialize().then(function () {
    console.log('Openchain client initialized');
}, function (err) {
    console.error(err.stack);
});

When we run the script, 'Initializing Openchain client' is logged, and nothing else happens.  The promise that is returned from getInfo() never resolves, though if we run curl http://localhost:8080/info in a terminal, we get a 200 and the JSON containing the namespace back.
We noticed that if we run docker-compose restart to restart the openchain-server container while that script is running, after a few seconds, the promise returned from initialize resolves.
Provided this is not a configuration issue on our side, could our issue have something to do with differences between httpinvoke in the browser and httpinvoke running in node, e.g. https://github.com/jakutis/httpinvoke/issues/17

The current version of the Kestrel web server used by Openchain (RC1) has a bug whereby requests have to be made with keep alive on when called from Node.
This will be fixed as soon as RC2 is released, but in the meantime, there are a couple of solutions:

Expose Openchain behind IIS or Nginx, which will handle the incoming calls correctly, or
Override the httpGet and httpPost methods of the API client object:

var httpinvoke = require("httpinvoke");

client.httpGet = function (url) {
    return httpinvoke(url, "GET", { headers: { 'Connection': 'keep-alive' } })
    .then(function (data) {
        return JSON.parse(data.body);
    });
};

client.httpPost = function (url, body) {
    return httpinvoke(url, "POST", { headers: { 'Connection': 'keep-alive' }, input: body })
    .then(function (data) {
        return JSON.parse(data.body);
    });
};


Create documentation for xgboost operator

Should be added here: https://www.kubeflow.org/docs/components/

/assign @merlintang

thanks @richardsliu , I am so glad to write this document.

/priority p2

We should keep this issue open, as we're currently working on graduating XGBoost to v1.0. See https://github.com/kubeflow/xgboost-operator/issues/44


ci: tweak release-plz for multiple crates

shpool will use vx.y.z tag same as before

libshpool won't get a separate tag since it's always the same version as shpool
other crates by default uses package-vx.y.z tag

GitHub release is only created for shpool
Enable change log generation for shpool-protocol

Unfortunately release-plz doesn't support different changelog formats, so shpool-protocol will use the same debian style we have for shpool and libshpool.
Fixes #100.

I'm not sure why this now pulls in an MPL licenced package, but it should be ok to use since shpool is already open sourced (all the licences we use so far a "notice" licences where we just need to include the licence file in source distrubtion, but the MPL is also "reciprocal" meaning we need to send patches made to the MPL licenced crate upstream or at least publish them).
I don't see any Cargo.lock changes though so I'm confused by this. Do you know what the new dep is?

I figured out the licence issue. The directories crate maintainer is being annoying. https://github.com/dirs-dev/dirs-sys-rs/issues/21

https://github.com/shell-pool/shpool/pull/134 should fix the licence issue. Once that merges we can rebase.


build-plugin-component rax 配置 babel-plugin-import

Do you want to request a feature or report a bug?
feature
What is the current behavior?
build-plugin-component rax 如何配置 babel-plugin-import 按需加载，并且正确加载样式
"build-plugin-component": "^1.0.1",

@ClarkXia


Create html templates

Description

Create New-listing template
Must include "New listing form"
Must include a Title input capture, Description Capture, Category options, Tag (or Keyword) options.
All options in list or checkbox form preffered

Description

Create Edit-listing template
Must include a "Edit listing form"
Must include a Title input capture, Description Capture, Category options, Tag (or Keyword) options.

Description

Create Homepage template
Must include display of all listings initially
Must include the option to sort listing with filter. filter must include by category or by tag

Description

Create Login template
Must prompt for username & password

Description

Create Single-listing template
Must display all listing information
Must provide option to contact the user who listed the item  via email for more information, or to offer a trade. **could also add availability to send the link to their own listing in trade offer

Description

Create User template
Must display all user information
Bonus would be adding a 'wish-list' to user page so others can see what hobbies they're specifically searching for

Description

Create Main template
Must include main structure of webpage
Must include link to stylesheet
Must include link to logout.js if logged in


Deallocate Azure Firewall in VWAN Hub

Is it possible to deallocate and allocate Azure Firewall when it is in a secured VWAN hub?

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

ID: 6bba1b4d-cf65-c0a2-9bb6-4ff7896f0a15
Version Independent ID: 7ab0db77-e78d-de58-369f-641782327264
Content: Azure Firewall FAQ
Content Source: articles/firewall/firewall-faq.yml
Service: firewall
GitHub Login: @vhorne
Microsoft Alias: victorh

@jeffjfield Thank you for your feedback! We will review and update as appropriate.

@jeffjfield, apologies for the delayed response here.
Yes it is possible. You can run the commands below to deallocate and allocate Azure Firewall when it is in a secured VWAN hub.
$firewall=Get-AzFirewall -ResourceGroupName  Name
$firewall.Deallocate()
$firewall | Set-AzFirewall
$Hub = Get-AzVirtualHub -ResourceGroupName Name
$firewall.Allocate($Hub.Id)
$firewall | Set-AzFirewall
Hope this helps! We will now proceed to close this issue out. Please tag me in your response if you have any additional questions. Thank you!


ISBN

There don't appear to be ISBNs in the book database, making the final project problematic.

Just use the dictionary keys. LOL

There don't appear to be ISBNs in the book database, making the final project problematic.

Just use the dictionary keys. LOL

Yes, that's an option. Wasn't sure if that was the intent or not as they don't look like ISBNs. In the end I just added new key-value pairs for ISBN.

Yes, that's an option. Wasn't sure if that was the intent or not as they don't look like ISBNs. In the end I just added new key-value pairs for ISBN.

I considered that as well, but it doesn't look like their sample output. No worries.


⚠ Secret Website 3 has degraded performance

In 166c54b, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 2480 ms

Resolved: Secret Website 3 performance has improved in 2104b77.


Levels building: how to create remote tree?

Hi!
I'm struggling to create my first level by emulating a typical situation we face in our work. However, I immediately stumbled upon the inability to build the remote tree I want. The only command I have so far is git fakeTeamwork which just creates a commit, but doesn't do any merges, rebases, etc.
For example, in a simplest case, the remote may look like:
C0 -> C1 -> C2 -> C4 (feature1, main)

While the local may contain:
C0 -> C1 (main, o/main) -> C3 -> C5 (feature2)

How to create this?

Yeah it's tricky since you can't do the full range of commands for the remote. A way to get around this is to make the tree you want locally, then clone, and then try to delete state backwards to something that resembles your problem.
Here is the closest I could get:
https://learngitbranching.js.org/?NODEMO&command=git checkout -b feature1; gc; gc; git checkout main; git rebase feature1; git clone; git checkout C1; git checkout -b feature2; gc; gc;git branch -f main C1; git branch -d feature1;

@pcottle Thanks Peter! So you've initialized the remote from local, not cleaning up this part (C2 and C3), and now the local tree is in the state as if git fetch was already executed. Is there maybe another way, like creating a JSON with a snapshot of the remote party?
And how did you get that long URL? Is there a share link/button in the UI?

Is there maybe another way, like creating a JSON with a snapshot of the remote party?

there is a "load tree now" that can import an arbitrary string but its difficult to get those strings correct :P

And how did you get that long URL? Is there a share link/button in the UI?

nope I just know its a url param we look at. probably should encourage someone to build share button functionality...


mkcloudresultcheck: storage_method warning

identify the usage of want_{ceph,swift} and show warning
The goal is to switch all usages of want_* to use the parameter storage_method.

already cherry-picked by @bmwiedemann


official container image for specmatic

In order to run the specmatic in containerized CICD environments (like Gitlab), provide an official container image that is maintained and scanned for vulnerabilities.

Thanks a lot for reaching out to us @kiranpatel11 .
We'll have a look at this and get back to you.

Hi @kiranpatel11,
We have recently published an official Specmatic Docker image which you can use for CICD environments. You can see examples of how it may be used in our documentation.
Closing this for now, but please reopen if you have any followup questions.


Possible to change bar color with moving image?

Hi, is it possible to change the bar color with "moving" image.
Here is further explanation.
By default, the page just showing "moving" bar from left-to-right right?
so, if possible, I want to use an image at the end of "moving" bar so that the image moving from left-to-right together with barcolor.
If that's possible, can you help me out on this?
Thanks!
FYI,  i'm just using queryloader2.min.js for my website..

Sure. Just target the following class in CSS: . queryloader__overlay__bar and add a background image or colour to your liking.


Startup is not works.

the startup is not works.

Add me Cloud#4458 dm me

After running the stub with the startup option enabled, can you check if the stub is in your shell:common startup folder?

I checked it, the startup is buggy. Please don't use it until I release next update (when I get time, I am busy these days).


Fix the MessengerCodeApiTests Unit Test

Coverage increased (+1.4%) to 4.228% when pulling 632ce07ad3cf2bf814c8c7a030d7466dc90ef1f8 on alvin-reyes:master into cfee9a4b815108896c14993ec4dbf80c6b465027 on BotMill:master.

Coverage decreased (-0.4%) to 2.466% when pulling b7550fc3b85dbed8c443c757a76463832703985e on alvin-reyes:master into cfee9a4b815108896c14993ec4dbf80c6b465027 on BotMill:master.

The decrease is due to the tests being skipped because our environment variables from the main build isn't accessible in the pull request sub builds.

That's a shame for the coverage tool, since it's not really useful during pull requests but only on the main branch. By the way, do you mind also removing the encrypted tokens from the config file? About the setup, if we are going to always do a setup like that we could define a super class, what do you think?

Yes. That would be better.  I'm actually thinking of re-structuring the entire unit test case to make sure everything is covered. I want to make it simpler.
Give me a few days to put something up. I'll create a Test Suite for all the functionalities we have. It'll take time but it would really be good for our coverage.

Coverage decreased (-0.4%) to 2.466% when pulling f1045936d19ddf66838a4698d562ebf75b2a1fca on alvin-reyes:master into cfee9a4b815108896c14993ec4dbf80c6b465027 on BotMill:master.


Hex ping does not respond

Although it works for many other people, when I run 'hex ping', it does not respond to me.
Steps to replicate:
<+Dead-i> hex ping
<+Somebody-Else> hex ping
 <@Hex> Somebody-Else: PONG

@pmf01 Please either disable or fix this behaviour. I would recommend 15 characters and 30%, but even that would fail when pasting short SQL statements into the channel (which I can see happening).

respond with a lowercase pong?

That's what we refer to as a workaround; I'd prefer the original issue to be fixed ;-)

It's not an issue, it's a feature.
On Thu, Feb 16, 2012 at 18:55, Callum Macrae <
<EMAIL_ADDRESS>
wrote:

That's what we refer to as a workaround; I'd prefer the original issue to
be fixed ;-)

Reply to this email directly or view it on GitHub:
https://github.com/callumacrae/Hex/issues/14#issuecomment-4006811

Request to 15 characters and 30% capitals? It would still catch shouting and block caps messages, but wouldn't stop many genuine posts.

Issue is fixed, request closure or permission to do so?

Closed


Syntax Error on release v1.11

The error appears to have been in '/home/opc/installation-scripts/kubeadm-playbook/roles/etcd/tasks/main.yaml': line 79, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

- name: "Wait 300 seconds for etcd image download on primatry-etcd and start listening on: {{  ansible_default_ipv4.address }}:2379"
  ^ here
We could be wrong, but this one looks like it might be an issue with
missing quotes.  Always quote template expression brackets when they
start a value. For instance:

    with_items:
      - {{ foo }}

Should be written as:

    with_items:
      - "{{ foo }}"

This error can be suppressed as a warning using the "invalid_task_attribute_failed" configuration

Hi @aaleotti-unimore,
Do you need HA ?
If not, I suggest take branch 1.11 without HA.
If you need the 11 with HA, I will take a look deeper.

As per tests, the newer version of ansible is now accepted.
Please reopen if you encounter issues.


all options function can accept...documentation

The readme.md should provide the all the options that the function can accept.

:ghost:

btw, @hozefaj isnt readme full enough today?


Issue in posting in 4chan using reCAPTCHA v2

I noticed a few days ago that I was having issues with the captcha.
I was using reCAPTCHA v2 but kept getting the "invalid captcha error" even though I already unchecked the  "Use Javascript for reCAPTCHA".
The only way I was able to post again was to change the CAPTCHA to v1.
Am I missing something to not be able to use reCAPTCHA v2 properly?

reCAPTCHA v2 was changed and it requires some proper headers now. I fixed it for CloudFlare but I don't know how to embed this fix to extensions properly. I'll try to fix it to next update.

Understood. Thank you for the response. I thought I messed with the settings or something.


Routing issue

Hi,
While inspired by responder and build a framework for a talk I found an issue related to parse library. Take for instance:
import responder

api = responder.API()

@api.route("/{greeting}")
async def greet_world(req, resp, *, greeting):
    resp.text = f"{greeting}, world!"

if __name__ == '__main__':
    api.run()

/hello/responder will match /{greeting}", unless we put a / at the end of the pattern any route will match it. I suggest that when adding a new route we check if it ends with a / and if not add it underthehood.
If you approve it, I will make a PR.

Already suggested it #189, but @kenneth-reitz said no


CBC mode resets underlying cipher when init() is called

From @stevenroose on March 28, 2014 10:13
I tried to use a PaddedBlockCipher like this:
new PaddedBlockCipherImpl(new PKCS7Padding(), new CBCBlockCipher(new AESFastEngine()));
When I call the init method, it is propagated to all sub-ciphers, -paddings and modes.
However, the CBCBlockCipher.init() method calls the reset() method at the end (https://github.com/izaera/cipher/blob/master/lib/modes/cbc.dart#L49). This method reverses some of the initialisations (f.e. the _workingKey variable in AESFastEngine).
When I try to use the cipher.process() method then, it errors, telling me that AESFastEngine is not initialised.
I'm not sure if I can just remove the reset() call, or I just need to remove the _workingKey = null from the AESFastEngine.reset() method. Or perhaps the reset() should be called at the beginning of the init() method...
It's weird that this class has passed a unit test ;)
Copied from original issue: izaera/cipher#78

From @izaera on March 28, 2014 10:36
Not so weird, because they are that: "unit" tests. And this is an integration problem ;-).
I'll look at it later.


Protocol 14: Sponsoring future reserves

Begin Sponsoring Future Reserves operation.
End Sponsoring Future Reserves operation.
Added optional excludeAccountSource to operation config for cases when Account Source should be handled differently.

Preview is available here:http://laboratory-pr490.previews.kube001.services.stellar-ops.com/

Preview is available here:http://laboratory-pr490.previews.kube001.services.stellar-ops.com/

Preview is available here:http://laboratory-pr490.previews.kube001.services.stellar-ops.com/


flash: shell: Add flash testing for read/write/erase speed output

Describe the solution you'd like
Whilst investigating a bottleneck in flash access speeds using MCUmgr, it became apparent that it would be good to run tests on-device without need of an external interface other than the shell that can be used to run small tests on a flash device to determine the rough read, write and erase speeds of the device.
For read, this would just read data (without checking for accuracy of the data) at a specific offset, of a specific size, for a set number of runs -> speed would show total time / number of runs
For write, this would just write data at a specific offset, of a specific size, for a set number of runs -> speed would show total time / number of runs
For erase, this would just erase a specified number of sectors at a specific offset for a set number of runs -> speed would show total time / number of runs
Describe alternatives you've considered
None

@nordicjm, what would be the meaning of these numbers ? Are they device (not board, but real physical device) dependent ? Is one offset sufficient ? Is it dependent on other parts being enabled (e.g. radio) ? ...
It seems like a meaningless test with a possible bad effect on device lifetime.
So -1 from my side

It's not something you would ever leave on for a production build, I've already implemented it and used it, for an external QSPI erasing and writing takes about 2.2 seconds, doing the same test from the filesystem layer takes about 2.7 seconds, so that's proven to be very valuable given that doing the same test from a remote device, using MCUmgr over bluetooth, takes 8 seconds. And that would be the sole purpose, to test the read/write/erase speed of a flash device to determine where throughput issues are in applications

@nordicjm, I don't understand the test you are describing for the external QSPI device.

An example - flash driver test:
uart:~$ flash erase_write_test mx25r6435f@0 0x0 0x4000 4
Loop #1 done in 243 ticks.
Loop #2 done in 242 ticks.
Loop #3 done in 242 ticks.
Loop #4 done in 242 ticks.
Total tick count: 969
Tick per loop: 242
uart:~$ flash erase_write_test flash-controller@4001e000 0xf8000 0x4000 4
Loop #1 done in 1028 ticks.
Loop #2 done in 1028 ticks.
Loop #3 done in 1022 ticks.
Loop #4 done in 1028 ticks.
Total tick count: 4106
Tick per loop: 1026

File system test on QSPI:
uart:~$ fs erase_write_test /lfs1/testfile 0x20000 1
Loop #0 done in 2595 ticks.
Total tick count: 2595
Tick per loop: 2595

So if doing a file upload over MCUmgr takes 7.4 seconds to the same device, that is a 4.8 second overhead - from "somewhere"

Bluetooth was not used at all for this test, the UART was. The test shows there is a unexplained very large overhead of 4 seconds (rounding down as assuming a bit for going up and down layers and UART) that at the moment cannot be accounted for. The flash tests shows that the issue was not that the maximum throughput of the flash device was the cause - if I did not create the flash test, how would it be known that there was an issue at all?

Bluetooth was not used at all for this test, the UART was. The test shows there is a unexplained very large overhead of 4 seconds (rounding down as assuming a bit for going up and down layers and UART) that at the moment cannot be accounted for. The flash tests shows that the issue was not that the maximum throughput of the flash device was the cause - if I did not create the flash test, how would it be known that there was an issue at all?

By testing what needed to be tested, the communication layer. This should be tested by introducing a stub flash device that allows you to exclude the flash subsystem from the equation.


Add TimerInfosIterator for Usage in Serializer

Add an interator for the TimerChains and use it in Serializer.
This is the first step of removing dependencies of OrbitGl from
CaptureSerializer, such that it can be used also by other clients.
Test: Compile, Save/Load capture.

Looks good, thanks a lot for this!


SetPollTimeOut and HeartBeat

Hi ,
I have a two clarifications on the below piece of code.
Clarification 1:
We have the polltimeout set as follows.
@Bean
    KafkaListenerContainerFactory<ConcurrentMessageListenerContainer<String, String>> kafkaListenerContainerFactory() {
        ConcurrentKafkaListenerContainerFactory<String, String> factory = new ConcurrentKafkaListenerContainerFactory<>();
        factory.setConsumerFactory(consumerFactory());
        factory.setConcurrency(Integer.valueOf(env.getProperty(Constants.KAFKA_CONCURRENCY)));
        factory.getContainerProperties().setPollTimeout(3000);
        factory.getContainerProperties().setAckMode(AbstractMessageListenerContainer.AckMode.MANUAL);
        factory.setRetryTemplate(new RetryTemplate() {{
            setRetryPolicy(new AlwaysRetryPolicy());
            setBackOffPolicy(new FixedBackOffPolicy() {{
                setBackOffPeriod(1000); // back off for 1 second between retries
            }});
        }});

Is this above  setPollTimeout similar to poll method in the Kafka consumer class ?
  KafkaConsumer<String, String> consumer = new KafkaConsumer<>(props);

  ConsumerRecords<String, String> records = consumer.poll(100);

What exactly happens when the consumer comes up ?
Does the consumer polls the topic and waits for 3 seconds and pull the records and return ?
or
Does it poll the topic every 3 seconds?
factory.getContainerProperties().setPollTimeout(3000);

Clarification 2:
We are leveraging consumer group strategy in our consumers.When will the heartbeat be sent to group coordinator ?
Is the Heartbeat sent during poll method ? Is the Heart beat sent while commiting the offset ?
Any help is much appreciated ?
Thanks !

Yes, that option is exactly for the Consumer.poll():

ConsumerRecords<K, V> records = this.consumer.poll(this.containerProperties.getPollTimeout());

and the JavaDocs on the matter:
* @param timeout The time, in milliseconds, spent waiting in poll if data is not available in the buffer.
*            If 0, returns immediately with any records that are available currently in the buffer, else returns empty.

So, we are blocked for that time if there is no data and go ahead immediately if there is enough records according max.poll.records:
private static final String MAX_POLL_RECORDS_DOC = "The maximum number of records returned in a single call to poll().";

In Kafka 0.9 the Heartbeat is really sent during poll(). The newer versions do that in the separate process: https://cwiki.apache.org/confluence/display/KAFKA/KIP-62%3A+Allow+consumer+to+send+heartbeats+from+a+background+thread

@artembilan - Thanks for the response.
We are manually managing the offset using the AcknowledgingMessageListener.
In this case will there be any heart beat sent during the below call.
acknowledgment.acknowledge();

No, acknowledgment.acknowledge(); only does this:
ListenerConsumer.this.acks.put(this.record);

Places the record for commit to the queue.
The heardbeat is done only during main loop on the Consumer.poll().

@artembilan - Thanks.
Another quick question,
Consecutive  polling to kafka topic call happens only after the records that were pulled as part of the poll are successfully processed right ?

Not with the current design (which was mandated by the heartbeat being run on the consumer thread). Now that 0.10.1.x runs the heartbeats in the background we can go back to running the listener on the consumer thread.
The current process will fetch a second and third batch and if it can't hand the third batch to the listener (because it is still busy with the first), we pause() the consumer.
In the next release, we'll go back to running the listener on the consumer thread so, then we won't call poll until the the current batch is processed.

@garyrussell - Our kafka cluster is 0.9.
The second and third batch happens at what intervals?
I believe it does not depend on the below settings ?
 setPollTimeout(3000);

If your listener is fast enough, there is no delays in between polls.
The main consumer thread just shifts messages to the queue and go back to the main loop: https://github.com/spring-projects/spring-kafka/blob/master/spring-kafka/src/main/java/org/springframework/kafka/listener/KafkaMessageListenerContainer.java#L523
Just follow the code!

The ConumerRecords is handed off to the listener thread and the poll() is immediately performed - this is required so that the lack of a heartbeat doesn't cause the broker to rebalance the partitions when the consumer is a bit slow. We transfer the batch via a queue which has a depth of 1; if the queue is still full when we get the third batch (because the listener is still processing batch1), we pause() the consumer, but still keep calling poll() to avoid the rebalance.

@garyrussell @artembilan Thanks for all your inputs.

Glad to feel useful!
Consider to close the issue since we have arranged all your concerns.

Thanks for the information guys but I have a small question. Does this max.poll.interval.ms have any significance since @garyrussell mentioned that we after third batch we pause the consumer but still call poll() to not cause rebalance.

It has significance only with versions 1.3.x and above because now the the listener is called on the consumer thread. The old mechanism was required with older clients; it is recommended to upgrade to 1.3.x or higher (current version is 2.1.6) because the threading model is much, much simpler and newer clients can talk to older brokers if you can't upgrade the broker.
Please ask questions on Stack Overflow, not GitHub issues, and especially not on old closed issues.

I'm sorry. But thanks for your quick response. Really appreciate it.


Large Wallets Take Over an Hour to Sync

DESCRIPTION:
I have an account with a large number of videos and transactions, and it takes 70min for the Android app to sync everything.  During that process my wallet balances are constantly changing and I am unable to make transactions.

REPRO STEPS:

Install and Launch LBRY 0.16.11 on Android 8.1.0
Log in to an account with a large history
Wait for wallet sync to finish

Results: Takes over an hour
Expected: Takes a short period of time

ENVIRONMENT:

LG V20
Android 8.1.0
LBRY 0.16.11

LBRY ADDRESS:
bZSqrVdpxt5KJdn2eGMUzT9Jn3gEiRet7b
<EMAIL_ADDRESS>

This is an issue on the sdk and there's some improvements we've made, but this will always be the case with large histories and having many reinstalls (each creates a new account). Resync is only required when we make major changes or you reinstall.
In the future, there will be a light mode that uses the lbry.tv synced wallet.


Pantheon: disable gnome ssh agent when gpg-agent is used for SSH

NixOS has options that allow one to configure gpg-agent system-wide: programs.gnupg.agent.*. When enable = true, it creates a user service that starts gpg-agent and, additionally, when enableSSHSupport = true it adds shell initialisation code that exports SSH_AUTH_SOCK (this should be a user service too, so that it will work on Wayland, but that’s a separate story).
Anyway, I think it is expected that if both enable and enableSSHSupport are set to true, NixOS will setup gpg-agent to be used as an SSH agent.
However, Pantheon uses Gnome Keyring, which has an SSH component. This component, among other things, sets SSH_AUTH_SOCK to point to the Gnome Keyring’s socket, and this happens relatively late in the session initialisation process to take precedence over all other places where you could export this variable.
The solution that I discovered was to copy pantheon-gnome-keyring-ssh.desktop from one of Pantheon packages, add Hidden=true to the file, and put it in $HOME/.config/autostart, where it shadows the one installed in the system.
Would it make sense to teach the Pantheon NixOS module to delete this file if ssh support is enabled in the gpg agent?
cc @worldofpeace

Would it make sense to teach the Pantheon NixOS module to delete this file if ssh support is enabled in the gpg agent?

I believe there is an environment variable that GNOME Session accepts to just "not do this"

No, that’s different. There used to be a crazy hack in gnome-session that just set SSH_AUTH_SOCK, unless this special variable you are probably referring to was set. This crazy hack was only for Wayland and is long gone, since they implemented stages in gnome-session. What I am talking about is not a hack, but actually Elementary explicitly requesting this to happen.
Here are some details:

elementary-session-settings copies autostart files from somewhere Gnome-related (I am not smart enough to figure our where from exactly). Among those files is gnome-keyring-ssh.desktop.
Since elementary-session-settings is added to system.path by the Pantheon NixOS module, its contents get linked to /run/current-system/sw, in particular, /run/current-system/sw/etc/xdg/autostart/pantheon-gnome-keyring-ssh.desktop.
/run/current-system/sw/etc/xdg is added to $XDG_CONFIG_DIRS, so gnome-session checks its autostart/ directory for .desktop files to start and thus it runs /run/wrappers/bin/gnome-keyring-daemon --start --components=ssh.
This component of Keychain sets SSH_AUTH_SOCK in the context of ~Gnome~Pantheon session.

There are two ways to disable this behaviour: 1. remove this .desktop file; 2. shadow it with another file with Hidden=true inside.

This is still important to me. I've tried to shadow the .desktop file with Hidden=true but it is either flaky or stopped working because I've been encountering this issue again. Having to override this variable manually or even in .bashrc feels hacky. Maybe we could find a way to solve it once and for all?...

The gnome-keyring PAM module gets enabled when the associated gnome-keyring service is by one of the many dependents that enable it. This starts the gnome-keyring-daemon which by default has the internal SSH component enabled. That component sets the SSH_AUTH_SOCK environment variable by both pushing it over DBUS to gnome-session and via g_setenv.
I have submitted a PR to gnome-keyring to allow specifying the components that should be started in the daemon from the PAM module[1]. This will allow omitting the SSH component.
I think this could be a solution going forward without completely breaking things
[1] This configuration was just for testing

I'm wondering about this too, but not for Pantheon. I don't use a desktop manager at all, and in my case both gnome keyring and gpg agent works fine. But gnome keyring appears to be loading my ssh keys too.
When gnome keyring is enabled, it appears to override the SSH_ASKPASS from /nix/store/dy17b2dkadsawv2sdbk5mak26lrv8y32-x11-ssh-askpass-<IP_ADDRESS>/libexec/x11-ssh-askpass to using gnome keyring instead.
The PR doesn't seem to have been accepted. So I'm guessing right now gnome keyring and gpg agent are both loading the ssh keys?

This is driving me bonkers.  How can I make it stop?  Avoid Gnome?

This is driving me bonkers. How can I make it stop? Avoid Gnome?

https://wiki.archlinux.org/title/GNOME/Keyring#Disable_keyring_daemon_components
This worked for me.
Of course, gnome-keyring-ssh.desktop isn't under /etc in NixOS; so you'll have to go to /nix/store and find with e.g. find . -name gnome-keyring-ssh.desktop 2>/dev/null.

The gnome-keyring PAM module gets enabled when the associated gnome-keyring service is by one of the many dependents that enable it. This starts the gnome-keyring-daemon which by default has the internal SSH component enabled. That component sets the SSH_AUTH_SOCK environment variable by both pushing it over DBUS to gnome-session[1] and via g_setenv.
I have submitted a PR to gnome-keyring to allow specifying the components that should be started in the daemon from the PAM module[2]. This will allow omitting the SSH component.
I think this could be part of the solution going forward without completely breaking things
[1] org.gnome.SessionManager.Setenv [2] This configuration was just for testing

In respect to this issue, I've drafted a PR to disable the SSH component that's enabled in the gnome-keyring PAM module if programs.gnupg.agent.enableSSHSupport == true. See https://github.com/NixOS/nixpkgs/pull/284173


[HOLD for payment 2023-11-22] [$500]  Workspace - Error page appears for a second after deleting a Workspace

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.3.87-10
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Log in with any account
Open the workspace #admins or #announce cha
Press the chat header to open the details
Press the workspace name below the chat name. You will be navigated to the workspace page
Delete the workspace

Expected Result:
You will be navigated back to the chat details
Actual Result:
Error page appears for a second and then navigated back to the chat details
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] Windows: Chrome
[x] MacOS: Desktop

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

Windows: Chrome

https://github.com/Expensify/App/assets/78819774/a16b6196-47fb-4ef2-9651-cc0b4542770d

MacOS: Desktop

View all open jobs on GitHub

Proposal
Please re-state the problem that we are trying to solve in this issue.
Error page appears for a second after deleting a Workspace
What is the root cause of that problem?
When the prop shouldShow accepts any change of policy, like PolicyUtils.isPendingDeletePolicy(policy), the component renders each time the policy change, in this case when pressing the delete workspace button the policy value trigger 3 times.
What changes do you think we should make in order to solve the problem?
The best option should be to use the react hook to wait for the policy value change to send a true/false to the component below:
https://github.com/Expensify/App/blob/4a1e2b3e8a1f73992173264276fef2ded1fd5918/src/pages/workspace/WorkspaceInitialPage.js#L204

Proposal
Updated
@hoangzinh  this was what I meant, please verify again

Hey @hoangzinh can you review this updated proposal when you get a chance: https://github.com/Expensify/App/issues/30100#issuecomment-1773652524

Proposal
Updated
@hoangzinh you are right, I have changed the proposal for update when policy/workspace has a change, see how it looks:
https://github.com/Expensify/App/assets/5216036/da6e9d0a-8afb-48a8-8e28-a425e7b171bc
On the other hand, currently, I can't reproduce the bug in the main branch, could you or someone else?

I think I'm missing something 😅, I have tried in android, iphone15 and currently in the same version you have shared (iPhone 14 IOS 16.2), but I can't reproduce it.
https://github.com/Expensify/App/assets/5216036/5ec375b9-d9ad-4778-b51d-5eb2e603470d
Other tests:
https://github.com/Expensify/App/assets/5216036/d796478b-0152-4621-8fc7-4088dd96e72f
https://github.com/Expensify/App/assets/5216036/452553d3-6092-45cf-ae8c-b7af161ae6d5
Please if you see anything I'm doing wrong let me know.

@hoangzinh @stephanieelliott
Issue reproducible on IOS 17
https://github.com/Expensify/App/assets/78819774/e58443dd-d8b1-4010-9c92-11a2d837929a

Still collecting proposals

Reapplying the Bug label to get another BZ member on this while I am OOO til Nov 13. Thanks @trjExpensify,  I'll grab this back from you when I return!

@hoangzinh can you address this question please? https://github.com/Expensify/App/issues/30100#issuecomment-1794358571

Issue not reproducible during KI retests. (First week)

👋 checklist time, @hoangzinh!

Yep, agree this was caught by Applause when executing the "core" steps of deleting a workspace.
Okay, payments are as follows by my calculations:

$500 to @hoangzinh for the C+ review
$500 to @dukenv0307 for the fix

No urgency bonuses apply as the PR was created after the Oct 24th cutoff.
Sent you both offers!

@dukenv0307 - paid!
@hoangzinh hm, interesting. Let me check.

Okay, how about now? :)

Nice one, paid. Closing!