Create converter to const date time

Hi, I would like to improve your package.
I added the extension toConstDateTime() to a DateTime type to make it easier to convert into ConstDateTime.
I checked the dart version extension and is 2.7.0, so don't need upgrade or something.

Thank you @jttuboi!

Published! https://github.com/westy92/const-date-time/releases/tag/v1.2.0


Announcement: Upcoming Snakemake 8.0, including the removal of deprecated syntax

We are working intensively on Snakemake 8.0 at the moment.
First, the major highlight will be a plugin architecture which will enable a more distributed, less centralized development of Snakemake functionality. Plugin support will come for execution backends, remote file support, deployment options (conda/container/...), scheduling algorithms, and probably more. This way, Snakemake opens up towards research (and publications) in all of these areas without requiring people to do this under the Snakemake organization hood. This work happens in a collaboration of @vsoch and @johanneskoester, and builds upon some marvelous ideas previously explored by a group of dutch students (@hwalinga, @maarten0110, @je3we3, @lvkvA, also see here).
Second, I use this opportunity to redesign and clean up the Snakemake API.
Third, we will introduce a mechanism to define global conda packages for a Snakemake workflow (which will be injected into an overlay environment at runtime via https://github.com/koesterlab/conda-inject. This will allow to avoid the heavy default dependencies of the Snakemake conda package and make it very minimal and lightweight again.
Fourth, (in fact based on above mechanism) the Snakemake language will be separated from the Snakemake runtime, such that workflows can pin a supported version range of the Snakemake language that can then be loaded for parsing at runtime. In the future, this will avoid to a certain extend the update of older workflows upon deprecation of language features (see below), because the language and the runtime can be updated and deployed independently of each other.
Fifth, the Snakemake language will gain some new helper functions for collecting, branching, and lookup of values from config or sheets. These functions are designed to improve the readability, as they allow more semantic code instead of lots of very technical input functions.
Finally, we will remove some old functionality that has been superseded by new concepts:

subworkflow directive (use module directive instead)
version directive (use conda/container directive instead)
dynamic output (use checkpoints instead)

The deprecation of these concepts has been reflected since a long time already, hence we hope that the impact will be minimal.
Updates

The API redesign is already merged into the main branch (PR #2403). Sorry for the hassle, but this means quite some refactoring of the codebase. Please update your PRs and if needed resolve any conflicts.
Most of the executors have been transferred into plugins (github.com/snakemake/snakemake-executor-plugin-*). The plugins are not stable yet, and will be finalized and properly tested as soon as possible.

@johanneskoester for the language will there be a new repo to propose language changes?

Yes, that is the current plan. A new repo and a new package, called snakemake-language. The snakemake package will depend on it, but there will additionally be a new directive to pin a certain version range from within the workflow. I need to see while implementing how much independence between the runtime and the language is archievable.

Thanks for the shoutout. It's great to see Snakemake still improving its flexibility beyond its current "feature completeness".
For anybody interested, our analysis and ideas can still be read here:
https://desosa2022.netlify.app/projects/snakemake/
I also introduced Snakemake at my job, and what I also realized is that Snakemake can benefit you more than just easier scaling and all the bunch. It is like a microservice framework on the process level, where you have to think about your software architecture boundaries not as a HTTP interface, but as a CLI interface.

not sure what this means with respect to executors - is there a devel branch already? (Honestly, I have not seen one.)

not sure what this means with respect to executors - is there a devel branch already? (Honestly, I have not seen one.)

Not yet, haven't started yet.

See updates above: Most of the executors have been transferred into plugins (github.com/snakemake/snakemake-executor-plugin-*). The plugins are not stable yet, and will be finalized and properly tested as soon as possible.

My ETA for starting is likely early October - I got hit with two major talks and experiments, and I'm operating in full steam mode, at least until the first talk is done and the experiments are run (and I've started on the second one). Apologies to everyone for the delay! On my queue is refactor for the flux executor, and of course, batch.

Looking forward to all these amazing new developments! I was wondering if that will also make it easier to construct workflows from pure python, e.g. by subclassing sm objects, as opposed to using the snakemake language? I've found it's one thing to persuade larger (operational) groups to adopt a new python package, but quite another (insurmountable) thing to persuade them to adopt a new language.

... and I'm operating in full steam mode, ...

Same here, no apologies needed. I have so many "how can X be done then" questions, that I can figure that adjusting the docs alone is a lot of work.

Please, please reconsider the deprecation of subworkflows. It would be a major breaking change for most of my complicated pipelines subworkflows and modules can and do coexist.
Having the simpler subworkflows allows me to use a pipeline with subworkflows as a module and have all of the subworkflows of that module have the same prefix.
Additionally, I use subworkflows to make single pipelines flexible by including rules or not depending on the config file. This change would make that more difficult or impossible. An example is here:
if qc_type['ancestry']:
    include: 'rules/ancestry.smk'

if qc_type['popstrat']:
    if config['pcair']:
        if not qc_type['relatedness']:
            warnings.warn("PCAiR requires relatedness QC. Enabling.")
            qc_type['relatedness'] = True
        include: 'rules/relatedness.smk'
        relatedness_included = True
    include: 'rules/stratification.smk'

if qc_type['relatedness'] and not relatedness_included:
    include: 'rules/relatedness.smk'
    relatedness_included = True

It also is problematic to have to rewrite all the code.
Could you consider keeping the subworkflow directive while using modules as a backend in order to maintain compatibility and features while still simplifying the codebase?

@BEFH It is not the functionality which will be deprecated or dropped, but rather the directive, which will be dropped in favour of the module directive, only. Your code shows facultatively included rules, which is functionality inherent to modularization and is - to my understanding - uneffected by the upcoming changes.

It is, and I am sorry if it causes trouble for you. But subworkflows have been marked as decrecated for a long time. Indeed, some workflows would need refactoring, but in general the module system is a superset of subworkflows from a functional perspective. I am happy to receive an email and schedule a meeting in case you have specific issues with it or features that I missed. Also note that the module system had some bugs causing problems with rule names in nested scenarios but as far as I know they are all resolved in the upcoming Snakemake 8. If not, I am of course eager to fix them.

@BEFH wait, I just checked your example. This is actually not subworkflows, but the include directive. That one will not be removed at all. Of course it stays and everybody uses it a lot! With subworkflows I was referring to this: https://snakemake.readthedocs.io/en/stable/snakefiles/modularization.html#snakefiles-sub-workflows

Indeed!

hey folks! For those previously using the Google Life Sciences executor (or with interest in using Google Batch) development is underway, and I think we are at a point where any interested snakemake developers can come in and start playing around and contributing to development. To be clear - this is not ready for any kind of testing - we are still fairly early on, but I wanted to be inclusive in this process and get more eyes on the work. There have been a lot of changes (and a lot of moving pieces).
The current branch I'm working from is this PR: https://github.com/snakemake/snakemake-executor-plugin-googlebatch/pull/10 and the issue that I'm running into locally (primarily because I'm inexperienced with using snakemake, which is funny since I've developed a lot) is getting this basic hello world example to work: https://github.com/snakemake/snakemake-executor-plugin-googlebatch/tree/main/example/hello-world.
I had it working when I implemented a custom upload strategy for the workflow artifacts (akin to the life sciences executor) but @johanneskoester added a new feature to snakemake for it to handle these bundles https://github.com/snakemake/snakemake-executor-plugin-googlebatch/pull/9 and I haven't gotten a dummy example of the previously working workflow running yet with this new setup. Any help would be awesome! I have credentials I can use to develop and test locally (but can't put into the CI). If someone (or someones!) wants to tag team with me on this, that would be super fun <3
I've posted this message to a GLS issue, and apologies for the redundancy. I think we can make faster progress working together / with many eyes! Happy Thanksgiving! :pie:

Is there any estimate on the timescale for v8? We are looking into possibility of integrating with databricks storage and looks like a storage plugin is the future rather than the remote function calls?

Awesome! I hope to release an alpha version in the coming days. The final release still has to wait for adding back all old remote providers as plugins and for finalizing the google and azure executors.

I am really looking forward to the API redesign. I use Snakemake heavily at my job and have been developing an automated testing framework of sorts. Currently this involves a somewhat hacky process to "sneak" information about the workflow out of Snakemake by using a special rule to dump it to a JSON file. This is then used in testing code to reconstruct a representation of the workflow and rules using my own classes, because to my knowledge their Snakemake counterparts aren't fully documented or available outside of a running workflow.
I am hoping the new API and plugin system will make it easier for external code to read and inspect the data defined in a Snakefile.

Congrats! @johanneskoester, now that 8.0 is released, could you please take a look at #2515?


Broken hyperlink in TextView

Problem description
The & symbol breaks the hyperlink (...) in the markup enabled TextView.
Expected behavior
Such kinds of symbols should not break hyperlinks in the markup enabled TextViews.
Environment

Tabris.js version: 3.8.0-dev.20210526
Device: iPad 10.2
OS: iOS 14.6

Code snippet
const { TextView, contentView } = require('tabris');

new TextView({
  left: 16,
  right: 16,
  centerY: 0,
  text: 'Left side & right side',
  alignment: 'centerX',
  markupEnabled: true
}).onTapLink(() => console.log('Tap Link!'))
  .appendTo(contentView);

The & alone seems to be valid HTML5; this snippet:
<!DOCTYPE html>

<title>Title</title>

Left side & right side

surprised me because it passes validation.  Presumably the space makes it not quality for an ambiguous ampersand.
Should note this snippet renders and works fine on Android.

I see that this issue is not specific to anchors. It will not work if you try to make this text bold too.
After having a closer look I see that it's NSXMLParser that fails. We use it to parse HTML and have no insights into its internals.
I suggest using & entity to encode the & character.
This issue will not be fixed now, because we can't do anything about how the parser works. Replacing NSXMLParser with anything else would take a significant amount of work. Please try the suggested workaround.
Thanks @cookieguru for sharing your findings. I'm surprised as well that it passes validation. It seems that only strings with valid entity formats are decoded. For example &right also worked, but &right; resulted in an error.


Cmake build

#1408
I reopened this PR for CMake build system with cleaner work history.
@mcallegari
Please review it and give me feedback.

Hi, how do I build on Linux using the official Qt versions and not the Ubuntu ones?

Hi, how do I build on Linux using the official Qt versions and not the Ubuntu ones?

Get the installer here: https://www.qt.io/download-qt-installer-oss
It requires a free account with them.
Run the installer and install the version used in the official build (currently 5.14.2):
https://www.qt.io/download-qt-installer-oss

Hi, how do I build on Linux using the official Qt versions and not the Ubuntu ones?

Get the installer here: https://www.qt.io/download-qt-installer-oss It requires a free account with them.
Run the installer and install the version used in the official build (currently 5.14.2): https://www.qt.io/download-qt-installer-oss

Ehm...thanks but being the maintainer of a Qt based project, I know how to get Qt and how to build QLC+ the way it built in the last 10 years or so :)
My question was related to this PR, so how to build with cmake but with an official Qt installation and not with Debian packages. This allows me to switch Qt version easily, as I always did to maintain code compatibility and resolve build issues with different compilers.

