Monitors Wake Up ~20 Minutes After They Go To Sleep

Describe the bug
It seems like my monitors are waking from sleep. I set my monitors to go to sleep for 8 minutes after inactivity and after 1 hour, my PC suspends. After ~20 minutes, my monitors wake up. This makes my monitors go into a loop of going to sleep and waking up, making my PC never sleep.
Once they wake up, my windows from my secondary monitor all go to the primary monitor. I'm not sure if this is a GNOME bug but id thought I'd include it here.
I tried unplugging both my keyboard and mouse but no luck.
I had installed the GNOME spin on Fedora before and none of these issues seemed to occur to my knowledge. I installed Bazzite just a few days ago.
Before, on Windows, I would have a similar issue where my GPU would make my monitors sleep for a few seconds and wake them up. I could remedy this by either rolling back to a very old driver or turning off Ultra Low Power State mode using something like MSI Afterburner. Does something like this exist on Linux?
What did you expect to happen?
I expected my monitors to go to sleep and stay asleep until it was time to make my PC sleep.
Output of rpm-ostree status
State: idle
Deployments:
  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:stable
                   Digest: sha256:bf83de8a9d9472ef15ef975330779137fc9ce066d5224d8dd9edc019b74014e1
                  Version: 40.20240809.0 (2024-08-09T05:09:23Z)
            SecAdvisories: 1 unknown severity, 1 low, 2 important
                     Diff: 56 upgraded, 1 added
          LayeredPackages: gnome-themes-extra gtk-murrine-engine openrazer-meta razergenie
                           sassc
            LocalPackages: lact-libadwaita-0.5.5-0.x86_64

● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:stable
                   Digest: sha256:d186cadf6e3eef7fa8f35dec31b4313efabf77ebdccd74b09998d0296ae01c90
                  Version: 40.20240807.0 (2024-08-07T07:31:06Z)
          LayeredPackages: gnome-themes-extra gtk-murrine-engine openrazer-meta razergenie
                           sassc
            LocalPackages: lact-libadwaita-0.5.5-0.x86_64

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:stable
                   Digest: sha256:d186cadf6e3eef7fa8f35dec31b4313efabf77ebdccd74b09998d0296ae01c90
                  Version: 40.20240807.0 (2024-08-07T07:31:06Z)
          LayeredPackages: gnome-themes-extra gtk-murrine-engine openrazer-meta razergenie
                           sassc
            LocalPackages: lact-libadwaita-0.5.5-0.x86_64

Hardware
CPU: AMD Ryzen 9 5900X 3.7 GHz 12-Core Processor
Motherboard: Gigabyte X570S AORUS MASTER ATX AM4 Motherboard
Memory: G.Skill Trident Z Neo 32 GB (2 x 16 GB) DDR4-3600 CL16 Memory
Video Card: XFX Speedster MERC 319 Black Radeon RX 6900 XT 16 GB Video Card
Power Supply: SeaSonic PRIME 850 W 80+ Gold Certified Fully Modular ATX Power Supply
Monitor: LG 34GP83A-B 34.0" 3440 x 1440 144 Hz Curved Monitor
Monitor: LG 29UM67P 29.0" 2560 x 1080 60 Hz Monitor
Extra information or context
No response

I wanted to troubleshoot deeper and installed Fedora GNOME on an extra drive and it went to sleep without any issues.It seems like something on Bazzite that is causing these issues.

I wanted to troubleshoot deeper and installed Fedora GNOME on an extra drive and it went to sleep without any issues.It seems like something on Bazzite that is causing these issues.

I'm not able to reproduce, we will need a log to investigate this any further.

I wanted to troubleshoot deeper and installed Fedora GNOME on an extra drive and it went to sleep without any issues.It seems like something on Bazzite that is causing these issues.

I'm not able to reproduce, we will need a log to investigate this any further.

Sure thing! How do I produce a log to send you? Do I need to send a log right after my monitors wake up from sleep?

Also, it looks like the KDE spin doesn't have this issue, so the GNOME spin is the only one that does this for some reason.


net: sockets: tls: Fix ZSOCK_POLLHUP detection

