Support storing session token in keyring

It was pointed out in #130 that the permissions on the session.json file were broad, and, depending on the permissions of the path to the directory, could be readable by other users on the system. Rather than handle storing this information in a file, iamb could possibly store it in the operating system's keyring, so that it lives with the user's other stored passwords. There's a keyring crate that supports multiple platforms and could possibly be a good fit here.

One thing to consider in implementing this is that some Linux users (myself, for example) do not run a secret-service daemon. It may be necessary to have a fallback method of handling sensitive session data.

Rather than handle storing this information in a file, iamb could possibly store it in the operating system's keyring

As @ishigoya mentioned, several people do not use keyrings, I don't. Please consider these cases.

I do not use keyrings I always have my local configs secrets on gopass/pass and have the config run it like I do with iamb and aerc, meli and other such cli/tui tools. I avoid keyrings in favor of pure pass/gopass I have friends that use bitwarden-cli


Update flutterfire plugins to version 12+

Firebase has moved on to version 12+ and uses version 3.2.0 of the google-services Gradle plugin. The flutter/plugins repo should follow suit.
https://firebase.google.com/docs/android/setup

@mravn-google
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/862. Any further collaboration will be done there.


smithwaterman: fixes for rust implementation

Notably a cpu feature fix that significantly improves the AVX512 implementation.
Updated comparison with the C++ version:
align_i32x8             time:   [33.857 ms 34.081 ms 34.348 ms]
                        change: [-13.320% -12.730% -12.153%] (p = 0.00 < 0.05)
                        Performance has improved.

align_i32x16            time:   [27.244 ms 27.313 ms 27.389 ms]
                        change: [-33.438% -33.156% -32.850%] (p = 0.00 < 0.05)
                        Performance has improved.

Also a fix for the C++ inlining, which reduces the difference from the Rust version:
align_i32x8             time:   [32.851 ms 32.887 ms 32.928 ms]
                        change: [-13.771% -13.214% -12.835%] (p = 0.00 < 0.05)
                        Performance has improved.

align_i32x16            time:   [27.418 ms 27.450 ms 27.483 ms]
                        change: [-4.7023% -4.5465% -4.3773%] (p = 0.00 < 0.05)
                        Performance has improved.


🔴 Ecosystem Project Idea: GitHub PR Attestation Bot

What is an Ecosystem Project Idea?
An Ecosystem Project Idea is an idea for a project that someone could build within the Optimism ecosystem. As opposed to an Ecosystem Concept or an Ecosystem Idea, an Ecosystem Project is generally more fleshed out and corresponds to a relatively clear product to be built.

Summary
Tracking contributions to a GitHub repository is a useful way to see who's been doing what. Since this information is already public, it can be valuable to make it more easily accessible in the form of an on-chain attestation. A GitHub PR Attestation Bot would automatically make an attestation every time a PR is merged into a repository's main branch. This attestation would contain a reference to the repository, the specific PR, the branch name the PR was merged to, and the GitHub username of the account that created the PR.
Attestations should be published to the Ethereum Attestation Service version of the AttestationStation (ATST). As of the creation of this PR, this version is only available on OP Goerli, but the bot should be designed to support OP Mainnet as well once the mainnet ATST has been upgraded to EAS.
An ideal version of this bot would be configured with the following:

RPC URL to be used when publishing attestations
Private key to use when publishing attestations
Branch or branches to look for PRs to

This can take the form of a GitHub actions task or a GitHub app.
Possible Features

Allow repository owners to install your GitHub action or GitHub app
Allow repository owners to configure your GitHub action or GitHub app with the above listed config options
Automatically publish an attestation when a PR is merged
Create a schema that represents the attestations based on the required information

Impact

Help projects keep track of their contributors
Help contributors be potentially rewarded via RPGF

interesting idea

Seems like the MVP would need to use the contract abi's to register an attestation schema and then build a self configurable endpoint to integrate with the bot. Is the idea that the one submitting the PR would use their own PKs, and also pay for the tx?

@0xJepsen I think the repository owner would include a PK in their CI secrets so they would be responsible for paying for the txn

I created a github action to make an attestation to Ethereum Attestation Service when a PR is merged to the main branch.
The action is available here:
https://github.com/buildooor/github-attestation-action
The Schema is viewable here:
https://sepolia.easscan.org/schema/view/0x47a1041b689b790b4d3fa58ae2289a1d903dcc5b4e00d14f941090b59d947971
Here's an example hello world action that integrates this attestation action:
name: hello-world
on:
  pull_request:
    types: [closed]

jobs:
  my-job:
    runs-on: ubuntu-latest
    steps:
      - name: Attestation
        id: attestation
        uses: buildooor/github-attestation-action@master
        with:
          private-key: ${{ secrets.PRIVATE_KEY }}
          rpc-url: ${{ secrets.RPC_URL }}
          network: sepolia
          branch: master

An example job can be viewed here:
https://github.com/buildooor/github-action-test/actions/runs/5235160033/jobs/9451797252
The example job tx:
https://sepolia.etherscan.io/tx/0x419d5c1a845c38a4ba25596286f00ab39208c62312ee27e703b8bb7097a470d5
The example job attestation:
https://sepolia.easscan.org/attestation/view/0xe1166d38f2edae4e2373c800cbb7af1be4845b2bdf356c8a3cd0daea3ae1a7be
Open to feedback and suggestions!

Oh damn! That's so sick. I'm gonna try integrating it into one of my repositories...

@buildooor haha, this is sick! https://sepolia.easscan.org/attestation/view/0x2301da3994b4328126935b1830c1929f3f07fc43aed00b9a32516cb28094ef2a

@buildooor we're going to be deploying the EAS contracts to OP Mainnet relatively soon. Once that's ready I'm going to get this merged into the monorepo!

I created a github bot that makes an attestation to Ethereum Attestation Service when a PR is merged to the main branch.
The bot and setup instructions is available here:
https://github.com/buildooor/github-attestation-bot
An example PR merge with bot attestation interaction can be viewed here:

The github bot can be used instead of the github action if the repo does not use github actions.
Open to feedback and suggestions!


TypeError: Cannot read property 'element' of undefined

Hello,
I have the following issue when using flex-slider with my directive.
TypeError: Cannot read property 'element' of undefined
at angular-flexslider.js?cdv=975:104
at Object.fn (angular.js:14110)
at l.$get.l.$digest (angular.js:14243)
at l.$get.l.$apply (angular.js:14506)
at TrackerController.js?cdv=975:149
at angular.js:16223
at e (angular.js:4905)
at angular.js:5285
My Controller do $scope.$apply() after ng-click in my directive clicked. then the above error appears.
app.directive("weightExercise", function () {
    return {
        restrict: "AE",
        replace: "true",
        require: "^ngModel",
        templateUrl: "app/views/Templates/Weight.html"
    }
})

<flex-slider id="slider"  fslide="WOE in SelectedPlanDay.WODay[0].WorkoutExercises track by $index" item-margin="3" animation="slide" animation-loop="true" item-width="442" control-nav="false" touch="true" smooth-height="false">

 0">

</flex-slider>

Did u find solution for this

Yes, the cause was from  tag, removed and did work fine


Hololens 2 Emulator Install Problems

When I try to install the Microsoft HoloLens 2 Emulator, I get the error "The Microsoft HoloLens 2 Emulator requires the Windows 10 October 2018 update or newer." and I can't finish the installation. My Windows 10 Education is up to date, so this error makes no sense. Does anyone have a similar problem and found a workaround?

@samy4sam If you open a Command Prompt and type "ver", what is the output of that command?

@pbarnettms Microsoft Windows [Version 10.0.17134.950]

@samy4sam That means you're running the April 2018 update.  The HoloLens 2 Emulator requires the October 2018 update or newer, which means 10.0.17763 or newer.  If Windows Update isn't offering an update, please visit https://www.microsoft.com/en-us/software-download/windows10 to use the Update Assistant.

@pbarnettms thanks, that solved the problem


Added CIDR modifier for detection fields

Description
To provide IP ranges in the detection fields of a rule, we need to support the cidr modifier option. This PR adds that option in the dropdown. It also fixes a couple of edge cases for detection parsing
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Failed test is unrelated to the change in this PR


Hosts definition, ssl certs, SNI

Hello everybody,
I did not find information on this issue in the documentation and other discussions, probably the answers are simply obvious to everyone, so please tell me where to look.
Is it possible to specify in the configuration parameters - domain, not IP?
Is it possible to start one server for several domains and accordingly, different ssl-certificates and their substitution (is it possible to use SNI here)?
And if I need to run several related applications (for example, app for website.com and app for subdomain for images - images.website.com), will there be a correct way, to push everything into one RoadRunner server? And in general, can I have several pools for different workers for different subdomains, or better to run applications in different RR servers on different ports (or IP) with loadbalancer (NGINX or HAProxy etc.) standing in front of everything?
What architecture is expected here?
PS: Thank you for the great product, a rare case when it is really pleasant to use (especially in the PHP world ;)

Hi @sinitsa, thank you for your question.
In our concept RoadRunner is not really web-server to replace nginx on the top level, instead, it is an application server which supposes to have deep integration with each underlying project. Basically, it is designed to be easily customized for each specific use-case.
We practice using nginx as reverse-proxy at top of multiple rr applications, each located in the different containers.

Thank you very much!
PS: Did I understand correctly that, if desired, I can also run several rr applications within the same container, on different ports with different workers (specifying different configurations at startup), can they live together?

Yes, this is correct.

@wolfy-j If we do rever-proxy with nginx, won't that affect overall performance of application running on rr?

It will affect it a little bit but not significant, nginx won’t be a bottle neck in this case.