@mcallegari
Did you check the qmake2cmake.md file in my branch?
I was wondering if there is any difference between using official QT and Ubuntu QT?

@mcallegari Did you check the qmake2cmake.md file in my branch?
Yes I did, and there is mention only of Ubuntu packages

I was wondering if there is any difference between using official QT and Ubuntu QT?
There is indeed a difference! Ubuntu packages are built by Ubuntu and delivered as individual packages.
Official Qt versions are delivered via Qt online installers and those binaries are built by the Qt company. That's why I call them "official"

With qmake it's super easy to build with Qt's bundles. You just type qmake with absolute path, like:
/home/user/Qt/6.4.1/gcc_64/bin/qmake
and that's it. So you can test different Qt versions very easily.
How do I do this with cmake?
Also, we went from
qmake
make

to
mkdir build
cd build
cmake -Dudev=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/usr/lib/x86_64-linux-gnu/cmake/Qt5" ..
make

This needs to be simplified for newbies (in this case like me)
To be honest I prefer default settings in CMakeLists.txt (even better with autodetection) and eventually change manually what's needed.
The goal is to achieve
cmake ..
make

@mcallegari
I updated the CMake file as well as the documentation.
Please check it and give me feedback.

thanks @Itay-Lifshitz
I went much further and found some more issues. See my comment about libolaserver package name.
Also, OLA libraries should be an optional dependency. If not found, the OLA plugin should not be built
I also noticed it checks for 'mad' twice and for portaudio, which is not a QLC+ dependency:
-- Checking for module 'mad'
--   Found mad, version 0.15.0b
-- Checking for module 'mad'
--   Found mad, version 0.15.0b
-- Checking for module 'sndfile'
--   Found sndfile, version 1.0.31
-- Checking for module 'portaudio-2.0'
--   No package 'portaudio-2.0' found
-- Checking for module 'fftw3'
--   Found fftw3, version 3.3.8
-- Checking for modules 'libftdi1;libusb-1.0'
--   Found libftdi1, version 1.5
--   Found libusb-1.0, version 1.0.25
-- Checking for modules 'libftdi;libusb'
--   Found libftdi, version 0.20
--   Found libusb, version 0.1.12
Building with libFTDI1 support. Version:
Using v1.5+ buffer flush API
-- Checking for module 'libusb-1.0'
--   Found libusb-1.0, version 1.0.25
-- Checking for module 'libola'
--   Found libola, version 0.10.8
-- Checking for module 'libolaserver'
--   Found libolaserver, version 0.10.8
CMake Error at plugins/ola/CMakeLists.txt:51 (if):
  if given arguments:

    "(" "MACOS" ")" "AND" "(" "NOT" "(" "packagesExist" "(" "libolalibolaserver" ")" ")" ")"

  Unknown arguments specified

Ok, will check it and fix it soon.

@mcallegari
Hi, which OS did you use for building project with CMake?
And the 'mad' library is actually used in engine/audio/plugins/plugins.pro and we need to check if it exists.
!android:!ios { system(pkg-config --exists mad) {   SUBDIRS += mad }

@mcallegari
I made some updates, I actually didn't test with Ola library.
Please review it and give me feedback.

@mcallegari Hi, which OS did you use for building project with CMake? And the 'mad' library is actually used in engine/audio/plugins/plugins.pro and we need to check if it exists. !android:!ios { system(pkg-config --exists mad) { SUBDIRS += mad }

I'm still testing on Linux before validating the PR on other OSes. It's easier for me since I work with Linux every day.
As for 'mad', please read my comment again:

mad is checked twice: why not once?
portaudio is not a QLC+ dependency; so why checking for it?

@mcallegari
In my last update, mad is checked only once, and portaudio is not checked.

@Itay-Lifshitz
I'm still on Linux. I did make install and found many more issues:

installation is performed to /usr/local/bin: wrong. Please make it as it was with qmake
tests are installed: wrong
target make check doesn't exist. This would prevent CI to check a good build
.a files are installed in /usr/local/lib: they shouldn't
.so files are not created!!! This is very wrong on Linux

To be honest from this PR I expected you checked that the output result was the same of the qmake build, but it seems this is not the case. Please fix

@Itay-Lifshitz I tried to build again with the latest changes.
The situation has improved but there are still the following:

mad and sndfile plugins are still built as .a and not .so (SHARED)
most of the plugins are built as .a instead of .so
the final qlcplus binary cannot be executed if the build has been done with a Qt version different from the system version. The error is:
qlcplus: symbol lookup error: qlcplus: undefined symbol: _ZdlPvm, version Qt_5
I built it like this:
cmake -DCMAKE_PREFIX_PATH="/home/massimo/projects/Qt5.14.2/5.14.2/gcc_64/lib/cmake/" ..
So binaries should be linked to libraries in that "custom" folder.
Instead they link to system Qt libraries.

@mcallegari

Sorry, I didn't know Qt would export library as a shared object file in Linux by default without specifying any parameters in .pro file. I thought it would export as a static library by default. Let me make a fix on it.

In terms of the runtime error with undefined symbol, I wrote some comments in the "Running and installing qlcplus" section in the qmake2cmake.md file.
As short, the qlcplus binary file actually doesn't link to the system Qt library. It just remembers the name of the Qt library and try to find them in the LD_LIBRARY_PATH, which is system path by default.
One more question here, Is the original binary file linked in static mode or dynamic mode with QT libraries?
If we link qlcplus in static mode, we will not suffer from such link errors.
But if we link it in dynamic mode, which is using Qt library .so files, we will need to specify which so files it should use.

@Itay-Lifshitz see my comments below. Thanks for your efforts

@mcallegari

Sorry, I didn't know Qt would export library as a shared object file in Linux by default without specifying any parameters in .pro file. I thought it would export as a static library by default. Let me make a fix on it.

Actually it is specified in the pro file. Example:
https://github.com/mcallegari/qlcplus/blob/master/plugins/E1.31/E1.31.pro#L3

In terms of the runtime error with undefined symbol, I wrote some comments in the "Running and installing qlcplus" section in the qmake2cmake.md file.
As short, the qlcplus binary file actually doesn't link to the system Qt library. It just remembers the name of the Qt library and try to find them in the LD_LIBRARY_PATH, which is system path by default.
One more question here, Is the original binary file linked in static mode or dynamic mode with QT libraries?
If we link qlcplus in static mode, we will not suffer from such link errors.
But if we link it in dynamic mode, which is using Qt library .so files, we will need to specify which so files it should use.

Static linking is not considered in this project. Every build is dynamically linked to the Qt libs.
Eventually some build flavours might include the specified Qt version in a bundle like on macOS or in a AppImage package.

Next question, when you build qlcplus with qmake, did you specify the path of qmake like "/home/massimo/projects/Qt5.14.2/5.14.2/gcc_64/bin/qmake" or just use qmake in system path? If you used qmake in system path, I guess it will use debian Qt packages instead of the official Qt packages while compiling and running.

If I want to use a specific Qt version, I specify the absolute path of qmake.
When I release the official Debian package (.deb) instead, the system Qt version is used.

hello @Itay-Lifshitz I have just pushed cmake files in a dedicated branch (cmakebuild)
I took the chance to fix some more plugins still building as static instead of shared objects.
I haven't pushed all the changes you made to the C++ code. Can you please explain why those were needed? Which compiler did you use that found so many errors in the code?
Right now the main issue in the cmakebuild branch is that if I use a specific Qt version to build, the final binaries will link to my system Qt version instead. Therefore the application binary will not run.
Can you please help to resolve that? Thanks

Hello, @mcallegari

I thought I built all of the plugins as shared object files. Which plugins did I miss?
I modified the source codes, because of compile errors in MSVC(Microsoft Visual Studio Compiler). I believe that I kept the original logic, and you can review the changes I made it if you want.
I will resolve the linkage issue soon.
Thank you.

@mcallegari
I believe linkage issue has been resolved.
Please check it.

hi @Itay-Lifshitz here's the list of the .a files that I found (and fixed)
./engine/audio/src/libqlcplusaudio.a
./plugins/loopback/src/libloopback.a
./plugins/ola/libolaio.a
./plugins/enttecwing/src/libenttecwing.a
./hotplugmonitor/src/libhotplugmonitor.a

the 2 plugins were wrong. The other two are correct since they're included in the engine final shared library.
Can you please move and rebase this PR on the cmakebuild branch instead of master?
I think it makes sense to start merging changes step by step

OK, closing this PR and moving to cmakebuild.

Hi, I manually applied the change to the main cmakelists.txt file and now linking works as expected.
QLC+ starts but doesn't find runtime resources like plugins. It says
void IOPluginCache::load(const QDir&) "lib/x86_64-linux-gnu/qt5/plugins/qlcplus"
Which is a relative path, while plugins are installed in
/usr/lib/x86_64-linux-gnu/qt5/plugins/qlcplus/
This is because the generated qlcconfig.h has relative paths.
Can you please check?

@mcallegari

Please check my last commit 87fba151, the qlcconfig.h should be different for different OS platform.
Sorry, but I don't know how to split the PR. Should I close this PR and reopen 2 new PRs? I will appreciate it if you can guide me.
Can you explain the missing linking issue for plugins in more detail? What external dependencies are not linked?

@Itay-Lifshitz please rebase to the cmakebuild branch
Please follow the commits I do otherwise this PR will always be conflicting.
Please split c++ code changes to another PR.
Basic Linux build is now working. I haven't tried qmlui, appimage, test units. debian, rpm. etc
I have tried to build on Windows and it doesn't work at all.
I think you tested only with Visual Studio, which at the moment is not a supported build environment.
We need cmake to work on MSYS2. Please see the wiki how to build and fix the project configuration to build with cmake+gcc.
Thanks

Build log attached
msys2_build_fail.txt

OK, closing this PR and opening the new PR.

@mcallegari
Btw, how should I open 2 PRs separating code changes and CMake files?

@mcallegari Btw, how should I open 2 PRs separating code changes and CMake files? Should I create 2 branches on my side?

I think so


code form issues

About code
return {
      [`--fect-${key}-grow`]: 0,
      [`--fect-${key}-display`]: display,
      [`--fect-${key}-width`]: `${ratio}`,
      [`--fect-${key}-basis`]: `${ratio}`,
 }

Variables ratio can be used directly in grid/grid.tsx.

As you can see , is my mistake .
Thanks, i will fix after soon


DDEV Ignoring Changes in settings.php on Drupal 11 Site

Preliminary checklist

[x] I am using the latest stable version of DDEV (see upgrade guide)
[x] I have searched existing issues
[x] I have checked the troubleshooting guide
[x] I have run ddev debug test to include output below

Output of ddev debug test
I am using ddev on a Drupal 11 site. The problem is when I edit the settings.php file changes are completly ignored. I have tried to clear all the cache and restarting the ddev container  but nothing works.
Does anybody have any suggestion on how to fix this?
Expected Behavior
Changes in settings.php file should be applied.
Actual Behavior
Changes in settings.php are not being applied.
Steps To Reproduce
No response
Anything else?
No response

It seems like others are having the same problem, see this page: https://www.drupal.org/forum/support/post-installation/2024-06-13/settingslocalphp-seems-to-be-cached

Hi @TorFJ - I believe you're using mutagen, you have disable_settings_management: true and you've done a Drupal install, and drupal has made the settings.php read-only (as it has a habit of doing), so mutagen can't edit it.
Please do a ddev mutagen reset and ddev start. I think it's probably been warning you about this when you've done ddev start.
If you had done the requested ddev debug test I could have said for sure. But I imagine if you do a ddev mutagen reset and a ddev start you'll be functioning again. For good measure, please make sure that you settings.php is writable.

Thank you @rfay much appreciated! After making the sites/default writeable it works without problems.
All the best and thanks for all the hard work you been doing on this project!


Deprecation] document.registerElement is deprecated and will be removed in M73, around March 2019. Please use window.customElements.define instead

I get this message on my browser (Opera) and I did not find any document.registerElement on jstree.js.
jstree.js:7424 [Deprecation] document.registerElement is deprecated and will be removed in M73, around March 2019. Please use window.customElements.define instead. See https://www.chromestatus.com/features/4642138092470272 for more details.
jstree.js:7424

Hello @Thassya, thanks for your first issue. Unfortunately, I am not able to find the mentioned jstree.js in our codebase, is it possible that you're loading it from somewhere else? I need a little bit of more context about you problem to be able to help you.

@skateman maybe a print would help
http://prntscr.com/micg21

Well, not much :disappointed: I would like to see what's on the 7424th line in the jstree.js file and maybe a few lines before and after. But I'm afraid that the code is not from us, the registerElement causing the error is nowhere in our codebase.

I am sorry @skateman I remove the jstree and that's ok! I will delete this issue


refractor-views-functions

Refractor views from def func(request) to def func(request: Request) -> Response....and so on

Great. You can create Pull request.


Update to UE5.1

Hello,
Can we expect a plugin update for Unreal 5.1 in the near future?
Thank you.

Sorry, the reply is too late. I will update that recently.

supports ue5.1 at 6f1ac180c6b5c59ddbe1cdf6e35d616ceb0f0fa9

Wow awesone !!

Wow awesone !!

Thanks


iOS "Scribble" feature: cannot tap on text selection controls with Apple Pencil

Steps to reproduce

Add a TextField or a CupertinoTextField to the application (see sample code below).
Add some text using the scribble feature with the Apple Pencil.
Select some of the text.
Now try to hit a button on the text selection controls (e.g. "copy") using the Apple Pencil.

Expected results
As in other iOS apps, it should be possible to copy, cut, etc. by hitting the corresponding button with the Apple Pencil.
Actual results
The button is not hit; instead, the input seems to be directed to the underlying canvas. (See attached video.)
If the buttons are tapped with the finger, though, they work just fine.
Code sample
Code sample
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: ConstrainedBox(
            constraints: const BoxConstraints(maxWidth: 450),
            child: CupertinoTextField(
              scribbleEnabled: true,
              selectionControls: cupertinoTextSelectionControls,
            ),
          ),
        ),
      ),
    );
  }
}

