npm-watch not detecting changes when run on dev mode

While running npm-watch re-runs as soon as I change any file, running npm-watch dev runs only once, whenever I make a change it doesn't detect it.
What should I change in the setup?
My package.json
{
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build",
    "dev": "vue-cli-service build --mode development",
    "lint": "vue-cli-service lint",
    "watch": "npm-watch dev",
    "watch-prod": "npm-watch"
  },
  "watch": {
    "build": {
      "patterns": [
        "src"
      ],
      "extensions": "js,jsx,vue,css"
    }
  },
...
}

Solved by simply adding the dev section:
{
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build",
    "dev": "vue-cli-service build --mode development",
    "lint": "vue-cli-service lint",
    "watch": "npm-watch dev",
    "watch-prod": "npm-watch"
  },
  "watch": {
    "build": {
      "patterns": [
        "src"
      ],
      "extensions": "js,jsx,vue,css"
    },
    "dev": {
      "patterns": [
        "src"
      ],
      "extensions": "js,jsx,vue,css"
    }
  },
...


Update worker and ingestor scaling recommendations for 1.5

[#164736519]
Signed-off-by: Devin Brown<EMAIL_ADDRESS>

Thank you, @iplay88keys!


set meridian from configuration object

can we set  meridian from configuration object such that ?
var timePickerObject = {
            callback: function (val) {
            },
            meridian: "AM" // something like that...
            inputTime: 50400,   //Optional
            format: 12,         //Optional
            step: 10,           //Optional
            setLabel: 'Set Shift Time'    //Optional
        };

Basically in my case , i need to show a popup but i need to hide the AM PM option , keeping the format as 12 , because i ask user to filter as AM PM before showing the popup , so for this reason, i need to hide AM PM options, which i can through css . but I need to send time , as "AM" / "PM" what ever user has initially queried for. so i was wondering if i can have an option to set meridian the way i stated above.

The meridian is calculated based on the format field. So we don't actually need meridian field.


CREATE function updates

Adds a clean-up function to load_gaussian
Adds a run_opt_neutral_set_dihedral function so users can decide the dihedral angle between their dimers
Adds Neutral optimised anion geometry (n_a_geo) to write_gaussian
Adds Neutral optimised cation geometry (n_c_geo) to write_gaussian
Adds testing_data.py which has functions to test if users calculation was successful, done with correct functional and basis set
Removes the combining dimers section from torsion_run (this combining should be done before using this function as it makes the function more versatile)

I am going to go through a highlight the changes @micaela-matta so you can see them

I am going to go through a highlight the changes @micaela-matta so you can see them

Highlighted all major changes


Feature Request: Allow Creating Organizational Folders at Any Level

I often have subfolders that could benefit from having the same organizational structure.  I wish I could look at the 'explorer' and right click on a folder and say "Create Unity Organizational Folders" at that level and have them be created.
Bonus points if I could customize the list of items created if that's not already possible, and even better if maybe it could auto-organize loose files in the folder into the appropriate folder?

Can you describe how, in an ideal world, this feature might work within VSCode? Since VSCode extensions can't add an explorer right click option outside of VSCode.
Is it right clicking a folder within VSCode to "Add organization folders to this folder"?
How often are you doing this? You can already modify this in the settings. Ex
{
    "unity-tools.defaultOrganizationFolders" : ["Subfolder/Your","Subfolder/New", "Subfolder/Folder","Subfolder/Names"]
}

Does that solve your issue?

Sorry, when  I refer to 'explorer' I mean the 'explorer' in VSCode.  In an ideal world I could have an entry in that right click context menu to create the folders:

I tend to have a bunch of micro projects in a game that I flip between, and I like each of the sub folders to be organized as such.
Good to know that the settings allow customizing the subfolders, thanks!

Makes sense.
I'll have to look into adding the correct option context menu. Then it should be relatively easy to modify the folder creation code to accept a "base" folder parameter on top of whatever is in the settings.
As always, I have very little dev time available for this VSCode extension (because of my day job and raising 2 small children), but thank you for the feature request!
Hopefully as a stop gap solution, modifying the "unity-tools.defaultOrganizationFolders" setting will improve your workflow.


fix: expose the grpc client types

:tada: This PR is included in version 2.2.1 :tada:
The release is available on:

v2.2.1
GitHub release

Your semantic-release bot :package::rocket:


Rendering an image on a window

We have to render an image on a window.. That much is obvious I hope.

More assignment


typo fixes

``smth'' => ''smth'' (meanwhile, why not using a single " symbol instead of two 's?)

using a " is fine, I'll accept a PR that does that
iirc I copied most of the text from the book's latex sources, in which double backtick and double apostrophe is the proper way to start and end quotations

Fixed with " now.


Removed Republic of China reference from Taiwan

I'm getting tired of offended Taiwanese people giving me grief over this one!

Isn't that the country's official name? http://en.wikipedia.org/wiki/Taiwan


Wrong starting point

The documentation says: "This means that the starting point for your game lives in the body of the implementation of the IFrameworkView::Run method, and in this case, it's the App::Run."
This isn't correct, it should be that the starting point is the Initialize method of the App class, not the Run method, or did I misundersand? Because without Initialize and subscribing to the Activated event, Run is never called.

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

ID: e2b72f7d-02ee-6da6-4da7-ef271f460a55
Version Independent ID: 0b570656-c7b3-7c38-1ff9-27ae37c96816
Content: Set up the game project - Windows UWP applications
Content Source: windows-apps-src/gaming/tutorial--setting-up-the-games-infrastructure.md
Product: uwp
GitHub Login: @eliotcowley
Microsoft Alias: elcowle

Hi @BMarques, I think you're right, but I'm assigning @stevewhims to double-check me.

Yes, what I've found from experimentation is that on Windows 10 the methods of IFrameworkView are called in the order Initialize-SetWindow-Load-OnActivated-Run-Uninitialize. Calling CoreApplication::Run kicks off that lifycycle. So, yes, this topic could do with an edit there, I think.
~Steve

I've made a change/fix to the topic, and that change is now live. So, I'll go ahead and close this issue now. Thanks! ~Steve


Update framework dependencies

See individual commits

Blocked a framework release. When released we need to trigger a yarn.lock update.


completely untested, speculative mockup of fatuserdata

Based on this comment from @zeux:
https://github.com/Roblox/luau/issues/196#issuecomment-967785098
I had a go at starting the possible implementation of a fatuserdata type, which is a userdata value type. Bad news is, supporting this type for anything except 32-bit integers requires expanding the TValue struct for all values, so it's a compile-time configuration option.
This only took me a couple hours to whip up. Things I'm unsure about:

Execution. I haven't touched the interpreter because I don't know how it works and I definitely don't know how to make it work.
Garbage collection. I try to have the metatable marked when the value is traversed but I couldn't find the right barrier to use when setting the value's metatable.
Tests. Right now, there's a high likelyhood the interpreter will blow up upon encountering a fatuserdata in the first place, so I haven't bothered with any tests yet. All existing tests still pass, thankfully.
Everything else. I don't even know if my memcpys are correct.

So I need help and feedback...

Let's table this for now since this is incomplete and it's not clear if this fully solves the problem in the linked issue.


Removed redundant backticks in docs/releases/1.8.txt

I noticed this while porting a project to Django 1.8. You can see the rendered version at https://docs.djangoproject.com/en/1.8/releases/1.8/#old-unordered-list-syntax

Backported to 1.11. I would like to know @timgraham opinion about backporting to older (unsupported) versions.

Thanks!

Yes, I usually backport something like this, especially considering it shouldn't affect the translated docs as far as I understand.

Backport to 1.10, 1.9 and 1.8?

Yes

Done.


varmap() seeps into nix-shell

If you cd lorri (this project) with the direnv integration, run lorri watch and wait for one build to finish, refresh the direnv environment and then try to open a nix-shell (over the direnv environment`), the following error happens:
> nix-shell
bash: /nix/store/dj3wnbq277ilxc1wxh95pp7d6r035gxq-lorri/varmap-v1: No such file or directory

So somehow the code from src/ops/direnv/envrc.bash is executed when opening the nix-shell in lorri?!
A nix-shell --pure succeeds, so it depends on the direnv environment.

The current fix for this seems to be unset preHook in the shellHook.

This is resolved from #127.


inline get to avoid one allocation

Pull Request Test Coverage Report for Build 4284
Details

5 of 6 (83.33%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.008%) to 81.238%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

builtin/linked_hash_map.mbt
5
6
83.33%

Totals

Change from base Build 4282:
-0.008%

Covered Lines:
4607

Relevant Lines:
5671

💛  - Coveralls


Can't use my own Namespace

Hi,
I very love this code, it makes my Lambda is faster
for try example very easy to learning but so difficult via Nuget because document not clear
and then I found issues when we change the namespace to another, not use "LambdaNative"
Thank for developing it
ps. sorry for bad english

Hi @ifew
You will probably need to change rd.xml when you change the namespace: https://github.com/zaccharles/lambda-native/blob/master/example/rd.xml#L4
On a related topic, the CoreRT project has an issue tracking change related to rd.xml here: https://github.com/dotnet/corert/issues/5001

Hi @zaccharles
I try to fix my code and root causes by missing using namespace T-T
now I completed my example via net core 2.2, and it can work!
but I don't know my practice are correct or not. because I'm not using rd.xml
You can see on https://github.com/ifew/aws-lambda-lambdanative
Thank you


Swagger won't use an empty string as an example

Observed Behavior
I'm using swagger-core version 2.0.10 (with springdoc-openapi 1.1.49).
I'd like to be able to specify the empty string as an example for certain fields within a schema (for example, a comment field that is usually empty.)
I tried doing this as follows:
import io.swagger.v3.oas.annotations.media.Schema;

public class Thing {
  @Schema(example="", description="Comment")
  public String comment;
}

However, this results in the OpenAPI JSON output (within components.schemas.Thing.properties)
"comment": {
  "type": "string",
  "description": "Comment"
}

The example "" has disappeared.
Why this is a problem
The reason this is undesirable is that when using "Try it out" in the Swagger UI, a String field with no provided example will initially be populated as "string". "string" may be not be the best example to test the API with.
It's possible that I should instead be specifying the defaultValue to be "", but as mentioned below, that doesn't work either.
Probable cause of behavior
This seems due to the following line:
https://github.com/swagger-api/swagger-core/blob/6f6e420b50cedbfef192610bb469817d2a242103/modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/ModelResolver.java#L1431
which simply discards any empty example.
The same check seems to apply to the defaultValue field as well:
https://github.com/swagger-api/swagger-core/blob/6f6e420b50cedbfef192610bb469817d2a242103/modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/ModelResolver.java#L1421
Question
Is there a workaround for this, or are empty examples (and defaultValues) just not allowed?

Seems like I can probably try to manually override some fields with OpenApiCustomiser, though that doesn't exactly leave a great taste in my mouth :)

The following worked for me:
example = """"

The following worked for me:
example = "\"\""

Doesn't work, shows a """" in Swagger. At least in Spring Fox.

Confirming that example = "\"\"" shows the example as "\"\"" in Springdoc/Swagger for me too (Springdoc 1.5.6 so pretty up-to-date).


Betteruptime integration

Changes

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #372

PR #360

PR #357

PR #358

PR #359

PR #365

PR #366

PR #371

This was the original PR https://github.com/rivet-gg/rivet/pull/219

@AngelOnFira i'm cleaning this up and submitting


Trial Pending

I am trying to run MADDPG in mpe(with simple_adversary). However, the algorithm stucks with a log shows the trial is pending.
I saw a similar issue here: https://github.com/ray-project/ray/issues/16425. It says that this is due to the resource allocation.
I am using a 16 core cpu and a GTX 1650s gpu. So I tried to set ray.yaml file as follows:
num_workers: 2
num_gpus: 1
num_cpus_per_worker: 8
num_gpus_per_worker: 0.5
I also tried several different options such as:
num_workers: 2
num_gpus: 1
num_cpus_per_worker: 1
num_gpus_per_worker: 0.3
However, no matter how I alter the setting. The algorithm still stucks with trial pending.

set num_gpus_per_worker = 0 to see if it works.
In most cases, samplers(workers) do not need GPU.

Is there any bug reported before the trmination?

The issue is caused by the version of petting zoo. The API used in MARLlib does not consist with the current version of pettingzoo. Use the following command solves the problem.
pip install pettingzoo[mpe]==1.12.0


UI integration tests not run on a remote device

I'm trying to use flutter integration tests on a remote arm64 device. When I launched the following command the application is deployed and launched, but when it time to run tests nothing happens for 12 minutes.
The application is the default app with counter and button to increment it.
flutter-arm test integration_test/app_test.dart  -vv --disable-service-auth-codes -d imx8mm
[  +48 ms] executing: uname -m
[  +21 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +9 ms] executing: [/home/dev/sdk/flutter-elinux/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +5 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 097d3313d8e2c7f901932d63e537c1acefb87800
[        ] executing: [/home/dev/sdk/flutter-elinux/flutter/] git tag --points-at 097d3313d8e2c7f901932d63e537c1acefb87800
[  +12 ms] Exit code 0 from: git tag --points-at 097d3313d8e2c7f901932d63e537c1acefb87800
[        ] 2.10.2
[  +35 ms] executing: [/home/dev/sdk/flutter-elinux/flutter/] git rev-parse --abbrev-ref HEAD
[   +2 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] HEAD
[        ] executing: [/home/dev/sdk/flutter-elinux/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +3 ms] Exit code 128 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] fatal: HEAD does not point to a branch
[  +20 ms] Unable to locate an Android SDK.
[ +129 ms] Found plugin integration_test at /home/dev/sdk/flutter-elinux/flutter/packages/integration_test/
[  +44 ms] Found plugin integration_test at /home/dev/sdk/flutter-elinux/flutter/packages/integration_test/
[  +28 ms] Found plugin integration_test at /home/dev/sdk/flutter-elinux/flutter/packages/integration_test/
[  +57 ms] Found plugin integration_test at /home/dev/sdk/flutter-elinux/flutter/packages/integration_test/
[   +6 ms] Found 1 files which will be executed as Integration Tests.
[   +4 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +14 ms] Artifact Instance of 'ELinuxEngineArtifacts' is not required, skipping update.
[  +19 ms] executing: ping -w 500 -c 1 <IP_ADDRESS>
[  +28 ms] PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
           64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=62 time=0.997 ms

           --- <IP_ADDRESS> ping statistics ---
           1 packets transmitted, 1 received, 0% packet loss, time 0ms
           rtt min/avg/max/mdev = 0.997/0.997/0.997/0.000 ms
[   +4 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +9 ms] Artifact Instance of 'ELinuxEngineArtifacts' is not required, skipping update.
[  +73 ms] Skipping pub get: version match.
[  +30 ms] Found plugin integration_test at /home/dev/sdk/flutter-elinux/flutter/packages/integration_test/
[  +74 ms] Found plugin integration_test at /home/dev/sdk/flutter-elinux/flutter/packages/integration_test/
[  +21 ms] Generating /workspaces/flutter-elinux-imx8mm-devcontainer/hello_world/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +147 ms] running test package with arguments: [-r, compact, --timeout, 30s, --concurrency=1, --chain-stack-traces, --, /workspaces/flutter-elinux-imx8mm-devcontainer/hello_world/integration_test/app_test.dart]
00:00 +0: loading /workspaces/flutter-elinux-imx8mm-devcontainer/hello_world/integration_test/app_test.dart                                                                                [ +146 ms] test 0: starting test /workspaces/flutter-elinux-imx8mm-devcontainer/hello_world/integration_test/app_test.dart
[   +8 ms] Stopping scan for flutter_test_config.dart; found project root at /workspaces/flutter-elinux-imx8mm-devcontainer/hello_world
[        ] test 0: starting test device
[   +2 ms] test 0: awaiting connection to test device
[  +17 ms] Uninstall hello_world from imx8mm.
[        ] executing: true
[   +3 ms] Uninstallation Success
[   +1 ms] Install hello_world (build/elinux/arm64/debug/bundle) to imx8mm
[        ] executing: rsync --archive --delete build/elinux/arm64/debug/bundle/ root@<IP_ADDRESS>:/home/root/hello_world/
[ +183 ms] Installation Success
[        ] Launch hello_world.name on imx8mm
[ +559 ms] Observatory URL on device: http://<IP_ADDRESS>:43085/9cWL_Sot1GM=/
[   +1 ms] executing: ssh -o ExitOnForwardFailure=yes -L <IP_ADDRESS>:43085:<IP_ADDRESS>:43085<EMAIL_ADDRESS>echo connected;bash
[ +128 ms] Forwarded host port 43085 to device port 43085 for Observatory
[   +2 ms] test 0: Connecting to vm service
[  +11 ms] test 0: Observatory uri is available at http://<IP_ADDRESS>:43085/9cWL_Sot1GM=/
00:01 +0: loading /workspaces/flutter-elinux-imx8mm-devcontainer/hello_world/integration_test/app_test.dart                                                                                [ +484 ms] test 0: Finding the correct isolate with the integration test service extension
12:00 +0 -1: loading /workspaces/flutter-elinux-imx8mm-devcontainer/hello_world/integration_test/app_test.dart [E]
  TimeoutException after 0:12:00.000000: Test timed out after 12 minutes.
  package:test_api/src/backend/invoker.dart 333:28  Invoker._handleError.<fn>
  dart:async/zone.dart 1418:47                      _rootRun
  dart:async/zone.dart 1328:19                      _CustomZone.run
  package:test_api/src/backend/invoker.dart 331:10  Invoker._handleError
  package:test_api/src/backend/invoker.dart 287:9   Invoker.heartbeat.<fn>.<fn>
  dart:async/zone.dart 1426:13                      _rootRun
  dart:async/zone.dart 1328:19                      _CustomZone.run
  package:test_api/src/backend/invoker.dart 286:38  Invoker.heartbeat.<fn>
  dart:async-patch/timer_patch.dart 18:15           Timer._createTimer.<fn>
  dart:isolate-patch/timer_impl.dart 395:19         _Timer._runTimers
  dart:isolate-patch/timer_impl.dart 426:5          _Timer._handleMessage
  dart:isolate-patch/isolate_patch.dart 192:12      _RawReceivePortImpl._handleMessage

12:00 +0 -1: Some tests failed.
[+718637 ms] test package returned with exit code 1
[   +9 ms] "flutter test" took 720,875ms.
[   +5 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      TestCommand.runCommand (package:flutter_tools/src/commands/test.dart:472:7)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     main (package:flutter_elinux/executable.dart:83:3)
           <asynchronous suspension>

[   +4 ms] ensureAnalyticsSent: 0ms
[        ] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

There is the result of my flutter-arm doctor :
[✓] Flutter (Channel unknown, 2.10.2, on Debian GNU/Linux 11 (bullseye) <IP_ADDRESS>-microsoft-standard-WSL2, locale en_US.UTF-8)
    • Flutter version 2.10.2 at /home/dev/sdk/flutter-elinux/flutter
    • Upstream repository unknown
    • Framework revision 097d3313d8 (7 weeks ago), 2022-02-18 19:33:08 -0600
    • Engine revision a83ed0e5e3
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] eLinux toolchain - develop for embedded Linux devices
    • clang version 9.0.1 (https://github.com/llvm/llvm-project c1a0a213378a458fbea1a5c77b315c7dce08fd05)
    • cmake version 3.15.3
    • pkg-config version 0.29.2

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] Connected device (3 available)
    • eLinux (desktop) • elinux-wayland • flutter-tester • Debian GNU/Linux 11 (bullseye) <IP_ADDRESS>-microsoft-standard-WSL2
    • eLinux (desktop) • elinux-x11     • flutter-tester • Debian GNU/Linux 11 (bullseye) <IP_ADDRESS>-microsoft-standard-WSL2
    • eLinux (mobile)  • imx8mm         • flutter-tester • i.MX8 (Hydrogen-Tritium) 2.10.2 - <IP_ADDRESS>52.2

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 3 categories.

First of all, thanks for the great work in making flutter work on embedded!
I have a similar issue as above when running integration tests on target device. The tests timeouts after 12 minutes.
I am following the flutter integration test example for testing out integration testing using flutter-elinux on a target device.

flutter-elinux test integration_test/counter_test.dart -vv -d imx8mm

flutter-elinux test integration_test/counter_test.dart -vv -d imx8mm
[  +59 ms] executing: uname -m
[  +34 ms] Exit code 0 from: uname -m
[        ] x86_64
[  +19 ms] executing: [/opt/flutter-elinux/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +11 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 7e9793dee1b85a243edd0e06cb1658e98b077561
[   +1 ms] executing: [/opt/flutter-elinux/flutter/] git tag --points-at 7e9793dee1b85a243edd0e06cb1658e98b077561
[  +18 ms] Exit code 0 from: git tag --points-at 7e9793dee1b85a243edd0e06cb1658e98b077561
[        ] 2.10.3
[  +37 ms] executing: [/opt/flutter-elinux/flutter/] git rev-parse --abbrev-ref HEAD
[   +6 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] HEAD
[        ] executing: [/opt/flutter-elinux/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +12 ms] Exit code 128 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] fatal: HEAD does not point to a branch
[ +168 ms] Found plugin integration_test at /opt/flutter-elinux/flutter/packages/integration_test/
[  +68 ms] Found plugin integration_test at /opt/flutter-elinux/flutter/packages/integration_test/
[  +40 ms] Found plugin integration_test at /opt/flutter-elinux/flutter/packages/integration_test/
[  +56 ms] Found plugin integration_test at /opt/flutter-elinux/flutter/packages/integration_test/
[   +3 ms] Found 1 files which will be executed as Integration Tests.
[   +4 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +36 ms] Artifact Instance of 'ELinuxEngineArtifacts' is not required, skipping update.
[  +23 ms] executing: /home/fm/Android/Sdk/platform-tools/adb devices -l
[  +38 ms] executing: ping -w 500 -c 1 <IP_ADDRESS>
[  +55 ms] List of devices attached
[   +2 ms] PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
           64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=63 time=2.35 ms

           --- <IP_ADDRESS> ping statistics ---
           1 packets transmitted, 1 received, 0% packet loss, time 0ms
           rtt min/avg/max/mdev = 2.345/2.345/2.345/0.000 ms
[   +4 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +13 ms] Artifact Instance of 'ELinuxEngineArtifacts' is not required, skipping update.
[  +57 ms] Skipping pub get: version match.
[  +27 ms] Found plugin integration_test at /opt/flutter-elinux/flutter/packages/integration_test/
[  +64 ms] Found plugin integration_test at /opt/flutter-elinux/flutter/packages/integration_test/
[   +5 ms] Generating
/home/fm/projects/flutter_gui_components/sample/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +130 ms] running test package with arguments: [-r, compact, --timeout, 30s, --concurrency=1, --chain-stack-traces, --,
/home/fm/projects/flutter_gui_components/sample/integration_test/counter_test.dart]
00:00 +0: loading /home/fm/projects/flutter_gui_components/sample/integration_test/counter_test.dart                                   [ +205 ms] test 0: starting test /home/fm/projects/flutter_gui_components/sample/integration_test/counter_test.dart
[   +4 ms] Stopping scan for flutter_test_config.dart; found project root at /home/fm/projects/flutter_gui_components/sample
[   +1 ms] test 0: starting test device
[   +3 ms] test 0: awaiting connection to test device
[  +18 ms] Uninstall sample from imx8mm.
[        ] executing: ssh<EMAIL_ADDRESS>rm -rf "/tmp/sample"
[ +120 ms] Uninstallation Success
[   +1 ms] Install sample (build/elinux/arm64/debug/bundle) to imx8mm
[        ] executing: scp -r build/elinux/arm64/debug/bundle root@<IP_ADDRESS>:/tmp/sample
00:13 +0: loading /home/fm/projects/flutter_gui_components/sample/integration_test/counter_test.dart                                   [+13673 ms] Installation Success
[   +1 ms] Launch sample.name on imx8mm
00:14 +0: loading /home/fm/projects/flutter_gui_components/sample/integration_test/counter_test.dart                                   [ +603 ms] Observatory URL on device: http://<IP_ADDRESS>:41345/2xZJ6Kj8D5Q=/
[   +2 ms] executing: ssh -o ExitOnForwardFailure=yes -L <IP_ADDRESS>:41345:<IP_ADDRESS>:41345<EMAIL_ADDRESS>[  +15 ms] Forwarded host port 41345 to device port 41345 for Observatory
[   +3 ms] test 0: Connecting to vm service
[  +21 ms] test 0: Observatory uri is available at http://<IP_ADDRESS>:41345/2xZJ6Kj8D5Q=/
[  +31 ms] Exception attempting to connect to the VM Service: SocketException: Connection refused (OS Error: Connection refused, errno =
111), address = <IP_ADDRESS>, port = 40884
[   +1 ms] This was attempt #1. Will retry in 0:00:00.100000.
00:15 +0: loading /home/fm/projects/flutter_gui_components/sample/integration_test/counter_test.dart                                   [ +608 ms] test 0: Finding the correct isolate with the integration test service extension
12:00 +0 -1: loading /home/fm/projects/flutter_gui_components/sample/integration_test/counter_test.dart [E]
  TimeoutException after 0:12:00.000000: Test timed out after 12 minutes.
  package:test_api/src/backend/invoker.dart 333:28  Invoker._handleError.<fn>
  dart:async/zone.dart 1418:47                      _rootRun
  dart:async/zone.dart 1328:19                      _CustomZone.run
  package:test_api/src/backend/invoker.dart 331:10  Invoker._handleError
  package:test_api/src/backend/invoker.dart 287:9   Invoker.heartbeat.<fn>.<fn>
  dart:async/zone.dart 1426:13                      _rootRun
  dart:async/zone.dart 1328:19                      _CustomZone.run
  package:test_api/src/backend/invoker.dart 286:38  Invoker.heartbeat.<fn>
  dart:async-patch/timer_patch.dart 18:15           Timer._createTimer.<fn>
  dart:isolate-patch/timer_impl.dart 395:19         _Timer._runTimers
  dart:isolate-patch/timer_impl.dart 426:5          _Timer._handleMessage
  dart:isolate-patch/isolate_patch.dart 192:12      _RawReceivePortImpl._handleMessage

12:00 +0 -1: Some tests failed.
[+704957 ms] test package returned with exit code 1
[  +43 ms] "flutter test" took 721,029ms.
[  +10 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      TestCommand.runCommand (package:flutter_tools/src/commands/test.dart:472:7)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     main (package:flutter_elinux/executable.dart:83:3)
           <asynchronous suspension>

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

flutter-elinux doctor -v

flutter-elinux doctor -v
[✓] Flutter (Channel unknown, 2.10.3, on Ubuntu 20.04.4 LTS 5.13.0-40-generic, locale en_US.UTF-8)
    • Flutter version 2.10.3 at /opt/flutter-elinux/flutter
    • Upstream repository unknown
    • Framework revision 7e9793dee1 (8 weeks ago), 2022-03-02 11:23:12 -0600
    • Engine revision bd539267b4
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] eLinux toolchain - develop for embedded Linux devices
    • clang version 10.0.1 (https://github.com/llvm/llvm-project ef32c611aa214dea855364efd7ba451ec5ec3f74)
    • cmake version 3.16.5
    • pkg-config version 0.29.2

[✗] Android toolchain - develop for Android devices
    • Android SDK at /home/fm/Android/Sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] VS Code
    • VS Code at /snap/code/current
    • Flutter extension version 3.38.1

[✓] Connected device (4 available)
    • Chrome (web)     • chrome         • web-javascript • Google Chrome 100.0.4896.127
    • eLinux (desktop) • elinux-wayland • flutter-tester • Ubuntu 20.04.4 LTS 5.13.0-40-generic
    • eLinux (desktop) • elinux-x11     • flutter-tester • Ubuntu 20.04.4 LTS 5.13.0-40-generic
    • eLinux (mobile)  • imx8mm         • flutter-tester • Instrument 0

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

flutter-elinux test integration_test -v runs succesfully

flutter-elinux test integration_test -v
[  +55 ms] executing: uname -m
[  +27 ms] Exit code 0 from: uname -m
[        ] x86_64
[  +10 ms] executing: [/opt/flutter-elinux/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +18 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 7e9793dee1b85a243edd0e06cb1658e98b077561
[        ] executing: [/opt/flutter-elinux/flutter/] git tag --points-at 7e9793dee1b85a243edd0e06cb1658e98b077561
[  +22 ms] Exit code 0 from: git tag --points-at 7e9793dee1b85a243edd0e06cb1658e98b077561
[        ] 2.10.3
[  +49 ms] executing: [/opt/flutter-elinux/flutter/] git rev-parse --abbrev-ref HEAD
[   +7 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] HEAD
[        ] executing: [/opt/flutter-elinux/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +10 ms] Exit code 128 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] fatal: HEAD does not point to a branch
[ +169 ms] Found plugin integration_test at /opt/flutter-elinux/flutter/packages/integration_test/
[  +78 ms] Found plugin integration_test at /opt/flutter-elinux/flutter/packages/integration_test/
[  +36 ms] Found plugin integration_test at /opt/flutter-elinux/flutter/packages/integration_test/
[  +73 ms] Found plugin integration_test at /opt/flutter-elinux/flutter/packages/integration_test/
[   +5 ms] Found 1 files which will be executed as Integration Tests.
[  +11 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +36 ms] Artifact Instance of 'ELinuxEngineArtifacts' is not required, skipping update.
[  +34 ms] executing: ping -w 500 -c 1 <IP_ADDRESS>
[ +108 ms] PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
                    64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=63 time=3.99 ms

                    --- <IP_ADDRESS> ping statistics ---
                    1 packets transmitted, 1 received, 0% packet loss, time 0ms
                    rtt min/avg/max/mdev = 3.992/3.992/3.992/0.000 ms
[   +4 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +8 ms] Artifact Instance of 'ELinuxEngineArtifacts' is not required, skipping update.
[  +59 ms] Skipping pub get: version match.
[  +30 ms] Found plugin integration_test at /opt/flutter-elinux/flutter/packages/integration_test/
[  +87 ms] Found plugin integration_test at /opt/flutter-elinux/flutter/packages/integration_test/
[   +6 ms] Generating
/home/fm/projects/flutter_gui_components/sample/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +165 ms] running test package with arguments: [-r, compact, --timeout, 30s, --concurrency=1, --chain-stack-traces, --,
/home/fm/projects/flutter_gui_components/sample/integration_test/counter_test.dart]
00:00 +0: loading /home/fm/projects/flutter_gui_components/sample/integration_test/counter_test.dart                                  [ +254 ms] test 0: starting test /home/fm/projects/flutter_gui_components/sample/integration_test/counter_test.dart
[   +4 ms] Stopping scan for flutter_test_config.dart; found project root at /home/fm/projects/flutter_gui_components/sample
[   +1 ms] test 0: starting test device
[   +2 ms] test 0: awaiting connection to test device
[  +19 ms] Building app
[  +14 ms] Building an eLinux application with wayland backend in debug mode for x64 target...
[   +2 ms] Initializing file store
[  +12 ms] Skipping target: gen_localizations
[  +16 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
/home/fm/projects/flutter_gui_components/sample/.dart_tool/package_config_subset}
[  +11 ms] elinux_plugins: Starting due to {}
[   +6 ms] elinux_plugins: Complete
[  +44 ms] Found plugin integration_test at /opt/flutter-elinux/flutter/packages/integration_test/
[  +10 ms] gen_dart_plugin_registrant: Complete
[   +2 ms] kernel_snapshot: Starting due to {}
[  +34 ms] /opt/flutter-elinux/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/opt/flutter-elinux/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/opt/flutter-elinux/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies
-DFLUTTER_WEB_AUTO_DETECT=true -DINTEGRATION_TEST_SHOULD_REPORT_RESULTS_TO_NATIVE=false -Ddart.vm.profile=false -Ddart.vm.product=false
--enable-asserts --track-widget-creation --no-link-platform --packages
/home/fm/projects/flutter_gui_components/sample/.dart_tool/package_config.json --output-dill
/home/fm/projects/flutter_gui_components/sample/.dart_tool/flutter_build/85b5ed3d746ef6f748b22377f4f69d0b/app.dill --depfile
/home/fm/projects/flutter_gui_components/sample/.dart_tool/flutter_build/85b5ed3d746ef6f748b22377f4f69d0b/kernel_snapshot.d
file:///tmp/flutter_tools.BDVWDF/flutter_test_listener.MJGKDY/listener.dart
00:10 +0: loading /home/fm/projects/flutter_gui_components/sample/integration_test/counter_test.dart                                  [+10375 ms] kernel_snapshot: Complete
[ +453 ms] debug_elinux_application: Starting due to {}
00:11 +0: loading /home/fm/projects/flutter_gui_components/sample/integration_test/counter_test.dart                                  [ +329 ms] debug_elinux_application: Complete
[ +541 ms] Persisting file store
[   +5 ms] Done persisting file store
[ +416 ms] Found plugin integration_test at /opt/flutter-elinux/flutter/packages/integration_test/
[   +2 ms] executing: [/home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug/] cmake -DCMAKE_BUILD_TYPE=Debug
-DFLUTTER_TARGET_BACKEND_TYPE=wayland /home/fm/projects/flutter_gui_components/sample/elinux
00:12 +0: loading /home/fm/projects/flutter_gui_components/sample/integration_test/counter_test.dart                                  [ +444 ms] -- The CXX compiler identification is Clang 10.0.0
                    -- Check for working CXX compiler: /usr/bin/clang++
                    -- Check for working CXX compiler: /usr/bin/clang++ -- works
                    -- Detecting CXX compiler ABI info
                    -- Detecting CXX compiler ABI info - done
                    -- Detecting CXX compile features
                    -- Detecting CXX compile features - done
                    -- Configuring done
                    -- Generating done
                    -- Build files have been written to: /home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug
[        ] executing: [/home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug/] cmake --build .
00:19 +0: loading /home/fm/projects/flutter_gui_components/sample/integration_test/counter_test.dart                                  [+7084 ms] Scanning dependencies of target flutter_assemble
                    [  0%] Built target flutter_assemble
                    Scanning dependencies of target flutter_wrapper_app
                    [  7%] Building CXX object
                    flutter/CMakeFiles/flutter_wrapper_app.dir/ephemeral/cpp_client_wrapper/core_implementations.cc.o
                    [ 15%] Building CXX object
                    flutter/CMakeFiles/flutter_wrapper_app.dir/ephemeral/cpp_client_wrapper/standard_codec.cc.o
                    [ 23%] Building CXX object
                    flutter/CMakeFiles/flutter_wrapper_app.dir/ephemeral/cpp_client_wrapper/flutter_engine.cc.o
                    [ 30%] Building CXX object
                    flutter/CMakeFiles/flutter_wrapper_app.dir/ephemeral/cpp_client_wrapper/flutter_view_controller.cc.o
                    [ 38%] Linking CXX static library libflutter_wrapper_app.a
                    [ 38%] Built target flutter_wrapper_app
                    Scanning dependencies of target flutter_wrapper_plugin
                    [ 46%] Building CXX object
                    flutter/CMakeFiles/flutter_wrapper_plugin.dir/ephemeral/cpp_client_wrapper/core_implementations.cc.o
                    [ 53%] Building CXX object
                    flutter/CMakeFiles/flutter_wrapper_plugin.dir/ephemeral/cpp_client_wrapper/standard_codec.cc.o
                    [ 61%] Building CXX object
                    flutter/CMakeFiles/flutter_wrapper_plugin.dir/ephemeral/cpp_client_wrapper/plugin_registrar.cc.o
                    [ 69%] Linking CXX static library libflutter_wrapper_plugin.a
                    [ 69%] Built target flutter_wrapper_plugin
                    Scanning dependencies of target sample
                    [ 76%] Building CXX object runner/CMakeFiles/sample.dir/flutter_window.cc.o
                    [ 84%] Building CXX object runner/CMakeFiles/sample.dir/main.cc.o
                    [ 92%] Building CXX object runner/CMakeFiles/sample.dir/__/flutter/generated_plugin_registrant.cc.o
                    [100%] Linking CXX executable sample
                    [100%] Built target sample
[   +1 ms] executing: [/home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug/] cmake --install .
[ +135 ms] -- Install configuration: "Debug"
                    -- Installing: /home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug/bundle/sample
                    -- Set runtime path of "/home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug/bundle/sample" to
                    "$ORIGIN/lib"
                    -- Installing: /home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug/bundle/data/icudtl.dat
                    -- Installing:
                    /home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug/bundle/lib/libflutter_engine.so
                    -- Installing:
                    /home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug/bundle/lib/libflutter_elinux_wayland.so
                    -- Installing: /home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug/bundle/data/flutter_assets
                    -- Installing:
                    /home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug/bundle/data/flutter_assets/FontManifest.json
                    -- Installing:
                    /home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug/bundle/data/flutter_assets/NOTICES.Z
                    -- Installing:
                    /home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug/bundle/data/flutter_assets/vm_snapshot_data
                    -- Installing:
                    /home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug/bundle/data/flutter_assets/packages
                    -- Installing:
                    /home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug/bundle/data/flutter_assets/packages/cupertin
                    o_icons
                    -- Installing:
                    /home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug/bundle/data/flutter_assets/packages/cupertin
                    o_icons/assets
                    -- Installing:
                    /home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug/bundle/data/flutter_assets/packages/cupertin
                    o_icons/assets/CupertinoIcons.ttf
                    -- Installing:
                    /home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug/bundle/data/flutter_assets/kernel_blob.bin
                    -- Installing:
                    /home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug/bundle/data/flutter_assets/isolate_snapshot_
                    data
                    -- Installing:
                    /home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug/bundle/data/flutter_assets/AssetManifest.jso
                    n
                    -- Installing:
                    /home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug/bundle/data/flutter_assets/fonts
                    -- Installing:
                    /home/fm/projects/flutter_gui_components/sample/build/elinux/x64/debug/bundle/data/flutter_assets/fonts/MaterialIco
                    ns-Regular.otf
[ +228 ms] Building an eLinux application with wayland backend in debug mode for x64 target... (completed in 20.2s)
00:20 +0: loading /home/fm/projects/flutter_gui_components/sample/integration_test/counter_test.dart                                  [ +191 ms] Observatory URL on device: http://<IP_ADDRESS>:40345/B-QT6Ljm6-k=/
[  +10 ms] test 0: Connecting to vm service
[  +35 ms] test 0: Observatory uri is available at http://<IP_ADDRESS>:40345/B-QT6Ljm6-k=/
[ +134 ms] test 0: Finding the correct isolate with the integration test service extension
[  +52 ms] test 0: connected to test device, now awaiting test result
[        ] test 0: Waiting for test harness or tests to finish
00:21 +1: (tearDownAll)                                                                                [+1185 ms] test 0: Test harness is no longer needed by test process
[        ] test 0: finished
[        ] test 0: cleaning up...
[        ] test 0: ensuring test device is terminated.
[   +1 ms] test 0: Test process is no longer needed by test harness
[        ] uninstall command is not defined.
[   +1 ms] test 0: deleting temporary directory
[        ] test 0: finished
00:21 +1: All tests passed!
[  +13 ms] test package returned with exit code 0
[   +2 ms] "flutter test" took 22,958ms.
[   +6 ms] ensureAnalyticsSent: 0ms
[   +2 ms] Running shutdown hooks
[   +1 ms] Shutdown hooks complete
[   +6 ms] exiting with code 0

Additional info
I built the application using your guide for cross-building with Yocto SDK. Running the application gives the following output:
flutter-elinux run -d imx8mm
Launching lib/main.dart on eLinux in debug mode...
Uninstall sample from imx8mm.
Uninstallation Success
Install sample (build/elinux/arm64/debug/bundle) to imx8mm
Installation Success
Launch sample.name on imx8mm
Syncing files to device eLinux...                                  176ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

💪 Running with sound null safety 💪

An Observatory debugger and profiler on eLinux is available at: http://<IP_ADDRESS>:39813/Av7QB2pe2qg=/
The Flutter DevTools debugger and profiler on eLinux is available at: http://<IP_ADDRESS>:9101?uri=http://<IP_ADDRESS>:39813/Av7QB2pe2qg=/

My ~/.dlutter_custom_devices.json looks like:
{
    "custom-devices": [
      {
        "id": "imx8mm",
        "label": "Instrument 0",
        "sdkNameAndVersion": "Instrument 0",
        "enabled": true,
        "platform": "arm64",
        "backend": "wayland",
        "ping": [
          "ping", "-w", "500", "-c", "1", "<IP_ADDRESS>"
        ],
        "pingSuccessRegex": "ttl=",
        "install": [
          "scp", "-r", "${localPath}", "root@<IP_ADDRESS>:/tmp/${appName}"
        ],
        "uninstall": [
          "ssh"<EMAIL_ADDRESS>"rm -rf \"/tmp/${appName}\""
        ],
        "runDebug": [
          "ssh"<EMAIL_ADDRESS>"export XDG_RUNTIME_DIR=/run/user/0; export WAYLAND_DISPLAY=wayland-0;/tmp/${appName}/${appName}"
        ],
        "forwardPort": [
          "ssh", "-o", "ExitOnForwardFailure=yes",
          "-L", "<IP_ADDRESS>:${hostPort}:<IP_ADDRESS>:${devicePort}"<EMAIL_ADDRESS>        ],
        "forwardPortSuccessRegex": ""
      }
    ]
  }

Sorry for no updates for a long time. Can you please try it using the latest flutter-elinux?
I was able to run integration test (flutter integration test example) on Raspberry Pi4 (Raspberry Pi OS).
$ flutter-elinux test integration_test -d raspberry-pi4 --verbose
[  +20 ms] executing: [/home/hidenori/work/flutter/flutter-elinux/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +12 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] f468f3366c26a5092eb964a230ce7892fda8f2f8
[        ] executing: [/home/hidenori/work/flutter/flutter-elinux/flutter/] git tag --points-at f468f3366c26a5092eb964a230ce7892fda8f2f8
[  +18 ms] Exit code 0 from: git tag --points-at f468f3366c26a5092eb964a230ce7892fda8f2f8
[        ] 3.10.6
[   +2 ms] executing: [/home/hidenori/work/flutter/flutter-elinux/flutter/] git rev-parse --abbrev-ref HEAD
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] HEAD
[        ] executing: [/home/hidenori/work/flutter/flutter-elinux/flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[   +2 ms] Exit code 128 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] fatal: HEAD does not point to a branch
[  +12 ms] Unable to locate an Android SDK.
[   +5 ms] executing: uname -m
[   +1 ms] Exit code 0 from: uname -m
[        ] aarch64
[  +69 ms] Found plugin integration_test at /home/hidenori/work/flutter/flutter-elinux/flutter/packages/integration_test/
[  +15 ms] Found plugin integration_test at /home/hidenori/work/flutter/flutter-elinux/flutter/packages/integration_test/
[   +8 ms] Found plugin integration_test at /home/hidenori/work/flutter/flutter-elinux/flutter/packages/integration_test/
[  +15 ms] Found plugin integration_test at /home/hidenori/work/flutter/flutter-elinux/flutter/packages/integration_test/
[   +2 ms] Found 1 files which will be executed as Integration Tests.
[   +1 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +4 ms] Artifact Instance of 'ELinuxEngineArtifacts' is not required, skipping update.
[   +5 ms] executing: ping -w 500 -c 1 <IP_ADDRESS>
[ +107 ms] PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
                    64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=128 time=96.2 ms

                    --- <IP_ADDRESS> ping statistics ---
                    1 packets transmitted, 1 received, 0% packet loss, time 0ms
                    rtt min/avg/max/mdev = 96.241/96.241/96.241/0.000 ms
[   +3 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +5 ms] Artifact Instance of 'ELinuxEngineArtifacts' is not required, skipping update.
[   +5 ms] Skipping pub get: version match.
[   +9 ms] Found plugin integration_test at /home/hidenori/work/flutter/flutter-elinux/flutter/packages/integration_test/
[  +15 ms] Found plugin integration_test at /home/hidenori/work/flutter/flutter-elinux/flutter/packages/integration_test/
[   +5 ms] Found plugin integration_test at /home/hidenori/work/flutter/flutter-elinux/flutter/packages/integration_test/
[  +23 ms] Generating /home/hidenori/work/flutter/sample/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +58 ms] running test package with arguments: [--concurrency=1, --chain-stack-traces, --,
file:///home/hidenori/work/flutter/sample/integration_test/app_test.dart]
00:00 +0: loading /home/hidenori/work/flutter/sample/integration_test/app_test.dart                                                             [  +71 ms] test 0: starting test /home/hidenori/work/flutter/sample/integration_test/app_test.dart
[   +2 ms] Stopping scan for flutter_test_config.dart; found project root at /home/hidenori/work/flutter/sample
[        ] test 0: starting test device
[   +1 ms] test 0: awaiting connection to test device
[   +5 ms] Uninstall sample from raspberry-pi4.
[        ] executing: ssh<EMAIL_ADDRESS>rm -rf "/tmp/sample"
00:10 +0: loading /home/hidenori/work/flutter/sample/integration_test/app_test.dart
00:12 +0: loading /home/hidenori/work/flutter/sample/integration_test/app_test.dart
[+12848 ms] Permission denied, please try again.
[   +1 ms] Uninstallation Success
[   +1 ms] Install sample (build/elinux/arm64/debug/bundle) to raspberry-pi4
[        ] executing: scp -r build/elinux/arm64/debug/bundle hidenori@<IP_ADDRESS>:/tmp/sample
00:20 +0: loading /home/hidenori/work/flutter/sample/integration_test/app_test.dart
00:22 +0: loading /home/hidenori/work/flutter/sample/integration_test/app_test.dart
00:25 +0: loading /home/hidenori/work/flutter/sample/integration_test/app_test.dart
00:38 +0: loading /home/hidenori/work/flutter/sample/integration_test/app_test.dart
00:51 +0: loading /home/hidenori/work/flutter/sample/integration_test/app_test.dart
01:18 +0: loading /home/hidenori/work/flutter/sample/integration_test/app_test.dart                                                             [+65533 ms] Permission denied, please try again.
[        ] Installation Success
[        ] Launch sample.name on raspberry-pi4
01:21 +0: loading /home/hidenori/work/flutter/sample/integration_test/app_test.dart
01:23 +0: loading /home/hidenori/work/flutter/sample/integration_test/app_test.dart
01:24 +0: loading /home/hidenori/work/flutter/sample/integration_test/app_test.dart                                                             [+6296 ms] VM Service URL on device: http://<IP_ADDRESS>:43155/fOz1HKJpCJk=/
[   +1 ms] executing: ssh -o ExitOnForwardFailure=yes -L <IP_ADDRESS>:43155:<IP_ADDRESS>:43155<EMAIL_ADDRESS>02:07 +0: loading /home/hidenori/work/flutter/sample/integration_test/app_test.dart
02:11 +0: loading /home/hidenori/work/flutter/sample/integration_test/app_test.dart
02:12 +0: loading /home/hidenori/work/flutter/sample/integration_test/app_test.dart                                                             [+47369 ms] Forwarded host port 43155 to device port 43155 for VM Service
[   +1 ms] test 0: Connecting to vm service
[   +6 ms] test 0: VM Service uri is available at http://<IP_ADDRESS>:43155/fOz1HKJpCJk=/
[ +387 ms] test 0: Finding the correct isolate with the integration test service extension
[  +87 ms] test 0: connected to test device, now awaiting test result
[        ] test 0: Waiting for test harness or tests to finish
02:16 +1: (tearDownAll)                                                                                [+4371 ms] test 0: Test harness is no longer needed by test process
[        ] test 0: finished
[        ] test 0: cleaning up...
[        ] test 0: ensuring test device is terminated.
[        ] test 0: Test process is no longer needed by test harness
[        ] Uninstall sample from raspberry-pi4.
[        ] executing: ssh<EMAIL_ADDRESS>rm -rf "/tmp/sample"
02:46 +1: (tearDownAll)
02:49 +1: (tearDownAll)
[+32736 ms] Permission denied, please try again.
[        ] Uninstallation Success
[        ] test 0: deleting temporary directory
[        ] test 0: finished
02:49 +1: All tests passed!
[   +4 ms] test package returned with exit code 0
[   +4 ms] "flutter test" took 170,067ms.
[  +24 ms] ensureAnalyticsSent: 0ms
[        ] Running 1 shutdown hook
[        ] Shutdown hooks complete
[        ] exiting with code 0

Added Integration test on target device to Wiki. Closing. Thank you.


Create Spark SQL Datasource for Cosmos OLTP

Issue:
My firm needs to create a spark table that is a "live look" into a cosmos db document. This means that queries on the table created will automatically reflect any changes in the underlying cosmos db document. In the older version of the cosmos db connector for spark 2.4, this was possible using the below spark sql syntax. The migration guide for the current spark 3 connector  (azure-cosmos-spark_3-1_2-12) details what the new configuration options are, but not the name of the new data source to replace "com.microsoft.azure.cosmosdb.spark".
Spark SQL Syntax (for Spark 2 connector):
CREATE TABLE IF NOT EXISTS XXX-
USING com.microsoft.azure.cosmosdb.spark options (
"Endpoint" = "XXX",
"Masterkey" = "XXX",
"Database" = "XXX",
"Collection" = "XXX",
"query_custom" = "XXX"
)
Ideal Solution:
Having a valid spark sql data source to use in the syntax below. This would create a new table in the current spark environment (not create a new table in cosmos db) that would reflect all recent changes to underlying cosmos db table.
CREATE TABLE IF NOT EXISTS XXX
USING [data source] options (
"spark.cosmos.accountEndpoint" = "XXX",
"spark.cosmos.accountKey" = "XXX",
"spark.cosmos.database" = "XXX",
"spark.cosmos.container" = "XXX",
"query_custom" = "XXX"
)
Alternatives Considered:
Loading into a dataframe using df = spark.read.format("cosmos.oltp") syntax, however this is loading data at a point in time and thus will require frequent refreshes (not live).
Error Message when using "cosmos.oltp" as Data Source:
Error in SQL statement: ExecutionException: org.apache.spark.sql.AnalysisException: cosmos.oltp is not a valid Spark SQL Data Source.

@kushagraThapar could you please help route this issue from @rhsu339 ?

You would need to create a VIEW to be able to achieve this. There is a sample here: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/cosmos/azure-cosmos-spark_3-1_2-12/Samples/Python/NYC-Taxi-Data/01_Batch.ipynb
%sql
CREATE TABLE cosmosCatalog.SampleDatabase.GreenTaxiRecordsAnotherView
USING cosmos.oltp
TBLPROPERTIES(isCosmosView = 'True')
OPTIONS (
spark.cosmos.database = 'SampleDatabase',
spark.cosmos.container = 'GreenTaxiRecords',
spark.cosmos.read.inferSchema.enabled = 'True',
spark.cosmos.read.inferSchema.includeSystemProperties = 'False',
spark.cosmos.read.partitioning.strategy = 'Restrictive');
SELECT * FROM cosmosCatalog.SampleDatabase.GreenTaxiRecordsAnotherView LIMIT 10

Ack

Thank you Naveen and Fabian for the quick response.
The syntax Fabian provided does create the live view after setting the spark configurations below, however the table is not persisted after the cluster is restarted. This means that after the cluster restarts, the spark configs (endpoint and key) are lost and we must set them again and recreate the table once more. Note we are using a read only key when accessing cosmos db.
Also we note the table is accessible as "cosmosCatalog.Table", but using the older spark 2 connector we were able to directly create the table in any existing database and this table persisted even after cluster restart. Is there a way to create the table in a way that we can continue to access it after restart?
Spark configurations:
spark.conf.set("spark.sql.catalog.cosmosCatalog", "com.azure.cosmos.spark.CosmosCatalog")
spark.conf.set("spark.sql.catalog.cosmosCatalog.spark.cosmos.accountEndpoint", cosmosEndpoint)
spark.conf.set("spark.sql.catalog.cosmosCatalog.spark.cosmos.accountKey", cosmosMasterKey)
spark.conf.set("spark.sql.catalog.cosmosCatalog.spark.cosmos.views.repositoryPath", "/viewDefinitions" + str(uuid.uuid4()))
The current syntax we are using to create table is below:
sql ="""
create table if not exists cosmosCatalog.ref.table
(col1 string,
col2 string,
col3 string)
USING  cosmos.oltp
TBLPROPERTIES(isCosmosView = 'True')
OPTIONS  (
"spark.cosmos.accountEndpoint" = "XXX",
"spark.cosmos.accountKey" = "XXX",
"spark.cosmos.database" = DB",
"spark.cosmos.container" = "container",
"spark.cosmos.read.customQuery" = "SELECT
t.col1, t.col2, t.col3
from T"
) """
spark.sql(sql)
%sql select * from cosmosCatalog.ref.table
Error when accessing table after restart:
Error in SQL statement: RuntimeException: mandatory option spark.cosmos.accountEndpoint is missing. Config description: Cosmos DB Account Endpoint Uri
Note: even if we set the endpoint and key configs again, the table can still not be found. We have had to run the create table command every time after restart which is not ideal.

HI @rhsu399 - the definition of views is persisted in HDFS in the path you choose in the config setting "spark.sql.catalog.cosmosCatalog.spark.cosmos.views.repositoryPath". The sample generates a new id to have predictable behavior - if instead you use a constant there even between restarts of the cluster you would be able to see the previously created views. And the spark config settings can also added in Cluster Configuration (instead of running it in app/notebook)


Loosing internal state when doing hot reload

// src/App.tsx
import * as React from "react";

export default class App extends React.Component<any, any> {
	private timer;
	private state = {
		counter: 0
	}
	constructor(prop) {
		super(prop)
		this.timer = setInterval(()=>{

		this.setState({counter: this.state.counter + 10})
		},1000)
		console.log("timer", this.timer )

	}
    render() {
        return (

Hello world!

Welcome to hot-reloading React written in TypeScript! {this.state.counter}

        );
    }
}

When I change the behavior of this.state.counter + 10 to this.state.counter - 10 for example, after module reload, the internal state get reset to 0. Is there something we can further configure, or is it because of (already closed bug) https://github.com/gaearon/react-hot-loader/issues/276?

I have experienced the same issue however have not found a solution yet. Suggestions / Pull Requests welcome. Thanks!


Use bindplane 1.37

Description of Changes
Please check that the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[ ] CI passes

Skipping this release


[gsl] update to 2.7

Library name: GNU Scientific Library
New version number: 2.7
Other information that may be useful (release notes, etc...)

Any progress?

Duplicate of #20256 ,Fix by #20268


feat: can add base JSON to useTranslation hook.

`
const { t } = useTranslation("header")
{t("title")}
`
and the result will be:
header.title

Sorry, I have no idea what you mean.

sorry for my delay.
I mean about namespace.
for example my JSON file is:
{
"header": {
"title": "This is my title",
"desc": "This is my description."
}
}
and for usage I want do like that:
`function App() {
const { t } = useTranslation("header")
return (

{t("title")}
{t("desc")}

)
}`
but now we can provide namespace for useTranslation like above code.
@adrai

Sorry, I stil not understand. And btw. header is not a namespace but a nested key.

Would u pls provide me a solution?
how can I put header in useTranslation?

header needs to be an own json file (a namespace) => https://www.i18next.com/principles/namespaces


init_brain_extraction_wf vs antsBrainExtraction

Hi,
What the rationale for making a nipype version of antsBrainExtraction? Just curious about your insights as I am designing a workflow based on ANTs and came across your implementation of init_brain_extraction_wf.
Thanks!

antsBrainExtraction is only parallelized to the extent that ANTs developers considered that when writing the script. By moving to a nipype representation, we can parallelize up to the resource limits of the computation environment, constrained by data dependencies (i.e., if step B requires an output of step A, then B will wait on A, but if there is no dependency, parallel execution is permitted).

It also allowed us to generalize the script better. eg. we are running it on rat brains but skipping the use of laplacians as part of the metric as there is not a convoluted gray matter sheet to be aligned.

Thanks a lot! Making sense.


Mapping workflow should fail if mapping files are missing

In the event that mapping files (fastq) are not present, then we need to make sure that any workflow run that is meant to include mapping should rather than potentially overwriting previous results.
We should first check the current behavior, making espeically sure that running with --repeat-mapping when there are no fastq files in the specified directory does not result in a blank output from alevin mapping steps. If this is not currently the case, we should modify the workflow to correct this.

Noting that the stub test files do not currently include input files for STUBR16, which can be used as a partial test case for implementation here: https://github.com/AlexsLemonade/scpca-nf/pull/630#issuecomment-1875637051
The processes for STUBR16 should be skipped if the directory is missing or empty. file() does not check for presence by default, but adding that check after the fact should allow us implement this more safely here.

Closed with #649


Integrating bidirectional audio between jack and webrtc

Just some branch management notes:

this repo is forked from https://github.com/livekit/livekit and the master branch can be manually synced to the upstream project
I created a main-jktp branch which is where all of our changes will go
I can periodically sync to keep main-jktp + master up to date - so far no conflicts yet but our changes are pretty minimal right now 🤞


proposal: read eval print loop facilities

Many languages offer read eval print loops (REPLs) that allow interactive development of computer programs. REPLs are useful and timeless, and Go should have one.
Go has survived without a REPL, perhaps because compilation speed has always been a project priority. Often full, repeated re-compilation and -execution is a good substitute for a REPL, but there are advantages to working with a runtime:

For large programs, such as those that use big libraries like TensorFlow, linking and starting a new binary can be "slow." Say a minute. As fast as the compiler and linker are, most REPLs have milliseconds of latency from keyboard input until execution begins.

When a large amount of data or state is present in the runtime, it may be be expensive, inconvenient, or infeasible to re-execute the altered program to observe the same state. During development of a web scraper, for instance, it may take half an hour to download a set of webpages again. The programmer could restructure the program to persist the data and load it, but this is an unnecessary burden. ML engineers routinely load large tables of data for interactive analysis in colab notebooks, a web-based repl.

The proposal is simple, perhaps too simple: REPLs are great, and go should have one. If a broad proposal is insufficient, I can attempt to work out more detail.

A brief note on my exploration so far:
One approach would be to extend the features of the plugin system to allow incremental definition of packages. The finality of a package is where I have struggled in implementing a REPL based on existing facilities: new methods cannot be defined, references cannot be made to unexported variables, and so forth. Could the plugin system allow a new version of a package to be installed that references existing internal package variables, functions, and types? Perhaps with restrictions, such as no replacement of existing functions, and packages that can be replaced need to be compiled with a special flag.
Without the ability to modify an existing package, it's already possible to use the plugin system to write a kind of go shell. For example, variables defined at top level can be put into a shell-managed package and referenced by manipulation of identifiers in the ast read by the shell. But this is all a bit clunky and limited. What we really want is to write a package like normal and add pieces of the package to the runtime as they are ready.
(I am not so concerned about supporting the deletion of a package or aspects of a package, but other languages do support such deletions at runtime with various limitations.)

See https://github.com/containous/yaegi.

Thanks. I may need to investigate the project further.
My experience with a repl is in Common Lisp (SBCL) where code is compiled and evaluated. The REPL solutions I have seen for Go seem to require writing an interpreter I suppose I should include incremental compilation

Do we really need plugins for a REPL?  Since the compiler is fast, can't we simply recompile and re-run the file after each input line?

@ianlancetaylor in many cases the compile-time isn't the bottleneck. Consider making an http request in a REPL. After that, every line entered will have to make the same request to return to the previous state.

Do we really need plugins for a REPL? Since the compiler is fast, can't we simply recompile and re-run the file after each input line?

Are you referring to re-running the full executable? I mention in the original post why this may be inadequate for certain workflows - workflows that are common practice in other languages. Perhaps you are referring to something else.

Also, while the compiler is fast, it isn't instantaneous, so that approach gets slower the long you keep a REPL session open.

There are existing attempts at this, and you are welcome to build one as well.
This is not really a proposal though, or if it is it's more work than we will take on right now.
Will close as infeasible.


A reveal can be submitted immediately after a submit when commit slots is < 2k

The current SOS rules in Cardano.Ledger.Spec.STS.Update.Ideation allow for a reveal to be submitted before the commit is stable if the SIP was committed at a slot <2k. The result of a -. b will be 0 if a < b.
          Data.calcCommit sip
            ∈ dom (wssips ▷<= (currentSlot -. (2 *. k)))
            ?! NoStableAndCommittedSIP sip wssips

Possible solution: change wssips so that the slot associated to an SIP is not the submission slot, but the slot at which the submission will become stable.

Solved in #142


extension syntax alternatives

The optional extension syntactic sugar could trivially be switched to something like below (à la CSS Modules):
csjs`
  .foo {
    color: green;
  }

  .bar {
    composes: foo, ${otherClass};
    padding: 4px;
  }
`

Current syntax:
csjs`
  .foo {
    color: green;
  }

  .bar extends .foo, ${otherClass} {
      padding: 4px;
  }
`

Current syntax pros:

Mimics "conventional" class inheritance syntax, including ES6 classes
Clear separation from actual CSS properties and class composition

Current syntax cons:

"Graceful degradation" as a plain CSS string fails badly (original selector fails)

I don't think this is a big issue

Overall, I think the choice is mostly arbitrary and there isn't much reason for one over the other beyond aesthetic preference.

Would be an option to support both? I'm looking into csjs basically because I want to prevent the build step CSS Modules requires, mainly to keep a simple project simple as it can be. Interoperability between the two, by supporting the same class composing syntax, would be great.

For the sake of simplicity, I think I would prefer to stick to one syntax. The current syntax is simpler to handle in terms of parsing, which is nice. A CSS Modules composition syntax to CSJS extension syntax transform could probably be implemented with https://github.com/rtsao/babel-plugin-csjs-postcss and a PostCSS plugin without too much difficulty.


<EMAIL_ADDRESS>release date??

Library
<EMAIL_ADDRESS>Description
When do you plan to release version 2.9.0? I see that all work is done for this version, but I can't find it on npm. I just started to work on small project that uses Azure B2C and found your sample for Angular. In this sample there are multiple calls to setActiveAccount on IPublicClientApplication. I see that in new version, this method is available. Do you have a timeframe?
https://github.com/AzureAD/microsoft-authentication-library-for-js/milestone/71
Source
Customer request

+1

+1

@alan994 @gwenael-louandre Thanks for your interest. We are planning on having<EMAIL_ADDRESS>released this week.

@alan994 @gwenael-louandre Thanks for your interest. We are planning on having<EMAIL_ADDRESS>released this week.

Closing as<EMAIL_ADDRESS>was released on 01/12/2021 and<EMAIL_ADDRESS>was released on 01/21/2021.

Closing as<EMAIL_ADDRESS>was released on 01/12/2021 and<EMAIL_ADDRESS>was released on 01/21/2021.


SumUpPayment Builder pattern

Hi,
thanks for the good work guys.
May I suggest using a Builder pattern to build your SumUpPayment?
It would allow to have immutable objects, implement some eventual validation before build, and a simpler way to use for developers.
Also, it might be interesting to use an Enum to declare valid currencies, and separate the android logic from the Payment pojo.
Before:
SumUpPayment sumUpPayment = new SumUpPayment(affiliateKey, productAmount, currency, resultActivity, this);

// optional: add details
sumUpPayment.setProductTitle("Taxi Ride");
sumUpPayment.setReceiptEmail("customer@mail.com");
sumUpPayment.setReceiptSMS("+3531234567890");

// optional: Add additional metadata
HashMap<String, String> additionalInfo = new HashMap(3);
additionalInfo.put("AccountId","taxi0334");
additionalInfo.put("From","Here");
additionalInfo.put("To","There");
sumUpPayment.setAdditionalInfo(additionalInfo);

After
SumUpPayment sumUpPayment = SumUpPayment.builder()
.affiliateKey(key)
.productAmount(amount)
.currency(Currency.EURO)
.productTitle("Taxi Ride")
<EMAIL_ADDRESS>.receiptSMS("+3531234567890")
.addInfo("AccountId", "taxi0334")
.addInfo("From", "here")
.addInfo("To", "there")
.build();

Thanks for your feedback! I am actually working on this exact change right now.

Implemented as suggested


chore: update build tasks and changelog

:tada: This PR is included in version 2.42.4 :tada:
The release is available on:

GitHub release
v2.42.4

Your semantic-release bot :package::rocket:


add type of generated file so it can be easily examined

just left one comment. we can address this separately on another PR but just wanted to point it out


Make Cerebro available as a desktop app

Hi :)
Cerebro is a great app, but i wanted to be able to lauch it from plank ubuntu, there fore i needed a .desktop file, so i made one and a gist in case it could help someone else :)
https://gist.github.com/PurpleBabar/b7ab56435a172b743a8f5f3b255c4cb3
Hop it can helps someone else :)

If I remember well, when I installed Cerebro, it created the Desktop file automatically. How did you install Cerebro? Deb or AppImage?

AppImage :) I just madethe gist for people that used the appImage and wanted itavailable on desktop ;)

OK. I think deb created by default the .desktop

@PurpleBabar very happy for that explanation
thanks for the gist


feat: 🎸 Make 5.2.0 version as default version

Description
Sets fiveTwoZeroConfig as  the default config. Also, updates the compatible service versions for 5.2.0 config
Breaking Changes
NA
JIRA Link
Checklist

[ ] Updated the Readme.md (if required) ?

This should be merged only when 5.2.0 image for mainnet is available in docker hub.

I am not sure, but it might be version v5.2.1 upstream when mainnet branch gets updated. I think a patch got version got added.

:tada: This PR is included in version 5.8.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v5.8.0
v5.8.0

Your semantic-release bot :package::rocket:


Issue PIX-468 #115 - Merge options component

Fixes: PIX-468 #115
Created a reusable component which can later be used for Search Results and Configuration File Options

Having console error when toggling checkboxes:

All other things are working as expected

LGTM


[Discussion] What Metrics do we want?

As discussed in #973 , we will probably start by implementing metrics as standalones.
This issue aims to discuss on what metrics we need and how we can implement this in a package structure.
Suggestions welcome.
My initial thought was to have a metrics package with subpackages for each research area like vision, text, audio etc.
CC @srush @Borda @williamFalcon @Darktex
As a start:
For vision I'd like to have the following:

[ ] accuracy
[ ] precision
[ ] recall
[ ] f1 score
[ ] roc
[ ] auc
[ ] dice coefficient
[ ] panoptic quality
[ ] IOU
[ ] SSIM

I like the structure...

Dividing only into research areas would mean duplication of some metrics, for example accuracy is used more or less within all fields. I think it would be better to mainly divide into a regression and classification subpackage depending on targets begin continues or discrete. Specific metrics (like BLEU in NLP) could be in research-specific subpackeges.

I agree, and these metrics (like accuracy) would not fall in any of these but remain in the base package.
I don't want to divide them into regression and classification and also have subpackages for all the research areas as it may become non-trivial where to find the desired metric.
Another thing we could think of is not having subpackages at all, but just one metric package containing them all (just like torch.nn)

Dividing only into research areas would mean duplication of some metrics, for example accuracy is used more or less within all fields. I think it would be better to mainly divide into a regression and classification subpackage depending on targets begin continues or discrete. Specific metrics (like BLEU in NLP) could be in research-specific subpackeges.

I would rather avoid deep metric structures, one level is enough... So we can have general purpose like accuracy and the domain specific =)

cv: panoptic quality and IOU
Augmentation: affinity and diversity

Some metrics may even be dataset-specific, e.g., F1 score for SQuAD (there are some preprocessing and special rules involved). For these kind of less general metrics, I think there should be a base Metric class for people to inherited on and create their own.
For some reference, this is how I implement mine, and this is from PyTorch Ignite.
Also, should losses be considered as some type of metrics?

@haotongye
I would say, that we shouldn't include dataset specific metrics here.
But I agree, we should have a base class metric (probably just a torch.nn.Module with some extras). This will, however, be hard for the functional interface.
For now, I wouldn't include losses, as this would really broaden the scope. Maybe we can do this afterwards in a separate effort.

@seandatasci Can you link a paper or reference implementation for the affinity and diversity part? AFAIK there are several ways to calculate these...

some requested:

confusion matrix
f1
AUC/ROC
rouge
bleu

metrics for continues output:

mean squared error (MSE) / root mean squared error (RMSE)
mean absolute error (MAE)
root mean squared Logarithmic Error (RMSLE)
maxerror
cosinesimilarity

would be nice to have:

R2 score (coefficient of determination)
Correlation (Pearson/Spearman)
Explained variance score

however, as far as I know the last 3 require access to the full list of targets and predictions at ones, so they can only be used for smaller datasets.

As I mentioned in the tweet for NLG this repo can directly be integrated (?)

If planning to also include support for Vision&Language tasks such as VQA/Visdial etc. which are proposed mostly as discriminative tasks, R@{1,5,10} / MRR/ NDCG  can also be used. One nice implementation by Pythia here.

Let me know if I can help! Thanks.

@shubhamagarwal92 We probably will have to adjust the metrics for NLG according to our upcoming metrics interface, but other then that it should be fine. If you want to, you can take this, once we have our interface running (probably tomorrow).

@justusschock https://arxiv.org/abs/2002.08973

Let me know if I can help! Thanks.

Help is always welcome =)


Update handle::read and handle::write

rename handle::read to:

template<typename T>
T read_csr<T>(byte_offset, unt32_t csr_space = 0) // where T is one of [uint32_t, uint64_t]

rename handle::write to:

template<typename T>
void write_csr<T>(byte_offset, T value, uint32_t csr_space = 0) // where T is one of [uint32_t, uint64_t]

This has been implemented in #261
The functions were changed to read_csr32, read_csr64, write_csr32, and write_csr64.


Add Gradle Wrapper wrapper validation action

It ensures all the gradle-wrapper.jar in the repository are authentic

@googlebot I signed it!

That's cool! Thanks.