Support for Istio VirtualService resource

It would be nice to have native support for Istio VirtualService resources that get deployed along with everything else. We used to modify values.yaml directly but ever since this schema validation change, we now get the following error.
Error: values don't meet the specifications of the schema(s) in the following chart(s):
splunk-otel-collector:
- (root): Additional property virtualService is not allowed

Flipping additionalProperties back to false would be an option, but something that would need to be re-applied after every upgrade.
For reference, here's a simplified example of a VirtualService template and struct that would go in values.yaml:
virtual-service.yaml template
{{ if .Values.virtualService.enabled }}
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  labels:
    app: splunk-otel-collector
  name: splunk-otel-collector
spec:
  {{- with .Values.virtualService.gateways }}
  gateways:
    {{ toYaml . | nindent 4 | trim }}
  {{- end }}

  {{- with .Values.virtualService.hosts }}
  hosts:
    {{ toYaml . | nindent 4 | trim }}
  {{- end }}

  {{- with .Values.virtualService.http }}
  http:
    {{ toYaml . | nindent 4 | trim }}
  {{- end }}
{{- end}}

values.yaml
virtualService:
  enabled: true
  gateways:
  - istio-system/istio-ingressgateway
  hosts:
  - splunk-otel-collector.example.com
  http:
  - match:
    - uri:
        prefix: /v2/datapoint
    route:
    - destination:
        host: splunk-otel-collector
        port:
          number: 9943
  - route:
    - destination:
        host: splunk-otel-collector
        port:
          number: 4317

Hi @tknguyen3,
I see that you want to define the k8s resources closer together. The problem is that defining istio resources is pretty out of the scope of the collector. We don't support any Ingress definitions in this chart, so not sure we want to jump right to supporting istio virtual services. Do you use any other third-party open-source helm chart supporting that?


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Generate CSR and store new certificate

Is it possible to use the stored private key to generate a CSR and store a newly signed certificate in the esp_secure_cert partition?

Hi @tadejg,
Yes it is possible to store the newly signed certificate in the esp_secure_cert partition. It can be done externally through the python script. The newly signed certificate can be provided as the device certificate to the script.
python configure_esp_secure_cert.py --device-cert newly_signed_certificate.pem

Yes, I know you can use the python script. Maybe I wasn't specific enough in my initial question. I want the device to be able to renew its certificate while deployed in the wild. So I'm looking for a way to do this on the device, in firmware.

Ah, okay.
As of now we have not supported the ability to write into the esp_secure_cert partition.
But internal discussion is ongoing about this.
I will update about this.

Understood, thanks. In that case, should I leave the issue open?

@AdityaHPatwardhan any update on this ?

Hi @tadejg @zafeer-birde We have started development for this feature, this should be available in a few days.

@AdityaHPatwardhan to confirm is this complete now ?
Do we have an example to try this out ?

Hi @zafeer-birde Sorry, this is still in progress. Should be converged by end of the week or mid next week.
Sorry for the delay.

Hi @zafeer-birde Sorry, this is still in progress. Should be converged by end of the week or mid next week. Sorry for the delay.

@AdityaHPatwardhan  any update ?

Hi @zafeer-birde The MR is in the review stage, should be merged by next week.
Sorry for the delay

@AdityaHPatwardhan can we have some definite timelines for this ? We are waiting to implement a feature on certs regeneration which is currently blocked due to this.

Hi @zafeer-birde I am sharing this patch with you, please check if it solves your blocker.
support_writing.patch.zip
Additionally, I wanted to understand the reason for this to be a blocker. There are other secure storage implementations ( e.g. NVS).

@AdityaHPatwardhan Do you know if its possible to generate a CSR in runtime, that is signed with the private key in DS store that i can send to a server for signing?
The example code you wrote, is to write down that cert you get back.
I have looked at MBEDTLS code, and the code path for generating a CSR is bound to having a private key in a pem file you store, and not to access it from DS storage.  Dont think there should be any limitations on that, just think its not supported yet, or at least that i know of.
The use case for this, is to allow sign a new certificate from a new service with a the key stored in the ESP in factory not replacing the device key.

@jimmyw I see no reason for it to be prohibited for generating a CSR at runtime using the DS peripheral.
Technically the private key is only required to sign the TBS content of the CSR. The DS peripheral supports the signing operation through the key, so it should be supported.
If it helps your to fix your issue, I would like to suggest following

