fixed

Fixes #1015.
Changes proposed:
added this.shouldClose = null; to the handleOverlayOnMouseDown method (src/components/ModalPortal.js:321) this  allow the modal to close in cases where the mouse press started on the overlay. Then, added the event.stopPropagation(); handleContentOnMouseDown method (src/components/ModalPortal.js:331)
Upgrade Path (for changed or removed APIs):
Acceptance Checklist:

[x] The commit message follows the guidelines in CONTRIBUTING.md.
[x] Documentation (README.md) and examples have been updated as needed.
[x] If this is a code change, a spec testing the functionality has been added.
[x] If the commit message has [changed] or [removed], there is an upgrade path above.

Hi @msubham193!
Please read contributing guidelines and rewrite PR subject and description accordingly. Rewrite the description wisely, describing what problem you solving, not how - it  can be seen in files changes anyway.

Also will be good to fill Reviewers, Assignees and, if there is some labels in repo, Labels fields.

@msubham193 as @ErikDeviashin pointed out, there are a few things that needs to be clean up,

Also will be good to fill Reviewers, Assignees and, if there is some labels in repo, Labels fields.

No need for this. It's just a simple patch.
To update the commit message, use git commit --amend -m "new message".
To remove the package-lock.json, use git checkout -- package-lock.json && git commit --amend
If you run this command in sequence, it will do the right thing (hopefully).

Let me know if you need anything, @msubham193.

@ErikDeviashin Can you please help providing a test case for this patch?
I think this is going to be the hardest part of this patch.

@diasbruno
No, it wasn't that hard, to be honest. Especially considering the many other test case examples available. Can you provide me access to push in the repository so I can push the changes? Or how would you like it to be done?
Also, I found that two other test cases (about mouse down on content/overlay and mouse up on the opposite element) weren't really working, so I fixed them too.

As you are interested in this fix, @ErikDeviashin, you can take over...

@msubham193 Thanks so much for helping with this. We are going to move on due to some changes that this PR needs.


New version: DuongDieuPhap.ImageGlass version <IP_ADDRESS>

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978334972

(Automated response - build 684.)

@stephengillie will this error be waived? I think it happened on the last version.

Automatic Validation ended with:

Installation failed with exit code -1978334972

(Automated response - build 691.)

Automatic Validation ended with:

Installation failed with exit code -1978334972

(Automated response - build 692.)

@wingetbot waivers Add Validation-Installation-Error

Duplicate of https://github.com/microsoft/winget-pkgs/pull/137316


FD-005.3 Member card component #112

Fixes

Fixes
Issue Title: FD-005 -
Github #[112]
Created by @[Clue355]
Description

Testing Instructions

Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (development)
[x] My commit messages follow best practices.
[ ] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.

Release Notes

Decisions

Technical Details

Links

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

I'm adding this screenshot for reference  so we can see where you are at without having to navigate to your branch but nicejob! Are you finished or need some guidance?
@ZeeMonk-pixel

I'm adding this screenshot for reference so we can see where you are at without having to navigate to your branch but nicejob! Are you finished or need some guidance? @ZeeMonk-pixel

Yes I am done with the issue... since it's only the card component, that's what I have there. It's static information now till the members data are available for fetching then we can replace it with the data. But for now, I'm done with the card component UI... or is there anything else you'll love me to add?

Hey @ZeeMonk-pixel we have made updates to the dev branch where we have set up the fetch request and the search functionality for the members. Can you update your member cards to reflect the data getting fetched from the API. Also please adjust your card sizing and the page sizing/white space. Let us know in discord if you need any help.
To test the API you must run the backend application locally or on gitpod, then seed the database with the seed data by running rails db:seed and then pasting the URL endpoint into the fetch request.

Hey @ZeeMonk-pixel we have made updates to the dev branch where we have set up the fetch request and the search functionality for the members. Can you update your member cards to reflect the data getting fetched from the API. Also please adjust your card sizing and the page sizing/white space. Let us know in discord if you need any help.
To test the API you must run the backend application locally or on gitpod, then seed the database with the seed data by running rails db:seed and then pasting the URL endpoint into the fetch request.

Yes I can… I will get to work on it starting Saturday.


Add static full method for tensor initialization with custom values

Description:
Currently, we have methods Tensor::<B, D>::zeros() and Tensor::<B, D>::ones() for initializing tensors with zeros and ones, respectively. However, there is no efficient way to initialize a tensor with a custom fill value.
In the case of Initializer::Constant in initializer.rs, we currently use a workaround: Tensor::<B, D>::zeros(shape) + *value. This requires two steps for initialization and is inefficient.
Proposal:

Implement a new static method (Tensor::<B, D>::full(shape, fill_value)) for Tensor::<B, D>that allows for the creation of a tensor with a custom fill value in a single step. The method should follow the syntax similar to:Tensor::<B, D>::from_value(shape, value)`.

After implementing this, we need to update the init_with method for Initializer::Constant in initializer.rs to use the newly created method.

Benefits:
This will simplify the code, improve readability, and also increase the efficiency of tensor initialization with custom fill values by eliminating the need for an extra step.
Tasks:

[ ] Implement Tensor::<B, D>::from_value(shape, value) method
[ ] Update init_with method in Initializer::Constant to use the new method
[ ] Test to ensure everything works as expected
[ ] Update relevant documentation

Completed via https://github.com/burn-rs/burn/pull/486


Fix typos

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues.

Fixes #
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, releated PRs, TODO items or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #15577 into master will increase coverage by 20.82%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master   #15577       +/-   ##
=============================================
+ Coverage      1.68%    22.5%   +20.82%
- Complexity      228     5570     +5342
=============================================
  Files           613     1595      +982
  Lines         39457    74991    +35534
  Branches       4356     9871     +5515
=============================================
+ Hits            665    16880    +16215
- Misses        38718    56218    +17500
- Partials         74     1893     +1819

Impacted Files
Coverage Δ
Complexity Δ

...ballerinalang/net/grpc/ServerMethodDefinition.java
0% <0%> (ø)
0% <0%> (?)

.../org/ballerinalang/stdlib/time/util/TimeUtils.java
53.12% <0%> (ø)
6% <0%> (?)

...alang/langserver/index/dto/BFunctionSymbolDTO.java
70% <0%> (ø)
3% <0%> (?)

...llerinalang/net/http/nativeimpl/session/GetId.java
0% <0%> (ø)
0% <0%> (?)

...va/org/ballerinalang/net/grpc/OutboundMessage.java
0% <0%> (ø)
0% <0%> (?)

...rg/ballerinalang/mime/nativeimpl/SetBodyParts.java
100% <0%> (ø)
2% <0%> (?)

...g/net/http/mock/nonlistening/NonListeningStop.java
100% <0%> (ø)
1% <0%> (?)

...in/java/org/ballerinalang/net/grpc/ClientCall.java
0% <0%> (ø)
0% <0%> (?)

.../net/grpc/nativeimpl/streamingclient/Complete.java
15.38% <0%> (ø)
2% <0%> (?)

...iders/subproviders/FunctionCompletionProvider.java
0% <0%> (ø)
0% <0%> (?)

... and 972 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 f452f57...da4e8de. Read the comment docs.


python311Packages.pymdown-extensions: 10.5 -> 10.7

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.pymdown-extensions is: Extensions for Python Markdown
meta.homepage for python311Packages.pymdown-extensions is: https://facelessuser.github.io/pymdown-extensions/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 10.7 with grep in /nix/store/w3mkah4d29hkj36w6xzc7aby3l2l86pr-python3.11-pymdown-extensions-10.7
found 10.7 in filename of file in /nix/store/w3mkah4d29hkj36w6xzc7aby3l2l86pr-python3.11-pymdown-extensions-10.7

Rebuild report (if merged into master) (click to expand)

19 total rebuild path(s)

19 package rebuild(s)

First fifty rebuilds by attrpath
copier
hydrus
netbox
netbox_3_6
netbox_3_7
ntfy-sh
python311Packages.canals
python311Packages.mkdocs-jupyter
python311Packages.mkdocs-material
python311Packages.mkdocs-mermaid2-plugin
python311Packages.mkdocstrings
python311Packages.mkdocstrings-python
python311Packages.pymdown-extensions
python312Packages.canals
python312Packages.mkdocs-material
python312Packages.mkdocs-mermaid2-plugin
python312Packages.mkdocstrings
python312Packages.mkdocstrings-python
python312Packages.pymdown-extensions

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/w3mkah4d29hkj36w6xzc7aby3l2l86pr-python3.11-pymdown-extensions-10.7 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.pymdown-extensions https://github.com/r-ryantm/nixpkgs/archive/afdbbdcebf7cde8a7710a5f9dd9ad4c7b6d9ba5a.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/afdbbdcebf7cde8a7710a5f9dd9ad4c7b6d9ba5a#python311Packages.pymdown-extensions

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/w3mkah4d29hkj36w6xzc7aby3l2l86pr-python3.11-pymdown-extensions-10.7
ls -la /nix/store/w3mkah4d29hkj36w6xzc7aby3l2l86pr-python3.11-pymdown-extensions-10.7/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages marked as broken and skipped:

python312Packages.canals
python312Packages.mkdocs-mermaid2-plugin
python312Packages.mkdocstrings-python

1 package failed to build:

copier

13 packages built:

hydrus
netbox (netbox_3_7)
ntfy-sh
python311Packages.canals
python311Packages.mkdocs-jupyter
python311Packages.mkdocs-material
python311Packages.mkdocs-mermaid2-plugin
python311Packages.mkdocstrings
python311Packages.mkdocstrings-python
python311Packages.pymdown-extensions
python312Packages.mkdocs-material
python312Packages.mkdocstrings
python312Packages.pymdown-extensions

Maintainer pings
cc @cpcloud for testing.

@ofborg build copier


cant run visit-dist on my mac

Describe the bug
Not enough Perl to get the job done:
[harrison37@zeliak visit (3.4RC)]$ src/tools/dev/scripts/visit-dist  visit3.4.1
Can't locate newgetopt.pl in @INC (@INC contains: /Library/Perl/5.30/darwin-thread-multi-2level /Library/Perl/5.30 /Network/Library/Perl/5.30/darwin-thread-multi-2level /Network/Library/Perl/5.30 /Library/Perl/Updates/5.30.3 /System/Library/Perl/5.30/darwin-thread-multi-2level /System/Library/Perl/5.30 /System/Library/Perl/Extras/5.30/darwin-thread-multi-2level /System/Library/Perl/Extras/5.30) at src/tools/dev/scripts/visit-dist line 101.

options:

convert this a python script
add a dist target to our cmake build system (this may exist for windows)
continue to live under the tyranny of perl

did you mean to mark this as reviewed?

visit-dist calls the source_files script which is also written in Perl.
In source_files, when not running with -dbio-only, why are all subdirectories listed instead of just recursing on src?
Also, src/doc is missing from the list, as issrc/osxfixup.  The list contains src/archives and src/plugins which do not exist.

Just a note about a purely-cmake option .... it requires cmake-configure to be run first.

For a purely CMake option, the logic below could be added to root CMakeLists.txt.
I have tested it sucessfully on pascal.
It creates a visit-dist target that only gets run with make visit-dist.
This is a src only option,  tarring up all src.
Current visit-dist has -dbioonly option. Do we need that? I know it will make the tarball smaller. Seems like the build option for DBIO_ONLY should be sufficient?
It also has a -withtest option that includes the testing baselines.
A cmake visit-dist-with-test target could be made to handle that.
set(dist_name visit${VISIT_VERSION})

# cannot use "${CMAKE_COMMAND} -E tar hzcf" because cmake doesn't
# support the use of the '-h' option, which resolve symlinks

add_custom_target(visit-dist
  # retrieve current GIT version
  COMMAND cd ${VISIT_SOURCE_DIR} && git log -1 --format=%h > GIT_VERSION && cd ${CMAKE_CURRENT_BINARY_DIR}
  # create the dir to tar up
  COMMAND  ${CMAKE_COMMAND} -E make_directory ${dist_name}
  # Add symlink to src
  COMMAND  ${CMAKE_COMMAND} -E create_symlink ${VISIT_SOURCE_DIR} ${dist_name}/src
  # Tar it up, resolving symlinks
  COMMAND tar hzcf ${dist_name}.tar.gz ${dist_name}
  # get the checksums
  COMMAND ${CMAKE_COMMAND} -E sha256sum ${dist_name}.tar.gz > visit-dist-sha256sum.txt
  COMMAND ${CMAKE_COMMAND} -E md5sum ${dist_name}.tar.gz > visit-dist-md5sum.txt
  # clean up
  COMMAND ${CMAKE_COMMAND} -E rm ${VISIT_SOURCE_DIR}/GIT_VERSION
  COMMAND ${CMAKE_COMMAND} -E rm -rf ${dist_name}
  WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DR})


Support generics inside variables

Hi!
Very cool feature I must say!
I'm trying to achieve something but I can seem to make it work.
This is my example:
@GenericEnum
public enum Test implements ActionFactory<@GenericEnumParam Object> {

    FEATURE_FLAGS(AActionClass.class, a -> new AActionClass()),
    NOT_FEATURE_FLAGS(BActionClass.class, b -> new BActionClass());

    Test(Class<? extends ActionClass> actionClass, ActionFactory<@GenericEnumParam Object> constructor) {
        this.constructor = constructor;
    }

    private final ActionFactory<@GenericEnumParam Object> constructor;

    @Override
    public @GenericEnumParam Object getAction(String s) {
        return constructor.getAction(s);
    }
}

This is the ActionFactory class:
interface ActionFactory<T> {
    T getAction(String input);
}

public class ActionClass {

    public void method() {
        System.out.println("method");
    }
}

public class AActionClass extends ActionClass {

    public void a() {
        System.out.println("A");
    }
}

public class BActionClass extends ActionClass {
    public void b() {
        System.out.println("A");
    }
}

After compile it creates TextExt with some errors:
    public static final TestExt<AActionClass> FEATURE_FLAGS=new TestExt<AActionClass>(AActionClass.class, (a)->new AActionClass(), "FEATURE_FLAGS", 0);
    public static final TestExt<BActionClass> NOT_FEATURE_FLAGS=new TestExt<BActionClass>(BActionClass.class, (b)->new BActionClass(), "NOT_FEATURE_FLAGS", 1);
    private final String __enum_name__;
    private final int __ordinal__;
    private final ActionFactory<@GenericEnumParam() Object> constructor;

    private TestExt(Class<? extends ActionClass> actionClass, ActionFactory<@GenericEnumParam() Object> constructor, String __enum_name__, int __ordinal__) {
        this.constructor = constructor;
        this.__enum_name__=__enum_name__;
        this.__ordinal__=__ordinal__;
    }

    public T getAction(String s)  {
        return constructor.getAction(s);
    }

The constructor variable is ActionFactory<@GenericEnumParam() Object> instead of ActionFactory<T>

in the TextExt constructor method
private TestExt(Class<? extends ActionClass> actionClass, ActionFactory<@GenericEnumParam() Object>

Am I missing anything ? is this something I can achieve with current implementation or it's a new feature need to develop ?
Thanks!!

Hi kobi26c,
I'm not 100% sure what you're trying to achieve. But after replacing Object with ActionClass and removing @GenericEnumParam, the class compiles.
@GenericEnum
public enum Test implements ActionFactory<ActionClass> {

  FEATURE_FLAGS(AActionClass.class, a -> new AActionClass()),
  NOT_FEATURE_FLAGS(BActionClass.class, b -> new BActionClass());

  private final ActionFactory<ActionClass> constructor;

  Test(Class<? extends ActionClass> actionClass, ActionFactory<ActionClass> constructor) {
    this.constructor = constructor;
  }

  @Override
  public ActionClass getAction(String s) {
    return constructor.getAction(s);
  }
}

which allows you to do
ActionClass a = Test.FEATURE_FLAGS.getAction("a");
Hope this helps,
Simon

I don't want to work with ActionClass as an interface
I want to be able to get the explicit action implementation (T) from the getAction method

Hi kobi26c,
Ok this is the closest I can get. Not as concise.
@GenericEnum
public enum Test {

  FEATURE_FLAGS(AActionClass.class) {
    @Override
    public AActionClass getAction(String s){
      return new AActionClass();
    }
  },

  NOT_FEATURE_FLAGS(BActionClass.class) {
    @Override
    public BActionClass getAction(String s){
      return new BActionClass();
    }
  };

  Test(Class<? extends ActionClass> actionClass) {
  }

  public abstract @GenericEnumParam("T") Object getAction(String s);
}

Allows you to do:
AActionClass a = TestExt.FEATURE_FLAGS.getAction("a");
This is a modified version of the org.cmoine.genericEnums.AbstractEnum sample.
Simon


[Bug] [Apoth 6.3] Anvils crash with Easy Anvils and Apoth while the Enchantment Module disabled

While trying to open or place an anvil with the mods Easy Anvils & Apotheosis with the Enchantment Module is disabled it causes the game to crash, I have tested this multiple times in both old and new worlds and re-enabling the Enchant Module.
crash-2023-07-23_13.11.51-client.txt

This is an issue with whatever compat code easy anvils has for apoth, as it seems like they are unconditionally reaching into ench module code even if it is disabled.


fix typesetting error

relation

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: rootsongjc
If they are not already assigned, you can assign the PR to them by writing /assign @rootsongjc in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content_zh/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @Whitilied. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

I signed it!


Symbolic Value support

Hi,
Apparently, this should parse (z/of-string "##NaN") but I get java.lang.Exception: :reader-macro node expects 2 values. [at line 1, column 6]
In the wild here: https://github.com/clojure/clojurescript/blob/master/src/main/cljs/cljs/test.cljs#L376
https://clojure.org/guides/weird_characters#__code_code_symbolic_values
Looks like it was added in 1.9.0-alpha20

Addressed in v1 branch which is now merged to main. Closing.


How to remove supportAnnotations?

Please try to fill all questions below before submitting an issue.

Android studio version:3.1.2
Android gradle plugin version:2.3.3
Logger version:2.2.0

Does it cause any issue? In case of conflict, you can exclude them easily with gradle.


How to add tabs under Proprty Pane?

What type of issue is this?
Question
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[ ] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

SPFx version - 1.17.1
Node.js version - 16.20.0

Issue description
Hello Everyone,
I have created an SPFx project with React.
I have created a property pane under my SPFx web part. Below is the screenshot for the same.

I need to add tabs under that property pane and add controls under tabs.
Can anyone help me with the same?

I'm not sure of tabs but you can have sections that are minimized/maximized as you see fit.
in getPropertyPaneConfiguration make use of 'displayGroupsAsAccordion' and then 'isCollapsed'
return {
pages: [
        {
          header: {
            description: ""
          },
          displayGroupsAsAccordion: true,
          groups: [
            {
              groupName: "Group one"
              isCollapsed: false,
              groupFields: [
                    <Property pane controls for the group>
              ]
           },
            {
              groupName: "Group two"
              isCollapsed: true,
              groupFields: [
                    <Property pane controls for the group>
              ]
           }
        ]
      }
   ]
}

If you instead of the above return more 'pages' in the pages array you might get something similar to tabs. But I think it's using pagination at the bottom of the property pane panel instead (not sure)


Support configuring child projects in single workspace

As suggested on gitter by @plasticine:

For example, say I have some ruby code in services/app and some JS code in services/ui, and then a bunch of top level stuff in the project root; config files, scripts and other junk.

How can I used something like solargraph for the ruby codebase in services/app, and flow for the code in services/ui? Flow for example expects to find a .flowconfig file in the root from which it’s run, and it absolutely doesn’t make sense to put that in the root of the project.

Some servers don't mind starting in an arbitrary folder and detecting projects in the tree (eg. the typescript server just looks for package.json).

I do know that VSCode extensions often support projectPath or workingDirectories config keys that would allow for this.

We should read the docs to understand how language servers are configured - per child project? One process or processes for each child project?

@tomv564 Hey 👋🏼 I had a bit of a stab at seeing if I could get this running. It’s super hacked in for the moment (apologies, it’s been a long time since I wrote Python!), but it is working.
https://github.com/tomv564/LSP/compare/master...plasticine:spike/client-path
{
	"folders":
	[
		{
			"path": "."
		}
	],
	"settings": {
		"LSP": {
			"flow": {
				"enabled": true,
				"command": ["flow", "lsp"],
				"languageId": "javascript",
				"client_path": "services/ui",
				"scopes": ["source.js"],
				"syntaxes": [
					"Packages/Babel/JavaScript (Babel).sublime-syntax",
					"Packages/JavaScript/JavaScript.sublime-syntax"
				]
			}
		}
	}
}

I also just closed https://github.com/tomv564/LSP/pull/436 which is the same solution, but then used to workaround a broken language server.
I'd like to understand the monorepo use cases a bit better before merging solutions.
This setting works for one-project-per-language workspaces.
But if you have a monorepo with multiple flow projects, how should LSP accommodate the flow language server?

@tomv564 Yeah for sure — I assumed as much which is why I didn’t bother with a PR. I’ll just maintain my fork for a while until a direction is decided upon I guess.
FWIW, it seems to me that client_path (if set) could just be a part of tracking the session, which would allow for multiple clients of the same type in a tree, right?

Also, as reference, here’s two VSCode examples that have this sort of pattern that I’m personally familiar with;

https://github.com/Microsoft/vscode-eslint — eslint.workingDirectories
https://github.com/JakeBecker/vscode-elixir-ls — elixirLS.projectPath


Add Arabic-Indic numerals to Arabic

Please see https://github.com/tesseract-ocr/tesseract/issues/858
include both 0-9 and  ( ٠ ١ ٢ ٣ ٤ ٥ ٦ ٧ ٨ ٩) for Arabic.

0x30 to 0x39
U+0660 through U+0669

Please add the Arabic comma too, (،)  U+060C.

Any idea of when the eastern-arabic numerals will be added to the language packs?

Added to my local copy for next round of training. Then I will push updated langdata as well.

@theraysmith
I hope you have seen other comments regarding using only persian number range for persian and arabic range for Arabic.

Yes, I hope the experts also see my question about the Arabic languages not
mentioned by those issues (kur_ara, pus, uig).
On Mon, Aug 7, 2017 at 6:38 PM, Shreeshrii<EMAIL_ADDRESS>wrote:

@theraysmith https://github.com/theraysmith
I hope you have seen other comments regarding using only persian number
range for persian and arabic range for Arabic.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tesseract-ocr/langdata/issues/71#issuecomment-320825657,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL056VBYghCZM2R0sOYmSVFtcDC26cPeks5sV7whgaJpZM4NN0lN
.

--
Ray.

Hi guys , I'm using tesseract 4 I'm using ara.traineddata to extract the text from the image.
it's working well for the letters but numbers is not good at all . From the comment above there should be some other traineddata for only numbers . any body can guide me where to find it .
thank a lot

Hey there i am been trying to setup OCR for Arabic language in tesseract js but i am getting this error. i couldnt even get a replay through the support.

It seems that Ray didn't push the data to our side (langdata_lstm and best/fast repos).

This issue should be re-opened.


Add continuous integration

Continuous integration for the repo should be added
A list of Continous Integration Services is here:
https://github.com/ligurio/Continuous-Integration-services/blob/master/continuous-integration-services-list.md
Free for opensourcea and with database support:
TravisCI
SemaphoreCI

I've used travis-ci before, and it's OK. You just have to include a .travis.yml (or something like that) in the project with the commands you want to run and that's it. Oh! And set up the hooks.

Ok, I will go for travis-ci.
Will require a minor change in bootstrap.sh since jenkins was used for CI in original branch.
Should the check for the jenkins support simply be removed?

Should I create an account on travis-ci.org or do we have sociomantic account for tsunami projects already?

I can't add the repo to travis-ci, as I am not admin on the repo. @leandro-lucarella-sociomantic  Is it better that you add the repo to travis and activate it?

I guess it would be better for @ben-palmer-sociomantic to do it. But another option would be to make you admin of this repo, as you'll be the one actually doing most of the work. I leave that to Ben.

@leandro-lucarella-sociomantic this are the requested permissions for the travis ci testing. Is this ok to authorise? I don't see any problems but seeing the organization access made me nervous and I wanted to double check.

So after briefly granting access to travis-cl to this repo from my sociomantic account it seems this needs organization access so it would be better to do it from a non sociomantic account so I have reverted the application permissions. See also https://github.com/sociomantic/microbe/issues/67 for microbe. So instead I will grant administrator rights to @bokchan and he can grant the permissions to the application without involving the organization.

@leandro-lucarella-sociomantic would you prefer we start a new external-libdrizzle-redux team and add @bokchan to it or shall I just add him as an admin collaborator?

(just as a note as well this would be worth adding to the tsunami guidelines to prevent any confusion or more serious granting of application authorization problems - e.g. access to repos)

Adding him as admin collaborator should be fine.

I now see the libdrizzle-redux when using travis-ci under my private github account.

Travis CI now works with the repo, cf. #11

Related PR #11


Team 29 Review: Documentation Organization

The TA for this capstone group is: @CSchank
Great job in identifying the use of IEEE 1998 template.
In the rubric it states that, on top of identifying the template, the SRS should follow the template and document all changes from the template. By reviewing the SRS and the IEEE 1998 template, it seems like there is some deviation such as:

2.5, the heading should be Assumptions and Dependencies and dependencies should be listed
Standards compliance all the way to Portability should be underneath the section Design constraints
If these deviations are intentional, perhaps documenting the changes in your Overview section would work.

In addition, the tables that were provided for the SRS or organized very well; however, for Table 59, I noticed that some of the words in the columns are crossing over to other columns.
Finally, since the IEEE template was used, you can add it in the References as well.

Changes mentioned regarding the IEEE templates have been made, thanks.


Wireless Connectors randomly just dropping on floor

So since Beyond updated to 1.5.3 Wireless Connectors in certain chunks are dropped(like broken) on chunk load.  It happens only in certain chunks and every time the chunk is loaded.  After I replace it, it has no issue until the chunk is unloaded then reloaded and it happens again, everytime.

The exact same ones are broken.  I have 10 chunks, and about 40 wireless connectors.  Only Connectors in 2 of those chunks break and all Connectors in those 2 chunks break.  Happens every time.

Also, it only happens if the Wireless Connectors are connected

I'm closing this issue as part of a spring cleaning of my issue trackers from old stuff.
If you believe it's a bug that is still relevant in Minecraft 1.12 - Feel free to reopen it.


[APPM-293] sign-out of app redirects to login page

Steps: 1) user logs into app manager 2) user clicks on gateway endpoint url and access HardwareRepository application 3) user signs out of application using the HardwareRepository application sign-out link when signing out of an application, the current user experience takes the user to a login page.  if a user is already logged into the app-mgr portal, why is app-mgr asking them to login again? I would assume the correct behavior would be to redirect to App Manager portal, where the user has all their app links.Reference: https://wso2.org/jira/browse/APPM-293

Not related to IoT server, hence closing the issue.


Setup Zap logger

We should replace the current logger ("github.com/charmbracelet/log") with Zap for better performance.

Hello @JyotinderSingh!
I would like to work on this

I have already written a variant for it. If it's ok, i can take this up?

Sure

@Dev79844 thanks...

zerolog is best

@icetech233 would like to hear more on this. Why do you think zerolog is best?

Should be easy to benchmark this? Or refer to an existing benchmark.
Also, i have closed a task to unify logging so please include that in scope once we have decided on the logging lib.

@icetech233 would love to hear more on this. Why do you think zerolog is best?

the most fast

zerolog

Benchmarks  https://github.com/rs/zerolog

I have been using zerolog from a long time. And yes it has a performance advantage mentioned in these benchmarks . In our last discussion I missed to mention this @soumya-codes . We can actually go with the zerolog instead of zap.

Why not just go ahead with slog?
This is a nice talk which the Go team gave about logging in Go
https://youtu.be/8rnI2xLrdeM?si=bllbR3HBMi9sUJbw

Hey guys is there a consensus on this? And is anybody looking to pick it up? If not I would like to pick it up

@AshwinKul28  @JyotinderSingh  can I go ahead with zerolag? I want to pick it up.

@AshwinKul28  @JyotinderSingh  can I go ahead with zerolag? I want to pick it up.

I believe @AshwinKul28 is already tackling this

@kaviisuri thanks for contributing, assigned.


login page improve

can improve login page and can make it attractive

could plz tell me , in which folder the login page file is there


Error on sitemap.xml for demo

What is the location of your example repository?
No response
What version of Hydrogen are you using?
latest
What version of Remix are you using?
latest
Steps to Reproduce
The error append when the charter "&" is used in the title of a product.
Expected Behavior
A normal preview of sitemap.xml
Actual Behavior
A parsing error appear in the browser when we go on sitemap.xml page

This page contains the following errors:
error on line 243 at column 41: xmlParseEntityRef: no name
Below is a rendering of the page up to the first error.

not sur if it's the best solution but I add a function
`
function htmlEncode(text: String) {
text.replace(/[\u00A0-\u9999<>&]/g, function(i) {
return '&#'+i.charCodeAt(0)+';';
});
return '';
}
`
and
 finalObject.image.title = htmlEncode(product.title);
`
on line 75

