I made a fork that will be updated

Hi all, i'm an user of this library, so i decided to fork it and I'll take a look at the pull requests and slowly merged everything.
If you want to help me or only support me please take a look at my fork, i will take a look at all prs and add them fast, don't worry :)

This is great news!

IDK, what's about the backward compatibility in this fork ?!

It's a fork moving forward. This one is no longer being updated or worked on. So what happens when this is 5 years stale? @tawfiek  Seems like a maintained fork is better than one that is not.

IDK, what's about the backward compatibility in this fork ?!

Absolutely devastating. I tried it out, full of hope. But the tables are completely destroyed. The rows are displayed as columns and the layout is all off. Maybe it is a fork worth looking at if you start from scratch, but migration seems impossible.

Hello to all, i think that my fork is not "impossible". obviously I prioritized some features that interested me for my use case, but I still think the fork is quite plug and play with the original repo.
I haven't had too much time to include new features in this period but I will be making some updates soon
In the meantime, as always, I'm open to any pull requests that might improve the plugin

@tawfiek Seems like a maintained fork is better than one that is not.

Definitely, but I just want to make sure that using this fork won't effect my stable application that is heavily depends on this package.
Me and my team are ready to work on maintaining a stable fork of this one, I think it gonna give us some more flexibility building with smart tables than it does right now.

If you agree you and your team could use my fork, so we can work together and make this package even better. I could also add you as owner of the repo if this can make you feel more comfortable

A few things to note, that might help:

There is a rowClass attribute which, by the official documentation, defaults to "row". In fact this is a function returning a string (so that the row class can depend on the contents, which is very nice). In the most recent version this function seems to be required (at least in strict mode with proper type checking). But when you add a default function, returning "row", this messes with the style sheet and completely destroys the table layout - so don't do that. Just return empty string instead.
You may need to re-style the action links depending on what styling you used in your project. In particular, you may have to remove the text-decoration: underline if you are using icons for the actions.
It may be necessary to clone the repo and build it own your own for proper integration. We had to do that and change the package name in the package.json from "my-workspace" to "angular2-smart-table". Also, the Angular 13 support had to be patched manually (there is an open PR in the @dj-fiorex 's repo that can be applied).

Additionally, in our local fork we added support for SVG content in smart table actions. To enable SVGs, you have to search for the [innerHTML] attribute (where the action button content is inserted) and disable Angular HTML sanitization (e.g. with a special pipe). For some reason I do not know, the Angular sanitizer does not recognize inline SVG as valid HTML.

Thanks for your comments, so do you want to help me maintaining this repo?

If you agree you and your team could use my fork, so we can work together and make this package even better. I could also add you as owner of the repo if this can make you feel more comfortable

Definitely, It'll be my pleasure to be a part of this.

Another thing I have noticed (but I have to investigate further):
The editable property does not have any effect. I noticed that the field is called isEditable in IColumn (the same for sort vs. isSortable). If I understand that correctly, every settings object that makes use of sort or editable has to be migrated.

Hello guys, i just added @tawfiek and @uap-universe as collaborators in the repo! Hope to start a collaboration that makes this package the best!
@uap-universe yes, we need to refactor that

Trying to figure out if this will work on Angular 16? I'm having a problem with the Ng2CompleterModule in this and has broken my project after upgrading to Angular16.


Dupe issue with magic wand

Hi!
Few players om my server noticed that if you have wand in your inventory and you just click on item you want to craft it uses magic wand as resource(stick) It happens only when i have one stick in inventory, otherwise i can't. I thought that it was impossible to restrict craft with magic wand because it uses stick as item with texture and custom model data. But when I'm trying to use any item from for example itemsadder that uses also sticks but these items can't be used for other crafts.
Thank you!

I have not been able to reproduce this, and in general wands can not be used as crafting ingredients.
Do you have a custom crafting plugin or anything that would be complicating this issue?

The only plugin that i'm using for custom craftings is ItemsAdder. I have MMOItems installed but i not using it at all for crafting.
I'll check it again and let you know! Thank you for your answer!


Could not build Xcode

Swift Compiler Error (Xcode): Cannot convert value of type 'Int' to expected argument type 'Double'
.pub-cache/hosted/pub.dev/mobile_scanner-3.5.3/ios/Classes/MobileScannerPlugin.swift:105:44
change the 'timeoutMs => Double(timeoutMs)'  temporarily like this..

I just ran into this issue too. Will try that. thanks!

Latest version (mobile_scanner: ^3.5.3) is broken.
Use mobile_scanner: 3.5.2 until https://github.com/juliansteenbakker/mobile_scanner/pull/872 is merged.
Sorry for that !

3.5.2 doesn't work too
Please fix it

3.5.2 doesn't work too Please fix it

You have cache issue or you still like this : ^3.5.2 instead of 3.5.2

I entered  flutter pub cache repair after change version
3.5.3, 3.5.2, 3.5.0 don't work

Yep, I had cache from 3.5.3
Thanks

Same issue here.

I'm using 3.5.1 for now, 3.5.2 and 3.5.3 have issues.
Remember to get rid of pub cache, one option is to remove the ^ symbol from the package version in pubspec.yaml and run flutter pub get again.

Version 3.5.3 has been retracted for now. Will fix the compilation issue shortly.


Made some changes in the testimonial section

🛠 Fixes Issue
Fixed an Issue where the User couldnt Navigate through the Testimonials.
Now, there's Prev and Next Icon for that. 😃
[Slideshow still in action]

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

#539 was the issue number, which i mistakenly solved. Should i make another issue? or should i leave it to that?

#539 was the issue number, which i mistakenly solved. Should i make another issue? or should i leave it to that?

That issue was created by someone else. I hope you get the fact that we want to give everyone a fair chance to contribute.
You can always create another issue.


chore(package): update cz-conventional-changelog to version 1.1.6

https://greenkeeper.io/

Current coverage is 92.95%

Merging #31 into master will not affect coverage as of 6d32d70

@@            master     #31   diff @@
======================================
  Files            6       6
  Stmts          213     213
  Branches        43      43
  Methods          0       0
======================================
  Hit            198     198
  Partial          0       0
  Missed          15      15

Review entire Coverage Diff as of 6d32d70

Powered by Codecov. Updated on successful CI builds.


linking error

clang: error: linker command failed with exit code 1 (use -v to see invocation)```

Appletv related, will be fixed this week #231 #232


"Go to product 02" navigation

"Star tab -> Go to product 02" send us to the circle tab.
Is it normal for example?
Also another case:
"Square tab -> Go to Star (logged in) -> Press to Square tab -> Go to split"
Star tab removed. Same question as above.

Yes. This is how product is configured.
It demmands to be shown inside of the circle tab, no matter where the user
currently is. This is part of the test - to test that it is possible to
demand view controller to be presented in a particular tab.
Yes. Split view controller replaces the root view controller of the window
so tab bar deallocates. It is not the route composers task to keep the
state of the tab bar. If keeping the tab is part of the business logic - it
must be implemented manually.
On Fri 24 Aug 2018 at 08:06, Bondar Yaroslav<EMAIL_ADDRESS>wrote:

"Star tab -> Go to product 02" send us to the circle tab.
Is it normal for example?
Also another case:
"Square tab -> Go to Star (logged in) -> Press to Square tab -> Go to
split"
Star tab removed. Same question as above.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_saksdirect_route-2Dcomposer_issues_5&d=DwMCaQ&c=T4LuzJg_R6QwRnqJoo4xTCUXoKbdWTdhZj7r4OYEklY&r=Zo4CWa4YKNbqTPLfdjnXbX9XDJQ4v1pgynYlG6m8h4c&m=GRwlixu3lkVLT14WcZcvNpc2h7a7l4jJJsYMNUKA8ec&s=6DGTm66dLQPhD03fOZdve5mtTT9IDCqGBLMePalWwh0&e=,
or mute the thread
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ATTjOjMHG0K9kd2z0aDnnhm-5FLjxi5xqYks5uT6X9gaJpZM4WK2xf&d=DwMCaQ&c=T4LuzJg_R6QwRnqJoo4xTCUXoKbdWTdhZj7r4OYEklY&r=Zo4CWa4YKNbqTPLfdjnXbX9XDJQ4v1pgynYlG6m8h4c&m=GRwlixu3lkVLT14WcZcvNpc2h7a7l4jJJsYMNUKA8ec&s=EJBDks4IoFdH4wzzrQGmzK44hzVcwZ1KpU55kVohUnQ&e=
.

Thanks!


KAFKA-10895: Gracefully handle invalid JAAS configs

Follow-up to https://github.com/apache/kafka/pull/9806
If an invalid JAAS config is present on the worker, invoking Configuration::getConfiguration throws an exception. The changes from #9806 cause that exception to be thrown during plugin scanning, which causes the worker to fail even if it is not configured to use the basic auth extension at all.
This follow-up handles invalid JAAS configurations more gracefully, and only throws them if the worker is actually configured to use the basic auth extension, at the time that the extension is instantiated and configured.
Two unit tests are added to test the green-path and red-path behavior of the extension when it encounters well-formed and ill-formed JAAS configurations, respectively.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Thanks for your comments, @gharris1727. I've expanded on the testing logic to try to give us stronger guarantees about the behavior of the extension; interested in your thoughts on the changes.

Thanks for your comments, @gharris1727. I've expanded on the testing logic to try to give us stronger guarantees about the behavior of the extension; interested in your thoughts on the changes.

Ping @kkonstantine this needs to be merged before any release with https://github.com/apache/kafka/pull/9806 is put out.


Profile information missing after 1.92

Steps to Reproduce

Update mobile app manually to 1.92 or automatically on web browser
Try to access profile

Attachments
As soon as I updated to the latest version I noticed I couldn't access my profile (https://bsky.app/profile/devilsminion.bsky.social), and I found one other user this happened to after updating (https://bsky.app/profile/tailspr.bsky.social). No one who updated can access my profile but those who haven't updated yet can. Profile info such as followers, following, icon and display name are missing. I have not tried on iOS.
I tried logging out and logging back in, and uninstalling and reinstalling the app.
This is the affected profile open on the older bluesky version (mobile app):

This is the affected profile open on the newer (1.92) version (mobile app):

On the web browser (Opera GX):

Trying to see my profile info on sidebar menu on a mobile browser (Opera):

Videos trying to open on both web browser and mobile app:
https://github.com/user-attachments/assets/95ec43dc-1295-4890-8ce8-c61bb6194496
https://github.com/user-attachments/assets/ed58af03-0f4e-4404-9244-218e5278972e
What platform(s) does this occur on?
Android, Web (Desktop), Web (Mobile)
Device Info
Android app v1.92, web browser Opera GX, mobile browser Opera
What version of the app are you using?
1.92
Additional Information
On developer tools, getProfile, getPreferences and getAuthorFeed are getting 200 OK.

I checked your profile record and only the URI is registered in pinnedPost.
https://atproto-browser.vercel.app/at/did:plc:ldh2ei4x5pfjus6ii4hmzykx/app.bsky.actor.profile/self
Perhaps you did set up a fixed post before with a third party client such as TOKIMEKI?
The fixed post format implemented officially this time is different from the previous format, so an error occurs on loading.
The current client supports the official format, so I think it will be resolved if you reconfigure it.

@dolciss I completely forgot I had pinned a post with TOKIMEKI (and probably wouldn't think of that either if I remembered), thank you! I redownloaded and it didn't register any pinned post, but thankfully I remembered which post was, looked it up and deleted it, and it worked! Thanks a lot!


Distribute scales linearly with proc count.

Ideally, the time taken to compute a dist node should not depend on the number of processes. I ran the following script for different proc counts:
num_procs = parse(Int, ARGS[1])
addprocs(num_procs)
using ComputeFramework
println("Number of procs = ", num_procs)
compute(Context(), distribute(BitArray(2^10)))
@time compute(Context(), distribute(BitArray(2^33)))

The output times seem to scale linearly with proc count:
Number of procs = 1
  2.239719 seconds (751 allocations: 2.000 GB, 0.51% gc time)
Number of procs = 2
  3.073824 seconds (770 allocations: 2.000 GB, 1.44% gc time)
Number of procs = 3
  4.186631 seconds (3.72 k allocations: 2.000 GB, 2.97% gc time)
Number of procs = 4
  5.485914 seconds (4.28 k allocations: 2.000 GB, 3.83% gc time)
Number of procs = 5
  6.766762 seconds (4.97 k allocations: 2.000 GB, 3.04% gc time)
Number of procs = 6
  7.805935 seconds (5.67 k allocations: 2.000 GB, 3.68% gc time)
Number of procs = 7
  9.502370 seconds (6.38 k allocations: 2.000 GB, 2.98% gc time)
Number of procs = 8
 10.497571 seconds (7.40 k allocations: 2.000 GB, 2.76% gc time)
Number of procs = 9
 11.757150 seconds (8.45 k allocations: 2.001 GB, 2.45% gc time)
Number of procs = 10
 13.046635 seconds (9.52 k allocations: 2.001 GB, 2.24% gc time)

I'm not sure why this is hapenning.

closed by https://github.com/shashi/ComputeFramework.jl/commit/d3be75fdfc80011433ccb02f6518cea3e06cb2c4


compare NameMapper and origMapper properly

https://golang.org/pkg/reflect/#Value:
Using == on two Values does not compare the underlying values they represent,
but rather the contents of the Value structs.
To compare two Values, compare the results of the Interface method.

nm, this won't work and cause a
panic: runtime error: comparing uncomparable type func(string) string.
Functions can only be compared to nil.


Does aconfig support short and long versions of fields?

I'm trying to find out if it's possible that aconfig is able to parse a field that has 2 different uses, a short version (string) and a long version (struct) which provides more detailed version of the overall use.
For example
  dependencies:
    - name: example-plugin
      url: github://someuser/somerepo
      branch: master
      release: v1.0.0

    - name: plugin-repo-without-package-file
      url: gitlab://someuser/somerepo
      branch: dev
      release:
        name: my_plugin_{{.OS}}
        tag: v2.1.3
        type: archive
        path: plugin/plugin

Would I be able to do this, where I can parse it as an interface and then handle extracting it based on it's type?

Hi, there is no direct support for this. You can try to make it via interface{} as you've mentioned but no idea how it will be :)

Ah okay, I have tried to give this ago, and unfortunately it errors out and doesn't like trying to parse an interface. Would there ever be support for this in the future?

Cannot say for sure. At first it looks like this feature is against current design (everything must be defined in a clear and 1 possible way), from the other side I'm somewhat open for the proposals.
I'm scared that this feature solves small problem and time/pr/review/support will be much higher.
Probably it's easier to change the config to tag and release for this example and forget about minimisation of the config, wdyt? :)

Okay, yeah I will give that a go and see how it goes. I was just trying to be convivence for my users. Thanks for responding.


Penn: no normalized deltas are being generated

I would expect deltas since today is March 25 and they submitted data on March 22:

Appears to be resolved. Closing for now. Likely related to #583


tsp, json-merge-patch, fix issue on patch for discriminator property

Fix https://github.com/Azure/autorest.java/issues/2615

sorry, forget the changelog. need to update that too.


No option for passphrase

Am I understanding it correct that there is no option for a passphrase instead of ssh key?

Yes, that is correct. I might be able to look into it today or tomorrow. 😊

@bjajoh Could you check if the most recent version on the main branch works for you? If it does, I will create a new release. 🎉

Can support for ssh passphrases be added with something like this? I'd make a PR if I could. Also I'm not familiar with GO, so the syntax may not be correct.
// action.yml
inputs:
  passphrase:
      description: "ssh key passphrase"
      default: ""
  proxy_passphrase:
      description: "ssh proxy key passphrase"
      default: ""
  runs:
     env:
       PASSPHRASE: ${{ inputs.passphrase }}
       PROXY_PASSPHRASE: ${{ inputs.proxy_passphrase }}

// main.go
...
	// Check if a proxy should be used.
	if proxyHost := os.Getenv("PROXY_HOST"); proxyHost != "" {
		// Create SSH config for SSH proxy.
		proxyConfig := &ssh.ClientConfig{
			Timeout:         timeout,
			User:            os.Getenv("PROXY_USERNAME"),
			Auth:            ConfigureAuthentication(os.Getenv("PROXY_KEY"), os.Getenv("PROXY_PASSPHRASE"), os.Getenv("INSECURE_PROXY_PASSWORD")),
			HostKeyCallback: VerifyFingerprint(os.Getenv("PROXY_FINGERPRINT")),
		}

...

func ConfigureAuthentication(key string, passphrase string, password string) []ssh.AuthMethod {
	// Create signer for public key authentication method.
	auth := make([]ssh.AuthMethod, 1)
	if key != "" {
		if passphrase != "" {
			targetSigner, err := ParsePrivateKeyWithPassphrase([]byte(key), []byte(passphrase))
		} else {
			targetSigner, err := ssh.ParsePrivateKey([]byte(key))
		}
		if err != nil {
			log.Fatalf("❌ Failed to parse private key: %v", err)
		}
...


On startup of release APK after 2 seconds app got crashed but working fine in Debug build APK

Steps to Reproduce

Execute flutter run on the code sample
...
...

Expected results:
Actual results:

Code sample

Logs

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.2, on Microsoft Windows [Version 10.0.19044.1766], locale en-US)
Checking Android licenses is taking an unexpectedly long time...[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[√] Chrome - develop for the web
[!] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.19)
X Visual Studio requires a reboot of your system to complete installation.
[√] Android Studio (version 2021.3)
[√] VS Code (version 1.67.0)
[√] Connected device (3 available)
[√] HTTP Host Availability

Hi @imranakhtar4848
When opening an issue, please try to provide all or some of the information indicated in the template so that we can address this issue properly.

Issue Template
If you are looking for support, please check out our documentation
or consider asking a question on Stack Overflow:
- https://flutter.dev/
- https://api.flutter.dev/
- https://stackoverflow.com/questions/tagged/flutter?sort=frequent

If you have found a bug or if our documentation doesn't have an answer
to what you're looking for, then fill our the template below. Please read
our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports

Steps to Reproduce

Please tell us exactly how to reproduce the problem you are running into.

Please attach a small application (ideally just one main.dart file) that
reproduces the problem. You could use https://gist.github.com/ for this.

If the problem is with your application's rendering, then please attach
a screenshot and explain what the problem is.

1. ...
2. ...
3. ...

Please tell us which target platform(s) the problem occurs (Android / iOS / Web / macOS / Linux / Windows)
Which target OS version, for Web, browser, is the test system running?
Does the problem occur on emulator/simulator as well as on physical devices?

Target Platform:
Target OS version/browser:
Devices:

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.

Run `flutter analyze` and attach any output of that command below.
If there are any analysis errors, try resolving them before filing this issue.

Finally, paste the output of running `flutter doctor -v` here.

To be more precise for this case, please provide the information indicated below:

Full of crash log. If it's too long, please save it as a text file and attach it here.
The output of flutter run -v and also try running app in release mode flutter run --release to see if the issue is reproducible.
Does the issue happen with the default Flutter counter project?

Thank you!


Fix zero value Cache default expiration

This PR fixes Cache default expiration.
Before, Cache had defaultExp field set to 0 (integer zero value) meaning the entry always expires immediately after the expiration is set. This PR extends init method by setting default expiration to -1 (noExp).

Codecov Report

Merging #42 (ae3fa85) into master (8231e75) will increase coverage by 0.00%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##           master      #42   +/-   ##
=======================================
  Coverage   95.81%   95.81%
=======================================
  Files           8        8
  Lines         716      717    +1
=======================================
+ Hits          686      687    +1
  Misses         26       26
  Partials        4        4

Impacted Files
Coverage Δ

imcache.go
98.90% <100.00%> (+<0.01%)
:arrow_up:


Fix Python helper so AMQP python class can use username/password

By making changes in AMQPUtils.scala, the AMQPUtilsPythonHelper class is able to accept username and password values.

lgtm :+1:
@ppatierno are you ok with the change?

Already merged ! But I was ok ;)


Add CLDR data source for subdivion translations.

This massive improves the number of translations we have available and lays the groundwork of other importers.
Thanks to @coderifous and @mig for the help on this.
This fixes #437

I perused these changes quickly and they look good to me. I think it's a better approach than what I proposed with #438 because it handles updates better (regrettably I didn't understand the way updates are currently handled and couldn't do as good a job as you did there).
Unfortunately I can't test the changes as I left Red Hat and no longer have access to the source code of the project I was working on.
One thing I noticed is that many fields where the data is presumably unknown are recorded as empty fields, and I wonder if it would be better to exclude them from the file entirely? For example, in AM.yaml:
  geo:
    latitude:
    longitude:
    min_latitude:
    min_longitude:
    max_latitude:
    max_longitude:
  name: Gegark'unik'

It seems the whole geo section can be excluded? Over all of the input files this might save some disk space, though probably not a huge amount, and it doesn't matter much with compression.

@rposborne Sounds like a reasonable approach to me! Thanks for your work!

@jawnsy  2.1.3 released which includes this change


Update build and CI for publishing on Git tag pushes

I've also added the four secrets referenced in ci.yml. I hope this is enough to enable publishing on Git tag pushes here.

I made a mistake when setting up PGP_PRIVATE_KEY before but have fixed this now so that the publish-sonatype job succeeded: https://github.com/scala-steward-org/mill-plugin/actions/runs/3687706024/jobs/6243196182


Update asar dependency to 1.0.0

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Please describe your issue:
asar 1.0.0 now has updated dependencies without which a high level "Arbitrary File Overwrite" vulnerability is present.
The dependency path to this vulnerability is electron-packager > asar > mksnapshot > decompress-zip and it described here: https://www.npmjs.com/advisories/777
asar 1.0.0 was just updated to remove dependency of mksnapshot so the vulnerability is no longer present in the no longer maintained decompress-zip

Yes, I was part of getting asar to 1.0.0. I plan on doing it when I have some free time.

Also, I plan on adding dependabot to this repository, so for future reference to visitors to this repository, issues asking for dependency version updates are not necessary.


Vite plugin or similar for hattip

I was wondering wouldn't it be good if there's some plugin for hattip (i.e: vite-hattip) that handles all the configuration like on rakkas js and we could just focus on creating api with hattip js and deploy anywhere

Working on it on the feat/cli branch. It's semi-functional but not yet complete. It will be the basis of the CLI feature tracked here.

Isn't this usable? Because i got unknown command hattip

Probably not yet. I don't really remember the last pushed state :D

Can't i get it now with some experimental flagged version?

I'm hoping to release a new HatTip and a new Rakkas this weekend. I was too busy this week. So, yes, in a day or two :)

Ok I'll wait for few days 🙂

I managed to create a vite plugin that enables hot reloading on dev mode and create output based on the adapter option provided. There may be some or many things wrong, ( although it did more than well for me). If you would like to see it or if i am able to provide some help for new release more soon i would be glad to do so 😄 .  I'll provide a link to repo if you like to check it out.


Hive seems to print out the exceptions it throws even if we catch them

@stephanh said: not sure where they are being printed from but I'm pretty sure that it is within hive although we should just make sure that that is the case and we can't disable it.

The stack traces are the result of rampant calls to printStackTrace() all over the place in the Hive codebase. That really needs sorting, and I saw a patch upstream where one was removed (as a side effect of fixing a null return somewhere) so clearly that's something they're happy to accept.
Working on this upstream; https://issues.apache.org/jira/browse/HIVE-10775
AfC

@afcowie Are you doing something on this?

@vineethvarghese Not at present. I made it as far as getting feedback from upstream, which was positive, but I couldn't get their test suite to run. That's probably down to the network connectivity problems I was having my first few weeks at CommBank, but I haven't been back to it since.


Android multiapps - Detox rearchitecture

Description

This pull request addresses the issue described here: #<?>

In this pull request, I have …

For features/enhancements:

[ ] I have added/updated the relevant references in the documentation files.

For API changes:

[ ] I have made the necessary changes in the types index file.

Epic. Love it.


I can't build the default Flutter app/ Gradle task 'assembleDebug' is taking forever.

Steps to Reproduce

I just downloaded Flutter and run it in VS code. I also run it in Android studio and the same problem occurs.
I typed the command Flutter run in the PowerShell inside VS code.

Logs

This what it shows in the Powershell
 D:\Prog\once_flutter\once_flutter>flutter run
Launching lib\main.dart on SM A705FN in debug mode...
Checking the license for package Android SDK Build-Tools 28.0.3 in C:\Users\ASUS\AppData\Local\Android\sdk\licenses
License for package Android SDK Build-Tools 28.0.3 accepted.
Preparing "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)".
Running Gradle task 'assembleDebug'...                                 -

and this is the output of Flutter doctor -v

[√] Flutter (Channel master, 1.23.0-8.0.pre.257, on Microsoft Windows [Version 10.0.18363.1016], locale en-US)
    • Flutter version 1.23.0-8.0.pre.257 at D:\Flutter\flutter
    • Framework revision 8d80592d46 (7 hours ago), 2020-10-09 16:33:39 +0200
    • Engine revision 349889833c
    • Dart version 2.11.0 (build 2.11.0-203.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\ASUS\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 50.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.49.2)
    • VS Code at C:\Users\ASUS\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.15.0

[√] Connected device (1 available)
    • SM A705FN (mobile) • R58M568NWYK • android-arm64 • Android 10 (API 29)

• No issues found!

I had the same problem.
Try to change the value "distributionUrl=https://downloads.gradle-dn.com/distributions/gradle-6.1.1-all.zip" in your_project_path/android/gradle/wrapper/gradle-wrapper.properties and build again.

I changed the gradle-wrapper.properties and run it again. still getting the same message
(This is taking an unexpectedly long time.)

Download gradle-6.1.1-all-zip from "https://downloads.gradle-dn.com/distributions/gradle-6.1.1-all.zip" and put it in your_path/.gradle/wrapper/dists/gradle-6.1.1-all/3imyvenb724qye48jp5w94wo4.

Hi @Jebrano
Please try classpath 'com.android.tools.build:gradle:3.5.0 and delete your existing cache gradle cache and run again
If the problem persists,  Can you please provide  your flutter run --verbose and a complete reproducible minimal code sample
Thank you

how can I delete everything related to Gradle and start again?
and also I'm very new to Flutter so where is I can find classpath 'com.android.tools.build:gradle:3.5.0 ?

Hi @Jebrano
[  +32 ms] "flutter run" took 288ms.
[  +16 ms] Error: No pubspec.yaml file found.
           This command should be run from the root of your Flutter project.

Please execute flutter run --verbose from the root of your project in the terminal  and paste complete logshere
VS Code shouldn't throw error there but can you please new project  and try again

Hey @TahaTesser.
I have created a new project and run flutter run --verbose here is my output
[ +101 ms] executing: [D:\Flutter\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +65 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 8d80592d46db57628ed71e2727b86427a944595b
[        ] executing: [D:\Flutter\flutter/] git tag --points-at HEAD
[  +47 ms] Exit code 0 from: git tag --points-at HEAD
[   +2 ms] executing: [D:\Flutter\flutter/] git describe --match *.*.* --first-parent --long --tags
[  +59 ms] Exit code 0 from: git describe --match *.*.* --first-parent --long --tags
[        ] 1.23.0-13.0.pre-82-g8d80592d46
[   +9 ms] executing: [D:\Flutter\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +52 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [D:\Flutter\flutter/] git ls-remote --get-url origin
[  +27 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +58 ms] executing: [D:\Flutter\flutter/] git rev-parse --abbrev-ref HEAD
[  +28 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[  +48 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] 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.
[   +3 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.
[   +2 ms] 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.
[  +69 ms] executing: C:\Users\ASUS\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +29 ms] List of devices attached
           R58M568NWYK            device product:a70qxx model:SM_A705FN device:a70q transport_id:2
[   +8 ms] C:\Users\ASUS\AppData\Local\Android\sdk\platform-tools\adb.exe -s R58M568NWYK shell getprop
[ +109 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +3 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.
[   +1 ms] 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.
[  +17 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +229 ms] Generating D:\Prog\hello_flutter\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +23 ms] ro.hardware = qcom
[  +53 ms] Starting incremental build...
[   +4 ms] Initializing file store
[   +8 ms] Skipping target: gen_localizations
[  +19 ms] complete
[  +18 ms] Launching lib\main.dart on SM A705FN in debug mode...
[   +5 ms] D:\Flutter\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
D:\Flutter\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
D:\Flutter\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata
-Ddart.developer.causal_async_stacks=true --output-dill C:\Users\ASUS\AppData\Local\Temp\flutter_tools.ebdcfe7b\flutter_tool.27b38c03\app.dill --packages .packages
-Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts
--track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build\01094840f26094a3fe371d8be6b9cb48.cache.dill.track.dill
--flutter-widget-cache
[  +67 ms] executing: C:\Users\ASUS\AppData\Local\Android\sdk\platform-tools\adb.exe -s R58M568NWYK shell -x logcat -v time -t 1
[  +45 ms] <- compile package:hello_flutter/main.dart
[ +180 ms] --------- beginning of main
                    10-15 03:25:20.978 D/ISG_Wakeup_Verify_Algo(20083): kwd_score: 0.2088, kwd_score-OOV: 0.2088, flag(0), peakCount(0), TimeElapsed(201855)
[  +31 ms] executing: C:\Users\ASUS\AppData\Local\Android\sdk\platform-tools\adb.exe version
[  +79 ms] Android Debug Bridge version 1.0.41
           Version 30.0.4-6686687
           Installed as C:\Users\ASUS\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +3 ms] executing: C:\Users\ASUS\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[  +67 ms] Building APK
[  +18 ms] Running Gradle task 'assembleDebug'...
[  +27 ms] gradle.properties already sets `android.enableR8`
[  +36 ms] Using gradle from D:\Prog\hello_flutter\android\gradlew.bat.
[  +21 ms] D:\Prog\hello_flutter\android\gradlew.bat mode: 33279 rwxrwxrwx.
[  +15 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +122 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[   +1 ms] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
           OpenJDK 64-Bit Server VM (build 25.242-b01, mixed mode)
[  +28 ms] executing: [D:\Prog\hello_flutter\android/] D:\Prog\hello_flutter\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm64
-Ptarget=D:\Prog\hello_flutter\lib\main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+7339 ms] FAILURE: Build failed with an exception.
[   +2 ms] * What went wrong:
[  +63 ms] Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
[   +2 ms] > Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
[   +5 ms]    > Could not resolve io.flutter:flutter_embedding_debug:1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.
[  +91 ms]      Required by:
[        ]          project :app
[        ]       > Could not resolve io.flutter:flutter_embedding_debug:1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.
[   +1 ms]          > Could not get resource
'https://storage.googleapis.com/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/flutter_embedding_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'.
[   +2 ms]             > Could not GET
'https://storage.googleapis.com/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/flutter_embedding_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'. Received status code 403 from server: Forbidden
[   +9 ms]       > Could not resolve io.flutter:flutter_embedding_debug:1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.
[  +62 ms]          > Could not get resource
'https://storage.googleapis.com/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/flutter_embedding_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'.
[  +64 ms]             > Could not GET
'https://storage.googleapis.com/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/flutter_embedding_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'. Received status code 403 from server: Forbidden
[  +26 ms]       > Could not resolve io.flutter:flutter_embedding_debug:1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.
[   +2 ms]          > Could not get resource
'https://storage.googleapis.com/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/flutter_embedding_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'.
[   +2 ms]             > Could not GET
'https://storage.googleapis.com/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/flutter_embedding_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'. Received status code 403 from server: Forbidden
[  +34 ms]    > Could not resolve io.flutter:arm64_v8a_debug:1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.
[  +32 ms]      Required by:
[   +1 ms]          project :app
[  +26 ms]       > Could not resolve io.flutter:arm64_v8a_debug:1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.
[   +1 ms]          > Could not get resource
'https://storage.googleapis.com/download.flutter.io/io/flutter/arm64_v8a_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/arm64_v8a_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'.
[   +2 ms]             > Could not GET
'https://storage.googleapis.com/download.flutter.io/io/flutter/arm64_v8a_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/arm64_v8a_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'. Received status code 403 from server: Forbidden
[   +1 ms]       > Could not resolve io.flutter:arm64_v8a_debug:1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.
[        ]          > Could not get resource
'https://storage.googleapis.com/download.flutter.io/io/flutter/arm64_v8a_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/arm64_v8a_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'.
[  +29 ms]             > Could not GET
'https://storage.googleapis.com/download.flutter.io/io/flutter/arm64_v8a_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/arm64_v8a_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'. Received status code 403 from server: Forbidden
[   +4 ms]       > Could not resolve io.flutter:arm64_v8a_debug:1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.
[  +26 ms]          > Could not get resource
'https://storage.googleapis.com/download.flutter.io/io/flutter/arm64_v8a_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/arm64_v8a_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'.
[   +3 ms]             > Could not GET
'https://storage.googleapis.com/download.flutter.io/io/flutter/arm64_v8a_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/arm64_v8a_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'. Received status code 403 from server: Forbidden
[   +2 ms]    > Could not resolve io.flutter:x86_debug:1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.
[  +42 ms]      Required by:
[   +7 ms]          project :app
[   +3 ms]       > Could not resolve io.flutter:x86_debug:1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.
[  +50 ms]          > Could not get resource
'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/x86_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'.
[   +2 ms]             > Could not GET
'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/x86_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'. Received status code 403 from server: Forbidden
[   +1 ms]       > Could not resolve io.flutter:x86_debug:1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.
[   +1 ms]          > Could not get resource
'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/x86_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'.
[   +1 ms]             > Could not GET
'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/x86_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'. Received status code 403 from server: Forbidden
[   +1 ms]       > Could not resolve io.flutter:x86_debug:1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.
[   +1 ms]          > Could not get resource
'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/x86_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'.
[   +1 ms]             > Could not GET
'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/x86_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'. Received status code 403 from server: Forbidden
[   +1 ms]    > Could not resolve io.flutter:x86_64_debug:1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.
[        ]      Required by:
[  +24 ms]          project :app
[   +3 ms]       > Could not resolve io.flutter:x86_64_debug:1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.
[   +1 ms]          > Could not get resource
'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_64_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/x86_64_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'.
[   +1 ms]             > Could not GET
'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_64_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/x86_64_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'. Received status code 403 from server: Forbidden
[   +1 ms]       > Could not resolve io.flutter:x86_64_debug:1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.
[        ]          > Could not get resource
'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_64_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/x86_64_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'.
[   +1 ms]             > Could not GET
'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_64_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/x86_64_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'. Received status code 403 from server: Forbidden
[  +21 ms]       > Could not resolve io.flutter:x86_64_debug:1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.
[   +3 ms]          > Could not get resource
'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_64_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/x86_64_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'.
[   +1 ms]             > Could not GET
'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_64_debug/1.0.0-349889833c6f66586d775b7d0978a870b48ebd57/x86_64_debug-1.0.0-349889833c6f66586d775b7d0978a870b48ebd57.pom'. Received status code 403 from server: Forbidden
[   +1 ms] * 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 7s
[ +296 ms] Running Gradle task 'assembleDebug'... (completed in 8.5s)
[   +4 ms] Exception: Gradle task assembleDebug failed with exit code 1
[  +19 ms] "flutter run" took 9,725ms.
[  +23 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:618:7)
           <asynchronous suspension>
           #2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1001:18)
           #3      _rootRunUnary (dart:async/zone.dart:1198:47)
           #4      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #5      _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #6      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #7      Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #8      Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #9      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
           #10     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
           #11     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
           #12     _rootRunUnary (dart:async/zone.dart:1198:47)
           #13     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #14     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #15     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #16     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #17     Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #18     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
           #19     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
           #20     AndroidDevice.isLocalEmulator (package:flutter_tools/src/android/android_device.dart)
           #21     _rootRunUnary (dart:async/zone.dart:1198:47)
           #22     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #23     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #24     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #25     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #26     Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #27     Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:567:7)
           #28     _rootRun (dart:async/zone.dart:1190:13)
           #29     _CustomZone.run (dart:async/zone.dart:1093:19)
           #30     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
           #31     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
           #32     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
           #33     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
           #34     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
           #35     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

[ +278 ms] ensureAnalyticsSent: 252ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hook priority 4
[  +22 ms] Shutdown hooks complete
[   +1 ms] exiting with code 1```

Hi @Jebrano
You getting  Received status code 403 from server: Forbidden
Are you using any private network or VPN?  Are you on a stable connection?

That was it. I feel bad for not reading all the logs, I just had to turn on VPN bc I'm in a restricted country.
Thanks Very much @TahaTesser .


Implement dolphin.add(), remove() etc.

Implement create(), add(), addAll(), remove(), removeIf(), removeAll(), and isManaged()

Closed because this is based on a very old version of the API. Today this do not make any sense.


Improve completion after new

If we are instantiating an nonexistent item add it to the list and notify about its missing state.
If we are instantiating a generic type, add it with the index type to the list.
This closes #71.

Sample:

EDIT: There are some artifacts in the GIF for some reason.

#1346 should be closed after merge this PR

Why? That PR may bring other UX improvements, I don't think they are incompatible.

oh sorry

I had to write the PR in a rush, so maybe some more details are welcome:
The first case is nice when prototyping or writing some code before the implementation.
The second case with just Map wouldn't select the proper item in the list right now.
I know the third case could be solved in a similar way to how Vector completion works in AS3, but I really believe in this being a better solution as the developer has more power of choice and a better view on what he selects.
I removed the code in CompletionList.Select because in the long run it doesn't make sense and was part of the problem with #71.
I checked AS3 Vector works fine, anyway you can check the build from the CI server.

@Neverbirth please check:
AS3
var a:Array/*of int*/ = new |
var v:Vector.<*> = new |

I think the second case is a problem in another part of code for what I already have a fix, but I'll take a look just in case. The first one is a missing case.

I see the first case also had problems back in the day, due to its special handling. It would probably make more sense to refactor that part and make it behave like Vector and Haxe generics, but will leave it for the moment as is.
I see Vector.<*> is a completely unrelated problem... it's been wrongly parsed for quite a long time (every version I've tried so far). I'll hack this one for now.


