Scrollbar is not interactive in reversed ListView

Steps to Reproduce

I cannot drag Scrollbar with cursor if ListView has reverse: true property (chrome and windows builds)
Scrollbar(
  isAlwaysShown: true,
  interactive: true,
  child: ListView.builder(
    itemCount: _nums.length,
    reverse: true,
    itemBuilder: itemBuilder,
  ),
),

Expected results: Scrollbar is draggable
Actual results: Scrollbar is not draggable

Logs

flutter doctor -v
[√] Flutter (Channel beta, 2.2.0-10.1.pre, on Microsoft Windows [Version 10.0.19042.928], locale ru-RU)
    • Flutter version 2.2.0-10.1.pre at C:\flutter
    • Framework revision<PHONE_NUMBER> (8 days ago), 2021-04-15 12:01:02 -0700
    • Engine revision d2a2e93510
    • Dart version 2.13.0 (build 2.13.0-211.6.beta)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Vlad\AppData\Local\Android\Sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\Users\Vlad\AppData\Local\Android
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Users\Vlad\AppData\Local\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.9.3)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.9.31129.286
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] IntelliJ IDEA Ultimate Edition (version 2020.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2020.1.1
    • 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.55.2)
    • VS Code at C:\Users\Vlad\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.21.0

[√] Connected device (4 available)
    • SM A505FM (mobile) • R58M310EWYE • android-arm64  • Android 11 (API 30)
    • Windows (desktop)  • windows     • windows-x64    • Microsoft Windows [Version 10.0.19042.928]
    • Chrome (web)       • chrome      • web-javascript • Google Chrome 90.0.4430.85
    • Edge (web)         • edge        • web-javascript • Microsoft Edge 89.0.774.77

• No issues found!

Hi @limon153
The scrollbar is draggable on chrome and windows app in my testing, it's just reserved

Can you please try the code sample?

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

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      home: Scaffold(
        appBar: AppBar(
          title: Text('Material App Bar'),
        ),
        body: Scrollbar(
          isAlwaysShown: true,
          interactive: true,
          child: ListView.builder(
            itemCount: 10,
            reverse: true,
            itemBuilder: (BuildContext context, int index) {
              return FlutterLogo(size: 300);
            },
          ),
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel beta, 2.2.0-10.1.pre, on Microsoft Windows [Version 10.0.19042.928], locale en-US)
    • Flutter version 2.2.0-10.1.pre at C:\Users\Taha\Code\flutter_beta
    • Framework revision<PHONE_NUMBER> (8 days ago), 2021-04-15 12:01:02 -0700
    • Engine revision d2a2e93510
    • Dart version 2.13.0 (build 2.13.0-211.6.beta)

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Taha\Code\SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\Users\Taha\Code\SDK
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

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

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.9.3)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.9.31129.286
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 4.1.0)
    • Android Studio at C:\Users\Taha\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.3.3
    • 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.55.2)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.21.0

[✓] Connected device (4 available)
    • IN2011 (mobile)   • c9d8ee0c • android-arm64  • Android 11 (API 30)
    • Windows (desktop) • windows  • windows-x64    • Microsoft Windows [Version 10.0.19042.928]
    • Chrome (web)      • chrome   • web-javascript • Google Chrome 90.0.4430.85
    • Edge (web)        • edge     • web-javascript • Microsoft Edge 89.0.774.77

! Doctor found issues in 1 category.

If the problem persists, can you please provide a complete reproducible minimal code sample,
Thank you

Hi. Thank you for quick response
I tried code sample you provided, but problem persists. It's also reproduced on your gif I think. It seems like scrollbar is draggable, but you just drag the whole list.
Here is reversed list and I can drag only the whole list (I move cursor down and scrollbar goes up and vice versa)

And here is ListView with reverse: false. Scrollbar works fine

HI @limon153

Here is reversed list and I can drag only the whole list (I move cursor down and scrollbar goes up and vice versa)

The scrollbar is interactive, you can drag the list, it's just you have to drag in the opposite, it seems unnatural. I can see the list scrolls. What is "Scrollbar is not interactive"? Please explain

Hi @TahaTesser
Yes, I can drag the list, which is native for mobile apps, but I cannot drag the scrollbar itself as I could in native windows or web app


Update maven artifact

Hey pristine.io,
Any chance you can push an updated version of your libjingle maven artifact? I've been downloading the webrtc source for the past 16 hours and it's still not done.
Thanks.
Here's a picture of two adorable baby platypuses to encourage you to update the artifact:

I was about to leave an issue for the same thing. The latest version of libjingle_peerconnection out on Maven is 7113; would it be possible to get a newer version deployed?

Thanks for the encouragement everyone. I know it's been a while since we've updated the artifacts. I will post some new ones soon.

@growlsworth @csdodd http://tech.pristine.io/automated-webrtc-building/

Boss. :+1:


numpy path is needed for building with/without cython, so add it.

I guess the compilation as it is fails now on a lot machines because of the missing numpy-path.
However, pip seems to be ignoring warnings from setup.py so almost nobody is aware, that he/she is using the slow pure version.
This patch is not much different as the one from monpare, so please pick one of them.

@realead Thank you for the PR! It seems properly installing cythonized fastdtw when available. BTW pure python fastdtw actually not depends on numpy. I will change the code and the comment of setup.py.


Allow retrieving list of values from an Enum type

This PR introduce a new function getValues which return every values used to construct the Enum during the declaration process.
This is the implementation of #668.

Thanks! Merging

Installed the package today (it installed 2.5.6) but it looks like the getValues() function, is not recognized: TypeError: UserRole.getValues is not a function.
Was the new version published?

@eviatarkhen sorry forgot to publish the new version. Did it just now. You can update to 2.5.7

Thanks, appreciating the fast response.


Remaining the role assignment for Start/Stop VMs V2 after deletion of resources

Hello,
I faced the deployment failed with the following error message.
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"RoleAssignmentUpdateNotPermitted","message":"Tenant ID, application ID, principal ID, and scope are not allowed to be updated."}]}

The reproduceable ways are here.

Create Start/Stop VMs V2 resources from ARM template: https://github.com/microsoft/startstopv2-deployments/blob/main/README.md
The deployment would be successfully, afterwards I delete the resourcegroup including all of Start/Stop VMs V2 resources.
Create Start/Stop VMs V2 resources again using same resource name of step 2.
The error will be happening.

I think the cause of error is remaining role assignment as "Identity not found" for Start/Stop VMs V2.
The capture is role assignment view on Azure portal after deletion.

In addition, I deleted the remaining role assignment and created again, thus it was successfully.
Could you fix the issue?
If it is by design, I hope the cause and workaround would be documented.
Thank you.

Can confirm that this issue is still there, changing the resource names allows a successful deployment.


AssemblyId generation use lock.

Fix first issue from #713.

Ahhhhh. Yeah, this is busted. I'm not sure I'll use this fix exactly.


Encode int as string Implementation