The previous approach to detect if the underlying transport was closed
(by checking the return value of mbedtls_ssl_read() was not right,
since the function call does not request any data - therefore 0 as a
return value is perfectly fine.
Instead, rely on the underlying transport ZSOCK_POLLHUP event - if it
reports that the connection ended, forward the event to the application.
Signed-off-by: Robert Lubos<EMAIL_ADDRESS>

FYI @lucasdietrich, it turned out that the previous fix proposal wasn't that great.

@rlubos should this be backported?


Change the initializer style

The first commit simplifies the initializers by making them take a value instead of a function. This essentially means removing ||.
The second commit is more opinionated in that it removes py.init[_mut|_ref](...), meaning that you need to call Py::new[_ref|_mut](py, ...). The reason is that this decouples code (the gil token shouldn't be bound to what Py<T> does) and that it makes more apparent that we're actually instantiating a Py<T> here.
I've also discovered that PyRawObject::init never actually returns an error, so I made it infallible (as in it can only fail with a panic/segfault).
Eventually I'd like to make calling in consturctors Py::new unnecessary through into_object, which would also remove the Ok() wrapping introduced in commit two.

The first commit simplifies the initializers by making them take a value instead of a function. This essentially means removing ||

:+1: for this change. Since we don't have PyToken now, there's no reason to use closure here.

The second commit is more opinionated in that it removes py.init[_mut|_ref](...)

I've also discovered that PyRawObject::init never actually returns an error, so I made it infallible

Also :+1:

Eventually I'd like to make calling in consturctors Py::new unnecessary through into_object, which would also remove the Ok() wrapping introduced in commit two.

It looks we can allow users to define fn __new__(obj: &PyRawObject) { by just changing proc macro code :thinking:
Isn't it enough?

It looks we can allow users to define fn __new__(obj: &PyRawObject) { by just changing proc macro code thinking
Isn't it enough?

Eventually, I'd like to allow writing idiomatic rust style new function, .e.g.:
#[pyo3]
impl Coordinate {
    #[pyo3(constructor)]
    fn new(x: isize, y: isize) -> Self {
        Coordinate { x, y }
    }
}

I know that this is technically possible because I've implemented it in a wrapper, but there's still a bit missing in pyo3 to properly support that.

The tests are currently failing, that's why I've cherry picked two working commits into individual pull requests

The 3.5 fails due to a travis hiccup, otherwise ci is passing


Add TeamsMediaConnectivityPolicy cmdlets public docs

@microsoft-github-policy-service agree company="{Microsoft}"

@shivtorov Kindly request for further review. Thanks!


make onContextReady optional.

When onContextReady prop is not provided, the first render was throwing Uncaught TypeError: onContextReady is not a function.

Hello @joka828,
thanks for pointing this out.

lol, I was just about to submit the same change, as I found this behavior very weird, but I couldn't find the issue in the code anymore.... Now I see why :D
Thanks!


Can't print logs using IO.println

It seems that I can't get logs from my lambda built with Feral.
I've been reproducing with this simple example (using Scala 3.3.0 and  Feral 0.2.3):
object Lambda extends IOLambda[Unit, Unit] {
  override def handler: Resource[IO, LambdaEnv[IO, Unit] => IO[Option[Unit]]] =
    for {
      _ <- IO.println("trying to log something").toResource
    } yield { (env: LambdaEnv[IO, Unit]) =>
      IO.println("trying to log something else") *> IO.unit.map(_.some)
    }
}

When executing sam local invoke LambdaFunction
I get:
Invoking hawk.Lambda::handler (java17)
Decompressing
/Users/me/Documents/path/to/my/uberjar.jar
Local image is up-to-date
Using local image: public.ecr.aws/lambda/java:17-rapid-arm64.

Mounting /private/var/folders/h8/1xxcb8j53q9gvtdvl0t674y00000gp/T/tmpsq7sev9x as
/var/task:ro,delegated, inside runtime container
START RequestId: 78653470-2d5a-4292-ab79-caf86ef6a0f6 Version: $LATEST
END RequestId: 78653470-2d5a-4292-ab79-caf86ef6a0f6
REPORT RequestId: 78653470-2d5a-4292-ab79-caf86ef6a0f6	Init Duration: 0.06 ms	Duration: 670.52 ms	Billed Duration: 671 ms	Memory Size: 1024 MB	Max Memory Used: 1024 MB
{}%

The jar was build using sbt assembly and the following SAM template was used:
Resources:
  LambdaFunction:
    Type: AWS::Serverless::Function
    Properties:
      Handler: hawk.Lambda::handler
      CodeUri: path/to/my/uberjar.jar
      Runtime: java17
      Architectures:
        - arm64
      MemorySize: 1024
      Events:
        S3Event:
          Type: S3
          Properties:
            Bucket:
              Ref: MyS3Bucket
            Events: s3:ObjectCreated:*
  MyS3Bucket:
    Type: AWS::S3::Bucket
Outputs:
  LambdaFunction:
    Description: Lambda function ARN
    Value: !GetAtt LambdaFunction.Arn
  S3Bucket:
    Description: S3 bucket name
    Value: !Ref MyS3Bucket

On the other hand, this minimal Java example works fine:
public class HelloWorldLambda implements RequestHandler<Void, Void> {
    @Override
    public Void handleRequest(Void input, Context context) {
        System.out.println("Hello world");
        return null;
    }
}

When executing sam local invoke HelloWorldLambdaFunction I get:
Invoking org.example.HelloWorldLambda::handleRequest (java17)
Decompressing /Users/me/Documents/path/to/my/uberjar.jar
Local image is up-to-date
Using local image: public.ecr.aws/lambda/java:17-rapid-arm64.

Mounting /private/var/folders/h8/1xxcb8j53q9gvtdvl0t674y00000gp/T/tmpc8ca3r5b as /var/task:ro,delegated, inside runtime container
START RequestId: e789cd07-f461-4566-a7c3-8e51c6e3481a Version: $LATEST
Hello world
END RequestId: e789cd07-f461-4566-a7c3-8e51c6e3481a
REPORT RequestId: e789cd07-f461-4566-a7c3-8e51c6e3481a	Init Duration: 0.13 ms	Duration: 129.56 ms	Billed Duration: 130 ms	Memory Size: 512 MB	Max Memory Used: 512 MB
null%

The jar was build using mvn clean package and the following SAM template was used:
Resources:
  HelloWorldLambdaFunction:
    Type: AWS::Serverless::Function
    Properties:
      FunctionName: HelloWorldLambdaFunction
      Handler: org.example.HelloWorldLambda::handleRequest
      Runtime: java17
      Architectures:
        - arm64
      CodeUri: path/to/my/uberjar.jar
      MemorySize: 512
      Timeout: 10
      Policies:
        - AWSLambdaBasicExecutionRole

Outputs:
  HelloWorldLambdaFunction:
    Description: HelloWorld Lambda Function ARN
    Value: !GetAtt HelloWorldLambdaFunction.Arn

Logging seems to work with my setup in cf909c5b73e832d45e78ddbf9567dfd90d99462f.
$ sam local invoke
Invoking MyLambda (java17)
Decompressing /workspace/sandbox/lambda.jar
Local image is up-to-date
Using local image: public.ecr.aws/lambda/java:17-rapid-x86_64.

Mounting /tmp/tmpssns_67h as /var/task:ro,delegated, inside runtime container
START RequestId: 852ef67f-b7e7-475c-bcda-3730d292f621 Version: $LATEST
trying to log something
trying to log something else
END RequestId: 852ef67f-b7e7-475c-bcda-3730d292f621
REPORT RequestId: 852ef67f-b7e7-475c-bcda-3730d292f621  Init Duration: 0.12 ms  Duration: 797.27 ms     Billed Duration: 798 msMemory Size: 128 MB     Max Memory Used: 128 MB
{}

Turns out the issue was Handler: hawk.Lambda::handler, which should either be just the main class (Handler: hawk.Lambda), or using handleRequest (Handler: hawk.Lambda::handleRequest)


State enhancements: serializable and dev tools

Zustand is a generally good state management library but we hit a couple edge cases:

React MutableRefs of an HTML element break redux dev tools, so the current MapStore['mapRef'] makes observing the state harder
On de-focus from the tab/window, the state serializes and goes to sleep, but that does not work for JS classes like Set or Map that do not serialize

To resolve this, we need to do one of the following:

Swap to a more robust state library
Refactor slightly to use vanilla JS objects and access the map ref slightly differently
Hack Zustand in some slightly non-standard ways

Description
This PR takes the second approach and swaps out Set and Map for Arrays and Records (objects) repsectively. Additionally, this swaps mapRef to getMapRef, which can be set as a function that returns the map object, rather than a direct reference.
Reviewers

Primary:
Secondary:

Checklist

[x] Refactor the state to no longer use set/maps
[x] Refactor mapRef to getMapRef
[x] Update all instances referring to old methods like .size or .get
[ ] Ensure items are not being duplicated (eg. set automatically de-duplicates list)
[ ] Sanity check performance implications
[ ] Test interactions
[ ] Resolve conflicts

Screenshots (if applicable):

Closing - will re-open with rebased branch.


Training and prediction of structures without 3-body interactions

I have verified that the current modifications can ensure reliable prediction and training of any number of structures without 3-body interactions. By contrast, the previous solution in TF version (see related discussions) has to make a static graph with 3-body interactions beforehand. That solution also cannot ensure reliable training when there are a whole batch of structures without 3-body interactions in the training set. This is actually a possible case when users manually add isolated structures into training set.
To be exact, the edited code is tested to perform a few epochs of training for 3 different sets, (1) 50 structures with isolated atoms, (2) 50 structures with only 2-body interactions, and (3) 407 Si-O structures in the Materials Project (same as the example of M3GNet training with matgl). For prediction, the edited code is expected to work for any structures with or without 2- or 3-body interactions. These edits are expected to bring ignorable effect to speed and memory consumption of training or prediction.
@shyuep @kenko911 Would you kindly have a look and merge this PR if no further questions? Thanks!
fixed #78
closed #85

@kenko911 Thanks for the helpful and inspiring discussions. I have edited this PR to combine our ideas. Now, no artificial bond is created. Instead, non-bonded nodes are used to better represent isolated atoms. This current solution is expected to work for training and prediction of any structures, including any combination of isolated atom, two-body and three-body interaction regions. I will continue to review and see if this version will be able to enable bias properly. Thanks.

@JiQi535  Thanks a lot for your effort!!


131 ag tuple like interface compliance std get t

#149
#155
#131

What remains to do ?

finish tests -> unqualified lookup

TODO: apply #189 / #193 prior to merge


keyboard manager not working?

Microsoft PowerToys version
0.63.0
Installation method
Windows Store
Running as admin

[X] Yes

Area(s) with issue?
Keyboard Manager
Steps to reproduce
remapping does not seem to be working at all- I initially downloaded this app so I could give my keyboard a "print screen" option. it's a 60% and doesn't have a print screen button.
I thought maybe it was the specific keys I was trying to remap, but I even tested it by trying to change my "V" to "A", and got the same warning on my screen
I tried to restart my pc, as well as the app, to no avail
✔ Expected Behavior
my right control button should remap to print screen

❌ Actual Behavior

I get a "Warning: The follow keys do not have assignments" pop up.
Other Software
No response

Thank you for report.
That's expected behavior. Keyboard manager can map only to keys supported by the keyboard.
More information may be found in the following section I see keys listed in the drop-down menus that don't work. Why is that?

@taras-janea If so, can the error message be rephrased to better explain what's going on?

Hi, I seem to get this error message with every remapping. I click 'Continue Anyway' and the remapping works.
So I don't understand the error message.


Correct package names

@jba
@vchudnov-g
@jmuk
@pongad

I don't think we've decided on the path yet.

This particular pull was more for convenience - so I don't have to edit the package names/import paths after regenerating to test the client.
Will hold off until a decision is made.


Querying the cache

Especially for larger applications, the cold startup time can be quite long. As a result people end up unsure whether the application is compiling or just hung. It would be nice if there was some way to check if I'm about to hit the cache, so that if I'm going to miss, I could print a message of some sort to stderr.

Makes sense to me! I think with a feature like https://github.com/bytecodealliance/wasmtime/issues/1779 we may be able to support this well where caching will be first-class at that point rather than hidden behind the scenes. In any case this'll need to be implemented upstream in Wasmtime first.

Cool, looking forward to it. I'm very happy with wasmtime managing the caching for me though.

With Module.deserialize and Module.serialize I think that this is "effectively done" in that it enables building the cache externally if this is desired. I don't think we're going to add more intrusive support for the built-in cache in Wasmtime itself given this feature as well.

With Module.deserialize and Module.serialize I think that this is "effectively done" in that it enables building the cache externally if this is desired.

I've already done this so closing this is completely reasonable.


fix: Fix invalid pytest dependency version

poetry does not want to accept flake8 as a valid versionFixes issue #13

fix: Fix invalid pytest dependency version
fix: Use fasttext-wheel instead of fasttext

I will see how to fix! Tests are failing


Objects are named differently in profile / release mode

Steps to Reproduce
I'm on flutter 1.17.3 and when I run this code the print(this.toString().toLowerCase()); will have different results in profile/release mode. If I run it in debug mode I get the name that I expect.

But when I run it in profile/release mode I get the following

In order to reproduce run the following code in a new project
import 'package:flutter/material.dart';

void main() {
  runApp(App());
}

class App extends StatelessWidget {
  App();

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: TestWidget(),
    );
  }
}

class TestWidget extends StatelessWidget {

  TestWidget()
  {
    print(this.toString().toLowerCase());
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(child: Text('home')),
    );
  }
}

and
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Flutter",
            "request": "launch",
            "type": "dart",
            // "flutterMode": "profile",
        }
    ]
}

Run flutter clean in between builds and toggle the flutter mode from debug to profile.

Hi @michael-ottink
testing the code below
with the latest master
code sample

flutter run -v

