Fixing Hyperload + added factory test to bootloader

Generated a new Hyperload.hex file with factory test and a few
improvements listed below.
Fixed an issue with newlib.cpp's puts() where the puts() was not
inserting a newline character at the end of string.
Made some slight changes to factory test in terms of how the content
is displayed.
Optimized time.hpp:Wait<> function by giving it [[always_inline]]
attribute.
Split up globals.hpp object instatiation since it caused circular include
issues.
Makefile for bootloader will no longer enable function-instrumentation
due to the problems it causes with functions that run before .data and
.bss section initialization in ram.
Adding Schematic-RevE.2.pdf
Removed extra newlines in files that needed them for puts()
optimization problem.

Coverage decreased (-0.2%) to 91.015% when pulling d133c7a7946384b6c07638757a393574c233b8f4 on hyperload-factory-test into de2203259c39f210bb31875904cb9adf7a5c4b56 on master.


Post Agent headers can't take in event data?

In Post Agent, Payload field is able to load data from source, Headers isn't.
For example:
"headers": {

 "time": "{{time}}"

 }

Where {{time}} is a string.

Time field in headers can't take in any data.
However it works if I change it to this:
"headers": {

 "time": "2016-01-01"

 }

Which defeats my purpose...
Any workaround?

Hey @WangQiru.  I think you found a bug-- we don't interpolate the outgoing Headers with the incoming event.  #1606 should fix it.  Would you mind testing?

#1606 works now. @cantino


Make Notify client available in the Plug-ins list

What
Make the GOV.UK Notify client available in the plug-ins list
Why
It used to be built-in to the kit - it's widely useful for realistically prototyping journeys that include emails and/or texts
Who needs to work on this

developers

Who needs to review this

developers

Done when

[ ] Notify client is available in the Plug-ins list

This is to be tackled in two phases. Initially this ticket is to make the Notify client available in the simplest way.
Once done, a second ticket should be raised to investigate making Notify easier to use with the Kit.

Missing a changelog!


Circle CI setup

Closes #14