Thanks! This will be fixed in https://github.com/Shopify/hydrogen/issues/613


Can this work achieve PoseTrack?or just pose estimation?Thanks.

This work is just designed for 2D pose estimation.


fix: [ACM-14189] identify healthy managed clusters during e2e

This is a test setup error.  The PR addresses two issues:

Must exclude local-cluster from managed cluster list. This is because starting with ACM 2.10, observability is no longer running as a addon on the hub cluster, and always configured on the hub cluster. If a cluster is named "local-cluster" or has a label "local-cluster: true", it should be treated as a hub cluster. Do not skip local-cluster.

Must exclude unhealthy clusters. From time-to-time, we have seen CICD environment with incomplete/unhealthy clusters in the hub, and the logic should skip testing Obs features on them. This is achieved by checking ManagedClusterConditionAvailable with status="True" in the managed cluster object.

/hold

We only want to avoid tests on local cluster that are related to the observability addon. The other tests still can run on local cluster noh? We already blocked the local cluster from running obs addon tests.

We only want to avoid tests on local cluster that are related to the observability addon. The other tests still can run on local cluster noh? We already blocked the local cluster from running obs addon and manifestwork tests.
If we skip local-cluster then no tests will run on it

@coleenquadros  I see your point. I did another update to the PR that does not skip local-cluster.
It seems to pass the test in my local run, however I am seeing some weirdness with ManagedClusterAddon observability-controller getting into a unknown state, something we want to track separately from this PR.
I opened a slack thread in #forum-mce for this issue.

/retest-required

/lgtm


Update network page link in web & email footer

Now that we have a translatable page, we should remove links to https://www.inaturalist.org/pages/network and replace them with https://www.inaturalist.org/sites/network so that people can see a translated version of the page.
The places where this needs to happen are:

[x] website footer (here?)

[x] email footer (here?)

[x] maybe this page for contributors (here)

[x] account settings page

Am I missing any links that aren't wiki pages?

