pre-built Shop Menu : selling items is broken

Go to https://rpgjs.dev/
Talk to the man to get the welcome message
Talk to his brother who gives you 1000 gold
Talk to the seller to open the shop menu
Try to sell your sword or shield.

You get this error message and the player control freezes:
bundle.js:1958 TypeError: Cannot destructure property 'item' of 'object null' as it is null.
    at bundle.js:103044
    at Proxy.map (<anonymous>)
    at Proxy.playerItems (bundle.js:103044)
    at ComputedRefImpl.reactiveEffect [as effect] (bundle.js:937)
    at ComputedRefImpl.get value [as value] (bundle.js:1721)
    at Object.get [as playerItems] (bundle.js:7202)
    at Object.get (bundle.js:7463)
    at Proxy.listItems (bundle.js:103034)
    at ComputedRefImpl.reactiveEffect [as effect] (bundle.js:937)
    at ComputedRefImpl.get value [as value] (bundle.js:1721)
bundle.js:52558 Uncaught TypeError: Cannot destructure property 'item' of 'object null' as it is null.
    at bundle.js:103044
    at Proxy.map (<anonymous>)
    at Proxy.playerItems (bundle.js:103044)
    at ComputedRefImpl.reactiveEffect [as effect] (bundle.js:937)
    at ComputedRefImpl.get value [as value] (bundle.js:1721)
    at Object.get [as playerItems] (bundle.js:7202)
    at Object.get (bundle.js:7463)
    at Proxy.listItems (bundle.js:103034)
    at ComputedRefImpl.reactiveEffect [as effect] (bundle.js:937)
    at ComputedRefImpl.get value [as value] (bundle.js:1721)

Fixed on the update (alpha.10)


Use named imports in docs

Current example:
<script>
  import Accessibility from "carbon-icons-svelte/lib/Accessibility.svelte";
</script>

<Accessibility />

Proposed example:
<script>
  import { Accessibility } from "carbon-icons-svelte";
</script>

<Accessibility />

Since a lot of the time Icons can be autocompleted, using named imports is something users may expect.

I agree that it would be more concise/correct to import from the root; however, I'm worried that users may run into #132 (without using the imports preprocessor or if using a non-Vite set-up).
This might be addressed if the architecture of this library is completely revamped #156

Agreed, #156 should resolve this. The main issue is with projects using a mix between named imports and deep imports may cause performance issues in dev mode. With the new icon set being thousands of icons, I believe having a single Icon.svelte should help with performance.
I haven't tested this, but in the current state (with<EMAIL_ADDRESS>it's probably most performant to use carbon-icons-svelte with deep imports, and without the optimizeImports preprocessor.

Actually, even in the interim, I'm fine with using named imports in the docs site because that's the happy path. The README should also be updated, which doesn't even mention the preprocessor.


Add input structure support to relay

Adds support for specifying Input parameters from relay shell arguments
Updates relay README to specify debugging procedure
Adds relay CI test

@ustiugov https://github.com/ease-lab/vSwarm/runs/6193597345?check_suite_focus=true#step:7:12
Can you see if this is due to some docker credential access problem?

Please request my review after all David's feedback is satisfied. I cannot keep up with all the reviews and you may risk waiting for hours or days unnecessarily.
I think you missed the docker log in part

I think you missed the docker log in part

I'm not sure I understand? Do you know why docker push isn't working on CI? It works locally.


JUnitReporter breaks seed output

Overview
We have a problem with the "# Running tests with run options --seed xxxx:" not outputting when we run the tests with a JUnitReporter.
Repro steps
# In test helper
reporters = [Minitest::Reporters::DefaultReporter.new(color: true)]
reporters << Minitest::Reporters::JUnitReporter.new('test/reports', true, { single_file: true })
Minitest::Reporters.use!(reporters)

# Run test suite
bundle exec rails test

Expected behaviour
"# Running tests with run options --seed xxxx:" is outputted to stdout when we run the tests.
Actual behaviour
We don't get such output.
Note
When we omit the JUnitReporter, we see the expected behaviour.

Thanks for reporting!
Unfortunately, I'm not able to reproduce this behavior in my test application. The "# Running tests with run options --seed xxxx:" lines shows up fine for me using the exact same configuration of reporters you're using. Are you able to provide a script or sample app to help me reproduce this?

Sorry, I wasn't able to reproduce it anymore either. So let's forget about this 😊


Use Array.flat instead of arrays.flatten

Use Array.prototype.flat enabled by "ES2019.Array" rather than a util function.
Just code removing code, shouldn't have any functional effect.

I am not familiar with the ES2019 spec and what platforms support it. @mjbvz @jrieken

There is still the monaco-editor subset of our code that needs to run on classic-edge which doesn't support flat. Apart from that we do not accept PRs that are "cosmetic" and cross feature areas/owners. Sorry, closing.

Alright, understood.


[server side cargo watch] Warnings only shown for open files

Is this a request for limiting warning output, or a statement that it currently doesn't show the errors in a way you'd expect?

Warnings are currently only shown for open files, while I expect it for all files.

Interesting. What editor do you use? It might be an issue of editor support as this works on my VSCode setup.

I use VSCode too.

Interesting. It works on my end:

Anything in the "Rust Analyzer Language Server" output log?

Can't check for a few days.

Several other people have reported the same issue.

Just to get some more variables out on the table: What OS are you using?

This was on macOS.

I've added some extra output over on the watch-debug branch of my fork. Once you get the opportunity, would you mind giving that a go and sharing the text from the Output tab from "Rust Analyzer Language Server".

It does show warnings for closed files now.

Only the debug branch or master as well? If it works on the debug branch
and not master we've got a nasty heisenbug.
On Sat, 11 Jan 2020, 14:32 bjorn3<EMAIL_ADDRESS>wrote:

It does show warnings for closed files now.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rust-analyzer/rust-analyzer/issues/2707?email_source=notifications&email_token=AABTDKKRAUBT4ZVAVEA4JA3Q5HC6LA5CNFSM4KBWALRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIWCBMA#issuecomment-573317296,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABTDKP333D44J4T3TLC6OTQ5HC6LANCNFSM4KBWALRA
.

Master at 1327aed7f6289043091aa9179282030c6f13ddbe. This is an older version, but definitely not older than the version I had this problem with.

Sorry, I'm having trouble following you. Is what you're saying that: You used to have the issue, but it's working now?

Yes


Change containerize.exe's console output to adhere to the MSBuild canonical format

Currently, errors reported from container building that occur from inside VS (and as a result invoke the containerize tool) do not have good error formatting. This is because much of the output from the containerize tool doesn't match the MSBuild Canonical Error Format. We should change this so that every warning and error reported from this tool has codes, file and line information, etc - as much as possible the same output as the net7.0 output.

From discussion:

canonical error format doesn't support help links
TODO: check if VS has a fallback to link in specific format
consider adding help link to canonical error format (needs to be done in MSBuild). This can be beneficial as terminal now supports links.

I added the blocked label because currently the VS Publish output doesn't respect the MSBuild canonical error format. We've got a conversation going with our VS Partners on the Publish team to dig in further.

We've implemented this, but VS publish separately needs to handle this. Our side is done.


check whether tsp is outdated in custom metric provider

What type of PR is this?
bugfix
What this PR does / why we need it:
The GetMetricBySelector method judges the condition of the tsp but does not judge whether the timestamp of the metric of the tsp is within the validity period, which may result in the largestMetricValue not being assigned.
So here it is judged whether there is a metric within the validity period in the tsp
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

/LGTM

/LGTM


 stopped working.

Exception in thread Thread-74 (get_embeddings):
Traceback (most recent call last):
File "C:\Python310\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Python310\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "C:\AI\SD\stable-diffusion-webui\extensions\a1111-sd-webui-tagcomplete\scripts\tag_autocomplete_helper.py", line 92, in get_embeddings
while len(sd_hijack.model_hijack.embedding_db.word_embeddings) + len(sd_hijack.model_hijack.embedding_db.skipped_embeddings) < len(embs_in_dir):
AttributeError: 'EmbeddingDatabase' object has no attribute 'skipped_embeddings'. Did you mean: 'word_embeddings'?
Reloading modules: modules.ui
Refreshing Model List
Restarting Gradio
Running on local URL:  http://<IP_ADDRESS>:7860
To create a public link, set share=True in launch().

It was working a fine till yesterday.

Update your webui. skipped_embeddings is a very recent addition to the webui (~1 day ago), but needed for the v1/v2 embedding metadata I added.

Glad you find it useful!
To be on the safe side, I'll add a fallback, then it shouldn't stop working on older versions.
At least for now while it's still very recent and many users might not have updated the webui itself yet.


dom.appendChild() And canvas.getContext() throw error

1.when i do this in my progarm's source code:
        [HTMLDivElement].appendChild([HTMLCanvasElement])

It threw an error:
"TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'."
i don't known it is because of  the 'appendChild' method or canvas element in jest.
And the 'appendChild' method doesn't work in jsdom too, with threw error:
"HierarchyRequestError: The operation would yield an incorrect node tree."

when i use canvas.getContext, my test program will block until manual stop;