Are service just able to cast every type to every other type?
If this comes from Batch (on the "contentLength" in a model that their backend wrongly send a string, but they want to expose a int to customer), they should customize the code for that (they've done that in Jasva, and it is there we notify service on that bug).
From my understanding, this request is not a generic feature. It is just for fixing for a backend bug (that cannot be fixed in backend, maybe due to backward-compatibility issue).
I assume for such sporadic incident (only happen on 1 API in 1 service, and that even a bug on backend), customization would be better. We'd talk about feature when we see a 2nd one.

Code merged. Next release 0.19.2 (or 0.20.0) would have the feature.


[Feature] : Add documentation.yml and styles.yml Files for GitHub Issue Templates

Description
documentation.yml (Custom ISSUE_TEMPLATE):

The documentation.yml file serves as a custom ISSUE_TEMPLATE for your GitHub repository, specifically focused on documentation-related issues. When contributors or users of your project want to report documentation-related problems, improvements, or requests, they can create a new issue using this template.
The contents of documentation.yml could include prompts or guidelines to help users structure their documentation-related issue reports effectively. For example, it might ask them to provide specific details about the section/page of documentation they found confusing, suggest possible improvements, or even ask for clarifications about the issue they are experiencing.

styles.yml (Custom ISSUE_TEMPLATE):

The styles.yml file, on the other hand, serves as a custom ISSUE_TEMPLATE for issues related to coding style, code formatting, and linting rules within your GitHub repository. This template helps contributors or users report code style-related concerns or seek guidance on adhering to the project's coding standards.
The contents of styles.yml might include specific questions or prompts related to coding style, requesting users to provide examples of code snippets that need formatting adjustments or explanation. Additionally, you might include instructions on how to check code against the project's style guidelines and best practices.

Screenshots
No response
Checklist

[X] I have checked the existing issues
[X] I have read the [Contributing Guidelines]
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

Hi @ShwetKhatri2001 . Please Review on this Issue. Thank You !

@NarendraKoya999 Look at how the issue templates are working currently and then make your changes carefully.
You're assigned.


[24.12.10] [BUG] Right clic don't delet

Need more info.

if you right clic with a item on a dome it's don't delet it like all other item in the games

You have to mine the edges of the octagon, not the regulator.


RFC: Browser based Dendron

Context
Dendron is amazing, but the time-to-first-joy is could be shorter. One way we might achieve a faster time-to-first-joy is to reduce the installation pre-requisites. I have successfully used code-server to present dendron in a browser window. This is self-hosted from a docker container, on a server in my closet. I've developed ansible playbooks to automate the setup of code server behind traefik along with two factor authentication from Authelia.
Proposal
Dendron will establish a backend infrastructure that provides account holders with secure access to a personal code-server instance with dendron, dendron-cli and other approved extensions.
Ideas, Notes and less formed thoughts.

I propose we establish a subdomain per account. ie: https://codefriar.dendron.so
Code-server isn't the only option. Theia could work. higher risk of unknown unknowns when it comes to compatibility.
GitHub.com/vivumlab/vivumlab is a project of mine that has the skeletal start to automated deployment of code server, etc.
This enables future enhancements

a native electron based 'app'
an iPadOS app
an iPhone app
an Android tablet? app

If I had my way, the web-instance would be git-locked to a cloud-available git repo.

It should be provider agnostic: github/gitlab/gittea instance in my closet etc.

Ideally, the workspace and it's vaults and any user-installed themes / plugins are encompassed in the repo.

First of all yes this would be something awesome, I could see this in different ways.
Ways to go about it

A self-hosted version for the user to host themselves, with community support.
A managed version where Dendron INC handles the infrastructure for you. With multiple tiers:

An individual tier: for users that don't want to self-host.
A professional tier: For users that have special requirements.
A teams tier: For Teams of users, with ACL.
An enterprise tier: For Enterprises, Companys, University etc...

Maybe by working together with Coder the creators of code-server

Additional Thoughts

a native electron based 'app'

I would advise against this and instead, go with tauri

If I had my way, the web-instance would be git-locked to a cloud-available git repo.

Please explain what you mean by git-locked.
Alternatives
One alternative could be for dendron to provide a backend, with the option for different Storage Adapters to store Notes / Schemas / Assets / Configs / etc.
With endpoints to register Workspaces / Vaults and modify their config.
Overall Providing an OpenAPI Spec around the backend to provide ways for other things to interact with dendron.
Be that Custom Frontends for viewing, editing, auditing, managing, etc.

@flammehawk  - sorry for the delay in response.
Regarding 'ways to go about it'.
A self-hosted tier is effectively already available, if not released. I have a docker image that hosts dendron in a code-server container with the cli. It's not yet released because the overarching goal of that docker image is not yet realized - I'm waiting for the hopefully soon replacement of the Markdown Preview Enhanced. For performance reasons MPE uses service workers, and those are contrary to what I need.
However, a hosted, subscription (professional tier, as you call it) would remove the need for waiting for MPE to be replaced. (hit me up on discord if you want the nitty-gritty tech details).
Once a professional/ hosted tier is established, it's a logical bolt-on/monetization point.
Additional thoughts
I tried not to be explicit in implementation, but failed with the reference to electron. I think I'd like to say that having a hosted tier, enables you to have a desktop "app", based in electron or tauri or ... insert-thing-not-yet-released.
Git-locked: While it's entirely possible to build out an api for notes, etc that a hosted version could utilize for storage, I'd prefer to use git as the storage plane. Making a hosted dendron use github/gitlab/gitea/whatever means the data is in my control. Adoption of gitDoc or whatever makes sure things are in sync.

Great idea @codefriar - I think this calls for an RFC. Would you like to work together on this (I'll be point on the maintainer side)?  Will put up an initial draft PR for the RFC and we can take it from there. Will sidebar with you on discord on how best to pull this together. I think this can definitely be something we do to lower the "time to first joy" of  Dendron.

One of the most powerful components of dendron is the ability to tag/categorize a note which simultaneously creates a meaningful file name (which is the same as the tagging/organizing scheme).
I know iOS especially makes accessing files within notes apps a little difficult. Is this a limitation of iOS or a preferred choice by coders or apps to abstract away the actual files within iCloud Drive, etc?
Is this what you mean @codefriar about attaching to git so this functionality within dendron can be preserved in the best way?

@codefriar  i have taken a look at https://github.com/VivumLab/VivumLab and also https://github.com/cdr/code-server and  microsoft has also open sourced their implementation of vscode remote implementation https://github.com/gitpod-io/openvscode-server
so i was wondering for a newbie to the area of remote vscode usage. what's the shortest path to getting something working in the case of dendron as you described?

Many interesting things have happened with VSCode since this issue opened. I think this is related due to the advancements around vscode.dev and github.dev

#1777

Hi all
This seems very intersting.
Anyone made some progress with this?
I'd also be interested to see how publishing can come into play with such an all-in-one setup.

I managed to run a somewhat-working Dendron instance on the web, using the lscr.io/linuxserver/code-server:latest image.
It works, but there are multiple pains relating to the vscode.workspace.fs API.


Firefox does not work - no drag&drop

What steps will reproduce the problem?
Trying to play the game https://apps.facebook.com/hungryburgerbk/ Click on
LANZAR and drag the hamburger to destroy the fries.

What is the expected output? What do you see instead?
You are supposed to be able to click and drag the hamburger to throw it away
(angry birds style)

What version of the product are you using? On what operating system?
Firefox on Windows 7.

Please provide any additional information below.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 27 Oct 2014 at 4:22

Invalid issue.


Retrieving a state by name

Hello,
I'm looking at adding a permissions system to my app and I am looking at attaching some data to a state which defines the permissions a user must have in order to access a state.
Example definition:
$stateProvider.state('admin', {
    url: '/admin/:id',
    templateUrl: '/admin.html',
    controller: 'AdminCtrl',
    data: {
        auth: ['Staff', 'Admin'] // Could be a callback which is passed the state params
    }
});

This data could be a set of roles which a user is required to have before they can access the state, or it could potentially contain a callback which would ideally have access to the parameters passed to a state to determine access to a state on a more fine grained (parameter determined) level.
This seems like it will work fine to restrict access to certain states. I can write a $stateChangeStart authorization plugin which will check the next state, and redirect the user to a login or permission denied page if they don't have access, based on the data I defined on my state.
So far this is all possible. The problem I am trying to figure out is how to only display certain elements on a page such as navigation links based on these same permission tests.
I am thinking of writing a directive that would retrieve a state and run the same permission tests as above, showing or hiding the target element. At first, for the case where I want to show or hide navigation elements, I wanted to retrieve a state given a url, but haven't found a way to do this yet. Then I saw  the ui-sref directive, it would make just as much sense to create a directive similar to this, or modify this directive but also retrieve the state by name, run my authorization logic (passing any parameters through), and show or hide the element depending on result.
How can I retrieve a state by name? As far as I can tell, there are no accessors for this. Is there another way to accomplish this?
Thanks for your time.
TLDR
How do I retrieve a state by name?

I'm running into the same problem. I need to check if a state exists during a provider's config phase, also for dynamic state registration. @astrism, I know it's been a while, but do you recall how you resolve this issue?

My naive solution was to create a provider called $stateConfig, which keeps track of state names. This new provider "wraps" calls to $stateProvider, so it's pluggable: I just substituted $stateConfigProvider for wherever I was previously using $stateProvider.
This new provider contains an exists( name ) method, which will return a boolean if a state with a certain name has already been defined. I thought of calling this method get() to match $state.get(), but since I'm only interested in checking if the state exists (not retrieving its full config), exists() seemed more appropriate.
Everything seems to be working so far for my needs, but consider this super-duper untested:
(function () {
    'use strict';

    angular
        .module('app')
        .provider('$stateConfig', Provider);

    // $state.get() allows us to check if a state exists,
    // but there's no equivalent method for $stateProvider.
    // https://github.com/angular-ui/ui-router/issues/265

    // $stateConfigProvider stores the state's name,
    // before deferring calls to $stateProvider.

    // Use $stateConfigProvider.exists() to check if a state exists

    Provider.$inject = ['$stateProvider'];

    function Provider( $stateProvider ) {

        var states = [];

        this.state = state;
        this.decorator = $stateProvider.decorator;

        this.exists = exists;

        this.$get = function() {
            return this;
        };

        return this;

        function state( name, data ) {
            states.push( name );
            $stateProvider.state.apply( this, arguments );
            return this;
        }

        function exists( name ) {
            return states.indexOf( name ) > -1;
        }

    }

})();


Rewind to previous position after logging request & response body

Q
A

Bug fix?
yes

New feature?
no

BC breaks?
no

Deprecations?
no

Tests pass?
yes

Fixed tickets
#48

License
MIT

Released new bugfix version: https://github.com/8p/GuzzleBundle/releases/tag/v4.5.2


Add support for Dojo AMD loader.

Dojo AMD Loader does not pass in a config struct by default.
Signed-off-by: Gordon Smith<EMAIL_ADDRESS>

@millermedeiros bump.


Update Pricing Cards for usage based pricing

Pull Request
What does this PR do?

Update of the pricing page to reflect the changes induced by the usage-based pricing.

PR checklist
Please check if your PR fulfills the following requirements:

[x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
[x] Have you read the contributing guidelines?
[x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

bors merge


autoload.php): failed to open stream

What steps will reproduce the problem?
10.1
What is the expected result?
导入数据库
What do you get instead?
./yii migrate --interactive=0 --migrationPath=@fecshop/migrations/mysqldb
PHP Warning:  require(/home/xuan/work/fecshop/vendor/autoload.php): failed to open stream: No such file or directory in /home/xuan/work/fecshop/yii on line 16
PHP Fatal error:  require(): Failed opening required '/home/xuan/work/fecshop/vendor/autoload.php' (include_path='.:/usr/share/php7:/usr/share/php7/PEAR') in /home/xuan/work/fecshop/yii on line 16
Additional info
composer create-project fancyecommerce/fecshop-app-advanced  fecshop <IP_ADDRESS> -vvv
cd fecshop
proxychains4 composer update　-vvv
./init
php -v
PHP 7.2.5 (cli) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
NAME="openSUSE Leap"
VERSION="15.0"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.0"
PRETTY_NAME="openSUSE Leap 15.0"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.0"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"

composer加载文件失败，导致下载的文件不全，请重新下载，注意安装教程操作的步骤是否有报错。


I just wanted to say thank you ✋

No issue. I just wanted to say thanks for making such an awesome little library 🙌 😀 👍.
It saved me a headache trying to create a gender field. All I wanted is something that looks presentable and works cross platform. Your library worked perfectly for me and looks amazing 🎉.
Thanks 🙏

Hey! Thanks you so much @Eyesonly88! I'm glad it helped 🙏


Any plans to support NATS 2.x features like JetStream?

I notice there has been quite some time since there's been any activity on this repo, and I'm wondering if there are any plans to support NATS 2.x features like JetStream, NKey/JWT authentication, automatic reconnect, etc.?
If there are no plans, are you open to someone else taking over as maintainer of the package?

Hey @robinsmidsrod  👋
I have no plans to progress this project further than what has already been achieved.

If there are no plans, are you open to someone else taking over as maintainer of the package?
I'm very open to passing the baton to a new primary maintainer (with the need and time!) to improve and update the package to support the latest versions and features of NATS.

Okay. I notice that there are some features needed in this client (e.g. HMSG and HPUB ops) to support JetStream, so I'll take a go at implementing those.


Variables named from

These get highlighted because of the module syntax right now. It doesn't seem that from is an keyword, so maybe the could only be highlighted when preceded by an import ?

Hmm this is an interesting one. from comes in a lot of different shapes - not just with import but also with export. Here is what I think is a pretty good list of the various forms:
# source:
git clone git@github.com:esnext/es6-module-transpiler.git
grep -r "\bfrom\b" es6-module-transpiler/test/examples/*

bindings/importer.js:import { count, incr } from './exporter';
cycles/a.js:import { b } from './b';
cycles/b.js:import { a } from './a';
cycles/c.js:import { a, getb } from './a';
cycles/c.js:import { b, geta } from './b';
cycles-defaults/a.js:import b from './b';
cycles-defaults/b.js:import a from './a';
cycles-defaults/importer.js:import a from './a';
cycles-defaults/importer.js:import b from './b';
cycles-immediate/evens.js:import { nextOdd } from './odds';
cycles-immediate/evens.js: * from the other.
cycles-immediate/main.js:import { nextEven, isEven } from './evens';
cycles-immediate/main.js:import { nextOdd, isOdd } from './odds';
cycles-immediate/odds.js:import { isEven } from './evens';
cycles-immediate/odds.js: * from the other.
duplicate-import-fails/importer.js:import { a } from './exporter';
duplicate-import-fails/importer.js:import { a } from './exporter';
duplicate-import-specifier-fails/importer.js:import { a, a } from './exporter';
export-and-import-reference-share-var/second.js:import { a } from './first';
export-class/importer.js:import { Foo } from './exporter';
export-class-expression/importer.js:import Foo from './exporter';
export-default/importer.js:import value from './exporter';
export-default/importer.js:import { change } from './exporter';
export-default-class/importer.js:import Point from './exporter';
export-default-function/importer.js:import fn1 from './exporter';
export-default-function/importer.js:import { default as fn2 } from './exporter';
export-default-named-function/importer.js:import foo, { callsFoo } from './exporter';
export-from/second.js:export { a } from './first';
export-from/third.js:import { a } from './second';
export-from-default/second.js:export { default } from './first';
export-from-default/third.js:import a from './second';
export-function/importer.js:import { foo } from './exporter';
export-list/importer.js:import { a, b, incr } from './exporter';
export-mixins/importer.js:import foo, { bar } from './exporter';
export-named-class/importer.js:import { Foo } from './exporter';
export-var/importer.js:import { a } from './exporter';
import-as/importer.js:import { a as b, b as a, default as def } from './exporter';
import-chain/second.js:import { value } from './first';
import-chain/third.js:import { value } from './second';
import-not-at-top-level-fails/index.js:  import foo from './index';
named-function-expression/importer.js:import { a } from './exporter';
namespace-reassign-import-fails/importer.js:import * as exp from './exporter';
namespace-update-import-fails/importer.js:import * as exp from './exporter';
namespaces/importer.js:import * as foo from './exporter';
re-export-default-import/second.js:import hi from './first';
re-export-default-import/third.js:import { hi } from './second';
re-export-namespace-import/second.js:import * as mod from './first';
re-export-namespace-import/third.js:import { mod } from './second';
reassign-import-fails/importer.js:import { x } from './exporter';
reassign-import-not-at-top-level-fails/importer.js:import { x } from './exporter';
update-expression-of-import-fails/importer.js:import { a } from './exporter';

as would also need that treatment, while import, export and default seem to be reserved according to https://mathiasbynens.be/notes/reserved-keywords


Unable to retry a new entity save after a transaction rollback

When saving new entities, if the transaction could not commit for whatever reason, retrying the save fails with an Neo.ClientError.Statement.EntityNotFound error code.

Fixed via 7e0419981bf00826dc1064350e5c74f78786a36a


Expose service power state

This PR exposes one power_state for a bundled service while interpolating all the power_states of the associated resources (VM's.)
When a :start, :stop action is called on the service we temporarily change the power_state to :starting, :stopping while waiting for the resources to complete their state changes.
The calculate_power_state job is queued up on a service once all resource specific jobs have been completed.
A delay is also added before the calculation is run to make sure all delays are past for the preceding state change jobs.
This PR only offers 3 power_state values currently:  "on", "off", "partial_on".
"on" - only if all VM's are started
"off" - only if all VM's are stopped
"partial_on" - any other case not covered by "on" or "off"
Links

PT #131907917

Steps for Testing/QA

Create a bundled service.
Order the service.
go to the console rails c and lookup up the bundled service s = Service.find_by_guid '<guid>'.start
Immediately after calling start you should see the power_state on s change to starting (you may need to reload the object to see the update.
After the service is finished you should see a value of on when checking s.power_state.
(This only works if all your VM's are set to start.

@miq-bot add_label enhancement, services

@miq-bot assign @gmcculloug

cc - @imtayadeway, @AparnaKarve

@miq-bot add_label wip

@miq-bot remove_label wip

cc - @AparnaKarve

Euwe Backport details:
$ git log -1
commit 15b559bdce2f82bc100e7235f0bf54cda0ee476c
Author: Greg McCullough<EMAIL_ADDRESS>Date:   Tue Oct 25 13:22:28 2016 -0400

    Merge pull request #11888 from syncrou/expose_service_power_state

    Expose service power state
    (cherry picked from commit 0863f996febf52ac7e96710147644444f33a7bef)


"{{" not recognized as an escape

"{{" (and likewise with closing braces) are highlighted as if they were introducing formatting elements though they are actually escapes.

The idea is that {{ and }} are actually formatting elements because they are not displayed verbatim but replaced with { and } correspondingly. I think it will be confusing if they won't be highlighted as formatting elements.


PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value [D:\Android\SDK]!

NO DEVICES
Please help, 2 days I can’t solve the problem. We can not run the flutter app on the emulator. Did everything as in the examples. See screenshots. Have tried everything possible

Hi @tereshchuk
Please delete your emulator and create a new one and make sure SDK dir properly setup in your Android Studio
This platform is not meant for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this, you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you


Skip Callback functions

This PR adds optional SkipPathCallback and SkipSymbolicLinkCallback functions that Walk will invoke before it stats a path or follows a symbolic link.  SkipPathCallback can be used to exclude a directory from walking, such as /proc or /sys.  SkipSymbolicLinkCallback can be used to avoid recursive loops.  Some file systems have symbolic link targets deep in a file structure, so you can't easily exclude a directory from the outside.  Example:
SkipPathCallback: func(pathname string) bool {
  return strings.HasPrefix("/proc", pathname)
},
SkipSymbolicLinkCallback: func(pathname string, target string) bool
  return target == "." || strings.HasPrefix(target, "..")
}

Have you considered adding a guard in the callback function to handle ignoring specific file system nodes?
In general your callback function should be able to perform whatever special logic is needed for a particular use-case, and return the special value file path.SkipDir to direct the walk algorithm to not traverse further down a particular directory.
        Callback: func(osPathname string, de *godirwalk.Dirent) error {
            switch osPathname {
            case "/proc", "/sys":
                fmt.Printf("%s %s <- skipping\n", de.ModeType(), osPathname)
                return filepath.SkipDir
            }
            switch de.Name() {
            case ".git", ".svn":
                fmt.Printf("%s %s <- skipping\n", de.ModeType(), osPathname)
                return filepath.SkipDir
            }
            fmt.Printf("%s %s\n", de.ModeType(), osPathname)
            return nil
        },

Your guard clause can check the node type as well:
        Callback: func(osPathname string, de *godirwalk.Dirent) error {
            switch osPathname {
            case "/proc", "/sys":
                fmt.Printf("%s %s <- skipping\n", de.ModeType(), osPathname)
                return filepath.SkipDir
            }
            if de.IsSymlink() {
                target, err := os.Readlink(osPathname)
                if err != nil {
                    return err
                }
                if target == "." || strings.HasPrefix(target, "..") {
                    return filepath.SkipDir
                }
            }
            fmt.Printf("%s %s\n", de.ModeType(), osPathname)
            return nil
        },

I rebased and added an example that demonstrates the need to add additional functionality to handle recursive symlinks.  After testing it looks like symbolic links that points to itself is the primary problem area.  I added a panic to show the stacktrace.  You can run the example with:
go run examples/symlinks/main.go testdata_symlink_follow/c

Even though I intend to skip a symlink we still end up calling os.Stat (github.com/karrick/godirwalk/walk.go:336 --> symlinkDirHelper --> os.Stat), because we want to find out whether to skip the file or directory.  I would like to avoid that extra system call.
I'm happy to try to find another way to solve this, but I'm not sure filepath.SkipDir encapsulates enough information.

@pjdufour , so I finally added build tests for linux, mac, and windows on every pull request, however, the test harness is not working properly on Windows right now. I will let you know once I get them working again.
https://github.com/karrick/godirwalk/issues/27#issuecomment-489736716

@pjdufour, earlier today I mentioned that I'd let you know that tests are working for linux, mac, and linux.

@pjdufour, I'm not sure where we left off here. Re-reading the issue, and re-reading godirwalk code, it still looks like having your callback function doing whatever logic it needs to do with respect to determining whether a directory or symbolic link to a directory should be skipped and returning filepath.SkipDir is the proper thing to do. That's why when walk receives that response for the callback, it does the following:
    for _, deChild := range deChildren {
        osChildname := filepath.Join(osPathname, deChild.name)
        err = walk(osChildname, deChild, options)
        if err == nil {
            continue
        }
        if err != filepath.SkipDir {
            return err
        }
        // When received SkipDir on a directory or a symbolic link to a
        // directory, stop processing that directory but continue processing
        // siblings.  When received on a non-directory, stop processing
        // remaining siblings.
        isDir, err := isDirectoryOrSymlinkToDirectory(deChild, osChildname)
        if err != nil {
            if action := options.ErrorCallback(osChildname, err); action == SkipNode {
                continue // ignore and continue with next sibling
            }
            return err // caller does not approve of this error
        }
        if !isDir {
            break // stop processing remaining siblings, but allow post children callback
        }
        // continue processing remaining siblings
    }

The above logic is exactly how filepath.Walk handles a filepath.SkipDir return value, except for the symbolic link to directory logic, because filepath.Walk does not recurse to symbolic links to directories.
Anyways, please re-open this issue if you think there is something else that I am not addressing.


Add CNS COVID-19 Followup questionnaire to CNS MDD sites

Adds CNS COVID-19 Followup questionnaire to CNS MDD sites
This branch will be used in the remote config to update the user's protocol with the Followup questionnaire (and removing Baseline)

NOTE: MUST NOT BE MERGED

Yes we can put it in draft mode.


React 18 types missing RefForwardingComponent causes RMWC fail

RMWC - React 18

What RMWC Version are you using [major.minor.patch]: 8.0.7

Name your build system [Webpack, Rollup...]: Webpack

Describe the bug with as much detail as possible:

React 18 (18.0.35) types is missing the RefForwardingComponent, so the RMWC types break as well.
(node:41755) UnhandledPromiseRejectionWarning: Error: [***] Command failed with exit code 1: yarn build --overrides {}
Deleting existing build files...
Building...
error: ../../node_modules/@rmwc/base/dist/component.d.ts(14,124): error TS2694: Namespace 'React' has no exported member 'RefForwardingComponent'.
../../node_modules/@rmwc/base/dist/component.d.ts(18,131): error TS2694: Namespace 'React' has no exported member 'RefForwardingComponent'.

What happened, and what was supposed to happen:
Build broke, it should have compile the code.

Are there any undocumented workarounds that you can share?

Here's the PR that removes the usage of RefForwardingComponent: https://github.com/rmwc/rmwc/pull/909

@brunozoric RefForwardingComponent has been removed in version 14 so I am closing this issue


[Merge] "non-atopic asthma" with "intrinsic asthma"?

I stumbled across this in #7685. The two classes have the same exact synonym after fixing the typos.
Mondo term (ID and Label)
[Term]
id: MONDO:0800112
name: non-atopic asthma
def: "A type of asthma that isn't related to an allergy trigger like pollen or dust, and is less common than atopic asthma." [PMID:23724224]
synonym: "intrinsic asthma" EXACT [https://orcid.org/0000-0002-7371-8158, https://orcid.org/0000-0003-0113-912X]
synonym: "non-allergic asthma" EXACT [https://orcid.org/0000-0002-7371-8158, https://orcid.org/0000-0003-0113-912X]
is_a: MONDO:0004979 {source="https://orcid.org/0000-0002-7371-8158", source="https://orcid.org/0000-0003-0113-912X"} ! asthma
property_value: IAO:0000233 "https://github.com/monarch-initiative/mondo/issues/5261" xsd:anyURI

[Term]
id: MONDO:0004765
name: intrinsic asthma
def: "An asthma that is triggered by factors not related to allergies such as anxiety, stress, exercise, cold air, dry air, hyperventilation, smoke, viruses, chemical irritants, autonomic imbalance, hormonal deficiencies and psychogenic influences. It is characterized by airway obstruction and inflammation that is at least partially reversible with medication. The symptoms include coughing, wheezing, shortness of breath or rapid breathing, and chest tightness."  Anxiety
relationship: disease_has_feature HP:0002099 ! Asthma
relationship: disease_has_feature HP:0002883 ! Hyperventilation

Reason for deprecation
Non-atopic asthma and intrinsic asthma are generally considered to be the same. These terms describe a type of asthma that is not triggered by allergic reactions, which is distinct from atopic or extrinsic asthma that is typically triggered by allergens such as pollen, dust mites, or pet dander. --- ChatGPT
Term to be merged with
Your nano-attribution (ORCID)
https://orcid.org/0000-0002-7356-1779

This issue blocks this PR

I removed the "intrinsic asthma" synonym from MONDO:0800112 to resolve the QC fail until these terms are merged

Agree with the merging of MONDO:0800112 non-atopic asthma into MONDO:0004765 intrinsic asthma because they represent the same concept.

@sabrinatoro is not on the list/does not have an obsoletion tag, it needs to be tagged

Thank you. It is on the list (though there was not "on list" tag)


Missing feature to specify attributes on GenStruct

My use case is the following: I would like to derive a macro for my enum and then for each struct-field variant generate an identical struct which the same attributes as the enum (Clone, Debug, etc...).

Should be pretty easy:

Add a field to the GenStruct struct
Add functions to that struct to add attributes
Add documentations that also test the output, see this for an example

I'm taking a stab at thing one too, but the API is a bit tricky. I have attributes stored a pairs of the attribute name and a StreamBuilder for the rest. Adding a single attribute could look like this:
impl<'a, P: Parent> GenStruct<'a, P> {
    pub fn with_attribute<T>(
        &mut self,
        name: impl Into<String>,
        value: impl FnOnce(&mut StreamBuilder) -> Result
    ) -> Result<&mut Self> {
        // ...
    }
}

If we want to add multiple attributes at once, it's unclear how we'd extend this builder pattern to an impl IntoIterator. Another option is to implement TryFrom and From on StreamBuilder for strings and token streams, and use that instead, but that's less flexible than the builder pattern I think.
For fields, it's very cumbersome. For a field with a single attribute, I currently have this to fit with the current field methods:
pub fn add_field_with_attribute<T>(
    &mut self,
    name: impl Into<String>,
    ty: impl Into<String>,
    attribute_name: impl Into<String>,
    attribute_value: T
) -> crate::Result<&mut Self>
where
    T: FnOnce(&mut StreamBuilder) -> crate::Result
{
    // ...
}

You cannot repeat this to add more attributes to the field, unlike with_attribute. If add_field returned a builder, adding attributes to that would be trivial. A non-breaking, easier to use alternative could be:
pub fn add_field_with(
    &mut self,
    name: impl Into<String>,
    ty: impl Into<String>,
    build: impl FnOnce(&mut Field) -> crate::Result
) -> crate::Result<&mut Self> {
    // ...
}

struct Field {
    attributes: Vec<(String, StreamBuilder)>,
    // ...
}

impl Field {
    pub fn with_attribute<T>(
        &mut self,
        name: impl Into<String>,
        value: impl FnOnce(&mut StreamBuilder) -> Result
    ) -> Result<&mut Self> {
        // ...
    }
}

Thoughts?

If we want to add multiple attributes at once

Let's do the simple solution first; only 1 attribute at a time. We can come up with something smarter in the future

If add_field returned a builder, adding attributes to that would be trivial.

I'd rather make breaking changes early, especially since virtue is still on 0.0.x, so feel free to add a FieldBuilder or something


[WIP] Merge ice_spi.h, ice_smem.h, ice_flash.h, ice_sram.h

ice_spi.h is only a wrapper to the internal SPI bus, so everything is preconfigured.
Maybe in the future it can be made configurable, but that makes things a bit more complex to handle.
It is still possible to use it to discuss to the FPGA directly, since the CS pin has external control. I.e. it can be 1 pin on the shared PMOD.

Superseeded by #41 and previous commits: it happened in a different way.


Publish test utils as a package

Feature Proposal
Release the contents of the test folder as a separate NPM package called, for example, chartjs-test.
Feature Use Case
2.8 has restricted the contents of the npm package to just those necessary to use Chart.js. This is great, however a side-effect is that the testing utilities are no longer included in the package. We were using the jasmine utils to test a plugin we developed.  They are likely useful to others developing plugins as well.
Possible Implementation
See above.

It makes sense since we migrated this repository to rollup. We will need to think about how to organize this new package to keep it easy to maintain. However, I would not call it chartjs-test since it could contain code not related to unit tests (scripts, configs, etc.). Maybe something like chartjs-devtools or whatever more generic.

It would also allow to mutualize test utils between Chart.js projects (chartjs-plugin-*...) rather than duplicating code and config everywhere. I'd prefer chartjs-utils, @chartjs/test-utils or @chartjs/utils rather than chartjs-devtools because dev tools generally names tools running in the browser (React Developer Tools, vue-devtools, Redux DevTools...).

Are the utils in the examples in some another package then?
Or could they be added to the src as a separate js (for those who don't use npm)?

Published as https://github.com/chartjs/chartjs-test-utils


Consolidate into a single XTEC dialog

Moves all the XTEC methods into a single module.
Allows XTEC method selection with consequent changes in the required parameters.
Parameters are restored when a method is reselected.

There may still be a bug in BIC XTEC-s that I'm not sure I understand. It might be necessary to merge this and then fix it after further testing.
Running BIC XTEC-s, I get:
ValueError: Found array with 1 sample(s) (shape=(1, 16)) while a minimum of 2 is required by GaussianMixture.

Actually there might be a problem with the trajectory plots, which I will look into shortly.

The trajectory plot bug is now fixed.


Issue with @AfterSuite

Is there any extra code that runs when we run our group with mvn test -Dgroups?
we have injected a variable
@inject var variable
this variable returns null after my all test passes and onFinish executes.In our base class I am checking if the variable is null in @AfterSuite and it returns null. this is not same when I run test using
mvn test -Dtest or if the after suite is changed to afterClass. Is there  any clean up that is happening and variable is initialized to null after onFinish executes?

This issue is incomplete. When groups are involved and if a configuration method is to be executed all the time, then the attribute alwaysRun=true is to be set. If this is still an issue, please re-open and include a sample that can be used to reproduce the problem.


Update facility list item removal

Overview
The PR does two things:

Allow superusers to remove facility list items
Allow facility list items to be removed from pending lists

Connects #2220
Testing Instructions

./scripts/manage test api.tests.ConfirmRejectAndRemoveAndDissociateFacilityMatchTest

test_superuser_can_remove_list_item

Login in as superuser
Go to a pending list
Remove a list item

Also,

Login as a user with a pending list, e.g<EMAIL_ADDRESS>Go to the pending list and remove a list item

Checklist

[ ] fixup! commits have been squashed
[ ] CI passes after rebase
[ ] CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines
[ ] This PR is targeted at the correct branch (develop vs. ogr/develop)
[ ] If this PR applies to both OAR and OGR a companion PR has been created

@mstone121 I was able to remove list items with statuses 'NEW_FACILITY', 'CONFIRMED_MATCH', 'MATCHED' on a pending list, but I wasn't able to remove pending matches because the 'remove' button didn't display for them. Is that the correct process for testing, or am I missing a step?

I focused on the wrong problem when writing the technical implementation section for #2220. The issue description describes wanting to have moderators be able to remove items from a list before it has been approved and run through the geocoding matching steps (when items have a list status of PARSED). This is a new feature.
The current "REMOVE" button has POSTs to a view that deactivates match rows. To "deactivate" an item before it has been matched will require adding a new status value for list items. REMOVED already exists as a "meta status." One potential solution is to add an ITEM_REMOVED status to FacilityListItem and then modify the special_case_q_statements  to classify an item as REMOVED if it has either the new ITEM_REMOVED status or an inactive match
https://github.com/open-apparel-registry/open-apparel-registry/blob/7f9edb659a96374a4dd6f48190ba782bd8994caf/src/django/api/views.py#L3167
We can then change the implementation of remove_item to either the existing logic if there are one or more matches_to_deactivate, otherwise it can set the status of the item to ITEM_REMOVED and add a processing result in a similar way to when a facility is deleted
https://github.com/open-apparel-registry/open-apparel-registry/blob/7f9edb659a96374a4dd6f48190ba782bd8994caf/src/django/api/views.py#L1719-L1727

@TaiWilkin @jwalgran This is ready for review again.


How to use zuul to achieve one hundred thousand concurrency?

Question
If I need to use zuul to handle one hundred thousand concurrency, how do I tune parameters?

You need to provide us with more details than that.


”Viișoara” is listed in the drop-down menu

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

Step 1
Type "Viișoara" in the search bar.

Expected results
The location is listed in the drop-down menu as "Viișoara, Bistrița-Năsăud (Bistrița)".


Deprecate DB::USE_ANSI_SQL

Module version(s) affected
5.3.0
Description
There's really no reason for this constant to exists anymore.
https://github.com/silverstripe/silverstripe-framework/blob/9091ecfd3a59aa88d45134568552362245a4d9fb/src/ORM/DB.php#L25-L31
Nowadays, ANSI is always on and this const is only used once in Queued Jobs. And that looks like artifact of bygone era.
How to reproduce
In your code editor of your choice search for USE_ANSI_SQL and find almost nothing.
Possible Solution

Mark DB::USE_ANSI_SQL as deprecated in CMS 5.
Update QJUtils to always use double quotes when creating queries.

Additional Context
No response
Validations

[X] Check that there isn't already an issue that reports the same bug
[X] Double check that your reproduction steps work in a fresh installation of silverstripe/installer (with any code examples you've provided)

Unless someone can think of a reason why this constant could be useful, I'll do a PR to deprecate it.

Nice catch. I agree this should be deprecated.


zh not available

docker run -it -p 5500:5500 synesthesiam/opentts:zh

INFO:opentts:Synthesizing with coqui-tts:zh_baker (2 char(s))...
ERROR:opentts:cannot cache function '__shear_dense': no locator available for file '/home/opentts/app/.venv/lib/python3.9/site-packages/librosa/util/utils.py'
Traceback (most recent call last):
  File "/home/opentts/app/.venv/lib/python3.9/site-packages/quart/app.py", line 1490, in full_dispatch_request
    result = await self.dispatch_request(request_context)
  File "/home/opentts/app/.venv/lib/python3.9/site-packages/quart/app.py", line 1536, in dispatch_request
    return await self.ensure_async(handler)(**request_.view_args)
  File "/home/opentts/app/app.py", line 718, in app_say
    wav_bytes = await text_to_wav(
  File "/home/opentts/app/app.py", line 368, in text_to_wav
    wavs = [result async for result in wavs_gen]
  File "/home/opentts/app/app.py", line 368, in <listcomp>
    wavs = [result async for result in wavs_gen]
  File "/home/opentts/app/app.py", line 469, in text_to_wavs
    line_wav_bytes = await tts.say(line, voice_id, **say_args)
  File "/home/opentts/app/tts.py", line 1665, in say
    from TTS.utils.synthesizer import Synthesizer
  File "/home/opentts/app/TTS/utils/synthesizer.py", line 11, in <module>
    from TTS.tts.utils.speakers import SpeakerManager
  File "/home/opentts/app/TTS/tts/utils/speakers.py", line 13, in <module>
    from TTS.utils.audio import AudioProcessor
  File "/home/opentts/app/TTS/utils/audio.py", line 3, in <module>
    import librosa
  File "/home/opentts/app/.venv/lib/python3.9/site-packages/librosa/__init__.py", line 211, in <module>
    from . import core
  File "/home/opentts/app/.venv/lib/python3.9/site-packages/librosa/core/__init__.py", line 6, in <module>
    from .audio import *  # pylint: disable=wildcard-import
  File "/home/opentts/app/.venv/lib/python3.9/site-packages/librosa/core/audio.py", line 18, in <module>
    from .. import util
  File "/home/opentts/app/.venv/lib/python3.9/site-packages/librosa/util/__init__.py", line 83, in <module>
    from .utils import *  # pylint: disable=wildcard-import
  File "/home/opentts/app/.venv/lib/python3.9/site-packages/librosa/util/utils.py", line 1848, in <module>
    def __shear_dense(X, factor=+1, axis=-1):
  File "/home/opentts/app/.venv/lib/python3.9/site-packages/numba/core/decorators.py", line 219, in wrapper
    disp.enable_caching()
  File "/home/opentts/app/.venv/lib/python3.9/site-packages/numba/core/dispatcher.py", line 877, in enable_caching
    self._cache = FunctionCache(self.py_func)
  File "/home/opentts/app/.venv/lib/python3.9/site-packages/numba/core/caching.py", line 610, in __init__
    self._impl = self._impl_class(py_func)
  File "/home/opentts/app/.venv/lib/python3.9/site-packages/numba/core/caching.py", line 347, in __init__
    raise RuntimeError("cannot cache function %r: no locator available "
RuntimeError: cannot cache function '__shear_dense': no locator available for file '/home/opentts/app/.venv/lib/python3.9/site-packages/librosa/util/utils.py'

你好，请问怎么解决的？

#!/bin/bash
OpenTTS Docker container name
CONTAINER_NAME="opentts"
LANGUAGE="zh"
Function to start OpenTTS
start_opentts() {
echo "Starting OpenTTS..."
docker run -p 5500:5500 --name $CONTAINER_NAME -d synesthesiam/opentts:$LANGUAGE
echo "OpenTTS started on port 5500."
}
Function to stop OpenTTS
stop_opentts() {
echo "Stopping OpenTTS..."
docker stop $CONTAINER_NAME
docker rm $CONTAINER_NAME
echo "OpenTTS stopped and removed."
}
Function to display usage
usage() {
echo "Usage: $0 {start|stop}"
exit 1
}
Check command line arguments
if [ $# -ne 1 ]; then
usage
fi
case $1 in
start)
start_opentts
;;
stop)
stop_opentts
;;
*)
usage
;;
esac

#!/bin/bash
# OpenTTS Docker container name
CONTAINER_NAME="opentts"
LANGUAGE="zh"
# Function to start OpenTTS
start_opentts() {
echo "Starting OpenTTS..."
docker run -p 5500:5500 --name $CONTAINER_NAME -d synesthesiam/opentts:$LANGUAGE
echo "OpenTTS started on port 5500."
}
# Function to stop OpenTTS
stop_opentts() {
echo "Stopping OpenTTS..."
docker stop $CONTAINER_NAME
docker rm $CONTAINER_NAME
echo "OpenTTS stopped and removed."
}
# Function to display usage
usage() {
echo "Usage: $0 {start|stop}"
exit 1
}
# Check command line arguments
if [ $# -ne 1 ]; then
usage
fi
case $1 in
start)
start_opentts
;;
stop)
stop_opentts
;;
*)
usage
;;
esac


Add ability to zero in on an mineral rich asteroid when notified of its existence

Example:

Where is the asteroid lmao?

dupe of #15


fix fix error id in bloomfilter

Proposed changes

"set" may overwrite the original ID.
2.A bloom filter may not necessarily be an IN_OR_BLOOM_FILTER.

before may be
RuntimeFilterInfo  id  -1:  [type  =  BF,  input  =  25,  filtered  =  0]
now
RuntimeFilterInfo  id  0:  [type  =  BF,  input  =  25,  filtered  =  0]

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.35 seconds
stream load tsv:          548 seconds loaded<PHONE_NUMBER>9 Bytes, about 130 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.0 seconds inserted 10000000 Rows, about 344K ops/s
storage size:<PHONE_NUMBER>1 Bytes

run buildall

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 50.55 seconds
stream load tsv:          541 seconds loaded<PHONE_NUMBER>9 Bytes, about 131 MB/s
stream load json:         21 seconds loaded<PHONE_NUMBER> Bytes, about 107 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.0 seconds inserted 10000000 Rows, about 344K ops/s
storage size:<PHONE_NUMBER>0 Bytes

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.48 seconds
stream load tsv:          537 seconds loaded<PHONE_NUMBER>9 Bytes, about 132 MB/s
stream load json:         21 seconds loaded<PHONE_NUMBER> Bytes, about 107 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          28.8 seconds inserted 10000000 Rows, about 347K ops/s
storage size:<PHONE_NUMBER>0 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.15 seconds
stream load tsv:          537 seconds loaded<PHONE_NUMBER>9 Bytes, about 132 MB/s
stream load json:         21 seconds loaded<PHONE_NUMBER> Bytes, about 107 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.0 seconds inserted 10000000 Rows, about 344K ops/s
storage size:<PHONE_NUMBER>2 Bytes

run buildall

run buildall

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.28 seconds
stream load tsv:          539 seconds loaded<PHONE_NUMBER>9 Bytes, about 132 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          28.7 seconds inserted 10000000 Rows, about 348K ops/s
storage size:<PHONE_NUMBER>4 Bytes


When placing image content in a Datagrid, it causes issues with the scroll bar.

Describe the bug
When you place an image in a row of the Datagrid and all the content exceeds the height of the Datagrid, dragging the vertical scroll bar will cause the content to jump up and down, especially when the row with the image is selected.
To Reproduce
This is the code that show image in Datagrid:
<DataGridTemplateColumn Header="Content" CanUserResize="False" IsReadOnly="True">
	<DataGridTemplateColumn.CellTemplate>
		<DataTemplate>
				<Image Source="{Binding base64ImageString, Mode=OneWay, Converter={StaticResource Base64toBitmap}}"/>
		</DataTemplate>
	</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>

Expected behavior
No response
Avalonia version
11.0.5
OS
Windows
Additional context
No response

Please try 11.1 rc before open an issue
Please file a minimum sample to reproduce

Thx

Hi @maxkatz6 maxkatz6
This is a minimum sample, and I have recorded two videos to document the performance of unexpected situations. To reproduce the error, you need to paste multi-line data into a certain row. The more lines pasted, the more obvious the performance issue will be. Please check if it is a bug.
DGtest.zip
https://github.com/user-attachments/assets/d3e73b2a-8316-478c-844f-9f5d14bdc34f
https://github.com/user-attachments/assets/3a6ba85e-59e5-40d9-94a7-af1944c3895b


Add challenge of the day

Can be posted to #secrets instead of #highscores. We can get secrets from the game data files like we did for names.

wontfix - there does not seem to be a demand for this.


Different instruct based models

Hi there,
Did anyone already use other instruction-tuned models than the Mistral 7b?
Maybe like the RedPajama 3b or 7b instruct?
https://huggingface.co/togethercomputer/RedPajama-INCITE-Instruct-3B-v1
https://huggingface.co/togethercomputer/RedPajama-INCITE-7B-Instruct

I think Gemma 2b and Gemma 7b would be super interresting as well.

Just added Gemma 2b to https://webllm.mlc.ai/, 7b should be supported soon!

For anyone wondering, this tutorial may be relevant for adding model variants (i.e. same model library, just different weights): https://llm.mlc.ai/docs/deploy/javascript.html#bring-your-own-model-variant


chore(blog): adding blog post "Integrating Datadog-instrumented Apps Traces in your OpenTelemetry Stack"

Issue: https://github.com/open-telemetry/opentelemetry.io/issues/4338
Hi folks!
Some weeks ago I had a challenge to port an API using Datadog SDKs to an environment that uses Jaeger and already had some traces from OTel SDK-instrumented apps.
In this blog post, I document my discoveries and what I did to integrate these Datadog SDKs into one OTel stack. As other OTel users might have this problem, I decided to give it a try and post it here to see if it is relevant to OTel blog.
Feel free to add any comments and suggestions!

Thanks for your suggestions @tiffany76, it makes sense! I've applied them to the article.

Totally! Thanks!

Thanks for considering writing a blog post here. At this time, we don't think this aligns enough with our mission. I wrote up a little more in a corresponding slack post here: https://cloud-native.slack.com/archives/C02UN96HZH6/p1715198701415879?thread_ts=1715168364.109619&cid=C02UN96HZH6

There is no problem @cartermp, thanks for your clarification! And thanks all for your help during the review process!


Improved the filtering functionality by consolidating filter options within the same form

Description

Improved node filtering functionality by consolidating filter options within the same form, providing a more cohesive and user-friendly experience for managing filters.

Removed an unused farm options type and replaced it with the FilterOptions type.

Refactored the structure of the dedicated nodes page to enhance maintainability. Filters and associated functionality have been moved outside the nodes-table component, aligning with best practices. This ensures that the nodes-table component focuses solely on rendering the table without any embedded logic. (Work in progress)

Optimized code structure by relocating the 'loading' functionality from within the nodes-table component to its parent. Additionally, introduced a watcher on the active tab to emit an event when a tab is changed, providing a streamlined and event-driven approach for handling tab switches.

Added another input filter for 'Filter by region' in the filters, nodes components

Changes
List of changes this PR includes
Related Issues

https://github.com/threefoldtech/tfgrid-sdk-ts/issues/1866
https://github.com/threefoldtech/tfgrid-sdk-ts/issues/1869

Screenshots (if applicable)

Checklist

[ ] Tests included
[ ] Build pass
[ ] Documentation
[ ] Code format and docstrings
[ ] Screenshots/Video attached (needed for UI changes)

The table should be empty if i added non existing region name.

Screencast from 01-04-2024 05:40:41 PM.webm

on nodes finder can we move the status field to the right like this picture ?

Screencast from 08 ينا, 2024 EET 12:56:40 م.webm
the added toggles and status changes applied without clicking on apply

if the user typed anything and before applying the changes decided to clear we will have the same inti request again, we can check if we actually have changes before send the request
Screencast.from.08.2024.EET.02.10.41.webm

the same on dedicated nodes

Please fix the build

update the screenshots please

after applying the added filters, the clear button is disabled, but if we applied the same scenario on the input fields the clear button is enabled normally.

i can reproduce this

https://github.com/threefoldtech/tfgrid-sdk-ts/pull/1877#issuecomment-1880895102
https://github.com/threefoldtech/tfgrid-sdk-ts/pull/1877#pullrequestreview-1808967595
https://github.com/threefoldtech/tfgrid-sdk-ts/pull/1877#issuecomment-1880784337
please check those comments

@mohamedamer453
Please make sure that you are on the latest code, I've tried now and all worked as well :)

Screencast from 01-10-2024 10:52:23 AM.webm

For the alert message, it's removed now, good suggestion :)

@mohamedamer453

Please make sure that you are on the latest code, I've tried now and all worked as well :)

Indeed, it was an issue from my side, working fine now.

PS
Based on @AhmedHanafy725 and @0oM4R call
The whole filter needs to change, There should be 2 states, and enable/disable the Apply / Clear buttons to change the state itself

I can't apply after the swtich is back to the default state
https://github.com/threefoldtech/tfgrid-sdk-ts/assets/41957921/db8585be-6db2-4418-b5ba-fa93d929c887

We should disable the Apply if the next state is equal to the current state.
Screencast from 10 ينا, 2024 EET 01:42:12 م.webm

We should disable the Apply if the next state is equal to the current state.
Screencast.from.10.2024.EET.01.42.12.webm

this is still happening with me

The clear button not working

Screencast from 01-10-2024 04:41:58 PM.webm

The clear button not working

Screencast.from.01-10-2<IP_ADDRESS>.PM.webm

It only cleares the filters.

Issue Update
Work Completed:

Implemented a feature to set filter values as query parameters by default, loading filters on page mount.
Enhanced the filtering mechanism for nodes, farms, and dedicated machines, saving values as query parameters and loading them on page load.
Resolved an issue affecting the playground build, ensuring a stable and error-free environment.
Improved code readability by replacing hardcoded conditions with the Reflect.set() method.
Worked on displaying the apply button when the current state is equal to the initial state, enhancing user interaction.
Implemented functionality to disable the apply button when the values of the current state are equal to the next state.
Removed an unused line added for debugging purposes, streamlining the codebase.
Fixed an issue related to resetting state values, ensuring proper functionality.
Added an informative message to be displayed to the user if the state has values selected.
Implemented a fix to disable buttons during loading processes, preventing unintended user actions.
Addressed a table page/size issue, ensuring proper loading of nodes upon page change.

Work in Progress (WIP):

Enable the apply button on change

the apply button should be enabled once any filter changes the current state of the filters.
https://github.com/threefoldtech/tfgrid-sdk-ts/assets/41957921/fc5bed46-9a05-4b86-b643-288d418bdcf6

if the filter values are different than the current state values, the apply button should be active.

type in any field then click on apply
go to another field and type any thing and delete it without clicking apply
the expected scenario is to disable the Apply btn but it was enabled

Screencast from 11 ينا, 2024 EET 05:19:37 م.webm


[Feature] Shaking Text Animation

Description
Description
Adding Shaking Text Animation under the Text Animation category , under the IWOC Event.
Assign this issue to me , Thank you for your time and considerations.
Screenshots
Screencast from 19-01-24 10:44:33 PM IST.webm
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Do you want to work @Tholkappiar

Please assign me this @Rakesh9100  under SWOCS4

Proceed @anirbanmajumder0

@Rakesh9100 please check PR #425


Doesn't work with yarn workspaces by default

I have a monorepo which is essentially a repository with many npm packages in it and I just started using yarn workspaces which hoists all dependencies to the root of the repository.  I realized that all my node_modules were getting included because they were now located in a node_modules folder two parents up.  So I had to switch to externals: /node_modules/

I'm having the same issue so that PR witth moduleDirs will be awesome, I just don't know how @barraq resolved the issue with 2 node folders because when you are using lerna, the folders inside packages/ will have their own node_modules with the symlinks created by lerna and other node packages will be on the root, that makes 2 node_modules folder to inspect.
This is valid with workspaces only, if you dont use workspaces all is good but for my particular case where I'm using a monorepo full of react components and on the root folder a storybook installation to preview the components, if I dont use workspaces react gets repeated and doesn't work so thats why the approach with webpack-node-externals is important.

@alexrqs actually I am using this patch for our monorepo at Freeletics. I simply have this configuration:
externals: [nodeExternals({
  modulesDirs: ['node_modules', path.resolve(__dirname, '../../node_modules')],
})],

and it works  like a charm ;) actually that was the reason of the patch.

+1
Ideally the default modulesDir behavior would be to walk the workspace to its root (consulting all node_modules directories from package to root); thus, webpack-node-externals would work out of the box for monorepos.
The current solution of hard-coding module dirs is brittle (ie, breaks if a package is moved/copied etc within the monorepo).
Also, node itself seems to resolve from node_modules up the directory tree. Webpack and other libraries, similarly. So this would be idiomatic, no? If so, perhaps there's a direct/normalized library/facility for doing this walk that could be leveraged.

how can I whitelist webpack/hot/poll?1000 in a monorepo setup?

how can I whitelist webpack/hot/poll?1000 in a monorepo setup?

Try:
 externals: [
     nodeExternals({
         modulesDir: path.resolve(__dirname, './node_modules'),
         whitelist: ['webpack/hot/poll?1000']
     }),
     nodeExternals({
         modulesDir: path.resolve(__dirname, '../../node_modules'),
         whitelist: ['webpack/hot/poll?1000']
     })
 ],

If you have many packages and you want to query them all, use this:
import glob from 'glob';

const externals = glob
    .sync('*/node_modules/', { absolute: true, cwd: __dirname })
    .map((modulesDir) => nodeExternals({ modulesDir })),

In version 2, you can now specify additionalModuleDirs in the options.


added support of Immunization protocolApplied for dosageNumber

IMPORTANT: Where possible all PRs must be linked to a Github issue
Fixes https://github.com/opensrp/fhircore/pull/2790 (Sibling PR)
Engineer Checklist

[ ] I have written Unit tests for any new feature(s) and edge cases for bug fixes
[ ] I have added any strings visible on UI components to the strings.xml file
[ ] I have updated the  CHANGELOG.md file for any notable changes to the codebase
[ ] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
[ ] I have built and run the FHIRCore app to verify my change fixes the issue and/or does not break the app
[ ] I have checked that this PR does NOT introduce breaking changes that require an update to Content and/or Configs? If it does add a sample here or a link to exactly what changes need to be made to the content.

Code Reviewer Checklist

[ ] I have verified Unit tests have been written for any new feature(s) and edge cases
[ ] I have verified any strings visible on UI components are in the strings.xml file
[ ] I have verifed the CHANGELOG.md file has any notable changes to the codebase
[ ] I have verified the solution has been implemented in a configurable and generic way for reuseable components
[ ] I have built and run the FHIRCore app to verify the change fixes the issue and/or does not break the app

@dubdabasoduba I think we already have this implementation in place. Please check out this

@qiarie please note that I've renamed from Immunization_VaccinationProtocol to Immunization_AppliedProtocol to match what we have on FHIR docs.
cc @dubdabasoduba


How to call zone cleaning (Viomi v2 PRO)

I'm using robot cleaner Viomi v2 PRO and I would like to call a service that starts zone cleaning with multiple zones given in params. Can anyone tell me how to do this?

Is viomi.vacuum.v22 ?


feat: add option to generate Details section on the spot

Closes https://github.com/Skarlso/crd-to-sample-yaml/issues/127