Ensures Scalafmt, including for JMH
Tests for JVM under 2.12 / 2.13
Ensure JMH sources compile (2.13, 2.12 is currently broken (#25))

Awesome, thank you!


ConvertTo-/Export-CSV should support -Depth

Apologies for the pithy report, doing this at Ignite
We support -Depth for Clixml, JSON, and XML. We should support it for CSV.
Steps to reproduce

Expected behavior

Actual behavior

Environment data

> $PSVersionTable

... how, exactly? Take your time, enjoy Ignite, but...
CSV as a format in general has always been about a flat table of data. How would you propose extending it to support nested items?

Per @vexx32 I am also extremely curious about this request. i have no trouble imagining how one could extend the format. I have more trouble with understanding why one would do so when there are already so many existing hierarchical formats (XML, JSON, YAML, TOML, the list goes on...)

I wonder too. For Import/Export-Csv we could consider -MaxCount. This might be useful for script debugging if csv files is large.

I mean, maybe? But Select-Object -First $X is already perfectly capable of that, no?

@joeyaiello too many beers?

mannnnn i'da loved this


fixing local deploy

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

Project coverage is 56.12%. Comparing base (42e1f38) to head (54af243).

Files with missing lines
Patch %
Lines

trade_remedies_api/core/notifier.py
45.00%
11 Missing :warning:

Additional details and impacted files
@@                Coverage Diff                 @@
##           paas-migration     #488      +/-   ##
==================================================
- Coverage           56.14%   56.12%   -0.03%
==================================================
  Files                 215      215
  Lines               12647    12666      +19
  Branches             1481     1482       +1
==================================================
+ Hits                 7101     7109       +8
- Misses               5546     5557      +11

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

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


Bro what

We are pleased to inform you that the issue has been resolved. You can now continue to use our application as usual. Thank you for bringing this to our attention


:information_desk_person: update single time table

:rocket: deployment of profiles succeeded (http://profiles-pr-151.dev.beta.nhschoices.net)

@alex-colbeck thoughts?

@ajthomascouk - can you rebase please?

:rocket: deployment of profiles succeeded (http://profiles-pr-151.dev.beta.nhschoices.net)

:rocket: deployment of profiles succeeded (http://profiles-pr-151.dev.beta.nhschoices.net)

:rocket: deployment of profiles succeeded (http://profiles-pr-151.dev.beta.nhschoices.net)

:rocket: deployment of profiles succeeded (http://profiles-pr-151.dev.beta.nhschoices.net)

:rocket: deployment of profiles succeeded (http://profiles-pr-151.dev.beta.nhschoices.net)

🔥  good work.


ISPN-14375 Remove all references to Subject.doAs from docs

https://issues.redhat.com/browse/ISPN-14375

Thanks, @tristantarrant!


Extract Aspire.Hosting.Nats.Tests project

Contributes to https://github.com/dotnet/aspire/issues/3185
Contributes to https://github.com/dotnet/aspire/issues/4294
Microsoft Reviewers: Open in CodeFlow

LGTM. Thanks again for the contributions!

it's pleasure.


Add performance index

Added performance index calculation as discussed in https://github.com/mobilise-d/mobgap/issues/122

Tests still to be added - any suggestions?

@a-mosquito Can you have a look at this? In particular considering the changes that you made for error calculation. Do you see a way this could be integrated better with the other error calculation stuff?

It should be possible to integrate that to the syntax introduced by #126. We could model the performance index calculation as a chain of transformations & aggregations:

The normalizations can be implemented as transformations and calculated using apply_transformations.
The aggregations can then be applied using apply_aggregations.
For the last step of weighting and summing up the results, we would either have to add an additional function, or leave it to be done on user side.

Some considerations for the practical side of implementing this:

It might require one or two lines of preprocessing the input data on user side to bring the data in the correct format, which we could however show in the example
We would have to figure out whether we provide the normalization functions, the transformation and aggregation configurations, and the weights for both approaches as defaults or only show in an example how they can be assembled.
For the normalizations, we could either provide one function with criterion and normalization as args, which would require wrapping them in a (named) lambda for modifying the args; or split them into several functions for each possible configuration. I think the latter would be easier, because currently, only the configurations  criterion="benefit" ; normalization= None and  criterion="cost" ; normalization="exponential" are used, which would require only two default normalization functions.
For the aggregations, no more work is required because all required aggregations are already implemented. Unless we decide to include the multiplication with the weights in the aggregations, but I think that's too unintuitive/inflexible.
When not including the weights in the aggregations, we would have to find an elegant way to provide them as defaults.


Added example usage to the README.md

Great plugin. It took me a lot of head scratching to figure out why this wasn't working. I eventually found the example usage you had posted to the gradle-dev Google group and that helped me figure out how to actually use this plugin. I figured it might help some others to have the example inline.
Best,
-John

Thanks for the feedback. If you don't mind I think I'd rather add a "simpler" example:
dependencies {
  compile "com.google.dagger:dagger:2.0.2"
  apt "com.google.dagger:dagger-compiler:2.0.2"

  // auto-factory contains both annotations and their processor, neither is needed at runtime
  compileOnly "com.google.auto.factory:auto-factory:1.0-beta3"
  apt "com.google.auto.factory:auto-factory:1.0-beta3"
}

WDYT?

Looks awesome.

Added in 6fdd2cc


Find a way to pass runtime Type or Name specified args to Resolve

Related #220

I should probably always pass Name together with Type

DryIoc supports passing object array args to Resolve as the overrides - internally it piggies back on the same Func<..> support by wrapping the passed args each into Expression.Constant instead of Expression.Parameter (as for Func).
I am thinking of extending this feature. In addition to the plain object arg matched by its GetType() I may add tiny specification wrappers, e.g. Arg.Of(argInstance) or Arg.Of(name, argInstance), etc.


Improve online help/documentation and developer documentation

Is your feature request related to a problem? Please describe.
As a user of OpenSCD I need clear and accessible documentation.
Our current documentation while bundled within the app is not easy to read, find and navigate information.
ca-d mentioned:

Regarding the Help, I think it'll be useful to update the wiki, but I'd really like to fix the help viewer (internal links currently do not work) before updating the content again. Currently the built in help viewer is hardly usable to me.
My current favored solution for fixing this bug:

Introduce a build step which compiles the markdown to static HTML files into the distribution directory.
Get rid of the markdown renderer runtime dependency.
Render the static html help statically into an iframe in an editor type plugin using import.meta.url to construct the iframe's original src attribute.
???
Profit!

Requirements

I like building documentation and including it in the distribution.
I think it would be better to integrate a dedicated static site generator to do this and then be able to link to it from OpenSCD.
This allows a separation of orthogonal concerns.
I am not sure this should be integrated within an editor plugin. I prefer it not to be so that help can be within a separate window and not block other user activity (as currently, in OpenSCD, only one editor can be open).
I think it's important to ensure that the current extensibility and plugin development in open-scd-core doesn't mean that documentation, accessibility and installation become too fragmented across a glorious future open-scd ecosystem.
I think this implies:

Documentation can be brought in from different sources
It may imply the ability to mix and match documentation (core, plugins, perhaps collections of plugins, including vendor or manufacturer-specific plugins).

I think using an SSG which is designed to meet these concerns would help.
I am somewhat opinionated about this and have a preference for Asciidoc and Antora (rather than Markdown).

Antora supports distributed documentation which is one of its key strengths and Asciidoc has a stronger feature set for technical writing than what-ever-your-favourite-flavour-of-Markdown. It is widely used for instance in OpenSUSE, Fedora and Red Hat docs for example. Demo sites list here.
Plus Asciidoc was originally invented by a New Zealander :stuck_out_tongue_winking_eye:

Other requirements

Ability to integrate help and documentation from different plugins
Ability to generate offline search without internet (Antora supports Lunr for instance).
Ability to integrate, as required, different media and perhaps adjust documentation for the absence of an internet connection (i.e. drop video content, for example).
Mobile-friendly views.

I'd be happy to do some work on this if there was interest in using Asciidoc/Antora, both of which I'm familiar/capable with. Specifically, I volunteer to figure out the integration within the open-scd build (perhaps once the new core is migrated to) and convert the existing documentation.

I generally agree with everything you write here, and have some additional thoughts on the following points:

I am not sure this should be integrated within an editor plugin. I prefer it not to be so that help can be within a separate window and not block other user activity (as currently, in OpenSCD, only one editor can be open).

I like this idea! Having a menu plugin that just opens the help in a new window doesn't preclude having an iframe-based help browser in a separate tab in addition (e.g. for phones and tablets which don't view more than one window at a time anyway and often have cumbersome browser tab navigation controls).

I think it's important to ensure that the current extensibility and plugin development in open-scd-core doesn't mean that documentation, accessibility and installation become too fragmented across a glorious future open-scd ecosystem.
I think this implies:
...

I completely agree! I therefore suggest delivering a compiled version of our OpenSCD distribution wiki (the future successor of our current open-scd github project wiki) along with a "open in new window" menu plugin (and possibly a viewer plugin for the differently browsered community) in the OpenSCD distribution itself. Other distributions may use a fork or just include our content in their build toolchain for their own help plugin. This way other sources can be integrated at the last possible moment: distribution build time.

I am somewhat opinionated about this and have a preference for Asciidoc and Antora (rather than Markdown).

Antora supports distributed documentation which is one of its key strengths and Asciidoc has a stronger feature set for technical writing than what-ever-your-favourite-flavour-of-Markdown. It is widely used for instance in OpenSUSE, Fedora and Red Hat docs for example. Demo sites list here.
Plus Asciidoc was originally invented by a New Zealander stuck_out_tongue_winking_eye

I'm not that opinionated - we've used markdown so far only because it's the default for github wiki content. Luckily, github wiki seems to fully support Asciidoc, so there shouldn't be anything in the way of our already migrating our wiki to that syntax. The surprising point raised about the format's provenance is the first substantial argument I find this clearly in its favor after my recent experience with Kiwi work ethic. I'm therefore enthusiastically convinced.
Should one help plugin's desire be to specifically compile any number of documents in any number of formats (LaTeX, .doc, .pdf, Asciidoc, .rtf, and the like) into a cohesive whole, I would suggest having a look at https://pandoc.org/ for the conversion and unification effort.

@ca-d and Tamas will start with initial technical documentation.

Update: The two of us never got started on doing this, maybe other work took priority.

Requirements:
Common format
Standardized format
Fetch documentation form multiple locations

We discussed the topic. Currently it is not urgent but we would like to slowly progress it. As a next step we need to find out if there is anything AsciiDoc provides that we cannot solve with the current document format (markdown).

I'm going to do some prototyping on Asciidoc/Antora in the next few weeks as I need a solution for user-facing documentation.


add support for .jshintrc files

Solution for #6

Is this included in the main release or is it in the beta version? It doesn't work for me in v1.12.13.

How is the usage for the .jshintrc file?

@luizfilipe seems like a PR opportunity :)


pullRequest

Who are you and why did you open your account just now? Please e-mail me at ron dot reiter at gmail dot com


综述论文当中sequential editing的复现问题

作者您好！非常感谢你们的杰出贡献。
最近我在尝试利用EasyEdit复现你们的这篇论文（"Editing Large Language Models: Problems, Methods, and Opportunities"）中关于sequential editing的结果。
我采用的模型是gpt-j-6b，编辑方法是ROME，数据集是zsre_mend_eval.json的前一千条数据
执行程序全部代码如下：
from easyeditor import ROMEHyperParams, BaseEditor
import json

test_data = json.load(open("DATA_PATH", 'r', encoding='utf-8'))

prompts = [test_data_['src'] for test_data_ in test_data]
target_new = [test_data_['alt'] for test_data_ in test_data]
subject = [test_data_['subject'] for test_data_ in test_data]
rephrase_prompts = [edit_data_['rephrase'] for edit_data_ in test_data]
locality_prompts = [edit_data_['loc'] for edit_data_ in test_data]
locality_ans = [edit_data_['loc_ans'] for edit_data_ in test_data]

locality_inputs = {
    'neighborhood':{
        'prompt': locality_prompts,
        'ground_truth': locality_ans
    },
}

hparams = ROMEHyperParams.from_hparams('./hparams/ROME/gpt-j-6b')
editor = BaseEditor.from_hparams(hparams)

metrics, edited_model, _ = editor.edit(
    prompts=prompts,
    target_new=target_new,
    rephrase_prompts=rephrase_prompts,
    locality_inputs=locality_inputs,
    subject=subject,
    keep_original_weight=False
)

# json.dump...

其余代码除在hparams指定模型路径和显卡外都没有改动。
在1000次sequential editing的统计数据中，locality指标中的neighborhood_acc达到1.0的仅有7项。但是原论文中该设置下，正确率至少应该有25%。
请问可能是什么地方出现了问题呢？非常期待您的答复！谢谢！

In the paper, we use second-order momentum to adjust the model weights, mom2_adjustment is set to True. Perhaps the performance fluctuation comes from the setting of this hyperparameter

https://github.com/zjunlp/EasyEdit/blob/main/hparams/ROME/llama-7b.yaml#L13

If you still can't reproduce the results, please leave me a message

Ok, thank you! I will try the solution and reply.

In the paper, we use second-order momentum to adjust the model weights, mom2_adjustment is set to True. Perhaps the performance fluctuation comes from the setting of this hyperparameter

https://github.com/zjunlp/EasyEdit/blob/main/hparams/ROME/llama-7b.yaml#L13

The setting works. Thank you so much!

Sorry for bothering you that though the result for zsre is consistent with the paper (even higher) the result for counterfact is a bit different from the paper. Under the setting above, I sequentially edited gptj with ROME one hundred times on counterfact, the final acc is about 23% which is about 50% in paper. Is this acceptable?

Could you perhaps share the hyperparameter settings used in your paper's experiments? I'd like to compare and see if there are any differences in certain hyperparameters. Thank you so much!

我们采用的是应该是counterfact_portability_gpt4.json这个文件，或许可以尝试这个？
如果性能在个位数浮动，可能是正常的。

参数应该都是默认即可

Hi, have you solved your issue?

Yes. I have reproduced the results in your paper. Thank you for your kind help!


TextFormField backspace delete 2 characters at a time

Hi, I am using TextFormField input Chinese characters, but when using backspace deleting, everytime 2 characters will remove.
my TextFormField seems normal:
TextFormField(
                                      initialValue: tasks.title,
                                      decoration: new InputDecoration(
                                        contentPadding: EdgeInsets.all(0),
                                        hintText: "任务标题",
                                        hintStyle: TextStyle(
                                            fontWeight: FontWeight.bold,
                                            fontFamily:
                                                GlobalSettings.isUsingYishi
                                                    ? FONT_FANGSONG
                                                    : FONT_NAME,
                                            fontSize: 25),

                                        labelStyle: TextStyle(
                                            color: Color(tasks.projectColor),
                                            fontWeight: FontWeight.bold,
                                            fontFamily:
                                                GlobalSettings.isUsingYishi
                                                    ? FONT_FANGSONG
                                                    : FONT_NAME,
                                            fontSize: 25),
                                        focusColor: Color(tasks.projectColor),
                                        focusedErrorBorder: OutlineInputBorder(
                                            borderRadius:
                                                BorderRadius.circular(15),
                                            borderSide: BorderSide.none),
                                        border: OutlineInputBorder(
                                            borderRadius:
                                                BorderRadius.circular(15),
                                            borderSide: BorderSide.none),
                                        // border: new OutlineInputBorder(
                                        //     borderSide: new BorderSide(color: Colors.teal)),
                                      ),
                                      validator: (value) {
                                        var msg =
                                            value.isEmpty ? "标题不能为空" : null;
                                        return msg;
                                      },
                                      onChanged: (v) {
                                        createTaskBloc.updateTasksTitle(v);
                                      },
                                      maxLines: null,
                                      keyboardType: TextInputType.text,
                                      textInputAction: TextInputAction.done,
                                      style: TextStyle(
                                          fontFamily:
                                              GlobalSettings.isUsingYishi
                                                  ? FONT_FANGSONG
                                                  : FONT_NAME,
                                          color: Color(tasks.projectColor),
                                          fontWeight: FontWeight.bold,
                                          fontSize: 25),
                                    );
                                  },
                                )

Does anybody knows why????????????????????

Hi @jinfagang
Are you experiencing this issue on iOS or Android? Emulator or physical device?
Can you please provide your flutter doctor -v?
Thank you

CC @LongCatIsLooong

Also reported via Google internal issue: b/174115450

Duplicate of https://github.com/flutter/flutter/issues/70744?

@LongCatIsLooong @tadaspetra @TahaTesser  thanks for your response.
I think it's on both, but I can confirm it's definitely on Android.
Also, it seems happend with Chinese input, but sometimes English alphabetas would also happend.

Also, I seems not got this except I switched to master and it happened for some reason.
Does the master fixed it now? I shall upgrade my flutter?

Hi @jinfagang
Can you please provide your flutter doctor -v?
Not able to reproduce this issue using Chinese simplified input on Android (Gboard)  and iOS on the latest stable and master channels. Backspace deletes one character at a time

code sample
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: Center(
        child: TextFormField(
          decoration: InputDecoration(
            contentPadding: EdgeInsets.all(0),
            hintText: "任务标题",
          ),
          maxLines: null,
          keyboardType: TextInputType.text,
          textInputAction: TextInputAction.done,
        ),
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () {},
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.4, on macOS 11.0.1 20B29 darwin-x64, locale
    en-GB)
    • Flutter version 1.22.4 at /Users/tahatesser/Code/flutter_stable
    • Framework revision 1aafb3a8b9 (3 weeks ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (2 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D          • android-arm64 • Android
      10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios           • iOS
      14.2

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 1.24.0-8.0.pre.406, on macOS 11.0.1 20B29
    darwin-x64, locale en-GB)
    • Flutter version 1.24.0-8.0.pre.406 at
      /Users/tahatesser/Code/flutter_master
    • Framework revision 60bdcf55fe (2 hours ago), 2020-12-01 21:24:21 -0800
    • Engine revision 20caf54969
    • Dart version 2.12.0 (build 2.12.0-76.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (5 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D          • android-arm64  •
      Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios            • iOS
      14.2
    • macOS (desktop)      • macos                     • darwin-x64     • macOS
      11.0.1 20B29 darwin-x64
    • Web Server (web)     • web-server                • web-javascript •
      Flutter Tools
    • Chrome (web)         • chrome                    • web-javascript • Google
      Chrome 87.0.4280.67

• No issues found!

@TahaTesser  Hi, thanks for response. As this thread track: https://github.com/flutter/flutter/issues/70744 it seems happened in master previous, but it may fixed by someone. I am not sure is work on my side. I will test it later and post a video to show it.

I had this problem too. When I delete a Chinese character or a number character, 2 Chinese characters will be deleted.

I'm also facing the same issue, 2 characters ll be deleted at a time...  it seems it happened after I switched to beta version of Flutter SDK..

I've solved it! You just need to switch the Flutter branch to master. At least I solved it this way.

I have the same issue when on the beta channel, backspace always deletes two characters. Works correctly on stable channel.

Stable channel flutter doctor -v:
flutter doctor -v
[√] Flutter (Channel stable, 1.22.4, on Microsoft Windows [Version 10.0.19041.630], locale de-CH)
    • Flutter version 1.22.4 at C:\flutter
    • Framework revision 1aafb3a8b9 (4 weeks ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Users\gregr\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_HOME = C:\Users\gregr\AppData\Local\Android\sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[!] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] Connected device (1 available)
• LG H870 (mobile) • LGH870f4432d2 • android-arm64 • Android 9 (API 28)
! Doctor found issues in 1 category.

Beta channel flutter doctor -v:
flutter doctor -v
[√] Flutter (Channel beta, 1.24.0-10.2.pre, on Microsoft Windows [Version 10.0.19041.630], locale de-CH)
    • Flutter version 1.24.0-10.2.pre at C:\flutter
    • Framework revision 022b333a08 (3 weeks ago), 2020-11-18 11:35:09 -0800
    • Engine revision 07c1eed46b
    • Dart version 2.12.0 (build 2.12.0-29.10.beta)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Users\gregr\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_HOME = C:\Users\gregr\AppData\Local\Android\sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] Connected device (4 available)
• LG H870 (mobile) • LGH870f4432d2 • android-arm64  • Android 9 (API 28)
• Web Server (web) • web-server    • web-javascript • Flutter Tools
• Chrome (web)     • chrome        • web-javascript • Google Chrome 86.0.4240.198
• Edge (web)       • edge          • web-javascript • Microsoft Edge 85.0.564.63
• No issues found!

@rgisi  @raveesh08
Does it reproduce on the latest flutter master as well?

@TahaTesser master channel seems to work fine.
(I could not build my original project on master channel due to some AndroidX problems, but used an empty new flutter project and a TextField() in it.)
2 characters got deleted when on the beta channel, but not when on master channel.

flutter doctor -v
[√] Flutter (Channel master, 1.25.0-5.0.pre.125, on Microsoft Windows [Version 10.0.19041.630], locale de-CH)
    • Flutter version 1.25.0-5.0.pre.125 at C:\flutter
    • Framework revision a12e2a473a (7 hours ago), 2020-12-08 23:13:04 -0500
    • Engine revision df39e5c515
    • Dart version 2.12.0 (build 2.12.0-133.0.dev)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Users\gregr\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_HOME = C:\Users\gregr\AppData\Local\Android\sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] Connected device (3 available)
• LG H870 (mobile) • LGH870f4432d2 • android-arm64  • Android 9 (API 28)
• Chrome (web)     • chrome        • web-javascript • Google Chrome 86.0.4240.198
• Edge (web)       • edge          • web-javascript • Microsoft Edge 85.0.564.63
• No issues found!

@TahaTesser Currently i like to continue with beta version only i can't switch to master version. but i found out one more clue regarding that issue...
issue happens when i set keyboardType property of TextFormField
if not set then it seems to be working fine with beta.

 keyboardType: TextInputType.text,

try removing keyboardType property of TextFormField it seems to be working fine..

got the same issue on beta
arabic and English characters
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.24.0-10.2.pre, on Linux, locale en_US.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
! Some Android licenses not accepted.  To resolve this, run: flutter doctor
--android-licenses
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.0)
[✓] Connected device (3 available)
switching to channel master solved the issue :
flutter doctor
[✓] Flutter (Channel beta, 1.24.0-10.2.pre, on Linux, locale en_US.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
! Some Android licenses not accepted.  To resolve this, run: flutter doctor
--android-licenses
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.0)
[✓] Connected device (3 available)

I got the same issue.

flutter doctor -v
[✓] Flutter (Channel beta, 1.24.0-10.2.pre, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-EC)
    • Flutter version 1.24.0-10.2.pre at /Users/yudisetiawan/fvm/versions/beta
    • Framework revision 022b333a08 (4 weeks ago), 2020-11-18 11:35:09 -0800
    • Engine revision 07c1eed46b
    • Dart version 2.12.0 (build 2.12.0-29.10.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/yudisetiawan/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.50.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (3 available)
    • Redmi Note 4 (mobile) • faa168ce9804 • android-arm64  • Android 7.0 (API 24)
    • Web Server (web)      • web-server   • web-javascript • Flutter Tools
    • Chrome (web)          • chrome       • web-javascript • Google Chrome 87.0.4280.88

• No issues found!

 keyboardType: TextInputType.text,

@jinfagang try removing keyboardType property of TextFormField it seems to be working fine..

It's not working for me.

Same. However the problem only occurs for me when I'm using the physical computer keyboard (with the emulator). The on screen keyboard works correct for me. :shrug:

Facing the same issue when using
TextInputType.phone or TextInputType.number.
flutter doctor -v
[✓] Flutter (Channel beta, 1.24.0-10.2.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.24.0-10.2.pre at /Users/admin/flutter_sdk/flutter
    • Framework revision 022b333a08 (5 weeks ago), 2020-11-18 11:35:09 -0800
    • Engine revision 07c1eed46b
    • Dart version 2.12.0 (build 2.12.0-29.10.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/admin/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] Connected device (3 available)
    • GM1911 (mobile)  • 1ba8e297   • android-arm64  • Android 10 (API 29)
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome 87.0.4280.88

• No issues found!

JFYI, it seems the root cause has been already fixed in the flutter engine and the fix is available since 1.25.0-4.0.pre. I'm not familiar with the engine, but I guess no workaround is available on the app-code. The only way is to use the current master channel or newer tagged versions than 1.24.0-10.2.pre.
ref:

https://github.com/flutter/flutter/pull/71161 merged the fix into this repository
https://github.com/flutter/flutter/compare/1.24.0-10.2.pre...1.25.0-4.0.pre

JFYI, it seems the root cause has been already fixed in the flutter engine and the fix is available since 1.25.0-4.0.pre. I'm not familiar with the engine, but I guess no workaround is available on the app-code. The only way is to use the current master channel or newer tagged versions than 1.24.0-10.2.pre.
ref:

https://github.com/flutter/flutter/pull/71161 merged the fix into this repository
https://github.com/flutter/flutter/compare/1.24.0-10.2.pre...1.25.0-4.0.pre

I'm facing this in stable branch while building linux desktop app.

Me too, but in windows 10
Flutter channel stable 2.0.3

This issue seems to no longer reproduce.
It looks like there may have been a couple of different issues in this thread. But I don't reproduce the issue either with TextField(keyboardType: TextInputType.text) or TextField(keyboardType: TextInputType.number). That's using a hardware keyboard's backspace key, in an Android emulator, on a current Flutter version from main/master.
If someone's still seeing an issue like this one, please file it as a fresh issue thread, filling in all the information requested in the issue template, and then someone can take a look.


[Docbug][Bots]

Fixed tab switch for C#, javascript, json and python.

Docs Build status updates of commit eaacf3c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/bots/how-to/conversations/subscribe-to-conversation-events.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Update to use jdk for build container

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.58%. Comparing base (c19a832) to head (3b77b8a).

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #147   +/-   ##
=========================================
  Coverage     90.58%   90.58%
  Complexity      743      743
=========================================
  Files           137      137
  Lines          2146     2146
  Branches        140      140
=========================================
  Hits           1944     1944
  Misses          129      129
  Partials         73       73

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


Fix mainnet network parameters

Issue Number
Relates to #2226.
Overview

Rearrange byron/shelley code a little.
Updates hardcoded epoch length (slots not blocks) and active slot coefficient values for mainnet.
Also updates slot length parameter.
Also updates the minFee a parameter - but I'm uncertain why the value was like that before.

bors try

bors merge


Add libuv watcher for current git project

This will enable auto updating of git status like we have with diagnostics. I think we can just watch project_root/.git/index and refresh the status whenever that changes.

This just doesn't work. I think polling is the only option to capture git changes not caused by file actions in nvim.


Compiled classes with no license information being misidentified

Type: Incorrect
Summary:
Compiled classes with no license information being misidentified
Details:
The source pointer for this record is wrong. It appears that the harvester has run on the compiled form and misidentified several compiled files that do not have any human readable text as having a license.
Resolution:
Change the files identified as NOASSERTION to NONE.
Affected definitions:

coyote 6.0.51

I'm going to take a run at manually fixing the source data.
Once I do that, I'm hopeful that we can rerun the harvester.

Thanks, @waynebeaton - opened https://github.com/clearlydefined/service/issues/773.

I think we can close this now.  Thanks

I think we can close this now.  Thanks


Github API Token option not working

Tried both ways (env and CLI option) - separately and together:
MACHINE_GITHUB_API_TOKEN=X docker-machine -D --github-api-token=X create dev --driver virtualbox
Docker Machine Version:  0.7.0, build a650a40
Found binary path at /usr/local/bin/docker-machine
Launching plugin server for driver virtualbox
Plugin server listening at address <IP_ADDRESS>:50099
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(flag-lookup) Calling .GetMachineName
(flag-lookup) Calling .DriverName
(flag-lookup) Calling .GetCreateFlags
Found binary path at /usr/local/bin/docker-machine
Launching plugin server for driver virtualbox
Plugin server listening at address <IP_ADDRESS>:50103
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(dev) Calling .GetMachineName
(dev) Calling .DriverName
(dev) Calling .GetCreateFlags
(dev) Calling .SetConfigFromFlags
Running pre-create checks...
(dev) Calling .PreCreateCheck
(dev) DBG | COMMAND: /usr/local/bin/VBoxManage --version
(dev) DBG | STDOUT:
(dev) DBG | {
(dev) DBG | 5.0.20r106931
(dev) DBG | }
(dev) DBG | STDERR:
(dev) DBG | {
(dev) DBG | }
(dev) No default Boot2Docker ISO found locally, downloading the latest release...
Error with pre-create check: "Error getting a version tag from the Github API response.\nYou may be getting rate limited by Github."
Opting out of crash reporting.

I've also curl'd the defaultUrl from b2d.go with and without token - with token works, without token is returning rate limit exceeded error (due to single external IP address)

It's dupe of https://github.com/docker/machine/issues/2296 I think


chore: update discord invite to land in #welcome instead of #team

The previous invite link lands in #team and apparently errs for some people. Created a new one (that does not expire) to land in #welcome

@alvrs lmk if we can merge this ASAP so we don't have an invalid invite on the doc website


Mast: Watch +14159410009

Mast requests the watch of the watch_keyword \+14159410009. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

\+14159410009 has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Rejected in favor of a pair of !!/watch-number additions


EKS Duchy internal server periodically loses Postgres access

io.r2dbc.postgresql.ExceptionFactory$PostgresqlAuthenticationFailure: [28P01] password authentication failed for user "postgres"

According to @YuhongWang-Amazon, this is related to a password auto-rotation feature which results in a new K8s Secret being generated. As the Halo update process assumes that all K8s objects are only updated on apply, this feature cannot be used.

Reopening this as it still happens.

Bumping this as #1785 is a pending issue from last week rotation. Although #1785 is closed, it is de-duplicated against this issue.

Manually disabled the Postgres secret rotation in AWS Secret Manager. Keep monitor whether this issue is gone.

I don't see any PR that updates the Terraform config here. Any solution that


[Security] - Set up a Security Policy

Is your feature request related to a problem? Please describe.
No sec policy
Describe the solution you'd like
Add security policy, https://github.com/opensrp/fhircore/security
Additional context
For example, https://github.com/google/android-fhir/security/policy

Usage

Vulnarablity Reporting  - SRE


reset on pc startup.

Hello, it's the second day I used Aurora and (its morning for me right now) when I started up my pc it gave the "first time instructions" and it reset my settings for my keyboard (what keyboard I've selected and keyboard layout) the rest is how it was, the color settings etc. are just the same.
I don't think this is normal so help would be appreciated! I've downloaded the program from the official site, not from here, on the GitHub.

I think the issue is related to a saving issue which requires a safe shutdown of the application for it to properly save the configuration changes. I believe I've sorted this out in the development branch so it shouldn't be an issue anymore.

So, I don't need to do anything? No update or patch to install?

It should be fine now, but you could get the development releases which should be better than the current stable build. I think the changes I made for saving haven't been put in a release yet.


Update prod.shadow bucket location

Type of Request
infra task
Infrastructure Environment
Recipes
What is happening?
Uploads are currently failing as no bucket is defined for the shadow prod environment.
Steps to reproduce
N/A
Expected results
No failures with 403 unauthorized as the bucket does not exist.

https://flutter-review.googlesource.com/c/recipes/+/53820?tab=checks


Use ko label filter instead of removing KnativeCertificate yaml

Changes

Followup for https://github.com/knative-extensions/net-istio/pull/1221
Removing the file results in the KnativeCertificate not being in the release manifest: https://github.com/knative/serving/pull/14610/commits/a42001549c5dbe9a57c2ebd6ecc30db467408629#diff-845c4618eefc690238aaab455d8f1b79ffd5c30eec4c2f5b50da9b57017b39a8L588
Use ko label filter instead of removing KnativeCertificate yaml

/assign @skonto

/lgtm

/test integration-tests


Range slider is missing the tooltip above the slider while dragging

Expected Behavior
If you drag the range slider (with 	tooltips: true), it is expected to see the number in a tooltip above the slider.
Current Behavior
No tooltip is displayed.
Possible Solution
Might be an issue with noui-slider.
Steps to Reproduce (for bugs)
Just use the example code from your docs:
  var slider = document.getElementById('test-slider');
  noUiSlider.create(slider, {
   start: [20, 80],
   connect: true,
   step: 1,
   tooltips: true,
   orientation: 'horizontal', // 'horizontal' or 'vertical'
   range: {
     'min': 0,
     'max': 100
   },
   format: wNumb({
     decimals: 0
   })
  });

Context
Design issue
Your Environment

Version used: alpha-2
Browser Name and version: Chrome and Safari
Operating System and version (desktop or mobile): Mac OS

Our range doesn't have any tooltips. The thumb transforms into a sort of tooltip showing the value tho? I'm not exactly sure what you are expecting

Also we ship the noUiSlider with Materialize afaik. There should be only the greenish bubble at the top.

I'm seeing the thumb is missing in the latest alpha version  v1.0.0-alpha.4

This shouldn't have been closed.
The docs reference noUISlider however some options do not pass through.
An example would be if you want to display tooltips at all times and not just when the user interacts with the slider.


Make it more independent of project structure

Is your feature request related to a problem? Please describe.
As far as I understand, Tauri can't be used without src-tauri directory. It's supposed to be an extension of a JS project. As for Rust-based projects, you can't omit src-tauri directory and should put everything related to Rust there.
For example, you already have a Cargo workspace with a structure like:
gui/          # JS-based GUI
some_crate_A/ # a crate, which is a part of the workspace
some_crate_B/ # another crate, which is a part of the workspace
src/          # Rust main crate, application's logic
Cargo.toml

But If you want to integrate Tauri into this project, you should change your project structure to something like:
src/              # JS-based GUI
src-tauri/
    some_crate_A/ # a crate, which is a part of the workspace
    some_crate_B/ # another crate, which is a part of the workspace
    src/          # Rust main crate, application's logic
    Cargo.toml
    tauri.conf.json
package.json

This makes the structure inconvenient for build/CI/CD scripts because you need to either change your project build tool to a JS one or add additional script at the root, or document everywhere that src-tauri should be considered the root and scripts should be run from there.
Describe the solution you'd like
Add an option to Tauri CLI to initialize a project in an existing directory. Also, it's worth providing instructions how to make it manually because the Cargo.toml and other files with same names as in the Tauri template could already exist in the project.
So you would, for example, just add tauri.conf.json to your project to make it possible to run tauri dev from its root and consider it a Tauri project. The described previously project structure would look like this after the change:
gui/          # JS-based GUI
some_crate_A/ # a crate, which is a part of the workspace
some_crate_B/ # another crate, which is a part of the workspace
src/          # Tauri Rust code, application's logic
Cargo.toml
tauri.conf.json

Describe alternatives you've considered
None.
Additional context
None.

Describe alternatives you've considered
None.

I think the default of belonging to the crate the tauri.conf.json is in is a good default.  I think an additional field in the config file to set override the app directory could be useful too so that more project layouts are possible.  Something like tauri.conf.json > build > appDir or w/e you wish to name the key.

We had a conversation about this yesterday at discord, and I think that this project layout is good alternative that will rise in popularity once we also make the rust-based CLI available...

Can this issue be closed? Tried tauri a while ago and it frustrated me to have that lockin. Has this been fixed?

Closed by #2654

Thanks for catching this issue @boehs
Also related to #3035 and more improvements coming soon.


Bug with nuxt-router params and computed properties

Version
v2.3.4
Reproduction link
https://github.com/core01/nuxt-router-bug
Steps to reproduce

Open http://localhost:3000
Go to Sales or Shops page and check browser URL
Go back to INDEX page and select another City from Select.
Go to Sales or Shops page and check browser URL, you will see wrong URL
Bug confirmed

What is expected ?
Url must be equal with router params
What is actually happening?
I guess that nuxt-router caches router params

This bug report is available on Nuxt community (#c8312)

If you put the navbar component inside PAGE, then everything will work out as it should

Here is Codesandbox - https://codesandbox.io/s/github/core01/nuxt-router-bug

@core01 I think u should use :key.
<navbar :key="..."> or <navbar> -> <nuxt-link :key="...">, because they are rendered once with layout component and does not re-render on page changes.

Nuxt solve this "issue" same:
https://github.com/nuxt/nuxt.js/blob/99614535b5b4af0e2644ed172d7517804aaa1094/packages/vue-app/template/components/nuxt.js#L33
https://github.com/nuxt/nuxt.js/blob/99614535b5b4af0e2644ed172d7517804aaa1094/packages/vue-app/template/components/nuxt.js#L41

@maxim-usikov Thank you. Your suggestion helped me to resolve the issue. It is a strange behaviour and without a complete learning of vue/nuxt it is impossible to understand it.

I try to reproduce this behaviour on vue, but all works.


xrdp: do not exit when caught SIGHUP

Fixes #1316.

This looks good, maybe rebase

There's no problem with this. The true goal is to reload the config and reopen log files as described in #1316. Required for log rotation.  However, not to exit with SIGHUP is required sperately.
Let's implement reloading the config and reopening logs later, merge this first.


replace cache workaround parameter, cache-workaround only for IE

Signed-off-by: Laszlo Hornyak<EMAIL_ADDRESS>

Hi @K0zka I'm not sure about the patch, though would like to help merge it. Can you close this one and send another PR as the branch looks like requires rebasing against latest master (see many commits here). Sorry could not review/merge it before.

Yes I messed this up when rebasing my working branches, will send another one...


Unittests for web view

We need the following tests

[x] Test rendering of documentation views
[x] Test rendering of admin pages
[x] Test rendering of links
[x] Test rendering of population view
[x] Test rendering and sending notifications (that's probably a whole test on it's own including permissions)

[ ] Test rendering and sending notifications (that's probably a whole test on it's own including permissions)

This is closed once v1.0.0 is merged.

Closed with #37


Can not  work with Gray images

When I tested, I found that the input gray image（8bit） can not work. Is it necessary to add the code that converts the gray image(8bit) into RGB image(24bit)?

@MrXin95 can you provide test image? for now it works with rgb images, maybe I'll auto-convertion.

I've tested that any image with a bit depth of 8 doesn't work. Because the images processed in the code are RGB images (24bit)
The first is the image I need to test, and the second is the gray image I download freely on the Internet

I use OpenCvSharp4.Windows to solve it.
                Mat mat = new Mat(img_root, ImreadModes.Color);      //read any images witch RGB mode

                using var image = OpenCvSharp.Extensions.BitmapConverter.ToBitmap(mat);    //convert mat to bitmap

                List<YoloPrediction> predictions = scorer.Predict(image);

However, I found that the prediction speed of the model almost did not change, but the speed of drawing the prediction box was a few seconds slow. At first, I thought that the incoming original image was in image format, and the image I converted was in bitmap format, but after I converted bitmap to image format, the drawing speed did not increase. What other good methods do you have?

@MrXin95 thanks, model trained on 8bit images?

Yes, I trained model with 8-bit images, because in my project, the image provided by the camera is like this. The images in the model are indeed three channels, but yolov5 can automatically convert 8-bit images into 24bit before training. You can have a try. We can train the model with 8bit images, and the test is also no problem in python with them.

Yes, I trained model with 8-bit images, because in my project, the image provided by the camera is like this. The images in the model are indeed three channels, but yolov5 can automatically convert 8-bit images into 24bit before training. You can have a try. We can train the model with 8bit images, and the test is also no problem in python with them.

兄弟，你用自己的模型测试图片，一张图大概多长时间？

Yes, I trained model with 8-bit images, because in my project, the image provided by the camera is like this. The images in the model are indeed three channels, but yolov5 can automatically convert 8-bit images into 24bit before training. You can have a try. We can train the model with 8bit images, and the test is also no problem in python with them.

兄弟，你用自己的模型测试图片，一张图大概多长时间？

纯推理二十几毫秒，加上前后处理一百多毫秒


Get index of stack on touch

It would be nice if the touch callback in a Stacked Bar Chart returned the index of the stack that was touched. That way i could change the events based on which part of the bar was touched.
As an example, i'm trying to show different tooltips in this chart, one for the deep purple and other for the light purple.

We have touchedStackItem, and touchedStackItemIndex in BarTouchedSpot which you can use.


Chore: use the main lodash package

It's easier to maintain one single dependency that several small packages.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
2297 unchanged lines in 298 files lost coverage.
Overall coverage decreased (-24.2%) to 7.666%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/logic/hooks/useDebounce.tsx
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/components/CustomIconText/index.tsx
1
0%

src/components/forms/Field/index.tsx
1
0%

src/components/Providers/index.tsx
1
0%

src/components/ScanQRModal/style.ts
1
0%

src/components/WalletSwitch/index.tsx
1
0%

src/logic/contracts/generateBatchRequests.ts
1
0%

src/logic/contracts/spendingLimitContracts.ts
1
0%

src/logic/cookies/store/selectors/index.ts
1
0%

src/logic/notifications/store/reducer/notifications.ts
1
0%

src/logic/safe/api/fetchSafeTxGasEstimation.ts
1
0%

Totals

Change from base Build<PHONE_NUMBER>:
-24.2%

Covered Lines:
682

Relevant Lines:
8350

💛  - Coveralls

Don't miss the lint before merging


The staging app is crashing on Upgrade.

-My old version was 1.5.0 (248) I went to testflight and upgraded it to 1.5.0 (250)., After that I entered the PIN and pressed the "Proceed" button, the app crashed.

@cakesoft-swati does upgrade crash from 1.4.6 to 1.5.0(250) ?

Yes, it crashes even when upgrading from 1.4.6 to 1.5.0.

I've tried upgrading from 1.4.6 to 1.5.0(on the development branch) and yeah the app crashed at multiple places.
The initial crash was on the home screen as the level health object wasn't available on the sss object while the home screen was trying to pull out the healthCheckInitializeKepper flag from it.

After fixing that I was able to land on the home screen however the react-native debugger was bombarded with errors related to newBHR(as far as I understand).

Then the app was also crashing on the manage backup screen

Conclusion: We might need to write an appropriate upgrade script in order to handle these newBHR related upgrade crashes.

-Verified this issue on staging app v1.5.0(258)


triangle exercise bad idea

because it perpetuates the idea that its fine to compare two floats for equality.
the reason you should never do that, is because the result will be dependent on the representation, and other non-obvious things and also people are even more confused because it often works as expected, but then will stop unexpectedly.
understanding why this is, is a fundamental principle see;  https://en.wikipedia.org/wiki/Floating-point_arithmetic#Accuracy_problems

Thanks. It would be to your advantage to remove https://github.com/exercism/x-common/blob/master/exercises/triangle/canonical-data.json#L55 and https://github.com/exercism/x-common/blob/master/exercises/triangle/canonical-data.json#L106 and https://github.com/exercism/x-common/blob/master/exercises/triangle/canonical-data.json#L145 citing this same reasoning. Otherwise, there is no guarantee other tracks won't do the same.
As for this track:
If the maintainers of this track agree, then it seems like removing all float cases (including the NaN and infinities) will address this.

the problem is hard to explain, but...
to always be able to determining if a triangle is equilateral requires infinite precision, its a euclidean definition, and computers cannot do that.
this general misunderstanding produces a lot of bugs in code.
in the example the input coordinates have limited precision so it can work, but it gives people a false idea, that it will always work, its a incorrect concept that teaching examples shouldn't be re-enforcing.
there are probably other examples doing this, this is the only one i saw.
i see this is repeated in many languages, so i'm feeling like this;

i see this is repeated in many languages

that only makes it all the more important that this issue be filed in x-common instead of being limited to this track.

i will put an issue up there.


update image and chart version

Signed-off-by: Iceber Gu<EMAIL_ADDRESS>What type of PR is this?

/kind cleanup
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

/label cherry-pick/0.5.x


[BUG] crc binary fails to start if placed under /usr/local/bin

General information

OS: Linux
Hypervisor: KVM
Did you run crc setup before starting it (Yes/No)? Yes

CRC version
crc version: 1.8.0+0a318dc
OpenShift version: 4.3.8 (embedded in binary)

CRC status
# Put `crc status` output here

CRC config
# Put `crc config view` output here

Host Operating System
NAME="CentOS Linux"
VERSION="8 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="8"

Steps to reproduce

Start a CentOS 8 machine (mine is in GCP with nested virt enabled)
Download crc and place it in a location like /usr/local/bin/crc: sudo cp crc/crc /usr/local/bin
crc setup
crc start --log-level=debug

Expected
crc should work when owned by root in a path like /usr/local/bin, similar to other tools.
Actual
crc start fails.
Inspecting the .crc files, I see the .crc/machines/crc/crc is owned by root instead of qemu.
I worked around this by moving the binary to $HOME/bin and changing owner to my user.
Are you aware of this issue? Maybe we could make a note of this in the docs?

can you share the log outputs and more details? This has more likely to do with the fact the executable might be run as root instead of a user; have you set the suid bit or sticky bit?
Note: We perform checks to prevent the use of root, so it would be helpful if startup logs are shared.

Note: today we have been on a call with a customer who actually ran crc from /usr/local/(s)bin but not experience issues doing this.

@jsliacan can you give this a try too ?

@gbraad I ran everything as my normal user.
Once I get a chance to repeat this, I will gather all logs and share them here.

OK. We will try to also run this.
Note: The vms are started as using libvirt as libvirt:///system, so the files are expected to be owned as root. I am currently focussed on the windows side, so hope my colleague can hint at this. @zeenix WDYT?

@yanniszark @gbraad I tried on RHEL8 bare metal and couldn't reproduce. I second the desire for more info please, thanks!

Three colleagues have tried this, plus the customer who ran this... and so far we haven't seen a failure during startup.
https://pastebin.com/xjeqmgj2

@gbraad @jsliacan thanks a lot for looking into this.
At some point I interrupted the crc command, as it was hanging for a long time and I suspect the wrong permission was a side effect of that.
The real issue seems to be https://github.com/code-ready/crc/issues/1149, which we can reproduce consistently (I am working together with @ioandr who opened the issue)
The issue (https://github.com/code-ready/crc/issues/1149) contains instructions for reproducing it end-to-end, I would recommend shifting the focus there and closing this one.

Currently getting the following error upon  crc start:
ERRO Error getting bundle metadata: xz: data is corrupt

Using the latest (v.1.13) on Fedora 32.
tar -xvf crc-linux-amd64.tar.xz
sudp cp crc /usr/local/bin/
crc setup
crc start

@nimrodshn I just tried it 1.15 on fresh RHEL-8.2 machine and it does work, can you try again and let us know if that still true for Fedora?


Fix DotNetCliToolReference casing

Fix DotNetCliToolReference casing
On the title describe
what you've fixed (or created) with this Pull Request (PR).
Summary
Element name is incorrect here, and won't work when copied into a .csproj file.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

Thanks for noting this, @mryanmurphy! There are also two other instances of DotnetCliToolReference that appear in this section -- in the header ("### DotnetCliToolReference") and in the first line of text ("The <DotnetCliToolReference> item"). Could you also correct those?

@rpetrusha those are updated now, thanks.


An utility lib to convert polkadot.js types bundle format to subsquid

There's a big pain for new users to use custom types bundle due to the different file format we use compared to polkadot.js.
To alleviate this issue, let's make an utility lib that will convert polkadot.js bundle files to the subsquid format. We can then reuse this lib so that both the ingester and the typegen will be able to accept polkadot.js-style bundle files.

@dzhelezov , how about just built-in support for all networks from polkdot.js.org?

Discussed with @belopash and I think we'd still need such a tool:

it's quite tedious and time consuming to migrate all the networks from polkadot.js/apps/configs
we had multiple support requests for bundles not present in Polkadot.js/apps/configs (some private networks and devnets)
having such a tool is need anyway for mass migration from the Polkadot.js format

So it seems reasonable to just add an additional config options to the ingester, processor and metadata explorer so that they can accept the Polkadot.js format

Solved by https://github.com/subsquid/squid/commit/a4718e1c2ec271a0f8159d8e8c1d296f435ad634


Export artifacts from a Service Registry fails with a 406 Not Acceptable HTTP code

Description
Version: 0.51.4
Export Artifacts from a Service Registry deployed in the Developer Sandbox is failing with the following exception:
❯ rhoas service-registry artifact export --output-file=export.zip
❌ 406 Not Acceptable. Run the command in verbose mode using the -v flag to see more information

Steps to reproduce

Create a new Service Registry instance: rhoas service-registry create --name my-registry
Create a new Artifact: rhoas service-registry artifact create --artifact-id my-artifact --file my-artifact.asvc --type AVRO
Export artifacts: rhoas service-registry artifact export --output-file=export.zip

Expected vs actual behaviour
Get the export file with the content of my Service Registry instance.
Logs
This is the output using the -v flag:
❯ rhoas service-registry artifact export --output-file=export.zip -v
Checking for updates. Last check was done:<PHONE_NUMBER>898
Refreshing tokens
Tokens refreshed
2022/10/28 09:52:34
GET /api/serviceregistry_mgmt/v1/registries/********************** HTTP/1.1
Host: api.openshift.com
User-Agent: rhoas-cli_0.51.4
Accept: application/json
Accept-Encoding: gzip

2022/10/28 09:52:35
HTTP/1.1 200 OK
Content-Length: 563
Cache-Control: private
Content-Type: application/json
Date: Fri, 28 Oct 2022 07:52:34 GMT
Server: envoy
Set-Cookie: **********************=**********************; path=/; HttpOnly; Secure; SameSite=None
Strict-Transport-Security: max-age=31536000; includeSubdomains
X-Envoy-Upstream-Service-Time: 28

{"id":"*******","kind":"ServiceRegistry","href":"/api/serviceregistry_mgmt/v1/registries/**********************","status":"ready","registryUrl":"https://bu98.serviceregistry.rhcloud.com/t/**********************","browserUrl":"https://console.redhat.com/application-services/service-registry/t/**********************","name":"my-registry","registryDeploymentId":1,"owner":"rmarting@redhat.com","created_at":"2022-10-28T07:28:14Z","updated_at":"2022-10-28T07:28:14Z","instance_type":"standard"}
2022/10/28 09:52:35
GET /api/serviceregistry_mgmt/v1/registries/********************** HTTP/1.1
Host: api.openshift.com
User-Agent: rhoas-cli_0.51.4
Accept: application/json
Accept-Encoding: gzip

2022/10/28 09:52:35
HTTP/1.1 200 OK
Content-Length: 563
Cache-Control: private
Content-Type: application/json
Date: Fri, 28 Oct 2022 07:52:34 GMT
Server: envoy
Set-Cookie: **********************=**********************; path=/; HttpOnly; Secure; SameSite=None
Strict-Transport-Security: max-age=31536000; includeSubdomains
X-Envoy-Upstream-Service-Time: 22

{"id":"**********************","kind":"ServiceRegistry","href":"/api/serviceregistry_mgmt/v1/registries/**********************","status":"ready","registryUrl":"https://bu98.serviceregistry.rhcloud.com/t/**********************","browserUrl":"https://console.redhat.com/application-services/service-registry/t/**********************","name":"my-registry","registryDeploymentId":1,"owner":"rmarting@redhat.com","created_at":"2022-10-28T07:28:14Z","updated_at":"2022-10-28T07:28:14Z","instance_type":"standard"}
Making request to https://bu98.serviceregistry.rhcloud.com/t/**********************/apis/registry/v2
2022/10/28 09:52:35
GET /t/**********************/apis/registry/v2/admin/export HTTP/1.1
Host: bu98.serviceregistry.rhcloud.com
User-Agent: rhoas-cli_0.51.4
Accept: application/json
Accept-Encoding: gzip

GET /t/**********************/apis/registry/v2/admin/export HTTP/1.1
Host: bu98.serviceregistry.rhcloud.com
Accept: application/json
Authorization: Bearer **********************.**********************.**********************-**********************-**********************
User-Agent: rhoas-cli_0.51.4

HTTP/1.1 406 Not Acceptable
Content-Length: 183
Cache-Control: no-cache, no-store, must-revalidate
Content-Type: application/json
Date: Fri, 28 Oct 2022 07:52:35 GMT
Expires: Thu, 27 Oct 2022 07:52:35 GMT
Pragma: no-cache
Server: envoy
Set-Cookie: **********************=**********************; path=/; HttpOnly; Secure; SameSite=None
Strict-Transport-Security: max-age=31536000; includeSubdomains
X-Envoy-Upstream-Service-Time: 14

{"message":"RESTEASY003635: No match for accept header","error_code":406,"detail":"NotAcceptableException: RESTEASY003635: No match for accept header","name":"NotAcceptableException"}
2022/10/28 09:52:35
HTTP/1.1 406 Not Acceptable
Content-Length: 183
Cache-Control: no-cache, no-store, must-revalidate
Content-Type: application/json
Date: Fri, 28 Oct 2022 07:52:35 GMT
Expires: Thu, 27 Oct 2022 07:52:35 GMT
Pragma: no-cache
Server: envoy
Set-Cookie: **********************=**********************; path=/; HttpOnly; Secure; SameSite=None
Strict-Transport-Security: max-age=31536000; includeSubdomains
X-Envoy-Upstream-Service-Time: 14

{"message":"RESTEASY003635: No match for accept header","error_code":406,"detail":"NotAcceptableException: RESTEASY003635: No match for accept header","name":"NotAcceptableException"}
Sending telemetery information for rhoas service-registry artifact export
❌ 406 Not Acceptable. Run the command in verbose mode using the -v flag to see more information

NOTE: Removed the bearer headers and other sensitive data.

Thank you for logging issue. Our team will take care of this issue.

CC @EricWittmann

When will be released this issue? Thanks!

Just tested again with the latest version released, and it is also failing:
❯ rhoas service-registry artifact export --output-file=export.zip
❌ 406 Not Acceptable. Run the command in verbose mode using the -v flag to see more information
❯ rhoas version
rhoas version 0.51.5

Hi @rmarting.
We will release a patch on Monday. Will update in thread once released.

Hi @rmarting .
A patch has been released. v0.51.6

@rkpattnaik780 Tested successfully with that version:
❯ rhoas version
rhoas version 0.51.6
❯ rhoas service-registry artifact list
Using default artifacts group.
  ID            NAME   CREATED ON                 CREATED BY            TYPE   STATE
 ------------- ------ -------------------------- --------------------- ------ ---------
  my-artifact          2022-11-04T16:19:56+0000<EMAIL_ADDRESS> AVRO   ENABLED
❯ rhoas service-registry artifact export --output-file=export.zip
All data exported successfully

So, now we could confirm that this issue is closed! Thank you so much!


Hyperlinking sukoon email at the footer section

The mail address present at the footer is only in typed form, it can be hyperlinked with mail to ( Email ). Then it would be easy for the user to mail. So can I work on this?

this issue already assigned,someone is working on this

i m closing this


Add Runc and Conmon versions to Podman Version

It will be handy to know the runc and conmon versions as our
code gets into the wild.
Signed-off-by: baude<EMAIL_ADDRESS>

I would also change all references to Runc to be OCIRuntime version.
podman supports alternative runtimes, we should not hard code runc assumptions into the output and documentation.

Also this probably makes more sense to put this into podman info then podman version.  The kernel is already being reported there.

Ok, all fixed up and moved to info

updated  to @rhatdan 's comments


testing files that do not exist gives unhelpful error

>> doctest doctset
error: javaMethod: /usr/lib/jvm/java-1.8.0-openjdk-<IP_ADDRESS>-31.b13.fc22.x86_64/jre/lib/amd64/server/libjvm.so: failed to load: /usr/lib/jvm/java-1.8.0-openjdk-<IP_ADDRESS>-31.b13.fc22.x86_64/jre/lib/amd64/server/libjvm.so: cannot open shared object file: No such file or directory
error: called from
    methods at line 45 column 16
    doctest_collect at line 59 column 9
    doctest at line 244 column 11

The same is true in MATLAB. Working on it...

Not found is reported as an "extraction error", which while technically correct is perhaps not terribly appropriate.


update readme to include compatible driver version

The link in the 'components' folder did not link correctly for me and I spent quite some time wondering why it didn't work. I've updated the readme with a note and a link to the correct driver version to alert others.

Actually the latest Bosch driver is working. You just need to change some parameters in the read/write callbacks. Im currently using it with two sensors on the same i2c bus.

Thanks a lot for the info. Could you tell me what exactly needs to be changed?


Support Gradle's configuration cache

https://docs.gradle.org/7.4/userguide/configuration_cache.html
FAILURE: Build failed with an exception.

* What went wrong:
Configuration cache state could not be cached: field 'ctx' from type 'com.safedk.gradleplugin.tasks.AdjustInstrumentationInputsTask': error writing value of type 'com.safedk.gradleplugin.VariantContext'
> Configuration cache state could not be cached: field 'wrapperExecutor' from type 'com.safedk.gradleplugin.VariantContext': error writing value of type 'com.safedk.gradleplugin.tasks.WrapperExecutor'
> Configuration cache state could not be cached: field 'plugin' from type 'com.safedk.gradleplugin.tasks.WrapperExecutor': error writing value of type 'com.safedk.gradleplugin.GradlePlugin'
> Configuration cache state could not be cached: field 'androidVariants' from type 'com.safedk.gradleplugin.GradlePlugin': error writing value of type 'org.gradle.api.internal.DefaultDomainObjectSet'
> Configuration cache state could not be cached: field 'eventRegister' from type 'org.gradle.api.internal.DefaultDomainObjectSet': error writing value of type 'org.gradle.api.internal.collections.DefaultCollectionEventRegister'
> Configuration cache state could not be cached: field 'addActions' from type 'org.gradle.api.internal.collections.DefaultCollectionEventRegister': error writing value of type 'org.gradle.internal.ImmutableActionSet$SetWithManyActions'
> Configuration cache state could not be cached: field 'multipleActions' from type 'org.gradle.internal.ImmutableActionSet$SetWithManyActions': error writing value of type 'com.google.common.collect.RegularImmutableSet'
> Configuration cache state could not be cached: field 'delegate' from type 'org.gradle.api.internal.DefaultCollectionCallbackActionDecorator$BuildOperationEmittingAction': error writing value of type 'org.gradle.configuration.internal.DefaultUserCodeApplicationContext$CurrentApplication$1'
> Configuration cache state could not be cached: field 'val$action' from type 'org.gradle.configuration.internal.DefaultUserCodeApplicationContext$CurrentApplication$1': error writing value of type 'org.jetbrains.kotlin.gradle.plugin.KotlinPluginKt$sam$org_gradle_api_Action$0'
> Configuration cache state could not be cached: field 'function' from type 'org.jetbrains.kotlin.gradle.plugin.KotlinPluginKt$sam$org_gradle_api_Action$0': error writing value of type 'org.jetbrains.kotlin.gradle.plugin.AbstractAndroidProjectHandler$configureTarget$1'
> Configuration cache state could not be cached: field '$kotlinAndroidTarget' from type 'org.jetbrains.kotlin.gradle.plugin.AbstractAndroidProjectHandler$configureTarget$1': error writing value of type 'org.jetbrains.kotlin.gradle.plugin.mpp.KotlinAndroidTarget'
> Configuration cache state could not be cached: field 'compilations' from type 'org.jetbrains.kotlin.gradle.plugin.mpp.KotlinAndroidTarget': error writing value of type 'org.gradle.api.internal.FactoryNamedDomainObjectContainer'
> Configuration cache state could not be cached: field 'index' from type 'org.gradle.api.internal.FactoryNamedDomainObjectContainer': error writing value of type 'org.gradle.api.internal.DefaultNamedDomainObjectCollection$UnfilteredIndex'
> Configuration cache state could not be cached: field 'map' from type 'org.gradle.api.internal.DefaultNamedDomainObjectCollection$UnfilteredIndex': error writing value of type 'java.util.TreeMap'
> Configuration cache state could not be cached: field 'androidVariant' from type 'org.jetbrains.kotlin.gradle.plugin.mpp.KotlinJvmAndroidCompilation': error writing value of type 'com.android.build.gradle.internal.api.ApplicationVariantImpl'
> Configuration cache state could not be cached: field 'testVariant' from type 'com.android.build.gradle.internal.api.ApplicationVariantImpl': error writing value of type 'com.android.build.gradle.internal.api.TestVariantImpl'
> Configuration cache state could not be cached: field 'variantData' from type 'com.android.build.gradle.internal.api.TestVariantImpl': error writing value of type 'com.android.build.gradle.internal.variant.TestVariantData'
> Configuration cache state could not be cached: field 'testedVariantData' from type 'com.android.build.gradle.internal.variant.TestVariantData': error writing value of type 'com.android.build.gradle.internal.variant.ApplicationVariantData'
> Configuration cache state could not be cached: field 'paths' from type 'com.android.build.gradle.internal.variant.ApplicationVariantData': error writing value of type 'com.android.build.gradle.internal.variant.VariantPathHelper'
> Configuration cache state could not be cached: field 'dslServices' from type 'com.android.build.gradle.internal.variant.VariantPathHelper': error writing value of type 'com.android.build.gradle.internal.services.DslServicesImpl'
> Configuration cache state could not be cached: field 'versionedSdkLoaderServiceProvider' from type 'com.android.build.gradle.internal.services.DslServicesImpl': error writing value of type 'com.android.build.gradle.internal.plugins.BasePlugin$$Lambda$1872/0x0000000801f94400'
> Configuration cache state could not be cached: field 'arg$1' from type 'com.android.build.gradle.internal.plugins.BasePlugin$$Lambda$1872/0x0000000801f94400': error writing value of type 'com.android.build.gradle.internal.plugins.AppPlugin'
> Configuration cache state could not be cached: field 'androidComponentsExtension' from type 'com.android.build.gradle.internal.plugins.AppPlugin': error writing value of type 'com.android.build.gradle.internal.plugins.AppPlugin$ApplicationAndroidComponentsExtensionImplCompat'
> Configuration cache state could not be cached: field 'commonExtension' from type 'com.android.build.gradle.internal.plugins.AppPlugin$ApplicationAndroidComponentsExtensionImplCompat': error writing value of type 'com.android.build.gradle.internal.dsl.BaseAppModuleExtension'
> Configuration cache state could not be cached: field 'publicExtensionImpl' from type 'com.android.build.gradle.internal.dsl.BaseAppModuleExtension': error writing value of type 'com.android.build.gradle.internal.dsl.ApplicationExtensionImpl$AgpDecorated'
> Configuration cache state could not be cached: field 'sdkComponents$delegate' from type 'com.android.build.gradle.internal.dsl.ApplicationExtensionImpl$AgpDecorated': error writing value of type 'kotlin.SynchronizedLazyImpl'
> Could not create an instance of type com.android.build.gradle.internal.dsl.SdkComponentsImpl.
> Unable to determine constructor argument #6: missing parameter of type Provider, or no service of type Provider<Provider<List<RegularFile>>>.

1 problem was found storing the configuration cache.
- Plugin 'applovin-quality-service': registration of listener on 'Gradle.buildFinished' is unsupported
  See https://docs.gradle.org/7.5/userguide/configuration_cache.html#config_cache:requirements:build_listeners

See the complete report at file:///Users/goooler/StudioProjects/FileManager/build/reports/configuration-cache/e70iutuipc7yx1vxh46zmw4xc/e6wmviiv7sbwotek5np9utz1e/configuration-cache-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Configuration cache state could not be cached: field 'actions' from type 'com.android.build.gradle.tasks.ProcessMultiApkApplicationManifest': error writing value of type 'java.util.ArrayList'
> Configuration cache state could not be cached: field 'closure' from type 'org.gradle.api.internal.AbstractTask$ClosureTaskAction': error writing value of type 'com.safedk.gradleplugin.configurators.ManifestConfigurator$_configure_closure1$_closure2'
> Configuration cache state could not be cached: field 'output' from type 'com.safedk.gradleplugin.configurators.ManifestConfigurator$_configure_closure1$_closure2': error writing value of type 'groovy.lang.Reference'
> Configuration cache state could not be cached: field 'value' from type 'groovy.lang.Reference': error writing value of type 'com.android.build.gradle.internal.api.ApkVariantOutputImpl'
> Configuration cache state could not be cached: field 'services' from type 'com.android.build.gradle.internal.api.ApkVariantOutputImpl': error writing value of type 'com.android.build.gradle.internal.services.VariantPropertiesApiServicesImpl'
> Configuration cache state could not be cached: field 'projectServices' from type 'com.android.build.gradle.internal.services.VariantPropertiesApiServicesImpl': error writing value of type 'com.android.build.gradle.internal.services.ProjectServices'
> Configuration cache state could not be cached: field 'deprecationReporter' from type 'com.android.build.gradle.internal.services.ProjectServices': error writing value of type 'com.android.build.gradle.internal.errors.DeprecationReporterImpl'
> Configuration cache state could not be cached: field 'issueReporter' from type 'com.android.build.gradle.internal.errors.DeprecationReporterImpl': error writing value of type 'com.android.build.gradle.internal.errors.SyncIssueReporterImpl'
> Configuration cache state could not be cached: field 'messageReceiverImpl' from type 'com.android.build.gradle.internal.errors.SyncIssueReporterImpl': error writing value of type 'com.android.build.gradle.internal.errors.MessageReceiverImpl'
> Configuration cache state could not be cached: field 'mGson' from type 'com.android.build.gradle.internal.errors.MessageReceiverImpl': error writing value of type 'com.google.gson.Gson'
> Configuration cache state could not be cached: field 'constructorConstructor' from type 'com.google.gson.Gson': error writing value of type 'com.google.gson.internal.ConstructorConstructor'
> Configuration cache state could not be cached: field 'accessor' from type 'com.google.gson.internal.ConstructorConstructor': error writing value of type 'com.google.gson.internal.reflect.UnsafeReflectionAccessor'
> Configuration cache state could not be cached: field 'overrideField' from type 'com.google.gson.internal.reflect.UnsafeReflectionAccessor': error writing value of type 'java.lang.reflect.Field'
> Configuration cache state could not be cached: field 'overrideFieldAccessor' from type 'java.lang.reflect.Field': error writing value of type 'jdk.internal.reflect.UnsafeBooleanFieldAccessorImpl'
> Unable to make field protected final java.lang.reflect.Field jdk.internal.reflect.UnsafeFieldAccessorImpl.field accessible: module java.base does not "opens jdk.internal.reflect" to unnamed module @6fb6dc0a

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

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

@alhiwatan @orilentz CC

Hi, could you try again with the latest version of applovin-quality-service which has fixed the few build issues?

What's the latest exactly version, I can't download 4.5.15

@alhiwatan What should the specific version be, had you published the latest one? I've rechecked the latest plugin version is 4.5.14.

Ok, then you have the latest version.

Have you released it? The latest version is still 4.5.14.

No, we have not.   Let me check that this is an issue to be addressed.

Could you please notify me after the new version is published? I've been waiting for the good news for a long time.

Hi @Goooler, the Gradle configuration cache is not currently supported, although this is on our queue.   Unfortunately, at this moment, I do not have a release date for it.

- Plugin 'applovin-quality-service': registration of listener on 'Gradle.buildFinished' is unsupported
  See https://docs.gradle.org/7.5.1/userguide/configuration_cache.html#config_cache:requirements:build_listeners

com.applovin.quality:AppLovinQualityServiceGradlePlugin:4.7.2, still not support configuration cache. Please work on it.

Since configuration cache is still an incubating feature, it is unlikely to be supported any time soon. Assuming you only use it for debug builds, I would suggest trying to disable Ad Review for those builds as mentioned here: https://dash.applovin.com/documentation/mediation/ad-review/faq#⥤-ad-review-adds-time-to-my-build-time.-can-i-disable-ad-review-on-my-debug-builds?

Good to know. I use the workaround below to disable it before:
if (localPropOrDef("DISABLE_APPLOVIN_PLUGIN", "false") != "true") {
    apply plugin: 'applovin-quality-service'
    applovin {
        apiKey "my key"
    }
}
tasks.matching {
    it.name ==~ "assemble(.*)Release"
}.configureEach {
    if (localPropOrDef("DISABLE_APPLOVIN_PLUGIN", "false") == "true") {
        throw new IllegalArgumentException("Disable applovin-quality-service plugin in debug mode")
    }
}

Object localPropOrDef(String propertyName, Object defaultValue) {
    try {
        Properties properties = new Properties()
        properties.load(project.rootProject.file("local.properties").newDataInputStream())
        return properties.getProperty(propertyName, defaultValue)
    } catch (Exception ignored) {
        return defaultValue
    }
}

============================================================================
AppLovin Quality Service Plug-in for Gradle and Android Studio Version 4.8.1
Copyright (c) 2022 AppLovin Ltd. All rights reserved.
============================================================================

164 problems were found storing the configuration cache, 5 of which seem unique.
- Plugin 'applovin-quality-service': registration of listener on 'Gradle.buildFinished' is unsupported
  See https://docs.gradle.org/7.6/userguide/configuration_cache.html#config_cache:requirements:build_listeners
- Task `:app:processReleaseManifest` of type `com.android.build.gradle.tasks.ProcessMultiApkApplicationManifest`: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultConfiguration', a subtype of 'org.gradle.api.artifacts.Configuration', as these are not supported with the configuration cache.
  See https://docs.gradle.org/7.6/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:app:processReleaseManifest` of type `com.android.build.gradle.tasks.ProcessMultiApkApplicationManifest`: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer', a subtype of 'org.gradle.api.artifacts.ConfigurationContainer', as these are not supported with the configuration cache.
  See https://docs.gradle.org/7.6/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:app:processReleaseManifest` of type `com.android.build.gradle.tasks.ProcessMultiApkApplicationManifest`: cannot serialize object of type 'org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler', a subtype of 'org.gradle.api.artifacts.dsl.DependencyHandler', as these are not supported with the configuration cache.
  See https://docs.gradle.org/7.6/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:app:processReleaseManifest` of type `com.android.build.gradle.tasks.ProcessMultiApkApplicationManifest`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
  See https://docs.gradle.org/7.6/userguide/configuration_cache.html#config_cache:requirements:disallowed_types

@Goooler this looks like you're using the configuration cache on a release build which are not supported as discussed above

Yeah, I believe we'd better to keep this issue open if it has not been resolved.

@orilentz How can I disable this plugin for specific flavors?
I've tried disableIf flavor: 'thisFlavor' but seems not work.

try productFlavor rather than just flavor

try productFlavor rather than just flavor

Use disableIf productFlavor: 'thisFlavor' but can't disable ad review.

@Goooler Fix is released in our latest version - 4.9.0. disableIf flag should now work with configuration cache-d flavors (i.e. it should disable AppLovinQualityService on that flavor and not cause any build errors.)

disableIf flag should now work with configuration cache-d flavors (i.e. it should disable AppLovinQualityService on that flavor and not cause any build errors.)

How can I configure it in applovin?

1 problem was found storing the configuration cache.
- Plugin 'applovin-quality-service': registration of listener on 'Gradle.buildFinished' is unsupported
  See https://docs.gradle.org/7.6.1/userguide/configuration_cache.html#config_cache:requirements:build_listeners

See the complete report at file:///home/runner/work/caller-id/caller-id/build/reports/configuration-cache/5w4qf9ou2on1d964whvdgjnmh/1x0nkyr8yduvm4ucfbnjnkhh8/configuration-cache-report.html
> Listener registration 'Gradle.buildFinished' by build 'caller-id' is unsupported.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.

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

BUILD FAILED in 3m 47s

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.6.1/userguide/command_line_interface.html#sec:command_line_warnings
100 actionable tasks: 78 executed, 22 from cache

Publishing build scan...
https://gradle.com/s/t22mwf4rf3w2e

applovin {
    apiKey '...'
    disableIf productType: '...'
}

You can specify either productFlavor or buildType.

Seems I can disable CC for debug builds, but we wanna Applovin plugin can support CC fully.

That's not something we plan to support anytime soon. Best option is to disable and keep Ad Review on the final build for releasing (it can also really slow down build time while developing so it's encouraged to disable it on debug builds regardless)

Yeah, actually we already disabled it for debug builds, it might be better to keep this issue open to track things about CC, links #166.

So how can we use disableIf to continue to use gradle cache configuration? Thanks


⚠ Bofrost.fr has degraded performance

In 6d9772a, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1309 ms

Resolved: Bofrost.fr performance has improved in bc63081.


global listeners, except text inputs

At the moment I'm using my own method for listening on key events globally. This interferes with text inputs where I pause and resume my global listener on their focus and blur events. I do this manually. Can your plugin help me with that? That this will ignore key events on text inputs, when global once are registered?

@gossi we don't currently expose an option to disable/enable shortcuts based on whether or not there is a focused textarea or input. We manage this on a one-off basis per shortcut by checking document.activeElement.
I'd be interested in adding this as a feature. Would you find it more useful to be able to globally disable shortcuts any time an input has focus? Or would you want to be able to granularly disable per shortcut?

Cool! For me particular, a global option would be nice. However, since this is a general purpose plugin, both options should be available, you never know how one will be using your plugin.

Gotcha. Thanks for the info!

Closing this as we have merged the updates with the global config and register flag to disable when an input element is active.

@gossi please let me know if the new option works for you.

I just implemented it and it's a bless. I love you guys! Awesome job.


Remove third party libraries from version control

Required libraries should not be included in this project, they should instead be flagged as a dependency and pulled down from nuget and npm.

Needs a path to the files in question.

3rd party files:

TypeSpec/TypeSpec/Scripts/r.js
TypeSpec/TypeSpec/Scripts/require.js

A better approach would be to include them as dependencies in a package.json

The RequireJS NuGet package actually ships the files into the solution rather than using the "restore on build" feature... we would need to change the RequireJS package for this. I tested removing these files and they don't restore on build for other users and result in solution errors.