Scrollbar should have option to specify effective depth for nested scrollable

Horizontal Scrollables in a list view are causing the Scrollbars of the containing Scrollable to be drawn. Ideally, the Scrollbar would only show for the axis of the immediate Scrollable descendent, or perhaps allow consumers to specify the allowed depth of Scrollable to listen to.
Steps to Reproduce

Create a ListView and Wrap with a Scrollbar widget
Place a horizontal PageView widget in a list item
Swipe the PageView
Observe that the scrollbar for the ListView is scrolling horizontally

I created a sample app to demonstrate:
https://github.com/coreysprague/flutter_nested_pageview_scrollbars

flutter doctor -v
[✓] Flutter (Channel unknown, v1.7.8+hotfix.3, on Mac OS X 10.14.5 18F132,
locale en-US)
• Flutter version 1.7.8+hotfix.3 at /Users/cosprague/Library/Code/flutter
• Framework revision b712a172f9 (9 days ago), 2019-07-09 13:14:38 -0700
• Engine revision 54ad777fd2
• Dart version 2.4.0
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/cosprague/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = /Users/cosprague/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.2.1, Build version 10E1001
• CocoaPods version 1.7.1
[✓] iOS tools - develop for iOS devices
• ios-deploy 1.9.4
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 3.4)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 36.0.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[✓] VS Code (version 1.36.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.2.0
[✓] Connected device (3 available)
• iPhone Xs • CB2CBFCD-D56F-412E-B17C-B5908F7D749E • ios            •
com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)
• macOS     • macOS                                • darwin-x64     • Mac OS X 10.14.5 18F132
• web       • web                                  • web-javascript • Google Chrome 75.0.3770.142
• No issues found!

I found a workaround for this. I can wrap the nested scrollview with this code:
NotificationListener<ScrollNotification>(
          onNotification: (notification) => true,
          child: <nested scrollview>
);

this will prevent the notification event from bubbling up to the parent scrollview.
I was also able to solve it by forking Scrollbar & CupertinoScrollbar and doing an early return in the scroll handler if the depth was greater than 0 (but the earlier solution of trapping the notification is more elegant).
Regardless, the current default behavior doesn't seem intuitive or allow people to fall into the pit of success.

Hey @coreysprague Thanks for bring this to our attention, and for the really good reproduction.
I am not sure this is a regression, I checked out 1.5.4 and ran your repro and found that the Scrollbars are still there, they are just a little less noticeable along the edges of the screen.
I think they are more apparent in 1.7.8 because https://github.com/flutter/flutter/pull/31763 added padding to the Scrollbars, bringing them more into view.
I don't know what the expected behavior should be here then. I could see expecting either case (to show the Scrollbar or not) depending on the situation. Perhaps this is something we can make configurable on the Scrollbar?

Hi @Piinks
Making it configurable on the ScrollBar would make sense. It seems like it would make the most sense to default the behavior to only respond to scroll notifications from the immediate descendent, and optionally respond to all? That would of course be a breaking change, but I think it would be the case that most use cases would expect.

Thanks for coming back! :)
That sounds like a good idea to me! We try not to make breaking changes, so we may configure it the other way around where the default behavior is the current behavior. That way no one is broken.

@Piinks -- I just wanted to throw out another thought that might also address this problem (and maybe is easier to solve).
I suspect this issue is primarily isolated to when you have nested content that scrolls perpendicular to the parent's scrollview
I wonder if instead of making Scrollbar aware of nesting... if instead scrollbar could have a property to define which axes to show the scroll indicators. It could default to both horizontal & vertical, but an optional parameter could specify vertical only (or horizontal only).
I could see this feature potentially having value outside of the nesting use case as well.

I think that the ScrollBar need to be visibile only for direct child and not for all tree.
If I've a multiple childs into a SingleChildScrollView and I want to show scrollbar for all childs the ScrollBar widget must have a simple parameter like "infiniteDeep" that make to be able to have scrollbar for all the tree.
But if I need to have the scrollbar only for the main container like a SingleChildScrollView I leave this parameter false or
as said by @coreysprague we need to have a parameter to specify the effective depth of scrollbar.

I found a workaround for this. I can wrap the nested scrollview with this code:
NotificationListener<ScrollNotification>(
          onNotification: (notification) => true,
          child: <nested scrollview>
);

this will prevent the notification event from bubbling up to the parent scrollview.
I was also able to solve it by forking Scrollbar & CupertinoScrollbar and doing an early return in the scroll handler if the depth was greater than 0 (but the earlier solution of trapping the notification is more elegant).
Regardless, the current default behavior doesn't seem intuitive or allow people to fall into the pit of success.

Thanks! Works perfect for me
For anyone who has a lot of scrollviews, you can use this extension:
import 'package:flutter/material.dart';
extension NestedScrollFixExtension on Widget {
  Widget fixNestedDoubleScrollbar() {
    return NotificationListener<ScrollNotification>(
      onNotification: (notification) => true,
      child: this,
    );
  }

}

I was able to reproduce this with the latest master and beta channel of Flutter. Code based on https://github.com/flutter/flutter/issues/66444 that was closed as duplicate.

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

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

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

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

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