@carrieseltzer The only other spot I'm seeing immediately is the user edit page ("Edit Your Account & Profile") underneath the "iNaturalist Network Affiliation" section. I can pick this up and double check.

Awesome, thanks! I added the account settings to the list above.

In https://www.inaturalist.org/stats you missed the hyperlink wit title ''Observations By App''
Website
Created via iNaturalist or iNaturalist Network websites


Use bundler cache on Travis CI

Good call, thanks.

Hello,
Sorry, I know it's been a long time ago, but I am curious, bundler caching was available since December 17, 2014, but I see you just enabled it in this pull request (about a year later). Any reasons, please?
Thanks.

@Taher-Ghaleb I remembered at the time bundler caching was introduced, it was off by default. Explicit config like this PR was required to enable the caching.

I see. Thanks, @dlackty, for your response.


Raise error if trailing comma after rest element in async func params

Q
A

Bug fix?
y

Breaking change?
n

New feature?
n

Deprecations?
n

Spec compliancy?
y

Tests added/pass?
y/y

Fixed tickets
comma-separated list of tickets fixed by the PR, if any

License
MIT

I think trailing commas shouldn't be allowed anywhere after a RestElement, if I'm not mistaken.


how to create and save rotation bounding box?

I want to create and save the rotation bounding box by record the rotation angle,

@taopanpan ,
Have you tried to implement it?

@tzutalin  I tried,but failed. can you help me?

@taopanpan ,
How can I help you?

@taopanpan @tzutalin
I think we can work on it together to add this very valuable extension.
Let us continue here: https://github.com/tzutalin/ImageNet_Utils/issues/7
I have prepared a segmentation tool which is very good and efficient. Then we can integrate that into this tool to make it a multi-function tool.
Then let us make the whole tool webbased which annotators do not need to install anything except a web browser :)

@smajida ,
Cool. Web based tool is nice for most of the people.

@taopanpan Hi, you want to detect rotation bounding box? I am working on it, can we work together?

@ujsyehao ,
If you can add this feature, it will be helpful to others._

I am trying to implement this function, But I am new in PyQt. It's so hard for me````````````

Are rotated bounding boxes valid to use for training the tensorflow object detection api?

This guy has implemented a rotated Bbox function but it does not offer a YOLO format output.
https://github.com/cgvict/roLabelImg
Similar to @fastlater , I would also like to know if rotated bounding box  would affect training for YOLO?Since YOLO only requires center coordinates, width and height of the Bbox, I assume it wouldn't affect
the training right?

Hey!
I implemented that feature (#20, #347) when I was considering to work with the labelImg tool. I did however decide against it and thus did not entirely finish a minor part of the implementation (that can be also most likely be omitted)
I did not finish the implementation of a rectangle angle check mechanism, that checks if the rectangle angle that is to be applied leads to a valid outcome having all edges in range of the image. That mechanism does not detect some cases where the rectangle is out of range and therefore I removed it via a boolean flag.
The rectangle coordinates are floating point now, I am not sure if that can be used for the rest of the pipelines / if that works in accordance with the output formats. In case it is not, simple conversion to int on export is required.
Tested only via python3.
Tracked in issue #20.

@juliusHuelsmann wonderful job. Could you share your windows binaries?

@MarStarck
I am sorry, I do not use Windows as my operating system on any of my computers and did not manage to setup a cross-compile workflow with wine (because the python3 installer always crashes).
If you are able to compile the project on windows however, making the exe file should work straight out of the box:
If you can build the project (the link includes the patch I submitted), it suffices to (in case you have installed pip) execute the following two commands in the labelImg directory:
> pip install pyinstaller
> pyinstaller --onefile labelimg.py

after you have build the project once (with either qt5 or qt5) as described in the readme:
> pyrcc5 -o resources.py resources.qrc
> python labelImg.py

Hey! I completed the work done by @juliusHuelsmann  and added an additional output format for the rotated bounding box (type center_x center_y width height rotation). Specifically, the work is based on the latest version of labelImg and adds a 'KITTI BEV' format writer and reader. Please check it out: labelImg-kitti 😁

@taopanpan @tzutalin
I think we can work on it together to add this very valuable extension.
Let us continue here:
tzutalin/ImageNet_Utils#7
I have prepared a segmentation tool which is very good and efficient. Then we can integrate that into this tool to make it a multi-function tool.
Then let us make the whole tool webbased which annotators do not need to install anything except a web browser :)

@arasharchor
Hello, is the “webbased” completed?

Hi @zexihan . I have checked the tool but some images appeared to be routed while the source image is not.
Do you mind to pull the latest changes at the master branch from the original repository and merged.

Although this is not an open source program, with RectLabel you can label oriented bounding boxes using polygons and rotated boxes.
https://rectlabel.com/help#xml_to_dota


Test executed on mobile agents missing connectivity information in JSON

Hi,
The connectivity value in the webpagetest test result (JSON) is not present on a test exectued on mobile agent. Is this something that is encountered by any one?
Mobile Agent :
"data": {

            "location": "Example_Nexus4:Nexus4 - Chrome",
            "from": "Nexus 4 - Nexus4 - Chrome",
            "completed": "Wed, 21 Oct 2015 00:01:05 +0000",
            "tester": "007886d5600d492f-<IP_ADDRESS>",
            "runs": 1,

Desktop Agent:
           "location": "WebPage2:Firefox",
            "from": "WebPage2 - Firefox - 3G",
            "connectivity": "3G",
            "bwDown": 1600,
            "bwUp": 768,
            "latency": 300,
            "plr": 0,
            "completed": "Mon, 19 Oct 2015 23:04:13 +0000",

Notice the presence of connectivity object in Desktop version.  Am I missing anything? My mobile tests run fine but I need the connectivity value to report the tests using sitespeed.io.

this probably needs to be moved to the main webpagetest repo: https://github.com/WPO-Foundation/webpagetest the api just passes through the response. (Currently using --mobile sets the connectivity to 'Cable' for me regardless of setting - I'm using the latest AMI on EC2)

Hi @abhagupta @bigethan - do you know if there's an issue on the main https://github.com/WPO-Foundation/webpagetest project that tracks this?  Thanks!

Update from me (though this isn't the right place):  The 'cable' issue I ran into had to do with location being tied to connectivity.  I was doing something like:  webpagetest --mobile --conectivity 3GFast test http://www.google.com  but that gives the default location, and location determines connectivity.  Changing to something like  --mobile --location us-east-1:Chrome --connectivity 3GFast fixed my issue.

cc @adriangoe


Fix: performance improvement on golden test comparison

During golden test image comparison 2 lists of a different type are compared with the method "identical", so this will never be true. The test image is a _Uint8ArrayView while the master image is an Uint8List. So that results in always a heavy computation to get the difference between the test and the master image.
When you run this test snippet I go from 51 seconds to 14 seconds:
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  for (int i = 0; i < 100; i++) {
    testWidgets('Small test', (WidgetTester tester) async {
      await tester.pumpWidget(Directionality(textDirection: TextDirection.ltr, child: Text('jo')));
      await expectLater(find.byType(Text), matchesGoldenFile('main.png'));
    });
  }
}

Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[ ] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] All existing and new tests are passing.

Oh, not yet, I'll check there @Piinks !


[SPARK-28844] [SQL] Fix typo in SQLConf FILE_COMRESSION_FACTOR

What changes were proposed in this pull request?
Corrected Configuration parameter from FILE_COMRESSION_FACTOR to FILE_COMPRESSION_FACTOR
Why are the changes needed?
Spelling mistake of Configuration Parameter FILE_COMRESSION_FACTOR
Does this PR introduce any user-facing change?
No
How was this patch tested?
Existing UT and manual verification

Can one of the admins verify this patch?

Already PR exist


Create self contained VM with  disk image in bundle rather than Container

On macOS I would prefer the VM descriptor files and disk in a bundle in the regular file system instead of a container. I am not using the App Store. This is how VMware and Parallels work.

I'd second this; As I have just the 256GB m1 model, I run all my VMs off of a USB4 drive.

I also run my VM's off an external SSD. I would love if we could specify where to save the virtual disk at.  ATM I am waiting for this to be implemented before I can switch to UTM, which I am eagerly waiting to do.

Should be addressed in #1205


Samples LiveDNSPacketLiveSource* are not executable

The samples from the project SampleDNSPacketLiveSource cannot be executed. The scripts are not up-to-date and fail when executed.

works with 3.0.1


Update README_MACOS.md

changed to /opt/homebrew/etc/typesense/typesense.ini

Thanks for correcting this in the documentation.


Federate me please

Very cool, despite what the nay-sayers are screeching about. Thanks for your hard work.
https://mast.evulid.cc

Mastodon users when the posts they made publicly visible are visible to the public

Mastodon users when the posts they made publicly visible are visible to the public

Mastodon users when you actually make use of federation and not treat it as alternative twitter

Turns out these kinds of people enjoy moaning about publicly accessible data being publicly accessible:
https://github.com/matrix-org/matrix-viewer/issues/47

Turns out these kinds of people enjoy moaning about publicly accessible data being publicly accessible

Reminds me of discool/dsccool/tracr drama where people were scared shitless of a discord crawler archiving their posts in public discord servers, claiming violation of privacy.
Matrix/Mastodon posts are even more openly available than discord, funnily enough.

Thanks.


triton-llvm-19.1.0 build failure on x86_64-linux as of 3b01f602

Issue description
Build of triton-llvm-19.1.0 failed on x86_64-linux as of 3b01f60293541dfce52a489fe100a323302f639d. This is currently breaking python3Packages.torchvision.
error: builder for '/nix/store/40cl85gc0qvrby080zn1wcwi86hgqm9s-triton-llvm-19.1.0-rc1.drv' failed with exit code 1;
       last 10 log lines:
       >
       > Total Discovered Tests: 62430
       >   Skipped          :   336 (0.54%)
       >   Unsupported      : 23841 (38.19%)
       >   Passed           : 38183 (61.16%)
       >   Expectedly Failed:    68 (0.11%)
       >   Failed           :     2 (0.00%)
       > FAILED: CMakeFiles/check-all /build/source/llvm/build/CMakeFiles/check-all
       > cd /build/source/llvm/build && /nix/store/c1r53bm7qq1nkn9s263yv4z1f8x2zr1w-python3-3.12.8-env/bin/python3.12 /build/source/llvm/build/./bin/llvm-lit -sv /build/source/llvm/build/utils/mlgo-utils /build/source/llvm/build/tools/mlir/test /build/source/llvm/build/utils/lit /build/source/llvm/build/test
       > ninja: build stopped: subcommand failed.
       For full logs, run 'nix log /nix/store/40cl85gc0qvrby080zn1wcwi86hgqm9s-triton-llvm-19.1.0-rc1.drv'.