Mid0076 (Alarm status) always creates revision 3

If a Mid0076 is created using a revision 1/2/3 constructor, it always is revision 3, because there are no revision arguments in the constructors. Therefore always LAST_REVISION, which is 3, is used.
By the way, revision 3 cannot be used, because Mid0070 (Alarm subscribe) only supports revision 2.

It is a big issue here, because two large companies are affected and the workflow is blocked.
But because I`ve been able to use the workaround from my comment above, you have all the time you need to fix it.

Hello Inge,
Had to fix another issues that had no workaround and already implemented the necessary fix to Mid0076. Version 3.6.2 available!


Module Metrics- PROMIS related metrics

Hi Kelsey, For the PROMIS metrics, can you add the following:
Only among those who are eligible for PROMIS (so drop off the 'not yet eligible' people and keep those who are PROMIS flag = not started, started, submitted), we'd like to know the PROMIS response rate stratified by these four groups:

Completed baseline survey Modules 1-4
Collected any baseline biospecimen (blood, urine, or mouthwash)
Completed both of the above
Completed neither of the above

Since the PROMIS metrics are in the operations report, please add this new metric there

@brotzmanmj  Please let me know how the updated Table 67 and new Table 68 look.

Hi @KELSEYDOWLING7 Thanks for doing these so quickly.
For Table 67,  please change the last column header to 'Total QOL Eligible Participants' as opposed to total verified participants.
And change title to' Completion of 3-Month Quality of Life Survey among Eligible Participants'
For Table 68, let's make the rows labels a little clearer
Completed all baseline survey modules 1-4, no baseline samples
Completed any baseline sample, did not complete baseline survey
Completed both survey and sample(s)
Completed neither survey or sample(s)
And change title to 'Completion of 3-Month Quality of Life Survey by Baseline Data Completeness'

@brotzmanmj  No problem! Sorry, I was OOO yesterday. Please see the updated tables below

Hi @KELSEYDOWLING7 all looks good except still need the change to the title for Table 67

My mistake! that has now been updated

Great, thanks!


Loss of properties when using styled-component

Description of bug
When transforming component into a styled-component it loses properties as the type.
To Reproduce
Steps to reproduce the behavior:

Create a styled-component with the input type unform
ex:

import { Form, Input } from "@rocketseat/unform";
const InputText = styled(Input)`
  display: block;