(Note that I customized the selectionControls parameter because of #158177).

Screenshots or Video

Screenshots / Video demonstration
https://github.com/user-attachments/assets/e7401272-047f-4581-92ab-bdf1d1dd3723

Logs
Logs
(not applicable)

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.24.4, on macOS 15.1 24B83 darwin-arm64, locale en-US)
    • Flutter version 3.24.4 on channel stable at /Users/redge/Shared/SDKs/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 603104015d (12 days ago), 2024-10-24 08:01:25 -0700
    • Engine revision db49896cf2
    • Dart version 3.5.4
    • DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/redge/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16B40
    • CocoaPods version 1.16.1

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

[✓] Android Studio (version 2024.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 17.0.11+0-17.0.11b1207.24-11852314)

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

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

[✓] Connected device (5 available)
    • Daniels iPad Air (mobile)       • 00008112-000108C13E81A01E • ios            • iOS 18.1 22B83
    • iPhone Mini Daniel (mobile)     • 00008110-001C410C2112401E • ios            • iOS 18.1 22B83
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 15.1 24B83 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 15.1 24B83 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 130.0.6723.92

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Thank you for the report! Reproduced this on Flutter beta 3.27.0-0.1.pre and master 3.27.0-1.0.pre.393 as well, on iPad Air 5 (iPadOS 17.5.1). This also appears on the previous stable release 3.22.3.

Thanks for taking the time to reproduce the issue, @huycozy! If there is anything I can do to help, just let me know. 🙏

cc @hellohuanlin in case this is relevant to your interests per the customized selectionControls parameter (your secure paste work), and the apple pencil fix you just made.