Have you tried generating a pk context for the private key with mbedtls_pk_setup_rsa_alt API ? ( we do similar in the esp-tls component when we are using RSA key from the DS instead of plaintext key (https://github.com/espressif/esp-idf/blob/b4268c874a4cf8fcf7c0c4153cffb76ad2ddda4e/components/esp-tls/esp_tls_mbedtls.c#L1093).
I think it should be possible to provide this pk context for the key to the CSR generation API.

If the above suggestion does not help, I think it is better to take this discussion to https://github.com/Mbed-TLS/mbedtls/issues which is the appropriate place for mbedTLS specific questions.


Localization Module

Let's add a module about Localization of Blazor

Great! Specially because as of now price is hard coded to £


remove node 4, add node 5 to travis tests

Whats the motivation for this? Seems like keeping v4 would be good until april: https://github.com/nodejs/LTS

Tests are failing. Is that something we can fix easily?
We can still say we support 4 even if we remove it from travis, I think

🎉 passing now https://travis-ci.org/joehand/dat-next/builds/195367634. The tests in this PR are failing because of those error handling changes.
If we intend to support v4 then it'll be nice to have it in travis. I'd regularly forget to switch versions to run tests locally =).

cool!


Add comment-commands to add labels, etc...

I'm not sure if this is even possible in Github or through this extension. GitLab has so-called quick actions which (among other things) can add labels to an issue/PR: https://docs.gitlab.com/ee/user/project/quick_actions.html
In a project I maintain, I frequently have to request logs from users and set a label to mark the issue as "waiting for info". Being able to do this with Github's saved replies would be super helpful, for example like this:
Please post this and that.

/label "waiting for info"

The /label part should not appear in the comment, but instead add a label when the comment button is pressed.

It would be possible for an extension to catch this, unless it’s done when replying via email, but it sounds like a feature that could stand alone in its own extension.

Fair enough - I just figured it would fit here, since most of the infrastructure is already in place.


Reduce sig data size by changing sized spaces

Apparently the other CI failures are a more general issue (#5407), so we won't be able to merge this until that's fixed, but we're working on it.

@jameysharp looks like CI is passed now! I don't know if we should change compute_arg_locs or not, it's fairly isolated so I totally can.

Just made the compute_arg_loc changes, PTAL


Ugly user presentation when sm.lock exists due to abort

What version of Go (go version) and dep (git describe --tags) are you using?
go 1.8.3/osx
dep v0.1.0-215-g911cd22
What dep command did you run?
dep init (or really anything)
What did you expect to see?
Some interesting and informative results.
What did you see instead?
getSourceManager: cache lock file /Users/rfay/go/pkg/dep/sm.lock exists - another process crashed or is still running?
This was a simple result of me debugging through dep init and terminating the session, like a kill -9, but I'm sure it can happen to real people in lots of ways.
It turns out that the lock manager here is rolled for this particular code, and probably should be refactored to use something that is more general and has a fix technique. A slack thread from @sdboyer mentioned this issue, and Patrick Bennet suggested use of https://github.com/nightlyone/lockfile
There are two issues here:

[ ] Refactor to a generalized lockfile manager
[ ] Do an appropriate presentation to the user explaining how they can get out of this (minor) hell.

@sdboyer: I am tackling this.


[Exploratory testing] Brokers: The guidebook tour for Brokers

Mission: Find all instructions and do
What should be done:
Turn to Brokers
Check all the available actions
Make sure all data exists

https://github.com/provectus/kafka-ui/issues/3345
https://github.com/provectus/kafka-ui/issues/3346
https://github.com/provectus/kafka-ui/issues/3347
https://github.com/provectus/kafka-ui/issues/3348


Option to show Desktop Name

It would be very nice to be able to see the desktop name, somehow.
Suggestion for how it could be shown, in order of (my) preference:

As an on screen tooltip/toast/notification when you switch desktop, which goes away on it's own in a second or two
In the taskbar:  - , or just
as a tooltip on hover of the taskbar icon

Thanks for the super useful virtualdesktop indicator - makes virtual desktops on windows much more useable!

Would this be sufficient?

Would this be sufficient? (GIF)

You beat me to it! As soon as there was time to programming project, I already see a gif of someone else's work) Thank you, @Flaflo


wall off The Rabbit Hole

The Rabbit Hole is the heart of this project, but it was not designed to accommodate vertical aspect ratios.  This leaves assets intact and only removes the entry point.

Hi Dan, thanks for raising that Rabbit Hole isn't working!
I can accept this temporarily, but granted this is now unreachable code, it should either be fixed or removed. As Rabbit Hole is not a core feature of the game, porting it is low on my priority list. That said, I thought of a couple approaches that could be quick depending on how it's implemented:

Rotate the screens 90 degrees, preface with a screen prompting the user to turn their monitor to landscape to view the experience correctly. I'm hoping there may be a function to rotate the screen after it's rendered, to avoid changing the layout, but I don't know offhand — would you happen to know?
Resize the view to fit, with margins on top and bottom. Should be achievable with zoom on the top element without affecting the layout?

Let me know what you think and if you're interested in porting it.

porting it is low on my priority list

There's no need for you to port it; I would prefer it to be left as-is.

If it is unreachable, it cannot be left as-is. Removing unused code is one of the core best practices I follow in this project.
Thanks for flagging that things aren't working. I will accept the wall-off now and remove the assets later. If you choose to make Rabbit Hole available in portrait orientation, please send a PR!

I would prefer that The Rabbit Hole be left as-is, like inherited dead weight, and will try to stay away now.


Cross section tool fails if options in Extras section are checked.

I am trying to run the Project Map Data to Cross Section tool and having some issues. I downloaded a new version of the toolbox and tried the tool in it and it failed. I looked thru the issues and saw that the tool is being worked on in a separate branch, so I downloaded that toolbox. I can get it to run once as long as I don't check any options in the Extras section. As soon as I do that it crashes with the following error message (note that it says my version is obsolete, even tho it's the most recent one, as far as I can tell).

My input parameters are:

I've tried only checking Add Surface Profile or Add frame, and both fail. I've also not been able to rerun the tool twice in one session. I have to run it, close and reopen Pro, and run it again.
Let me know if you have more questions. I'm runing Pro 3.
Thanks!
-tracey

I looked more closely at the snapshots from the posts in June and July, and tried to mimic them as much as possible. I've gotten it to work successfully 3 times in a row with all the options I want, soo I you can ignore my previous post on this issue!

I got the error about the parameter not being a feature class and tracked it down to an existing feature class not being deleted before running a second time. I think it's fixed now. I will close this issue.


fix: switch timekeeping from monthly with external lib to time based

Codecov Report
Patch coverage is 100.00% of modified lines.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files Changed
Coverage

contracts/RecurringPayments.sol
100.00%

:loudspeaker: Thoughts on this report? Let us know!.


Symbol not found: (_JSGlobalContextSetInspectable)

Description
When trying to run release built on iOS 15.8.2. App crashes as soon as it starts.
I was able to find issue in https://forums.developer.apple.com/forums/thread/749534
Note - We have react-native-firebase integration which requires to use static framework bundling.
I am assuming following check in /node_modules/react-native/ReactCommon/jsc/JSCRuntime.cpp isnt working
if (__builtin_available(macOS 13.3, iOS 16.4, tvOS 16.4, *)) {
   JSGlobalContextSetInspectable(ctx_, true);
 }

i get following error
dyld[1327]: Symbol not found: (_JSGlobalContextSetInspectable)
  Referenced from: '/private/var/containers/Bundle/Application/1867E253-BC84-4E34-BE05-EA20CAF16CD3/ProviderApp.app/ProviderApp'
  Expected in: '/System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore'
Message from debugger: killed

I got it working for now updating it to following bit in -> /node_modules/react-native/ReactCommon/jsc/JSCRuntime.cpp
  #if ( __OSX_AVAILABLE_STARTING(MAC_NA, IPHONE_16_4))
      JSGlobalContextSetInspectable(ctx_, true);
#endif

Steps to reproduce

Change scheme to release in XCode
Run it on iOS =< 15.8.2

React Native Version
0.72.12
Affected Platforms
Runtime - iOS
Output of npx react-native info
System:
  OS: macOS 14.2.1
  CPU: (12) arm64 Apple M2 Pro
  Memory: 186.39 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.18.2
    path: ~/.nvm/versions/node/v18.18.2/bin/node
  Yarn:
    version: 1.22.22
    path: ~/.nvm/versions/node/v18.18.2/bin/yarn
  npm:
    version: 10.2.2
    path: ~/.nvm/versions/node/v18.18.2/bin/npm
  Watchman:
    version: 2<IP_ADDRESS>
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.14.3
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.4
      - iOS 17.4
      - macOS 14.4
      - tvOS 17.4
      - visionOS 1.1
      - watchOS 10.4
  Android SDK: Not Found
IDEs:
  Android Studio: 2023.1 AI-231.9392.1.2311.11076708
  Xcode:
    version: 15.3/15E204a
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.10
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.72.12
    wanted: 0.72.12
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: false
  newArchEnabled: false

Stacktrace or Logs
dyld[1327]: Symbol not found: (_JSGlobalContextSetInspectable)
  Referenced from: '/private/var/containers/Bundle/Application/1867E253-BC84-4E34-BE05-EA20CAF16CD3/ProviderApp.app/ProviderApp'
  Expected in: '/System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore'
Message from debugger: killed

Reproducer

Screenshots and Videos
No response

@master96 thanks for reporting. The crash will be fixed with the PR #44185

Added cherry pick requests:

https://github.com/reactwg/react-native-releases/issues/235
https://github.com/reactwg/react-native-releases/issues/236
https://github.com/reactwg/react-native-releases/issues/237

The fix with the next release of each RN patch version

Here is the patch that worked for me :
diff --git a/node_modules/react-native/ReactCommon/jsc/JSCRuntime.cpp b/node_modules/react-native/ReactCommon/jsc/JSCRuntime.cpp
index 523b1be..c667741 100644
--- a/node_modules/react-native/ReactCommon/jsc/JSCRuntime.cpp
+++ b/node_modules/react-native/ReactCommon/jsc/JSCRuntime.cpp
@@ -403,11 +403,13 @@ JSCRuntime::JSCRuntime(JSGlobalContextRef ctx)
 {
 #ifndef NDEBUG
 #ifdef _JSC_HAS_INSPECTABLE
-  if (__builtin_available(macOS 13.3, iOS 16.4, tvOS 16.4, *)) {
+#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 16400
+  if (__builtin_available(macOS 13.3, iOS 16.4, tvOS 16.4, *))
     JSGlobalContextSetInspectable(ctx_, true);
   }
 #endif
 #endif
+#endif
 }

 JSCRuntime::~JSCRuntime() {

FYI according to apple support, heree is the documentation for running code on a specific platform or OS version :
https://developer.apple.com/documentation/xcode/running-code-on-a-specific-version/

cc. @Saadnajmi

Here is the patch that worked for me :
diff --git a/node_modules/react-native/ReactCommon/jsc/JSCRuntime.cpp b/node_modules/react-native/ReactCommon/jsc/JSCRuntime.cpp
index 523b1be..c667741 100644
--- a/node_modules/react-native/ReactCommon/jsc/JSCRuntime.cpp
+++ b/node_modules/react-native/ReactCommon/jsc/JSCRuntime.cpp
@@ -403,11 +403,13 @@ JSCRuntime::JSCRuntime(JSGlobalContextRef ctx)
 {
 #ifndef NDEBUG
 #ifdef _JSC_HAS_INSPECTABLE
-  if (__builtin_available(macOS 13.3, iOS 16.4, tvOS 16.4, *)) {
+#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 16400
+  if (__builtin_available(macOS 13.3, iOS 16.4, tvOS 16.4, *))
     JSGlobalContextSetInspectable(ctx_, true);
   }
 #endif
 #endif
+#endif
 }

 JSCRuntime::~JSCRuntime() {

__MAC_OS_X_VERSION_MAX_ALLOWED >= 16400 means you're checking that you're compiling for an Xcode version that supports macOS 16.4+.. which doesn't exist (the latest is macOS 14). So it just ifdefs the code out, which means that direct debugging with JavascriptCore is broken for iOS 16.4+. This is currently the case with the latest fixes to React Native. The "proper" fix AFAIK is to weak link JacascriptCore. I have a fix for cocoapods out (https://github.com/facebook/react-native/pull/39549) but I'm not sure it will get merged due to other issues. If you aren't using JSC and are using Hermes, then I suppose it doesn't matter if you keep the ifdef in.

The fix for this was patched to all version of RN >= 0.72:
https://github.com/facebook/react-native/commit/ae4c62a933f7ffcfe4be8a3499fb6e1cbe7f1c43

I got this error happening again on iOS >= 16.3.
Besides being closed, do we have any new reports? @cipolleschi


Android in-app purchases error

Godot version:
Godot 3.0.6
OS/device including version:
Windows
Issue description:
If you add android in-app purchases to the project (http://docs.godotengine.org/en/3.0/tutorials/platform/android_in_app_purchases.html), you get error:
Failed to retrieve non-existent singleton 'GodotPayments'
Steps to reproduce:
This error you can get in the demo project

in the demo project,
it says
1. Project > Project Settings
2. write [Category : android] / [Property : modules] / [Type : String] and click Add
3. Click "Android" on left panel
4. double click on right filed of "modules"
5. write "org/godotengine/godot/GodotPaymentV3"

did you follow this steps?

In the demo project, this setting has already been completed.
I also did these steps manually.

did you test on android device? GodotPayments is only available on android device.

No, I did not test on android device. I do not know how to catch errors on remote devices. But in Godot version 2.1 of this error was not and everything worked fine.

then use has_singleton to check and prevent error message.
it is not a bug or issue.

i would not say it is incorrect but could be improved

Just for clarification, does the error actually impact the IAP functionality?

@meng2468 I don't think so.


Fix Obsolete machines in GSX helper

GSX helper didn't properly write data to Obsolete machines' stock db tables

Thanks!


Improve explanation of negative minutes

FYI - On OBA Android I got enough feedback on negative arrivals, including users that didn't want them displayed, that I implemented a setting to allow users to hide them (default is original behavior of them being displayed).  We're working on a similar setting for OBA Alexa now too.  Something you might want to consider.

Personally I think negarive times should be off by default. In most cases seeing the negative time just drives resentment towards the app and agency without providing any value. Only in rare cases of bad data does seeing the negative time help you know to hurry up.

thanks for the input, guys. I'm just going to turn it off for now.


double-beep: Watch karstcountry.com

double-beep requests the watch of the watch_keyword karstcountry\.com. See the MS search here and the Stack Exchange search here.

Approved by tripleee in Charcoal HQ

karstcountry\.com has been seen in 2 true positives, 0 false positives, and 0 NAAs.


Reply to status requests in sinks

:notebook_with_decorative_cover: Description
This errored previously, which was most noticeable for continuous exports.
❯ vast -v quiet status --detailed | jq .sinks

[
  {
    "format": "json-writer",
    "processed": 378
  }
]

:memo: Checklist

[x] All user-facing changes have changelog entries.
[x] The changes are reflected on docs.tenzir.com/vast, if necessary.
[x] The PR description contains instructions for the reviewer, if necessary.

:dart: Review Instructions
Read the relatively simple code. Run locally by running a continuous or unified export command and sending a status request.

Mind giving it a rebase?

Mind giving it a rebase?

Sure, done.


The mp3d_70k_demo_maps_48m_nocld data and the configuration file for the model with three auxiliary tasks

Thank you for your outstanding work. I have executed the code both without auxiliary tasks and with the infer_vis and semantic_task options.
However, I am attempting to reproduce the results mentioned in the paper by running the code with three auxiliary tasks. Unfortunately, I have encountered an issue as I don't possess the map data.
Could you please provide the script for generating the maps_48ms and the configuration file for the model with three auxiliary tasks? Your assistance would be greatly appreciated

hi friend, have you solved this problem?

You could download the map data here for the experiments.

Thank you for your quick response! I look forward to contributing to this project.


Passing TVP along with other parameters

Using Microsoft.Data.SqlClient, when I pass a TVP along with any other parameters into an MSSQL Stored Procedure I receive an error that the other parameter does not exist, even though when debugging, it clearly exists and was assigned to the command.  If I change the Stored Procedure/code and pass a TVP to a stored procedure without any other parameters it appears to work fine.
In my opinion, you should be able to pass other individual parameters along with a TVP into a Stored Procedure as to not need to duplicate fixed data inside of the TVP itself.  This appears to be different from the older System.Data.SqlClient, and does not work with the newer Microsoft.Data.SqlClient package.

Please share a runnable repo. There should be no difference between the two drivers.

Thanks for the quick response.  I'll need to put together something and unfortunately I'm under a bit of a deadline right now/it will take a few days to build out something.  Thanks again.  I'll need to double check but I'm fairly certain this is different behavior from the previous version.

@briantheusch as @ErikEJ mentioned, a repro would help us a lot to understand the situation.

Disregard - this was a unintentional bug in my code.  I apologize and thank you again for the prompt response.


missing fieldsets on new income pages

In creating the new income flow, some old <legend> tags got left in and not updated. Also, on IE8, the fact that a <legend> is only valid inside a <fieldset> meant that the browser ignored the CSS, and displayed the text of the tag rather than keeping it visuallyhidden.
<fieldset>s have been added and the text of the <legend>s has been corrected.
Fixes this Pivotal bug.

👍


UniqueKey().toString() behaves differently in debug and release mode

Steps to reproduce

Create a Flutter 3.22.1 app
Execute the following, once in debug mode, once in release mode:

final UniqueKey uniqueKey = UniqueKey();
final UniqueKey uniqueKey2 = UniqueKey();
print(uniqueKey.toString()) // something like [#eb518] in debug mode, Instance of 'UniqueKey' in release mode
print(uniqueKey2.toString()) // something like [#60ebb] in debug mode, Instance of 'UniqueKey' in release mode
print(uniqueKey.toString() == uniqueKey2.toString()) // true in release mode, false in debug mode

Expected results
The results should be the same in debug and in release mode
Actual results
While in debug mode, toString() prints a short hash of the object hash, in release mode the string is Instance of 'UniqueKey'
Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // TRY THIS: Try running your application with "flutter run". You'll see
        // the application has a purple toolbar. Then, without quitting the app,
        // try changing the seedColor in the colorScheme below to Colors.green
        // and then invoke "hot reload" (save your changes or press the "hot
        // reload" button in a Flutter-supported IDE, or press "r" if you used
        // the command line to start the app).
        //
        // Notice that the counter didn't reset back to zero; the application
        // state is not lost during the reload. To reset the state, use hot
        // restart instead.
        //
        // This works for code too, not just values: Most code changes can be
        // tested with just a hot reload.
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  // This widget is the home page of your application. It is stateful, meaning
  // that it has a State object (defined below) that contains fields that affect
  // how it looks.

  // This class is the configuration for the state. It holds the values (in this
  // case the title) provided by the parent (in this case the App widget) and
  // used by the build method of the State. Fields in a Widget subclass are
  // always marked "final".

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      // This call to setState tells the Flutter framework that something has
      // changed in this State, which causes it to rerun the build method below
      // so that the display can reflect the updated values. If we changed
      // _counter without calling setState(), then the build method would not be
      // called again, and so nothing would appear to happen.
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    final UniqueKey uniqueKey = UniqueKey();
    final UniqueKey uniqueKey2 = UniqueKey();

    return Scaffold(
      appBar: AppBar(
        // TRY THIS: Try changing the color here to a specific color (to
        // Colors.amber, perhaps?) and trigger a hot reload to see the AppBar
        // change color while the other colors stay the same.
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body: Center(
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child: Column(
          // Column is also a layout widget. It takes a list of children and
          // arranges them vertically. By default, it sizes itself to fit its
          // children horizontally, and tries to be as tall as its parent.
          //
          // Column has various properties to control how it sizes itself and
          // how it positions its children. Here we use mainAxisAlignment to
          // center the children vertically; the main axis here is the vertical
          // axis because Columns are vertical (the cross axis would be
          // horizontal).
          //
          // TRY THIS: Invoke "debug painting" (choose the "Toggle Debug Paint"
          // action in the IDE, or press "p" in the console), to see the
          // wireframe for each widget.
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              uniqueKey.toString(),
            ),
            Text(
              uniqueKey2.toString(),
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.1, on macOS 14.4.1 23E224 darwin-arm64 (Rosetta), locale de-DE)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] VS Code (version 1.88.1)
[✓] Connected device (5 available)
    ! Device emulator-5554 is offline.
[✓] Network resources

! Doctor found issues in 1 category.

Duplicate of https://github.com/flutter/flutter/issues/148983

@d-e-h-i-o There is a similar issue to this at https://github.com/flutter/flutter/issues/148983. Closing this in favor of that one. Please follow it for updates.


feat(ld_annotator): optional r2 threshold

✨ Context
We want to be able to apply a threshold in the step of annotating the LD set of a StudyLocus dataset.
🛠 What does this PR implement

Added StudyLocus.filter_ld_set, that enables to apply a filter on each r2 (after weighting by population)
Application of that method in LDAnnotator.ld_annotate

🙈 Missing

🚦 Before submitting

[x] Do these changes cover one single feature (one change at a time)?
[x] Did you read the contributor guideline?
[x] Did you make sure to update the documentation with your changes?
[x] Did you make sure there is no commented out code in this PR?
[x] Did you follow conventional commits standards in PR title and commit messages?
[x] Did you make sure the branch is up-to-date with the dev branch?
[x] Did you write any new necessary tests?
[ ] Did you make sure the changes pass local tests (make test)?
[ ] Did you make sure the changes pass pre-commit rules (e.g poetry run pre-commit run --all-files)?

As I commented to @ireneisdoomed, there is an issue here, because annotate_ld is already based in a filtered LDIndex. This needs to be more clear.
This space is a bit messy at the moment. There is another related situation with the credible sets from finemapping that are at the moment lacking the LD annotation (between lead and tag). If we keep relying on the LDIndex for all these, we are applying dataset that was pre-filtered for the only purpose of the PICS road


[WEB] Unable to open DevTools

I want to use DevTools for my website but whenever I was trying to debug my code by pressing F5 on VS Code it always gets stuck at Syncing files to device Web Server...
The application runs when I try flutter run -d web-server  or flutter run -d chrome on the terminal. But when I try to open DevTools it shows You must have an active debug session to start DevTools. and even sometimes it gets stuck at r or R.
Note: It used to work fine in the previous version before flutter upgrade. The DevTools also worked at that time.
flutter run -d web-server --verbose:
[   +7 ms] executing: [C:\Users\acer\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +51 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 2738a1148ba6c9a6114df62358109407c3ef2553
[        ] executing: [C:\Users\acer\flutter/] git tag --contains HEAD
[ +246 ms] Exit code 0 from: git tag --contains HEAD
[   +1 ms] 1.18.0-11.1.pre
[   +8 ms] executing: [C:\Users\acer\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +38 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [C:\Users\acer\flutter/] git ls-remote --get-url origin
[  +30 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +80 ms] executing: [C:\Users\acer\flutter/] git rev-parse --abbrev-ref HEAD
[  +30 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] beta
[  +44 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[  +11 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +5 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 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.
[   +8 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +15 ms] executing: C:\Users\acer\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +35 ms] List of devices attached
[   +5 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +5 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +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.
[ +100 ms] Found plugin path_provider at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider-1.6.9\
[   +5 ms] Found plugin path_provider_macos at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+3\
[  +17 ms] Found plugin url_launcher at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher-5.4.2\
[   +5 ms] Found plugin url_launcher_macos at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+4\
[   +3 ms] Found plugin url_launcher_web at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_web-0.1.1+1\
[ +121 ms] Found plugin path_provider at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider-1.6.9\
[   +2 ms] Found plugin path_provider_macos at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+3\
[  +22 ms] Found plugin url_launcher at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher-5.4.2\
[   +1 ms] Found plugin url_launcher_macos at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+4\
[   +2 ms] Found plugin url_launcher_web at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_web-0.1.1+1\
[  +39 ms] Generating D:\Application\Web App\my_portfolio\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +59 ms] Launching lib\main.dart on Web Server in debug mode...
[  +38 ms] Updating assets
[ +155 ms] Syncing files to device Web Server...
[  +15 ms] Found plugin path_provider at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider-1.6.9\
[   +1 ms] Found plugin path_provider_macos at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+3\
[   +7 ms] Found plugin url_launcher at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher-5.4.2\
[   +1 ms] Found plugin url_launcher_macos at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+4\
[   +2 ms] Found plugin url_launcher_web at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_web-0.1.1+1\
[  +21 ms] Found plugin path_provider at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider-1.6.9\
[   +3 ms] Found plugin path_provider_macos at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+3\
[   +9 ms] Found plugin url_launcher at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher-5.4.2\
[   +6 ms] Found plugin url_launcher_macos at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+4\
[   +2 ms] Found plugin url_launcher_web at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_web-0.1.1+1\
[   +6 ms] Generating D:\Application\Web App\my_portfolio\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +430 ms] <- reset
[   +6 ms] C:\Users\acer\flutter\bin\cache\dart-sdk\bin\dart.exe C:\Users\acer\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Users\acer\flutter\bin\cache\flutter_web_sdk/ --incremental --target=dartdevc --debugger-module-names -Ddart.developer.causal_async_stacks=true --output-dill
C:\Users\acer\AppData\Local\Temp\flutter_tool.8d75fe8a-9d04-11ea-a578-9828a61b307e\app.dill --libraries-spec
file:///C:/Users/acer/flutter/bin/cache/flutter_web_sdk/libraries.json --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts
--track-widget-creation --filesystem-root C:\Users\acer\AppData\Local\Temp\flutter_tools.8d75fe8b-9d04-11ea-a578-9828a61b307e --filesystem-scheme org-dartlang-app
--initialize-from-dill build\cache.dill --platform file:///C:/Users/acer/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
[  +11 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+10755 ms] Syncing files to device Web Server... (completed in 11,272ms, longer than expected)
[   +1 ms] Synced 30.5MB.
[   +1 ms] <- accept
[  +10 ms] lib\main.dart is being served at http://localhost:61176
[   +9 ms] Warning: Flutter's support for web development is not stable yet and hasn't
[  +10 ms] been thoroughly tested in production environments.
[   +1 ms] For more information see https://flutter.dev/web
[   +2 ms]   To hot restart changes while running, press "r". To hot restart (and refresh the browser), press "R".
[   +1 ms] For a more detailed help message, press "h". To quit, press "q".

flutter run -d chrome --verbose:
[   +7 ms] executing: [C:\Users\acer\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +52 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 2738a1148ba6c9a6114df62358109407c3ef2553
[        ] executing: [C:\Users\acer\flutter/] git tag --contains HEAD
[ +235 ms] Exit code 0 from: git tag --contains HEAD
[   +1 ms] 1.18.0-11.1.pre
[  +10 ms] executing: [C:\Users\acer\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +46 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [C:\Users\acer\flutter/] git ls-remote --get-url origin
[  +28 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +60 ms] executing: [C:\Users\acer\flutter/] git rev-parse --abbrev-ref HEAD
[  +30 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[  +41 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[  +14 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +7 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +6 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +7 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +18 ms] executing: C:\Users\acer\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +37 ms] List of devices attached
[   +5 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.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +7 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +98 ms] Found plugin path_provider at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider-1.6.9\
[   +5 ms] Found plugin path_provider_macos at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+3\
[  +19 ms] Found plugin url_launcher at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher-5.4.2\
[   +9 ms] Found plugin url_launcher_macos at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+4\
[   +2 ms] Found plugin url_launcher_web at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_web-0.1.1+1\
[  +99 ms] Found plugin path_provider at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider-1.6.9\
[   +3 ms] Found plugin path_provider_macos at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+3\
[  +19 ms] Found plugin url_launcher at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher-5.4.2\
[   +8 ms] Found plugin url_launcher_macos at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+4\
[   +2 ms] Found plugin url_launcher_web at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_web-0.1.1+1\
[  +37 ms] Generating D:\Application\Web App\my_portfolio\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +85 ms] Launching lib\main.dart on Chrome in debug mode...
[  +64 ms] Updating assets
[ +313 ms] Syncing files to device Chrome...
[  +16 ms] Found plugin path_provider at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider-1.6.9\
[   +1 ms] Found plugin path_provider_macos at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+3\
[  +11 ms] Found plugin url_launcher at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher-5.4.2\
[   +1 ms] Found plugin url_launcher_macos at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+4\
[   +1 ms] Found plugin url_launcher_web at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_web-0.1.1+1\
[  +17 ms] Found plugin path_provider at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider-1.6.9\
[   +1 ms] Found plugin path_provider_macos at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+3\
[   +7 ms] Found plugin url_launcher at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher-5.4.2\
[   +5 ms] Found plugin url_launcher_macos at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+4\
[   +2 ms] Found plugin url_launcher_web at C:\Users\acer\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_web-0.1.1+1\
[   +7 ms] Generating D:\Application\Web App\my_portfolio\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +497 ms] <- reset
[   +5 ms] C:\Users\acer\flutter\bin\cache\dart-sdk\bin\dart.exe C:\Users\acer\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Users\acer\flutter\bin\cache\flutter_web_sdk/ --incremental --target=dartdevc --debugger-module-names -Ddart.developer.causal_async_stacks=true --output-dill
C:\Users\acer\AppData\Local\Temp\flutter_tool.cbad095f-9d03-11ea-a578-9828a61b307e\app.dill --libraries-spec
file:///C:/Users/acer/flutter/bin/cache/flutter_web_sdk/libraries.json --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts
--track-widget-creation --filesystem-root C:\Users\acer\AppData\Local\Temp\flutter_tools.cbad0960-9d03-11ea-a578-9828a61b307e --filesystem-scheme org-dartlang-app
--initialize-from-dill build\cache.dill --platform file:///C:/Users/acer/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
[   +9 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+10878 ms] Syncing files to device Chrome... (completed in 11,459ms, longer than expected)
[   +1 ms] Synced 30.5MB.
[   +1 ms] <- accept
[ +329 ms] [CHROME]:
[   +1 ms] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:60762/devtools/browser/b1d5c79b-c192-4cfb-af02-0cda4e950451
[+5015 ms] Debug service listening on ws://<IP_ADDRESS>:60795/Nmxd-tDMJRc=

[ +534 ms] Debug service listening on ws://<IP_ADDRESS>:60795/Nmxd-tDMJRc=
[   +2 ms] Warning: Flutter's support for web development is not stable yet and hasn't
[   +9 ms] been thoroughly tested in production environments.
[   +1 ms] For more information see https://flutter.dev/web
[   +1 ms]   To hot restart changes while running, press "r". To hot restart (and refresh the browser), press "R".
[   +1 ms] For a more detailed help message, press "h". To quit, press "q".

flutter doctor -v:
[√] Flutter (Channel beta, 1.18.0-11.1.pre, on Microsoft Windows [Version 10.0.18363.836], locale en-IN)
    • Flutter version 1.18.0-11.1.pre at C:\Users\acer\flutter
    • Framework revision 2738a1148b (10 days ago), 2020-05-13 15:24:36 -0700
    • Engine revision ef9215ceb2
    • Dart version 2.9.0 (build 2.9.0-8.2.beta)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Users\acer\AppData\Local\Android\sdk
    • Platform android-29, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 43.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code (version 1.45.1)
    • VS Code at C:\Users\acer\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.10.2

[√] Connected device (2 available)
    • Web Server • web-server • web-javascript • Flutter Tools
    • Chrome     • chrome     • web-javascript • Google Chrome 81.0.4044.138

• No issues found!

There is no debug connection on web-server devices, hence devtools cannot do anything.

Note: It used to work fine in the previous version before flutter upgrade. The DevTools also worked at that time.

It might have opened but there has never been debug support in the web-server device.

even sometimes it gets stuck at r or R

Can you clarify here?

There is no debug connection on web-server devices, hence devtools cannot do anything.
It might have opened but there has never been debug support in the web-server device.

What about the chrome device? I think that worked before the upgrade. And on default, it launched the app in chrome debug mode.

Can you clarify here?

I mean like all other issues about the hot restart not working on the web.
Also, I tried something.

Launched DevTools manually from terminal flutter pub global run devtools
After that run the web app flutter run -d chrome
Copied the debug service listener URL to DevTools server.

It worked for some time but after using debug paint it didn't work.

I tried with beta, 1.18.0-11.1.pre on windows and I was able to open DevTools from interface of Android studio or VS Code, from console as well. And hot restart worked.
@himanshusharma89 isn't DevTools opening via AS interface as well?

I tried with beta, 1.18.0-11.1.pre on windows and I was able to open DevTools from interface of Android studio or VS Code, from console as well. And hot restart worked.

Hey @VladyslavBondarenko, Is your web app working by debugging on VS Code? What was the debug mode? Cause my web app always stuck at syncing files with debug mode at web-server. And with terminal DevTools cannot be accessed.
For the hot restart for me, the bug usually shows up after 20-25 minutes (most probably more than that) while the web app is still running.

@himanshusharma89
I can't open DevTools when running app via terminal flutter run -d chrome or flutter run -d web-server with both current (1.18.0-11.1.pre) and previous (1.17.0-3.4.pre) beta versions. But I can open DevTools with status bar button or with debug bar button when running via F5 (Run and Debug Dart & Flutter). This DevTools button on the debug bar is not always present from the beginning (but status bar button still launches DevTools). Even if it's not present, it always appears once I set breakpoint and hit it.
The same for both beta versions.
I didn't experience stuck at Syncing files to device Web Server... and web app always launches and works.

@VladyslavBondarenko I am experiencing the same issue. Only upgrading to master channel fixed it for me at the moment.

@VladyslavBondarenko
This is where I get stuck while debugging. Also as I have mentioned earlier, debug mode is now web-server but on the previous version, it used to be chrome. That might be a problem? As web-server doesn't have Devtools, but chrome does? Does it?

@himanshusharma89
oh, I didn't pay attention that you are talking about Syncing files to device Web Server..., not Syncing files to device Chrome.... Yes, with chosen Web Server I'm experiencing the same.
You need to click on the button and chose Chrome as your device for debugging. Does it help?

@VladyslavBondarenko
Yes, it worked by changing the debug mode/device to chrome. Thank you for that, but still the issues are:

Not able to launch the web app with web-server by F5 on VS Code, have to run it via terminal.
Because of the above issue not able to open up the DevTools

The Web Server device works differently to Chrome - it's designed for situations where Chrome isn't available - like when the extension host is in a remote machine (things like VS Code Remoting, Codespaces, GitPod, etc.). You'll notice in the debug console it says something like "Waiting for connection from Dart Debug extension" when you run in this mode. It won't progress unless you connect the Dart Debug extension to it.
A recent change has resulted in the Web Server device is sometimes being selected by default when the Chrome one is available, which makes things more confusing. This is fixed for the upcoming version of the Dart extension.
The "You must have an active debug session to start DevTools" message shown in VS Code when trying to launch DevTools means the session hasn't fully started. We only allow spawning DevTools once the app is fully running (since we need some info, like the VM Service URL). If the session is sat waiting for the Dart Debug extension, that would also prevent you from launching DevTools.
I wouldn't expect either of these devices to get stuck on "Syncing files to" though.. That notification should disappear when the app is ready (and for the web server device, that should happen just before "Waiting for connection from Dart Debug extension"). A log file that includes the flutter run output might be useful to see what's happened here:

Run the Dart: Capture Logs command in VS Code
Untick "Analysis Server" but leave everything else ticked, and click OK
Start the app, and wait for it to get stuck
Wait a little but longer, just to make sure it's really stuck
Click Cancel on the logging dialog to stop logging and open the log file
Attach the log here

This issue only appears with Windows 10 for me. Doeing the same in Linux is no problem.
I also noticed that the web-server is not recognizing a connection from the dev tool in Chrome when I activate it.
Dart Code extension: 3.10.2
Flutter extension: 3.10.2 (not activated)
VS Code: 1.45.1
Platform: linux
Workspace type: Flutter
Multi-root?: false
Dart SDK:
    Loc: /home/developer/flutter/bin/cache/dart-sdk
    Ver: 2.9.0-8.2.beta
Flutter SDK:
    Loc: /home/developer/flutter
    Ver: 1.18.0-11.1.pre
HTTP_PROXY: undefined
NO_PROXY: undefined

Tue May 26 2020 [13:00:36 GMT+0000 (Coordinated Universal Time)] Log file started
[1:00:43 PM] [General] [Info] Starting debug session...
[1:00:43 PM] [General] [Info]     workspace: /workspaces/flutter_app
[1:00:43 PM] [General] [Info] Using found common entry point: /workspaces/flutter_app/lib/main.dart
[1:00:43 PM] [General] [Info] Using workspace as cwd: /workspaces/flutter_app
[1:00:43 PM] [General] [Info] Detected launch project as Flutter
[1:00:43 PM] [General] [Info] Using Flutter debug adapter for this session
[1:00:43 PM] [FlutterDaemon] [Info] ==> [{"id":"8","method":"daemon.getSupportedPlatforms","params":{"projectRoot":"/workspaces/flutter_app"}}]
[1:00:43 PM] [FlutterDaemon] [Info] <== [{"id":"8","result":{"platforms":["ios","android","web"]}}]
[1:00:43 PM] [General] [Info] Checking for errors before launching
[1:00:43 PM] [General] [Info] Debug session starting...
    {
        "name": "Flutter",
        "request": "launch",
        "type": "dart",
        "program": "/workspaces/flutter_app/lib/main.dart",
        "cwd": "/workspaces/flutter_app",
        "toolEnv": {
            "FLUTTER_HOST": "VSCode",
            "PUB_ENVIRONMENT": "vscode.dart-code"
        },
        "sendLogsToClient": true,
        "globalFlutterArgs": [],
        "args": [],
        "vmAdditionalArgs": [],
        "vmServicePort": 0,
        "dartPath": "/home/developer/flutter/bin/cache/dart-sdk/bin/dart",
        "maxLogLineLength": 2000,
        "pubPath": "/home/developer/flutter/bin/cache/dart-sdk/bin/pub",
        "pubSnapshotPath": "/home/developer/flutter/bin/cache/dart-sdk/bin/snapshots/pub.dart.snapshot",
        "debugSdkLibraries": false,
        "debugExternalLibraries": false,
        "showDartDeveloperLogs": true,
        "useFlutterStructuredErrors": true,
        "debuggerHandlesPathsEverywhereForBreakpoints": true,
        "supportsWsVmService": true,
        "supportsExposeUrl": true,
        "evaluateGettersInDebugViews": true,
        "evaluateToStringInDebugViews": true,
        "useWriteServiceInfo": true,
        "forceFlutterVerboseMode": true,
        "flutterTrackWidgetCreation": true,
        "flutterMode": "debug",
        "flutterPlatform": "default",
        "flutterPath": "/home/developer/flutter/bin/flutter",
        "deviceId": "web-server",
        "deviceName": "Web Server (web-javascript)",
        "showMemoryUsage": false,
        "debugServer": 34395,
        "debuggerType": 2
    }
[1:00:44 PM] [FlutterRun] [Info] [Flutter] Spawning /home/developer/flutter/bin/flutter with args ["run","--machine","--target","lib/main.dart","-d","web-server","--track-widget-creation","--start-paused","--web-server-debug-protocol","ws","--web-allow-expose-url","-v"]
[1:00:44 PM] [FlutterRun] [Info] [Flutter] ..  in /workspaces/flutter_app
[1:00:44 PM] [FlutterRun] [Info] [Flutter] ..  with {"toolEnv":{"FLUTTER_HOST":"VSCode","PUB_ENVIRONMENT":"vscode.dart-code"}}
[1:00:44 PM] [FlutterRun] [Info] [Flutter]     PID: 4323
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [   +9 ms] executing: [/home/developer/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [  +27 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] 2738a1148ba6c9a6114df62358109407c3ef2553
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] executing: [/home/developer/flutter/] git tag --contains HEAD
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [ +161 ms] Exit code 0 from: git tag --contains HEAD
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [   +1 ms] 1.18.0-11.1.pre
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [   +9 ms] executing: [/home/developer/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] origin/beta
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] executing: [/home/developer/flutter/] git ls-remote --get-url origin
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [   +5 ms] Exit code 0 from: git ls-remote --get-url origin
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] https://github.com/flutter/flutter.git
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [  +62 ms] executing: [/home/developer/flutter/] git rev-parse --abbrev-ref HEAD
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] beta
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [  +59 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [  +15 ms] executing: /home/developer/android/platform-tools/adb devices -l
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [  +54 ms] List of devices attached
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [  +30 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [   +7 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[1:00:44 PM] [FlutterRun] [Info] [Flutter] <== [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[1:00:45 PM] [FlutterRun] [Info] [Flutter] <== [ +225 ms] Generating /workspaces/flutter_app/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[1:00:45 PM] [FlutterRun] [Info] [Flutter] <== [{"event":"daemon.connected","params":{"version":"0.5.3","pid":5999}}]
[1:00:45 PM] [FlutterRun] [Info] [Flutter] <== [{"event":"app.start","params":{"appId":"36d361de-b1cd-4b02-af5d-6f0e54285b88","deviceId":"web-server","directory":"/workspaces/flutter_app","supportsRestart":true,"launchMode":"run"}}]
[1:00:45 PM] [FlutterRun] [Info] [Flutter] <== [  +96 ms] Launching lib/main.dart on Web Server in debug mode...
[1:00:45 PM] [FlutterRun] [Info] [Flutter] <== [{"method":"app.exposeUrl","params":{"url":"http://<IP_ADDRESS>:33017/$debug"},"id":"1"}]
[1:00:45 PM] [General] [Info] Exposing URL: http://<IP_ADDRESS>:33017/%24debug
[1:00:45 PM] [General] [Info] Mapping URL: http://<IP_ADDRESS>:33017/%24debug
[1:00:45 PM] [General] [Info] Mapped URL: http://<IP_ADDRESS>:33017/%24debug
[1:00:45 PM] [General] [Info] Final URI: http://<IP_ADDRESS>:33017/$debug
[1:00:45 PM] [General] [Info] Final URL: http://<IP_ADDRESS>:33017/$debug
[1:00:45 PM] [FlutterRun] [Info] [Flutter] ==> [{"id":"1","result":{"url":"http://<IP_ADDRESS>:33017/$debug"}}]
[1:00:45 PM] [FlutterRun] [Info] [Flutter] <== [ +147 ms] Updating assets
[1:00:45 PM] [FlutterRun] [Info] [Flutter] <== [{"event":"app.progress","params":{"appId":"36d361de-b1cd-4b02-af5d-6f0e54285b88","id":"0","progressId":null,"message":"Syncing files to device Web Server..."}}]
[1:00:45 PM] [FlutterRun] [Info] [Flutter] <== [ +137 ms] Generating /workspaces/flutter_app/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[1:00:45 PM] [FlutterRun] [Info] [Flutter] <== [ +159 ms] <- reset
[1:00:45 PM] [FlutterRun] [Info] [Flutter] <== [   +8 ms] /home/developer/flutter/bin/cache/dart-sdk/bin/dart /home/developer/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/developer/flutter/bin/cache/flutter_web_sdk/ --incremental --target=dartdevc --debugger-module-names -Ddart.developer.causal_async_stacks=true --output-dill /tmp/flutter_tool.FVWEJB/app.dill --libraries-spec file:///home/developer/flutter/bin/cache/flutter_web_sdk/libraries.json --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-root /tmp/flutter_tools.DXOOTM --filesystem-scheme org-dartlang-app --initialize-from-dill build/cache.dill --platform file:///home/developer/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
[1:00:45 PM] [FlutterRun] [Info] [Flutter] <== [   +6 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[1:01:01 PM] [FlutterRun] [Info] [Flutter] <== [{"event":"app.progress","params":{"appId":"36d361de-b1cd-4b02-af5d-6f0e54285b88","id":"0","progressId":null,"finished":true}}]
[1:01:01 PM] [FlutterRun] [Info] [Flutter] <== [+16274 ms] Synced 22.0MB.
[1:01:01 PM] [FlutterRun] [Info] [Flutter] <== [        ] <- accept
[1:01:01 PM] [FlutterRun] [Info] [Flutter] <== [   +1 ms] Waiting for connection from Dart debug extension at http://localhost:44093
[1:01:01 PM] [FlutterRun] [Info] [Flutter] <== [{"event":"app.webLaunchUrl","params":{"url":"http://localhost:44093","launched":false}}]
[1:01:02 PM] [FlutterRun] [Info] [Flutter] <== [{"method":"app.exposeUrl","params":{"url":"http://<IP_ADDRESS>:44093"},"id":"2"}]
[1:01:02 PM] [General] [Info] Exposing URL: http://<IP_ADDRESS>:44093/
[1:01:02 PM] [General] [Info] Mapping URL: http://<IP_ADDRESS>:44093/
[1:01:02 PM] [General] [Info] Mapped URL: http://<IP_ADDRESS>:44093/
[1:01:02 PM] [General] [Info] Final URI: http://<IP_ADDRESS>:44093/
[1:01:02 PM] [General] [Info] Final URL: http://<IP_ADDRESS>:44093/
[1:01:03 PM] [FlutterRun] [Info] [Flutter] ==> [{"id":"2","result":{"url":"http://<IP_ADDRESS>:44093/"}}]
Tue May 26 2020 [13:01:21 GMT+0000 (Coordinated Universal Time)] Log file ended

@matsp are you seeing the "Syncing files to device Web Server..." messages stuck on the screen when you run this?
If not, it's likely a different issue. Just to be sure - are you using the Dart Debug Extension and clicking its icon when the browser tab opens? It doesn't activate automatically (there's an open issue about adding a message to the white page to make it more obvious that you need to do this).

@DanTup Yes the message stuck there the whole time.

... and I am clicking the extension after the tab opens (+3s extra). In the Chrome devtools I can see that the browser is fetching data, but it seems that the Dart Debug Extension can't connect to the web-server.

@matsp I think this might be different to the original report here. I'm trying now on Windows using the Beta channel, but unable to repro. Would you mind opening a new issue and CCing me, and we can try to track down why it can't connect.
Going back to @himanshusharma89's issues:

Not able to launch the web app with web-server by F5 on VS Code, have to run it via terminal.

Can you clarify why you're trying to use the Web-server device over Chrome? This should work, but will require the Dart Debug extension (and require you to click its icon after the page loads). Unless you're running in a remote (VS Code Remoting / Codespaces / etc.), the Chrome device the better choice.

Because of the above issue not able to open up the DevTools

To clarify - do you still see it get stuck on "Syncing files to" when you use the Chrome device? If not, DevTools should work there?
You can't open DevTools if you launch Flutter from the terminal, as VS Code has no access to the VM Service URL. VS Code needs to have launched the app for the DevTools functionality to work.

@DanTup The web app works perfectly with the chrome device and also DevTools works with it.
I will now work on the chrome device from now on.
But at least web app should debug with web-server, right?

The web app works perfectly with the chrome device and also DevTools works with it.

Great!

But at least web app should debug with web-server, right?

Yes, but it requires the Dart Debug Chrome extension. You need to install that, and when the application loads (it will be a white page), you need to click the Dart Debug button in Chrome to connect the debugger in VS Code with the app running in the browser.
Is that what you're doing?

Yes, but it requires the Dart Debug Chrome extension. You need to install that, and when the application loads (it will be a white page), you need to click the Dart Debug button in Chrome to connect the debugger in VS Code with the app running in the browser.

This worked! Thank you @DanTup, this is something new to learn.

Great! I'd recommend using the Chrome device when running locally - there are less moving parts so it might be a smoother experience.
Closing this as I think everything here is working as expected (and there's an open issue about displaying a better message instead of the white page).
@matsp's issue is different, but we can track that in a new issue to avoid confusion.


[chip-test] flash_init

Test point name
chip_sw_flash_init
chip_sw_flash_scramble
Host side component
None
OpenTitanTool infrastructure implemented
No
Silicon Validation (SiVal)
Yes
Emulation Targets

[ ] None
[X] CW310
[ ] Hyperdebug + CW310

Contact person
jdonjdon
Checklist
Please fill out this checklist as items are completed. Link to PRs and issues as appropriate.

[ ] Check if existing test covers most or all of this testpoint (if so, either extend said test to cover all points, or skip the next 3 checkboxes)
[ ] Device-side (C) component developed
[ ] Bazel build rules developed
[x] Host-side component developed--NA
[ ] HJSON test plan updated with test name (so it shows up in the dashboard)
[ ] Test added to dvsim nightly regression (and passing at time of checking)
[ ] For SiVal test cases, test is running relevant FPGA or silicon regression

This will be covered by manuf_ft_provision_rma_token_and_personalization

Closed with #20865


Channel traits

Hi. Is it possible to expose any crossbeam channel traits so that I can use select! with other streaming data? Like if I could implement some traits on TcpStream and do a select on this socket and other channel rx

cc @matklad Might be interesting.

Yeah, I think I could use an API like Sink and Stream traits from futures 0.3 with crossbeam channel. Basically, wrap both Sender and Receiver into traits which provide monadic interface, but still work with select!.
On the other hand, there's a single place in rust-analyzer code base where I really have a need for this, all other current usages of crossbeam-channel definitely benefit from the fact that channels are simple concrete types.
I also probably could just use the futures streams in the blocking mode, if futures were more stable :) It would be great if, when futures are stable, there's only one channel implementation which works both in sync and async worlds.
I could also imagine a bridge between crossbeam-channel and futures, so that, if one wants to have a monadic operations, one writes receiver.into_stream().

I would like trigger a task whenever a certain amount of CPU time has elapsed, not wall time like a Duration. As far as I can tell, there's no way to do this without having these traits, right?


Extended Assert Capabilities

Asserts today are easy for YAML or K8s objects... however there are users wanting to do a regex match against pod logs.   Is there a way to make this easier?
or at a min, allow a command used for assertion that can be repeat for each test.
perhaps there is something more here... pull and logging a pod log to test might be useful.

use case:   Looking for a regex match in a pod log or background process log (controller that is running)


Implement experiments for Download page

Acceptance criteria

[x] experiments are setup and running for hypothesis on:

[x] /core/country-list
[x] /pricing
[x] /search
[x] /download

Tasks

[x] analyse the best way of impementing this, e.g., server-side vs UI provided by google optimize
[x] implement experiments for:

[x] /core/country-list
[x] /pricing
[x] /search
[x] /download

Analysis
Server-side solutions:

https://stackoverflow.com/questions/48386350/google-tag-manager-optimize-server-side-experiment-sending-variation
https://github.com/datahq/pm/issues/76

Problem with server-side rendering is that it requires additional coding work on the each experiment + it has number of uncertanties due to lack of documentation and discussion about how to implement it via Tagmanager. On the other hand, Optimize's UI provides enough tools to change and manipulate the page's layout + it is a standard way of implementing this. Thus, we've decided to go and use the UI way.

FIXED and 4 experiments are running now:

core/country-list:

pricing:

download:

search:


handle optional annotations in type-annotation-spacing

fixes #120

@bradzacher an unbelievable amount of test code added here! How come you appear to modify existing tests which did not contain optional types? i.e. why was adding new tests not sufficient here?

@JamesHenry I glanced through the existing test cases and noticed that they already covered all of the configuration and usage cases.
I figured that it was better to just take the old tests (that could) and make them optional, rather than trying to cover all cases by recreating brand new tests.

When existing tests are changed as part of a PR, we naturally lose the reassurance they give us that there were no regressions specific to that test case, that is all I am concerned about here.
Is the same behaviour still covered by other cases?

sorry, I hadn't looked at the diff it generated, so I didn't realise
It looks like github has made a huge mess of the diff!
I didn't change the existing tests - I copied them, and changed them to cover optional.
The new tests I added are:

valid: https://github.com/bradzacher/eslint-plugin-typescript/blob/dfbaa4df29328050fc0dcec3a26090d99333a7a9/tests/lib/rules/type-annotation-spacing.js#L1050-L1835
invalid: https://github.com/bradzacher/eslint-plugin-typescript/blob/dfbaa4df29328050fc0dcec3a26090d99333a7a9/tests/lib/rules/type-annotation-spacing.js#L4171-L5901

hi there,
it's been a while since this was opened, what's the status?
do you require changes?
this is quite the blocker for my team properly utilising the plugin.

I have refactored the test cases so that they are separated from the non-optional cases.
The diff is much cleaner now - it is just +lines, with no changed lines.
If you'd like me to go through and cull some of the cases, please let me know.

Thanks, @bradzacher! Now we can be completely confident about it being zero risk


Cannot reference file within folder with brackets ( )

Which API Provider are you using?
Anthropic
Which Model are you using?
Latest Sonnet
What happened?
When referencing a file that is in a folder (app/(landing-page)/ebay/page.tsx) it is not able to find anything past (landing-page)

Steps to reproduce

Relevant API REQUEST output
No response
Additional context
No response

Thank you for reporting!


A release?

Seems like there are some features that are yet to be released on rubygems

hey, 0.9.3 is out 🎉
https://github.com/davydovanton/shallow_attributes/releases/tag/v0.9.3


Duration only mode not working.

Tested and it actually works. You can't just continue time entry that was created in the non-duration-only mode all time entries created after enabling duration only mode can be continued.


Rename chatComposite userId prop

What

Rename userid prop to userIdentifier
Why

Helps with clarity around naming of the chat composite adapter props.

https://skype.visualstudio.com/SPOOL/_workitems/edit/2804059
How Tested

Ran Chat sample and CallWithChat sample to make sure they work
Checked story book chat snippets to make sure they match

Closing this as proper fix is up


x/build/cmd/gopherbot: use the commit message if there's exactly one

Time and time again, I see contributors updating their commit messages on their PRs, instead of updating the PR title and body. I can understand that - it's more intuitive, it can be done very easily with git, and it mirrors what people do with Github and Gerrit.
However, gopherbot does the opposite - it ignores the actual commit messages, but uses the PR title and body. This is can be good for newcomers, especially those who aren't used to squashing commits.
The result is that we end up wasting time every week, when contributors get stuck fighting gopherbot. This just happened again: https://go-review.googlesource.com/c/go/+/126897
I propose that the PR title and body be only used if there are many commits. Otherwise, the single's commit message should be used.
cc @andybons @bradfitz @dmitshur

I just realised this should be a comment on #25359, but I failed to find the issue. Will close and comment there.


Support of assertApproxEqRel cheatcode

What's new
This PR attempts to support the assertApproxEqRel cheatcode in Kontrol (see Appendix section below for the implementation of this cheatcode).
I added 4 unit tests in src/tests/integration/test-data/src/Unit.t.sol:

test_assertApproxEqRel_uint_unit() - passed in <1min, and hence, under src/tests/integration/test-data/end-to-end-prove-all
test_assertApproxEqRel_int_same_sign_unit() - passed in <1min, and hence, under src/tests/integration/test-data/end-to-end-prove-all
test_assertApproxEqRel_int_zero_cases_unit() - passed in <1min, and hence, under src/tests/integration/test-data/end-to-end-prove-all
test_assertApproxEqRel_int_opp_sign_unit() - failed in <1min, and hence, under src/tests/integration/test-data/end-to-end-prove-skip

Here is the proofs' output: test_units.txt
Appendix
Here is the older version of the assertApproxEqRel(uint256, uint256, uint256 maxPercentDelta) cheatcode (but I believe the same implementation still holds in the current version with onyl the difference in log outputs) and the relevant functions required:
...
    int256 private constant INT256_MIN = -57896044618658097711785492504343953926634992332820282019728792003956564819968;

    function abs(int256 a) internal pure returns (uint256) {
        // Required or it will fail when `a = type(int256).min`
        if (a == INT256_MIN) {
            return<PHONE_NUMBER>8658097711785492504343953926634992332820282019728792003956564819968;
        }

        return uint256(a > 0 ? a : -a);
    }

    function delta(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a - b : b - a;
    }

    function delta(int256 a, int256 b) internal pure returns (uint256) {
        // a and b are of the same sign
        // this works thanks to two's complement, the left-most bit is the sign bit
        if ((a ^ b) > -1) {
            return delta(abs(a), abs(b));
        }

        // a and b are of opposite signs
        return abs(a) + abs(b);
    }

    function percentDelta(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 absDelta = delta(a, b);

        return absDelta * 1e18 / b;
    }

    function percentDelta(int256 a, int256 b) internal pure returns (uint256) {
        uint256 absDelta = delta(a, b);
        uint256 absB = abs(b);

        return absDelta * 1e18 / absB;
    }
...
    function percentDelta(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 absDelta = delta(a, b);

        return absDelta * 1e18 / b;
    }

...

    // Same implementation for `assertApproxEqRel(int256 a, int256 b, uint256 maxPercentDelta)`
    function assertApproxEqRel(
        uint256 a,
        uint256 b,
        uint256 maxPercentDelta // An 18 decimal fixed point number, where 1e18 == 100%
    ) internal virtual {
        if (b == 0) return assertEq(a, b); // If the expected is 0, actual must be too.

        uint256 percentDelta = stdMath.percentDelta(a, b);

        if (percentDelta > maxPercentDelta) {
            emit log("Error: a ~= b not satisfied [uint]");
            emit log_named_uint("    Expected", b);
            emit log_named_uint("      Actual", a);
            emit log_named_decimal_uint(" Max % Delta", maxPercentDelta * 100, 18);
            emit log_named_decimal_uint("     % Delta", percentDelta * 100, 18);
            fail();
        }
    }

Question/Help needed
I tried running the generalized version of the 4 tests but it took too long to run (some took >30min). The following is two examples where I generalized test_assertApproxEqRel_uint_unit():
    function test_assertApproxEqRel_uint_v1(uint256 a, uint256 b, uint256 maxPercentDelta) public pure
    {
        if (b == 0) {
            a = 0;
        }
        else {
            uint256 absDelta = max(a, b) - min(a, b);
            vm.assume(absDelta <= type(uint256).max / 1e18); // prevent overflow of absDelta * 1e18
            uint256 percentDelta = absDelta * 1e18 / b;
            vm.assume(maxPercentDelta >= percentDelta);
        }
        string memory err = "throw test";
        assertApproxEqRel(a, b, maxPercentDelta);
        assertApproxEqRel(a, b, maxPercentDelta, err);
    }

    function test_assertApproxEqRel_uint_v2(uint256 a, uint256 b, uint256 maxPercentDelta) public pure
    {
        vm.assume(b > 0);
        uint256 absDelta = max(a, b) - min(a, b);
        vm.assume(absDelta <= type(uint256).max / 1e18); // prevent overflow of absDelta * 1e18
        uint256 percentDelta = absDelta * 1e18 / b;
        vm.assume(maxPercentDelta >= percentDelta);
        string memory err = "throw test";
        assertApproxEqRel(a, b, maxPercentDelta);
        assertApproxEqRel(a, b, maxPercentDelta, err);
    }

test_assertApproxEqRel_uint_v1 took >10min to complete. here is his kontrol show: kshow_test_assertApproxEqRel_uint_vA1.txt.
On the other hand, test_assertApproxEqRel_uint_v2 took >30min and yet to complete, which I have to shut it down.
@anvacaru and @palinatolmach I suspect its the additional assumptions added in these tests. Do you think it is an issue with the tests themselves or its the rewrite rules for assertApproxEqRel that I have introduced? I have looked at the kcfg,the branching looks pretty normal so not too sure where the proofs have taken so long to execute. One thing I noticed is that it stuck at [Info#proxy] Simplifying execution state for very long at some point during the proofs.

Here's the current implementation for the uint version of the cheatcode: https://github.com/foundry-rs/foundry/blob/5494c33bc7977b3537bd296e375431d938d44ca3/crates/cheatcodes/src/test/assert.rs#L1120, it does look very similar to the older Solidity version to me too.


Prettier to basics folder

As discussed in #2385 , I'm splitting that PR to smaller ones.
This PR apply prettier to docs/basics folder.

@CodinCat I didn't mean just those specific lines to be fixed. I meant all cases in the code like that. There are still several ones left over.

Oops didn't notice that. Updated.

BTW, the same applies to the other PRs too. Didn't want to give you like<PHONE_NUMBER>7 comments to sift through.

Yeah I'm working on other PRs

All other PRs are completed.

Oh good, you had maintainer editing on. Saved us some cycle time.
LGTM!


fix: Change delete icon in s3 amazon where clause component

Description
Change Icon from cross to delete.
Fixes #9299
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Manually
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:green_circle: Total coverage has increased
// Code coverage diff between base branch:release and head branch: fix/delete-icon-s3-amazon-page

Status
File
% Stmts
% Branch
% Funcs
% Lines

:green_circle:
total
55.05 (0)
36.68 (0.01)
34.98 (0)
55.46 (0.01)

:green_circle:
app/client/src/selectors/commentsSelectors.ts
85.25 (1.64)
64.71 (2.95)
73.33 (0)
90.59 (2.35)

/ok-to-test sha=277e2cc

/ok-to-test sha=54e2f2e


remove duplicate itemStyle prop

this fixes "Attempted to redefine property itemStyle" error on android

@thegamenicorus - any reason why this isn't merged?

please review and merge this, it causes a little bit trouble for us


[WIP][feature] Add Autoformer Algorithm

Description
Modified based on open-mmlab/mmrazor/dev-1.x and wutongshenqiu/mmrazor/bignas branch.
This PR includes codes about BigNAS.
Modification

Add dynamic ops including DynamicPatchEmbed, DynamicRelativePosition, DynamicLayerNorm, DynamicMultiheadAttention.
Add corresponding mixins in dynamic_mixins.py.
Add Autoformer Backbone.

Issues
Original implmentation of Autoformer fix the head_dims of relative position as 64, here we use derived mutable to mutate the head_dims. But how to make sure that we can reproduce the algorithm?
TODO

[x] Add Unittest for all dynamic ops .
[x] Resolve the issue above.
[x] Add Autoformer algorithm.
[x] Add type hints and pass mypy check.

See https://github.com/open-mmlab/mmrazor/pull/315