`;

import or component
try changing the type to number
See error

Expected behavior
list all properties

Hi @Fagneregomes, can you provide us a code sandbox demonstrating the code?

Hello @diego3g I'm facing the same problem, here is the codesandbox

@linconkusunoki I just checked your sandbox, and it is missing a name prop so we can register the field, that is why you're running into an error.
I've forked your sandbox, providing the correct fixes:
https://codesandbox.io/s/agitated-water-xd287

@jpdemagalhaes oh... I did not realize this error, yet I think it's a good idea return a better error message in this case. I also have added the type="number" to test the original error and its working properly

I'll be closing this @Fagneregomes as it seems that @jpdemagalhaes solved the problem.
But feel free to reopen this issue in case you feel like we missed something ❤


Error with installing and loading IMGT output

Hi,
I’m trying to install immunarch in R with:

install.packages("immunarch")

But I get the following error:
Warning message:
package ‘immunarch’ is not available (for R version 3.6.1)
I also tried installing it in R version 3.2.3 and it gave the same error.
Because this didn’t work I installed the pre-release version and tried to load IMGT output data. But then I also get an error:

install.packages("devtools")
devtools::install_url("https://github.com/immunomind/immunarch/raw/master/immunarch.tar.gz")
imgtdata=repLoad("path_to_file", .format="imgt")
== Step 1/3: loading repertoire files... ==
Processing "path_to_file" ...
-- Parsing "path_to_file/1_Summary.txt" -- imgt
Warning: 2 parsing failures.
row col   expected    actual                                                                          file
1  -- 34 columns 4 columns 'path_to_file/1_Summary.txt'
1  -- 34 columns 4 columns 'path_to_file/1_Summary.txt'

Warning: 12330 parsing failures.
row col   expected    actual                                                                          file
1  -- 34 columns 4 columns 'path_to_file/1_Summary.txt'
2  -- 34 columns 4 columns 'path_to_file/1_Summary.txt'
3  -- 34 columns 4 columns 'path_to_file/1_Summary.txt'
4  -- 34 columns 4 columns 'path_to_file/1_Summary.txt'
5  -- 34 columns 4 columns 'path_to_file/1_Summary.txt'
... ... .......... ......... .............................................................................
See problems(...) for more details.
Error in if (any(str_detect(.name[i], c("TCRA", "TRAV", "TCRG", "TRGV",  :
missing value where TRUE/FALSE needed
In addition: Warning messages:
1: Missing column names filled in: 'X34' [34]
2: Missing column names filled in: 'X34' [34]

Hi @Tjitskedv
thank you for using our package!
Regarding CRAN: immunarch is not yet on CRAN, so the correct way to install it is indeed via devtools.
Regarding the repLoad issue. Can you please send us at<EMAIL_ADDRESS>a sample of your data so we can test it and fix it?

The issue was solved.

@Tjitskedv ping. How it's going? Have you managed to install the last version of the package? Is there any other troubles you have?

@Tjitskedv ping

Sadly, we didn't manage to reproduce the issue. Please feel free to re-open this issue in case of a similar problem and send us a sample of your file to<EMAIL_ADDRESS>


Firebase Analytics Android not working

I added analytics sdk recently and I am not seeing any events in firebase console (both on events and debug view). For crashlytics I see the fatal and not fatal exceptions correctly in firebase console.

Any updates about this?

It happened to me when I disabled Firebase's content-provider in Manifest by:
<provider
   android:authorities="${applicationId}.firebaseperfprovider"
   android:name="com.google.firebase.perf.provider.FirebasePerfProvider"
   tools:node="remove" />

And initialized Firebase with Firebase.initialize(this, options) in the Application class.
But when I deleted Firebase initialization from the Application class and reenabled Firebase's content-provider (removed the code above from Manifest), analytics started to work correctly.


CultureInfo.CurrentCulture returning invariant culture

When using the CultureInfo.CurrentCulture property to determine what culture the current thread is using it allways returns invariant culture.
In the follow code I have used on deck.net and in our own application, I have seen the same results across 2 different PC's, both using a en-GB (UK) culture version of windows.
Steps To Reproduce
https://deck.net/352d4cca4c39dbf0618060c633740121
public class Program
{
    public static void Main()
    {
        var dt = DateTime.Now;

        Console.WriteLine("Original DateTime: " + dt);
        Console.WriteLine("ToLocaleString: " + dt.ToLocaleString());
        Console.WriteLine("ToLocalTime: " + dt.ToLocalTime());
        Console.WriteLine("ToStringWithCulture: " + dt.ToString("MM/dd/yyyy", CultureInfo.CurrentCulture));
        Console.WriteLine("ToShortDate: " + dt.ToShortDateString());

        var culture = CultureInfo.CurrentCulture;

        Console.WriteLine(culture);
    }
}

Expected Result
Note: I'm not 100% sure that ToLocalTime should affect the date formating of the date time, but I have changed here to match others.
Original DateTime: 07/26/2017 09:06:23
ToLocaleString: 26/07/2017, 09:06:23
ToLocalTime: 26/07/2017 09:06:23
ToStringWithCulture: 26/07/2017
ToShortDate: 26/07/2017
{
  "name": "en-GB",
  "englishName": "English (United Kingdom)",
  "nativeName": "English (United Kingdom)".
...

Actual Result
Original DateTime: 07/26/2017 09:06:23
ToLocaleString: 26/07/2017, 09:06:23
ToLocalTime: 07/26/2017 09:06:23
ToStringWithCulture: 07/26/2017
ToShortDate: 07/26/2017
{
  "name": "iv",
  "englishName": "Invariant Language (Invariant Country)",
  "nativeName": "Invariant Language (Invariant Country)",
...

As an update to this, CultureInfo.GetCultures() is only returning a single culture:
https://deck.net/629e67c1d6a0375f6c1d44522188fd86

Please use locales config property to attach required locales
https://github.com/bridgedotnet/Bridge/wiki/global-configuration#locales

Discussion about current locale
https://forums.bridge.net/forum/community/help/4241-default-cultureinfo

Cool cheers :)


Use icon classes dynamically (from prop)

Hello,
so I have a component that has an icon as definedProp and I would it like to work like this
const props = defineProps<{icon?: string}>();
.
.
.

When I use it like
<MyComponent icon="printer" />
it is not working... I just get rendered

without an actual svg
if I do
<carbon-printer> it actually work

https://windicss.org/guide/extractions.html#extractions

This is expected behavior, please use full name instead of it.  ( #785 )
If the behavior is predictable, try using the safelist

Icons should be prefixed with i-. Please share a minimal reproduction otherwise it hard to help without your configuration.

Icons should be prefixed with i-. Please share a minimal reproduction otherwise it hard to help without your configuration.

https://github.com/PMLS3/nuxt3-unocss.git
Here is a minimal setup - thank you

You must install mdi dep


[5.2][SourceKit] Still report modulename in CursorInfo when .swiftsourceinfo files are present

Cherry-pick of https://github.com/apple/swift/pull/29702 by @johnfairh

Explanation:
SourceKit's cursor-info request (used for jump to definition support among other things) would previously include the module of the symbol under the cursor in its response if the symbol came from a different module to the one the target source file belongs to. The check for it being in a different module was more specific than it should have been, however, and assumed that symbols from other modules would not have source locations. That assumption doesn't hold anymore because of the new .swiftsourceinfo files that provide source locations for symbols from other modules, so we ended up never reporting the module name if these files were present.

Scope of issue:
This impacts several open source tools that are using SourceKit and is a regression relative to the previous release.

Origination: This regressed due to the introduction of .swiftsourceinfo files which provided source locations for symbols from other modules, breaking an assumption in the existing code.

Risk: Low. This only affects SourceKit's cursor info request for symbols from other modules, and is restoring its previous behavior.

Testing: John's changes include a fix for my existing regression test for this case which wasn't strict enough in its textual matching of the module name in the response. Apart from running the test suite with the updated test, I also verified this change in Xcode to make sure it doesn't affect Xcode's jump-to-definition functionality.

Reviewers: Myself (@johnfairh found and contributed the fix for this issue)

Resolves rdar://problem/59359894

@swift-ci please test

@swift-ci please nominate


feat: add persistence to package manager choice

🔗 Linked issue
Resolves nuxt/nuxt#28499
❓ Type of change

[x] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality)
[x] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Adds a new content type in the docs for package manager instructions. When the user selects a package manager, the choice of package manager will be:

Synced across all package manager code groups in real time
Persisted between sessions, by saving the preference to localstorage

If the persisted package manager is not available for a given codegroup, the preference will default to npm.
All package manager code groups have been updated to the order npm -> yarn -> pnpm -> bun. An accompanying PR (nuxt/nuxt#28514) has been opened on nuxt/nuxt, to utilize this new PackageManagers component.
Implementation choices
Watches exposed property selectedIndex from the Nuxt UI Pro CodeGroup component. On selecting a new package manager, all package managers code groups will update instantly.  This document-wide update is done using a document event listener. While a state management system like Pinia could be used to do this, I didn't find anything like that installed yet, and this small feature didn't justify adding the dependency in my opinion.
In order to allow flexibility with what package managers are available, I opted to not implement automatic sorting of the available package managers in the code groups. Instead, the PackageManagers component dynamically gets the index of the persisted package manager. This means that regardless of the order of package managers passed to the component, the correct package manager will be selected.

@Flosciante from my debugging efforts, I can't isolate this PR as the cause of the warning. I'm getting the same warnings in the console when:

Visiting a page without the new component, like http://localhost:3000/docs/getting-started/views
Running the latest commits from before this PR (nuxt.com: bfae88ad, nuxt: 1e49d2c91)

At least this is what happens when I run it locally. Are you getting similar results?

oh you're right, my fault I should have checked without this PR too ! I think we can open an issue on the production site in this case :-) so, LGTM on your PR, I'll let you make transition to nuxt/nuxt to say that it's ok on the nuxt.com side ^^


Enable specifying a specific Git ref to use when analyzing a repository.

Today, Hipcheck just analyzes a repository's "current" checked out ref. For a remote repository, this means the default branch of the repo (usually main or master, but it's really whatever the default is on the remote). For a local repository, that means whatever ref is currently checked out.
However, it is sometimes desirable to target a specific ref, for example the ref for a specific tagged version, rather than just "latest" on the current branch. To support this, we should add a --ref flag to the hc check CLI which allows specifying a Git ref. We may want to do some parsing here to provide nice error messages, but under the hood we would likely just be passing the ref to git checkout. See the Git docs for more information about refs: https://git-scm.com/book/en/v2/Git-Internals-Git-References
One thing to note is that, for remote repositories, this is easy. We already clone the repository locally, so if a ref is provided we can just add a step to checkout that ref before proceeding with analysis.
For a local repository it is slightly more complicated. If the repository is in a state where git checkout <ref> can work (meaning, there are no untracked changes which would be lost), then we could simply record the checkout that was present before, switch it to the one we want, then switch back when Hipcheck is done. This raises a challenge: if Hipcheck is killed before it can finish, we've silently left the target of analysis on a different checkout. Even if we try to install a signal handler for graceful shutdowns, hard shutdowns which bypass it are still possible.
If the repository is not in a state where Hipcheck can run git checkout, then we're in a tougher spot.
The "most correct" option to do in all cases would, if a ref is specified, be to clone the local repo into the cache directory, to avoid mutating the one already on disk. Then we can freely checkout other refs on our clone without worrying about leaving things in a bad state.
Landing this new --ref flag would also work with other future improvements, like supporting "VCS URLs" for specifying targets, which are permitted to embed a ref, or for trying to checkout a specific version tag when given a package version for the "package to source repository" target code path.

@j-lanson I believe we've achieved this, but want to confirm before closing.

Actually, going to close and we can open new issues for any specific further enhancements.


Add Arduino Examples

It would be great if we could get examples of common arduino libraries and their usage added to this Azure guide.  I used PubSubClient and WiFiClientSecure on the ESP32 to connect to my IoT Hub, and it was a very painful process since most Arduino examples on the internet are not geared towards Azure.
The biggest setback that I experienced was that the maximum MQTT packet size for PubSubClient was set to 128 bytes, which was too small for the Azure SAS tokens.  I had to fork the PubSubClient repo and manually set MQTT_MAX_PACKET_SIZE to 1280 bytes, which made my "MQTT_DISCONNECTED" errors (return code -1) finally disappear.
I understand that an Arduino SDK already exists for the ESP32, but the other arduino libraries offer greater flexibility (for instance, for integrating with a GSM modem through the Arduino "Client" class format).  Arduino examples would go a long way towards making life easier!

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

ID: bcf2a86a-1de0-2786-db87-58279ceffb22
Version Independent ID: 7e43624f-a87d-1c4d-94e6-e38c1d42686f
Content: Understand Azure IoT Hub MQTT support
Content Source: articles/iot-hub/iot-hub-mqtt-support.md
Service: iot-hub
GitHub Login: @rezasherafat
Microsoft Alias: rezas

@CoolNamesAllTaken Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

#reassign JimacoMS3

Hi @CoolNamesAllTaken,
Thanks for your feedback! Since you opened this issue, several ESP32 samples have been added to the Azure IoT Device Workbench, which is now part of the IoT Tools Extension pack for VS Code.  Once you add this extension pack to your VS Code environment, you can see the ESP32 specific examples by entering the Azure IoT Device Workbench: Open Examples command in the command palette and selecting Generic ESP32 boards from the drop-down. You'll see a list of samples that looks similar to this:

You can also find some ESP32 examples in the Code Samples available on Microsoft Docs.
Hopefully, these additional samples will be helpful. As a general rule, we tend not to document the usage of 3rd party software directly in our documentation since we don't have control over release cycles, etc.
Thanks again for your feedback,
Jimaco

Hi @CoolNamesAllTaken,
I'll leave this open for a few days and then move to close it. Please let me know if there's anything else I can do.
Thanks,
Jimaco

All good, thanks Jimaco!
On Mon, Aug 3, 2020 at 10:14 AM Jimaco Brannian<EMAIL_ADDRESS>wrote:

Hi @CoolNamesAllTaken https://github.com/CoolNamesAllTaken,
I'll leave this open for a few days and then move to close it. Please let
me know if there's anything else I can do.
Thanks,
Jimaco
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/28405#issuecomment-668139352,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACFEZINK24PEILCHEM6TXJDR63WARANCNFSM4HCRESNA
.

Awesome -- thanks!

#please-close


app tag usage?

Hi. I've been looking around the source code of Vue and a ton of examples, and there's a thing that I just don't find documented anywhere.
When/Why should I use the `````` tag?
https://github.com/vuejs-templates/webpack/blob/master/template/src/index.html#L8
... the lack of this tag in my template caused me a 2 hour debugging marathon yesterday, since my Vue app didn't render.
Thanks!

In https://github.com/vuejs-templates/webpack/blob/master/template/src/main.js#L7 we are mounting the root instance onto <body>, with a child component named App - which will be rendered into the <app></app> tag.


MINIFICPP-1028 - http url parsing without port fails

Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with MINIFICPP-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file?
[ ] If applicable, have you updated the NOTICE file?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

Thanks! We have this in a few places throughout the project, but those may be for testing. We've had this issue for other cases that tripped us up -- makes me wonder if we could just use civetweb for something like this.

cURL has a dedicated URL API, that can parse URLs: https://github.com/curl/curl/blob/master/include/curl/urlapi.h
However, that would require everything that would want to use this to depend on cURL, and while I am all for not using homecooked parsers, I am not sure whether that's something we want.

Thanks! We have this in a few places throughout the project, but those may be for testing. We've had this issue for other cases that tripped us up -- makes me wonder if we could just use civetweb for something like this.

cURL has a dedicated URL API, that can parse URLs: https://github.com/curl/curl/blob/master/include/curl/urlapi.h
However, that would require everything that would want to use this to depend on cURL, and while I am all for not using homecooked parsers, I am not sure whether that's something we want.

Yeah a few of us previously discussed breaking that out -- then someone suggested using civet's parsers. Civet, at the time, was not an extension; however, now that we have a 'classloader' like capability we could specialize the parser based on extensions and have URLParser use a variant that relies on curl if it is built. cURL support will be quite prevalent, so we would rely on their more tested parser. That would mean we must still maintain ours, but have clear documentation that using our parser may have risk versus the one in curl-land.


Handle comma after moving lines

Simple json example:
{
	"foo": 5,
	"bar": true
}

When you move "bar": true above (Move Line Up command, alt+up) this happens:
{
	"bar": true
	"foo": 5,
}

Ideally:

for "bar" key comma should be added
for "foo" key comma should be removed

For the sake of simplicity:

Let's override alt+up alt+down commands for json & jsonc languages: example
You should jsonc-parser parse probably to determine wether target line is last node

First working basic code:
import { parseTree, findNodeAtOffset, Node } from 'jsonc-parser'

if (!doc) throw new Error('')
if (!editor) throw new Error('')

let swapDirection = -1 as 1 | -1

let root = parseTree(doc.getText())
if (!root) throw new Error('')

// todo do the same for each cursor

let line = doc.lineAt(editor.selection.start)

let node = findNodeAtOffset(root, doc.offsetAt(line.range.start.with(undefined, line.firstNonWhitespaceCharacterIndex)))
if (node?.parent?.type === 'property') node = node.parent
const parent = node?.parent
if (!node || !parent?.children) throw new Error('')
const nodeIndex = parent.children.indexOf(node)

const swapNode = findSiblingNode(parent.children, nodeIndex, swapDirection, line.lineNumber)
if (!swapNode) throw new Error('No swap node')

const isNodeIndexLast = (i: number) => i === parent.children!.length - 1

// todo check line
const swapLine = doc.lineAt(line.lineNumber + swapDirection)
const swapNodeIndex = parent.children.indexOf(swapNode)

const removeTrailingComma = (text: string) => {
    // todo handle comments & trailiing whitespaces
    return text.replace(/,$/, '')
}

const addTrailingComma = (text: string) => {
    // todo handle comments & trailiing whitespaces
    if (text.endsWith(',')) return text
    return `${text},`
}

let curLineText = line.text
let swapLineText = swapLine.text

if (swapDirection === 1 && isNodeIndexLast(swapNodeIndex)) {
    curLineText = removeTrailingComma(curLineText)
    swapLineText = addTrailingComma(swapLineText)
}
if (swapDirection === -1 && isNodeIndexLast(nodeIndex)) {
    curLineText = addTrailingComma(curLineText)
    swapLineText = removeTrailingComma(swapLineText)
}

editor.edit(edit => {
    edit.replace(line.range, swapLineText)
    edit.replace(swapLine.range, curLineText)
})

function findSiblingNode(list: Node[], index: number, swapDirection: 1 | -1, curLineNumber: number) {
    let lastCorrentNode: Node | undefined
    while (true) {
        index += swapDirection
        const nextNode = list[index]
        if (!nextNode) break
        const { line: nodeLine } = doc!.positionAt(nextNode.offset)
        if (nodeLine === curLineNumber) continue
        if (nodeLine === curLineNumber + swapDirection) {
            // probably there are other nodes on this line
            lastCorrentNode = nextNode
            continue
        }
        // have gone too far otherwise
        break
    }
    return lastCorrentNode
}

The feature was more complicated than I thought, so the implementation is a bit delayed.

Just made it possible to move whole statements for any language (including JSON), and it seems to be handling commas after moving very well: https://github.com/zardoy/vscode-move-statement, so I'm not priorizing this issue. On the other hand for existing workflows, when user uses existing builtin move lines commands we can also help him to manage commas. So I'm up for implementing this one just to make out-of-the-box experience even better.

This extension (like your solution above) works well on single-level JSON. But when the transition from one level to another appears problems. That's why I have a delay in implementing this feature (I also have a deadline at work now, so I can't devote much time to extensions)


zoomToBoundingBox animate to MyLocation but not markerPoints

BoundingBox bounds = BoundingBox.fromGeoPoints(mapPoints.keys.toList());
await controller.zoomToBoundingBox(bounds, paddinInPixel: 300);
The zoomToBoundingBox animation goes to my location, not my points
If you disable trackMyPosition: false, then the zoomToBoundingBox animation will work correctly
How to make it so that when the trackMyPosition: true setting is enabled,
Did the zoomToBoundingBox animation move me to my points?
flutter_osm_plugin 0.42.0

ok i will fix that bug

Are there any successes?
I want the user's location to be shown, but the animation priority is for zoomToBoundingBox

if you enable theTracking and zoomToBoundingBox , you need to disable the follow of the user location
we added enableStopFollow in enableTrackingto disable follow so you can use zoomToBoundingBox
In general enableTracking and zoomToBoundingBox t2 things are opposite


plasma5: load kwayland-integration plugin

Motivation for this change
Fixes: #118650
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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.

Result of nixpkgs-review pr 139537 at de5ffe51 run on aarch64-linux 1

20 packages failed to build:

libsForQt512.kbookmarks
libsForQt512.kcrash
libsForQt512.kemoticons
libsForQt512.kglobalaccel
libsForQt512.knotifications
libsForQt512.kservice
libsForQt512.ktextwidgets
libsForQt512.kwallet
libsForQt512.kwindowsystem
libsForQt512.kxmlgui
libsForQt514.kbookmarks
libsForQt514.kcrash
libsForQt514.kemoticons
libsForQt514.kglobalaccel
libsForQt514.knotifications
libsForQt514.kservice
libsForQt514.ktextwidgets
libsForQt514.kwallet
libsForQt514.kwindowsystem
libsForQt514.kxmlgui

730 packages skipped due to time constraints:

ajour
calamares
calligra
copyq
digikam
falkon
fcitx5-configtool
fcitx5-with-addons
gmic-qt-krita
heaptrack
...

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.

Though about Qt plugin impurities and environment, the ship sailed long ago I think.

Unfortunately true.


Improve tuning options

Measurement interval is currently hardcoded. Should at least be tunable on deployment.
Review the code for other items that should be user tunable on deployment.
Consider if any items should be dynamically tunable without redeployment.

Initially making "samplingRate" a deployment tunable. (This is a learning exercise for other work items.)

Finished updates than enable "samplingRate" to be customized by specifying the environment variable SUSQL_SAMPLING_RATE to the desired interval of seconds between sampling.  The default value is 2.
This commit can also serve as an example of how to add deployment customizable parameters.


51 Requirements Install Bug fix

Cleanup: Moved PythonPackageBuildAction to it's own file.
Fixed the bug by using the path relative to the tapFolder when running requirements.txt.

@alan-copeland-keysight, does this fix your issue?

@rmadsen-ks  - Is there a way to download the artifact / package from this PR? or do I have to build it myself?

Nevermind, I found it


Add human statement to emphasize that _desc is the last entity

Partially addresses #1895
attn @arokem

Thanks! I don't think this quite covers the issue raised in #1895 though, because this points to a specific example, without stating explicitly that this is the convention for other cases as well. Does that make sense?

Good observation @arokem !  our problem is that we do not really introduce _desc anywhere before.  For now I just adjusted original description that it doesn't really close that issue, but I think for this could be a quick enhancement.

I realized the other day that I now wish that we had put hemi- last. e.g., this would be preferable:
sub-01_desc-custom_hemi-L_white.surf.gii
sub-01_desc-custom_hemi-R_white.surf.gii
sub-01_desc-freesurfer_hemi-L_white.surf.gii
sub-01_desc-freesurfer_hemi-R_white.surf.gii

to
sub-01_hemi-L_desc-custom_white.surf.gii
sub-01_hemi-L_desc-freesurfer_white.surf.gii
sub-01_hemi-R_desc-custom_white.surf.gii
sub-01_hemi-R_desc-freesurfer_white.surf.gii

It seems to me that desc- is not a grouping entity, like echo- or part- (or hemi-) and generally we probably want grouping entities toward the back and distinguishing entities toward the front.
So if we have something like components and a mixing matrix that are distinguished by entity, we might prefer:
sub-01_task-rest_desc-ICA_<key>-components_<suffix>.<ext>
sub-01_task-rest_desc-ICA_<key>-mixing_<suffix>.<ext>

This is not grounded in a particular BEP, but just a thing to consider before we codify this.

I think your motivation @effigies relates to fresh

https://github.com/bids-standard/bids-specification/issues/1949

as a more generic rule of entities composition.

generally we probably want grouping entities toward the back and distinguishing entities toward the front.

well, sub- is a very groupping entity ;)  overall it all depends on the case and there might be no universally best order.  May be could be in part or fully addressed as part of the

https://github.com/bids-standard/bids-2-devel/issues/54
(some drafty beginning of work on it): https://github.com/bids-standard/bids-specification/pull/1809/files#diff-efe09d8f5bbcea3e5772ac9f06f13e149454fbdfc00b1aa286a25aac7c2d7303R185

as that one already would require change of the order of entities in the folders/filenames.  Hence could as well be extended to the customization of entities to fit "the best" order.

To be clear, by "grouping entity", I mean one that can be varied without changing the overall meaning of the files. Different parts or echos indicate multiple files that should be considered together. Different tasks or subs need separate consideration.


docs/api: document the /logs endpoint wire format

This was not documented anywhere. So I'm adding a piece of explanation about the /logs endpoint response format. I am not sure if this is covered under any API guarantee (or documenting it makes it as such).

@vdemeester will it generate the v1.25 or does v1.24 come from swagger, too? For instance the "Example request/response" sections in the current documentation are not present in api/swagger.yml.

@ahmetalpbalkan There is some other tricky stuff about attributes and timestamps. I had to reverse engineer this in https://github.com/docker/swarmkit/blob/master/agent/exec/container/controller.go#L497.

@ahmetalpbalkan Also, checkout the oneliner decode...

will it generate the v1.25 or does v1.24 come from swagger, too?

Only the 1.25 docs (and up) will come from swagger

For instance the "Example request/response" sections in the current documentation are not present in api/swagger.yml.

Yes, I was looking at that.
ping @dnephin @bfirsh could you have a look? I tried to add examples (e.g. set some query parameters in the swagger.yml), but couldn't make those show up in the generated docs

@stevvooe off topic: doesn't this cause a bug if the arch running the program is little endian?
size := header & ^(uint64(0xFF)<<(7<<3))

@ahmetalpbalkan The endian conversion happens at https://github.com/docker/swarmkit/blob/master/agent/exec/container/controller.go#L489. This works because we use shifts, which are endian independent, to locate the MSB. I think there may be a missing mask to uint32.
I don't have a bigendian machine to test on, so I may be wrong.

Yep - swagger.yaml is where this lives now, and I made an attempt at improving the documentation for the binary format while moving the docs. See: https://github.com/docker/docker/blob/24e9ac15759cc23caf90383b5ea6de79af4363a0/api/swagger.yaml#L3759
For documenting requests/responses, there are response examples for pretty much all endpoints, and example parameters can be specified with the example key on each parameter. Unfortunately there isn't a good way of providing a complete example request, but we could build an extension for ReDoc if we wanted that.

@bfirsh Yes, I tried to add query parameters to an example (e.g. https://github.com/docker/docker/blob/24e9ac15759cc23caf90383b5ea6de79af4363a0/api/swagger.yaml#L2474-L2477), but adding size: true does not make ?size=true / ?size=1 show up in the example request.
I would expect that to be the case (as it provides useful information as to what parameters are / should be used, and what format they take)

Looks like @bfirsh's documentation is sufficient (although it's not on /logs but /attach), I'll go ahead and close this. Perhaps a note can be added on /logs to refer to /attach for the wire format.


The hex code colors preview for transpartent particles uses RGBA format instead of ARGB

Describe the bug
minecraft:particle_appearance_tinting is a particle component which tints color of particles. The particles that use "particles_blend" material can be semi transparent. Colors in the component can be described with
hex codes (#aabbccdd) which also gives a preview thatnks to the addon. Unfortunately the addon assumes
that the colors are in RGBA format which is wrong because minecraft uses ARGB.
To Reproduce
Use the code below to create a simple particle. It uses particle_appearance_tinting with #ffff00ff color.
The preview shows yellow because it thinks that its R=255, G=255, B=0, A=255 (yellow with no
transparency). The particle color in minecraft is magenta because R=255, G=0, B=255, A=255 (magenta
no transparency).
{
	"format_version": "1.10.0",
	"particle_effect": {
		"description": {
			"identifier": "nusiq:example",
			"basic_render_parameters": {
				"material": "particles_blend",
				"texture": "textures/particle/particles"
			}
		},
		"components": {
			"minecraft:emitter_rate_instant": {
				"num_particles": 1
			},
			"minecraft:emitter_lifetime_expression": {
				"activation_expression": 1,
				"expiration_expression": 0
			},
			"minecraft:emitter_shape_point": {},
			"minecraft:particle_lifetime_expression": {
				"expiration_expression": 0
			},
			"minecraft:particle_appearance_billboard": {
				"size": [1, 1],
				"facing_camera_mode": "lookat_xyz",
				"uv": {
					"texture_width": 128,
					"texture_height": 128,
					"flipbook": {
						"base_UV": [56, 88],
						"size_UV": [8, 8],
						"step_UV": [-8, 0],
						"frames_per_second": 8,
						"max_frame": 8,
						"stretch_to_lifetime": true,
						"loop": false
					}
				}
			},
			"minecraft:particle_appearance_tinting": {
				"color": "#ffff00ff"
			}
		}
	}
}

Expected behavior
The color preview should mach the color of particle.
Screenshots

Additional context
Passing colors as lists (which is also a valid input for the component) uses RGBA format - [1, 1, 0, 1] is yellow.

Unfortunately, I cannot do anything about this, the color support comes from vscode itself, I can only specify that it is a color in hex format :/


Confusing documentation about code-less & code-based App Insights for java

It's confusing that codeless-overview says that codeless attach is not supported yet for java applications running on azure app service for windows or linux (in private review)
And then when reading code-based monitoring for java apps it says: "As of November 2020, for monitoring Java applications we recommend auto-instrumentation using the Azure Monitor Application Insights Java 3.0 agent."
Is the documentation about codeless integration outdated or am I missing some central aspect about application insights here?

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

ID: 750f10f8-28b3-c30d-2475-0e5217a446dd
Version Independent ID: 66562094-9524-c37a-e493-971908169eef
Content: Azure Monitor Application Insights Java - Azure Monitor
Content Source: articles/azure-monitor/app/java-in-process-agent.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @MS-jgol
Microsoft Alias: jgol

@sp4rc Thanks for your comment. We will review the issue and get back to you shortly.

@sp4rc Codeless overview document focuses on auto integration of Application Insights(can be enabled by one click) along with auto instrumentation (need to configure the agent). As the auto integration of Java for app services is currently in Private Preview ,it  has been noted as Private Preview . And as the Application Insights for Java is a stand alone agent which is GA , it has been documented as GA.

Hope that helps!! As there are no further documentation changes, we will close the issue for now. If there are further questions , please revert and we will be glad to assist you.


Write fails silently in Laravel 9

Example: export AWS_SECRET_ACCESS_KEY=invalid-key && php artisan lasso:publish
Output makes you think all is good when it is not.
#65 should resolve it.

Until this is merged you can add 'throw' => true, to your filesystems config for your assets (lasso) driver

Released in v3.0.1 🥳 Thanks @pusherman


Add automatic fixes for NoUnused.Dependencies

This PR makes it so NoUnused.Dependencies provides fixes for unused dependencies and also automatically moves dependencies to test-dependencies if they are only used in test modules.
Note that this only done for packages right now. It's a bit more challenging to automatically do this for applications.

Thanks a lot for working on this @MartinSStewart ! :blush:


Notice when no sender is set in the settings

Hi,
in 0.4 there is a little notice when no sender was set after upgrading from 0.3:
Notice: Undefined index: emailFrom in /path/kernel/dbsite.class.php on line 98

Hi, just complete the field or left empty, and click on save button, on advanced settings, to regenerate the database.
Regards

Yeah, I filled out the field already. It worked fine. Just wanted to report you the notice anyway :)

Yes thanks, I will add this warning on the forum..


what settings to change to make playa-mesos run on other iP address than <IP_ADDRESS>

It does not work when vpn tunneling is enabled or is running within bounds of corporate proxies.

@amitmawkin - just change the address in the config file: https://github.com/mesosphere/playa-mesos/blob/master/config.json