Good idea, I wonder if this works when the context menu is drawn by the platform using SystemContextMenu (see https://main-api.flutter.dev/flutter/widgets/SystemContextMenu-class.html).

Good idea, I wonder if this works when the context menu is drawn by the platform using SystemContextMenu (see https://main-api.flutter.dev/flutter/widgets/SystemContextMenu-class.html).

Good point, @PrimaryFeather could you try using SystemContextMenu and see if it fixes the problem?

@hellohuanlin Well, yes and no:
Yes, I can actually tap the button when I switch to the system menu like this:
contextMenuBuilder: (_, editableTextState) =>
  SystemContextMenu.editableText(editableTextState: editableTextState),

However: play around with the Scribble feature a little longer and (with that context menu), and you'll quickly get the assertion Attempted to show while another instance was still visible. inside SystemContextMenuController (from text_input.dart).
And something else is off when you use Scribble with that setting. E.g. after selecting some characters, the context menu sometimes does not open at all. I can't quite put my finger on what's going on there.

@PrimaryFeather can you create a new ticket with a minimum reproducible code?

can you create a new ticket with a minimum reproducible code?

@hellohuanlin You mean for the assertion error when using SystemContextMenuController? I can do that! After all, that's actually a different issue. 👍

There was a similar non-Scribble issue in one of the iOS 17 betas, but it went away before release.  See https://flutter.dev/go/ios-17-text-input "Part 3: Untappable menu" section.


inconsistent behavior between ios and android ?

Environment
Library version: 2.4.4
OS version:  iPhone 13 ios 15
android 10
Affected platforms

[X] Android
[ ] iOS

Current behavior
the unfocused screen on android is affected by the keyboard on android but not ios
https://user-images.githubusercontent.com/19273413/163286962-9e6ea5ae-3b86-4a81-b0ea-1a7e827fbb5d.mp4
https://user-images.githubusercontent.com/19273413/163286998-efe75dca-9c6e-407b-b0d7-f0aa8150412e.mp4
Expected behavior
the unfocused screen should not be affected by the keyboard.
Reproduction

enable the module on android and ios
trigger the module with an input on a transparent modal ( native-stack modal screen in my case )

Hi @a-eid , could you post a link to reproduction repository? It will significantly help me in reproducing incorrect behavior

@mateusz1913 absolutely
there you go
https://github.com/a-eid/soft-input-issue-repro

@mateusz1913 I'd like to ask when you have setEnabled(true) and I want the content to move up more, in my case to not cover a certain button, how to achieve that ?

If you use AvoidSoftInput module, then you can use setAvoidOffset method;
If you use AvoidSoftInputView, you can leverage avoidOffset prop

it's not clear when to use 'AvoidSoftInputViewvsAvoidSoftInput.setEnabled(true) I actually much prefer theAvoidSoftInputView`, but I've had some issues with it esp on ios
check this out
https://user-images.githubusercontent.com/19273413/163650065-7f2de286-27bf-484e-aca9-935491cf614f.mp4

another inconsistent behavior is when setEnable(true) ios has some extra spacing unlike android.
https://user-images.githubusercontent.com/19273413/163651972-353ab01d-0873-44e3-9d2b-df279fff4e1f.mp4
https://user-images.githubusercontent.com/19273413/163651998-8a88816f-2b4b-47bd-bf43-9afb5adc4803.mp4

I found another inconsistent behavior
as observed in the videos when you transition from screen to another with auto focus, android does not trigger the keyboard event accurately unlike ios
https://user-images.githubusercontent.com/19273413/163654389-5a1512a4-e787-4ab5-a963-5689363ab12c.mp4
https://user-images.githubusercontent.com/19273413/163654409-e6b63a18-fcd9-4cd8-9d8f-c5b6f12ce567.mp4
will post a repro branch for this one too as soon as I can.

@a-eid I investigated those behaviors, and here is summary:

behavior from main branch:

When using AvoidSoftInput module, on iOS, to detect root view (which will have applied offset) lib uses RCTPresentedViewController helper function available from react-native core. This function returns currently presented view controller, which do not need to be react root view - in this case it returns a view container from react-native-screens (the one holding "modal" screen). Unfortunately on Android, there is no similar helper function. Instead lib traverses view tree until it finds react root view. Without using reflection tricks, there is no way to find corresponding view container from react-native-screens, as it is done on iOS side.
So, in this case, there is nothing that can be done. I would instead recommend to use AvoidSoftInputView instead (like it is recommended with regular RN Modals)

behavior from ios-modal branch:

I replicated that behavior, however it seems to be problem with styling - when I changed the structure to following it worked as expected:
function Modal({ navigation }: any) {
  return (
    <View style={{ flex: 1 }}>
      {/** Go back only for debugging purposes */}
      <Text style={{ paddingTop: 50, paddingLeft: 30 }} onPress={() => navigation.goBack()}>Go back</Text>
      {/** Instead of using justifyContent: 'flex-end', just add empty View with flex: 1 */}
      <View style={{ flex: 1 }} />
      <View>
        <AvoidSoftInputView style={{ padding: 20, backgroundColor: "blue" }} avoidOffset={20}>
          <TextInput style={{ backgroundColor: "red", height: 45, paddingHorizontal: 20 }} />
        </AvoidSoftInputView>
      </View>
    </View>
  )
}

Instead of using justifyContent: 'flex-end' , I just added empty View with flex: 1
Another approach (although I did not test it), would be to use flexDirection: 'column-reverse', if you will only have one child in your View
I think, there is nothing, that can be done here.

behavior from extra-view branch:

Yup, that extra space is equal to bottom value of safe area inset, which is hardcoded when computing applied offset.
However, I don't see any logical reason, why text input would have to be positioned below safe area. Nothing which is meant to receive some user interaction should be positioned below safe area. You should wrap your layout inside SafeAreaView, so nothing will be displayed under top or bottom safe area inset.
Nothing to be done here.

autoFocus behavior

The issue is that keyboard is dismissed in screen A, but it is opened in screen B at nearly the same time. Because library has "debounce" logic implemented on Android (and it can be removed, for perf reasons), it may ignore second event, because it was called too quickly.
The workaround here would be to remove autoFocus prop and focus that input manually after small delay.
Nothing, that can be done here.


Emulator installation instructions

It will be a great developer experience to update the link in the prerequisites section for Emulator to an existing doc, "Debug with the emulator", (as opposed to releases page on GitHub) that explains what the emulator is and how it works with proper screenshots.
Do you want me to create a similar issue for the Node.js doc as well?
Debug with the emulator - https://docs.microsoft.com/en-us/azure/bot-service/bot-service-debug-emulator?view=azure-bot-service-4.0

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1f1718fa-0745-3fee-6ef5-18e36b61fabf
Version Independent ID: fd9ef97f-4540-e624-d459-c076e94a50ad
Content: Create a bot with the Bot Builder SDK for .NET - Bot Service
Content Source: articles/dotnet/bot-builder-dotnet-sdk-quickstart.md
Service: bot-service
Product: bot-framework
GitHub Login: @Kamrani
Microsoft Alias: kamrani

@ovishesh How does the Emulator's Getting started page look like a good link for this?

I'll update the links in the quickstarts, and scan and update our other articles, too.
The Emulator repo is outside my control, but I can forward these suggestions. I'll ask about getting this from their wiki into docs.microsoft.com.

The link update is in and should be live within a couple days.

@JonathanFingold - don't forget to update with this new doc with a link to the newly published .bot doc - https://docs.microsoft.com/en-us/azure/bot-service/bot-file-basics?view=azure-bot-service-4.0


feat/check-all-files-on-save

[x] All compiled assets are included (atom packages are git tags and hence the built files need to be a part of the source control)

When this option enabled, It will be report all problems in current project when on file saved.

Right. Sorry for the delay, I was travelling last week, didn't really find the time to take a look.
This looks good, but I do have a suggestion. It is generally not a good idea to rely on atom.workspace.getActiveTextEditor(), especially in async code, especially from a TextBuffer event (multiple editors can share the same buffer), since it can, under some hard-to-reproduce circumstances, return a wrong editor instance. That's the reason why in my "mock code" I suggested changes to typescriptEditorPane.ts, and not to typescriptBuffer.ts. So I suggest moving the code that runs checkAllFiles to typescriptEditorPane.ts, and avoiding getActiveTextEditor altogether.


Attribution difficult

The NOTICES file doesn't include all dependent software, but every piece of dependent software requires attribution. This makes it extremely difficult for anyone to put together a correct (and legally mandatory) attribution and license notice. I put this one together, which I believe includes all dependencies: https://raw.githubusercontent.com/Yahweasel/ennuicastr/master/src/vosk-browser-license.js .
Moreover, I was surprised to find GSL in the mix. GSL is under the GPL (not the LGPL), so if it's being used, then vosk-browser as a whole is licensed under the GPL. That's no problem for my use, but it should be documented somewhere. Weirdly, though, as far as I can tell, it's not actually using GSL. The kaldi patch seems to add GSL to the configure, but doesn't add any uses of GSL as far as I can tell. If it was some experiment (perhaps from the original porter of vosk?) it should just be removed, to fix this licensing snafu.

Thanks for the support and heads up. GSL is actually used but I didn't check the licensing. I will try to compile ATLAS to WASM as a more license friendly alternative.
Thanks for the updated NOTICE, I'll push the changes.

GSL is actually used but I didn't check the licensing. I will try to compile ATLAS to WASM as a more license friendly alternative

Not clear why are you looking for Atlas. openblas-clapack which is default in Vosk should work just fine.

Thanks @nshmyrev, I just realized my mistake and was looking into the extras/install_openblas_clapack.sh in order to get openblas compiled to wasm.

I resolved the dependency and published a new version with the updated attribution. Thanks again @Yahweasel


Add Output to string handler.

Add an output to string handler and a short way method from IORedirect.Redirect class.

Done in 0.3.0.


config_context renders against incorrect pack

Fixes https://github.com/StackStorm/st2/issues/4567 config_context renders against incorrect pack
Root cause:
When a action calls other action which belongs to the different pack, during render_live_params, only parent pack configuration is retrieved.
Fixes:
Passes action reference to render_live_params, if action parent pack is different with child action pack, the configuration for child pack is retired and rendered.

If the pack name being passed into the render_live_params is not correct, why not assign the correct pack at https://github.com/StackStorm/st2/blob/master/st2common/st2common/services/workflows.py#L546?

Running task is belong to the pack1 and it is passed. Action execution is belong to the different pack, e.g. pack2, in case both pack information needed on pack2 action.

If the pack name being passed into the render_live_params is not correct, why not assign the correct pack at https://github.com/StackStorm/st2/blob/master/st2common/st2common/services/workflows.py#L546?

I am thinking if pack2 action needs both pack1 and pack2 information, it is good to render both.

What's the expected behavior from our current docs?

What's the expected behavior from our current docs?

Let me google.  If it is not supported, will change code to pass right pack name

https://github.com/StackStorm/st2/pull/4570#issuecomment-468407791
Googed Stackstorm documentation and did not see anywhere mentioned that parent pack is supported in the child action execution.

Did run nosetests --nocapture st2common/tests/unit/test_param_utils.py and all passed

I assume you are responding to my questions about unit/integration tests.  Can you tell me what use case are we fixing here?  Where is the unit test and integration test that cover this use case?

Did run nosetests --nocapture st2common/tests/unit/test_param_utils.py and all passed

I assume you are responding to my questions about unit/integration tests. Can you tell me what use case are we fixing here? Where is the unit test and integration test that cover this use case?

Tested test_param_utils.py and forgot param.py is not going to change. I am working on new  testcase(s) in st2common/tests/unit/services/test_workflow.py. Please let me know if this is not right place.

For the unit test, st2common/tests/unit/services/test_workflow.py looks like a good place to put the test.
For the integration test, I am also expecting the test at https://github.com/StackStorm/st2/blob/master/st2tests/integration/orquesta/test_wiring.py.  You will need st2 to be running on your dev system and then run make orquesta-itests to test.

Also, please remember to add an entry in the CHANGELOG.

For the unit test, st2common/tests/unit/services/test_workflow.py looks like a good place to put the test.
Done for unit test

For the integration test, I am also expecting a new test at https://github.com/StackStorm/st2/blob/master/st2tests/integration/orquesta/test_wiring.py. You will need st2 to be running on your dev system and then run make orquesta-itests to test.

For integration test,  from st2test framework, it setup base_path directory as st2/st2tests/st2tests/fixtures/packs/ and database name to st2-test.
Since orquesta integration test is calling st2client to do Workflow executions,  so packs have to be installed before execution. Implemented code to installed two packs in the st2-test DB
After successfully installed two packs from st2/st2tests/st2tests/fixtures/packs/, observed that orquesta_runner is still looking for actions, workflow and virtuaenv from /opt/stackstorm/packs/
traceback:   File "/home/vagrant/st2/st2actions/st2actions/container/base.py", line 127, in _do_run
    (status, result, context) = runner.run(action_params)
  File "/home/vagrant/st2/contrib/runners/orquesta_runner/orquesta_runner/orquesta_runner.py", line 86, in run
    wf_def = self.get_workflow_definition(self.entry_point)
  File "/home/vagrant/st2/contrib/runners/orquesta_runner/orquesta_runner/orquesta_runner.py", line 50, in get_workflow_definition
    with open(entry_point, 'r') as def_file:

Two suggestions:

Manually install a pack (second pack's workflow/action can be merged to examples), then run test. This only need to add a small function to test_wiring.py
Implemented code:
a. Copy two packs to /opt/stackstorm directory
b. Install these two packs to st2 DB.
c. Run test case.

Any suggestions?

I need to see the unit and integration tests in this PR to give you any real feedback.  When this PR is merged, circle ci will run make orquesta-itests to validate.  You can start by taking a look at  https://github.com/StackStorm/st2/blob/master/.circleci/config.yml and follow the integration test to see how the environment is setup and what options there are to install this other pack.

I need to see the unit and integration tests in this PR to give you any real feedback. When this PR is merged, circle ci will run make orquesta-itests to validate. You can start by taking a look at https://github.com/StackStorm/st2/blob/master/.circleci/config.yml and follow the integration test to see how the environment is setup and what options there are to install this other pack.

I need to see the unit and integration tests in this PR to give you any real feedback. When this PR is merged, circle ci will run make orquesta-itests to validate. You can start by taking a look at https://github.com/StackStorm/st2/blob/master/.circleci/config.yml and follow the integration test to see how the environment is setup and what options there are to install this other pack.

From st2cd https://github.com/StackStorm/st2cd/blob/master/actions/setup_e2e_tests.sh, where examples pack is installed. We can add one more pack here:
st2 run packs.setup_virtualenv packs=examples,tests,asserts,fixtures,webui
st2ctl reload --register-all

Will find out how file is located at /usr/share/doc/st2.  Looking at https://github.com/StackStorm/st2/blob/master/.circleci/config.yml

@jinpingh I just want to let you know that you are doing great here.  We are near the finish line for this PR.  There are a number of things that is new here (registering pack besides examples pack for integration test) that even if I am the developer working on this, it would involve me doing exploring and trial and error.  So I expected back and forth with this PR. The feedbacks on the review has more to do with helping you gain knowledge and get into the habit of writing unit tests and integration tests then anything else.  Thank you for your diligence. So take a breather and continue the good work.

Just adding this info here for completeness. It looks like this is related to - https://github.com/StackStorm/st2/pull/4531.
There I fixed the original issue, but I didn't correctly handle child workflow action which this PR fixes :+1:

@jinpingh We are almost done here.  So after these minor changes, get everything green before asking for review again.

Just a heads up - I didn't do extensive end to end testing (e.g. multiple levels of nested workflows and executions), but I tested it with example packs from https://github.com/bigmstone/packConfig and it appears to be working fine.

Since it got merged in time, I will also cherry pick this changes in a branch for v2.10.4 release :+1:


General maintenance updates for ART 1.7.0

Description
General maintenance updates for ART 1.7.0.
Type of change
Please check all relevant options.

[x] Improvement (non-breaking)
[ ] Bug fix (non-breaking)
[ ] New feature (non-breaking)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Codecov Report

Merging #1154 (a0eea2d) into dev_1.7.0 (4db46b5) will decrease coverage by 44.52%.
The diff coverage is 15.16%.

:exclamation: Current head a0eea2d differs from pull request most recent head 8ae4ee5. Consider uploading reports for the commit 8ae4ee5 to get more accurate results

@@              Coverage Diff               @@
##           dev_1.7.0    #1154       +/-   ##
==============================================
- Coverage      64.77%   20.24%   -44.53%
==============================================
  Files            221      228        +7
  Lines          19203    20855     +1652
  Branches        3509     3899      +390
==============================================
- Hits           12438     4222     -8216
- Misses          5367    16363    +10996
+ Partials        1398      270     -1128

Impacted Files
Coverage Δ

...ion/adversarial_patch/adversarial_patch_pytorch.py
10.28% <0.00%> (-0.22%)
:arrow_down:

...attacks/evasion/auto_projected_gradient_descent.py
7.19% <0.00%> (-45.48%)
:arrow_down:

art/attacks/evasion/boundary.py
13.71% <0.00%> (-63.17%)
:arrow_down:

art/attacks/evasion/brendel_bethge.py
5.71% <0.00%> (-15.20%)
:arrow_down:

art/attacks/evasion/deepfool.py
18.94% <0.00%> (-68.15%)
:arrow_down:

art/attacks/evasion/elastic_net.py
17.19% <0.00%> (-69.26%)
:arrow_down:

art/attacks/evasion/fast_gradient.py
10.16% <0.00%> (-57.69%)
:arrow_down:

art/attacks/evasion/frame_saliency.py
20.58% <0.00%> (-54.42%)
:arrow_down:

art/attacks/evasion/hop_skip_jump.py
12.85% <0.00%> (-75.93%)
:arrow_down:

art/attacks/evasion/newtonfool.py
28.76% <0.00%> (-55.74%)
:arrow_down:

... and 212 more


Merging storage feature updates to AzureRM.Sql

@TaraMeyer,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

azureps-cmdlets-docs/ResourceManager/AzureRM.Sql/v3.2.0/Set-AzureRmSqlDatabase.md
:white_check_mark:Succeeded

azureps-cmdlets-docs/ResourceManager/AzureRM.Sql/v3.2.0/Set-AzureRmSqlElasticPool.md
:white_check_mark:Succeeded

docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Edit buttons are not activated after adding a vocabulary to a workspace

Right now the edit buttons to open TermIt and ontoGrapher are disabled if there are no vocabularies in a workspace. Once a user creates a vocabulary through MC, the buttons should be activated so that the user may navigate to the respective applications.

+1
while testing the diagrams for Milestone 1a, I had to refresh the screen cca 1G- times :-/


Adding a cask for Ableton Live Standard.

The Trial and Suite versions are already casked, this is just to follow those casks' conventions.

Thank you for the contribution. It was merged directly as 13b10aab80c469bc3a6b193249b41536f34dd529 to keep commit history cleaner. Your contribution is still credited to you.


🐛 App not working properly

Bug report
Hi i am making school management app which i use lots of pacakges but when i run the app it looks fine but when i first time click on app button or any widget then its not working until again i click on it i dont know what issue is but this is happen. i attached the code and video what issue i get.kindly look into this matter.
https://issuetracker.google.com/issues/197292075
flutter doctor is
    Doctor summary (to see all details, run flutter doctor -v):
    [√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.19041.508], locale en-US)
    [√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    [√] Chrome - develop for the web
    [√] Android Studio (version 4.1.0)
    [√] Connected device (3 available)

   • No issues found!

Hi @itsdani121
Could you please provide your flutter doctor -v and flutter pub deps -- --style=compact?
What platform does the issue occur on and are you able to provide a minimal complete reproducible code sample?
Thank you

Ita android phone

Based on your I can't see how this could be related to firebase when it is an issue with the interaction and lifecycle of material design widgets?
What you were describing in issuetracker seems to be related to https://github.com/FirebaseExtended/flutterfire/issues/4316 which is a known issue.
Unless what you described turns out to be somehow related to the FlutterFire plugins you are using I'm closing this in favor of your issuetracker issue for now.

flutter doctor -v
[√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version
10.0.19041.508], locale en-US)
• Flutter version 2.2.3 at C:\src\flutter_windows_2.0.6-stable\flutter
• Framework revision f4abaa0735 (8 weeks ago), 2021-07-01 12:46:11 -0700
• Engine revision 241c87ad80
• Dart version 2.13.4
[√] Android toolchain - develop for Android devices (Android SDK version
31.0.0)
• Android SDK at C:\Users\WasiSoft\AppData\Local\Android\sdk
• Platform android-31, build-tools 31.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
[√] Connected device (3 available)
• JSN L22 (mobile) • GBT4C18913026549 • android-arm64  • Android 10
(API 29)
• Chrome (web)     • chrome           • web-javascript • Google Chrome
92.0.4515.159
• Edge (web)       • edge             • web-javascript • Microsoft Edge
92.0.902.78
• No issues found!
i attached link of code which is github repo
On Mon, Aug 23, 2021 at 3:32 PM Markus Aksli @.***>
wrote:

Hi @itsdani121 https://github.com/itsdani121
Could you please provide your flutter doctor -v and flutter pub deps --
--style=compact?
What platform does the issue occur on and are you able to provide a minimal
complete reproducible code sample
https://stackoverflow.com/help/minimal-reproducible-example?
Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/FirebaseExtended/flutterfire/issues/6867#issuecomment-903645343,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIR3KWFVGGTEKOJTAE6G3TT6IPSNANCNFSM5CT6T6DA
.


can't install your preset

ERR_PNPM_FETCH_404  GET https://registry.npmjs.org/unocss-preset-windblade: Not Found - 404
This error happened while installing a direct dependency of /home/manjaro/DEV/astro uno/uno
unocss-preset-windblade is not in the npm registry, or you have no permission to fetch it.
No authorization header was set for the request.
Progress: resolved 3, reused 3, downloaded 0, added 0

Please note that after v2.0.0-alpha there is an additional dependency "culori" that you also need to install into your project if you are using Windblade buildless

Would you be abble to add this to Windblade ;

Please open new issues for new feature requests. I moved this one to #6 and will hide your comment.

For those who have been referred to this issue for pre-release installation: You do not need these instructions anymore because the preset is now available on NPM.


Allow input and textarea in the presentation

There are some PRs that already requested this, see #105 and #237.
I don't know what is the current behavior. Maybe we could revisit this and check whether it makes sense to implement something like this in impress.js, even if it means exposing the keybindings as a plugin and delegate the responsiblility outside impress.js core.

I agree, just need some changes in the events IMO

I've seen a lot of WYSIWYG editors that have textarea within the slide. I'd say you only need to put .stopPropagation() on mousedown event for textarea.

Just an update on this ticket. I was hoping forms would be fully supported in 1.0.0-beta1, but it turns out they're not.
There is a form plugin, which does one thing: call blur() to deselect a form element when we're leaving a slide. However, it turns out it's still the case that if you for example type 'p' into a text field, you'll end up opening impressConsole :-/


Alpha release

We need to build a working deb package with a calculator and parser

[ ] Make working scripts to run the program and its correct operation
[ ] Remake calculator to work with np.ndarrays
[ ] Write README file for first release
[ ] Write input file parser

НУжно продумать архитектуру класса фасад


Replace react-addons-shallow-compare with PureComponent

Just a feature request to use React's PureComponent class (if available in the currently used version of React) and get rid of some boilerplate code in shouldComponentUpdates.
React Docs for PureComponent

Hey Mike. Did you see #469? This seems like a dup

I didn't see it in the issues list when I looked -- must have not been paying attention.  Closing, and sorry for the dupe!

No worries! :)

FYI thought you might like to know that the upcoming react-virtualized version 9 will drop support for shallowCompare in favor of using React.PureComponent.

\o/ :-)


Bug with SSH command within provisions/utils.go generic driver.

Line 125 of provision/utils.go:
if _, err := p.SSHCommand(`if [ ! -z "$(ip link show docker0)" ]; then sudo ip link delete docker0; fi`); err != nil {
 return err
}

If docker0 has already been removed this command will fail and docker-machine will not proceed.
For example:
If the docker generic driver timed out the first time and docker-machine create is reran with docker0 already removed by ip link delete docker0
or
Docker has been installed on the system for the first time but not initiated / start yet.
Incoming PR once I test this a bittttt :dancers:

Hi @cdrage, thanks for the issue.
Looks like the first part of the if is meant to check for the presence of that bridge, no? Why is it failing?
Looking forward to PR.

@nathanleclaire Seems to fail when there is actually no bridge, as in, docker0 isn't even initialized / not there. So when if [ ! -z "$(ip link show docker0)" ]; is executed it get's "Device "docker0" does not exist." so the bash script thinks there is a docker0 due to the output and executes sudo ip link delete docker0 but fails because docker0 isn't there in the first place.

Mm, that error text should go to STDERR though, rendering the output of the subshell blank.  At least that's the way it seems intended to work.

@nathanleclaire yeah... seems that centos/fedora screws up in this regards but debian/ubuntu appear fine.
let me check a few more things, see if there is alternative fix

Seems like it was an issue with ip show on Fedora 22. Updating it and there's no more problems. That or it was something in .bashrc that was screwy.
Closin'!

Thanks for following up to close @cdrage

i would like to reopen that issue because of an error in debug output, while docker-machine create with generic driver.
executed on supported operating systems provided by vagrant boxes ubuntu/xenial64 and centos/7
SSH cmd err, output: <nil>: bash: ip: command not found
is related to this issue because the command executed was
if [ ! -z "$(ip link show docker0)" ]; then sudo ip link delete docker0; fi

ok checked it and debugged it in shell.
the ip command is excuted on the ssh client side. therefore the bash error "ip: command not found".
it is an escaping sequence problem. with this esacping the command worked on the remote side
		command="if [ ! -z '"'$(ip link show docker0)'"' ]; then sudo ip link delete docker0; fi" 		echo "$command" 		ssh -v -i "$identity_file" -l "$login_name" -p "$port" "$hostname_fqn" "$command"


Error: read ECONNRESET at TLSWrap.onread

Version or commit hash:
devsnek/snekfetch#master
Explanation of issue:
Randomly, I will get this un-catchable error.
Example code to reproduce:
Sadly there is no way to reproduce it, happens with random sites and random orders you request them with, and not every time.
Issue occurs in node

Probably just another occurrence of snekfetch not catching something and rejecting the promise.

Is this invalid because its already fixed? I keep getting this error still. Its happening a few minutes after I get request a whole bunch of web pages from a google search. Seems to be the keep-alive erroring?


Fixing Default API Version for Build API in TFS 2018

Adjusting default API version fro the Build API in TFS 2018 as documented in the issue #78.
This has never been adjusted.

@DarqueWarrior I can't really test this as I have not TFS 2018. How should we do that?

TFS 2018 should be 4.0 base on this chart. I can get you access to my 2018 instance. But I spin it up and down as part of my pipeline... Let me think on how best to get you one. Or you can install in a VM locally.

I am already invited to the Microsoft tenant since I worked with Vesa (PM on SP / PnP Dev Experience) and some other small projects with others. So one possibility would be to give me startup permission with the role DevTest Labs User on the VM with this I would see the VM (not everything), can start and stop it. And I can RDP to it if I have credentials.

In the original comment you mentioned 2018

Adjusting default API version for the Build API in TFS 2018 as ...

So I was not sure which version you were targeting. But you are saying the default minimum version that should work everywhere?

hmmm given that chart maybe Set-VSTeamAPIVersion should have a value that matches each release? Currently we have TFS2017, TFS2018, AzD2019, VSTS, AzD. Maybe we should have TFS2017RTW, TFS2017U1, TFS2017U2, TFS2018RTW etc..  Thoughts?

If I think a bit about it, then I think the default minimum Version should either match the newest API version (which is always Azure DevOps Services) or the minimum supported version by us.
I would favour always the newest API version by default and somehow give a warning if no specific version has been set manually. So people know that they maybe should do it.
Then I agree we can also add a value for each update. That I think makes it the easiest way together with a warning.

OK I will work on this one next.

I just created a collection of local VMs with TFS2017, TFS2018 and AZD2019. The integration tests fail against AZD2019 because not all the 5.0 APIs are released. Some are still in preview. For example distributedtask is not 5.0 it is 5.0-preview.  You can review this by running Get-VSTeamOption against your TFS or AZD.
id              : 900fa995-c559-4923-aae7-f8424fe4fbea
area            : distributedtask
resourceName    : queues
routeTemplate   : {project}/_apis/{area}/{resource}/{queueId}
resourceVersion : 1
minVersion      : 2.0
maxVersion      : 5.0
releasedVersion : 0.0

The releasedVersion is 0.0 meaning it has never been released. Version 5.0 is the max version but is in preview, otherwise, the releasedVersion would also equal 5.0.
I will be playing with this this week in between Build. This will allow me to find what the actual values for all the areas should be. The chart is docs is good but does not tell the whole story.

@DarqueWarrior  Would you be able to use this PR for adding the changes?

I will be adding these in the Versions PR.


Fixed few minor typos

Great library. By the way, I'm using it as the basis of an XSLT-inspired transform library:
https://github.com/ColinEberhardt/json-transforms

@ColinEberhardt Thanks!


docs(v2): Include docusaurus-protobuffet to community plugins

Motivation
As a member of a team that works with Protobuf contracts, we have a need for developer-driven documentation that satisfies both the consumers and builders of APIs driven by these contracts. This documentation should be driven by the Protobuf contracts they document, while being extensible with human-provided context.
We already use Docusaurus at my organization for JSON APIs, but we lack the tooling required to document RPC services backed by Protobuf contracts. I've decided to leverage the Docusaurus plugin framework to provide this tooling.
Protobuffet is a Docusaurus preset that generates doc files using Protobuf contracts. In this PR, I'm including this preset in the Community Plugins section of the docs. Check out the Protobuffet docs for more info on this toolset.

Have you read the Contributing Guidelines on pull requests?
Yes.

thanks 👍


*: update old k8s and OLM versions to latest supported

Description of the change: version updates
Motivation for the change: k8s version in the Makefile wasn't updated when it should have been, and OLM released a patch for 0.18 that fixed an image bug
/area dependency
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[ ] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

/cherry-pick v1.7.x


Calorie burn calculator

Treadmill machines and probably others have a calorie calculator. We could let the user just input this themselves but I can probably find a formula which is close enough to what they use. Since I doubt theirs is highly accurate we can surely find a better formula to use and save the user the time of typing it in.
I'm also skeptical whether these treadmill machines actually account for things like body weight & incline so if we do that then ours will definitely be more accurate.

Hello my friend @brandonp2412. I think this applications or machines use formula something like this:
Cal = MET x Weight of Person (kg) x Hours
If it's is okay I will work on it.

Feel free my brother I made all these tickets just to be more public with what I'm working on. Pull requests are always welcome.

If you can find something that includes Incline that would be great.


Fixes handling of the NOR chip details.

In my initial refactoring of cb_mtd_info(), I didn't realize that nor_chip contains a preformatted chunk of YAML (I had assumed a string).

Thank you for fixing it!


add class names to 'log.json' file

Hi. Really appreciate the contribution. Do you think you can do the same for the inference_video.py like you did for the inference.py file? I mean correcting the JSON file image names, the output dir and CSV table command line arguments. I would surely merge these.

Hi. Sure, I'll be happy to do that. It'll take me a few days though. Cheers
On Sun, 28 Apr 2024, 14:04 Sovit Ranjan Rath, @.***>
wrote:

Hi. Really appreciate the contribution. Do you think you can do the same
for the inference_video.py like you did for the inference.py file? I mean
correcting the JSON file image names, the output dir and CSV table command
line arguments. I would surely merge these.
—
Reply to this email directly, view it on GitHub
https://github.com/sovit-123/fasterrcnn-pytorch-training-pipeline/pull/136#issuecomment-2081455673,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMXFGAOAFYFBD6H53Z6SIO3Y7TQTLAVCNFSM6AAAAABGU2PGHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGQ2TKNRXGM
.
You are receiving this because you authored the thread.Message ID:
<sovit-123/fasterrcnn-pytorch-training-pipeline/pull/136/c2081455673@
github.com>

No problem at all.


Class Pod::Defn is not documented in Types

I came across this issue, which was resolved by #2319, and noticed that it was left open.

Closed by 3ee141e Thanks, @codesections


Error after setting up workspace

Hello,
Recently I have gotten ideas on a minecraft mod so i started following a modding guide by kaupenjoe. I set up almost everything and was ready to see if the set up was done. It failed and i got the error EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffd70700590, pid=7156, tid=3044
That was yesterday. After I gave up finding a fix since i saw it could be due to the network i was on. I tried playing modded minecraft.  used forge 43.2.0 for both. When i tried loading up i got error exit code -1 with the log connected below
hs_err_pid7156.log
I saw that it was a similar error when i was modding. I tried uninstalling the jdk twice. reinstalled minecraft and tried deleting the version of forge i was using. I apologize if this is a simple fix but please help me

I should i did install an openjdk from the guide. it was from adoptomium or something like that


add pca function

Description
add principal_components_analysis(pca) function.
Type of change (select or add applied and delete the others)

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] API change with a documentation update
[ ] Additional test coverage
[ ] Code cleanup or just sync with upstream third-party crates

How has this been tested?
Checklist

[x] Fork the repo and create your branch from master.
[x] If you've added code that should be tested, add tests.
[x] If you've changed APIs, update the documentation.
[x] Ensure the tests pass (see CI results).
[x] Make sure your code lints/format.

Can you run make CLP=1 to check the code? I see some warnings. Please also fix it. Thanks.

There's some warning introduces by previous PR. I don't know why they're not linked. You can ignore them first. Like this:
error: unsafe function's docs miss `# Safety` section
  --> binder/src/binder.rs:80:5
   |
80 | /     pub unsafe fn destroy(&self) {
81 | |         let _ = sgx_destroy_enclave(self.enclave.geteid());
82 | |     }
   | |_____^
   |
   = note: `-D clippy::missing-safety-doc` implied by `-D warnings`
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc

I'll fix it later.

I have updated your PR to fix the above mentioned issues.


When will v2 is going to be merged into main ?

Considering june 28 is the shutdown date for v1, we need this urgent.
I can see that there is a v2 branch but it looks like it is not completed yet.

until we release to the asset store we will keep the v2 branch and the main branch separate.


Backport bug fixes

Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

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

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

Codecov Report

Merging #200 (3e35304) into aos-<IP_ADDRESS>-ga (076e353) will increase coverage by 14.38%.
The diff coverage is 91.66%.

@@                  Coverage Diff                  @@
##             aos-<IP_ADDRESS>-ga     #200       +/-   ##
=====================================================
+ Coverage             63.39%   77.77%   +14.38%
=====================================================
  Files                   101       33       -68
  Lines                  4398     1926     -2472
  Branches                669      381      -288
=====================================================
- Hits                   2788     1498     -1290
+ Misses                 1442      425     -1017
+ Partials                168        3      -165

Flag
Coverage Δ

dashboards-reports
77.77% <91.66%> (+1.80%)
:arrow_up:

reports-scheduler
?

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

Impacted Files
Coverage Δ

...ards-reports/public/components/main/main_utils.tsx
76.53% <ø> (ø)

...eports/public/components/utils/settings_service.ts
76.92% <76.92%> (ø)

...s-reports/server/routes/utils/dataReportHelpers.ts
92.70% <93.75%> (+30.20%)
:arrow_up:

.../components/main/report_details/report_details.tsx
73.73% <100.00%> (ø)

...ashboards-reports/server/routes/utils/constants.ts
100.00% <100.00%> (ø)

...rts/server/routes/utils/savedSearchReportHelper.ts
98.75% <100.00%> (-0.06%)
:arrow_down:

...r/routes/utils/visual_report/visualReportHelper.ts
88.75% <100.00%> (+4.22%)
:arrow_up:

...tsscheduler/action/CreateReportDefinitionAction.kt

...sscheduler/action/GetAllReportDefinitionsAction.kt

...rtsscheduler/action/GetAllReportInstancesAction.kt

... and 66 more

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 076e353...3e35304. Read the comment docs.


Problem with hosting

Make sure these boxes are checked( - [x] ) before submitting an issue.

[*] Running latest npm and node? (Run npm --version and node --version). Get the latest nodejs here.
[*] The node_modules folder has right permissions (Run ls -ld $(npm root -g)/crontab-ui)
[*] Read issues.md
[*] Gone through existing open and closed issues.

I have a problem with hosting of crontab ..i installed nginx, modified the default file but when i type the ip of remote server i only get "welcome" nginx page

Assuming you have modified the file correctly, you need to restart nginx.

I put this at the end of /etc/nginx/sites-available/default file and reloaded nginx with /etc/init.d/nginx reload


sum_over_time should use semi-closed range interval

Bug Report
What did you do?
It seems *_over_time query use double-closed range interval. This would cause wrong query result.
For example, we have a counter metric with interval 10s, and the following two query produces different results.
sum_over_time(irate(counter_metric[20s])[10s:])
vs
irate(counter_metric[20s])

What did you expect to see?
These two query should produce same result.
Environment
all

It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.

This should be a BUG. I'm not asking a prometheus usage question.
subquery produces unexpected result.
raw -> metric
irate -> irate(metric[30s])
irate:max_over_time -> max_over_time(irate(metric[30s])[10s:])

Time
raw
irate
irate:max_over_time

2019-12-09T07:55:50+08:00
560302
1
1

2019-12-09T07:56:00+08:00
560311
0.9
1

2019-12-09T07:56:10+08:00
560321
1
1

2019-12-09T07:56:20+08:00
560324
0.3
1

2019-12-09T07:56:30+08:00
560325
0.1
0.3

2019-12-09T07:56:40+08:00
560327
0.2
0.2

2019-12-09T07:56:50+08:00
560336
0.9
0.9

2019-12-09T07:57:00+08:00
560345
0.9
0.9

2019-12-09T07:57:10+08:00
560351
0.6
0.9

I see no bug there.

Let me explain.
max_over_time(metric[10s]) means we want to calculate the maximum value every 10 seconds.
Suppose we have some data which was collected at exactly the start of every 10 seconds.(2019-12-09T07:55:50.000+08:00, 2019-12-09T07:56:00.000+08:00 for example)
Since the data interval is 10s and we use dual-closed range interval (2019-12-09T07:55:50+08:00 <= t <= 2019-12-09T07:56:00+08:00 for example), we will calculate the max value of two points instead of one for 10s data range.

Time
metric
max_over_time
what I want

2019-12-09T07:55:50+08:00
1
1
1

2019-12-09T07:56:00+08:00
0.9
1 (max of (07:55:50 -> 1, 07:56:00 -> 0.9))
0.9

2019-12-09T07:56:10+08:00
1
1
1

2019-12-09T07:56:20+08:00
0.3
1
0.3

2019-12-09T07:56:30+08:00
0.1
0.3
0.1

2019-12-09T07:56:40+08:00
0.2
0.2
0.2

2019-12-09T07:56:50+08:00
0.9
0.9
0.9

2019-12-09T07:57:00+08:00
0.9
0.9
0.9

2019-12-09T07:57:10+08:00
0.6
0.9
0.6

Since prometheus will scatter the scrape time and its precision is ms, so its timestamp may look like 2019-12-09T07:56:40**.123**+08:00 (timestamp is not located in the boundary of every 10s) and will not trigger this issue.
But with subquery, after irate(metric[30s]), data timestamp will be aligned and this bug will be triggered.

That's all working as expected. You generally should write your expressions to be resilient to jitter.

So, sum_over_time will query data from [start, end] is by designed?
Could you explain why you choose this time range instead of (start, end]?

That decision happened in the distant past before I was involved in the project, and can't be changed now as it'd be breaking.


Add pull_request webhook support to Gogs remote

This PR adds support for pull_request type webhooks from Gogs and Gitea to the Gogs remote.
This will fix #1605.

awesome, thanks!


Do you have any plan for build streaming CTC decoding model?

Tks @csukuangfj for build this project,
I have a question about when you support add streaming CTC decoding in sherpa, I see that K2 already have CTC decoding streaming. So I just wonder?
Tks

Yes, but not in the near future. We are busy with other stuff at present.

tks @csukuangfj


Set 'prefix' config value for CloudImageService

Prerequisites

[x] I have written a descriptive pull-request title
[x] I have verified that there are no overlapping pull-requests open
[x] I have verified that I am following matches the existing coding patterns and practise as demonstrated in the repository. These follow strict Stylecop rules :cop:.
[ ] I have provided test coverage for my change (where applicable)

Description

This commit sets a value for the prefix attribute in the CloudImageService-service element security.config file. The attribute is necessary for ImageProcessor to work and because files in Umbraco are always saved in the same Media directory we can safely provide a default value for this setting.

Hi Steve,
Thanks for contributing but unfortunately I cannot accept this PR.
Prefix is an optional property used to filter requests, defaulting to string.Empty . It's perfectly acceptable for someone to use the service to capture requests without it.
Additionally, media/ is specific to Umbraco. I'm not sure where this confusion comes from but the library is not, and has never been an Umbraco dependent library (They merely consume it).
Cheers
James


Implement builtin for Num.isNegativeZero : Frac range -> Bool

Zulip discussion
# i.e.
isNegativeZero = \n -> n == 0.0 && 1.0 / n < 0

Closing as per discussion. Maybe this will be useful in future.


[INTEGRATION] Register custom AD actions in OpenSearch

Is your feature request related to a problem?
A clear and concise description of what the problem is, e.g. I'm always frustrated when [...].
What solution would you like?
A clear and concise description of what you want to happen.
What alternatives have you considered?
A clear and concise description of any alternative solutions or features you've considered.
Do you have any additional context?
Add any other context or screenshots about the feature request here.

Closing this as changes are already merged in.


Interface Builder integration causes crash with "Unknown class MYTableViewIndex in Interface Builder file."

The offending line seems to be the @objc class name declaration (in TableViewIndex.swift):
@objc(MYTableViewIndex)
If this line is removed and the Class Name changed to TableViewIndex in Interface Builder everything works.
At tag 0.2.0

I can't reproduce it in Xcode 8.3.2
Please re-check with 0.3.0


How transfer the instanceNorm2d to ncnn MVN

It seems that this convert tool will only convert the base operator of pytorch to  other framework, for example, the instanceNorm is composed of a view and batchnorm, so this tool will transfer the view and batchnorm rather than the instanceNorm as a single layer and convert it to the MVN layer in ncnn. So any solutions to solve this problem? thanks a lot.

May I know will it cause a speed difference between splitting InstanceNorm into two and using it as a direct MVN in ncnn? How large is it

the question is that the process of mvn is different from batchnorm in ncnn, so the result is not the same. Why this converter can not just convert the structure at a appropriate depth level of the model framework, just like the print works in pytorch

OK, I'll later ask the ncnn author and check how to make an exact transfer between these two.

Were you able to make an exact transfer for the InstanceNorm layer?


[examples improvement] Grid

This PR removes the grid.css file of the grid example and makes use of utility classes. Also added the .no-gutters class to the rows to align the grid with the text.
Current grid page: https://getbootstrap.com/docs/4.1/examples/grid/
PR Demo: https://codepen.io/MartijnCuppens/full/VdJYgG/

Also added the .no-gutters class to the rows to align the grid with the text.

Let's remove this—the goal of the default grid behavior is to align text, not to align (usually) invisible boxes that contain the text.

@mdo, I just removed the .no-gutters class and updated the demo.

Only other feedback I have here is that the nested grid (while only shown in one example) is less obvious now because we're not using rgba() backgrounds. Suggestions?

Indeed. I've updated the PR and made use of a .themed-grid-col class which adds the same theming as before. Also mentioned something about the class in the example: https://codepen.io/MartijnCuppens/full/VdJYgG/
What do you think about this? (Screenshot still needs an update)

Indeed. I've updated the PR and made use of a .themed-grid-col class which adds the same theming as before. Also mentioned something about the class in the example: https://codepen.io/MartijnCuppens/full/VdJYgG/
What do you think about this? (Screenshot still needs an update)

@mdo, I've updated the screenshot.


Add tf + jsonnet for NASA-Veda hub

Adds more restrictions to the AWS IAM CI/CD user, to only have permissions to this
specific EKS cluster (rather than to all EKS clusters).
Add encrypted CI/CD user credentials here
Add documentation on how users can ssh into nodes, both for AWS & GCP. Does not
require manually managing SSH keys.

Currently waiting on a MFA exception for this IAM user so we can deploy from here.
Ref #2017

I love these docs Yuvi! ❤

I've added a commit that adds a minimal cluster.yaml so we can get this merged and then deploy de hubs, but the CI doesn't run because of the API rate limit :/

@consideRatio, @sgibson91, I believe I will go ahead and add the appropriate files for the hub to this PR and then merge it, according to https://github.com/2i2c-org/leads/issues/91#issuecomment-1404743849. Does this plan sound ok to you too?

@consideRatio, @sgibson91, I believe I will go ahead and add the appropriate files for the hub to this PR and then merge it, according to 2i2c-org/leads#91 (comment). Does this plan sound ok to you too?

Yes. I quickly gave up on trying to do separate terraform/cluster and then hub PRs, usually because the tf PR didn't get merged in time, and rebasing the other branch became a mess. Much simpler to do it all in one.

I think you will also need to add the cluster to the "deploy grafana dashboards" workflow file too?

Thanks @sgibson91! I have also deployed everything here and seems to be looking and spawing ok.

Yes thank you for taking this pr over @GeorgianaElena


check-binary-license.sh doesn't check Pulsar SQL licenses in CI

https://github.com/apache/pulsar/blob/52d8fe03160648f14dc196edaa87921064a1b2b2/.github/workflows/pulsar-ci.yaml#L106-L113
When build and check license in CI, we don't build with Pulsar SQL module. Thus, we can miss dependencies bump to Pulsar SQL, as in https://github.com/apache/pulsar/pull/16508#issuecomment-1194035662 and the first attempt of https://github.com/apache/pulsar/pull/16683.
I don't know whether it's required to build with -Pcore-modules,-main, but if we want to check binary licenses correctly, current workflow doesn't achieve the goal.

@lhotari thoughts? I'm not sure where we can run the check-binary-license.sh with a Pulsar SQL distro.

@lhotari thoughts? I'm not sure where we can run the check-binary-license.sh with a Pulsar SQL distro.

@tisonkun Please take a look at #15253 . The license check should be done when the docker image is built.


fix: TRTInterpreter output lacks return value

Description

Fixes error causing PyTree failures during Dynamo tracing for new converters returning lists of Tensors

The following error is encountered when testing converters:
Traceback (most recent call last):
  File "~/python_virtual_environments/torch_trt_venv/lib/python3.10/site-packages/parameterized/parameterized.py", line 620, in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
  File "~/TensorRT/py/torch_tensorrt/dynamo/converters/test/test_split.py", line 25, in test_split
    self.run_test(
  File "~/TensorRT/py/torch_tensorrt/dynamo/converters/test_utils.py", line 102, in run_test
    super().run_test(
  File "~/TensorRT/py/torch_tensorrt/dynamo/fx_ts_compat/tools/common_fx2trt.py", line 84, in run_test
    interpreter_result = interpreter.run(lower_precision=precision)
  File "~/TensorRT/py/torch_tensorrt/dynamo/fx_ts_compat/fx2trt.py", line 212, in run
    super().run()
  File "~/python_virtual_environments/torch_trt_venv/lib/python3.10/site-packages/torch/fx/interpreter.py", line 155, in run
    return self.module.graph.process_outputs(output_val) if enable_io_processing else output_val
  File "~/python_virtual_environments/torch_trt_venv/lib/python3.10/site-packages/torch/fx/graph.py", line 858, in process_outputs
    return self._codegen.process_outputs(out)
  File "~/python_virtual_environments/torch_trt_venv/lib/python3.10/site-packages/torch/fx/graph.py", line 620, in process_outputs
    return pytree.tree_unflatten(out, self.pytree_info.out_spec)
  File "~/python_virtual_environments/torch_trt_venv/lib/python3.10/site-packages/torch/utils/_pytree.py", line 301, in tree_unflatten
    raise ValueError(
ValueError: tree_unflatten(values, spec): `values` has length 1 but the spec refers to a pytree that holds 2 items (TreeSpec(tuple, None, [*,
  *])).

The TorchGen output verifier, invoked here, requires the outputs to be a list of values. The TRTInterpreter was not returning any values, causing the first error, then was returning tuple values, causing the second issue. The cast introduced in this PR resolves those.
Related to: https://github.com/pytorch/TensorRT/issues/1828#issuecomment-1520728382
Type of change

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

Checklist:

[ x ] My code follows the style guidelines of this project (You can use the linters)
[ x ]  I have performed a self-review of my own code
[ x ] I have commented my code, particularly in hard-to-understand areas and hacks
[ x ] I have made corresponding changes to the documentation
[ x ] I have added tests to verify my fix or my feature
[ x ] New and existing unit tests pass locally with my changes
[ x ] I have added the relevant labels to my PR in so that relevant reviewers are notified

Change seems fine but when should this get merged?

Since the change is small, it can wait for #2104 to avoid major merge conflicts.


Updating GDPR

Docs Build status updates of commit 8e99440:
:clock10: Pending: waiting for processors (53 builds ahead of you)
:warning: Docs Build is busy, currently there are 53 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 8e99440:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

DocsLegal/GDPR.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Resolve dependency conflict with kotlin-reflect explicitely

Fixed with #44 by moving to moshi code gen adapter.


problem with build

hi.
how I can run project?

Can you be more specific about the problem you are having with building?

yes, how can I run project?
I use "mvn clean build", but I get errors.

What errors?


Fixes #398 - Stopping background debug session and notify user if user is logged out

lgtm once you've addressed formatting comments. make sure you squash commits.


Purpose --production in frontity dev and --development in frontity build

https://community.frontity.org/t/purpose-production-in-frontity-dev-and-development-in-frontity-build/1824

TBH I'm not sure about the global change of 'websites' to 'sites'. We're talking about websites.

@mburridge Oks, we can customize the terms and create our own.
Let's create a custom list we agree


Retrofit - Unwrapping response when not wrappable yields in Single#NoSuchElementException

Imagine the Retrofit Interface with the following method:
@Wrapped("query", "results", "channel") @GET("path") Single<Something> doSomething();

If I get a response that can be unwrapped I get my Single<Something>, for instance:
{
  "query": {
    "results": {
      "channel": {
          ...
        }
      }
    }
  }
}

However if I get something back that can't be:
{
  "query": {
    "results": null
  }
}

I end up with a Single that errors NoSuchElementException. My guess is, that our WrappedAdapter does not return the deserialized class which will end up in an Observable that only completes and then this line will convert the Observable to Single with NoSuchElementException.
Is this behavior wanted?

By the looks of it, the Adapter it self, behaves as expected (returns null when nothing is found). But may be we need a more graceful behaivure that will yield a JsonDataException if the path is not satisfied.
A non breaking solution would be to introduce a failOnPathNotFound (or something like that) flag to the @Wrapped annotation.

If it were to return null, would not RxJava 2 would throw earlier than the singleOrError operator? I think it's just not emitting anything.

Checked the source code. We actually throw an IOException, instead of a JsonDataException, so no nulls there. Will investigate, and comeback to you asap.

How does the IoException then get swallowed?

by design no...