error: 1 dependencies of derivation '/nix/store/k35cjnlcvcmdb1vk32zn0ybbcc4nsnqz-python3.12-triton-3.1.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/kxv0qkdkvx36g3mqmjzbjxm4m1djklcm-python3.12-torch-2.5.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/a63lxi3m57hnhxr996prh43kjwg89bv1-python3.12-torchvision-0.20.1.drv' failed to build

full build log
python3Packages.torchvision maintainers cc: @ericsagnes
triton-llvm-19.1.0 maintainers cc:
Other cc: n/a
Steps to reproduce

Checkout nixpkgs at commit 3b01f60293541dfce52a489fe100a323302f639d
Run nix-build -A triton-llvm-19.1.0

Technical details
 - system: `"x86_64-linux"`
 - host os: `Linux 6.5.0-1025-azure, Ubuntu, 22.04.5 LTS (Jammy Jellyfish), nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.16.1`
 - nixpkgs: `/nix/store/r413rmscl2r9p8jb5d844ldy883ikvqz-source`

Contents of ~/.config/nixpkgs/config.nix:
{ allowUnfree = true; cudaSupport = true; cudaCapabilities = ["8.0"]; }

Misc.
This issue was automatically generated by nixpkgs-upkeep.

CI workflow that created this issue.
Internal tags: -1759560083658511306<PHONE_NUMBER>411700635

Looks like this is the same as #363965 ?

this is due to the update of gcc from gcc-13 -> gcc-14 I believe.

This is also breaking open-webui since it depends on the Python ecosystem.


Introduce NUIFlutterView class

Contributes to #351.
This is a flutter view class available in NUI UIFW.
var flutterView = new NUIFlutterView()
{
    Size2D = new Size2D(width, height),
    Position2D = new Position2D(x, y),
);
if (flutterView.RunEngine())
{
    GeneratedPluginRegistrant.RegisterPlugins(flutterView);
    ParentView.Add(flutterView);
}
...

if (flutterView.IsRunning)
{
    flutterView.Destroy();
}

This PR is based on #416.
And
I will reopen as soon as engine PR is ready.

For this PR, do we need to update tizen version to 6.0 or higher on tizen_tools?
(here is the known problem with this.)
This is an important thing and I think we should discuss it in advance before you open the PR.

For this PR, do we need to update tizen version to 6.0 or higher on tizen_tools? (here is the known problem with this.) This is an important thing and I think we should discuss it in advance before you open the PR.

This is absolutely necessary as Tizen NUI is supported on version 6.5 or higher.

@swift-kim PR is ready for review. Please review this.
+)
This class is written based on ElmFlutterView. After this PR is merged, I want to make an abstraction (maybe FlutterView?) with
ElmFlutterView class.

@swift-kim  I need to consider the case when the size is not set. When the patch is ready, I will request a review again.

@swift-kim I need to consider the case when the size is not set. When the patch is ready, I will request a review again.
JSUYA#1

If the user sets the size before call RunEngine()
-> Follows the size set in the view. (Size2D)

If the user sets the size after call RunEngine()
2.1. If there is parent
-> Sets the size set in the parent view as the initial value of FlutterView.
(GetParent().Size2D)
2.2. If there is no parent
-> Sets the size set in the window as the initial value of FlutterView.
(NUIApplication.GetDefaultWindow().Size)
-> Finally, when Relayout is called, it follows the determined size.
(call FlutterDesktopViewResize())

When the RunEngine() is called, if the size of the FlutterView is not determined, the Size(parent,window) that can be estimated is calculated and set.
This can be improved when features such as EngineCache are added in the future.

This is NUIFlutterView Sample
https://github.com/JSUYA/NUI_FLUTTER_SAMPLE
Window window = NUIApplication.GetDefaultWindow();
View rootView = new View()
{
    WidthSpecification = LayoutParamPolicies.MatchParent,
    HeightSpecification = LayoutParamPolicies.MatchParent,
    Layout = new LinearLayout() { LinearOrientation = LinearLayout.Orientation.Vertical }
};

NUIFlutterView flutterView = new NUIFlutterView()
{
    //Relative Layout
    WidthSpecification = LayoutParamPolicies.MatchParent,
    HeightSpecification = LayoutParamPolicies.MatchParent,

    // or Size2D = new Size2D(300, 200)
};
if (flutterView.RunEngine())
{
    GeneratedPluginRegistrant.RegisterPlugins(flutterView.Engine);
    rootView.Add(flutterView);
}

I referred to https://github.com/flutter-tizen/flutter-tizen/pull/418#issuecomment-1228058800 but
View rootView = new View()
{
    WidthSpecification = LayoutParamPolicies.MatchParent,
    HeightSpecification = LayoutParamPolicies.MatchParent,
    Layout = new LinearLayout() { LinearOrientation = LinearLayout.Orientation.Vertical }
};
Window.Instance.Add(rootView);

var flutterView = new NUIFlutterView()
{
    WidthSpecification = LayoutParamPolicies.MatchParent,
    HeightSpecification = LayoutParamPolicies.MatchParent,
};
if (flutterView.RunEngine())
{
    GeneratedPluginRegistrant.RegisterPlugins(flutterView.Engine);
    rootView.Add(flutterView);
}

shows nothing on the screen. Am I doing something wrong? (window is unused in your example.)

I referred to #418 (comment) but
View rootView = new View()
{
    WidthSpecification = LayoutParamPolicies.MatchParent,
    HeightSpecification = LayoutParamPolicies.MatchParent,
    Layout = new LinearLayout() { LinearOrientation = LinearLayout.Orientation.Vertical }
};
Window.Instance.Add(rootView);

var flutterView = new NUIFlutterView()
{
    WidthSpecification = LayoutParamPolicies.MatchParent,
    HeightSpecification = LayoutParamPolicies.MatchParent,
};
if (flutterView.RunEngine())
{
    GeneratedPluginRegistrant.RegisterPlugins(flutterView.Engine);
    rootView.Add(flutterView);
}

shows nothing on the screen. Am I doing something wrong? (window is unused in your example.)

As far as I know that when I call SetImage(), the ImageView's Size2D is set to the target's Size.
However, this size is set when Relayout() is called.
I modified it to set Size after SetImage. Thank you for your check.

As far as I know that when I call SetImage(), the ImageView's Size2D is set to the target's Size.
However, this size is set when Relayout() is called.
I modified it to set Size after SetImage. Thank you for your check.

After applying this commit there was a problem when placing the flutterview in a relative layout.
I will request a review again after further check.

The following examples generate different results as described below although they are technically equivalent.
ElmSharp:
Window window = new Window("ElmSharpApp");
window.BackButtonPressed += (s, e) =>
{
    Exit();
};
window.Show();

NUI:
Window.Instance.KeyEvent += (s, e) =>
{
    if (e.Key.State == Key.StateType.Down && (e.Key.KeyPressedName == "XF86Back" || e.Key.KeyPressedName == "Escape"))
    {
        Exit();
    }
};

In ElmSharp's case, the app is always closed when I press the back button. In NUI's case, the app is closed only when the Flutter view doesn't have a focus. How do you think of this? What would be the correct results for both?

In ElmSharp's case, the app is always closed when I press the back button. In NUI's case, the app is closed only when the Flutter view doesn't have a focus. How do you think of this? What would be the correct results for both?

nice catch. NUI is no longer propagated when the View consumes the TouchEvent even if the Window has a TouchEvent.
If View's TouchEvent returns false, the TouchEvent is propagated to the event callback of the View's parent.
I think there is something wrong with the Window TouchEvent in the NUI.  I don't know it can be solve in this PR
test code
ImageView image = new ImageView();
image.Size = new Size(300, 200);
image.SetImage("image path");
rootView.Add(image);

image.Focusable = true;
image.KeyEvent += (object s, View.KeyEventArgs e) =>
{
        return true;
};

image.TouchEvent += (object s, View.TouchEventArgs e) =>
{
         FocusManager.Instance.SetCurrentFocusView(image);
         return true;
};

Window.Instance.KeyEvent += (s, e) =>
{
    if (e.Key.State == Key.StateType.Down && (e.Key.KeyPressedName == "XF86Back" || e.Key.KeyPressedName == "Escape"))
     {
           Exit();
     }
};

Regarding the key event issue, I think we need to consider adding support for synchronous keyboard events again. See flutter-tizen/engine#221 and relevant embedder implementations for other platforms (keywords: "delayed event synthesis", "redispatch event"). The work will be later done in a separate PR.