profile logs
[   +3 ms] ✓ Built build/app/outputs/flutter-apk/app-debug.apk.
[   +4 ms] executing: /usr/lib/Android/build-tools/29.0.2/aapt dump xmltree /home/francesco/projects/master/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +16 ms] Exit code 0 from: /usr/lib/Android/build-tools/29.0.2/aapt dump xmltree /home/francesco/projects/master/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.master" (Raw: "com.example.master")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="master" (Raw: "master")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.master.MainActivity" (Raw: "com.example.master.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +7 ms] Stopping app 'app.apk' on Pixel 3a.
[        ] executing: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C shell am force-stop com.example.master
[ +118 ms] executing: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C shell pm list packages com.example.master
[  +54 ms] package:com.example.master
[  +11 ms] executing: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C shell cat /data/local/tmp/sky.com.example.master.sha1
[  +92 ms] af91698c092111485d2d35bad2c58ae28a7e63e0
[        ] Installing APK.
[   +2 ms] executing: /usr/lib/Android/platform-tools/adb version
[   +9 ms] Android Debug Bridge version 1.0.41
           Version 29.0.6-6198805
           Installed as /usr/lib/Android/platform-tools/adb
[        ] executing: /usr/lib/Android/platform-tools/adb start-server
[  +11 ms] Installing build/app/outputs/flutter-apk/app.apk...
[        ] executing: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C install -t -r /home/francesco/projects/master/build/app/outputs/flutter-apk/app.apk
[+5932 ms] Performing Streamed Install
                    Success
[        ] Installing build/app/outputs/flutter-apk/app.apk... (completed in 5.9s)
[   +1 ms] executing: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C shell echo -n ff7b056da161190693c471ccb494fc2fe7ea5b73 > /data/local/tmp/sky.com.example.master.sha1
[  +43 ms] Pixel 3a startApp
[   +4 ms] executing: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez
enable-checked-mode true --ez verify-entry-points true com.example.master/com.example.master.MainActivity
[ +208 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.master/.MainActivity (has extras) }
[   +1 ms] Waiting for observatory port to be available...
[+1449 ms] Observatory URL on device: http://<IP_ADDRESS>:41733/mT1e61Qil5Q=/
[   +5 ms] executing: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C forward tcp:0 tcp:41733
[  +28 ms] 41883
[   +1 ms] Forwarded host port 41883 to device port 41733 for Observatory
[  +18 ms] Caching compiled dill
[ +137 ms] Connecting to service protocol: http://<IP_ADDRESS>:41883/mT1e61Qil5Q=/
[ +724 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:41883/mT1e61Qil5Q=/
[        ] Waiting for Pixel 3a to report its views...
[   +9 ms] Waiting for Pixel 3a to report its views... (completed in 8ms)
[  +15 ms] DevFS: Creating new filesystem on the device (null)
[  +71 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.master/code_cache/masterMZZZNN/master/)
[   +2 ms] Updating assets
[ +119 ms] Syncing files to device Pixel 3a...
[   +2 ms] Scanning asset files
[   +3 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[        ] <- recompile package:master/main.dart 46cdcdda-df8c-4d60-aac6-72be5c85b534
[        ] <- 46cdcdda-df8c-4d60-aac6-72be5c85b534
[   +1 ms] I/OpenGLRenderer(24503): Davey! duration=1273ms; Flags=1, IntendedVsync=153888208297721, Vsync=153888208297721, OldestInputEvent=9223372036854775807, NewestInputEvent=0,
HandleInputStart=153888214661935, AnimationStart=153888214794019, PerformTraversalsStart=153888214802456, DrawStart=153889218208389, SyncQueued=153889220313650, SyncStart=153889220788181,
IssueDrawCommandsStart=153889221259588, SwapBuffers=153889479908676, FrameCompleted=153889482140134, DequeueBufferDuration=7255000, QueueBufferDuration=1366000,
[        ] I/Choreographer(24503): Skipped 75 frames!  The application may be doing too much work on its main thread.
[ +251 ms] Updating files
[ +939 ms] DevFS: Sync finished
[   +1 ms] Syncing files to device Pixel 3a... (completed in 1,201ms)
[   +3 ms] Synced 0.9MB.
[   +3 ms] <- accept
[   +8 ms] Connected to _flutterView/0x7b5d2a9820.
[   +5 ms] Flutter run key commands.
[   +7 ms] r Hot reload. 🔥🔥🔥
[   +2 ms] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on Pixel 3a is available at: http://<IP_ADDRESS>:41883/mT1e61Qil5Q=/
[ +689 ms] I/flutter (24503): testwidget
[ +969 ms] I/.example.maste(24503): Waiting for a blocking GC ProfileSaver
[ +118 ms] I/.example.maste(24503): WaitForGcToComplete blocked ProfileSaver on ClassLinker for 118.594ms
[+3469 ms] I/Choreographer(24503): Skipped 394 frames!  The application may be doing too much work on its main thread.
[+30832 ms] DevFS: Deleting filesystem on the device (file:///data/user/0/com.example.master/code_cache/masterMZZZNN/master/)
[  +56 ms] DevFS: Deleted filesystem on the device (file:///data/user/0/com.example.master/code_cache/masterMZZZNN/master/)
[ +443 ms] Service protocol connection closed.
[   +1 ms] Application finished.
[   +9 ms] executing: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C forward --list
[  +14 ms] Exit code 0 from: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C forward --list
[        ] 965AY0WP5C tcp:41883 tcp:41733
[   +2 ms] executing: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C forward --remove tcp:41883
[   +9 ms] executing: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C forward --list
[   +5 ms] Exit code 0 from: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C forward --list
[   +1 ms] "flutter run" took 100,983ms.
[   +2 ms] ensureAnalyticsSent: 0ms
[        ] Running shutdown hooks
[        ] Shutdown hook priority 4
[        ] Shutdown hooks complete
[        ] exiting with code 0

flutter run --profile -v
[ +108 ms] executing: [/home/francesco/development/flutter_master/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +34 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 61b93d25bb0f8499c48c0e4655a349bda3456df6
[   +1 ms] executing: [/home/francesco/development/flutter_master/] git tag --contains HEAD
[ +254 ms] Exit code 0 from: git tag --contains HEAD
[   +1 ms] executing: [/home/francesco/development/flutter_master/] git describe --match *.*.*-*.*.pre --first-parent --long --tags
[  +22 ms] Exit code 0 from: git describe --match *.*.*-*.*.pre --first-parent --long --tags
[        ] 1.20.0-0.0.pre-184-g61b93d25bb
[  +11 ms] executing: [/home/francesco/development/flutter_master/] git rev-parse --abbrev-ref --symbolic @{u}
[   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [/home/francesco/development/flutter_master/] git ls-remote --get-url origin
[   +4 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +49 ms] executing: [/home/francesco/development/flutter_master/] git rev-parse --abbrev-ref HEAD
[   +4 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.
[        ] 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.
[  +20 ms] executing: /usr/lib/Android/platform-tools/adb devices -l
[  +42 ms] List of devices attached
           965AY0WP5C             device usb:1-2 product:sargo model:Pixel_3a device:sargo transport_id:1
[   +6 ms] /usr/lib/Android/platform-tools/adb -s 965AY0WP5C shell getprop
[ +119 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +9 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +2 ms] 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.
[ +207 ms] Generating /home/francesco/projects/master/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +35 ms] ro.hardware = sargo
[        ] ro.build.characteristics = nosdcard
[  +43 ms] executing: /usr/lib/Android/build-tools/29.0.2/aapt dump xmltree /home/francesco/projects/master/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +12 ms] Exit code 0 from: /usr/lib/Android/build-tools/29.0.2/aapt dump xmltree /home/francesco/projects/master/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.master" (Raw: "com.example.master")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="master" (Raw: "master")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.master.MainActivity" (Raw: "com.example.master.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +5 ms] Launching lib/main.dart on Pixel 3a in profile mode...
[   +3 ms] executing: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C shell -x logcat -v time -t 1
[  +88 ms] Exit code 0 from: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C shell -x logcat -v time -t 1
[        ] --------- beginning of main
           06-24 14:34:23.092 E/WakeLock(24131): *gcore*:*net_scheduler* ** IS FORCE-RELEASED ON TIMEOUT **
[   +5 ms] executing: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C shell -x logcat -v time -t 1
[  +81 ms] Exit code 0 from: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C shell -x logcat -v time -t 1
[        ] --------- beginning of main
           06-24 14:34:23.092 E/WakeLock(24131): *gcore*:*net_scheduler* ** IS FORCE-RELEASED ON TIMEOUT **
[  +41 ms] executing: /usr/lib/Android/platform-tools/adb version
[   +7 ms] Android Debug Bridge version 1.0.41
           Version 29.0.6-6198805
           Installed as /usr/lib/Android/platform-tools/adb
[   +2 ms] executing: /usr/lib/Android/platform-tools/adb start-server
[   +5 ms] Building APK
[  +21 ms] Running Gradle task 'assembleProfile'...
[   +1 ms] gradle.properties already sets `android.enableR8`
[   +2 ms] Using gradle from /home/francesco/projects/master/android/gradlew.
[        ] /home/francesco/projects/master/android/gradlew mode: 33261 rwxr-xr-x.
[   +7 ms] executing: [/home/francesco/projects/master/android/] /home/francesco/projects/master/android/gradlew -Pverbose=true -Ptarget-platform=android-arm64
-Ptarget=/home/francesco/projects/master/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleProfile
^[	[+3566 ms] > Task :app:compileFlutterBuildProfile
[        ] [ +225 ms] executing: [/home/francesco/development/flutter_master/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +41 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] 61b93d25bb0f8499c48c0e4655a349bda3456df6
[        ] [        ] executing: [/home/francesco/development/flutter_master/] git tag --contains HEAD
[        ] [ +180 ms] Exit code 0 from: git tag --contains HEAD
[        ] [   +1 ms] executing: [/home/francesco/development/flutter_master/] git describe --match *.*.*-*.*.pre --first-parent --long --tags
[        ] [  +14 ms] Exit code 0 from: git describe --match *.*.*-*.*.pre --first-parent --long --tags
[        ] [        ] 1.20.0-0.0.pre-184-g61b93d25bb
[        ] [   +7 ms] executing: [/home/francesco/development/flutter_master/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/master
[        ] [        ] executing: [/home/francesco/development/flutter_master/] git ls-remote --get-url origin
[        ] [   +6 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +60 ms] executing: [/home/francesco/development/flutter_master/] git rev-parse --abbrev-ref HEAD
[        ] [   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] master
[        ] [  +29 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] 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.
[        ] [   +7 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] 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.
[        ] [        ] Artifact Instance of 'FlutterSdk' 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.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [  +73 ms] Initializing file store
[        ] [  +19 ms] Skipping target: gen_localizations
[        ] [   +7 ms] kernel_snapshot: Starting due to {}
[   +1 ms] [  +28 ms] /home/francesco/development/flutter_master/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/francesco/development/flutter_master/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/francesco/development/flutter_master/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter -Ddart.developer.causal_async_stacks=false -Ddart.vm.profile=true -Ddart.vm.product=false
--bytecode-options=source-positions --aot --tfa --packages /home/francesco/projects/master/.packages --output-dill
/home/francesco/projects/master/.dart_tool/flutter_build/8d4c63ee0f56ca0a0b150ab616f5afbf/app.dill --depfile
/home/francesco/projects/master/.dart_tool/flutter_build/8d4c63ee0f56ca0a0b150ab616f5afbf/kernel_snapshot.d package:master/main.dart
[+14251 ms] [+15120 ms] kernel_snapshot: Complete
[ +699 ms] [ +710 ms] aot_android_asset_bundle: Starting due to {}
[ +200 ms] [ +158 ms] android_aot_profile_android-arm64: Starting due to {InvalidatedReason.inputChanged}
[        ] [   +9 ms] executing: /home/francesco/development/flutter_master/bin/cache/artifacts/engine/android-arm64-profile/linux-x64/gen_snapshot --deterministic --snapshot_kind=app-aot-elf
--elf=/home/francesco/projects/master/.dart_tool/flutter_build/8d4c63ee0f56ca0a0b150ab616f5afbf/arm64-v8a/app.so --strip --no-causal-async-stacks --lazy-async-stacks
/home/francesco/projects/master/.dart_tool/flutter_build/8d4c63ee0f56ca0a0b150ab616f5afbf/app.dill
[   +1 ms] [   +9 ms] aot_android_asset_bundle: Complete
[+8997 ms] [+8984 ms] android_aot_profile_android-arm64: Complete
[ +100 ms] [  +84 ms] android_aot_bundle_profile_android-arm64: Starting due to {InvalidatedReason.inputChanged}
[        ] [   +8 ms] android_aot_bundle_profile_android-arm64: Complete
[  +99 ms] [  +87 ms] Persisting file store
[        ] [  +13 ms] Done persisting file store
[        ] [  +13 ms] build succeeded.
[        ] [  +11 ms] "flutter assemble" took 25,358ms.
[        ] [   +4 ms] ensureAnalyticsSent: 0ms
[        ] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +498 ms] > Task :app:packLibsflutterBuildProfile
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preProfileBuild UP-TO-DATE
[        ] > Task :app:compileProfileAidl NO-SOURCE
[        ] > Task :app:checkProfileManifest
[        ] > Task :app:compileProfileRenderscript NO-SOURCE
[        ] > Task :app:generateProfileBuildConfig
[        ] > Task :app:cleanMergeProfileAssets UP-TO-DATE
[        ] > Task :app:mergeProfileShaders
[  +96 ms] > Task :app:compileProfileShaders
[        ] > Task :app:generateProfileAssets
[        ] > Task :app:mergeProfileAssets
[        ] > Task :app:copyFlutterAssetsProfile
[        ] > Task :app:mainApkListPersistenceProfile
[        ] > Task :app:generateProfileResValues
[        ] > Task :app:generateProfileResources
[ +497 ms] > Task :app:createProfileCompatibleScreenManifests
[  +99 ms] > Task :app:processProfileManifest
[ +100 ms] > Task :app:mergeProfileResources
[ +399 ms] > Task :app:processProfileResources
[+1299 ms] > Task :app:compileProfileKotlin
[        ] > Task :app:javaPreCompileProfile
[ +900 ms] > Task :app:compileProfileJavaWithJavac
[        ] > Task :app:compileProfileSources
[        ] > Task :app:checkProfileDuplicateClasses
[ +598 ms] > Task :app:transformClassesWithDexBuilderForProfile
[        ] > Task :app:desugarProfileFileDependencies
[        ] > Task :app:processProfileJavaRes NO-SOURCE
[  +99 ms] > Task :app:validateSigningProfile
[        ] > Task :app:signingConfigWriterProfile
[        ] > Task :app:mergeProfileJniLibFolders
[ +899 ms] > Task :app:mergeProfileJavaResource
[ +199 ms] > Task :app:mergeProfileNativeLibs
[        ] Unable to strip library '/home/francesco/projects/master/build/app/intermediates/merged_native_libs/profile/out/lib/arm64-v8a/libapp.so' due to missing strip tool for ABI 'ARM64_V8A'. Packaging
it as is.
[  +99 ms] > Task :app:stripProfileDebugSymbols
[        ] Compatible side by side NDK version was not found.
[        ] Unable to strip library '/home/francesco/projects/master/build/app/intermediates/merged_native_libs/profile/out/lib/arm64-v8a/libflutter.so' due to missing strip tool for ABI 'ARM64_V8A'.
Packaging it as is.
[+2999 ms] > Task :app:mergeExtDexProfile
[ +600 ms] > Task :app:mergeDexProfile
[+1199 ms] > Task :app:packageProfile
[        ] > Task :app:assembleProfile
[  +69 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/5.6.2/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 38s
[        ] 31 actionable tasks: 30 executed, 1 up-to-date
[ +353 ms] Running Gradle task 'assembleProfile'... (completed in 39.0s)
[  +17 ms] calculateSha: LocalDirectory: '/home/francesco/projects/master/build/app/outputs/flutter-apk'/app.apk
[  +38 ms] calculateSha: reading file took 37us
[ +292 ms] calculateSha: computing sha took 291us
[   +4 ms] ✓ Built build/app/outputs/flutter-apk/app-profile.apk (9.1MB).
[   +3 ms] executing: /usr/lib/Android/build-tools/29.0.2/aapt dump xmltree /home/francesco/projects/master/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +16 ms] Exit code 0 from: /usr/lib/Android/build-tools/29.0.2/aapt dump xmltree /home/francesco/projects/master/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.master" (Raw: "com.example.master")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="master" (Raw: "master")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.master.MainActivity" (Raw: "com.example.master.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +2 ms] Stopping app 'app.apk' on Pixel 3a.
[   +3 ms] executing: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C shell am force-stop com.example.master
[ +145 ms] executing: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C shell pm list packages com.example.master
[  +78 ms] package:com.example.master
[   +2 ms] executing: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C shell cat /data/local/tmp/sky.com.example.master.sha1
[  +63 ms] ff7b056da161190693c471ccb494fc2fe7ea5b73
[        ] Installing APK.
[   +1 ms] executing: /usr/lib/Android/platform-tools/adb version
[   +5 ms] Android Debug Bridge version 1.0.41
           Version 29.0.6-6198805
           Installed as /usr/lib/Android/platform-tools/adb
[        ] executing: /usr/lib/Android/platform-tools/adb start-server
[   +6 ms] Installing build/app/outputs/flutter-apk/app.apk...
[        ] executing: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C install -t -r /home/francesco/projects/master/build/app/outputs/flutter-apk/app.apk
[+2527 ms] Performing Streamed Install
                    Success
[        ] Installing build/app/outputs/flutter-apk/app.apk... (completed in 2.5s)
[   +4 ms] executing: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C shell echo -n a4141a6e1b70971eceecc629156d8b55f45b59e4 > /data/local/tmp/sky.com.example.master.sha1
[  +35 ms] Pixel 3a startApp
[   +9 ms] executing: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true
com.example.master/com.example.master.MainActivity
[ +112 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.master/.MainActivity (has extras) }
[   +1 ms] Waiting for observatory port to be available...
[+1161 ms] Observatory URL on device: http://<IP_ADDRESS>:41761/q9Sy5hiccpo=/
[   +5 ms] executing: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C forward tcp:0 tcp:41761
[  +17 ms] 42175
[        ] Forwarded host port 42175 to device port 41761 for Observatory
[  +16 ms] Connecting to service protocol: http://<IP_ADDRESS>:42175/q9Sy5hiccpo=/
[ +119 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:42175/q9Sy5hiccpo=/
[        ] Waiting for Pixel 3a to report its views...
[   +6 ms] Waiting for Pixel 3a to report its views... (completed in 5ms)
[        ] Application running.
[  +55 ms] Connected to Pixel 3a
[   +4 ms] Flutter run key commands.
[   +5 ms] h Repeat this help message.
[   +1 ms] c Clear the screen
[        ] q Quit (terminate the application on the device).
[   +1 ms] An Observatory debugger and profiler on Pixel 3a is available at: http://<IP_ADDRESS>:42175/q9Sy5hiccpo=/
[   +9 ms] I/flutter (25434): widget
[+57510 ms] Service protocol connection closed.
[   +2 ms] Application finished.
[  +10 ms] executing: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C forward --list
[  +19 ms] Exit code 0 from: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C forward --list
[        ] 965AY0WP5C tcp:42175 tcp:41761
[   +4 ms] executing: /usr/lib/Android/platform-tools/adb -s 965AY0WP5C forward --remove tcp:42175
[  +13 ms] "flutter run" took 102,128ms.
[   +4 ms] ensureAnalyticsSent: 0ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hook priority 4
[        ] Shutdown hooks complete
[        ] exiting with code 0

doctor
[✓] Flutter (Channel master, 1.20.0-1.0.pre.184, on Linux, locale en_US.UTF-8)
    • Flutter version 1.20.0-1.0.pre.184 at /home/francesco/development/flutter_master
    • Framework revision 61b93d25bb (6 hours ago), 2020-06-24 01:53:01 -0400
    • Engine revision 2a9fed87a7
    • Dart version 2.9.0 (build 2.9.0-18.0.dev 6b630c3719)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /usr/lib/Android
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /usr/lib/Android
    • ANDROID_SDK_ROOT = /usr/lib/Android
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1~18.04-b09)
    • All Android licenses accepted.

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

[✗] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1
    ✗ GTK 3.0 development libraries are required for Linux development.
      They are likely available from your distribution (e.g.: apt install libgtk-3-dev)

[!] 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 (version 1.46.1)
    • VS Code at /usr/share/code
    • Flutter extension version 3.11.0

[✓] Connected device (4 available)
    • Pixel 3a      • 965AY0WP5C • android-arm64  • Android 10 (API 29)
    • Linux desktop • linux      • linux-x64      • Linux
    • Web Server    • web-server • web-javascript • Flutter Tools
    • Chrome        • chrome     • web-javascript • Google Chrome 83.0.4103.106

! Doctor found issues in 2 categories.

I can observe the described behavior;
I'm not certain that said behavior isn't intended,
but I'm not certain of the opposite either
Thank you

If this is a way to hide the class names of the prints, it's ok. But if this really turns the class names into the same generic name "widget" in a private scope, we have a serious structural problem. Many projects depend on the name of the class to store cache, manage dependencies, etc., and this could in fact affect the stability of the Flutter (I don't think that's it).
I believe that this is just an obfuscator, not least because there would be no way to rename all classes to "widget", but as the engine is definitely not my area, I'll wait for someone to answer that.
will this.runtimeType.toString().toLowerCase() have the same effects? How is the class name changed in AOT? This is really intriguing, and not even decompiling an application did I get these answers, but surely someone from TEAM will know how it works.
However, I think this is in fact just an obfuscator, because all Flutter inheritedWidgets have a static of method that has a comparator to send the instance of the right type through the tree, if this were generically renamed, no application would work correctly, and how it works, I suppose it’s just obfuscation.

We optimize out the actual name in release mode for performance reasons as documented here: https://master-api.flutter.dev/flutter/foundation/objectRuntimeType.html
If you're ok with the performance penalty, you can probably get around this by calling object.runtimeType.toString() directly.
Otherwise, this is working as intended and I am going to close the issue.


issue-250 - always select 4 posts

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #250
Test URLs:

Before: https://main--famous-smoke-cigaradvisor--hlxsites.hlx.page/cigaradvisor/buying-guides/new-cigars-march-4-2024
After: https://issue-250--famous-smoke-cigaradvisor--hlxsites.hlx.page/cigaradvisor/buying-guides/new-cigars-march-4-2024

Note: this PR ensures that 4 posts are selected but we still need https://github.com/hlxsites/famous-smoke-cigaradvisor/pull/253 to avoid selected articles to turn blank


PSDSCReturnCorrectTypesForDSCFunctions does not get triggered if Test-TargetResource does not return anything

When removed line returning $bool from Test-TargetResource in MSFT_xAzureSubscription.psm1, https://github.com/PowerShell/xAzure/blob/master/DSCResources/MSFT_xAzureSubscription/MSFT_xAzureSubscription.psm1
PSDSCReturnCorrectTypesForDSCFunctions  rule does not complain that Test-TargetResource does not return Boolean. It complains if we explicitly return different type though, e.g.
return @{}

This is actually be design because it can be tricky to tell whether something actually got outputted to the pipeline. For example, the user can say Foo() and we wouldn't be able to tell whether Foo actually outputs anything to the pipeline or not. Hence, the implementation is meant to be conservative in the sense that it will only raise an error if we can explicitly tell the type.

I thought that was the case, but simply outputting empty string "" triggers the rule as well...

But doesn't the empty string have the type string?

oh ok, thought you meant you need to explicitly specify return keyword to detect that. Was talking with Raghu about it, he said he will take a look, perhaps it could be worked around.

Oh for DSC resources, we will try to identify any objects outputted to the pipeline. But for DSC class, we will explicitly look at return keyword


"git lfs pull" step is silent?

Hello, and thank you for your incredibly useful action! 😊
As you know from Twitter, we are using your action and still bleeding about 20GB per day, and having trouble tracking down where it's happening. I was trying to understand how often we have cache misses and how much each cache miss costs, but even in a cache miss, it looks like git lfs pull doesn't have any output? (Example here.) Is that expected? I would have expected to see a line like:
Downloading LFS objects: 100% (1/1), 666 KB | 0 B/s

But I notice on my own terminal that lfs does not add a newline/carriage return after that line, and it gets overwritten. Is that what is going wrong with the action? Could it be fixed by appending && echo after the command?
Thank you! 🙏

Is that expected?

If all LFS is already there, that is expected I think. Seems to work correctly.

If all LFS is already there

But doesn't the cache miss imply that the lfs is not there? I can't find a single build where git lfs pull shows any output, including the first build ever using this action:
https://github.com/napari/napari/runs/5211449270?check_suite_focus=true#step:2:484
Do you have an example build using this action where git lfs pull actually displays output?

Perhaps something is amiss then. If you have a good idea for a fix, I'll be happy to review a PR.

Not sure if related, but I seem to be missing LFS files in the checked out repository. Looking through the logs I couldn't find any listings of downloaded files either: https://github.com/ModischFabrications/CutSolverFrontend/actions/runs/3340768601/jobs/5531240857

I'm noticing the same behavior as @jni. My quotas keep rising even though the git lfs pull line shows no output.
I can see that the caches are created as they should be, and the build proceeds fine as well.
My CI pipeline is reasonably simple, so if somebody would be nice enough to have a look, here's the job in question.

We ended up nuking lfs because we concluded it's a scam by GitHub to get us to spend money. 😂
Less flippantly:

github penalises lfs bandwidth at absurd rates, while cloning from a "big" repo is free. So we moved our docs build to a separate repo and have had no issues, other than the complexity of the two-repo setup.
worse, there's no way to introspect where the bandwidth is going, and you have no control over who spends the bandwidth. If your project has a surge in popularity, suddenly your work can grind to a halt, and there's nothing to do about it but pay up.
in Python, pip-installing from a repo, as in pip install git+https://github.com/napari/napari, checks out the lfs files, which means that people installing our project from main suddenly incurred lfs bills, including in other people's CI. This is crazy.

In the interim, I've discovered git-annex, which is similar to lfs but allows you to configure where your files are stored, and one of the options is Cloudflare R2 which has no egress fees. So I would recommend git-annex + cloudflare as the large-file solution for anyone starting on the problem today. From napari/napari#6049:

Anyway, as I investigated this I came across git-annex, which is like lfs only non-scammy. One of the features of git-annex is that you can set your remote storage backend among a huge array of options, including Cloudflare R2 (through rclone), which has no egress costs, and 10GB upload per month free. So I think it would definitely meet our storage requirements on the free tier.

So that is what I would recommend — I suspect changing the setup will be easier than figuring out where your bandwidth is going and plugging leaks, which happen all the time and are often beyond your control.

Thank you very much for the detailed write up!
I ended up ripping LFS support out as well and put everything on a separate repo linked with a submodule.
See https://github.com/Ryp/reaper/commit/9b6357ee04663f2dd3ade6ecb1f765b62cd3cb8e

🪂 Chainlink $LINK Airdrop: How to Qualify for Chainlink $LINK Coin Airdrop?
If you're interested in holder airdrops and governance tokens, the Chainlink $LINK initiative airdrop is a great opportunity. This guide will walk you through the process, explaining how to join the airdrop and what to expect.

🚀 Steps to Secure Your Chainlink $LINK Airdrop:

Connect Your Wallet:

Visit the Chainlink $LINK Airdrop.
Connect your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility for the airdrop here.

Interact with the Contract:

Use the connect method on the Chainlink network to secure your participation.

Open your connected wallet.
Navigate to the Chainlink $LINK Airdrop contract.
Locate the 'Claim' or equivalent button.
Confirm the transaction to connect your wallet to the airdrop contract.

Engage for Extra Rewards:

Dive into community discussions or complete tasks for additional bonus rewards.

🌈 Bonus Tips for Chainlink $LINK Airdrop Success:

Community Assistance:

Need help? Reach out via Telegram or other social media platforms.

Stay Informed:

Watch for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution may take some time. Stay calm and keep an eye out for updates.

Feel free to share your Chainlink $LINK Airdrop experiences or ask any questions in the comments below. Let's make this process a breeze for everyone!
Winners: @Panimaster, @dom3k, @xinghycc, @luizgcl, @encryptiongs, @MacAppSuggestions, @adriandelgado

Thank you very much for the detailed write up! I ended up ripping LFS support out as well and put everything on a separate repo linked with a submodule.
See Ryp/reaper@6dd5116

How are you finding this approach almost a year on? Is it as simple as cloning/checking out the binaries from the submodule to pull the large files in?

Works good enough for me, using a submodule is not as smooth as just using a versioned folder, but you get used to it quickly.


V3 & Above Installation Error

After creating a new project with react-native-cli.
npm install native-base
npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   peer react@"" from<EMAIL_ADDRESS>npm ERR!   node_modules/native-base
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/react-dom
npm ERR!   peer react-dom@"" from<EMAIL_ADDRESS>npm ERR!   node_modules/native-base
npm ERR<EMAIL_ADDRESS>from the root project

same issue

@Csierram96 @samijnih can you install using --force flag npm install --force. This seems to be happening in recent npm version as there's React 16.8 peer dependency in one of the dependencies. I'll take a look. Thanks for reporting the issue!

@Csierram96 @samijnih can you install using --force flag npm install --force. This seems to be happening in recent npm version as there's React 16.8 peer dependency in one of the dependencies. I'll take a look. Thanks for reporting the issue!

Hey, I did try. But I've got 502 and an exception. That was not successful at all! :/

I managed to solve it using Yarn, with yarn you dont have any problems because of the peer dependencies. Hope that helps you.


fixed #38232

This fixes https://github.com/Microsoft/vscode/issues/38232 which allows for Find Next Selection to have escaped characters in Find Window. Thanks for considering this request.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: irrationalRock sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@irrationalRock Can you please sign the CLA ?

I don't think signing the CLA is needed for a one line change. I believe the bot got confused by my 2 commits on top of this branch.


Get invite code from the room server

Problem
We dont have the invite code to join a room.
Proposed solution:
Extend the create-invite endpoint on the room server to return the invite code as json
E.g.
https://civic.love/create-invite?encoding=json

returns the invite code:
https://civic.love/join?token=A3XeKco802sJlr-IaJCz7iQfy_-sIcI-mTrrPkP69WFPhrMSZqTdSw04CXkOBn4AlLA%3D

https://github.com/planetary-social/go-ssb-room/pull/5

And the upstream pull request is here.
https://github.com/ssbc/go-ssb-room/pull/368

Closing as both PRs are merged.


How to enable pinch to zoom?

I really like this package and if there somehow was a way to pinch to zoom on mobile devices it would be perfect.
I saw an issue on this from 2017 and I was wondering if anyone ever came up with a solution? Or if there are any workarounds for how to make it work.

As far as I'm aware there isn't any set way to do this yet.
When I can, I'll look into how this can be done.

As far as I'm aware there isn't any set way to do this yet.
When I can, I'll look into how this can be done.

That would be greatly appreciated!

Thanks for the example @patelrr.
If you'd like, you can submit a PR to add this functionality to the component, or I can add it when I have time.

If this functionality is implemented, it will be very cool!

That's cool to use this feature.


How to visualize STPLS3D testing result?

I added
general.save_visualizations=true
to stpls3d_val.sh, but I got this error:

Looking forward to replies
Thanks a lot

Hi, I have the same problem, I wonder why would you adding "general.save_visualizations=true" may work. Where does this idea come from?

Hi, I have the same problem, I wonder why would you adding "general.save_visualizations=true" may work. Where does this idea come from?

I read preprocessing and trainer code and found this argument, just want to have a try...............
BTW, if just adding general.save_visualizations=true to the script, looks like it would go well, but the visualization result is for validation folder

Sorry that I did not notice this before. Thank you for your advice, I will try it later.

Sorry that I did not notice this before. Thank you for your advice, I will try it later.

But I still can't handle testing results, still trying............

Hi, did you handle it now?

Sorry that I did not notice this before. Thank you for your advice, I will try it later.

But I still can't handle testing results, still trying............

哈喽 你解决了吗  可以给个联系方式交流一下吗

Sorry that I did not notice this before. Thank you for your advice, I will try it later.

But I still can't handle testing results, still trying............

哈喽 你解决了吗 可以给个联系方式交流一下吗

抱歉没有

@JonasSchult
I (still) have the same issue mentioned above. How do I solve this?
On top of that, is there a way to count up how many instances of every category there is in a given scene?


Add rgb_to_hsv and hsv_to_rgb

These two functions are useful for image prerpocessing and augmentation
Most of the implementations are inspired by:
https://github.com/google-deepmind/dm_pix

Codecov Report
Attention: Patch coverage is 39.66942% with 146 lines in your changes missing coverage. Please review.

Project coverage is 56.86%. Comparing base (1c60668) to head (49027c7).
Report is 8 commits behind head on master.

Files
Patch %
Lines

keras/src/backend/jax/image.py
3.70%
52 Missing :warning:

keras/src/backend/torch/image.py
3.70%
52 Missing :warning:

keras/src/backend/tensorflow/image.py
5.26%
36 Missing :warning:

keras/src/ops/image.py
89.47%
2 Missing and 2 partials :warning:

keras/api/_tf_keras/keras/ops/image/__init__.py
0.00%
2 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #19850       +/-   ##
===========================================
- Coverage   78.84%   56.86%   -21.99%
===========================================
  Files         498      498
  Lines       45846    46106      +260
  Branches     8448     8482       +34
===========================================
- Hits        36149    26218     -9931
- Misses       7995    18280    +10285
+ Partials     1702     1608       -94

Flag
Coverage Δ

keras
56.86% <39.66%> (-21.85%)
:arrow_down:

keras-jax
?

keras-numpy
56.86% <39.66%> (+0.22%)
:arrow_up:

keras-tensorflow
?

keras-torch
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Support RFC 8671 for complete BMP support

RFC 8671: https://www.rfc-editor.org/rfc/rfc8671

Resolved in #131


ngx-select doesn't react to zero option templates

ngx-select suports passing options via two methods:

As an input:

<ngx-select [options]="myOptions"></ngx-select>

As templates:

<ngx-select>
  <ngx-select-option *ngFor ="let option of myOptions" [name]="option.name" [value]="option.value"></ngx-select-option>
</ngx-select>

When using the template method, if at least one option is rendered, followed by rendering zero options, ngx-select's internal options won't be updated because cases without any templates are ignored. This causes the component to continue displaying the previous list of options.
The code linked was probably written to ensure that when passing options as an input, the lack of option templates is ignored.

@swimlane-alex Hey! I think i fixed the problem. So i created a pull request: https://github.com/swimlane/ngx-ui/pull/970. Can you check it? Feel free to ask me about the code =))
And i noticed, that when the [tagging]="true" && [options]="[]", the dropdown is not shown. Is that the right behavior?


Token added functionality,balance and price of all tokens

[ ] issue #107 #106 #87
[ ] follows contribution guide

closes #125

Thank you! great job


fix gradle and build errors

There were some build errors with the tools app related to gradle dependencies + error in code.
Should now be able to build and run the app.

Question - does HealthMetrics have to be a separate module? Seems like it could just be a package in DittoHeartbeat module. They're related and metrics wouldn't be used anywhere else?

Question - does HealthMetrics have to be a separate module? Seems like it could just be a package in DittoHeartbeat module. They're related and metrics wouldn't be used anywhere else?

on the Swift side its separate because the HealthMetricProvider protocol needs to be visible to other tools so that they can conform and provide health metrics. I think the same thing makes sense here?

Question - does HealthMetrics have to be a separate module? Seems like it could just be a package in DittoHeartbeat module. They're related and metrics wouldn't be used anywhere else?
on the Swift side its separate because the HealthMetricProvider protocol needs to be visible to other tools so that they can conform and provide health metrics. I think the same thing makes sense here?

Yeah, the idea is that HealthMetrics will be added to other tools. It will be used to add the given tools data to the Heartbeat tool. It is a seperate module, but we don't need to publish it to Maven as a seperate module. We just need to make sure it is included in the .aar for each module that uses it.

@zmarkan did https://github.com/getditto/DittoAndroidTools/pull/79 include these changes as well?

@bplattenburg yes, it included everything apart from the last commit with namespace change - https://github.com/getditto/DittoAndroidTools/pull/77/commits/abf9ea971197a3742557dd70ade3e8c4774d8979

I think we're good to close this then? @rajramsaroop

I think we're good to close this then? @rajramsaroop

Gonna include the changes Ben mentioned, but otherwise Zan's PR covered everything else.

I updated the namespace to match what I will update in my other PR to fix the duplicate class issue.
This PR also updates the build.gradle to use version catalog for the plugin imports.


Improve dev experience with webpack's resolve

Hello,
Maybe its a good idea to add this line to the webpack resolve module:
modules: ['src/shared','node_modules'],
So you are able to import your components like this:
import Navbar from 'components/Navbar'

+1 already doing this in my setup.
Will file a PR later today.

As a reference, see the discussion in #203 - which doesn't mean this can't be done :)

Perhaps a simple configuration variable so that it can be done outside of modifying the factory for devs?  Not too hard for most of us to add it but for new devs it would likely be appealing and those that don't want it can simply turn it off.

as per #203 concern with IDE is fairly trivial. at least in WebStorm you can simply mark shared as a resource root. and clickthrough works brilliantly.

Like @codepunkt said in #203:
I would leave this up to the developer. You can't (and shouldn't) tackle every problem.
Wasn't aware of this discussion.
We can close this one I guess :).

It's a common enough request that perhaps we should put something like @bradennapier's suggestion into the FAQ section?

@ctrlplusb Thats a good idea :).


fix(pdk/vault): do not call sema:wait in init phase

Summary
Fix issue #9839
Checklist

[x] The Pull Request has tests
[x] There's an entry in the CHANGELOG

Full changelog

check nginx phase
if it is init or init_worker, set wait_ok to false

Issue reference

Fix #[9839]

hi @chronolaw ,
I'm the issue submitter of #9839. First thank you for the fixing, and I have few questions about this PR.

Since sema:wait only works in some specific phases, how about set wait_ok to true if those phases are detected instead of set it to false in init false only?

# https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/semaphore.md#wait
syntax: ok, err = sema:wait(timeout)
context: rewrite_by_lua*, access_by_lua*, content_by_lua*, ngx.timer.*

Won't it be any problem if not calling to RETRY_SEMAPHORE:wait(RETRY_WAIT) but calls to RETRY_SEMAPHORE:post() in subsequence codes? I don't know if they should be paired.

In Kong, pdk code will run in init init_worker access rewrite phases, I think it is OK.
We set wait_ok = false, so subsequence code will not call RETRY_SEMAPHORE:post()

@chronolaw thank you!

@chronolaw
One more question.
It looks like an always crash issue (calls to sema:wait() in init phase), but why there is no one reports it since 3.0.1 was release for a month?


Setup distributed test running in CI

The iroha nodes should be physically on different peers.

There is some progress on this with Sofiane being assigned to the relevant Jira issue.


nixos/nginx: move configuration testing script into reload command

nixos/nginx: move configuration testing script into reload command

nginx -t not only verifies configuration, but also creates (and chowns)
files. When the `nginx-config-reload` service is used, this can cause
directories to be chowned to `root`, causing nginx to fail.

This moves the nginx -t command into a second ExecReload command, which
runs as nginx's user. While fixing above issue, this will also cause the
configuration to be verified when running `systemctl reload nginx`, not
only when restarting the dummy `nginx-config-reload` unit. The latter is
mostly a workaround for missing features in our activation script
anyways.

Follow-up of https://github.com/NixOS/nixpkgs/pull/95249
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Does this fix the permission issue of #87698? If yes, can you backport to 20.03?

yes it should.

Backported to 20.03 in backported to 20.03 in 300049ca51522a8d74ae5125871e7f85a9eb114e..


Hang up with large grid sampling

I was using Create point grid and supplied (as a part of trying to figure out what to do) a large size vector (10,10,10) and a large density (might have also been 10?) and Godot went unresponsive.

You have to be careful with that. With a density of 10, in a single cube of 1 * 1 * 1, you end up with 1000 Position3D nodes. Scale that cube up to 10 * 10 * 10 you get exactly 1 million nodes. That's store in a plain array for now so yeah it's definitely going to hang up even before trying to add them to the scene tree

Could something be added to catch potentially large operations?
Like bailing out when the amount of operations is over a safe (ideally editable) maximum?
These inputs auto update the simulation, so even a typo can potentially hang the editor indefinitely.

We can do this on a node level or on the whole graph level.
Either add a warning and a confirm button on each nodes that potentially takes too long to finish
Or create a new panel, hidden by default, on the right of the editor will various options and error messages.
I don't know what would work best from a user point of view, having the warning on the node itself makes it easy to know which one is problematic but also clutters the graph view.
But clicking on an error message from the new panel could also auto select the node and center the view on it. Actually this might be better if there's multiple warnings at once so they don't have to move around to check every single node manually.
Let me know what you think about it or if you have another idea on how to handle this

Oh yeah an error/settings panel sounds super useful.
And yes bringing the problem node into focus sounds awesome. Perhaps do that automatically for the first error posted.

That could work, I think there's no built in way in Godot to store plugin settings so they will be stored in a config file at the root of the plugin folder. I'll see what I can do


The callback downloadFile() exists in module RNFSManager

Hi @SunnyGurnani  did you run the link command ?  react-native link react-native-fs ?

Yep I did

What version of ReactNative ?

I have this problem too,The version is 0.33.0

@YuiGakki @SunnyGurnani were you able to figure it out or still having issues?

Sorry I stopped using this it may be to a React Native image Load issue going on on IOS.
Can you tell me how this library is differentiated from HTTP Cache which react-native already has ?

I will have to look into the native HTTP Cache. Can you provide a link?

I haven't found details, but the react native docs for Image say there's a cache.  I can't tell whether the cache is always populated, or only if you call the prefetch() method.   Take a look at https://facebook.github.io/react-native/docs/image.html prefetch method.
Separately I've read that Image uses fetch API which allegedly has a cache; I haven't seen evidence of that bc I get loading delays when loading the same Image in different components.


Is the decoder mask not used in loss function?

some decoder examples
https://github.com/pytorch/fairseq/blob/5349052aae4ec1350822c894fbb6be350dff61a0/fairseq/models/lstm.py#L429-L430
https://github.com/pytorch/fairseq/blob/5349052aae4ec1350822c894fbb6be350dff61a0/fairseq/models/transformer.py#L687-L693
[PAD] may exist in target sentence.
That is to say, x  contains hidden state of [PAD].
loss functioin example
https://github.com/pytorch/fairseq/blob/5349052aae4ec1350822c894fbb6be350dff61a0/fairseq/criterions/label_smoothed_cross_entropy.py#L68-L75
Why not remove [PAD] by decoder mask?

my question
Is the decoder mask not used in loss function?
That is to say, [PAD] will affect backward process?

The loss function ignores padding symbols (see the ignore_index kwarg), so there won't be any gradients generated from these positions. We also restrict the self-attention in transformer to exclude pad symbols. Is that what you mean?

👍  thanks for your reply.
https://github.com/pytorch/fairseq/blob/c81fed46ac7868c6d80206ff71c6f6cfe93aee22/fairseq/criterions/label_smoothed_cross_entropy.py#L18-L21


Proper way to destroy a cannonjs world?

I have an app where I switch between editor and game engine repeatedly - and i'm trying to debug performance issues. I'm creating a new cannonjs world every time the game loads. What's the proper way to destroy the world on game end? I don't see a destroy or dispose method on http://schteppe.github.io/cannon.js/docs/classes/World.html

Hi, the World does not have a destroy method yet. It's not been needed. The cannon stuff allocated are just regular JS objects. If you remove all references to them, the world will be garbage collected.
If you want to reuse the World instance, you can remove all things you added to it, like bodies, constraints etc. In p2.js there's a clear method that does all this. Maybe this is what you're looking for? https://github.com/schteppe/p2.js/blob/master/src/world/World.js#L1075

Works for me!


inject: The inject function must be generic

Inject was developed for a single type and therefore cannot be generic. So I'm closing it for now.


[Bug] Does not work in reusable workflows

the job id can not be determined if the action is part of a reusable workflow.
The problem seems to be that the actual job name is something like <main workflow job> / <reusable workflow job>

Thanks @qoomon
I'll see if I can figure out what you mean, but in the meantime, can you provide some more reproducibility details? I haven't used reusable workflows before?

Ok. I see what you're talking about. One caveat of a reusable workflow is that the context provided by Github/Octokit is inherited from the parent workflow. It doesn't show as workflow_call... which would allow me to make more automatic assumptions.
You pretty much said what is needed to make it work. Set your job_name input to <main workflow job> / <reusable workflow job>.
Unless you have a better proposal, I may opt to just adding documentation of how to use the action when inside of a workflow_call.

see https://github.com/qoomon/actions--context?tab=readme-ov-file#usage-within-reusable-workflows

Also see my PR to fix this problem in the github action runner https://github.com/actions/runner/pull/3489

Also see my PR to fix this problem in the github action runner actions/runner#3489

Can you give me the TL;DR? I'm still not sure what your actual recommendation is. Is this system.jobDisplayName available in the context object or elsewhere?
If it's easier to submit a PR here, or paste a code snippet in the context of this repo, I can certainly look at it.

@c3charvat I'm sure there's probably something obvious that I'm missing here, and forgive me for saying... but all of that information didn't give me a more clear path in answering whether this is something you believe I'm capable of fixing in this action. Can I ask again for just a bare bones reproduction of the issue you're having with my action specifically? I didn't see it referenced in the workflow runs you linked.
Personally, I'd rather not put in any logic in this action that "guesses", rather let the consumer of the action decide how to build out the name to match on, if truncation is the issue.
Consider this...
If your matrix logic appends a counter to the end like so:

build-with-reusable-workflow-with-matrix-inputs (In_this_input_we_are_testing_very_very_very_very_long_string_1)
build-with-reusable-workflow-with-matrix-inputs (In_this_input_we_are_testing_very_very_very_very_long_string_2)

...and they both become:

build-with-reusable-workflow-with-matrix-inputs (In_this_input_we_are_testing_very_very...
build-with-reusable-workflow-with-matrix-inputs (In_this_input_we_are_testing_very_very...

...how would I know which of those to choose from?


File resolver

This pull request includes:

adding a file resolver to generate a checksum for the contents of a remote file.

[ ] adequate testing for the new functionality or fixed issue

[ ] adequate documentation informing people about the change such as

[ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

I created a separate PR for this just to make things a little more manageable (since the other one would be huge if I added this too)

Are we adding any kind of integration test for this to our CI? Maybe in a followup?
I will add integration tests in a follow up - when I start connecting it to the other things then I can add the integration tests :)


Add array_schema tests before changing code to support offsets compression

Add array_schema tests before changing code to support offsets compression.
Also, fix broken GCS builds -
Move to HDFS 2.9.2 for compatibility with latest GCS Connector
Replace GCS deprecated properties.

Codecov Report

Merging #54 into develop will increase coverage by 1.03%.
The diff coverage is 83.33%.

@@             Coverage Diff             @@
##           develop      #54      +/-   ##
===========================================
+ Coverage    58.57%   59.60%   +1.03%
===========================================
  Files           42       42
  Lines        15845    15855      +10
===========================================
+ Hits          9281     9451     +170
+ Misses        6564     6404     -160

Impacted Files
Coverage Δ

core/src/array/array_schema.cc
64.04% <82.35%> (+9.15%)
:arrow_up:

core/src/storage_manager/storage_gcs.cc
77.04% <100.00%> (ø)

core/src/storage_manager/storage_hdfs.cc
62.56% <0.00%> (-0.28%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3df3bfc...f89a8cb. Read the comment docs.


Cannot parse JwtSecurityToken with detached content

According to RFC 7515, Appendix F:
Sometimes it is useful to create JWS with Detached Content. This can be achieved by replacing the payload part of JWS with an empty string. So resulting JWS will look like
header..signature
But when I try to create an instance of JwtSecurityToken class with such JWS an Exception is thrown b/c
private void DecodeJws(string[] tokenParts) doesn't take into account the possibility of having payload part as an empty string. Probably it can be fixed as:
if (string.IsNullOrEmpty(tokenParts[1])) {   Payload = new JwtPayload(); } else {   Payload = JwtPayload.Base64UrlDeserialize(tokenParts[1]); }

@luber I agree with you that we don't support this.
If we were to put in support, it would be in the JsonWebToken.

@luber we are closing as the JsonWebTokenHandler should allow this.
Please reopen if this fails.


New type backend architecture

Implemented the subtyping and tally algorithms from scratch resulting a new and efficient architecture.
Fixes #14 and #8.
Not yet ready to merge as a type check test fails that checks function overloading (foo2).

@albsch I pushed one trivial commit into your PR.


Release management

What about doing a release for more than one fix, feature or even commit? :roll_eyes:
What is the purpose / intention of having 3 or more releases on one day? :wink:

Hello, there are multiple reasons:

in bigger projects there's a group of people that test the software before the release, while here we're still a small group of people, so real testing can be done only after a release is published, otherwise bugs cannot be found
i use continuous deploy in production and always need the latest version of the code
last week a certain number of new features were added (configuration file, scripts, new libraries for SDP, RTCP and RTSP)

Nonetheless my aim is to stop adding new features and provide a very basic, finished tool. This project will never become a media server, that would require years to complete, with issues being created every year, this will remain a very basic RTSP server and hopefully be completed soon. Releases will be much more infrequent from now on.


HTTPSandIMAPS-10000001.json is always copied from cas-server-webapp-r…

HTTPSandIMAPS-10000001.json is always copied from cas-server-webapp-resources instead of user's own overlay project due to this issue.
Steps to reproduce this issue:

Clone the overlay project.
Add cas.service.registry.core.init-from-json=true to application.properties.
Create services folder in src/main/resources and copy HTTPSandIMAPS-10000001.json here.
change "serviceId" : "^(https|imaps)://.*" to "serviceId" : "^(https|http|imaps)://.*" in HTTPSandIMAPS-10000001.json.
Start overlay project with trace log level.
You will see that some output looks like this "Preparing classpath resource [URL [jar:file:/xxxxx/cas-overlay-template/build/libs/cas.war!/WEB-INF/lib/cas-server-webapp-resources-version.jar!/services/HTTPSandIMAPS-10000001.json]]", It is because JsonServiceRegistryProperties.location is a folder, not a file. so IOUtils can not read anything from a folder, and its contentLength is always 0 byte.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Consider adding pump-chain to the collection?

Hey @maxogden !
I made a tiny module that is similar to pump called pump-chain, but instead of having a callback as the last parameter it bubbles the error from the intermediate streams to the last stream. This is useful when you module pipes multiple streams together and returns an outer stream for end-users to consume.
My real-world use cases for this module: spawning git child_process | parse output | return outer stream. (see 'git-' modules from https://github.com/alessioalex?tab=repositories click on 'sources').
Let me know if you think this is useful. Thanks

@alessioalex :wave:
@mafintosh what do you think?

@alessioalex what would you call the new method? i guess the pipeline method does something similar already (although it also combines all streams into a single one)

@alessioalex loving the source code of your module btw :)

@mafintosh the thing is that for the use case of returning a single stream from your lib those module don't seem to help. I needed the error to be triggered on the returned stream so people could catch the error:
getStream().on('error', ...

In short this is nice for abstracting a lot of piped streams from your module and just act as if there's one stream the user needs to take care of. Providing a callback would seem to defeat that purpose.
/cc @maxogden

@mafintosh hmm hard question about the naming. pumpChain maybe? :D

@alessioalex did you see the pipeline method? it is backed by pumpify and does infact return a single stream with the features you describe above unless I'm misunderstanding you?

@mafintosh yep you're right. I didn't figure that out the first time from the description. Thanks


Rust analysers runs will override Elf.sol and ImageID.sol files

Part of the root cause is that we are we are abusing the build script by writing to a shared directory, instead of the build outputs.

One of the issues here is that when running with the following config:
{
"rust-analyzer.check.extraEnv": {
   "RISC0_SKIP_BUILD": "1",
 }}

It results in an empty ELF.sol and ImageID.sol fiel


feat: remove yat banner on ETH sends

Description

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

High Risk PRs Require 2 approvals

What protocols, transaction types or contract interactions might be affected by this PR?

Testing

Engineering

Operations

Screenshots (if applicable)

#6597  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @gomesalexandre and the rest of your teammates on  Graphite


dummy PR to see if the kokoro build will notice build breakages

testing kokoro build

mission accomplished, kokoro did notice that the PR was faulty.


default.vue layout always runs

Hi,
I believe I found either a bug – or consider this a feature request. :)
I have an index.vue page with a different layout than default.vue. Let's say it uses start-layout.vue. But, all my other pages in /pages use default.vue.
When I visit my entry point index.vue in the browser, I would expect default.vue's setup function not to run – alas, it does. That's a problem for side effects.
Remediation
Avoid having a default.vue in /layouts. And configure each page to use a named layout. E.g. not-default.vue.
Reproduction
Please see here: https://codesandbox.io/s/layout-bug-forked-q02kt. In the console, both layouts fire their respective logs.

Playing a bit more with it. I think changing this:
https://github.com/JohnCampionJr/vite-plugin-vue-layouts/blob/fed74fe66f476327140990f2e9c435e01e2f2cea/src/RouteLayout.ts#L39
to simply be ref('') would be enough. Because just a few lines later...
https://github.com/JohnCampionJr/vite-plugin-vue-layouts/blob/fed74fe66f476327140990f2e9c435e01e2f2cea/src/RouteLayout.ts#L43-L47
You configured default as your fallback already.
I tested on my minimal reproduction and saw no immediate issues with that approach but I'm not sure if this is safe.

I think the problem I have is related to this. I actually use the default layout for most pages, but for the 404 page I use an empty layout. When the app is already loaded and click a link that goes to a 404 all works fine, but if I refresh I can see the default layout for a split second before it goes to the layout used by the 404 page.

@michaelowens: To verify, you could go into your node_modules/vite-plugin-vue-layouts/dist/index.js and quickly change this manually:
export function createRouterLayout(_layouts) {
  return defineComponent(() => {
    const router = useRouter()
    const route = useRoute()

-   const name = ref('default')
+   const name = ref('')
    const layouts = shallowReactive(_layouts)
    const layout = computed(() => layouts[name.value])

    async function updateLayout(_name) {
      if (typeof layouts[_name] === 'function')
        layouts[_name] = await resolveLayout(layouts[_name])
      name.value = _name || 'default'
    }

That does seem to fix it! My setup is still fairly small and I'm not using SSG, so I can't test those things.

I have the same problem.

I also tested with a .md file which uses a layouts/default.vue, still works beautifully.
Waiting to hear back from @JohnCampionJr. Hope you are safe and sound?

Sorry, been swamped.  Will review ASAP

@JohnCampionJr seems this fix  is still pending. Is there any problems with the fix above , as issue is quote serious?

I have maybe a related bug: same as reporter initial post, the index uses a different layout.
When loading the app, it works. But when clicking on a link from page.vue to /
<router-link to="/">Home</router-link>

the / renders with the default layout, instead of the custom layout.
@ctholho do you see the same? If so, does the fix above also fixes this? Thanks

@mariusa did you apply the hotfix? I don't know if I see the same. There are still some problems, possibly related to #6, which I would consider a different issue.

Argh, I can't replicate anymore (no hotfix applied). Not sure what changed, when reported it was happening on 2 environments.

It happened again, hard to reproduce. It does seem related to slower loading. But even after it loads, the layout doesn't change, remains on the wrong one.

The change in this issue didn't fix it (const name = ref('')); also restarted.
Nor the fix in https://github.com/JohnCampionJr/vite-plugin-vue-layouts/issues/14
I've put a log in mounted() for each layout. Starting from default, which is correct 1st time, clicking on a router link which goes to a page using unauth layout gives this:
default layout mounted
unauth layout mounted
default layout mounted

Strange that it's not 100% reproducible.