Please follow the issue template. Will reopen when that's done (please ping me, there are no notifications for edits)


[docs]: Improve the "local development" instructions

It would be helpful for newcomers to have a bit more description and guidance in the form of a step-by-step set of instructions to getting this project up and running.  Something akin to:

Clone the repo: git clone https://github.com/FirebaseExtended/karas-coffee
Go to the project directory: cd karas-coffee
Start the local development system:  yarn dev  << this starts the app in the "website" directory
. . .

What isn't currently clear, especially for newcomers, is the distinction between "local dev" and "deploy hosting" and "importing data into Stripe", etc.  Unless the audience is experienced with all of these techs (React, Stripe, Firebase Hosting, Firebase Auth, etc...), there is little chance they'll know what to do.
Even as someone experienced with all of these techs, I personally find myself looking through package.json files and hunting around for "firebaseConfig" in the code to figure out what is actually happening.
Some very light-weight guidance such as above would go a long way to making this project more accessible to developers of varying levels of experience.

@gregfenton You are absolut right. I am new in the Firebase Univers and I could not launch the application. 'yarn dev' just doesn't worked for me. There are a few necessary steps before you can execute this command. I also do not know if I have to replace the Firebase key on mine or not. So I wanted also write an Issue for a more detailed description. That would be really useful because the app is just awesome.


Document static files configuration in settings.py

Wiki updated and wiki page linked into README.md in https://github.com/wfhio/tramcar/commit/df3d57010eab16e9095adfa173df2218bc3b9ec3.


Xcode older version and cpp 14 compatibility problem, a possible fix with boost

DESCRIPTION

In our project, with XCode 12.4, Target lowest iOS 9, cant compile the code--due to c++17 compatibility

I really like the idea of using string_view to achieve 0-copy, and I want this lib to work anyway.

So I made type adaption with boost::string_view to avoid c++ 17 requirements
The unit tests within the code are so good, which make the modification a lot easier and I managed to get all tests to pass.
Code is running in our CI system; iOS, Android, no compile error.

To ashaduri: I am not sure you like the idea of using boost. Some macros are more or less seem to contaminate the elegance of the origin code.  I am trying to integrate this lib into our project to improve some table performance. Tell me if you find any problem.

CODE EXPLAIN
Type adaptation

std::string_view to csv_string_view(boost:string_view/std::string_view)
std::optional to csv_optional(boost::optional/std::optional)
std::variant to csv_variant(boost::variant/std::variant)
std::nullopt to csv_nullopt(boost::none_t/std::nullopt)
std::bad_variant_access(boost::variant2::bad_variant_access/std::bad_variant_access)
String to CsvString to avoid conflict with what may happen: typedef std::string String

Grammar

if(assignment; condition) to assignment; if(condition)
std::holds_alternative(value_) to if(boost::get(&value_) != nullptr)
std::get(&value_) to directly using result of boost::get(&value_), if not nullptr

Patch Info

Base on: b8b0e136733b5efee71c809e2d54c3835c34beb4
Fix Catch2 include path to be SYSTEM include.
Both git format-patch and patched code are submitted

Xcode-Cpp14-compatibility-Patch.zip

Hello @alenwesker ,
First of all, thank you for using this library and actually adapting the code to your needs.
I'm happy you did so much work and were able to do a Boost port with all the tests passing.
However, I'm not sure about merging the patches into the main code, mainly due to the following reasons:

It was intended as a clean, pure C++17 library from the start, so no dependencies (even if optional).
I wanted to utilize C++17 to the fullest, to create a truly modern library (hence the compile-time nature).
Having macros which replace half of the code makes the maintenance twice as hard, especially with Boost also evolving.

Having said that, I understand that sometimes, going against the vision of the project is simply necessary to "get the work done".
What I mean is, I would welcome from you (and encourage) an alternative fork with Boost support.
As for iOS/Android, do you have any information on which XCode / iOS and Android versions would support this code "as is"? I'm open to small patches (and, if possible, setting up GitHub Actions for these systems).
Thanks,
Alexander

Agree. Sometimes I feel so troublesome to adapt code to Xcode. While AndroidStudio and VS work well in most cases, Xcode keeps generating wired compiling warnings/errors. Although most are reasonable regulations on code stability, one can't simply update Xcode while needing older platforms' compatibility. This patch issue is just in case someone needs it.
I will contribute a formal patch as I continue using it on the ongoing project.
Thank you for your reply.

Closing this as "outside the scope of the project".


Selecting specific relationship fields

Describe the bug
Hello, I am trying to use the entity manager to query for specific fields in the relationship data. In my case I am trying to query for all of the author's books but only want the title values. Right now I am getting both the title and genre values. Can you please assist me in figuring out why this is happening?
Author.ts
@Entity({ tableName: "authors" })
export class Author extends BaseEntity {
  @Property()
  @Unique()
  name: string;

  @OneToMany('Book', 'author')
  books = new Collection<book>(this);

  constructor(name: string) {
    super();
    this.name = name;
  }
}

Book.ts
@Entity({ tableName: "books" })
export class Book extends BaseEntity {
  @Property()
  @Unique()
  title: string;

  @Property()
  genre: string;

  @ManyToOne('Author')
  author!: Author;

  constructor(title: string, genre: string) {
    super();
    this.title = title;
    this.genre = genre;
  }
}

Code that I am calling:
const author = await em().findOne(Author,
  authorId, {
  populate: { books: LoadStrategy.SELECT_IN, },
  fields: ['name', 'books.title'],
});

Expected behavior
I expect only the book title values and not the genre values.
Versions
| Dependency | Version |
| node | v16.13.1 |
| typescript | v4.3.5 |
| mikro-orm | v4.5.9 |
| mongodb | v4.5.9 |

One way I can think of doing this is to do 2 separate queries. One to get the author id and then another one to query books for that specific author id. This creates 2 calls to the database which is not ideal.

Hmm, looks like this is already happening when I used the query in my example. It is running 2 separate queries to the database. Can this be only one?

Just tried running:
    const books = await em().findAndCount(Book,
      { author: author.id },
      {
        fields: ['title'],
      });

Thought this returns both genre and title fields. Is my syntax missing anything?

Is this issue related to these bugs?
https://github.com/mikro-orm/mikro-orm/issues/1707
https://github.com/mikro-orm/mikro-orm/issues/1739


Switching from one wallet to another then back to the first wallet (without disconnecting) causes blank screen.

@theoboldfrazier - can you confirm this is still an issue, we are unable to reproduce.


TextField doesn't handle trailing space as characters if textAlign is TextAlign.right/TextAlign.center

Steps to Reproduce

Run flutter create bug.
Update main.dart as follows: ...

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'TextField trailing space',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key? key, required this.title}) : super(key: key);
  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  var textAlign = TextAlign.center;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              'You have pushed the button this many times:',
            ),
            TextField(
              maxLines: null,
              textAlign: textAlign,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: () {setState(() {
          textAlign = (textAlign == TextAlign.right) ? TextAlign.center : TextAlign.right;
        });},
        tooltip: 'Increment',
        child: Icon(Icons.add),
      ),
    );
  }
}

Write a single character, then press space repeatedly until the end of line is reached. Then type a character eg 'a'.

Expected results: proper line break for space characters/ space characters push back input string textAlign is TextAlign.right
Actual results: space characters are stopped at the end of TextField and won't be handle as normal character input (break into new line, pushing the input string if textAlign is TextAlign.right).

Logs

[  +70 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +400 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +2 ms] 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[        ] executing: [C:\flutter/] git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[ +126 ms] Exit code 0 from: git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[   +1 ms] 2.2.1
[   +5 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +31 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/stable
[        ] executing: [C:\flutter/] git ls-remote --get-url origin
[  +26 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +114 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[  +34 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] stable
[  +92 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +55 ms] executing: C:\Users\LENOVO\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +42 ms] List of devices attached
           z9q48ln7wsdambss       device product:begonia model:Redmi_Note_8_Pro device:begonia transport_id:4
[   +6 ms] C:\Users\LENOVO\AppData\Local\Android\sdk\platform-tools\adb.exe -s z9q48ln7wsdambss shell getprop
[  +73 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +154 ms] Skipping pub get: version match.
[ +112 ms] Generating D:\Project\Flutter\text_painter\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +56 ms] ro.hardware = mt6785
[   +1 ms] ro.build.characteristics = default
[  +31 ms] Initializing file store
[  +10 ms] Skipping target: gen_localizations
[   +6 ms] complete
[   +5 ms] Launching lib\main.dart on Redmi Note 8 Pro in debug mode...
[   +4 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/
--incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill C:\Users\LENOVO\AppData\Local\Temp\flutter_tools.a1da3f28\flutter_tool.3ff19486\app.dill
--packages D:\Project\Flutter\text_painter\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill
build\3c113a45063dc6628e68a4111abcacad.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[  +30 ms] executing: C:\Users\LENOVO\AppData\Local\Android\sdk\build-tools\30.0.2\aapt dump xmltree D:\Project\Flutter\text_painter\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +49 ms] Exit code 0 from: C:\Users\LENOVO\AppData\Local\Android\sdk\build-tools\30.0.2\aapt dump xmltree D:\Project\Flutter\text_painter\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[   +1 ms] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.example.text_painter" (Raw: "com.example.text_painter")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="text_painter" (Raw: "text_painter")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.text_painter.MainActivity" (Raw: "com.example.text_painter.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +7 ms] executing: C:\Users\LENOVO\AppData\Local\Android\sdk\platform-tools\adb.exe -s z9q48ln7wsdambss shell -x logcat -v time -t 1
[   +8 ms] <- compile package:text_painter/main.dart
[ +157 ms] --------- beginning of main
                    07-20 00:54:06.913 I/ADB_SERVICES(23105): post waitpid (pid=31212) status=0000
[  +12 ms] executing: C:\Users\LENOVO\AppData\Local\Android\sdk\platform-tools\adb.exe version
[  +22 ms] Android Debug Bridge version 1.0.41
           Version 30.0.4-6686687
           Installed as C:\Users\LENOVO\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +2 ms] executing: C:\Users\LENOVO\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[  +24 ms] Building APK