[✓] IntelliJ IDEA Community Edition (version 2020.2.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.0.4
    • Dart plugin version 202.8070

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

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

• No issues found!
Process finished with exit code 0

I found a workaround for this. I can wrap the nested scrollview with this code:
NotificationListener<ScrollNotification>(
          onNotification: (notification) => true,
          child: <nested scrollview>
);

this will prevent the notification event from bubbling up to the parent scrollview.
I was also able to solve it by forking Scrollbar & CupertinoScrollbar and doing an early return in the scroll handler if the depth was greater than 0 (but the earlier solution of trapping the notification is more elegant).
Regardless, the current default behavior doesn't seem intuitive or allow people to fall into the pit of success.

Thanks! Works perfect for me
For anyone who has a lot of scrollviews, you can use this extension:
import 'package:flutter/material.dart';

extension NestedScrollFixExtension on Widget {
  Widget fixNestedDoubleScrollbar() {
    return NotificationListener<ScrollNotification>(
      onNotification: (notification) => true,
      child: this,
    );
  }
}

I tried this and it worked (partially). With this workaround, a double scrollbar does not show up, however, no nested scrollbar shows up. Is there a workaround for that?

I found a workaround for this. I can wrap the nested scrollview with this code:
NotificationListener<ScrollNotification>(
          onNotification: (notification) => true,
          child: <nested scrollview>
);

this will prevent the notification event from bubbling up to the parent scrollview.
I was also able to solve it by forking Scrollbar & CupertinoScrollbar and doing an early return in the scroll handler if the depth was greater than 0 (but the earlier solution of trapping the notification is more elegant).
Regardless, the current default behavior doesn't seem intuitive or allow people to fall into the pit of success.

Thanks! Works perfect for me
For anyone who has a lot of scrollviews, you can use this extension:
import 'package:flutter/material.dart';

extension NestedScrollFixExtension on Widget {
  Widget fixNestedDoubleScrollbar() {
    return NotificationListener<ScrollNotification>(
      onNotification: (notification) => true,
      child: this,
    );
  }
}

I tried this and it worked (partially). With this workaround, a double scrollbar does not show up, however, no nested scrollbar shows up. Is there a workaround for that?


Replace all instances of findUser() with the new version

Replace all the calls for findUser() with the new version

Irrelevant


[Service Bus] Add "Message" to batch related names

Do the following renamings:
createBatch -> createMessageBatch()
CreateBatchOptions -> CreateMessageBatchOptions
tryAdd() -> tryAddMessage()
closes #16434

/check-enforcer reset


Change is_atomic to should_paint

OK, so this is a net improvement to the current code, so I'm willing to merge, but in my dream version of this code, there's no method in BlockLayout at all, because I think the code should be something like:
def paint_tree(layout_object, display_list):
    should_paint = \
      not isinstance(layout_object, BlockLayout) or
      isinstance(layout_object.node, Element) and
      layout_object.node.tag in BLOCK_ELEMENTS
    if should_paint: # ...

Here's my logic. The issue only applies to BlockLayout. The issue is that some inline element may have a BlockLayout created pointing to it, instead of an anonymous block box pointing to some fake wrapper element that then contains the inline element. So let's just skip any BlockLayout that points to a non-block element. This avoids messing with the list of tag names, and I think handling this in paint_tree is cleaner than adding a method to the layout object API.

Here's my logic. The issue only applies to BlockLayout. The issue is that some inline element may have a BlockLayout created pointing to it, instead of an anonymous block box pointing to some fake wrapper element that then contains the inline element. So let's just skip any BlockLayout that points to a non-block element. This avoids messing with the list of tag names, and I think handling this in paint_tree is cleaner than adding a method to the layout object API.

Isn't it an anti-pattern to do type inspection unless you have to? Also:

I'm not sure your proposed change makes a difference to readability of the book
Putting the code close to BlockFlow seems logical to me pedagogically

Ok, let's split my critique into three parts:

The existing code and also your version allow painting a BlockLayout that points at a Text node. I think this is harmless but not painting it would also be harmless. I'm not sure why it's explicitly mentioned.
The explicit list of tag names makes me worry that this is some sort of super weird hack. In fact the important property is not in BLOCK_ELEMENTS, not in ["input", "button", "iframe", "img"], even if in practice both of those have similar results.[1] Moreover, I think my replacement property highlights the relationship to layout_mode, which also tests against BLOCK_ELEMENTS. That's correct, because this code is really a hack to work around a bug in layout_mode.
Whether it's a method of all layout modes or a line in paint_tree is, I think, a matter of taste, and I'm willing to go your way. I agree that putting should_paint in BlockLayout is pedagogically nice, but it also requires adding should_paint in every other XXXLayout, and that's not so nice, so I personally am willing to take the type test. But this is subjective, happy to go either way.

[1] Not the same, because our current codebase doesn't even attempt to handle effects, opacity, or backgrounds for non-atomic inline elements. Like, not at all. Hard to say, given that, whether a non-atomic inline element inside an anonymous block box which has an effect or a background should or should not be painted; my proposed rewrite differs from current in that case.


Login with google

As a User
I want to be able to login with google
So that I don't need to create a new account

#118


Added Undertow thread pool parameters

Demand advice
Please answer these questions before submitting them. Thank you.
Is your function request related to the problem?
Describe the function you want
If you encounter a parameter that cannot be provided, provide an explanation of the reason.

please assign to me

@furaul welcome


Go project requires relative path import.

Hi, semaphore workflow is passing the build only when import is by relative path.

@csudarshan259 thank you for the comment. I'd be happy to help with this, would you please be able to provide a bit more information about this and a link to the build in question? Thank you in advance, I look forward to hearing from you!

This is the error I'm getting.
On my local machine project works fine.
But on semaphore it give me error like this.
main.go:4:2: cannot find package "effortlessdb/db_op" in any of:
/usr/local/golang/1.15.3/go/src/effortlessdb/db_op (from $GOROOT)
/home/semaphore/go/src/effortlessdb/db_op (from $GOPATH)
main.go:5:2: cannot find package "effortlessdb/db_op/create" in any of:
/usr/local/golang/1.15.3/go/src/effortlessdb/db_op/create (from $GOROOT)
/home/semaphore/go/src/effortlessdb/db_op/create (from $GOPATH)
main.go:6:2: cannot find package "effortlessdb/db_op/read" in any of:
/usr/local/golang/1.15.3/go/src/effortlessdb/db_op/read (from $GOROOT)
/home/semaphore/go/src/effortlessdb/db_op/read (from $GOPATH)
main.go:7:2: cannot find package "effortlessdb/db_op/update" in any of:
/usr/local/golang/1.15.3/go/src/effortlessdb/db_op/update (from $GOROOT)
/home/semaphore/go/src/effortlessdb/db_op/update (from $GOPATH)
When I import all packages by relative path like ".././create" or ".././read" . The semaphore build passes. Where as when I import by "projectname/packagename/filename" like "effortlessdb/db_op/create". The build fails by giving above error.


Microsoft Rewards Extension always says "Extension Update Available"

Recently, the extension has been always saying that there is an update available, but I have already updated to the most recent version. Will this affect performance?

I believe the issue to be caused due to the manifest.json being a version ahead of the actual chrome extension. This will be automatically fixed in the next update.

Hi yes, that is the issue. sorry for the unpolished master push. This should be fixed now.


Can I get a loom file from the gene expression matrix ?

Hi gioelelm，
Can loom files be obtained only by the bam file after alignment? Can I get a loom file from the gene expression matrix which is easier to download?If there are 100 fastq data in an experiment, Is the only way that I align them in turn and then assemble these loom files into a total loom?
For example，how did you achieve the loom file from GSE104323?（https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE104323）
Thank for your attention!

If you only need "any" loom file, surely you can change the format of your expression but if you need the special loom file that is used by velocity that contains spliced and unspliced read counted separately in two different matrices, no you can't. The information about their discrimination is not anymore present in the counting matrix.
To the second question: yes it is the best way, there might be other ways (e.g. one could merge the fastq files or bam files) but this would be the more direct one.

If you only need "any" loom file, surely you can change the format of your expression but if you need the special loom file that is used by velocity that contains spliced and unspliced read counted separately in two different matrices, no you can't. The information about their discrimination is not anymore present in the counting matrix.
To the second question: yes it is the best way, there might be other ways (e.g. one could merge the fastq files or bam files) but this would be the more direct one.

Can I get the gene expression matrix from both spliced and unspliced reads and use these two matrices to get the loom file suitable for velocity analysis? Thanks!


[SPARK-11462][Streaming]Add JavaStreamingListener

Currently, StreamingListener is not Java friendly because it exposes some Scala collections to Java users directly, such as Option, Map.
This PR added a Java version of StreamingListener and a bunch of Java friendly classes for Java users.

Merged build triggered.

Merged build started.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44835/
Test FAILed.

Can you test this again please?

retest this please

Merged build triggered.

Merged build started.

Test build #45068 has started for PR 9420 at commit 2bcb84d.

Test build #45068 has finished for PR 9420 at commit 2bcb84d.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):\n  * abstract class JavaStreamingListener \n  * class JavaStreamingListenerBatchSubmitted(val batchInfo: JavaBatchInfo)\n  * class JavaStreamingListenerBatchCompleted(val batchInfo: JavaBatchInfo)\n  * class JavaStreamingListenerBatchStarted(val batchInfo: JavaBatchInfo)\n  * class JavaStreamingListenerOutputOperationStarted(val outputOperationInfo: JavaOutputOperationInfo)\n  * class JavaStreamingListenerOutputOperationCompleted(\n  * class JavaStreamingListenerReceiverStarted(val receiverInfo: JavaReceiverInfo)\n  * class JavaStreamingListenerReceiverError(val receiverInfo: JavaReceiverInfo)\n  * class JavaStreamingListenerReceiverStopped(val receiverInfo: JavaReceiverInfo)\n  * case class JavaBatchInfo(\n  * case class JavaStreamInputInfo(\n  * case class JavaReceiverInfo(\n  * case class JavaOutputOperationInfo(\n

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/45068/
Test PASSed.

Will this be merged soon?

This would have to be reviewed by @tdas

Merged build triggered.

Merged build started.

Test build #45426 has started for PR 9420 at commit c21e786.

Test build #45426 has finished for PR 9420 at commit c21e786.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

All right. Merging this to master and 1.6. Thanks @zsxwing for doing this.


Support for detection if TLPHAsset is created from camera using picker.

Sometimes we need to detect if the selected TLPAsset object returned from TLPhotoPicker is from camera. This PR provides this information with each TLPAsset.

Hi, @abhishekfk
When is this useful?

Sometimes we need to know whether selected assets are created using camera or were already present. In my case, I needed it for tracking purpose. I wanted to track if user is selected pre-existing image from library, or he created new image with camera.
There can be many other use cases.

@abhishekfk
If you still want 'isSelectedFromCamera' option,
Could you pull request the part with the option in it?

@tilltue
Fixed PR with only camera selection BOOL. Please review and merge.


[release-4.14] OCPBUGS-37175: Delete IDMS in dataplane once HCP ICS field is removed

This is a manual cherry-pick of https://github.com/openshift/hypershift/pull/4457

/area hypershift-operator

/retest-required

/jira refresh


ERROR: flake8 5.0.4 has requirement importlib-metadata<4.3

Hi,
Thanks for this project!
I'm an NVIDIA software engineer, working on Omnigraph.
I tried to install your extension using Kit 105, but got the error:
ERROR: flake8 5.0.4 has requirement importlib-metadata<4.3

Any idea how to solve this?
Thanks!

Hi @ziriax
This extension requires the following Python packages indicated in .toml config file. Can you try to install them separately via Omniverse kit Python and indentify which of them is causing the error?

nest_asyncio
jupyterlab
notebook

It seems is a package conflict, I forgot to paste the rest of the error message, which states that a newer version of importlib-metadata is installed that is incompatible with flake8.

So, @ziriax, is it working now?


Keyboard is typing from RTL and not LTR, Linux Desktop

Steps to Reproduce

Create a new project for flutter linux with latest dev channel.
Update the files as follows: Add Form(with a key) --> TextFormField(with a controller)
Now run your app with Linux as a device and start writing some text in the TextFormField like Hello World

Expected results:
It should type normally like Hello World.
Actual results:
It is type differently or reverse like dlroW olleH
https://user-images.githubusercontent.com/41370460/108619709-94570700-744c-11eb-9470-aac009946572.mp4

Logs

[✓] Flutter (Channel dev, 1.27.0-4.0.pre, on Linux, locale en_US.UTF-8)
    • Flutter version 1.27.0-4.0.pre at ~/dev/flutter
    • Framework revision f8cd24de95 (5 days ago), 2021-02-16 11:24:17 -0800
    • Engine revision 1d537824d6
    • Dart version 2.13.0 (build 2.13.0-30.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at ~/Android/Sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: ~/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

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

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.1
    • cmake version 3.19.2
    • ninja version 1.10.2
    • pkg-config version 0.29.2

[✓] Android Studio (version 4.0)
    • Android Studio at ~/android-studio
    • Flutter plugin version 51.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (1 available)
    • Linux (desktop) • linux • linux-x64 • Linux

! Doctor found issues in 1 category.

It seems that it is not reproducible in other apps like I tried navoki-notes from snap-store, but still it persists in all textformfield's for my app.
You can check my app's code itself if you think you can solve it.

I am having this issue too... I think it is something with flutter 1.27 'cause it not occurs on 1.26...

I have the same problem as well. For now I created the following as a workaround (only tested on linux):
import 'package:flutter/material.dart';

class LinuxTextFormField extends StatefulWidget {
  final TextEditingController controller;
  final InputDecoration? decoration;

  const LinuxTextFormField({
    Key? key,
    required this.controller,
    this.decoration,
  }) : super(key: key);

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

class _LinuxTextFormFieldState extends State<LinuxTextFormField> {
  late String lastValue;
  late int lastPosition;
  final FocusNode rawFocus = FocusNode();

  @override
  void initState() {
    super.initState();

    lastValue = widget.controller.text;
    lastPosition = widget.controller.selection.start;
  }

  @override
  void didUpdateWidget(covariant LinuxTextFormField oldWidget) {
    super.didUpdateWidget(oldWidget);
    if (oldWidget.controller != widget.controller) {
      lastValue = widget.controller.text;
      lastPosition = widget.controller.selection.start;
    }
  }

  @override
  Widget build(BuildContext context) {
    return RawKeyboardListener(
      focusNode: rawFocus,
      onKey: (value) {
        lastPosition = widget.controller.selection.start;
      },
      child: TextFormField(
        controller: widget.controller,
        decoration: widget.decoration,
        onChanged: (value) {
          if (value.length > 1 && lastValue.length < value.length) {
            final enteredChar = value[0];
            final oldValue = value.substring(1);

            var prefix = oldValue.substring(0, lastPosition);
            var suffix = oldValue.substring(lastPosition);
            final newValue = prefix + enteredChar + suffix;
            widget.controller.value = TextEditingValue(
              text: newValue,
              selection: TextSelection.collapsed(offset: lastPosition + 1),
            );
            lastValue = newValue;
            lastPosition = lastPosition + 1;
          } else {
            lastValue = value;
            lastPosition = value.length;
          }
        },
      ),
    );
  }
}

It supports appending, prepending and deleting text. It does not support editing of selected text areas, which could be added, but I don't think it's necessary for a workaround.
I also noticed that the same bug is true for TextField. I also noticed that the selection jumps to zero just before the Text is applied, but after the key has been pressed, if that helps anybody to fix the issue?

Just checked, this is still true for Flutter 2.0 :wink:

@TahaTesser Please re-review this or else it would be lost under other issues.
This is major issue for linux platform as it makes textformfield or textfield completely unusable.

@prateekmedia
thanks for pinging me, looks like this issue was lost from my backlog

Hi @prateekmedia
Here I created a minimal code sample based on the description and ran it on  the Linux desktop on the latest stable channel on PopOS 20.10
Feel free to edit the code sample to make It reproducible

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

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    final appTitle = 'Form Validation Demo';

    return MaterialApp(
      title: appTitle,
      home: Scaffold(
        appBar: AppBar(
          title: Text(appTitle),
        ),
        body: MyCustomForm(),
      ),
    );
  }
}

class MyCustomForm extends StatefulWidget {
  @override
  MyCustomFormState createState() {
    return MyCustomFormState();
  }
}

class MyCustomFormState extends State<MyCustomForm> {
  final _formKey = GlobalKey<FormState>();
  final TextEditingController controller = TextEditingController();

  @override
  Widget build(BuildContext context) {
    return Form(
      key: _formKey,
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: <Widget>[
          TextFormField(
            controller: controller,
          ),
        ],
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.0, on Linux, locale en_US.UTF-8)
    • Flutter version 2.0.0 at /home/taha/Code/flutter_stable
    • Framework revision 60bd88df91 (20 hours ago), 2021-03-03 09:13:17 -0800
    • Engine revision 40441def69
    • Dart version 2.12.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /home/taha/Code/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /home/taha/Code/SDK
    • Java binary at: /home/taha/Code/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

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

[✓] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 11.0.0-2
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.2

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

[✓] VS Code (version 1.53.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.20.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Linux
    • Chrome (web)    • chrome • web-javascript • Google Chrome 88.0.4324.150

! Doctor found issues in 1 category.

Thanks!

@avbk Can you tell me your distro name or the name of you DE like gnome, kde, etc.
@TahaTesser I think this only happens in non-GNOME distros(like me, using Budgie) as UBUNTU and POP OS both uses gnome so that might be the case, although I am not too sure.
Also I can reproduce the same using the code you have given in the comment and I am currently on 2.1.0-10.0-pre as stable gives me error when compiling.

I can confirm that this bug also occurs on a GNOME install on Arch Linux with the code sample posted by @TahaTesser.

 Neofetch for completeness
                   -`                    michael@archtwo
                  .o+`                   ---------------
                 `ooo/                   OS: Arch Linux x86_64
                `+oooo:                  Host: XPS 8940
               `+oooooo:                 Kernel: 5.11.2-arch1-1
               -+oooooo+:                Uptime: 7 hours, 32 mins
             `/:-:++oooo+:               Packages: 1278 (pacman), 10 (flatpak)
            `/++++/+++++++:              Shell: bash 5.1.4
           `/++++++++++++++:             Resolution: 4800x2700
          `/+++ooooooooooooo/`           DE: GNOME 3.38.3
         ./ooosssso++osssssso+`          WM: Mutter
        .oossssso-````/ossssss+`         WM Theme: Adwaita
       -osssssso.      :ssssssso.        Theme: Adwaita-dark [GTK2/3]
      :osssssss/        osssso+++.       Icons: Adwaita [GTK2/3]
     /ossssssss/        +ssssooo/-       Terminal: gnome-terminal
   `/ossssso+/:-        -:/+osssso+-     CPU: Intel i7-10700 (16) @ 4.800GHz
  `+sso+:-`                 `.-/+oso:    GPU: NVIDIA GeForce RTX 2060 Rev. A
 `++:.                           `-/+/   GPU: Intel Device 9bc5
 .`                                 `/   Memory: 4996MiB / 15737MiB

 `flutter doctor -v`
[✓] Flutter (Channel master, 2.1.0-11.0.pre.31, on Linux, locale de_DE.UTF-8)
    • Flutter version 2.1.0-11.0.pre.31 at /home/michael/flutter
    • Framework revision 8bdd710010 (vor 5 Tagen), 2021-02-27 16:21:03 -0500
    • Engine revision 06957f3135
    • Dart version 2.13.0 (build 2.13.0-81.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /home/michael/Android/Sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /home/michael/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /usr/bin/chromium

[✓] Linux toolchain - develop for Linux desktop
    • clang version 11.1.0
    • cmake version 3.19.6
    • ninja version 1.8.2
    • pkg-config version 1.7.3

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

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Linux
    • Chrome (web)    • chrome • web-javascript • Chromium 89.0.4389.72 Arch
      Linux

• No issues found!

 Screen recording
https://user-images.githubusercontent.com/44171190/109976580-37850780-7cfc-11eb-8081-d68d504c467a.mp4

I can reproduce the bug with the provided code as well.
I'm on Fedora 33 using GNOME 3.38.4 with X11

Please merge this bug with https://github.com/flutter/flutter/issues/76383, they seem to be the same issue.

@avbk
Thanks for testing my code sample, this doesn't reproduce in popOS

Duplicate of #76383, let's discuss it there.

Duplicate of #76383, let's discuss it there.

@prateekmedia
Make sense, since the cursor is moving to start, it makes it looks like the text is being entered in RTL.
I will


Fetching policy file error connecting to wss endpoint

I run into a SecurityError: Error #2048 when connecting to a wss endpoint:
https://rawgit.com/leeyeh/js-realtime-sdk/issue/web-socket-js/demo/web-socket-js/fail.html
[WebSocket] debug enabled
[WebSocket] policy file: xmlsocket://rtm51.leancloud.cn:843
[WebSocket] cannot connect to Web Socket server at wss://rtm51.leancloud.cn:6799/ (SecurityError: Error #2048)
make sure the server is running and Flash socket policy file is correctly placed
Error: Error #1009
[WebSocket] closed

However, if I connect to the same domain over ws: first, everything works fine.
https://rawgit.com/leeyeh/js-realtime-sdk/issue/web-socket-js/demo/web-socket-js/success.html
[WebSocket] debug enabled
[WebSocket] policy file: xmlsocket://rtm51.leancloud.cn:843
[WebSocket] connected
[WebSocket] request header:
GET / HTTP/1.1
Host: rtm51.leancloud.cn:6779
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Key: ZFFqaXF7LRtYUSwHLkxqZg==
Origin: https://rawgit.com
Sec-WebSocket-Version: 13

[WebSocket] connected
[WebSocket] starting SSL/TLS
[WebSocket] request header:
GET / HTTP/1.1
Host: rtm51.leancloud.cn:6799
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Key: Gh9eWEMOZl82cy8cVXpsWA==
Origin: https://rawgit.com
Sec-WebSocket-Version: 13

[WebSocket] response header:
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: loOb+6xIG/TLyLrQkiINFZ3xKFk=

Event {isTrusted: false}

[WebSocket] response header:
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: WTRZwWqWWbaPIp35Zg5NNbo8as0=

Event {isTrusted: false}

The policy file is served correctly:
echo "<policy-file-request/>" | nc rtm51.leancloud.cn 843
<cross-domain-policy><allow-access-from domain="*" to-ports="*" /></cross-domain-policy>%

Hmm that's weird, but I have no idea why. Have you confirmed that it works fine without WEB_SOCKET_FORCE_FLASH?

Yes, it works with native WebSocket implement.

Hi guys, same problem. Have you found any solution for this?

save problem.please tell me why?


How to use the screen magnifier?

I just do not know how to magnify my screen to show the detail position, anyone can help me?

You can try the new version of the recorder interface, you can display the coordinates of the focus, but it is not easy to use now, I hope to support the keyboard direction button adjustment, mouse drag and drop is not accurate and easy to make mistakes.

I hope to support the keyboard direction button adjustment

I just implemented that. It will be available with v2.17
Also, I'm closing this since it was already answered.


Install clang-format

https://github.com/actions/virtual-environments/issues/104#issuecomment-589962007

/azp run ubuntu1604, ubuntu1804

/azp run ubuntu1604, ubuntu1804

/azp ubuntu1604

/azp run ubuntu1604

How about making clang-format-9 as the default clang-format using update-alternatives? Since clang-9 and clang++-9 has already been set as default.

How about making clang-format-9 as the default clang-format using update-alternatives

Great idea! Pushed a commit for this.

/azp run ubuntu1604, ubuntu1804

@NilsIrl I'm afraid you've missed the name for the clang-format
update-alternatives: --install needs <link> <name> <path> <priority>

I'm afraid you've missed the name for the clang-format

Thank you, fixed it.

/azp run ubuntu1604, ubuntu1804


New pod release

Hello,
can you please submit a new cocoapods release?
Thanks,
Dem

Please check latest version and let me know if you have problem. Thank you.


[Transaction] Consume transaction message logic optimized

Motivation
The transaction message consuming logic needs to be optimized. One transaction commit marker in the topic partition consists of many Entries in the TransactionBuffer, so one transaction could be seen as one batch.
Modifications

When sending messages to consumers use the batchIndex in the MessageIdData to present the startBatchIndex of the Entry.

Calculate the transaction messages number.

When the first reading one transaction init it's batchDeletedIndexes in the ManagedCursorImpl.

Verifying this change
This change can be verified as follows:

org.apache.pulsar.broker.transaction.TransactionConsumeTest

Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation

Does this pull request introduce a new feature? (no)

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks


Add Epoch.app version 2.0

Stop using Flash and discover EpochTM, a powerful yet easy-to-use animation tool for building and publishing multi-screen HTML5 ads.

Oh, a tool to make animated ads that work on every screen. This popped into my head.

Haha :) Still, it isn't flash. That's good … … or at least better.


fix inverted edit volumes placeholder

d'oh, that is indeed backwards.  The square brackets would need to move too though, [/path/on/host:]/path/in/container[:ro]

moved brackets too

Thanks!


Http/2 RST_STREAM frame robustness

Motivation:
The Http2ConnectionHandler writeRstStream method allows RST_STREAM frames to be sent when we do not know about the stream and after a RST_STREAM frame has already been sent.  This may lead to sending frames when we should not according to the HTTP/2 spec. There is also the potential to notify the closeListener multiple times if the closeStream method is called multiple times.
Modifications:

Prevent RST_STREAM from being sent if we don't know about the stream, or if we already sent the RST_STREAM.
Prevent the closeListener from being notified multiple times.

Result:
More robust writeRstStream logic in boundary conditions.

@nmittler @buchgr - Please review.
This was intended to supersede PR https://github.com/netty/netty/pull/3509.
We may have to break up the connection().goAwaySent(lastStreamId); checking if the frame can be sent, from the actual indication that the goaway was sent in PR https://github.com/netty/netty/pull/3516.  Perhaps this PR should be merged first?

Also lets have the discussion of if we should be failing or succeeding the promises when we are not actually sending anything.  To me using the logic of this promise is set successful if a frame is sent as a result of this call makes sense.  I see the alternative logic of if this operation succeeds now, or has been done successfully in the past but it seems like the method call is thus becoming stateful based upon past events.

@Scottmitch

To me using the logic of this promise is set successful if a frame is sent as a result of this call makes sense.

I agree it does make sense. However, so does sticking with the current behavior as when one calls writeRstStream all one wants to do is close the stream, if it's closed already even better so. It would also be consistent with other behavior in the HTTP2 codec, where when something is closed, calling close again is just a NOOP. I think the some should apply to writeRstStream. I just can't see a downside to returning a succeeded future.

I see the alternative logic of if this operation succeeds now, or has been done successfully in the past but it seems like the method call is thus becoming stateful based upon past events.

It's stateful in either case.

 In the stream states section it says An endpoint MUST NOT send frames other than PRIORITY on a closed stream.. It should be treated as a error then (correct as is). Sorry for the confusion.

I agree it does make sense. However, so does sticking with the current behavior as when one calls writeRstStream all one wants to do is close the stream, if it's closed already even better so.

Maybe, but perhaps one expects a write to occur (the method name has write in it after all :)).

I just can't see a downside to returning a succeeded future, but the downside of failing the future is that people will have to do weird error handling.

I think the discussion boils down to interface expectations.  The name implies when something is written then the operation is successful (the method names are prefixed with writeXXX).  If the intention is to have a higher level level operation we may be able to clarify the interface naming conventions at this level.  For example the write prefix may be appropriate for the Http2FrameWriter but perhaps not for the Http2ConnectionHandler (and others that layer on top of Http2FrameWriter ).  Although less apparent we may also be able to indicate this behavior in the comments.

@buchgr @nmittler - I pulled all the GO_AWAY changes out and left comments on PR https://github.com/netty/netty/pull/3516 to be sure we have the changes covered.

Issue https://github.com/netty/netty/issues/3536 has been opened to continue discussion on the writeXXX interfaces.  After someone gives me the OK I'll cherry-pick this.

@Scottmitch tyvm :-)!

@Scottmitch LGTM

@buchgr @nmittler @normanmaurer - Thanks for the review!
Cherry-picked 4.1 (d857b16) master (bd66dca).

Clean up of punctuation 4.1 (23f881b382b127b6e0e7016413f389209376e932) master (c60d1f32062962fcbb6d7d3e5f1cb46a621a9139)


Prepend numbering option for playlists

It would be nice to have an option to prepend a number to each video in a playlist, to maintain order. This is especially useful in courses, which sometimes don't have the lecture number in the video name and depend on the order in the playlist.
Debugging the code, it looks the change needs to be in the DownloadMultipleSetupViewModel.Confirm, by replacing the foreach with a good-old for, and using the (string formatted) loop counter to prepend the filename if the option is selected

@iraqigeek Please vote for this feature request as well. https://github.com/Tyrrrz/YoutubeDownloader/issues/46


Added support for PHP 5.3

Removed short array notation, making things compatible with PHP 5.3.
I couldn't seem to get the phpunit tests to work. I may not have my test_keys.json file setup correctly.

@jxmallett Thanks for doing this! Little improvements here and there make everything better.

Well, hmm. Unfortunately, our dependency on Guzzle 5.1 doesn't allow us to set the minimum php version to 5.3 (Guzzle 5.1 requires 5.4 or higher). I don't think we should downgrade Guzzle to add this support. I really do appreciate the effort, but it looks like we'll just have to let 5.3 support gracefully lapse.

Ahh, I missed that catch! No worries. Thanks for taking the time to give it a try. Time to upgrade the server, I think - 5.3 is becoming more trouble than the upgrade.


fatal error: bls-dash/bls.hpp: No such file or directory

Hi, how are you? i have an error when trying to compile a trace to run a node, can you help me please?

What process are you following building? Please follow the build guides found in the doc folder including building depends

yes, i followed and even redid again but nothing came of it
one note is that the missing file "libdash_server_a-bloom.o" is not available on github

What's your environment, OS, etc
What exactly were all the commands you ran?

I use Zorin OS
I gave the following commands
./autogen
./configure --enable-debug --with-incompatible-bdb --with-gui=qt5
make -j4

Sooo... You didn't build depends?
cd depends
make
./configure --prefix depends/host as described in docs

no, i will try now, thanks


[Serial] Remove kruft (i.e. beginAsync())

beginAsync() is an artifact from the original design of this library, and serves no purpose in its current configuration.

This issue can be closed, Zak please confirm.


SupportCommander defined by tag not json

SupportCommander is defined by tag not by unit, despite being only one unit. This leads to conflicts where a unit mod or faction has also used the SupportCommander unit type. This should be changed to point directly at the unit.

UberSupportCommander introduced and AI files updated to resolve.


url combobox should start empty on click during recording so all recorded pages are visible

Closing as we are not using a combobox anymore.


Implementation change to tests/compare_buffer_functions.cpp

As-is, compare_buffer_functions.cpp will fail if there are differences between the reference and test arrays up to some constant. We only care if there are differences up to a length of n.

See #12.


Play games by using in-screen controller for mobile gaming

Suggest having in-screen controller using  for playing on mobile. We can create a new class to handle  controls just like keypad.js

Good idea! Might be the same as #7

@tintheanh I've posted the GBA designs with on screen controller on a different issue board,  didn't know if you saw these yet
https://www.figma.com/file/azIaf5sIOT1Vj86lIui0El/GBA.js?node-id=0%3A1

@jriceart The UI looks great! If the front-end code is not yet implemented I can try to jump in and work on it.

Duplicate of #13


discovery: report APM instrumentation for NodeJS

What does this PR do?

Hook up the NodeJS instrumentation detection. It works by walking the parent directories of the service, looking for a package.json file. If it finds one, it looks for the presence of  "dd-trace" in it.
Motivation
https://datadoghq.atlassian.net/browse/USMON-1159

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


More General And Powerful Role Detection

To determine whether a dancer serves a specified role when performing
a call, we currently use those_with_role.
There are shortcomings with the current implementation:

How would we do "those facing out two dancer call"?

"Those facing out un around those facing in"?

For calls like DiveThru, PassToTheCenter and TradeBy, how do we
specify the role for the final trade-like part?  For this, could use
DesignatedDancers in the expand_parts method.

How would we do "Centers Hinge" for any 1 by 4 formation?  Hinge is a two dancer call (MiniWaveorCouple) but Centers` implies at
least 4 dancers.

Should can_do_call decline if the call's role is not defined for the
queried formation and a lower precedent implementation on a larger
formation be considered?
Should can_do_call also take the containing 8 dancer context
formation?
Look at those_with_role.  We could pass it all of the DancerStates, or
the biggest formation.
If we have all of the DancerStates, then ThoseFacingOut might be
determined by vector from flagpole and facing direction (dot product?)
and locations of other dancers.  This is probably much more work than
having the context formation though.
Would it be helpful if the knowledge base also collected facts like
FormationContainedIn(smaller, bigger)?

FormationContainedIn is a temporal fact.
I don't think they would ever serve as the input to a Rule, only an output.
We could have a special memory node that collects them into a hash table for faster lookup.  That hash table could have its own field in the knowledge base.
More generally, we might even give the knowledgebase a map from type to memory node.
If a Role isn't informed by a given formation type then look at the formations that contain it.
We can prebiild a map from Role to formation.  We already build this for the documentation.
This could all still be done in those_with_role if it is also passed the knowledgebase.  There could be a single method that takes the kb so the others need not be changed.  If there is no applicable formation/role method then it trys the containing formations.

SquareDanceFormationRule.CoupleBoxRule would need to be broken up in order to generate the FormationContainedIn facts relating to FaceToFace, BackToBack and Tandem.  Maybe have an intermediate fact for two different couples not encroached on with direction disambiguation.


[Feature request]: Trigger Alarm of Camera individually

Describe the solution you'd like
Hi,
First of all thanks for your work!
One question: Would it be possible to integrate a trigger for the alarm sound of cameras w/o using the homebase as in [#76]? I for myself (and probably others as well) only have cameras without having any homebase at all, and directly using them e.g. with HomeKit. Triggering the alarm would make it very useful for a custom alarm.
Thanks in advance and cheers!

This functionality is already included (trigger_alarm_sound / reset_alarm_sound).


Canadian EPG

Any chance that the Canadian EPG is going to be fixed? Still missing 95% of the channels

Duplicate #403


安装过程中报错 v1版本

WARNING: The script qiniupy is installed in '/home/kook2/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
duplicity 3.0.0 requires atom, which is not installed.
duplicity 3.0.0 requires azure-storage-blob, which is not installed.
duplicity 3.0.0 requires boxsdk[jwt], which is not installed.
duplicity 3.0.0 requires gdata-python3, which is not installed.
duplicity 3.0.0 requires google-api-python-client, which is not installed.
duplicity 3.0.0 requires google-auth-oauthlib, which is not installed.
duplicity 3.0.0 requires jottalib, which is not installed.
duplicity 3.0.0 requires keyring, which is not installed.
duplicity 3.0.0 requires mediafire, which is not installed.
duplicity 3.0.0 requires megatools, which is not installed.
duplicity 3.0.0 requires pydrive2, which is not installed.
duplicity 3.0.0 requires pyrax, which is not installed.
duplicity 3.0.0 requires python-gettext>=5.0, which is not installed.
duplicity 3.0.0 requires python-keystoneclient, which is not installed.
duplicity 3.0.0 requires python-swiftclient, which is not installed.
duplicity 3.0.0 requires requests-oauthlib, which is not installed.
fabric 3.2.2 requires deprecated>=1.2, which is not installed.
duplicity 3.0.0 requires chardet<3.10, but you have chardet 5.2.0 which is incompatible.
duplicity 3.0.0 requires cryptography==3.4.8, but you have cryptography 42.0.8 which is incompatible.
duplicity 3.0.0 requires urllib3<1.26, but you have urllib3 1.26.18 which is incompatible.

之前有安装过其它python项目吗？

之前安装过其他python项目吗？

我找台干净的机器 试下吧 。

之前安装过其他python项目吗？

我找台干净的机器 试下吧 。

嗯，报错信息看着是依赖的Python包冲突


Fixed warnings in publish action

See recent "Publish" action logs: https://github.com/medplum/medplum/actions/runs/6659864785

Upgraded actions/github-script from v4 to v6 to fix node12 warning
Fixed npm WARN publish "repository.url" was normalized to "git+https://github.com/medplum/medplum.git"
Removed medplum-cdk-init from @medplum/cdk

coverage: 93.86% (-0.004%) from 93.864% when pulling 6f2dad1f83d895b3f048f7a26598d5f70cdac007 on cody-fix-publish-warnings into 1af3dd2ad91c746aaa59d853c461764719e1784d on main.


Rollout cloud templates

Bumping properties panel dependencies
Add cloud-element-templates provider available in Camunda Cloud Modeler
Re-export cloud element templates validator to make it available in Camunda Modeler

Related to https://github.com/camunda/camunda-modeler/issues/2731

Looking at you, flaky tests: https://github.com/camunda/camunda-bpmn-js/issues/85 👀

Snapshot from the Camunda Modeler integration.


Last message in Groupchat doesn't get returned[Issue]:

Describe the issue
I have registered a function to get real time messages from groupchat, but strangely, the last message is not returned? It does get printed in the terminal, though.
        def print_messages(recipient, messages, sender, config):
            if "callback" in config and config["callback"] is not None:
                # Call the provided callback function with the last message
                config["callback"](sender, recipient, messages[-1])
            print("Here is the message")
            print(f"Messages sent to: {recipient.name} | num messages: {len(messages)}")
            return False, None
        # Refresh the chat display
        self.user_proxy = autogen.UserProxyAgent(self, self.data, self.llm_config)
        self.user_proxy.register_reply(
        [autogen.Agent, None],
        reply_func=print_messages,
        config={"callback": update_ui_with_new_message},
        )

All the rest of the messages are but the last message of the conversation is never there in messages. not sure but Is this a known issue?
Steps to reproduce
No response
Screenshots and logs
No response
Additional Information
No response

Does the last message have TERMINATE? Is the GroupChatManager changing the is_termination_msg function?

@afourney No, it's the just like a regular message . use to (chat Manager):  Previously, I was accessing messages with groupchat.messages() that had all the messages, but that shows after the conversation is over, so not very practical. I thought of loggin the chat, but it shows it has been disabled and may be will be re-introduced in some later version of OPEANAIWrapper.
So, not sure, how to go about fixing this.

Can you share the configuration of the GroupChatManager?
I am particularly curious of the is_terminiation_msg option.
Here are the lines I am eying:
https://github.com/microsoft/autogen/blob/19b5c85034006a8a280b04327cfd0b687712f5f1/autogen/agentchat/groupchat.py#L363C9-L371C80
Notably, the message that has TERMINATE isn't rebroadcast. So, depending on where you are reading messages from, it might be missing (though someone is getting it because it is being printed....probably GroupChatManager)

The last message is not broadcast to other agents. But it is added to GroupChat.messages.

@sonichi That's quite an insight. So, that is it then. Thanks a lot , again.

@abhishekrai43 , I'm running into the same issue. How did you solve it for? How do you call your reply_func on the last message?

In the latest version, we should have fixed that: the last message is broadcast to every agent. Please report if that's not the case.


FEAT: +TOKEN modifier for side-effect functions

Inputs & outputs in needs & provides kwargs designated as token work as usual while solving the DAG but they are never assigned any values to/from the operation's functions:
from graphkit import operation, compose
from graphkit.modifiers import token

# Function appending a new dataframe column from two pre-existing ones.
def addcolumns(df):
    df['sum'] = df['a'] + df['b']

# Designate `a`, `b` & `sum` column names as an token arguments.
graph = compose('mygraph')(
    operation(
        name='addcolumns',
        needs=['df', token('a'), token('b')],
        provides=[token('sum')])(addcolumns)
)

# The graph works with and without 'c' provided as input.
df = pd.DataFrame({'a': [5], 'b': [2]})
assert graph({'df': df})['sum'] == 11

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! :smile:

Just didi it.
Is it understood what I'm trying to achieve?

Codecov Report

Merging #15 into master will increase coverage by 0.55%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #15      +/-   ##
==========================================
+ Coverage   77.87%   78.43%   +0.55%
==========================================
  Files           5        5
  Lines         348      357       +9
==========================================
+ Hits          271      280       +9
  Misses         77       77

Impacted Files
Coverage Δ

graphkit/modifiers.py
100% <100%> (ø)
:arrow_up:

graphkit/functional.py
94.11% <100%> (+0.36%)
:arrow_up:

Continue to review full report at Codecov.

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


A Native Collection has not been disposed, resulting in a memory leak

Describe the bug
When using the in-editor player to play any scene after switching to the XR SDK and installing the Oculus XR Plugin, the Unity console reports a memory leak and a few other Errors. No supported devices were connected to the computer. When you remove the Oculus XR package and attempt to load the scene again, you get a slightly different set of errors, but you still get the memory leak error. The Unity console output section has the stack traces for each error as well as a picture showing the Unity console.
The new scene does not need to have anything in it, other than the MRTK for this issue to occur. The Oculus XR package does not need to be installed for this issue to occur.
To reproduce
Steps to reproduce the behavior:

Create a new project or open clone from this repository and open it in Unity.
Import all of the MRTK packages.
Use the default Unity created scene, or create a new scene and add MRTK to the scene through the drop down menu.
Open Project Settings and then go to XR Plug-in Management and install the XR Plug-in Manager.
After the XR Plug-in Manager is installed, install the 'Oculus' and 'Windows Mixed Reality' Plug-in Providers.
Click the Play button to start the in-editor player.
Check the Unity console.

Note: Sometimes you need to load the scene multiple times before this issue occurs.
Expected behavior
Memory leaks do not occur when playing a new scene in the editor.
Your setup (please complete the following information)

Unity Version 2019.4.9f1
MRTK Version 2.4 | PR#8386

Target platform (please complete the following information)

Standalone

Unity console output
Playing a scene:

Unable to start Oculus XR Plugin

Unable to start Oculus XR Plugin.
0x00007FF7DE63840C (Unity) StackWalker::GetCurrentCallstack
0x00007FF7DE63C3C1 (Unity) StackWalker::ShowCallstack
0x00007FF7DCD187A5 (Unity) GetStacktrace
0x00007FF7DF2B826E (Unity) DebugStringToFile
0x00007FF7DE6977A5 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x00000238BF1E668B (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x00000238BF1E652B (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x00000238BF1E5A4E (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x00000238BF1E569A (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x00000238BF1E26AB (Mono JIT Code) [OculusLoader.cs:113] Unity.XR.Oculus.OculusLoader:Initialize ()
0x00000238BF1E140B (Mono JIT Code) [XRManagerSettings.cs:169] UnityEngine.XR.Management.XRManagerSettings:InitializeLoaderSync ()
0x00000238BF1E0DCB (Mono JIT Code) [XRGeneralSettings.cs:175] UnityEngine.XR.Management.XRGeneralSettings:InitXRSDK ()
0x00000238BF1E081B (Mono JIT Code) [XRGeneralSettings.cs:148] UnityEngine.XR.Management.XRGeneralSettings:AttemptInitializeXRSDKOnLoad ()
0x0000023911A56025 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
0x00007FF8DD10D690 (mono-2.0-bdwgc) [mini-runtime.c:2809] mono_jit_runtime_invoke
0x00007FF8DD092912 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke
0x00007FF8DD09B96F (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke
0x00007FF7DE5AAB2E (Unity) scripting_method_invoke
0x00007FF7DE5A486D (Unity) ScriptingInvocation::Invoke
0x00007FF7DE024DAF (Unity) RuntimeInitializeOnLoadManager::ExecuteInitializeOnLoad
0x00007FF7DE02A40B (Unity) RuntimeInitializeOnSceneLoadedBeforeAwake
0x00007FF7DC951052 (Unity) CallbackArray3<int const ,AwakeFromLoadQueue & __ptr64,enum SceneLoadingMode>::Invoke
0x00007FF7DE06947F (Unity) LoadSceneOperation::CompleteAwakeSequence
0x00007FF7DE069803 (Unity) LoadSceneOperation::CompletePreloadManagerLoadSceneEditor
0x00007FF7DE06A4B9 (Unity) LoadSceneOperation::IntegrateMainThread
0x00007FF7DE06DE09 (Unity) PreloadManager::UpdatePreloadingSingleStep
0x00007FF7DE06E65F (Unity) PreloadManager::WaitForAllAsyncOperationsToComplete
0x00007FF7DC956038 (Unity) EditorSceneManager::RestoreSceneBackups
0x00007FF7DC3B7544 (Unity) PlayerLoopController::EnterPlayMode
0x00007FF7DC3C9CB5 (Unity) PlayerLoopController::SetIsPlaying
0x00007FF7DC3CC992 (Unity) Application::TickTimer
0x00007FF7DCD3E1C0 (Unity) MainMessageLoop
0x00007FF7DCD48398 (Unity) WinMain
0x00007FF7DFD56542 (Unity) __scrt_common_main_seh
0x00007FF9503D6FD4 (KERNEL32) BaseThreadInitThunk
0x00007FF951ABCEC1 (ntdll) RtlUserThreadStart

Failed to load display subsystem

Failed to load display subsystem.
0x00007FF7DE63840C (Unity) StackWalker::GetCurrentCallstack
0x00007FF7DE63C3C1 (Unity) StackWalker::ShowCallstack
0x00007FF7DCD187A5 (Unity) GetStacktrace
0x00007FF7DF2B826E (Unity) DebugStringToFile
0x00007FF7DE6977A5 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x0000023911C22FBB (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000023911C22E5B (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x0000023911C2237E (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x0000023911C21FCA (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x0000023911C0E693 (Mono JIT Code) [OculusLoader.cs:118] Unity.XR.Oculus.OculusLoader:Initialize ()
0x0000023911C1F6EB (Mono JIT Code) [XRManagerSettings.cs:169] UnityEngine.XR.Management.XRManagerSettings:InitializeLoaderSync ()
0x0000023911C1F0AB (Mono JIT Code) [XRGeneralSettings.cs:175] UnityEngine.XR.Management.XRGeneralSettings:InitXRSDK ()
0x0000023911C1EAFB (Mono JIT Code) [XRGeneralSettings.cs:148] UnityEngine.XR.Management.XRGeneralSettings:AttemptInitializeXRSDKOnLoad ()
0x000002390C868925 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
0x00007FF8DD10D690 (mono-2.0-bdwgc) [mini-runtime.c:2809] mono_jit_runtime_invoke
0x00007FF8DD092912 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke
0x00007FF8DD09B96F (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke
0x00007FF7DE5AAB2E (Unity) scripting_method_invoke
0x00007FF7DE5A486D (Unity) ScriptingInvocation::Invoke
0x00007FF7DE024DAF (Unity) RuntimeInitializeOnLoadManager::ExecuteInitializeOnLoad
0x00007FF7DE02A40B (Unity) RuntimeInitializeOnSceneLoadedBeforeAwake
0x00007FF7DC951052 (Unity) CallbackArray3<int const ,AwakeFromLoadQueue & __ptr64,enum SceneLoadingMode>::Invoke
0x00007FF7DE06947F (Unity) LoadSceneOperation::CompleteAwakeSequence
0x00007FF7DE069803 (Unity) LoadSceneOperation::CompletePreloadManagerLoadSceneEditor
0x00007FF7DE06A4B9 (Unity) LoadSceneOperation::IntegrateMainThread
0x00007FF7DE06DE09 (Unity) PreloadManager::UpdatePreloadingSingleStep
0x00007FF7DE06E65F (Unity) PreloadManager::WaitForAllAsyncOperationsToComplete
0x00007FF7DC956038 (Unity) EditorSceneManager::RestoreSceneBackups
0x00007FF7DC3B7544 (Unity) PlayerLoopController::EnterPlayMode
0x00007FF7DC3C9CB5 (Unity) PlayerLoopController::SetIsPlaying
0x00007FF7DC3CC992 (Unity) Application::TickTimer
0x00007FF7DCD3E1C0 (Unity) MainMessageLoop
0x00007FF7DCD48398 (Unity) WinMain
0x00007FF7DFD56542 (Unity) __scrt_common_main_seh
0x00007FF9503D6FD4 (KERNEL32) BaseThreadInitThunk
0x00007FF951ABCEC1 (ntdll) RtlUserThreadStart

Failed to load input subsystem

Failed to load input subsystem.
0x00007FF7DE63840C (Unity) StackWalker::GetCurrentCallstack
0x00007FF7DE63C3C1 (Unity) StackWalker::ShowCallstack
0x00007FF7DCD187A5 (Unity) GetStacktrace
0x00007FF7DF2B826E (Unity) DebugStringToFile
0x00007FF7DE6977A5 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x0000023911C22FBB (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000023911C22E5B (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x0000023911C2237E (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x0000023911C21FCA (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x0000023911C0E77B (Mono JIT Code) [OculusLoader.cs:123] Unity.XR.Oculus.OculusLoader:Initialize ()
0x0000023911C1F6EB (Mono JIT Code) [XRManagerSettings.cs:169] UnityEngine.XR.Management.XRManagerSettings:InitializeLoaderSync ()
0x0000023911C1F0AB (Mono JIT Code) [XRGeneralSettings.cs:175] UnityEngine.XR.Management.XRGeneralSettings:InitXRSDK ()
0x0000023911C1EAFB (Mono JIT Code) [XRGeneralSettings.cs:148] UnityEngine.XR.Management.XRGeneralSettings:AttemptInitializeXRSDKOnLoad ()
0x000002390C868925 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
0x00007FF8DD10D690 (mono-2.0-bdwgc) [mini-runtime.c:2809] mono_jit_runtime_invoke
0x00007FF8DD092912 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke
0x00007FF8DD09B96F (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke
0x00007FF7DE5AAB2E (Unity) scripting_method_invoke
0x00007FF7DE5A486D (Unity) ScriptingInvocation::Invoke
0x00007FF7DE024DAF (Unity) RuntimeInitializeOnLoadManager::ExecuteInitializeOnLoad
0x00007FF7DE02A40B (Unity) RuntimeInitializeOnSceneLoadedBeforeAwake
0x00007FF7DC951052 (Unity) CallbackArray3<int const ,AwakeFromLoadQueue & __ptr64,enum SceneLoadingMode>::Invoke
0x00007FF7DE06947F (Unity) LoadSceneOperation::CompleteAwakeSequence
0x00007FF7DE069803 (Unity) LoadSceneOperation::CompletePreloadManagerLoadSceneEditor
0x00007FF7DE06A4B9 (Unity) LoadSceneOperation::IntegrateMainThread
0x00007FF7DE06DE09 (Unity) PreloadManager::UpdatePreloadingSingleStep
0x00007FF7DE06E65F (Unity) PreloadManager::WaitForAllAsyncOperationsToComplete
0x00007FF7DC956038 (Unity) EditorSceneManager::RestoreSceneBackups
0x00007FF7DC3B7544 (Unity) PlayerLoopController::EnterPlayMode
0x00007FF7DC3C9CB5 (Unity) PlayerLoopController::SetIsPlaying
0x00007FF7DC3CC992 (Unity) Application::TickTimer
0x00007FF7DCD3E1C0 (Unity) MainMessageLoop
0x00007FF7DCD48398 (Unity) WinMain
0x00007FF7DFD56542 (Unity) __scrt_common_main_seh
0x00007FF9503D6FD4 (KERNEL32) BaseThreadInitThunk
0x00007FF951ABCEC1 (ntdll) RtlUserThreadStart

Removing the Oculus XR package and playing a scene:

Error converting build target group names .

Error converting build target group names .
Must specify valid information for parsing in the string.
0x00007FF7DE63840C (Unity) StackWalker::GetCurrentCallstack
0x00007FF7DE63C3C1 (Unity) StackWalker::ShowCallstack
0x00007FF7DCD187A5 (Unity) GetStacktrace
0x00007FF7DF2B826E (Unity) DebugStringToFile
0x00007FF7DE6977A5 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x0000023911C22FBB (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000023911C22E5B (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x0000023911C2237E (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x0000023911C21FCA (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x00000239128AA933 (Mono JIT Code) UnityEditor.XR.VRDeviceTransition:EnableVRSettings ()
0x00000239126680F3 (Mono JIT Code) UnityEditor.XR.VRDeviceTransition:HandleVRDeviceTransition ()
0x00000239128AA12B (Mono JIT Code) UnityEditor.XR.VRDeviceTransition:SubsystemReloadCompleted ()
0x00000239128AA01E (Mono JIT Code) UnityEngine.SubsystemManager:Internal_ReloadSubsystemsCompleted ()
0x0000023911AF8405 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
0x00007FF8DD10D690 (mono-2.0-bdwgc) [mini-runtime.c:2809] mono_jit_runtime_invoke
0x00007FF8DD092912 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke
0x00007FF8DD09B96F (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke
0x00007FF7DE5AAB2E (Unity) scripting_method_invoke
0x00007FF7DE5A486D (Unity) ScriptingInvocation::Invoke
0x00007FF7DE59E855 (Unity) ScriptingInvocation::Invoke
0x00007FF7DB8B0B1B (Unity) Scripting::UnityEngine::SubsystemManagerProxy::Internal_ReloadSubsystemsCompleted
0x00007FF7DBC7E8E5 (Unity) SubsystemManager::DiscoverAllSubsystems
0x00007FF7DBC821C5 (Unity) SubsystemManager::ResolvePackages
0x00007FF7DD122518 (Unity) PackageManager::PackageAssets::RegisterPackages
0x00007FF7DD123320 (Unity) PackageManager::PackageAssets::ResolvePackages
0x00007FF7DD0FD983 (Unity) PackageManager::Project::Refresh
0x00007FF7DBCF6699 (Unity) CallbackArray::Invoke
0x00007FF7DCE95296 (Unity) RefreshInternalV2
0x00007FF7DCE99596 (Unity) StopAssetImportingV2
0x00007FF7DCE97146 (Unity) RefreshV2
0x00007FF7DCDB9801 (Unity) AssetDatabase::Refresh
0x00007FF7DBCF66A1 (Unity) CallbackArray::Invoke
0x00007FF7DC3CC1AE (Unity) Application::TickTimer
0x00007FF7DCD3E1C0 (Unity) MainMessageLoop
0x00007FF7DCD48398 (Unity) WinMain
0x00007FF7DFD56542 (Unity) __scrt_common_main_seh
0x00007FF9503D6FD4 (KERNEL32) BaseThreadInitThunk
0x00007FF951ABCEC1 (ntdll) RtlUserThreadStart

No XR SDK Provider detected in project

No XR SDK Provider detected in project. Re-enabling VR Device settings for Standalone
0x00007FF7DE63840C (Unity) StackWalker::GetCurrentCallstack
0x00007FF7DE63C3C1 (Unity) StackWalker::ShowCallstack
0x00007FF7DCD187A5 (Unity) GetStacktrace
0x00007FF7DF2B826E (Unity) DebugStringToFile
0x00007FF7DE6977A5 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x0000023911C22FBB (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000023911C22E5B (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x00000239128ABDAC (Mono JIT Code) UnityEngine.Logger:LogFormat (UnityEngine.LogType,string,object[])
0x00000239128ABBBE (Mono JIT Code) UnityEngine.Debug:LogFormat (string,object[])
0x00000239128AAA9B (Mono JIT Code) UnityEditor.XR.VRDeviceTransition:EnableVRSettings ()
0x00000239126680F3 (Mono JIT Code) UnityEditor.XR.VRDeviceTransition:HandleVRDeviceTransition ()
0x00000239128AA12B (Mono JIT Code) UnityEditor.XR.VRDeviceTransition:SubsystemReloadCompleted ()
0x00000239128AA01E (Mono JIT Code) UnityEngine.SubsystemManager:Internal_ReloadSubsystemsCompleted ()
0x0000023911AF8405 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
0x00007FF8DD10D690 (mono-2.0-bdwgc) [mini-runtime.c:2809] mono_jit_runtime_invoke
0x00007FF8DD092912 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke
0x00007FF8DD09B96F (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke
0x00007FF7DE5AAB2E (Unity) scripting_method_invoke
0x00007FF7DE5A486D (Unity) ScriptingInvocation::Invoke
0x00007FF7DE59E855 (Unity) ScriptingInvocation::Invoke
0x00007FF7DB8B0B1B (Unity) Scripting::UnityEngine::SubsystemManagerProxy::Internal_ReloadSubsystemsCompleted
0x00007FF7DBC7E8E5 (Unity) SubsystemManager::DiscoverAllSubsystems
0x00007FF7DBC821C5 (Unity) SubsystemManager::ResolvePackages
0x00007FF7DD122518 (Unity) PackageManager::PackageAssets::RegisterPackages
0x00007FF7DD123320 (Unity) PackageManager::PackageAssets::ResolvePackages
0x00007FF7DD0FD983 (Unity) PackageManager::Project::Refresh
0x00007FF7DBCF6699 (Unity) CallbackArray::Invoke
0x00007FF7DCE95296 (Unity) RefreshInternalV2
0x00007FF7DCE99596 (Unity) StopAssetImportingV2
0x00007FF7DCE97146 (Unity) RefreshV2
0x00007FF7DCDB9801 (Unity) AssetDatabase::Refresh
0x00007FF7DBCF66A1 (Unity) CallbackArray::Invoke
0x00007FF7DC3CC1AE (Unity) Application::TickTimer
0x00007FF7DCD3E1C0 (Unity) MainMessageLoop
0x00007FF7DCD48398 (Unity) WinMain
0x00007FF7DFD56542 (Unity) __scrt_common_main_seh
0x00007FF9503D6FD4 (KERNEL32) BaseThreadInitThunk
0x00007FF951ABCEC1 (ntdll) RtlUserThreadStart

XR SDK Provider detected in project

XR SDK Provider detected in project. Disabling VR Device settings for Standalone
0x00007FF7DE63840C (Unity) StackWalker::GetCurrentCallstack
0x00007FF7DE63C3C1 (Unity) StackWalker::ShowCallstack
0x00007FF7DCD187A5 (Unity) GetStacktrace
0x00007FF7DF2B826E (Unity) DebugStringToFile
0x00007FF7DE6977A5 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x0000023911B7E4FB (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000023911B7E35B (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x0000023911B7DC1C (Mono JIT Code) UnityEngine.Logger:LogFormat (UnityEngine.LogType,string,object[])
0x0000023911B7D91E (Mono JIT Code) UnityEngine.Debug:LogFormat (string,object[])
0x0000023911B7C543 (Mono JIT Code) UnityEditor.XR.VRDeviceTransition:DisableVRSettings ()
0x0000023911B79CDB (Mono JIT Code) UnityEditor.XR.VRDeviceTransition:HandleVRDeviceTransition ()
0x0000023911B79B6B (Mono JIT Code) UnityEditor.XR.VRDeviceTransition/AssetCallbacks:OnProjectChanged ()
0x0000023911AC10C7 (Mono JIT Code) (wrapper delegate-invoke) :invoke_void ()
0x0000023911B776C6 (Mono JIT Code) UnityEditor.EditorApplication:Internal_CallProjectHasChanged ()
0x000002391289DBF5 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
0x00007FF8DD10D690 (mono-2.0-bdwgc) [mini-runtime.c:2809] mono_jit_runtime_invoke
0x00007FF8DD092912 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke
0x00007FF8DD09B96F (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke
0x00007FF7DE5A1386 (Unity) CallStaticMonoMethod
0x00007FF7DE5A0FC9 (Unity) CallStaticMonoMethod
0x00007FF7DE5A0D51 (Unity) CallStaticMonoMethod
0x00007FF7DC2398F8 (Unity) SceneTracker::ProjectHasChanged
0x00007FF7DCE8E784 (Unity) HotreloadV2
0x00007FF7DCE96F50 (Unity) RefreshInternalV2
0x00007FF7DCE99596 (Unity) StopAssetImportingV2
0x00007FF7DCE97146 (Unity) RefreshV2
0x00007FF7DCDB9801 (Unity) AssetDatabase::Refresh
0x00007FF7DBCF66A1 (Unity) CallbackArray::Invoke
0x00007FF7DC3CC1AE (Unity) Application::TickTimer
0x00007FF7DCD3E1C0 (Unity) MainMessageLoop
0x00007FF7DCD48398 (Unity) WinMain
0x00007FF7DFD56542 (Unity) __scrt_common_main_seh
0x00007FF9503D6FD4 (KERNEL32) BaseThreadInitThunk
0x00007FF951ABCEC1 (ntdll) RtlUserThreadStart

We seem to only encounter this error specifically when using the Oculus XRSDK plugin for targetting standalone.  Found a thread with several other users encountering difficulty here: https://forum.unity.com/threads/unable-to-start-oculus-xr-plugin.913883/
Our vetted solution, Oculus XRSDK plugin for targetting Android, used for deploying to Quest works perfectly fine.

updating thread with error image that we're including in the release notes

Given this is an Oculus issue AFAIK, closing out the MRTK issue (it's not something we have control over)

Problem fixed here : https://youtu.be/w6cRuLJQ7E0


Enable TuringResultLog on upi router and refactor global ResultLog

Description

Remove experiment and treatment name from experiment response in json that was introduced in previous MR to keep interface as per v1.10.0. UPI Response will continue to be populated with experiment and treatment name

Refactor global ResultLog to be injectable to server

Add TuringResultLogMessage publishing to UPI Router as a option

note* - Leaving fiber as v2.1.0-rc2 for now till later date.
Modification
Persisting UPI kafka information in RouterVersion

api/turing/api/request/request.go - Add kafka config for UPI logger while building router version, so that it is persisted
api/turing/cluster/servicebuilder/router.go - the formatting logic is moved to request.go, env var will be created as per Kafka loggers

Supporting TuringResultLogMessage

api/turing/validation/validator.go - remove validation for UPI logger, as all type can be supported

Removing experiment/treatment name from experiment response

engines/router/missionctl/experiment/experiment.go - omit from json

Deletion of upi_nop_logger

Reusing nop_logger of http for the same

Refactoring of ResultLogger
At a high level, there are ResultLogger struct for TuringResultLogMessage and UPILogger for RouterLog. The result logger owns the logic on how the log proto message (TuringResult/RouterLog) is being constructed.
Each result logger composed of an underlying logger middleware that implement and hold the logic of how the respective proto is written (to bq/kafka etc)
upi_result_log and result_log are structured to be symmetrical as much as possible and dependencies are injected, which remove the need for monkey patching and allow mock logger to be injected and validate the log creation logic.

engines/router/missionctl/log/resultlog/resultlog.go

Removal of global logger
New ResultLogger struct
Removing of TuringResultLogEntry
Merged logutils.go into this file and make the method part of result logger, as per upi logger
InitTuringResultLogger does not create the underlying middleware anymore, the application owns the logic of what is the middleware to inject

engines/router/missionctl/log/resultlog/upi_result_log.go

new result logger and logger type field - base on the logger type, the result logger will determine which underlying logger to use
regardless of the chosen logger type, the server will call LogTuringRouterRequestSummary of the result logger, passing in the UPI req/res and be unaware which log proto is used nor how is it produced.

Testing
Verified bq logging from v1.10 (left) that response format are still intact after refactoring

BQ testing for http experiment response

@leonlnj I am yet to review this PR but will do it today. Thanks.

Btw, I have one related question, when / how is the UPILogger option chosen? As I understand, it only supports the Kafka Result logger now. But at the moment, is the UI exposing any way for the user to choose the RouterLog vs the usual ResultLog?

If the APP_RESULT_LOGGER=upi. Currently its not enabled on the UI and won't be.


Lessons/course cleanup?

Do we still need these?
https://github.com/Microsoft/pxt-arcade/tree/master/docs/lessons
https://github.com/Microsoft/pxt-arcade/blob/master/docs/courses/csintro.md

@jwunderl @ChaseMor

Lessons page is fine to remove, will need to check if anyone is using /csintro

Yeah, the lessons are unrelated to the course. They were made by the interns during the summer. I'm not sure what purpose they were made for, but they make for good workshop lessons. I know the stores use a modified Barrel Dodger for their workshops. They might be a bit too long to be converted into tutorials though.

lessons page now necessary as it was added back to the home page, and I think the CS Intro page is reasonable to leave in as it serves as a directory for the cs intro 'series'


add flag to show sbom files during a package inspect command

Description
This PR adds an optional flag to display SBOM information when inspecting a Zarf package. This gives users the ability to see SBOM information before they run a zarf package deploy command.
Fixes #677

Would you mind dropping a screenshot in the PR comments when you get a chance?


Add missing requirements and point to generic X-Plane 11 location

This PR makes a few minor changes to support running on other machines, including:

Pointing to the generic X-Plane 11 location
Updating requirements.txt (tested with Python 3.10.12). Note that Python 3.8 cannot support the versions in this requirements.txt file.

Justification for the changes to the requirements:

Thank you @makaimann!


Drag-n-Drop for file uploads

It seems the filepicker component doesn't support drag-and-dropping of files onto the componnet, The original file upload widget of the browser allows that.
Is it possible to add drag-n-drop support?

@DirkR it is possible. Will add this to a couple of updates coming next month

See #236


feat(honk): Shared relation arithmetic

Description
Introduces a framework that allows the relation arithmetic to be shared between the prover and verifier.
The sumcheck prover and verifier accumulate the contributions from each relation (really, each sub-relation) into, respectively, Univariates and individual field elements. When performing relation arithmetic on Univariates, we introduce UnivariateViews to reduce full length Univariates to the minimum required length and to avoid unnecessary copies.
To share the relation arithmetic. we introduce simple structs that specify two types: Accumulators and AccumulatorViews. For the prover, who accumulates Univariates, these are respectively std::tuple<Univariate> and std::tuple<UnivariateView>. For the verifier, who accumulates FFs, both types are simply aliases for std::array<FF> (since no "view" type is necessary). The containers std::tuple and std::array are needed to accommodate multiple sub-relations within each relation, where, for efficiency, each sub-relation has its own specified degree.
Checklist:

[ ] I have reviewed my diff in github, line by line.
[ ] Every change is related to the PR description.
[ ] I have linked this pull request to the issue(s) that it resolves.
[ ] There are no unexpected formatting changes, superfluous debug logs, or commented-out code.
[ ] There are no circuit changes, OR specifications in /markdown/specs have been updated.
[ ] There are no circuit changes, OR a cryptographer has been assigned for review.
[ ] I've updated any terraform that needs updating (e.g. environment variables) for deployment.
[ ] The branch has been rebased against the head of its merge target.
[ ] I'm happy for the PR to be merged at the reviewer's next convenience.
[ ] New functions, classes, etc. have been documented according to the doxygen comment format. Classes and structs must have @brief describing the intended functionality.
[ ] If existing code has been modified, such documentation has been added or updated.

Since this only modifies honk related code -- marking this feature as non-breaking while the honk codepath not known to be used externally


pl.scatter:

Hi,
I am testing pl.scatter and it seems that:

color cannot be a list (contrary to what the documentation mentions)
components='all' raises the error: ValueError: invalid literal for int() with base 10: 'all'

Any idea how to fix that?
Bérénice

Hi @fidelram, good to see you :smile:
I was working on the Galaxy integration. I tested that with the 1.3.2 version from Bioconda. I tested with adata from krumsiek11

For colors, I tried with `sc.pl.scatter(adata=adata, x='EKLF', y='Cebpa', color=['EgrNab', 'cJun']) and I got the error:
...
and (color is None or color in adata.obs.keys() or color in adata.var.index)):
File "path/to/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2035, in __contains__
 hash(key)
TypeError: unhashable type: 'list'

For components: the command was
sc.pl.scatter(
 adata=adata,
 x='EKLF',
 y='Cebpa',
 color='EgrNab',
 layers=('X', 'X', 'X'),
 use_raw=False,
 sort_order=True,
 components='all',
 projection='2d',
 legend_loc='right margin',
 legend_fontsize=1,
 legend_fontweight='normal',
 palette='viridis',
 frameon=True,
 right_margin=1.0,
 size=1.0,
 show=False,
 save='.png')

and the error:
components = np.array(components).astype(int) - 1
ValueError: invalid literal for int() with base 10: 'all'

Did I put the parameters in a wrong way?

Yes, 1.3.2 might contain still a few bugs on the scatter side (I should have made this a prerelease); I wanted to release 1.3.3 quickly so that the fixes are there but I think there still remain small issues. There will be more bug-free release soon.
You can just go back to 1.3.1, which is working fine.

@falexwolf Do you think that these errors come from the code that I modified? I think I didn't touch the function that @bebatut is using.

Ah right, we now have to separate scatter functions, which isn't a good situation. @bebatut components does only make sense if you provide basis as an argument. a list-like color was also only meant for that case. both is now deprecated as @fidelram wrote a whole new scatter backend; however, which for now, misses the x and y parameters...
In any case, pl.scatter should continue to work with the canonical calls and also with non-list-like color.

I think that the best is to have separate scatter functions. For the
remaining use cases of scatter a much simpler version can be devised. But
meanwhile,  @bebatut https://github.com/bebatut why did you try that
combination of parameters? Is this in some tutorial?
On Tue, Oct 23, 2018 at 7:15 PM Alex Wolf<EMAIL_ADDRESS>wrote:

Ah right, we now have to separate scatter functions, which isn't a good
situation. @bebatut https://github.com/bebatut components does only
make sense if you provide basis as an argument. a list-like color was
also only meant for that case. both is now deprecated as @fidelram
https://github.com/fidelram wrote a whole new scatter backend; however,
which for now, misses the x and y parameters...
In any case, pl.scatter should continue to work with the canonical calls
and also with non-list-like color.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/theislab/scanpy/issues/311#issuecomment-432336990,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEu_1TxK09r7RbbmfArW1Pt-UBFWhFQzks5un07HgaJpZM4XtV0c
.

Yes, you are right! We should reduce the complexity of the current sc.pl.scatter now that it's no longer used for the embeddings...

Hi all,
any update on this? I'm on version 1.4 and even if in the documentation the color parameter is defined as string or list of strings, I'm still unable to pass to the scatter method a list of strings as value.
Thanks

@fbrundu can you help me by posting an example hopefully using the datasets included in scanpy?

Hi @fidelram,
One way in which I'd like to do it is like the following:
sc.pl.scatter(adata, x='<gene1>', y='<gene2>', color=['Mki67', 'Pclaf'],
              save=False, use_raw=False)

to show the relationship between two genes (i.e. gene1 and gene2), and one third gene (in this case Mki67 in one subplot, Pclaf in the second).
One of the subplots could be like the following:

Hope this is clear.
Thanks

I’m pretty sure this is fixed by now, please reopen if I’m wrong.


vlan: removing a vlan base interface does not implicitly remove its dependent vlans

Steps to reproduce:

Create a vlan base interface
Create some vlans using that base interface
Remove the base interface

Expected:
The vlans that depend on the removed base interface should have been removed.
Actual:
The vlans that depend on the removed base interface have not been removed.

Is the behavior really expected? We had a similar issue with bridges and slaves and we did not want to remove the slaves if the bridge was removed IIRC. @EdDev what is your opinion?

If the base interface of a vlan is removed, any vlan on top of it cannot exist anymore.


Use telnet commands to interact with the receiver when the connection is healthy

With this PR telnet commands are used to interact with the receiver when telnet is connected and the connection is healthy. Otherwise, HTTP commands are used.
@dcmeglio @bdraco @starkillerOG If you would like to test this, please feel invited to do so 😄

not stale, awaits testing


CASMINST-4632: Create $this_node_manufacturer Goss variable

Summary and Scope
Some of the tests I wish to automate may only need to run (or not run) on specific hardware types. This ticket creates a new Goss variable ($this_node_manufacturer) which contains the manufacturer name of the local node, as reported by "ipmitool mc info".
I implemented this by adding it to the add_host_var function, and renaming that function to add_local_vars. That minimized the changes needed elsewhere, as well as gave us a place to set additional system-specific variables in the future.
To make things consistent, I changed the existing $thisnode variable to be named $this_node_name.
This PR does not introduce any tests which use the new variable yet. I wanted to keep the PRs smaller, so as to make reviews easier.
Issues and Related PRs
There will be no backport PRs for this, at least not at this point, as we are not letting most things into csm-1.2.
Testing
TBA
Risks and Mitigations
Very low risk. The new variable is not being used anywhere, and I will validate that the name change of the other variable has not broken any of the tests which use it.
Pull Request Checklist

[X] Version number(s) incremented, if applicable
[X] License file intact
[X] Target branch correct
[ ] Testing is appropriate and complete, if applicable

I am putting this out for review, but it should not be merged until I complete my testing of it


Make pictures in tutorial larger

Fixes #1665

Well can I get a screenshot or something?

Oh, I thought this https://github.com/microsoft/vscode-azureappservice/blob/6a5bd0389f8f98262d9bc6d22d60668fd354cc8e/resources/TrialApp.didact.md would be how it looked in VS Code, but it looks quite a bit different.  Does markdown not normally support the width property?

The Didact view is different than the markdown view on GitHub. I made sure the text in the images is of similar size to the text in the tutorial.

Oh while you're messing with images - can you double check if there are any extra ones in "resources/trialAppTutorial"? Seems like there's more images than used in the markdown


'Tag' init error

Xcode 12.0 (12A7209)
iOS 14.0 / 13.7
Arweave 1.0.2
If I use following code from README, I get error Cannot find 'Tag' in scope.
let tag = Tag(name: "myTag", value: "myValue")
When I try following one, I get error Extra arguments at positions #1, #2 in call .
let tag = Transaction.Tag(name: "myTag", value: "myValue")

Hi @OndrejHRIC, thanks for letting me know! This issue has been resolved in the new release, 1.0.3.


Add Python3 classifiers to setup.cfg

This adds python 3 / python 3 only classifiers to the setup.cfg, which is e.g. used for searching packages on PyPI. It is only metadata, not used for any actual checks (this is what python_requires is for).
Checklist:
Not relevant for this change

I decided it wasn't worth keeping this list maintained, so now we support "Python".

fair enough.


Client-side projects don't build with latest versions of Node

Per the Developer Setup instructions I tried using the latest version of Node (v6.x) to build the OZP webtop, HUD, and center, but I ran into various issues in all three projects.  I downgraded to Node v5.12.0, the latest version of v5.x, and still had various issues.  Finally I looked at the ozp-ansible project to see that it's installing Node v5.3.0 during deployment so I tried v5.3.0 and have been able to run all OZP projects successfully.
I just wanted to bring this to the attention of the maintainers of the projects.  I also wanted to bring up that Node v5.x is no longer actively supported, and it's suggested to migrate to a supported version of Node.

Thanks for bringing this to our attention. We have updated the instructions to reflect what the build was intended for. At this time any other version than the ones listed are not tested to confirm that they are working. We will update the instructions as we work on updating the stack on our side.


use my own data to predict

Hello, I see I can use my own data to predit,but if I use my own signal through the signal_to_cwt.m file, how can I do to generate .mat file to test. I have checked the data_test.mat ,there are some parameters.Do I need to write this parameters to .mat files?Or I just use the signal_to_cwt.m file results to write in .mat file ,is that working? Hope your response.

Hi,
Yes you can use the signal_to_cwt.m file. This code (function) transforms a PPG signal to its CWT representation. This representation can then be inputted to the U-Net. I used a .mat file in my .py codes but you can of course update this part with your own data loading functions.


[Comment Reply] The text with more than 8000 characters can be added into reply to the comment (8001 and much more)

Environment: Windows 10, Chrome 127.0.6533.89, 64-bit.
Reproducible: always.
Build found: 14.08.2024
Preconditions
The Event's page https://www.greencity.cx.ua/#/events is opened.
The user if logged in.
Steps to reproduce
1.Choose event with comments and reply to one.
2.Type 8001 characters. Click 'Reply' button.
3. Type much more that 8001 characters. Click 'Reply' button.
Actual result
The text with more than 8000 characters can be added (8001 and much more).
Expected result
1.System doesn't save reply with more that 8000 characters.
2.The reply text field is highlighted in red color starting from 8001 characters.
3.'Reply' button is disabled
4. Error message ''This reply text field shouldn't be more than 8000 characters' under the reply text field is displayed.
Postconditions
Close the Event's card.
User story and test case links
https://github.com/ita-social-projects/GreenCity/issues/6411
Labels to be added

https://www.greencity.cx.ua/#/events/3009
But I typed over 8002 somehow))) You can count characters to ensure)
чт, 15 серп. 2024 р. о 15:40 HelenSotnik @.***> пише:

I have generated 8002 characters text and added it to reply. The message
that it is more than 8000 chars text is shown, and button is not able to
push. Once I removed 2 chars and it became ok to save.
Screenshot.2024-08-15.at.16.37.06.png (view on web)
https://github.com/user-attachments/assets/20e62112-db5e-40dc-b22a-c317b8b0d0c9
—
Reply to this email directly, view it on GitHub
https://github.com/ita-social-projects/GreenCity/issues/7346#issuecomment-2291287172,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BITPJ6ODPXIDQHFVFSSJKWDZRSVU3AVCNFSM6AAAAABMQRXH42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJRGI4DOMJXGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

I have counted and number of chars you typed does not equal 8001 as mention. You can check it here. https://hyperhost.ua/tools/uk/character-counter#:~:text=✏ Як порахувати кількість символів,обсяг тексту в порожнє поле.

Here is you text counted by number of chars


feat(avm)!: revert/rethrow oracle

Creates a revert oracle to be used for rethrowing.
Changes TRAP/REVERT to have a runtime size.

WIP, circuit and other parts missing

#9408  👈
master

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

Join @fcarreiro and the rest of your teammates on  Graphite

Merge activity

Oct 25, 12:49 PM EDT: A user merged this pull request with Graphite.


Add files via upload

@SamiBasubrain I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host fikrgs.edu.sa.domains.lib.file not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Sample Heatmap for initial page load

As a user, I want to see a sample of the data as a heatmap, so that I can visualize wildfire trends
leaflet.heat (or leaflet heatmap plugin) ready data is already provided to the frontend as part of #55
Definition of Done

[x] On page load, populate and display a heatmap overlayed on the main map to the user
[x] Page does not freeze while waiting for the data request to return (about 2-3 seconds)

Tasks
suggested tasks:

[x] #120
[x] #128
[x] #131
[x] #134

Leaving story synopsis and comments here:
Initially there was uncertainty what heatmap plugin / utility we should use, as there were a few different options. I thought leaflet.heat would be the best option initially, but I found that react-leaflet is a bit different than vanilla leaflet.js. This lead me to react leaflet heatmap layer which was totally incompatible with our version of react-leaflet and react in general. I found a newer version, react leaflet heatmap layer v3 and met in the middle with react and react-leaflet with the most supported versions.
At that time, on the small (87000 rows) set of data I was using, it was taking 5 seconds to subset and return the data from the backend. I updated the django api view to request from the sql only the columns I need for the heatmap (and added fire size to use as intensity) and it made the request so much more performant, so now I can use tens of thousands of fires and it takes around one second. Work is being done on the indexes to allow us to run these requests even faster.