I opened new issue page for this.(https://github.com/flutter-tizen/engine/issues/331). I will check it.

Please merge flutter-tizen/engine#328 and update the engine hash when you're ready. Good job!

I added hash update commit.
Thank you for your review.


How can I use with .NET Core 3.1 WPF ?

Is there a chance to totally init on a .NET Standard 2.1 Class Library and call from other projects?
I am using MVVM and tried this on OnStartup and on MainViewModel but didn't work for me. What am I missing?
TelemetryConfiguration configuration = TelemetryConfiguration.CreateDefault();
configuration.InstrumentationKey = " *your key* ";
var telemetryClient = new TelemetryClient(configuration);
telemetryClient.TrackTrace("Hello World!");

@fatihyildizhan https://docs.microsoft.com/en-us/azure/azure-monitor/app/worker-service#net-corenet-framework-console-application Follow this doc if you want everything setup easily with a one liner. The doc is targetting console/non-http apps, but can be used in WPF as well if desired.


Added Rust templates linting

Changes

Added Rust templates linting to assure needed code style quality

/kind enhancement

Release Note

Added Rust templates linting into CI workflow

Docs

/approve
/lgtm

/retry

@matejvasek - is it above workflow/actions somehow stuck with "Expected — Waiting for status to be reported" ?


Country Profile > Previous Events: Add Key Figures (stats) section

Task description
Currently the Key Figures section in Previous Events page is missing. Please look into this and add it.
Link to replicate
https://www.figma.com/file/H9mZfGeXtlzK6HPzttYoci/IFRC-GO---Wires-Current---1?type=design&node-id=82-28111&mode=design&t=V6ddXR1jthCGM0Rr-4
Screenshot (UI design)

@k9845 let's add more info in the /api/v2/appeal/aggregated/
Current response
{
    "active_drefs": 0,
    "active_appeals": 0,
    "total_appeals": 12,
    "target_population": null,
    "amount_requested": null,
    "amount_requested_dref_included": null,
    "amount_funded": null
}

Expected response
{
    "active_drefs": 0,
    "active_appeals": 0,
    "total_appeals": 12,
    "target_population": null,
    "amount_requested": null,
    "amount_requested_dref_included": null,
    "amount_funded": null,

    "total_drefs": 20,
    "total_target_population": 400000,
    "total_amount_requested":<PHONE_NUMBER>,
    "total_amount_funded": 782123000,
}

@k9845 Change of plans:
Lets create a new end-point to get those numbers

Please update the values as described in #918.


bug: plugin:@typescript-eslint/recommended rules aren't applied to TypeScript inside *.svelte files

Before You File a Bug Report Please Confirm You Have Done The Following...

[X] I have tried restarting my IDE and the issue persists.
[X] I have updated to the latest version of the packages.

What version of ESLint are you using?
8.53.0
What version of eslint-plugin-svelte are you using?
2.35.0
What did you do?

Configuration
Significant part of npm ls:
+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>
config.eslintrc.cjs:
module.exports = {
    extends: [
        'eslint:recommended',
        'plugin:@typescript-eslint/recommended',
        'plugin:svelte/recommended',
    ],
    plugins: [
        '@typescript-eslint',
    ],
    parser: '@typescript-eslint/parser',
    parserOptions: {
        ecmaVersion: 'latest',
        sourceType: 'module',
        project: [
            'config/tsconfig.main.json',
        ],
        extraFileExtensions: ['.svelte'],
    },
    overrides: [
        {
            files: [
                '*.svelte',
            ],
            parser: 'svelte-eslint-parser',
            // Parse the `<script>` in `.svelte` as TypeScript by adding the following configuration.
            parserOptions: {
                parser: '@typescript-eslint/parser',
            },
        },
    ],
    rules: {
        //'prefer-const': 'error',
    },
};

config\tsconfig.main.json:
{
    "extends"<EMAIL_ADDRESS>    "compilerOptions": {
        "target": "ESNext",
        "useDefineForClassFields": true,
        "module": "ESNext",
        "resolveJsonModule": true,
        "allowJs": true,
        "checkJs": true,
        "isolatedModules": true,
    },
    "include": [
        "../src/**/*.d.ts",
        "../src/**/*.ts",
        "../src/**/*.js",
        "../src/**/*.svelte",
    ],
}

test.ts:
let a1 = 1;
var b1 = 2;
const key1 = "a";
const obj1 = {};
if (!key1 in obj1) {
}

Test.svelte:
<script lang="ts">
let a2 = 1;
var b2 = 2;
const key2 = "a";
const obj2 = {};
if (!key2 in obj2) {
}
</script>

I run eslint on these files.
What did you expect to happen?
See following errors.
For test.ts:
error  'a1' is never reassigned. Use 'const' instead  prefer-const
error  Unexpected var, use let or const instead       no-var

For 'Test.svelte':
error  'a2' is never reassigned. Use 'const' instead  prefer-const
error  Unexpected var, use let or const instead       no-var

I expect to see same errors for TypeScript code in both files.
What actually happened?
See following errors.
For test.ts:
error  'a1' is never reassigned. Use 'const' instead  prefer-const
error  Unexpected var, use let or const instead       no-var

For 'Test.svelte':
error  Unexpected negating the left operand of 'in' operator  no-unsafe-negation

Link to GitHub Repo with Minimal Reproducible Example
https://github.com/uh-zuh/eslint-plugin-svelte_bug_reproduction_typescript
Additional comments
Reproducton
In reproduction repository:
Run npm run lint:with_bug to see bug.
Run npm run lint:with_hotfix to see desired behavior.
Description of the bug
In ESLint config:
extends: [
    ...,
    'plugin:@typescript-eslint/recommended',
]

plugin:@typescript-eslint/recommended is this:
https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/recommended.ts
and it includes this:
https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/eslint-recommended.ts
which turns on and off some rules, for example this:
        'no-unsafe-negation': 'off',
        'no-var': 'error',
        'prefer-const': 'error',

It works well for TypeScript in *.ts files but it doesn't work for TypeScript in *.svelte files.
As workaround I found a way to copy content of eslint-recommended.ts to my config but is ugly.
In the reproduction repository I have copied this 3 rules to my ESLint config to demonstrate that eslint-plugin-svelte ignores TypeScript rules which are used for all other TypeScript code in *.ts files.

eslint-recommended.ts is defined as files: ['*.ts', '*.tsx', '*.mts', '*.cts'], so the *.svelte file is not included.
https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/eslint-recommended.ts
I think you need to import typescript-eslint and define the rules yourself.
const config = require('@typescrit-eslint/eslint-plugin').config["eslint-recommended"]

module.exports = {
     /* ... */
     overrides: [
         {
             files: ['*.svelte'],
             rules: config.overrides[0].rules
         }
     ]
}

Thanks.
Could you add this to README in scetion about TypeScript?

@ota-meshi, should I create new issue for updating README?

I think this is not Svelte's ESLint plugin issue but general ESLint question.
But PRs are welcome!
Maybe we can mention about this as tips.


64x32 1/16 panel not displaying on lines 9-16 and 25-32 - Wrapped back

Hi I have a 64x32 1/16 scan panel and it is displaying line 9 at line 1, 10 at 2, etc  Similar for bottom half of the display.  See video
It relates to the D pin as disconnecting this cable makes no difference to the display.
I have:

Replaced the cable that connects the D pin
Double-checked the software pin assignment matches the physical pin

Excerpt from the sketch:
//Pinout
#define R1_PIN  (25)
#define G1_PIN  (26)
#define B1_PIN  (27)
#define R2_PIN  (12)
#define G2_PIN  (13)
#define B2_PIN  (14)
#define CLK_PIN (19)
#define LAT_PIN (32)
#define OE_PIN  (33)
#define A_PIN   (16)
#define B_PIN   (15)
#define C_PIN   (17)
#define D_PIN   (18)
#define E_PIN   (-1)

  HUB75_I2S_CFG::i2s_pins _pins={R1_PIN,
                                 G1_PIN,
                                 B1_PIN,
                                 R2_PIN,
                                 G2_PIN,
                                 B2_PIN,
                                 A_PIN,
                                 B_PIN,
                                 C_PIN,
                                 D_PIN,
                                 E_PIN,
                                 LAT_PIN,
                                 OE_PIN,
                                 CLK_PIN
                                 };

  // Module configuration
  HUB75_I2S_CFG mxconfig(
    PANEL_RES_X,   // module width
    PANEL_RES_Y,   // module height
    PANEL_CHAIN,   // Chain length
    _pins          // Custom pins
  );

What am I missing?

If this is single panel - perhaps it have D-pin damaged/disconnected in PCB.
Other option that you have 1/8scan panel rather than 1/16. What are the markings on the back of the panel?

The only real markings on the back of the panel are P4-256x128-2121-A5, not sure where the 256x128 comes from as the panel is definitely 64x32 LEDs.
I have had this panel running using the NeoCat library, but was getting flicker on update.  I will go back to using that library just to test that the wiring and panel are not broken.  If it works using that library then I will let you know.

It's 16s because there are 24 chips.

Confirm that panel and wiring are OK - This is the output when using the NeoCat library.
Any further suggestions?

OK, Solved - my mistake when mixing the examples.  Altough I had set the pins as shown in my code excerpts above, slightly further down in the code was this line:
mxconfig.gpio.e = 18;

Which overrides the earlier declaration in _pins where the E_PIN was set to -1.  For completeness my code is as follows:
#include <Arduino.h>

//Pinout
#define R1_PIN  (25)
#define G1_PIN  (26)
#define B1_PIN  (27)
#define R2_PIN  (12)
#define G2_PIN  (13)
#define B2_PIN  (14)
#define CLK_PIN (19)
#define LAT_PIN (32)
#define OE_PIN  (33)
#define A_PIN   (16)
#define B_PIN   (15)
#define C_PIN   (17)
#define D_PIN   (18)
#define E_PIN   (-1)

#include <ESP32-HUB75-MatrixPanel-I2S-DMA.h>

#define PANEL_RES_X 64      // Number of pixels wide of each INDIVIDUAL panel module.
#define PANEL_RES_Y 32     // Number of pixels tall of each INDIVIDUAL panel module.
#define PANEL_CHAIN 1      // Total number of panels chained one to another

//MatrixPanel_I2S_DMA dma_display;
MatrixPanel_I2S_DMA *dma_display = nullptr;

uint16_t myBLACK = dma_display->color565(0, 0, 0);
uint16_t myWHITE = dma_display->color565(255, 255, 255);
uint16_t myRED = dma_display->color565(255, 0, 0);
uint16_t myGREEN = dma_display->color565(0, 255, 0);
uint16_t myBLUE = dma_display->color565(0, 0, 255);

// Input a value 0 to 255 to get a color value.
// The colours are a transition r - g - b - back to r.
// From: https://gist.github.com/davidegironi/3144efdc6d67e5df55438cc3cba613c8
uint16_t colorWheel(uint8_t pos) {
  if(pos < 85) {
    return dma_display->color565(pos * 3, 255 - pos * 3, 0);
  } else if(pos < 170) {
    pos -= 85;
    return dma_display->color565(255 - pos * 3, 0, pos * 3);
  } else {
    pos -= 170;
    return dma_display->color565(0, pos * 3, 255 - pos * 3);
  }
}

void drawText(int colorWheelOffset)
{

  // draw text with a rotating colour
  dma_display->setTextSize(1);     // size 1 == 8 pixels high
  dma_display->setTextWrap(false); // Don't wrap at end of line - will do ourselves

  dma_display->setCursor(5, 0);    // start at top left, with 8 pixel of spacing
  uint8_t w = 0;
  const char *str = "ESP32 DMA";
  for (w=0; w<strlen(str); w++) {
    dma_display->setTextColor(colorWheel((w*32)+colorWheelOffset));
    dma_display->print(str[w]);
  }

  dma_display->println();
  //dma_display->setCursor(0, 9);
  dma_display->print(" ");
  for (w=9; w<18; w++) {
    dma_display->setTextColor(colorWheel((w*32)+colorWheelOffset));
    dma_display->print("*");
  }

  dma_display->println();

  dma_display->setTextColor(dma_display->color444(15,15,15));
  dma_display->println("LED MATRIX!");

  // print each letter with a fixed rainbow color
  dma_display->setTextColor(dma_display->color444(0,8,15));
  dma_display->print('3');
  dma_display->setTextColor(dma_display->color444(15,4,0));
  dma_display->print('2');
  dma_display->setTextColor(dma_display->color444(15,15,0));
  dma_display->print('x');
  dma_display->setTextColor(dma_display->color444(8,15,0));
  dma_display->print('6');
  dma_display->setTextColor(dma_display->color444(8,0,15));
  dma_display->print('4');

  // Jump a half character
  dma_display->setCursor(34, 24);
  dma_display->setTextColor(dma_display->color444(0,15,15));
  dma_display->print("*");
  dma_display->setTextColor(dma_display->color444(15,0,0));
  dma_display->print('R');
  dma_display->setTextColor(dma_display->color444(0,15,0));
  dma_display->print('G');
  dma_display->setTextColor(dma_display->color444(0,0,15));
  dma_display->print("B");
  dma_display->setTextColor(dma_display->color444(15,0,8));
  dma_display->println("*");

}

void setup() {

  HUB75_I2S_CFG::i2s_pins _pins={R1_PIN,
                                 G1_PIN,
                                 B1_PIN,
                                 R2_PIN,
                                 G2_PIN,
                                 B2_PIN,
                                 A_PIN,
                                 B_PIN,
                                 C_PIN,
                                 D_PIN,
                                 E_PIN,
                                 LAT_PIN,
                                 OE_PIN,
                                 CLK_PIN
                                 };

  // Module configuration
  HUB75_I2S_CFG mxconfig(
    PANEL_RES_X,   // module width
    PANEL_RES_Y,   // module height
    PANEL_CHAIN,   // Chain length
    _pins          // Custom pins
  );

/* This line was the cause of the problem - Overriding the declaration in _pins */
//  mxconfig.gpio.e = 18;
  mxconfig.clkphase = false;
  mxconfig.driver = HUB75_I2S_CFG::FM6126A;

  // Display Setup
  dma_display = new MatrixPanel_I2S_DMA(mxconfig);
  dma_display->begin();
  dma_display->setBrightness8(90); //0-255
  dma_display->clearScreen();
//  dma_display->fillScreen(myWHITE);

  /*
  // fix the screen with green
  dma_display->fillRect(0, 0, dma_display->width(), dma_display->height(), dma_display->color444(0, 15, 0));
  delay(500);

  // draw a box in yellow
  dma_display->drawRect(0, 0, dma_display->width(), dma_display->height(), dma_display->color444(15, 15, 0));
  delay(500);

  // draw an 'X' in red
  dma_display->drawLine(0, 0, dma_display->width()-1, dma_display->height()-1, dma_display->color444(15, 0, 0));
  dma_display->drawLine(dma_display->width()-1, 0, 0, dma_display->height()-1, dma_display->color444(15, 0, 0));
  delay(500);

  // draw a blue circle
  dma_display->drawCircle(10, 10, 10, dma_display->color444(0, 0, 15));
  delay(500);
  // fill a violet circle
  dma_display->fillCircle(40, 21, 10, dma_display->color444(15, 0, 15));
  delay(5000);
*/

  // fill the screen with 'black'
  dma_display->fillScreen(dma_display->color444(0, 0, 0));

  //drawText(0);

}

uint8_t wheelval = 0;
void loop() {

    // animate by going through the colour wheel for the first two lines
    drawText(wheelval);
    wheelval +=1;

    delay(20);
/*
  drawText(0);
  delay(2000);
  dma_display->clearScreen();
  dma_display->fillScreen(myBLACK);
  delay(2000);
  dma_display->fillScreen(myBLUE);
  delay(2000);
  dma_display->fillScreen(myRED);
  delay(2000);
  dma_display->fillScreen(myGREEN);
  delay(2000);
  dma_display->fillScreen(myWHITE);
  dma_display->clearScreen();
  */
}


Chart data type is incorrect in 4.1.2

Expected behavior
The types for the Chart object has data: ChartData, but it should be data: ChartData<TType, TData, TLabel>; instead to have the dataset typed properly within the data. Otherwise it's the default types from DefaultDataPoint<TType>
export declare class Chart<
  TType extends ChartType = ChartType,
  TData = DefaultDataPoint<TType>,
  TLabel = unknown
> {
 // ...
  data: ChartData<TType, TData, TLabel>;
 // ...

Current behavior
export declare class Chart<
  TType extends ChartType = ChartType,
  TData = DefaultDataPoint<TType>,
  TLabel = unknown
> {
 // ...
  data: ChartData;
 // ...

Reproducible sample
https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbzgYQBYENZwL5wGZQQhwDkAxhrAHQBWAziQNwCwAUGzAJ5gCmK6MHgHNonAGroANgFc+AXkRs4cMgOGiAXHDowowAHZCWrZQDcpsrfukgARjyjHlZCJOgB+LTr2Hj2NhzcfGiYMAAqQXAKIbAAPABEkgY88QA0-IIiUOIWPADaALoAfAGsAPRlcAByEDDAZHxhqHwAIgLoEbxwACYQPHT6JPAYpnwwzXBcvHRwYISmwN083fiExDHhQYFdbTAdkdGUm7x5JN3tJAWMQA
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
4.1.2
Browser name and version
No response
Link to your project
No response

Happend in https://github.com/chartjs/Chart.js/pull/10963

@tleunen Hi. It's not a bug, it is expected behavior. You should be able to change data in runtime. Please see the PR description that @LeeLenaleee mentioned.

To be honest I think that this behaviour is more unwanted as the binding of the chart instance 🤔

Also another issue got posted about this (see above linked issue), in my oppinion it would be better to revert the changes and see if we can solve it another way because this way of working seems way more likely to me as having a runtime change and the downside of dealing with that

I've returned to version 4.0.1 until a solution has been decided.

@etimberg @kurkle what are your oppinions about this?

@etimberg I've made the PR


Fullscreen potrait mode

Describe your suggested feature
You can watch anime in landscape fullscreen i want watch anime with with my phone straight so can u please add potrait fullscreen in video player
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I will fill out all of the requested information in this form.

Added in mpv version wait for an update

This has been fixed/added in the preview
https://github.com/aniyomiorg/aniyomi-preview
Steps to shift to this build:-

Create a backup from "Backup and Restore"
Download the preview apk and install it
Restore the backup you created before in the same tab "Backup and Restore"


doContractCall onFinish called multiple times

Using connect-react, click on a button that calls doContractCall, just close the extension window without doing anything, repeat 4 times, then the 5th time, click confirm.
The onFinish callback will be called 5 times, with the same values each time.
It should only be called once.

yes, which is really surprising if this was known.  Why wasn't this prioritized to be fixed asap?

yes, which is really surprising if this was known. Why wasn't this prioritized to be fixed asap?

Client side apps can fix it in the interim by wrapping the on finish callback in a useCallback hook @psq

I would add as well that we really appreciate you vocalizing support for issues like this one @psq since it helps us prioritize where developers are encountering the most pain or annoyance.
I'm going to close out this issue so we can continue working on and discussing the fix on the other one linked above.


Feature add network activity indicator

Closes #221
I kept the startDelay at the default 1 second. Most of the requests are
so fast the indicator doesn’t show, but it shows when it counts, i.e.
requests that last longer than a second.

It only covers Alamofire. From what I can tell, that includes everything except loading content in the IssuesViewController feed, which already includes a large activity indicator.

I'll merge this for now. There will def be more GraphQL requests as time goes on, but I think this is a good start!


Is Live Event a requirement too?

[Enter feedback here]
Following this article my users don't have access to creating webinars, but I do.  The only difference is that I'm also allowed to create a Live event.  Is Live event a requirement and if so this document needs to reflect that.  If not the article needs to reflect what else is needed to get it working for the average user.  Thank you

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

ID: 2b2fe730-a95d-d12d-adb8-49d1397c77c7
Version Independent ID: 1f6077c3-6114-cb5e-8b1a-7587188f2cdf
Content: Set up for webinars in Microsoft Teams - Microsoft Teams
Content Source: Teams/set-up-webinars.md
Service: msteams
GitHub Login: @KarliStites
Microsoft Alias: kastites

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Wrong version downloading?

I've followed the manuals at http://docs.solder.io/ to set up my server and create my first modpack to test. After adding the mods to the modpack, and setting the build to "recommended" and "latest" I've added the modpack to the platform and copied the installation URL to my launcher.
http://www.technicpack.net/modpack/mdtest.634839
http://masterductions.com/TechnicSolder/public/api/modpack/mdtest/1
When trying to install the modpack, it gives the following error:
"Attempting to extract file mdtest-1.0.zip, but it did not exist."
I've not added any mod named mdtest with version 1.0 to my modpack, and it doesn't show up either.
The launcher logs show the following:
[B#283] net.technicpack.rest.RestfulAPIException: Error accessing URL [http://masterductions.com/TechnicSolder/public/api/modpack/]
[B#283] 	at net.technicpack.rest.RestObject.getRestObject(RestObject.java:157)
[B#283] 	at net.technicpack.solder.http.HttpSolderApi.getMirrorUrl(HttpSolderApi.java:59)
[B#283] 	at net.technicpack.solder.cache.CachedSolderApi.getMirrorUrl(CachedSolderApi.java:134)
[B#283] 	at net.technicpack.platform.PlatformPackInfoRepository.getInfoFromPlatformInfo(PlatformPackInfoRepository.java:72)
[B#283] 	at net.technicpack.platform.PlatformPackInfoRepository.getPlatformPackInfo(PlatformPackInfoRepository.java:60)
[B#283] 	at net.technicpack.platform.PlatformPackInfoRepository.getPackInfo(PlatformPackInfoRepository.java:46)
[B#283] 	at net.technicpack.launchercore.modpacks.PackLoadJob$5.run(PackLoadJob.java:180)
[B#283] 	at java.lang.Thread.run(Unknown Source)
[B#283] Caused by: java.io.FileNotFoundException: http://masterductions.com/api/modpack
[B#283] 	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
[B#283] 	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
[B#283] 	at net.technicpack.rest.RestObject.getRestObject(RestObject.java:137)
[B#283] 	... 7 more
Can anyone tell me what I'm doing wrong?
Thanks ahead,
MG
PS: Yes, I know the parent directory is accessable, but it's a test/dev environment.

What is your exact api url?
If you just point a browser at the api url you get a string of data.
With yours I've tried;
http://masterductions.com/api/modpack
http://masterductions.com/api/
http://masterductions.com/TechnicSolder/public/api/ which redirects to http://masterductions.com/api
All are invalid (404's) - so your Solder install is faulty

So that would be this one?
http://masterductions.com/TechnicSolder/public/api/modpack/mdtest/1
Nowhere in my configurations (both on my PC and on the platform) can I find a link to masterductions.com/api
The installation is done in masterductions.com/TechnicSolder/public/

This isn't a bug. Read through the documentation and install Solder correctly.

Make a subdomain that points to your public folder.


How to specify the "mimetype" of the image response？

I stored the uploaded file without extension, the file hash as the name.

This is set using the format (fm) value. Docs here.
You don't actually set the mime type, but instead you set one of the accepted formats. This includes jpg, pjpg (progressive jpeg), png and gif. The default is jpg.
Glide takes care of setting the proper mime type in the response based on this value.


[Feature Request] Regularize and improve error messaging

Is your feature request related to a problem? Please describe
When working with OpenSearch, and facing an issue, I often find the error messages to be insufficient to help me diagnose and correct the issue. This leads to hours of frustrating Googling, that does not always succeed. I have seen complete error mesages with text of "Bad Request" and "Syntax Error".
I especially run into these kinds of situations when trying new code for the first time. This adds a ton of friction for me to use exciting new features in OpenSearch, slowing my adoption of these features.
Describe the solution you'd like
I'd like to see OpenSearch adopt a standard error messaging framework, written as a code module (in each of the repos?) and with a standardized API that requires:

Which plugin or core module is throwing the error
What was the code doing (a description of the intent of that class/method) when the error occurred
What was the error condition, and if possible what caused the error condition
[optional] Remediation steps, including links to documentation, links to github repo(s), for syntax errors: the offending character. Something like "did you mean".
[optional] list of invalid values (values that broke the API contract)
[optional?] the authenticated entity who initiated the request
[optional?] any required but missing permissions to execute the request (not action groups! the actual permissions)

Related component
Other
Describe alternatives you've considered
No response
Additional context
No response

[Catch All Triage - 1, 2, 3, 4]


New sample: Edit feature attachments

This sample demonstrates how to retrieve attachments for features. Attachments can be downloaded and deleted. The user can upload new attachments for any feature.

@nCastle1 : It would be nice if you can add in the description page that the sample allows download  option only for desktop versions and view option for mobile platforms. (Just a suggestion).
Coming to the  upload any other formats like mp4, text file etc as attachments question, I was able to upload mp4 attachment through mobile devices but when tried to view the attachment, the sample threw an error which is good. Just wanted to know if the sample should even allow to upload a different format attachments at first place or on uploading should it throw an error saying "please upload jpeg, png format attachment".

@nCastle1 : The sample looks good to me with all the new changes.


69 add sparkflex support in code generator

This goes on top of 68, which means that if you merge this before 68, then 68 becomes obsolete

Included in #96


Provide go.mod and go.sum files

This would really help in building from source with recent Go versions without a GOPATH.
go mod init gives a good baseline.

I am planning to, when I last tried I wasn't able to lock down the chain of github.com/docker/docker dependencies correctly (off of master).

Nice. This is what I've been looking into in #86.


After two messages, unhandled exemption

When sending messages, the server is sending a reply, however after the second message from the client the following error occurs. I can confirm I receive a response, but this error occurs. This seems to be locking the library in a state where it can no longer send messages nor receive them. Current implementation is equivalent to example code in this repo for listening on a stream and sending using _socket.sendString()
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: ZeroMQException(156384763): Operation cannot be accomplished in current state
#0      _checkErrorCode (package:dartzmq/src/exception.dart:56:5)
#1      _checkReturnCode (package:dartzmq/src/exception.dart:49:5)
#2      ZContext._poll (package:dartzmq/src/zeromq.dart:109:9)
#3      ZContext._startPolling.<anonymous closure> (package:dartzmq/src/zeromq.dart:68:70)
#4      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398:19)
#5      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429:5)
#6      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:192:26)

I am not quite sure where this error comes from, but I have also experienced it with the example and a python test server. However in a production app using other sockets it just works fine. So how can we find the bug?

Is it possible this library is not appropriately handling replies on a stream and blocking the socket?

I think not, since this library is using a compiled version of libzmq under the hood.

Any more information on this? I set up the python server according to the example docs. It seems to be running with no issues.
But I am also getting the ZeroMQException(156384763): Operation cannot be accomplished in current state error. I'm fairly new to ZeroMQ, so I am unsure what you mean by "in a production app using other sockets" it works just fine.
Have you simply set up the flutter app to point at something other than localhost? Did you have to then change IP address in your python server?
I'm doing this testing on Windows in case it's relevant.

@cvanvlack We are using it for a production app that connects to a backend made with Java, which uses JeroMQ. Maybe the python implementation is not working right. But this could be tested by writing a c++ program connecting to the python server. If the same exception occurs there as well then there is either a bug in libzmq or the python implementation. If not then there must be an issue with dartzmq.

I did some testing and can confirm that a simple c++ test  works fine
#include <atomic>
#include <chrono>
#include <iostream>

#include <signal.h>
#include <zmq.h>

std::atomic_bool shutdown = false;

void signalHandler(const int signal)
{
    std::cout << "Received signal: " << signal << std::endl;
    if (signal == SIGTERM)
    {
        shutdown = true;
    }
}

void loop()
{
    int ret;
    void* ctx = nullptr;

    try
    {
        // Create context
        ctx = zmq_ctx_new();

        // Create socket
        void* socket = zmq_socket(ctx, ZMQ_REQ);

        // Connect socket
        ret = zmq_connect(socket, "tcp://<IP_ADDRESS>:5566");
        if (ret)
        {
            std::cout << "zmq_connect: " << ret << std::endl;
        }

        // Loop
        auto last = std::chrono::system_clock::now();
        while (!shutdown)
        {
            const auto now = std::chrono::system_clock::now();
            if (now - last >= std::chrono::seconds(1))
            {
                last = now;

                // Send test message
                {
                    const char msg[] = "Test";
                    std::cout << "Sending: " << msg << std::endl;
                    zmq_send(socket, msg, 4, 0);
                }

                // Poll reply
                {
                    zmq_pollitem_t pollitem;
                    pollitem.socket = socket;
                    pollitem.events = ZMQ_POLLIN;
                    ret = zmq_poll(&pollitem, 1, ZMQ_DONTWAIT);
                    if (ret)
                    {
                        zmq_msg_t message;
                        ret = zmq_msg_init(&message);
                        if (ret)
                        {
                            std::cout << "zmq_msg_init: " << ret << std::endl;
                        }

                        // Read all messages
                        while ((ret = zmq_msg_recv(&message, socket, ZMQ_DONTWAIT)) >= 0)
                        {
                            const auto data = static_cast<uint8_t*>(zmq_msg_data(&message));
                            // auto size = zmq_msg_size(&message);
                            std::cout << "Received: ";
                            for (size_t i = 0; i < ret; ++i)
                            {
                                std::cout << data[i];
                            }
                            std::cout << std::endl;
                        }
                    }
                }
            }
        }
    }
    catch (const std::exception e)
    {
        std::cout << "Exception: " << e.what() << std::endl;
    }
    catch (...)
    {
        std::cout << "Unknown Exception" << std::endl;
    }

    zmq_ctx_destroy(ctx);

    std::cout << "Done!" << std::endl;

    std::flush(std::cout);
}

int main(const int argc, const char* argv[])
{
    std::cout << "Hello World!" << std::endl;
    signal(SIGTERM, signalHandler);
    loop();
}

Looking a little deeper into this, it seems that the error occurs whenever zmq_send is called while _poll is running. If you wait a second before pressing the button again the exception does not occur.

Alright I think the issue is with the REQ REP sockets, because you cannot send another message on a REQ socket unless you have received the reply from the REP socket already. Otherwise the internal socket state is expecting a reply and sees that another message is being sent, which is forbidden for the synchronous  REQ and REP. Since the _poll function only gets called every second the error is noticeable, because you have 1 second to screw up. So the workaround would be to use the asynchronous versions of REQ and REP aka DEALER and ROUTER. The long time solution is fixing #4, though this issue might still occur when sending more than one message at a time like:
_socket.send([_presses]);
_socket.send([_presses]);


Questions related to evaluation metrics

I am unsure how the evaluation metrics from the code execution correspond to those in the paper:
The evaluation metrics from the code execution are: loss = 1.3760, total_acc = 0.5263, chord_acc = 0.7360, melody_acc = 0.4533, others_acc = 0.7265, step = 4895, time_elapsed = 44.20 secs | redraw: False

However, the paper mentions melody (M), chord (C), lead sheet (M+C), and performance (P). Additionally, there is “Figure 7. The confusion matrices on the 4Q listening tests,” but I don't know how this is calculated.

I am eagerly awaiting your response, as this is very important to me.

Hi!
Thank you for raising this issue. The metrics you mentioned are designed to capture different aspects of our methods' performance and are not directly related to each other.
The evaluation metrics shown in the first figure measure our model's accuracy in predicting different event types during training, such as melody (octave, degree, etc.), chord, and other elements (beat, tempo, etc.), as well as overall accuracy. These metrics are calculated in addition to loss for model selection purposes.
The metrics in the second figure are objective measures proposed in this paper to evaluate key consistency—specifically, the consistency between the input key conditions and the detected key of the generated samples, using the key detection algorithm in Matlab. For more details on the calculation, please refer to Section 4.4.
The confusion matrices in the third figure display participants' emotional perceptions from our listening tests, offering a subjective measure of performance. For example, in matrix "(a) Functional (two)," the first row shows that for music pieces labeled as Q1 generated by Functional (two) method, 48% of participants identified them as Q1, while 52% identified them as Q4. Please refer to Section 4.5.3 for a more detailed discussion of the confusion matrix results.
Best,
Jingyue


Feature request: BRING BLOCKING MODE BACK

It's really exhausting to try to figure out how to recreate blocking mode (and annoying to think is was in before)
I understand if it may be troublesome due to bugs or whatever, but I need it!

@KrakenG7 https://refinedstorage.raoulvdberge.com/wiki/locking-and-unlocking


Use newest web SDK version

Related command

Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Thank you for your contribution! We will review the pull request and get back to you soon.

TODO: the SDK version has not yet been released. Once that takes place, I will update requirements.py3.Darwin.txt, requirements.py3.Linux.txt, requirements.py3.windows.txt and setup.py