[  +17 ms] Running Gradle task 'assembleDebug'...
[   +9 ms] Using gradle from D:\Project\Flutter\text_painter\android\gradlew.bat.
[  +11 ms] executing: [D:\Project\Flutter\text_painter\android/] D:\Project\Flutter\text_painter\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm64 -Ptarget=D:\Project\Flutter\text_painter\lib\main.dart
-Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +797 ms] Welcome to Gradle 6.7!
[   +1 ms] Here are the highlights of this release:
[   +1 ms]  - File system watching is ready for production use
[   +1 ms]  - Declare the version of Java your build requires
[        ]  - Java 15 support
[        ] For more details see https://docs.gradle.org/6.7/release-notes.html
[+4364 ms] > Task :app:compileFlutterBuildDebug
[   +2 ms] [ +118 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +2 ms] [ +479 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] [        ] 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[   +5 ms] [        ] executing: [C:\flutter/] git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[   +2 ms] [  +56 ms] Exit code 0 from: git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[   +2 ms] [        ] 2.2.1
[   +1 ms] [  +10 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] [  +46 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] [        ] origin/stable
[        ] [        ] executing: [C:\flutter/] git ls-remote --get-url origin
[   +1 ms] [  +27 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] [        ] https://github.com/flutter/flutter.git
[        ] [  +67 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[   +4 ms] [  +36 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] [        ] stable
[   +1 ms] [  +63 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +3 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +5 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] [   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +3 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +1 ms] [ +107 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[   +3 ms] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +1 ms] [   +3 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +3 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[   +3 ms] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[   +1 ms] [  +36 ms] Initializing file store
[   +1 ms] [  +22 ms] Skipping target: gen_localizations
[        ] [  +13 ms] kernel_snapshot: Starting due to {}
[   +3 ms] [ +106 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --no-link-platform --packages D:\Project\Flutter\text_painter\.dart_tool\package_config.json --output-dill D:\Project\Flutter\text_painter\.dart_tool\flutter_build\60b53fb5fa496bd16c6b90a133d5c8c5\app.dill
--depfile D:\Project\Flutter\text_painter\.dart_tool\flutter_build\60b53fb5fa496bd16c6b90a133d5c8c5\kernel_snapshot.d package:text_painter/main.dart
[+9696 ms] [+9823 ms] kernel_snapshot: Complete
[ +701 ms] [ +623 ms] debug_android_application: Starting due to {}
[ +298 ms] [ +338 ms] debug_android_application: Complete
[ +597 ms] [ +564 ms] Persisting file store
[   +1 ms] [   +7 ms] Done persisting file store
[        ] [   +9 ms] build succeeded.
[        ] [  +18 ms] "flutter assemble" took 11,689ms.
[ +201 ms] [ +149 ms] ensureAnalyticsSent: 145ms
[   +1 ms] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +185 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[   +1 ms] > Task :app:preBuild UP-TO-DATE
[   +1 ms] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[ +107 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE
[   +1 ms] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +295 ms] > Task :app:copyFlutterAssetsDebug
[   +1 ms] > Task :app:generateDebugResValues UP-TO-DATE
[   +1 ms] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :app:processDebugMainManifest UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[  +84 ms] > Task :app:processDebugResources UP-TO-DATE
[   +1 ms] > Task :app:compileDebugKotlin UP-TO-DATE
[        ] > Task :app:javaPreCompileDebug UP-TO-DATE
[        ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileDebugSources UP-TO-DATE
[        ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[ +208 ms] > Task :app:processDebugJavaRes NO-SOURCE
[   +1 ms] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[  +94 ms] > Task :app:dexBuilderDebug UP-TO-DATE
[  +98 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[ +102 ms] > Task :app:mergeExtDexDebug UP-TO-DATE
[   +1 ms] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[+1196 ms] > Task :app:compressDebugAssets
[+2994 ms] > Task :app:packageDebug
[ +107 ms] > Task :app:assembleDebug
[   +1 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 22s
[        ] 32 actionable tasks: 7 executed, 25 up-to-date
[ +602 ms] Running Gradle task 'assembleDebug'... (completed in 22.9s)
[+1496 ms] calculateSha: LocalDirectory: 'D:\Project\Flutter\text_painter\build\app\outputs\flutter-apk'/app.apk
[ +672 ms] √  Built build\app\outputs\flutter-apk\app-debug.apk.
[  +22 ms] executing: C:\Users\LENOVO\AppData\Local\Android\sdk\build-tools\30.0.2\aapt dump xmltree D:\Project\Flutter\text_painter\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +91 ms] Exit code 0 from: C:\Users\LENOVO\AppData\Local\Android\sdk\build-tools\30.0.2\aapt dump xmltree D:\Project\Flutter\text_painter\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.example.text_painter" (Raw: "com.example.text_painter")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="text_painter" (Raw: "text_painter")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.text_painter.MainActivity" (Raw: "com.example.text_painter.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +2 ms] Stopping app 'app.apk' on Redmi Note 8 Pro.
[        ] executing: C:\Users\LENOVO\AppData\Local\Android\sdk\platform-tools\adb.exe -s z9q48ln7wsdambss shell am force-stop com.example.text_painter
[ +156 ms] executing: C:\Users\LENOVO\AppData\Local\Android\sdk\platform-tools\adb.exe -s z9q48ln7wsdambss shell pm list packages com.example.text_painter
[  +76 ms] package:com.example.text_painter
[   +2 ms] executing: C:\Users\LENOVO\AppData\Local\Android\sdk\platform-tools\adb.exe -s z9q48ln7wsdambss shell cat /data/local/tmp/sky.com.example.text_painter.sha1
[  +53 ms] ab183ad7343b06705bd1ea64528edc9748a9ad55
[   +1 ms] Installing APK.
[   +2 ms] Installing build\app\outputs\flutter-apk\app.apk...
[        ] executing: C:\Users\LENOVO\AppData\Local\Android\sdk\platform-tools\adb.exe -s z9q48ln7wsdambss install -t -r D:\Project\Flutter\text_painter\build\app\outputs\flutter-apk\app.apk
[+6589 ms] Performing Streamed Install
                    Success
[   +1 ms] Installing build\app\outputs\flutter-apk\app.apk... (completed in 6.6s)
[   +1 ms] executing: C:\Users\LENOVO\AppData\Local\Android\sdk\platform-tools\adb.exe -s z9q48ln7wsdambss shell echo -n b51456567897f09aa40954cddad52944e006976c > /data/local/tmp/sky.com.example.text_painter.sha1
[  +77 ms] executing: C:\Users\LENOVO\AppData\Local\Android\sdk\platform-tools\adb.exe -s z9q48ln7wsdambss shell -x logcat -v time -t 1
[ +233 ms] --------- beginning of main
                    07-20 00:54:39.908 D/AppCompatStateReceiver( 5195): json params=[{"pkg":"com.example.text_painter","ver":"1"}]
[   +6 ms] executing: C:\Users\LENOVO\AppData\Local\Android\sdk\platform-tools\adb.exe -s z9q48ln7wsdambss shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling
true --ez enable-checked-mode true --ez verify-entry-points true com.example.text_painter/com.example.text_painter.MainActivity
[ +294 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.text_painter/.MainActivity (has extras) }
[   +1 ms] Waiting for observatory port to be available...
[+1233 ms] Observatory URL on device: http://<IP_ADDRESS>:43745/-LS0ARhsix0=/
[   +1 ms] executing: C:\Users\LENOVO\AppData\Local\Android\sdk\platform-tools\adb.exe -s z9q48ln7wsdambss forward tcp:0 tcp:43745
[  +17 ms] 61270
[        ] Forwarded host port 61270 to device port 43745 for Observatory
[   +4 ms] Caching compiled dill
[ +129 ms] Connecting to service protocol: http://<IP_ADDRESS>:61270/-LS0ARhsix0=/
[ +335 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at http://<IP_ADDRESS>:61270/-LS0ARhsix0=/.
[ +154 ms] DDS is listening at http://<IP_ADDRESS>:61275/aHs7bxSCInQ=/.
[  +56 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:61270/-LS0ARhsix0=/
[  +31 ms] DevFS: Creating new filesystem on the device (null)
[  +80 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.text_painter/code_cache/text_painterUEFLBS/text_painter/)
[   +1 ms] Updating assets
[  +69 ms] Syncing files to device Redmi Note 8 Pro...
[   +2 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +2 ms] <- recompile package:text_painter/main.dart 9a40f0d2-91f5-4fb6-b5db-736d8da4b362
[        ] <- 9a40f0d2-91f5-4fb6-b5db-736d8da4b362
[  +23 ms] I/OpenGLRenderer(31488): Davey! duration=867ms; Flags=1, IntendedVsync=1826060224492527, Vsync=1826060838091203, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=1826060855516865,
AnimationStart=1826060855588865, PerformTraversalsStart=1826060855593788, DrawStart=1826060871165172, SyncQueued=1826060873681865, SyncStart=1826060873895634, IssueDrawCommandsStart=1826060876239326, SwapBuffers=1826061088240634,
FrameCompleted=1826061091827403, DequeueBufferDuration=3112000, QueueBufferDuration=248000,
[   +1 ms] W/Looper  (31488): Slow Looper main: doFrame is 623ms late because of 1 msg, msg 1 took 639ms (late=1ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver)
[  +57 ms] Updating files.
[        ] DevFS: Sync finished
[   +1 ms] Syncing files to device Redmi Note 8 Pro... (completed in 89ms)
[        ] Synced 0.0MB.
[   +1 ms] <- accept
[  +30 ms] Connected to _flutterView/0x6f71f0c820.
[   +2 ms] Flutter run key commands.
[   +1 ms] r Hot reload.
[   +1 ms] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ]  Running with sound null safety
[        ] An Observatory debugger and profiler on Redmi Note 8 Pro is available at: http://<IP_ADDRESS>:61275/aHs7bxSCInQ=/
[ +859 ms] The Flutter DevTools debugger and profiler on Redmi Note 8 Pro is available at: http://<IP_ADDRESS>:9102?uri=http%3A%2F%2F<IP_ADDRESS>%3A61275%2FaHs7bxSCInQ%3D%2F
[+5233 ms] I/le.text_painte(31488): ProcessProfilingInfo new_methods=617 is saved saved_to_disk=1 resolve_classes_delay=8000
[+106250 ms] D/Surface (31488): Surface::disconnect(this=0x6f5da0e000,api=1)
[   +2 ms] D/Surface (31488): Surface::disconnect(this=0x6f5da0e000,api=-1)
[ +235 ms] D/Surface (31488): Surface::disconnect(this=0x6f5da0d000,api=1)
[  +20 ms] V/PhoneWindow(31488): DecorView setVisiblity: visibility = 4, Parent = android.view.ViewRootImpl@3538a2b, this = DecorView@6ed1e88[MainActivity]

Analyzing text_painter...
No issues found! (ran in 2.4s)

[√] Flutter (Channel stable, 2.2.1, on Microsoft Windows [Version 10.0.19042.1110], locale en-US)
    • Flutter version 2.2.1 at C:\flutter
    • Framework revision 02c026b03c (8 weeks ago), 2021-05-27 12:24:44 -0700
    • Engine revision 0fdb562ac8
    • Dart version 2.13.1

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\LENOVO\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Program Files\Java\jdk-11.0.11\bin\java
    • Java version Java(TM) SE Runtime Environment 18.9 (build 11.0.11+9-LTS-194)
    • All Android licenses accepted.

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

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

[√] IntelliJ IDEA Community Edition (version 2020.3)
    • IntelliJ at D:\IntelliJ IDEA Community Edition 2020.3.2
    • 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.58.2)
    • VS Code at C:\Users\LENOVO\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.24.0

[√] Connected device (3 available)
    • Redmi Note 8 Pro (mobile) • z9q48ln7wsdambss • android-arm64  • Android 9 (API 28)
    • Chrome (web)              • chrome           • web-javascript • Google Chrome 91.0.4472.124
    • Edge (web)                • edge             • web-javascript • Microsoft Edge 91.0.864.70

Hi @tranvietha2809,
I could see this working correctly Since we have aligned the text to center adding any text after the space the whole thing will be center aligned. Are you not seeing the similar behaviour?
https://user-images.githubusercontent.com/31410839/126288259-d64f672f-1675-4d00-9d38-f4dfa40f6126.mov
Thank you.

Hello @maheshmnj.
I am seeing similar response to you. But why isn't the trailing spaces be treated as normal characters? Such as line break behaviors, pushing the text to their correct alignment, etc...

Hi @tranvietha2809, Theres a similar issue https://github.com/flutter/flutter/issues/40648 open which reports this case. You may follow up there for further updates. I am going to close this issue as a duplicate if you disagree feel free to comment and I will reopen it.
Thank you.

Reopening this issue as this isn;t a duplicate

The issue is reproducible on the latest stable and the master channel, The alignment of the text doesn't remain in center when the spaces are added at the end, But if the spaces are added in between the text, the whole text is correctly aligned in the center as we type.

Output
https://user-images.githubusercontent.com/31410839/126324212-2cfb5a4d-afbc-48ad-b55a-fc829dd90882.mov

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-arm, locale en-GB)
    • Flutter version 2.2.3 at /Users/mahesh/Documents/flutter
    • Framework revision f4abaa0735 (3 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

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

[✓] Android Studio (version 4.2)
    • 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 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.1.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 57.0.5
    • Dart plugin version 211.7233

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

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • 6A434744-B348-4FB3-AB10-131292174456 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS
      11.4 20F71 darwin-arm
    • Chrome (web)               • chrome                               • web-javascript • Google
      Chrome 91.0.4472.164

• No issues found!

[✓] Flutter (Channel master, 2.4.0-5.0.pre.87, on macOS 11.4 20F71 darwin-arm, locale en-GB)
    • Flutter version 2.4.0-5.0.pre.87 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e084e9d946 (2 days ago), 2021-07-17 12:00:21 -0700
    • Engine revision 14a9e9a50e
    • Dart version 2.14.0 (build 2.14.0-321.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

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

[✓] Android Studio (version 4.2)
    • 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 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.1.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 57.0.5
    • Dart plugin version 211.7233

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

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • 6A434744-B348-4FB3-AB10-131292174456 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-4
      (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 11.4 20F71 darwin-arm
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 91.0.4472.114

• No issues found!


fix git URL in pixi.toml, relock

With the current pixi version 0.29.0, I cannot install this project's environment. The syntax for git PyPI dependencies has changed, which is incorporated in this PR.
I only don't understand why we use the git repository for conda-oci-mirror in the first place, when there is a conda-forge version of it. Is it because Streamlit does not support conda-forge dependencies or pixi?

@jaimergp pinging you for a review

Streamlit deploys from requirements.txt, so the pixi.toml is just there for convenience during development. I guess when I bootstrapped the repo the conda package was not there yet, so we had to install from git.


[Hotfix] Fix GitHub labeler configurations

Why are the changes needed?

As titled.
Brief change log

Fix some errors in .github/labeler.yml

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before making a pull request

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

Thanks for the review. @tcodehuber


Change Paragraph Color: Hero component - Good First Issue

The hero component has a paragraph that's currently very light in color. Although its okay in large and medium screens, please observe it in mobile view. It is unreadable.

Task: Change the color of the paragraph to darker so it's accessible. Attention: change ONLY on mobile view.
If you think you can help with this task, please comment below to be assigned. Read contributing.md and open PRs to the DEVELOPMENT branch. Not main.
Thank you and happy collab! =)

Hello!
May I work on this issue?
If so, should it be the darker color of the one that is there (teal color) or should it be a different color such as grey or black?
Thank you.

@seiji327 All yours =)
I think of one of the dark tones we are currently working with. Ill let you make that decision =)
Thanks and happy collab!

@Medic1111 Thanks!
While I was working on the issue, I did realize that the text is not centered in the range of approximately 639px ~ 540px screen width (screen shot below).

Would it be okay to add the fix of this to the PR or would you be opening a new issue?

Oh please center it! Nice Catch and great job! Thank you so much!


having problems with the plugin and the component

Hello, i cant make it work, im adding it as a global component from my app.js like this:
// Import component
import {Loading} from 'vue-loading-overlay';
Vue.component('loading',
    Loading
);
// Import stylesheet
import 'vue-loading-overlay/dist/vue-loading.min.css';

then i add on my .vue file this:
<loading :active.sync="isSaving" :can-cancel="true"></loading>

but when i change the variable value i dont see the loading on screen
and i tried as a plugin but i get an error on install it says install on undefined
it was working on development but i had to change the import like this:
// Import component
import {LoadingPlugin} from 'vue-loading-overlay/src/index';
// Import stylesheet
import 'vue-loading-overlay/dist/vue-loading.min.css';
// Init plugin
Vue.use(LoadingPlugin);

but that code wasnt able to compile con production environment of vue
can you please help me as i really want to use this amazing component.
thanks

Never import from src folder.
The examples in readme never instructs to import from src , there should be dist folder.
Let me if you made any progress

if i do this as the example and readme:
import {LoadingPlugin} from 'vue-loading-overlay';

I get an error

@antonioreyna
Just an update, it seems there is an issue with build, i am looking into it.

@antonioreyna
Thanks for reporting the issue.
I have released v2.0.0 that fixes this issue.
There is a change in usage also. Please check readme file for updates.


Observe keyboard presentation and dismissal

For use when presented controller is presented as a popup. Use case for
when user has a text field and doesn’t want the keyboard to cover the
bottom part of the presented view which would normally contain some
kind of button.
The view also won't dismiss on the tap of the container view when the keyboard is being shown. Instead, it will simply dismiss the keyboard. Added 'PresentrKeyboardDelegate' that has 'shouldDismissKeyboard' to which the presented view controller can conform to. This will notify that controller of the tap on the container so it can dismiss the keyboard
Added 'KeyboardTranslationType' with '.MoveUp', '.Compress', '.None'. Move up will simply translate the view up on the y axis. Compress compresses the view between the keyboard and the status bar.

Since I'm also interesting in that feature, I take a look of the usage 😆
I just have a question: why observeKeyboard is public? Its state should be directly related to keyboardTranslationType, if the value is .Compress or .MoveUp, then the keyboard must be observed, whereas if the value is .None, the keyboard won't be observed.

@tbaranes Good point. #16 originally had just the MoveUp translation but I needed to support Compress for a different use case. I guess adding the TranslationType made 'observeKeyboard' redundant. You're right to point out there virtually no need for it now.

@tbaranes Oh. Just remember why it's relevant. You can observe keyboard without the translation of the view if you just want the tap on the container view to not dismiss the keyboard.

Nice feature 🤔In that case, I think you should rename it. Having these both variables will be definitely confusing!

Nice work guys! Sorry I'm late I was busy but finally got some time to look this over. This will probably be a common use case so it's important we get it right.
Looked over the code, at first glance looks good, just have a couple of points to be looked at. Discussion/comments from both are welcome :)
Starting in the KeyboardTranslation.swift file
1st Point
public protocol PresentrKeyboardDelegate {

I think this could be called PresentrDelegate, which is a protocol that the Presented View Controller can conform to, if they want to make any decision or be alerted of any actions. This way any other delegate methods we want to add later on could be added to this protocol.

We could have these two methods for now.
func keyboardShouldPreventDismissal -> Bool{
    return true
}
func chromeViewTapped{
    // They can perform any extra actions when the chrome view is tapped, before the VC is dismissed.
//If they return true from the keyboardShouldPreventDismissal method, then this is where they would dismiss the keyboard.
}

This way, on @tbaranes point. The observeKeyboard public property does even not have to exist. We get this information in the PresentrController through private computed properties. If the presented view controller cares about the keyboard dismissal OR if the keyboardTranslationType is different than .None, then we care about the keyboard notifications, if not we don't.

private var shouldPresentedPreventDismissal: Bool{
    let presented = presentedViewController as? PresentrDelegate
    return presented?.keyboardShouldPreventDismissal
}

private var shouldObserveKeyboard: Bool{
    return shouldPresentedPreventDismissal ||
    ((keyboardTranslationType != .None) && presentationType == .Popup)
}

2nd Point
public static func getTranslationFrame (type : KeyboardTranslationType, keyboardFrame : CGRect, presentedFrame : CGRect) -> CGRect {

I think this method should not be static. It's a method that makes calculations and returns a value based on the enum case. So this should be an instance method, that way you no longer have to pass in the KeyboardTranslationType as an argument, it could just switch on Self. It could look something like this.
public func getTranslationFrame(keyboardFrame : CGRect, presentedFrame : CGRect) -> CGRect {
    switch self{
        case .MoveUp
        case .Compress
        etc...
    }
}

3rd Point
Why is this only available when the PresentationType is .Popup ? Should this be available in other types?
What do you guys think?
Happy friday ! :)

1st Point
I agree. This will lay down the foundation for additional features.
2nd Point
Yup. This is probably the best design.
3rd Point
It doesn't have to be. To be honest, this was the only use case I had it for and I was on a time constraint with the project I was working on so I didn't have time to test it with the other presentation types.
It's good to have another set of eye's looking over this. I merely wanted to provide a starting point to implement this.  Great job Presentr so far! I am really enjoying it.

Yeah, that's what this is for. To provide a starting point, look at it together, discuss it, iterate over it, etc... :)
Well I think for now we can start with .Popup, and get the architecture all worked out.
Later on I can probably get started contributing some code and we can start messing with other PresentationType's , and see if there's any extra handling we need to do depending on the type/size.
I think it's looking pretty good! Thanks for contributing, this is the first time I've open sourced something, the feedback and contribution has been great so far
:+1:

I have time to work on this now. Couple questions:

Should PresentrKeyboardDelegate's methods be optional?

keyboardShouldPreventDismissal could be presentrShouldDismiss() -> Bool which would default to true.

This would behave like a textFieldShouldReturn.

This is the time for a delegate to perform any actions on dismissal or prevent the dismissal entirely. Would this also replace the chromeViewTapped?

The use case for this would be the user wants to know if the chrome view was tapped but needs to verify some properties before allowing it to dismiss. That way it doesn't have to be exclusive to the keyboard.
Let me know what you think and if we should keep your originally proposed methods for now or not.

Nice!

I think they should be optional, that's why in the PresentrController we check to see if the presented view controller conforms to it or not.

Oh ok. My first thought was going to be that the function name should include "keyboard" because it was only related to the keyboard, but if it is going to be generalized then I agree with your naming presentrShouldDismiss

So, we could use that delegate method so the user can do anything before the dismissal, AND prevent it, if they choose to.
This would make this Presentr property redundant.
    /// Should the presented controller dismiss on background tap. Default is true.
    public var dismissOnTap = true

But, this design would make it the user's responsibility to know when the keyboard is showing or not, and IF it is showing, it is up to them to prevent the dismissal in the presentrShouldDismiss delegate method.
The reason being because since now we are calling presentrShouldDismiss whenever someone taps on the chrome view, not just only when the keyboard was showing, in the old "design".
On second thought, I think I don't like this because we are possibly already listening to the keyboard notifications (for doing the translation), so it's redundant for the user to have to listen to the keyboard as well in the presented view controller. A solution that comes to mind is having the delegate method be like so:
func presentrShouldDismiss(keyboardShowing: Bool) -> Bool{
   ...
   return true
}

That way, with that delegate method we cover all cases. If they tap on the chrome view, and the keyboard is not showing, or if the keyboard is showing, we give them the information they need. It is up to them to decide to dismiss it or not, and do something before.
We could then maybe remove these two methods:
private var shouldPresentedPreventDismissal: Bool{
    let presented = presentedViewController as? PresentrDelegate
    return presented?.keyboardShouldPreventDismissal
}

private var shouldObserveKeyboard: Bool{
    return shouldPresentedPreventDismissal ||
    ((keyboardTranslationType != .None) && presentationType == .Popup)
}

Since we would always want to listen to the keyboard.
What do you think?

Correction,
We would still need both methods , but they would be like so:

private var presentedConformsToProtocol: Bool{
    return presentedViewController is PresentrDelegate
}

private var shouldObserveKeyboard: Bool{
    return presentedConformsToProtocol ||
    ((keyboardTranslationType != .None) && presentationType == .Popup)
}

That way, we only observe the keyboard IF they chose a keyboardTranslationType != .None ; or if they conform to the protocol, which means, they want to know when we want to dismiss the controller, and we need to send the keyboard showing bool.
If they don't implement the protocol, and choose no translationType, there is no reason for us to listen to the keyboard.

I finished up the changes and this time on a separate branch off of the Develop. That way you can decide to merge it how you want.

Awesome!
Yeah, I guess another PR would be best in this case 👍

@aasatt I don't have time to check it right now, but could you confirm if is the same or related to #27 ?

@gabrielPeart This was my first attempt. Taking the directive of @danlozano I created #27 which is on it's own branch off of develop where this one was just on the master. I didn't want to have to screw around with the git to rebase it and everything. This one, #18 can be closed.

@aasatt That is what I presumed. Could you close it?
Thank you!

@gabrielPeart wow it took me way longer than I would like to admit to see the big close button right below this comment box... I think it's been like 16 days before I first tried to figure it out 😅

@aasatt Cool :)
Thank you!


quickstart example. unable to install the7B model

When I run the installation cell
%%bash pip install llama-recipes transformers datasets accelerate sentencepiece protobuf==3.20 py7zr scipy peft bitsandbytes fire torch_tb_profiler ipywidgets TRANSFORM=python -c "import transformers;print('/'.join(transformers.file.split('/')[:-1])+'/models/llama/convert_llama_weights_to_hf.py')" python ${TRANSFORM} --input_dir models --model_size 7B --output_dir models_hf/7B
I get the following error:
with open(path, "r") as f:
^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'models/7B/params.json'
followed by:
CalledProcessError: Command 'b'pip install llama-recipes transformers datasets accelerate sentencepiece protobuf==3.20 py7zr scipy peft bitsandbytes fire torch_tb_profiler ipywidgets\nTRANSFORM=python -c "import transformers;print(\'/\'.join(transformers.__file__.split(\'/\')[:-1])+\'/models/llama/convert_llama_weights_to_hf.py\')"\npython ${TRANSFORM} --input_dir models --model_size 7B --output_dir models_hf/7B\n'' returned non-zero exit status 1.
Does any one have an idea how fix this bug?

@Imrancham this notebook assume you have downloaded the checkpoints and BTW you could also instead of running the first cell to convert llama original checkpoints to HF ones, just do the installs and in the second cell "model =LlamaForCausalLM.from_pretrained(model_id, load_in_8bit=True, device_map='auto', torch_dtype=torch.float16)
" pass "meta-llama/Llama-2-7b-hf" as the model_id this way you should not need the first step, checkpoints are already in HF format. Just make sure you have logged in into your HF, huggingface-cli login https://huggingface.co/docs/huggingface_hub/quick-start#login

%%bash
pip install llama-recipes transformers datasets accelerate sentencepiece protobuf==3.20 py7zr scipy peft bitsandbytes fire torch_tb_profiler ipywidgets
TRANSFORM=`python -c "import transformers;print('/'.join(transformers.__file__.split('/')[:-1])+'/models/llama/convert_llama_weights_to_hf.py')"`
python ${TRANSFORM} --input_dir models --model_size 7B --output_dir models_hf/7B

How do I run this command on a Windows PC? anaconda prompt does not support bash scripts


Error connecting to localstack

When I run curl localhost:4566/_aws/ses I do get the expected response, all the emails stored in localstack SES.
However, I start my docker image with docker run --rm --env LOCALSTACK_HOST=http://localstack:4566 -p 3005:3005 ses-viewer
I get the following error when loading the landing page:
FetchError: request to http://localstack:4566/_aws/ses failed, reason: getaddrinfo ENOTFOUND localstack
    at ClientRequest.<anonymous> (file:///app/node_modules/node-fetch/src/index.js:108:11)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

It seems that the error you're encountering is related to the DNS resolution failure for the hostname. This issue often arises in Docker environments because the container cannot resolve the hostname unless it's explicitly defined in the networking setup.
Try running them on the same docker network:
docker network create localstack-net
docker run --rm --name localstack --network localstack-net -p 4566:4566 localstack/localstack
docker run --rm --env LOCALSTACK_HOST=http://localstack:4566 --network localstack-net -p 3005:3005 ses-viewer

Yes that was it, thank you.
Unfortunately, our project sends templated emails which don't seem to be readable by your app. I'm not sure they could be without recreating the SES templating logic. Thank you for taking a look into my problem though.
TypeError: Cannot read properties of undefined (reading 'html_part')
    at createEmail (file:///app/app.js:143:24)
    at file:///app/app.js:19:27
    at Array.map (<anonymous>)
    at file:///app/app.js:18:16
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

@Spatbee this is strange, is you message without body?
Can you give us an example of the email available at http://localstack:4566/_aws/ses ?

Ah, I see, templated email. Currently, we don't support templated emails. However, we’d be more than happy to review a pull request if you’re interested in contributing support for it. Feel free to reach out if you have any questions.

Would you mind adding open source license to this project?

Added: https://github.com/veertech/localstack-aws-ses-email-viewer/commit/479c98ba85736ebe36a96c8201cec11d25cbd836


Fix module loading error caused by '.' in model_id

Fix the error that occurs when moving py files with '.' in the model_id to huggingface_modules (AutoModelFor*).

please refine the title and description for this pull request

It appears that the following error occurred in citest, but it doesn't seem to be caused by my side.

error1
======================================================================
ERROR: test_run_with_asr_with_name (pipelines.test_ofa_tasks.OfaTasksTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Maas-lib/tests/pipelines/test_ofa_tasks.py", line 324, in test_run_with_asr_with_name
    result = ofa_pipe(example)
  File "/opt/conda/lib/python3.10/site-packages/modelscope/pipelines/base.py", line 219, in __call__
    output = self._process_single(input, *args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/modelscope/pipelines/base.py", line 247, in _process_single
    out = self.preprocess(input, **preprocess_params)
  File "/opt/conda/lib/python3.10/site-packages/modelscope/pipelines/base.py", line 389, in preprocess
    return self.preprocessor(inputs, **preprocess_params)
  File "/opt/conda/lib/python3.10/site-packages/modelscope/preprocessors/multi_modal.py", line 154, in __call__
    sample = self.preprocess(data)
  File "/opt/conda/lib/python3.10/site-packages/modelscope/preprocessors/ofa/asr.py", line 54, in __call__
    return self._build_infer_sample(data)
  File "/opt/conda/lib/python3.10/site-packages/modelscope/preprocessors/ofa/asr.py", line 97, in _build_infer_sample
    wav, sr = librosa.load(audio_bytes, 16000, mono=True)
TypeError: load() takes 1 positional argument but 2 positional arguments (and 1 keyword-only argument) were given

----------------------------------------------------------------------

error2
======================================================================
ERROR: test_abstract (pipelines.test_base.CustomPipelineTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Maas-lib/tests/pipelines/test_base.py", line 55, in test_abstract
    CustomPipeline1()
  File "/Maas-lib/tests/pipelines/test_base.py", line 52, in __init__
    super().__init__(config_file, model, preprocessor, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/modelscope/pipelines/base.py", line 114, in __init__
    model_dir = self.model.model_dir
AttributeError: 'NoneType' object has no attribute 'model_dir'

----------------------------------------------------------------------

wav, sr = librosa.load(audio_bytes, 16000, mono=True)

root cause is: wav, sr = librosa.load(audio_bytes, sr=16000, mono=True), librosa compatible , not . in model id

It appears that the following error occurred in citest, but it doesn't seem to be caused by my side.

error1======================================================================
ERROR: test_run_with_asr_with_name (pipelines.test_ofa_tasks.OfaTasksTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Maas-lib/tests/pipelines/test_ofa_tasks.py", line 324, in test_run_with_asr_with_name
    result = ofa_pipe(example)
  File "/opt/conda/lib/python3.10/site-packages/modelscope/pipelines/base.py", line 219, in __call__
    output = self._process_single(input, *args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/modelscope/pipelines/base.py", line 247, in _process_single
    out = self.preprocess(input, **preprocess_params)
  File "/opt/conda/lib/python3.10/site-packages/modelscope/pipelines/base.py", line 389, in preprocess
    return self.preprocessor(inputs, **preprocess_params)
  File "/opt/conda/lib/python3.10/site-packages/modelscope/preprocessors/multi_modal.py", line 154, in __call__
    sample = self.preprocess(data)
  File "/opt/conda/lib/python3.10/site-packages/modelscope/preprocessors/ofa/asr.py", line 54, in __call__
    return self._build_infer_sample(data)
  File "/opt/conda/lib/python3.10/site-packages/modelscope/preprocessors/ofa/asr.py", line 97, in _build_infer_sample
    wav, sr = librosa.load(audio_bytes, 16000, mono=True)
TypeError: load() takes 1 positional argument but 2 positional arguments (and 1 keyword-only argument) were given

----------------------------------------------------------------------

error2======================================================================
ERROR: test_abstract (pipelines.test_base.CustomPipelineTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Maas-lib/tests/pipelines/test_base.py", line 55, in test_abstract
    CustomPipeline1()
  File "/Maas-lib/tests/pipelines/test_base.py", line 52, in __init__
    super().__init__(config_file, model, preprocessor, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/modelscope/pipelines/base.py", line 114, in __init__
    model_dir = self.model.model_dir
AttributeError: 'NoneType' object has no attribute 'model_dir'

----------------------------------------------------------------------

ci compatible will fix in: https://github.com/modelscope/modelscope/pull/725


Feature/handle one off loader

What kind of change does this PR introduce? (bugfix, feature, docs update, improvement)
not sure if bugfix or feature, I'd say feature.
What is the current behavior? (You can also link to an open issue here)
Webpack crashes with an error when using oneOf-rule
What is the new behavior (if this is a feature change)?
Does not crash. :woman_shrugging:
Does this PR introduce a breaking change?
No
Please check if the PR fulfills contributing guidelines

Thanks for your help! Hope it will be merged soon

@zaycker the code is available to you. I suggest working on fixing the problem instead of attacking the person who spent their free time to help you.

@clentfort thanks! Seems like it was fixed in<EMAIL_ADDRESS>could you please update and check?


Correct step for "Limit price percentage" config

Hey @thamlth
Thanks for the pull request and good fix.
Can you also update for sell.limitPercentage and in the file SymbolSettingIcon.js?

@chrisleekr I updated it. :)

Hey @thamlth
Sorry, I was not being clear. There are sell.limitPercentage as well in both files.
Would you mind updating those as well? :)

Hey @thamlth
I will merge first, I will fix the remaining one in the next update. :)


Feature Request: Private Workspaces

Implement the ability for users to create private workspaces they own and control access to. Key requirements:

Workspaces owned by creating user.
Owner can grant read-only or read/write access to other users.
No administrator role required for workspace/permission management.

Rationale:
This feature has been requested before but never implemented. Allowing users to have private workspaces they control access to would be a valuable capability.
Technical Considerations:
Some re-modeling of DynamoDB tables may be required to efficiently handle data retrieval for private workspaces and access controls.
If the team thinks this feature would be of value, I could help with the implementation.

Hi,
there is a PR already opened about this subject, perhaps we could improve this one to accelerate adoption ?
++


"Preasna" is listed in the drop-down menu

Description:
"Preasna" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Preasna" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Preasna, CĂLĂRAȘI (Gurbănești)".


any plan for laravel 5.5

any plan for laravel 5.5 and php 7 ?

Good question will be good, to create vuedo with Laravel 5.5 and vuejs 2.5 ;)


[Bug]: metadata_filter Not Supported in SDKs

📜 Description
Reproduce:
client.users.list(metadata_filter={'filter_key': 'filter_value'})

Error:
TypeError: UsersResource.list() got an unexpected keyword argument 'metadata_filter'
👟 Reproduction steps
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

@whiterabbit1983 The error is gone (it's accepting a metadata_filter parameter). However, it's not working correctly. Running the following code is giving an empty list.
client.users.create(name="new_user", metadata={"ppid": "123"})
client.users.list(metadata_filter={"ppid": "123"})

I can confirm it's not an issue from the endpoint metadata_filter. Doing the same thing in Tasks with a system tool gives the desired result.

client.agents.list(metadata_filter={...}) also works correctly

Figured out the problem...  It just converted it to int.

This isn't straightforward to fix so closing this for now


Taskbar groups/naming

Not sure how this works honestly, or for differing OS.
If I have 5 CodeBrowsers open.  Win10 will have a group for ghidra. One front end and 5 CodBrowsers.  With hovering/preview you can only see the word CodeBrowser, would it be possible to just show the filename instead?
Hovering over each one by one will eventually popup the full process name, and of course can just cycle through them with alt tab or clicking.  Just wondering about on the initial click of the taskbar

With win11 I get this when I hover over the task bar item for ghidra:

These platform specific things are a pain.  After fighting with Ubuntu's taskbar just to try to get it show anything in the icon, I dunno.

I was seeing similar for win10.... you basically get the CodeBrowser and project text unless you hover.   Worth asking about at least, but figured there's not much that could be done.   I'm fine closing this issue; it made me look around and I found out the hover name pop-up as I was creating the issue, so workarounds def exist

I just tried this on Windows 10, and it's showing the same thing that @dev747368 is showing.  It's just the Window title (i.e., CodeBrowser(2): Test:/test.exe.
I am not seeing any entries that just show the word CodeBrowser.

You have multiple code browsers open?
I have 'CodeBro...' currently.  Even with your examples add in a project name and any sort of directory layout, they'll all be the same string at first glance

Maybe your previews are too small and the rest is getting chopped of?

Mine in particular or windows... That is the issue I'm reporting, I as a user didn't do anything (confused by the question).

The preview on Windows 10 is just showing the title of the Windows for me...i.e., CodeBrowser(2): Test:/test.exe.  I am assuming this is the case for everyone on Windows 10, but if you are seeing a substring of that, I am wondering if your resolution or something is causing your preview text to be truncated.

I guess I'll close this.  It doesn't sound like there is much we can do anyway.


Update pre-commit configuration with latest version of isort

isort 5.10.1 recently broke due to an issue with with one of its internal dependencies, poetry. This dependency changed the format of its internal configuration file, leading to a breakage within isort. Therefore, isort has been upgraded to version 5.12.0 which fixes this issue.
For more information on this breakage, see this stackoverflow post, this issue on Github and this stackoverflow post.

actually Chris would you mind bringing over the changes to the docformatter version (including the comment) that Yanik has on his PR? will almost certainly be helpful in future repos


Previews working locally but not on a staging environment

Hi, I've got the previews working locally but when trying on a staging environment the preview page gets stuck on /preview and doesn't redirect.
There is this error in the console:

Versions

gatsby-source-prismic: 4.1.2
gatsby-plugin-prismic-previews: 4.1.3
node: 14.16.1

Reproduction
Prismic previews config:

Plugin config:
{
      resolve: "gatsby-source-prismic",
      options: {
        repositoryName: process.env.GATSBY_PRISMIC_REPOSITORY,
        accessToken: process.env.GATSBY_PRISMIC_TOKEN,
        // Get the correct URLs in blog posts
        linkResolver: (doc) => {
          if (doc.type === "posts") {
            return `/blog/post/${doc.uid}`
          }

          return `/`
        },
        schemas: {
          posts: require("./src/schemas/posts.json"),
        },
      },
    },
    {
      resolve: 'gatsby-plugin-prismic-previews',
      options: {
        repositoryName: process.env.GATSBY_PRISMIC_REPOSITORY,
        accessToken: process.env.GATSBY_PRISMIC_TOKEN,
      },
    },

My preview.js:
import * as React from "react"
import { withPrismicPreviewResolver } from "gatsby-plugin-prismic-previews"
import { linkResolver } from "../linkResolver"

const PreviewPage = () => {
  return (

Loading preview...

  )
}

export default withPrismicPreviewResolver(PreviewPage, [
  {
    repositoryName: process.env.GATSBY_PRISMIC_REPOSITORY,
    linkResolver,
  },
])

My 404.js:
import BlogPostTemplate from "../pages/blog/post/{PrismicPosts.uid}";
import { linkResolver } from "../linkResolver"

const PageNotFound = () => {
  return (

      ...

  )
}
export default withPrismicUnpublishedPreview(PageNotFound, [
  {
    repositoryName: process.env.GATSBY_PRISMIC_REPOSITORY,
    linkResolver,
    componentResolver: componentResolverFromMap({
      posts: BlogPostTemplate,
    }),
  },
])

Thanks for your help.

Hey @nooxx, that error comes from the Prismic toolbar. It seems to be a result of Chrome extensions interfering with the toolbar's setup process. You can see more details here: https://github.com/prismicio/prismic-toolbar/issues/60#issuecomment-887604685
I fix for the toolbar error was written but it has not been merged yet.
Are you able to test previews in incognito mode without extensions?

@angeloashmore There is no error in incognito mode indeed. However I still see a blank page on /preview.

Ah, okay, at least we can rule out the toolbar as the issue.
Everything you posted looks normal. Since it is working locally, your code should be correct.
On your staging site, could you perform the following?

Verify that your environment variables are up to date (GATSBY_PRISMIC_REPOSITORY, GATSBY_PRISMIC_TOKEN).
Clear the build cache and rebuild the site.

If it still does not work, it might be easiest to figure out the issue if I can look at your code and Prismic repository. In that case, could you send me a private message on the Prismic community forum?
To send me a message: https://community.prismic.io/new-message?username=angeloashmore&title=GitHub Issue 422

So the issue comes from the link resolver config within prismic, when hosting on AWS, you must set it to "/preview/" with a trailing slash.
Apparently AWS removes query parameters when URL doesn't have a trailing slash and that causes the redirect to fail.


Subsequent upload - Random IDs not being uploaded successfully (iPhone)

iPhone 8
this is day 6 (?) of the phone being positively diagnosed. Every other day, I have been able to share codes without issue.
After updating to version 49, I'm am no longer able to upload random IDs successfully. I was able to successfully share my random IDs on v47 of Android (OnePlus3) this morning.
from the home screen, click Upload your random codes button
Click Agree on the now you can upload your codes window.
Random codes could not be uploaded - you did not give permission is displayed - click OK
COVID Exposure Notifications = ON
Bluetooth = On
Notificaitons = On
Location = on

iOS

After updating to version 49, I'm am no longer able to upload random IDs successfully. I was able to successfully share my random IDs on v47 of Android (OnePlus3) this morning.

☝
@emilykuret
@JuliannaR

@dsamojlenko is pushing up a new build.

v50 is now working.


Add max concurrent streams connection pool parameter in Destination Rules

Describe the feature request
Currently max_requests_per_connection can be set by configuration DestinationRules. This works well for HTTP/1, and works approximately fine with HTTP/2.
For HTTP/2 envoy provides another parameter called max_concurrent_streams (https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/core/v3/protocol.proto#envoy-v3-api-field-config-core-v3-http2protocoloptions-max-concurrent-streams), which is available for both HTTP/2 and HTTP/3.
Describe alternatives you've considered
EnvoyFilter can be used to configure this parameter
Affected product area (please put an X in all that apply)
[ ] Ambient
[ ] Docs
[ ] Dual Stack
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Additional context
If this can be approved, I can provide a PR.

This seems reasonable, I can make a PR for this if you would like!


feat(tools): add stats for livewire tool / fix(cursors): restore element cursor when not interacting with a tool

This adds stats calculation for the livewire tool.

This line of code will cause the tool mouse style to disappear

@sunao0920 can you create a PR to revert this?


Support for defining azure functions via crossplane

What problem are you facing?
We want to define a Azure function to run alongside AKS but it looks like crossplane provider-azure doesn't support Azure-functions yet. It appears as though the go SDK does - e.g. see NewAppServicePlansClient.
How could Crossplane help solve your problem?
Add support for Azure Functions :)

I don't see Azure function support in the Azure Go SDK: https://azure.github.io/azure-sdk/releases/latest/mgmt/go.html


Update swagger-io url in README

Swagger now has it's own domain. I updated the README after i ran into an issue with the CORS sample you gave.
Regards,
Julien

Thanks


[Bug]: Server Management accessible on Node Setup

Describe the bug!
https://github.com/stereum-dev/ethereum-node/assets/80448387/ab5f8e80-1b64-45fb-af38-c7a123f5c536

[X] I looked through the existing bugs of this project

This is no longer the case, thanks to the work of @mabasian & @MaxTheGeeek


Add codes to all logged messages so that they can be translated

The exceptions have translations and I don't see any other significant messages.


add int16 flag

copied int32.go to int16.go and s/32/16
added a case to testParse in flag_test.go

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

I just noticed that this one was missing as well.

How about to test that the parse works? something like: https://github.com/spf13/pflag/pull/143/files#diff-f959b18b5d42c386fb387a60b0d27376L236

@eparis good call - added that


Dealing with "children"

Article 8:

Where point (a) of Article 6(1) applies, in relation to the offer of information society services directly to a child, the processing of the personal data of a child shall be lawful where the child is at least 16 years old. Where the child is below the age of 16 years, such processing shall be lawful only if and to the extent that consent is given or authorised by the holder of parental responsibility over the child.

Member States may provide by law for a lower age for those purposes provided that such lower age is not below 13 years.

The controller shall make reasonable efforts to verify in such cases that consent is given or authorised by the holder of parental responsibility over the child, taking into consideration available technology.

Paragraph 1 shall not affect the general contract law of Member States such as the rules on the validity, formation or effect of a contract in relation to a child.

Some other actions that may be necessary:

[ ] have a request for the birth year at registration always on? (Depends also on #3143)
[ ] have "COPPA" more or less always on? (Depends also on #3143)

There is also #2395


JS: Block XSS flow through encodeURIComponent

Strawman solution to https://github.com/Semmle/ql/issues/2196. Haven't run an evaluation yet as we're a bit low on machines.

Evaluation looks fine. We lose one result which looks like a FP anyway.

I believe it's already covered by the existing change note:

| Client-side cross-site scripting (js/xss) | More results, fewer false-positive results | More potential vulnerabilities involving functions that manipulate DOM attributes are now recognized, and more sanitizers are detected. |


Refactor business logic into controller(s)

As this project started relatively small, the business logic for sending commands to HA and process internal "HUE only" commands is now contained into the Hue api. It's time to move this intro separate controllers so we have the benefit of cleaner code and reusable code.

controller for all business logic to HA (such as issue light command, throtling etc.)
controller for all "HUE only" business logic, like the localstorage, scenes etc.

The API will then be just a definition of endpoints, calling actions on he controllers.

Remove the immediate attention label as this is no show stopper but just annoying ;-)

Remove the immediate attention label as this is no show stopper but just annoying ;-)

I think as part of this, we should create a proper error handler so that we collect all errors that occur in a request and display them out in order. We avoid should sending anything but proper hue errors.

I think as part of this, we should create a proper error handler so that we collect all errors that occur in a request and display them out in order. We avoid should sending anything but proper hue errors.


exists functionality is broken does not take interval and timeout anymore

Expected behavior
link('something').exists(1000,20000) should wait for 20 secs for the element to appear.
Actual behavior
exists method ignores the times given

Fix should be available in 6bfaede.

Observation:
It waits to find the web-element for specified interval of time. Based on the observation this issue
has been verified and found fixed. Tested with the below version
 6bfaede


Roles don't work with self-hosted GoTrue and Git-Gateway

Describe the bug
I'm using netlify-cms together with a selfhosted got-gateway and gotrue. GoTrue is connected to Keycloak via SAML for authentication.
See below for my docker-compose config.
The services are routed to /.netlify/identity and /.netlify/git. Everything works well, I can sign up, create and edit posts, but it only works without the GITGATEWAY_ROLES: "editor" line. If I enable that, I get  You don't have sufficient permissions to access Netlify CMS.
The role in the GoTrue database users table is set to editor. It also does not work with admin,editor.

To Reproduce
Setup GoTrue, GitGateway and something for SAML Authentication and use the provided configuration.
Expected behavior
I can login successfully.
Screenshots

Applicable Versions:

Netlify CMS version:  2.15.70
Git provider: git-gateway
OS: Windows 10
Browser version Firefox 98

Node.JS version:

CMS configuration

backend:
  name: git-gateway
  base_url: https://docs-cms.glue.makepro-x.com
  identity_url: "https://docs-cms.glue.makepro-x.com/.netlify/identity"
  gateway_url:  "https://docs-cms.glue.makepro-x.com/.netlify/git"
  repo: makeproaudio/glue-docs
  branch: main

publish_mode: editorial_workflow
media_folder: docs/static/img/uploads
public_folder: /img/uploads
show_preview_links: false

collections:
  - name: feature
    label: Features
    label_singular: Feature
    folder: docs/usage/features
    identifier_field: title
    description: Features Description...
    extension: md
    widget: "list"
    create: true
    slug: "{{slug}}"
    fields:
      - { name: title, label: Title, widget: string }
      - { name: body, label: Body, widget: markdown }

Additional context
This is my docker-compose configuration:
version: '3.7'
services:
  gotrue:
    image: hrueger/gotrue:1.0.1
    restart: unless-stopped
    environment:
      GOTRUE_JWT_SECRET: ${DOCS_CMS_JWT_SECRET}
      GOTRUE_JWT_EXP: 3600
      GOTRUE_JWT_AUD: localhost
      GOTRUE_DB_DRIVER: mariadb
      GOTRUE_JWT_DEFAULT_GROUP_NAME: editor
      DATABASE_URL: ${GOTRUE_DB_URL}
      GOTRUE_API_HOST: <IP_ADDRESS>
      PORT: 8080
      GOTRUE_SITE_URL: https://docs-cms.glue.makepro-x.com/
      GOTRUE_LOG_LEVEL: DEBUG
      GOTRUE_OPERATOR_TOKEN: ${GOTRUE_OPERATOR_TOKEN}
      GOTRUE_DISABLE_SIGNUP: "false"
      GOTRUE_MAILER_AUTOCONFIRM: "true"
      GOTRUE_EXTERNAL_SAML_ENABLED: "true"
      GOTRUE_EXTERNAL_SAML_METADATA_URL: https://login.makepro-x.com/auth/realms/MPXCloud/protocol/saml/descriptor
      GOTRUE_EXTERNAL_SAML_API_BASE: https://docs-cms.glue.makepro-x.com/.netlify/identity/
      GOTRUE_EXTERNAL_SAML_NAME: MakePro X Login
      GOTRUE_EXTERNAL_SAML_SIGNING_CERT: ''
      GOTRUE_EXTERNAL_SAML_SIGNING_KEY: ''
      GOTRUE_EXTERNAL_LABELS: "{SAML: MakePro X Login}"

  git-gateway:
    image: hrueger/git-gateway:1.0.0
    restart: unless-stopped
    environment:
      GITGATEWAY_JWT_SECRET: ${DOCS_CMS_JWT_SECRET}
      GITGATEWAY_DB_DRIVER: mysql
      DATABASE_URL: ${GITGATEWAY_DB_URL}
      GITGATEWAY_API_HOST: <IP_ADDRESS>
      PORT: 8080
      GITGATEWAY_GITHUB_ACCESS_TOKEN: ${GITGATEWAY_GITHUB_ACCESS_TOKEN}
      GITGATEWAY_GITHUB_REPO: "makeproaudio/glue-docs"
      GITGATEWAY_GITHUB_BRANCH: main
      # GITGATEWAY_ROLES: "editor"

OK, after some more debugging, I have found out the following:
If I replace this with that:
let userRoles = [];
        if (credentials?.app_metadata?.provider === "saml") {
          userRoles = [credentials.role];
        } else {
          userRoles = get(jwtDecode(token), 'app_metadata.roles', []);
        }

the first login step works, but then git-gateway complains that I don't have write access. When inspecting the JWT Token, it looks like this when coming from a saml login via GoTrue:
{
  "aud": "localhost",
  "exp":<PHONE_NUMBER>,
  "sub": "bfcfc50b-c6a2-4506-8a2c-745640b82c35",
  "email"<EMAIL_ADDRESS>  "app_metadata": {
    "provider": "saml"
  },
  "user_metadata": {}
}

You can see that the app_metadata.roles is missing...
That must probably be fixed in GoTrue, right?

https://github.com/hrueger/gotrue/commit/e14483b98216e054e033bba79d81ccae1cf241da
This seems to fix it, however, I'm not a go programmer at all, that line took a lot of googling and I don't know if it makes sense ;-)

This seems solved, comment if I'm wrong.


docker-info

hello Team,
it seems that when executing "docker-compose down" you will get an UNKNOWN status instead CRITICAL.
are we able to fix it?

mj

Thank you, we will fix it.