Add FTP list timeout

What is the purpose of this change?
Adds 60s timeout for the FTP List command.
Was the change discussed in an issue or in the forum before?
#3086
Checklist

[ x ] I have read the contribution guidelines.
[ x ] I have added tests for all changes in this PR if appropriate.
[ x ] I have added documentation for the changes if appropriate.
[ x ] All commit messages are in house style.
[ x ] I'm done, this Pull Request is ready for review :-)

Apologies for the delay - got behind in merging PRs :-(
I think this code looks very good.  I've made 2 small changes to it

I've made the default timeout controlled by the --timeout flag which is 5 minutes by default
I fixed the complaints of the linter

I've run the integration tests and all looks good so I'll merge this now.


Customer subscribed online does not receive messages only when reconnecting

Describe your issue or feature request
I'm running a verne cluster with 2 nodes, they connect and send messages between them, but when I send, the subscriber I don't receive it immediately only when I reconnect with it.
this is my configuration file:
allow_anonymous = off
allow_register_during_netsplit = off
allow_publish_during_netsplit = off
allow_subscribe_during_netsplit = off
allow_unsubscribe_during_netsplit = off
allow_multiple_sessions = off
coordinate_registrations = on
max_inflight_messages = 20
max_online_messages = 1000
max_offline_messages = 1000
override_max_online_messages = off
max_message_size = 0
upgrade_outgoing_qos = off
listener.max_connection_lifetime = 0
listener.max_connections = 10000
max_ws_frame_size = 268435456
listener.nr_of_acceptors = 10
listener.tcp.default = <IP_ADDRESS>:1884
listener.tcp.name.allow_anonymous_override = off
listener.ssl.name.allow_anonymous_override = off
listener.vmq.clustering = <IP_ADDRESS>:44054
listener.http.default = <IP_ADDRESS>:8888
listener.ssl.pskfile = /etc/vernemq/vmq.psk
systree_enabled = on
systree_interval = 20000
graphite_enabled = off
graphite_host = localhost
graphite_port = 2003
graphite_interval = 20000
shared_subscription_policy = prefer_local
plugins.vmq_passwd = on
plugins.vmq_acl = on
plugins.vmq_diversity = off
plugins.vmq_webhooks = off
plugins.vmq_bridge = off
topic_max_depth = 10
metadata_plugin = vmq_swc
vmq_acl.acl_file = /etc/vernemq/vmq.acl
vmq_acl.acl_reload_interval = 10
vmq_passwd.password_file = /etc/vernemq/vmq.passwd
vmq_passwd.password_reload_interval = 10
vmq_diversity.script_dir = /usr/share/vernemq/lua
vmq_diversity.auth_postgres.enabled = off
vmq_diversity.postgres.ssl = off
vmq_diversity.postgres.password_hash_method = crypt
vmq_diversity.auth_cockroachdb.enabled = off
vmq_diversity.cockroachdb.ssl = on
vmq_diversity.cockroachdb.password_hash_method = bcrypt
vmq_diversity.auth_mysql.enabled = off
vmq_diversity.mysql.password_hash_method = password
vmq_diversity.auth_mongodb.enabled = off
vmq_diversity.mongodb.ssl = off
vmq_diversity.auth_redis.enabled = off
vmq_bcrypt.pool_size = 1
vmq_bcrypt.nif_pool_size = 4
vmq_bcrypt.nif_pool_max_overflow = 10
vmq_bcrypt.default_log_rounds = 12
vmq_bcrypt.mechanism = port
log.console = file
log.console.level = info
log.console.file = /var/log/vernemq/console.log
log.error.file = /var/log/vernemq/error.log
log.syslog = off
log.crash = on
log.crash.file = /var/log/vernemq/crash.log
log.crash.maximum_message_size = 64KB
log.crash.size = 10MB
log.crash.rotation = $D0
log.crash.rotation.keep = 5
nodename =<EMAIL_ADDRESS>distributed_cookie = vmq
erlang.async_threads = 64
erlang.max_ports = 262144
leveldb.maximum_memory.percent = 70
leveldb.compression = on
leveldb.compression.algorithm = lz4
include conf.d/*.conf
All ports are open and I've already done a ping test
Describe the solution you'd like
Orientação sobre alguma configuração que possivelmente não encontrei na documentação ou não me atentei
Describe alternatives you've considered
Guidance on some configuration that I possibly didn't find in the documentation or didn't pay attention to
Environment

VerneMQ Version: 1.13.0
OS: Ubuntu 22.04
Erlang/OTP version (if building from source): 12.2.1
Cluster size/standalone: 1 nó

Add any other context, code samples or screenshots about the issue report here.
sudo tail -f /var/log/vernemq/console.log
2024-10-29 20:53:36.817 [warning] <0.619.0>@vmq_cluster_node:handle_message:{255,5} connection to node<EMAIL_ADDRESS>has been closed, reconnect in 1000ms
2024-10-29 20:53:37.819 [info] <0.619.0>@vmq_cluster_node:handle_message:{218,13} successfully connected to cluster node<EMAIL_ADDRESS>2024-10-29 20:53:37.819 [warning] <0.14393.0>@vmq_cluster_com:loop:{101,14} terminate due to remote_node_not_available

Code of Conduct

[X] I agree to follow the VerneMQ's Code of Conduct

@keniodev your log lines show a reconnect of the message-transporting connection between the nodes which can happen sometimes. Check whether this is a one-time instance or happening constantly.
I don't think this is necessarily related to the consumer only getting a message after re-connect. Maybe you can experiment a bit more and generate better insights.

👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

@ioolkos This happens constantly, the log shown is only a part but it keeps repeating itself in a loop.
All the necessary doors are open, but I still don't understand what is happening

@keniodev Can you set outgoing_clustering_buffer_size = 1000000 (1MB) in the vernemq.conf file? if this doesn't help, we can also increase the TCP buffers of those connections.

👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

@ioolkos  I discovered the error I was making, because I was following the installation recommendations from a website and had the vmq.args file. Well, I reset the VPS and started the installation process again without this file, and in tcp.name = <IP_LOCAL>:<PORT> and vmq.clustering = <IP_LOCAL>:<PORT>. After performing the clustering, the messages are now updated in real time.
I'm going to close, thanks for your attention!


Fix riscv64 detect

Fix https://github.com/xianyi/OpenBLAS/issues/3606
When CORE is empty, use -march=loongson3a. Fix it.
And Fix riscv64 detect

build failed on gentoo
https://bugs.gentoo.org/837806

Thank you. (I am not sure if the change to Makefile.system is really necessary when your fix for getarch.c already ensures that CORE gets set correctly ?) CPU autodetection for RISCV simply is not implemented, and I assume most users will be cross-compiling rather than compiling on the device itself anyway (?)

Thank you. (I am not sure if the change to Makefile.system is really necessary when your fix for getarch.c already ensures that CORE gets set correctly ?) CPU autodetection for RISCV simply is not implemented, and I assume most users will be cross-compiling rather than compiling on the device itself anyway (?)

I'm trying to fix a distribution recognition error. In multi-arch distribution, auto detect 'arch generic' is needed.

Thank you. (I am not sure if the change to Makefile.system is really necessary when your fix for getarch.c already ensures that CORE gets set correctly ?) CPU autodetection for RISCV simply is not implemented, and I assume most users will be cross-compiling rather than compiling on the device itself anyway (?)

https://github.com/xianyi/OpenBLAS/blob/ee4244538cc8c2ec1ccb6d0cd6a799bb9bd75a63/getarch.c#L1145
Quote above, in FORCE_RISCV corename is RISCV64_GENERIC
https://github.com/xianyi/OpenBLAS/blob/ee4244538cc8c2ec1ccb6d0cd6a799bb9bd75a63/cpuid_riscv64.c#L76-L79
Unknown is typo.
Implementation continues in the wrong way
https://github.com/xianyi/OpenBLAS/blob/5d2f451d09516d71e9a454b87472de5ec7d5e92f/TargetList.txt#L119-L121
In 'TARGET=C910V' sense
https://github.com/xianyi/OpenBLAS/blob/ee4244538cc8c2ec1ccb6d0cd6a799bb9bd75a63/getarch.c#L1574-L1586
In 'TARGET=RISCV64_GENERIC' sense
https://github.com/xianyi/OpenBLAS/blob/ee4244538cc8c2ec1ccb6d0cd6a799bb9bd75a63/getarch.c#L1135-L1147

Yeah, the "UNKOWN" without the "N" is a historic typo dating back to the original GotoBLAS. I sort-of agree that an automatic fallback to RISCV64_GENERIC would be useful in your context. On the other hand, the drawback of always autodetecting as this would be that builds on C910V and compatibles would end up with the same unoptimized codebase as well. Unfortunately I am not familiar with the current situation regarding RISCV - is there some sort of universal CPUID instruction for determining
make/model, or even a higher-level interface like /proc/cpuinfo on Linux, or is everything still depending on human eyes looking at board specifications ?

Yeah, the "UNKOWN" without the "N" is a historic typo dating back to the original GotoBLAS. I sort-of agree that an automatic fallback to RISCV64_GENERIC would be useful in your context. On the other hand, the drawback of always autodetecting as this would be that builds on C910V and compatibles would end up with the same unoptimized codebase as well. Unfortunately I am not familiar with the current situation regarding RISCV - is there some sort of universal CPUID instruction for determining make/model, or even a higher-level interface like /proc/cpuinfo on Linux, or is everything still depending on human eyes looking at board specifications ?

The C910V is not publicly available for sale, so I can't do the relevant tests

Oh, I was not aware of that. From what i could find, maybe it is possible to read the isa entry from /proc/cpuinfo and just return C910V when the string is rv64imafdv or rv64imafdcv (indicating vector support) or RISCV64_GENERIC when not.

it is actually bitmask register from CPUID CSR, available in unprivileged modes.


Add alias for block content to allow injections.

This will allow highlighting BLOCK_SRC blocks with treesitter injections.

I tried doing it (diff below), but I'm getting this error:
The rule `contents` matches the empty string.

Tree-sitter does not support syntactic rules that match the empty string
unless they are used only as the grammar's start rule.

I'm not sure how to tackle this. Can you assist?
Here's the diff:
diff --git a/grammar.js b/grammar.js
index 2e851b1..2d2262b 100644
--- a/grammar.js
+++ b/grammar.js
@@ -391,8 +391,7 @@ org_grammar = {
     block: $ => seq(
       optional($._directive_list),
       $._block_begin,
-      repeat($._nl),
-      alias(repeat(seq(repeat1($._text), repeat1($._nl))), $.content),
+      $.contents,
       $._block_end,
     ),

@@ -415,8 +414,7 @@ org_grammar = {
     dynamic_block: $ => seq(
       optional($._directive_list),
       $._dynamic_begin,
-      repeat($._nl),
-      repeat(seq(repeat1($._text), repeat1($._nl))),
+      $.contents,
       $._dynamic_end,
     ),

@@ -488,8 +486,7 @@ org_grammar = {
     latex_env: $ => seq(
       optional($._directive_list),
       $._env_begin,
-      repeat($._nl),
-      repeat(seq(repeat1($._text), repeat1($._nl))),
+      $.contents,
       $._env_end,
     ),

@@ -527,6 +524,10 @@ org_grammar = {
       seq($._text, token.immediate('_'), token.immediate(/[^\p{Z}]/))
     )),

+    contents: $ => seq(
+      repeat($._nl),
+      repeat(seq(repeat1($._text), repeat1($._nl))),
+    ),
   }
 };

Pretty common 'gotcha' for writing these parsers, as the message says you can't have a rule that matches an empty string, and here you have a sequence of two rules that can match nothing (repeat), so I think the solution that makes the most sense is in contents require the second repeat (repeat1(seq(...))) and make the references to contents optional: optional($.contents)

That fixed it, thanks!
I extracted and fixed few tests (also reverted the whitespace, sorry about that), but 2. LatexEnv.3  -: now considers empty block an error. What do you want me to do about it?
  2. LatexEnv.3  -:
    (document (ERROR)) (body (latex_env)))


False positive for operator in in pandas

Environment data

Language Server version: 2020.7.4
OS and version: Ubuntu 18.04
Python version (& distribution if applicable, e.g. Anaconda): Python 3.7.7 (Anaconda)
Pandas version: 1.0.5

Expected behaviour
Pylance should not detect any error when using the in operator on pandas Index objects (for example 'c1' in df.columns)
Actual behaviour
Pylance raises the following error when the in operator is used on a pandas Index object:
Operator "in" not supported for types "str" and "Index[_str]"
The code itself executes just fine. This happens for example when in or not in is used on a DataFrame's columns or index properties.
Code Snippet / Additional information

import pandas as pd

df = pd.DataFrame(columns=['c1', 'c2'], data=[[1, 2], [3, 4]], index=['i1', 'i2'])

if 'c1' in df.columns:
    print('ok')
if 'i1' in df.index:
    print('ok')

@gramster, this is a bug in the type stub. It's missing the __contains__ magic method in the Index class.

This issue has been fixed in version 2020.8.1, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/master/CHANGELOG.md#202081-13-august-2020


Very long one-line output overlays code

In Julia, evaluating
println("hellodgiofppfdiodskvl;fskg;slgkfsd'kgfls;kgfdl;'dgdffdipdidfopfddiopfifopdsifopiifopdsdsopfdiop")
will overlay the text, making it unreadable.

This happens to me with javascript too. I think it'd be fine to hard wrap it and present it as a multiline-result, perhaps with some glyph that indicates each hard-wrap point. An alternative would be to keep it a single-line result, but make it horizontally scrollable.

Scrolling preferred, I think.

Last time I looked into this, it wasn't possible to scroll one of these marker decorations (otherwise I'd have the multiline ones scroll vertically, too).
Does one of you want to write a PR for this? It would be awesome to have someone rework ResultView a little bit. The two changes would be:

Add wrapping in Less.
Change the logic of ResultView to make a bubble single- or multi-line based on its measure size (<= or > line height) instead of based on the content inside.

Also if that person would check and see if scrolling these is possible now, that would be sweet.

@willwhitney I'll do it. When have free time for that.

please review #136


Dead Project?

Is this project being maintained. Looking for something like blessed, but that's being maintained. Need a terminal within the screen, but Terminal says it requires term.js which is also no longer maintained.

The example still works.

Ok, I was looking for a solution that had some life left in it though.
The blessed terminal widget requires the term.js and pty.js to be installed.
term.js is no longer maintained, and pty.js is ancient and also not receiving much love.
I did some hunting to see if I could replace the terminal widget with something that was supported, and It looks like @rse has Blessed-XTerm which may be a good replacement. Then realising a C++ compiler was going to be necessary for either of those options, which would be a speed bump for my consumers, I started looking at some other options.

Packaging a blessed based app with something like pkg
Just use Electron

At this stage, I'm heading in the second direction.

We have a fork called neo-blessed that is meant to be a drop-in replacement and maintained.


tox_pyenv_fallback in testenv definition is not honored

Set tox_pyenv_fallback in general testenv definition and test with tox --showconfig.
Setting tox_pyenv_fallback to both true or false results in tox_pyenv_fallback = True output from tox --showconfig.
Providing --tox-pyenv-no-fallback on the command line allows testenv definition tox_pyenv_fallback to take control...

Just for reference
https://github.com/tox-dev/tox/blob/master/src/tox/session/commands/show_config.py
I am assuming that the code which executes for --showconfig should interpret the values set in tox.ini and not only config values defined by environment variables?

Providing --tox-pyenv-no-fallback on the command line allows testenv definition tox_pyenv_fallback to take control...

It has been a minute since I looked at the code here. Can you help me understand more? I am not sure I follow entirely. More details would help and precise instructions for reproducing.


feat: Add nft endpoints

According to DAO-470, we must add two endpoints to query NFT data and if an account is the owner of an NFT.
I included the following endpoints:

/nfts/{address}/: This just executes a call to /tokens/{address_hash} from Blockscout

/address/{address}/nfts/{nft}: This executes one or more calls to /tokens/{address_hash}/instances from Blockscout, because, after getting the response I need to filter to validate if the address is the owner at least of one NFT instance.

For the WALLET profile, the backend will throw an error.

How do I specify mainnet vs testnet?
You need to specify the chainId param like this:
http://localhost:3000/nfts/0xa3076bcaCc7112B7fa7c5A87CF32275296d85D64?chainId=31
31 -> Testnet
30 -> Mainnet

@sleyter93 in the /nfts/address call the return is:
{     "address": "0xa3076bcaCc7112B7fa7c5A87CF32275296d85D64",     "holders": 23,     "totalSupply": 23,     "name": "RIF DAO Early Adopters",     "symbol": "RDEA",     "type": "ERC-721",     "iconUrl": null }
Is there anyway that we can also get the token metadata? (this is already returned if we use the second endpoint)

@sleyter93 in the /nfts/address call the return is:
{ "address": "0xa3076bcaCc7112B7fa7c5A87CF32275296d85D64", "holders": 23, "totalSupply": 23, "name": "RIF DAO Early Adopters", "symbol": "RDEA", "type": "ERC-721", "iconUrl": null }
Is there anyway that we can also get the token metadata? (this is already returned if we use the second endpoint)

NFT Metadata is unique per NFT, the only way to include metadata in this endpoint will be to include all token instances.
{"address": "0x123", "holder":23, "name": "RIF DAO", "symbol": "RDEA", "type": "ERC-721", "iconUrl": null, "instances":[{"tokenId":1, metadata:{...}},{"tokenId":2, metadata:{...}}]}
The only concern is handling pagination for these instances.


[WIP] Dynamically toggle broadcast ticker

Please describe the motivation for this PR and provide enough
information so that others can review it.
Please mark with X for applicable areas.

New Functionality      [X ]
Documentation          [ ]
Install                [ ]
Control Plane          [ ]
CLI Tool               [ ]
Certificate Management [ ]
Networking             [ ]
Metrics                [ ]
SMI Policy             [ ]
Security               [ ]
Tests / CI System      [ ]
Other                  [ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
no

Appreciate the contribution. Could you isolate this change to just the toggle feature? I see there are some overlapping changes with the update PR.

Oh jeez let me fix that


Add on/off register and add'l AC modes

Thanks so much for putting this project together! I haven't received my Chiltrix unit yet but I'm working on a controller for it in C++ to run on an ESP32. I won't be able to use this code directly but the list of registers is very helpful. I asked Chiltrix for documentation on the protocol and they sent me the attached document. It matches your registers but I was able to add the Switch On/Off register and the A/C modes you're missing.
cx34-123&cx50-2&cx35-1 Modbus User Document.docx

I cloned this, added a test and made some other minor edits. It is now meged. The commit give syou co-author credit - thanks for the contribution. https://github.com/gonzojive/heatpump/pull/31


ZEVA - Re-designed supplier detailed credit balance in creidt transcation page

Due to the difficulty of how to display deficit balances in the current credit transaction and balance page, plus the growing list of transaction suppliers are building up, we want to redesign the credit transaction page:
IDIR - https://zeva-test.apps.silver.devops.gov.bc.ca/organizations/2/credit-transactions
BCeID - https://zeva-test.apps.silver.devops.gov.bc.ca/credit-transactions
As a result this will avoid the need to re-design the detailed credit balance component displayed on these pages. This involves displaying three elements of the credit balance information separately.

Credits they have obtained or current compliance period
Credit compliance position from the last model year reassessment
Total detailed credit balance if they had a positive credit balance at the end of the last compliance period (or no detailed balance if they were in a deficit at the end of the last compliance period)

Positive Balance
https://preview.uxpin.com/4946124c44da522837a3b54ccb7b5243fa384039#/pages/160856647/simulate/no-panels?mode=mf
Deficit balance
https://preview.uxpin.com/4946124c44da522837a3b54ccb7b5243fa384039#/pages/161518599/simulate/no-panels?mode=mf
Purpose and benefit to user:
This redesign of the detailed credit balance makes it clear to the user the:

Credits they have obtained or current compliance period
Credit compliance position from the last model year reassessment
Total detailed credit balance if they had a positive credit balance at the end of the last compliance period (or no detailed balance if they were in a deficit at the end of the last compliance period)

Acceptance Criteria:
Given I am a ZEVA user (IDIR or BCeID)
When I am viewing the credit transactions page for an organization
Then I want to see the re-designed detailed balance table as per the mock ups
Development Checklist:

[ ] A
[ ] B
[ ] C

Notes:

Tim estimates 3 going into Klefki


Comments between Nav menu  elements break the nav dropdowns

I'm trying to use CoreUI  (free) with .NET Blazor, Blazor inserts comments between every element to help with rendering and I believe this is breaking the nav bar on CoreUI, specifically the drop down doesnt work. I have a JSBin example at the bottom of this post.
On nav item click it gets all sibling elements and tries to get the classList of them without checking they are a valid element, hence throws an exception when trying to access classlist.contains on a comment. Just to test I edited the JS in dev tools toggleDropDown() method to exclude comments (added extra condition to if: && t.nodeName != '#comment') and it seemed to fix it, until i refreshed of course.
from
`
if (Default$9.dropdownAccordion === true) {
    this._getAllSiblings(toggler.parentElement).forEach(function (element) {

      if (element !== toggler.parentNode) {

        if (element.classList.contains(CLASS_NAME_NAV_DROPDOWN)) {

          element.classList.remove(CLASS_NAME_SHOW$6);
        }
      }
    });
  }

`
to
`if (Default$9.dropdownAccordion === true) {
    this._getAllSiblings(toggler.parentElement).forEach(function (element) {

      if (element !== toggler.parentNode && element.nodeName != '#comment') {

        if (element.classList.contains(CLASS_NAME_NAV_DROPDOWN)) {

          element.classList.remove(CLASS_NAME_SHOW$6);
        }
      }
    });
  }`

Any assistance with this is much appreciated, happy to raise a pull request if I can get some guidance on this.
Details:
Using Windows 10
Tested on Chrome 84.0 and Firefox 79.0
JSBin Example:
https://jsbin.com/zizemis/edit?html,output
Old Codepen example(this example works but if you inspect can see that Codepen has removed the commnents):
https://codepen.io/JRoachBT/pen/poybwrz
Screenshot of debugging

Reproduce Steps:
Create new Blazor project in visual studio
Add CoreUI Packages
Update layout to use CoreUI
Click any nav bar dropdown item
Many Thanks,
Josh

Can you try this code
      if (Default$9.dropdownAccordion === true) {
        this._getAllSiblings(toggler.parentElement, function (element) {
          return Boolean(element.classList.contains(CLASS_NAME_NAV_DROPDOWN));
        }).forEach(function (element) {
          if (element !== toggler.parentNode) {
            if (element.classList.contains(CLASS_NAME_NAV_DROPDOWN)) {
              element.classList.remove(CLASS_NAME_SHOW$6);
            }
          }
        });
      }

Thanks for reply, tried the code and get the same errror, seems it is still trying to access .classList on the comment elements

One more try
    _proto._getAllSiblings = function _getAllSiblings(element, filter) {
      var siblings = [];
      element = element.parentNode.firstChild;

      do {
        if (element.nodeType === 3) {
          continue; // text node
        }

        if (element.nodeType === 8) {
          continue; // comment node
        }

        if (!filter || filter(element)) {
          siblings.push(element);
        } // eslint-disable-next-line no-cond-assign

      } while (element = element.nextSibling);

      return siblings;
    };

This seems to work now thanks a lot! Will this be change be applied to the main branch?
Also this might be better in its own issue as i'm not sure its related but sometimes on page load the dropdowns don't work, no exception thrown but nothing happens on click, is this anything you've come across?

This fix will be available in the next release.
Can you try to reproduce the issue with dropdowns?

Awesome. I'm struggling to reproduce the error in codepen/JSBin which is leading me to believe its to do with Blazor, I have a fresh project with the issue here:
https://github.com/Raoch/TestTemplateNavError

Fixed in v3.3.0

Will this fix also be available in core-ui bootstrap template?

This seems to work now thanks a lot! Will this be change be applied to the main branch?

Hi, Is it possible for you to share a minimal blazor project with dropdown working? I tried the workaround but doesn't seems to be working. I am using CoreUI free with blazor server app.
Thanks,


Added Raymond Hettinger's quote on PEP8

One of my favourite quotes from Raymond Hettinger. It's probably the most suitable quote here.

Merging a one-liner after 393 days. I'm a terrible maintainer 😂
Thanks @kshitij10496!


[BUG]

Module Version: v0.0.0
Before open any issue

Enable the module setting "Enable debugging"
Click F12 go to the console tab
make the test you want and replicate the error
Go to the tab console open on point 2) and just right click and click 'Save as' and 'Save' or send a screenshot of the exception on the console.
Attach the text file on the github issue with all the logs related tot he module, or send a screenshot of the messages on the console.

Describe the bug
1 critical Error-message when opening Foundry:
setup.js:141 [forien-unidentified-items] Metadata validation failed for module "forien-unidentified-items": The file "init.js" included by module forien-unidentified-items does not exist
#logPackageWarnings @ setup.js:141
To Reproduce
Steps to reproduce the behavior:

Open foundry with the module active

Expected behavior
no error
Screenshots

Browser:
none
Foundry Version:
10.291
Game System:
since the errormessage occurs when I start foundry, there's no connection to a gamesystem
Additional context

I'm having the same issue. I can't get rid of the error, even if I delete the directory from the modules folder.

Very strange. Now the build 1.0.3 should be fine. Did you try to  unistall-install the module ? Try to clean up the browser cache to be sure.

I finally figured it out.  The link on foundry is incorrect. The link is
https://github.com/League-of-Foundry-Developers/foundryvtt-forien-unidentified-items/releases/download//module.json
I ended up doing some investigation and removed the /download//module.json and when I went to
https://github.com/League-of-Foundry-Developers/foundryvtt-forien-unidentified-items/releases
and downloaded the module.zip. I unzipped it to the modules directory and it worked just fine.
You might want to fix the link.
BTW, I really appreciate your work and love your modules.

I can't reinstall the module through foundry - as stated by @Theopholis it may just work by manually installing the module.

that work for me too (https://github.com/League-of-Foundry-Developers/foundryvtt-forien-unidentified-items/releases/download/v1.0.3/module.json)


We need to update to use the latest GCP resource API

https://cloud.google.com/resource-manager/
The current client we use for project lookup is unsupported. We need to move to the API linked above.

@patflynn Which version of the API should we be using? The one currently posted for download on the official site is v1beta1-rev12-1.21.0. I'm trying to use it, but get the error below, even after enabling it for my project. The web site does mention that "Access to this feature is currently invite-only." So, I don't know if it needs to be enabled on some higher level.
{
  "code" : 403,
  "errors" : [ {
    "domain" : "global",
    "message" : "Project has not enabled the API. Please use Google Developers Console to activate the 'cloudresourcemanager' API for your project.",
    "reason" : "forbidden"
  } ],
  "message" : "Project has not enabled the API. Please use Google Developers Console to activate the 'cloudresourcemanager' API for your project.",
  "status" : "PERMISSION_DENIED"
}


Subreddits

Added subreddit names to comments.

Honestly, I'm not an expert on this either but it looks cleaner in the code after it's rendered.
"/r/webdev" ---> /r/webdev

I was thinking the same thing, just wanted to see your response. We could get rid of the bullets, maybe add dividers between the comments, just spit balling here

I'm not sure what you mean by "it looks cleaner in the code after it's rendered"? Are you saying it looks different to the end user? I don't see that in my tests.
 We can worry about that later.

Just gonna merge it and fix the tabs later.

I have no idea why github is screwing up my indentation, I double checked before committing. Everything was and still is fine on my end. Weird.

It was tabs instead of spaces. Github treats a tab as 8 spaces.

Huh, I had no idea. Thanks!


[BUG] Distribution.precedence has wrong value for wheels

setuptools version
setuptools==57
Python version
Python 3.7.10
OS
MacOS Big Sur
Additional environment information
No response
Description
I installed a package via pip and looked it the precedence attribute of its Distribution object to find out which way the package was installed. (In my project development installations have to be handled differently than other means of installation.)
Expected behavior
I looked at the possible values: https://github.com/pypa/setuptools/blob/2234e88b7b820c40f29d7ddadc182b0f130eaa1d/pkg_resources/init.py#L322-L326
I expected the precedence value to be bigger than -1.
I know there is no value for a wheel here but DEVELOP_DIST feels wrong.
When using easy_install to install the package I get a precedence value of 3 which feels much better.
Is precedence deprecated?
How to Reproduce
python3.7 -m venv precedence
cd precedence
bin/pip install -U pip setuptools wheel
bin/pip install coverage
bin/python -c "import pkg_resources; print(pkg_resources.require('coverage')[0].precedence)"

Output
Looking in indexes: https://pypi.org/simple, ...
Collecting pip
  Using cached pip-21.1.2-py3-none-any.whl (1.5 MB)
Collecting setuptools
  Using cached setuptools-57.0.0-py3-none-any.whl (821 kB)
Collecting wheel
  Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Installing collected packages: pip, setuptools, wheel
  Attempting uninstall: pip
    Found existing installation: pip 20.1.1
    Uninstalling pip-20.1.1:
      Successfully uninstalled pip-20.1.1
  Attempting uninstall: setuptools
    Found existing installation: setuptools 47.1.0
    Uninstalling setuptools-47.1.0:
      Successfully uninstalled setuptools-47.1.0
Successfully installed pip-21.1.2 setuptools-57.0.0 wheel-0.36.2
Looking in indexes: https://pypi.org/simple, ...
Collecting coverage
  Using cached .../coverage-5.5-cp37-cp37m-macosx_10_9_x86_64.whl (207 kB)
Installing collected packages: coverage
Successfully installed coverage-5.5
-1

Note: I had to remove some output pointing to a private PyPI mirror. But I do not think that it is part of the problem.
Code of Conduct

[X] I agree to follow the PSF Code of Conduct

Anyone who is able to comment this issue?


How to combine: base model + trained lora back to HF model?

I've just played with 4bit quantization  and it works really good. Much faster loading and inference time, ability to load much bigger model on GPU without quality degradation.  It's just like magic.
But in order to make quantized lora-trained model I need to combine somehow base HF + trained Lora and get new model in HF format. This new model can be quantized with GPTQ-for-LLaMa script.
Here is a someones guide for 4bit LLAMA if you want to try
Can anybody help?

https://github.com/tloen/alpaca-lora/blob/main/export_hf_checkpoint.py

Hello @tloen ,
I'm getting the following error when I load the huggingface checkpoint to the huggingface LlamaForCausalLM: ValueError: weight is on the meta device, we need a value to put in on 0. I made sure that all generate .bin files are on the cpu. Any idea what might be causing this issue?
Best regards,
Hani

Are you running the latest version of the code?

@tloen , sorry, just pulled, it works now. Thank you very much for sharing your work! Many thanks!


Update README.md and maintaining consistency

Modified punctuations through out the README.
Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

Thank you!! @shirshanka


Pass client params from Client to Server correctly (e.g. domain)

Description
Currently, the client doesn't pass params all the way down to the Server object, so things like domain are passed to the API as kwargs, instead of setting the domain for the Web API.

@Roach Can I have permission to push to a new branch?

@cmac4603 you shouldn't need any permissions to submit a PR


feat: operation mode debug panel

Description
The legacy state panel is used to debug the operation mode.
Since it would be confusing to have a panel with the same function, I extracted that part.
Also, since it will be used as a panel dedicated to debugging, the following changes have been made:

The mode change button can be used even if is_mode_*_available is false.
The mode change button can be used even if it is the same as the current mode.
Display raw value when unknown mode

Related links

https://github.com/autowarefoundation/autoware.universe/pull/7494#issuecomment-2364792758

How was this PR tested?

Run planning simulation
Add OperationModeDebugPanel from rviz menu
Change to drive mode and stop mode.

Notes for reviewers
None.
Interface changes
None.

Effects on system behavior
None.

@h-ohta @kosuke55 Could you review this PR?


Youtube Music not working

What version of Music Assistant has the issue?
2.0.7
What version of the Home Assistant Integration have you got installed?
No response
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

[X] Yes

The problem
When I try to play a song from youtube music to any speaker I get this error:
2024-07-10 22:59:44.101 ERROR (MainThread) [music_assistant.webserver] Error handling message: player_queues/play_media: get_throttling_function_name: could not find match for multiple
Its an old issue with pytube but it doesn't seem to be fixed
How to reproduce
Just try to play any song from youtube music.
Music Providers
Youtube music
Player Providers
Airplay, UPNP
Full log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2024.5.4
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Alternative

Can you try the beta?

this just happened to me too after a reboot. switching to beta fixed it, it seems

We completely rewrote the logic to resolve streaming urls in beta to prevent instabilities like this from happening. Should hit stable in a week or so.

Added the 'workaround' fix. Can you restart the addon and see if it works?

@OzGav I just installed the Beta version and Youtube Music is working fine.

Thanks we will close this. When the 2.1 stable is released soon you can switch back if you wish


mobile: Fix build error target name

This build target does not run as part of CI, that's why we didn't catch this issue.
Risk Level: n/a
Testing: manual
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

/assign @abeyad


Question Correction

MHT-CET-2023, Question 4
I believe it should be Cu2+

Examside has it wrong as well

Further Corrections that I found:

Merged , Thanks for the contribution.


Enable pnpm in tools

Current dependencies on/for this PR:

main

PR #308   👈

This comment was auto-generated by Graphite.


UR5e Robot added

Hi.
I created the robot definition for the UR5e and added it to the CITA lab.

Nice, thanks.


*: add stack size and max task number limit to unified read pool

What have you changed?
Based on https://github.com/tikv/tikv/pull/6534
Stack size and max task number limit are supported in the legacy thread pools but not available in the new unified thread pool. This PR adds the function to the unified read pool.
What is the type of the changes?

Improvement (a change which is an improvement to an existing feature)

How is the PR tested?

Unit test

Does this PR affect documentation (docs) or should it be mentioned in the release notes?
Yes. The new options should be updated to docs.
Does this PR affect tidb-ansible?
Yes. The new options should be added to tidb-ansible

/merge


permission error

I am building the :
https://github.com/snacchus/libdragon branch
but I think what I am getting is a general error rather than error specific to that branch.
Someway through build-toolchain.sh I am getting :
make[4]: Entering directory '/home/mixotricha/workspace/n64/opengl_test/libdragon/build/binutils-2.37/bfd/doc'
/bin/mkdir -p '/usr/local/share/info'
/usr/bin/install -c -m 644 ./bfd.info '/usr/local/share/info'
/usr/bin/install: cannot remove '/usr/local/share/info/bfd.info': Permission denied
make[4]: *** [Makefile:826: install-info-am] Error 1
make[4]: Leaving directory '/home/mixotricha/workspace/n64/opengl_test/libdragon/build/binutils-2.37/bfd/doc'
make[3]: *** [Makefile:1643: install-recursive] Error 1
make[3]: Leaving directory '/home/mixotricha/workspace/n64/opengl_test/libdragon/build/binutils-2.37/bfd'
make[2]: *** [Makefile:1751: install] Error 2
make[2]: Leaving directory '/home/mixotricha/workspace/n64/opengl_test/libdragon/build/binutils-2.37/bfd'
make[1]: *** [Makefile:2883: install-bfd] Error 2
make[1]: Leaving directory '/home/mixotricha/workspace/n64/opengl_test/libdragon/build/binutils-2.37'
make: *** [Makefile:2338: install] Error 2
Note that I have built the LibDragon standard branch successfully previously and also the tools and examples and they run fine with that branch.
Hope this is sufficient context and useful.

It looks like your N64_INST is not set properly, as it is trying to install to /usr/local/share (which is usually undesirable).
Make sure you export N64_INST=$HOME/Projects/n64/toolchain (or wherever you want the toolchain to be installed)

Thank you! And of course I did set that when I built the main branch to which is why it successfully built. Problem solved.


HxMultiSelect

HxMultiSelect does not implements floating label

Added PR https://github.com/havit/Havit.Blazor/pull/899 to implement it


chore: support ctrl c in logs

Fixes RVT-4211

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#586  👈 (View in Graphite)
#585
#584
main

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


sphinx-gallery setup

Are you going to fix this or remove the example?

the example's filename that are not started with plot will not be run.
This pull request only sets up infrastructure for the future.
I think I'll be working on some toy examples.
Also note that the current documentation server does not support pandas.


Update README.md

DiffFace: Diffusion-based Face Swapping with Facial Guidance added,
project link of MIDMs: Matching Interleaved Diffusion Models for Exemplar-based Image Translation added.

I have resolved it. Thank you for your impressive paper!


Questions related to STAC versions

Due to my work on a specification (openEO) that is based on STAC, some questions came up recently:

Is STAC (i.e. releases and the field stac_version) following Semantic Versioning? So is any breaking change after 1.0.0 leading to a version 2.0? If not, how is the procedure regarding version numbers and breaking changes?
Why is this important? I want to future-proof the openEO API and not just allow version 0.9.0, but also also all versions that are non-breaking after 1.0.0. Getting this information allows me to actually validate the stac_version field (e.g. with a pattern such as ^(0\.9|1)\.).
Is it fine to deliver any STAC version via any STAC API version? For example, can I implement STAC API 0.9 and it responds with STAC 1.0 or 0.8 items/collections? According to the OpenAPI file it seems allowed: https://github.com/radiantearth/stac-api-spec/blob/master/STAC.yaml#L1311
Why is this important? How can I base a specification on STAC API that is STAC 1.0 compliant without having a "final" STAC API spec yet?

If answered with "yes", how to detect which API version is implemented? This is related to https://github.com/radiantearth/stac-api-spec/issues/27.

To use 1.0 extensions that are not part of 0.9, I think the way to expose these via "stac_extensions" is to not use timestamps, but (see #835) https://schemas.stacspec.org/v1.0.0-beta.1/extensions/timestamps/schema.json, right? (Edit: yes, seems to be backed by "If the versions of the extension and the item diverge, you can specify the URL of the JSON schema file.")

I'll take on - put in language about sem ver
Discussed on call for 6-22-20, decided that the answer is 'yes', a STAC API can respond with different versions. For the betas we don't have a great way to resolve which api version is implemented, though the features api version may help a bit. And we will work to get it more clear for 1.0 of stac api.
This is resolved

PR is #855
I guess the way to resolve it is as follows:

All STAC APIs prior to 0.9 are bound to the respective STAC versions
STAC 0.9 can either be a STAC 0.9 or 1.0 API. It is distinguishable by the stac_api_version field, which we'll include for 1.0. If it's not available, it's a 0.9 API.
Everything after STAC API 1.0 has the stac_api_version field.

Do we need to document that somewhere?


dst_path has inconsistent behavior

Describe the problem
I am creating a template where I am trying to use {{ _copier_conf.dst_path | basename }} to get the name of the repository that is rendering the template
When I copy the project intially, it gets correctly rendered as the repo name
However, when I run an update, it gets replaced with something like copier.main.new_copy.nstvyoqn
Is this by design or is this a bug?
I didn't find detailed documentation about dst_path, I see it's used in this example but I don't see it formally documented in the available settings
Expected behavior
I would like {{ _copier_conf.dst_path | basename }} to always be rendered as my destination repo name
Operating system
Linux
Operating system distribution and version
Ubuntu 22.04.3 LTS (running on WSL)
Copier version
9.4.1
Python version
3.10
Installation method
pipx+pypi

It isn't advisable to use the dst_path variable in most cases because its value isn't stable as you noticed and even less so because the path might differ when you moved your local project directory to a different location or another developer cloned the project elsewhere. The example you linked to merely uses the dst_path variable in a message template; that's a different use case.
What's your use case? Does it happen to be related to #1839 and #1617? Are you migrating from Cookiecutter?

Note that there is an (undocumented) template variable called _folder_name, which should provide what you are looking for.


fix: Restart Fluent Bit after mTLS certificate changed

Description
Changes proposed in this pull request (what was done and why):

The checksum generation missed including the tls secret. So changing tls secret would not restart the fluent-bit daemonset.

Changes refer to particular issues, PRs or documents:

https://github.com/kyma-project/telemetry-manager/issues/670

Traceability

[x] The PR is linked to a GitHub issue.
[x] New features have a milestone set.
[ ] New features have defined acceptance criteria in a corresponding GitHub Issue, and all criteria are satisfied with this PR.
[ ] The corresponding GitHub issue has a respective area and kind label.
[ ] The follow-up issues (if any) are linked in the Related Issues section.
[ ] Adjusted the documentation if the change is user-facing.
[x] The feature is unit-tested
[ ] The feature is e2e-tested

/unhold


Player id

Please read this notice throughly before creating your issue.
Before you create your issue you MUST follow these rules:

The issue is in written in English.
The issue is directly related to the project.
Your issue is not a duplicate of a previous issue.
Descriptive information must be provided, so that we can reproduce the error you are experiencing
Error logs must be provided if any crashing is experienced.

Please note that we will NOT provide assistance if the issue is with your own code, your issue WILL be locked if this is the case.

Issue Formatting
In order for us to provide you with the best assistance we kindly ask you to present your issues in the best way that you can.
Please read through this guide to learn how you can apply Markdown to your issues.

IF YOU HAVE READ THESE RULES PLEASE DELETE THIS TEXT

I want to close with player nicname was his ID. is this possible?

@SparlBlyad Not understanding on what you're trying to address.

No idea what you mean.

And @Fan7asy you are now unbanned from the MultiOgar-Edited Discord Server.

He means he wants the nick of the user to be their id? nothing else atleast i think so. @Fan7asy


WebSockets on EC2

This PR is a proof-of-concept providing websocket support for deis on ec2 without further configuration.
To enable websockets and remote IPs, I used the proxy protocol as already proposed by @Blystad. The major difference is, that I forward 80 and 443 directly via TCP and do not terminate SSL at the ELB. SSL termination can now done by deis itself at the router (like on GCE or DO).
This approach has multiple advantages:

apps still know the forward protocol
spdy support for EC2
paves the way for multi TLD SSL on EC2
Simplifies deis as EC2 routing now works more like on GCE or DO

Alternative for https://github.com/deis/deis/pull/3095 #2717
When this concept is accepted, I'll merge the work from @Blystad into this PR and ensure that every commit is attributed correctly.
I tested this manually and this sockets work now and my IP is displayed correctly:
git clone https://github.com/heroku-examples/ruby-ws-test.git
cd ruby-ws-test
deis create
git push deis master
deis open

Hmm, I guess we need to set deis/router/proxyProtocol somehow on EC2. Maybe as part of the CoreOS unit file. Other then that, cool :smile:

@johanneswuerbach Is there anything you're proposing that we don't have with #3095?

Yes, a simplified setup using only a single ELB and an alignment of all cloud providers to not terminate SSL at the ELB (which won't work with multiple domains anyway)

I think the proposal from @johanneswuerbach is better then mine with one note: It should enable proxyProtocol per default on EC2 to make stuff work great out of the box.
The application SSL argument is also a good one. I now have a SAN with 14 domains....I would much rather have two wildcard certificates and just set that up.

I think the proposal from @johanneswuerbach is better then mine

Ok - I'm going to close #3095, then. Let's coordinate on this one to address everyone's requests :thumbsup:

Rebased. @Blystad I included enabling ProxyProtocol by default on EC2 and whitelisted 443 as incoming port.
Now TCP connections on 80 and 443 are just forwarded by the ELB to nginx and nginx terminates SSL connections and can determines the incoming IPs using ProxyProtocol.

As an additional step, new EC2 deployments should enable the useProxyProtocol flag by default

Could we make this automatic on EC2 somehow? That is what I would prefer

To follow up on my above question - Maybe add a unit (ec2-proxy-protocol or something) that is ran after etcd is started here:
https://github.com/deis/deis/blob/d82049066818374f0ba4bcfbcd38b56e7cdc87e1/contrib/ec2/gen-json.py
Which just calls etcd set deis/router/proxyProtocol 1

I changed the provisioning script to enable proxyProtocol by default.

We're seeing a 400 BAD REQUEST which seems to indicate something's wrong with the load balancer. The routers look fine, from what I can tell.

@bacongobbler how are those tests on ec2 created? Using the contrib script?

Yes. Have a look at /tests/bin/test-ec2.sh

Where is the router logs in the build? I'm having an extremely hard time locating it...
If the load balancer outputs 400 then that's probably coming from deis-router which receives PROXY protocol messages, but is not configured to receive proxy-protocol messages (or vice versa. In either case the router log can usually tell).

I think router logs are missing indeed, but I created a EC2 cluster manually, fixed some outstanding bugs and everything works great now.
Hopefully jenkins will say the same in a bit. :smile:

I guess it's just to add some documentation that is remaining on this to get it merged?
I'm going to do a new cluster deployment next week and I'll manually include this then. But, it would be nice to get it merged asap.

I guess it's just to add some documentation that is remaining on this to get it merged?

Yep! It's mostly just adding documentation now so EC2 users know what they're getting with this new feature.
Sorry about the delays around this one. We're just concerned over supporting something natively which we don't have good domain knowledge about (referring to proxy protocol here, of course), but now that we have the integration tests running on EC2 that gives me a lot more confidence in this PR now.

This is now (after https://github.com/deis/deis/pull/2911) required when using SSL domains and still needing remote IPs.

I added some basic docs and pulled one of @Blystad docu commits.

I think you might need to add proxy_protocol here as well: https://github.com/deis/deis/blob/95746aadc8e2c77771174f2702dae6fc48951c4d/router/image/templates/nginx.conf#L160-L165.
I'm not sure if it can explain the issues I saw in #3432 but it would be a good candidate.

Thanks, updated. I missed it during the last rebase.

I'm now running this in production and it seems to work well now that the above bug had been fixed. Any chance we could get this merged in soon @bacongobbler ?

sure. Let's slate this in for v1.6 release testing.

@johanneswuerbach Could you rebase again please?

Rebased.

code LGTM

Thanks @mboersma, everything fixed and rebased again.

Code LGTM.

:fireworks:

Yeah, time to build an interactive run using websockets now :-)


🐛[cloud_firestore_web] Aggregation queries ignores filter on Flutter Web

Filters within a Query are ignored when running Query.count() in Flutter Web. The same code works when running on a mobile device.
Expected behavior
count() should only count filtered documents
Sample project
  Query query =  FirebaseFirestore.instance.collection('deals').where('iswaitingoffer',isEqualTo: true);
  AggregateQuerySnapshot aggregateQuerySnapshot = await query.count().get();
  return  aggregateQuerySnapshot.count;

Additional context
Code yields expected results when running on a mobile device. On Web the result of count() are all documents inside the collection.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[√] Flutter (Channel stable, 3.3.4, on Microsoft Windows [Version 10.0.22000.1098], locale en-DE)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[!] Visual Studio - develop for Windows (Visual Studio Build Tools 2017 15.9.23)
    X Visual Studio 2019 or later is required.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2021.1)
[√] VS Code (version 1.71.2)
[√] Connected device (4 available)
[√] HTTP Host Availability

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.18.2
Flutter SDK 3.3.4
envoltec 1.0.0+1

dependencies:
- adaptive_dialog 1.8.0+1 [animations collection dynamic_color flutter intersperse macos_ui meta]
- adaptive_navigation 0.0.7 [flutter adaptive_breakpoints]
- adaptive_scrollbar 2.1.2 [flutter rxdart hovering]
- animations 2.0.4 [flutter]
- auto_size_text 3.0.0 [flutter]
- badges 2.0.3 [flutter]
- bot_toast 4.0.3 [flutter]
- build_runner 2.2.0 [args async analyzer build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob
 graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket
_channel yaml]
- cached_network_image 3.2.1 [flutter flutter_cache_manager octo_image cached_network_image_platform_interface cached_network_image_web]
- carousel_slider 4.1.1 [flutter]
- change_app_package_name 1.1.0
- chewie 1.3.4 [cupertino_icons flutter provider video_player wakelock]
- cloud_firestore 4.0.3 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- cloud_functions 4.0.3 [cloud_functions_platform_interface cloud_functions_web firebase_core firebase_core_platform_interface flutter]
- csv 5.0.1
- cupertino_icons 1.0.5
- currency_text_input_formatter 2.1.7 [flutter intl]
- data_table_2 2.3.6 [flutter async]
- diacritic 0.1.3
- dots_indicator 2.1.0 [flutter]
- drag_and_drop_lists 0.3.3 [flutter]
- dropdown_search 5.0.2 [flutter]
- easy_localization 3.0.1 [flutter shared_preferences intl args path easy_logger flutter_localizations]
- expandable 5.0.1 [flutter]
- expansion_tile_card 2.0.0 [flutter]
- fab_circular_menu 1.0.2 [flutter vector_math]
- file_picker 4.6.1 [flutter flutter_web_plugins flutter_plugin_android_lifecycle plugin_platform_interface ffi path win32]
- file_saver 0.1.1 [flutter flutter_web_plugins path_provider path_provider_windows path_provider_linux]
- firebase_auth 4.1.0 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 2.1.1 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_storage 11.0.3 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- fl_chart 0.41.0 [flutter equatable]
- flushbar 1.10.4 [flutter]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine]
- flutter_colorpicker 1.0.3 [flutter]
- flutter_custom_clippers 2.0.0 [flutter]
- flutter_dropzone 3.0.5 [flutter flutter_dropzone_platform_interface flutter_dropzone_web]
- flutter_easyloading 3.0.5 [flutter flutter_spinkit]
- flutter_form_builder 7.6.0 [flutter intl collection]
- flutter_geo_hash 0.0.4 [flutter]
- flutter_html 3.0.0-alpha.5 [html csslib collection numerus flutter]
- flutter_html_table 3.0.0-alpha.3 [flutter html flutter_html flutter_layout_grid]
- flutter_image_compress 1.1.2 [flutter]
- flutter_layout_grid 1.0.6 [flutter collection meta quiver]
- flutter_phoenix 1.1.0 [flutter]
- flutter_screenutil 5.5.4 [flutter]
- flutter_staggered_animations 1.1.1 [flutter]
- flutter_staggered_grid_view 0.6.2 [flutter]
- flutter_stripe 2.5.0 [flutter stripe_android stripe_ios stripe_platform_interface]
- flutter_stripe_web 0.1.4 [flutter flutter_web_plugins freezed_annotation stripe_platform_interface js]
- form_builder_extra_fields 8.3.0 [flutter flutter_form_builder flutter_chips_input flutter_colorpicker dropdown_search signature flutter_touch_spin intl flutter_typeahead flutt
er_datetime_picker_bdaya flutter_rating_bar]
- form_builder_validators 8.3.0 [flutter flutter_localizations intl]
- geocoding 2.0.5 [flutter geocoding_platform_interface]
- go_router 4.3.0 [collection flutter flutter_web_plugins logging meta]
- google_fonts 2.3.3 [flutter http path_provider crypto]
- google_geocoding 0.2.0 [flutter http]
- graphview 1.1.1 [flutter collection]
- hexcolor 2.0.7 [flutter flutter_web_plugins]
- hovering 1.0.4 [flutter]
- html_editor_enhanced 2.5.0 [flutter flutter_inappwebview visibility_detector flutter_keyboard_visibility flex_color_picker file_picker numberpicker pointer_interceptor pedanti
c meta]
- image_compression 1.0.3 [image mime path]
- image_picker 0.8.5+3 [flutter image_picker_android image_picker_for_web image_picker_ios image_picker_platform_interface]
- internet_file 1.2.0 [http path universal_file]
- json_annotation 4.6.0 [meta]
- json_serializable 6.3.1 [analyzer async build build_config collection json_annotation meta path pub_semver pubspec_parse source_gen source_helper]
- lottie 1.4.2 [archive flutter path vector_math]
- mapbox_gl 0.16.2 [flutter mapbox_gl_platform_interface mapbox_gl_web collection]
- marquee 2.2.3 [fading_edge_scrollview flutter]
- mime 1.0.2
- mime_type 1.0.0
- modal_bottom_sheet 2.1.2 [flutter]
- paginate_firestore 1.0.3+1 [flutter bloc flutter_bloc cloud_firestore provider]
- path_provider 2.0.11 [flutter path_provider_android path_provider_ios path_provider_linux path_provider_macos path_provider_platform_interface path_provider_windows]
- pdf 3.8.3 [archive barcode crypto image meta path_parsing vector_math xml]
- pdfx 2.2.0 [flutter flutter_web_plugins plugin_platform_interface js device_info_plus uuid meta extension synchronized universal_platform photo_view vector_math]
- percent_indicator 4.2.2 [flutter]
- photo_view 0.14.0 [flutter]
- pluto_grid 5.3.0 [flutter intl rxdart collection]
- pluto_grid_export 1.0.3 [flutter pluto_grid csv pdf printing]
- printing 5.9.2 [ffi flutter flutter_web_plugins http image js meta pdf plugin_platform_interface]
- provider 6.0.3 [collection flutter nested]
- rflutter_alert 2.0.4 [flutter]
- routemaster 0.9.5 [flutter flutter_web_plugins path collection]
- rxdart 0.27.5
- search_choices 2.1.1 [flutter]
- sentry_flutter 6.11.2 [flutter flutter_web_plugins sentry package_info_plus meta]
- settings_ui 2.0.2 [flutter]
- shared_preferences 2.0.15 [flutter shared_preferences_android shared_preferences_ios shared_preferences_linux shared_preferences_macos shared_preferences_platform_interface sh
ared_preferences_web shared_preferences_windows]
- simple_animations 3.2.0 [flutter supercharged flutter_lints]
- simple_speed_dial 0.1.7 [flutter]
- step_progress_indicator 1.0.2 [flutter]
- stripe_checkout 0.1.1 [flutter webview_flutter js freezed_annotation]
- syncfusion_flutter_datepicker 20.2.49 [flutter intl syncfusion_flutter_core]
- syncfusion_flutter_pdf 20.2.48 [flutter intl xml syncfusion_flutter_core crypto convert]
- syncfusion_flutter_pdfviewer 20.2.48-beta [flutter vector_math async http uuid intl syncfusion_pdfviewer_platform_interface syncfusion_pdfviewer_web syncfusion_pdfviewer_macos
 syncfusion_pdfviewer_windows syncfusion_flutter_core syncfusion_flutter_pdf url_launcher]
- universal_html 2.0.8 [async csslib charcode collection html meta source_span typed_data universal_io]
- url_launcher 6.1.5 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- video_player 2.4.7 [flutter html video_player_android video_player_avfoundation video_player_platform_interface video_player_web]
- webviewx 0.2.1 [flutter http path pointer_interceptor uuid webview_flutter]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection matcher material_color_utilities meta source_sp
an stream_channel string_scanner term_glyph]

dependency overrides:
- pointer_interceptor 0.9.1 [flutter]

transitive dependencies:
- _fe_analyzer_shared 47.0.0 [meta]
- _flutterfire_internals 1.0.6 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- adaptive_breakpoints 0.1.4 [flutter]
- analyzer 4.7.0 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- archive 3.3.1 [crypto path]
- args 2.3.1
- async 2.9.0 [collection meta]
- barcode 2.2.3 [meta qr]
- bloc 8.1.0 [meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- build 2.3.0 [analyzer async convert crypto glob logging meta path]
- build_config 1.1.0 [checked_yaml json_annotation path pubspec_parse yaml]
- build_daemon 3.1.0 [built_collection built_value http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 2.0.9 [analyzer async build crypto graphs logging path package_config pool pub_semver stream_transform yaml]
- build_runner_core 7.2.3 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pool timing watcher ya
ml]
- built_collection 5.1.1
- built_value 8.4.1 [built_collection collection fixnum meta]
- cached_network_image_platform_interface 1.0.0 [flutter flutter_cache_manager]
- cached_network_image_web 1.0.1 [flutter flutter_cache_manager cached_network_image_platform_interface]
- characters 1.2.1
- charcode 1.3.1
- checked_yaml 2.0.1 [json_annotation source_span yaml]
- clock 1.1.1
- cloud_firestore_platform_interface 5.8.3 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 3.0.3 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- cloud_functions_platform_interface 5.1.22 [firebase_core flutter meta plugin_platform_interface]
- cloud_functions_web 4.3.11 [cloud_functions_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- code_builder 4.2.0 [built_collection built_value collection matcher meta]
- collection 1.16.0
- convert 3.0.2 [typed_data]
- cross_file 0.3.3+1 [js meta]
- crypto 3.0.2 [typed_data]
- csslib 0.17.2 [source_span]
- dart_style 2.2.3 [analyzer args path pub_semver source_span]
- device_info_plus 4.0.0 [flutter device_info_plus_platform_interface device_info_plus_macos device_info_plus_linux device_info_plus_web device_info_plus_windows]
- device_info_plus_linux 2.1.1 [device_info_plus_platform_interface file flutter meta]
- device_info_plus_macos 2.2.3 [device_info_plus_platform_interface flutter]
- device_info_plus_platform_interface 2.6.1 [flutter meta plugin_platform_interface]
- device_info_plus_web 2.1.0 [device_info_plus_platform_interface flutter_web_plugins flutter]
- device_info_plus_windows 2.1.1 [device_info_plus_platform_interface ffi flutter win32]
- dynamic_color 1.4.0 [flutter flutter_test material_color_utilities]
- easy_logger 0.0.2 [flutter]
- equatable 2.0.5 [collection meta]
- extension 0.5.0
- fading_edge_scrollview 3.0.0 [flutter]
- fake_async 1.3.1 [clock collection]
- ffi 1.2.1
- file 6.1.4 [meta path]
- firebase_auth_platform_interface 6.11.0 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 5.1.0 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.5.2 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.0.1 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_storage_platform_interface 4.1.22 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.3.13 [_flutterfire_internals async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- fixnum 1.0.1
- flex_color_picker 2.5.0 [flutter material_color_utilities]
- flutter_bloc 8.1.1 [flutter bloc provider]
- flutter_blurhash 0.7.0 [flutter]
- flutter_cache_manager 3.3.0 [clock collection file flutter http path path_provider pedantic rxdart sqflite uuid]
- flutter_chips_input 2.0.0 [flutter]
- flutter_datetime_picker_bdaya 2.0.0 [flutter]
- flutter_dropzone_platform_interface 2.0.5 [flutter plugin_platform_interface]
- flutter_dropzone_web 3.0.8 [flutter flutter_web_plugins flutter_dropzone_platform_interface js]
- flutter_inappwebview 5.4.3+7 [flutter]
- flutter_keyboard_visibility 5.3.0 [meta flutter_keyboard_visibility_platform_interface flutter_keyboard_visibility_web flutter]
- flutter_keyboard_visibility_platform_interface 2.0.0 [flutter meta plugin_platform_interface]
- flutter_keyboard_visibility_web 2.0.0 [flutter_keyboard_visibility_platform_interface flutter_web_plugins flutter]
- flutter_lints 1.0.4 [lints]
- flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path vector_math]
- flutter_plugin_android_lifecycle 2.0.7 [flutter]
- flutter_rating_bar 4.0.1 [flutter]
- flutter_spinkit 5.1.0 [flutter]
- flutter_svg 1.1.4 [flutter meta path_drawing vector_math xml]
- flutter_touch_spin 2.0.0 [flutter intl]
- flutter_typeahead 4.1.0 [flutter flutter_keyboard_visibility]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- freezed_annotation 1.1.0 [collection json_annotation meta]
- frontend_server_client 2.1.3 [async path]
- geocoding_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- glob 2.1.0 [async collection file path string_scanner]
- graphs 2.1.0 [collection]
- html 0.15.0 [csslib source_span]
- http 0.13.5 [async http_parser meta path]
- http_multi_server 3.2.1 [async]
- http_parser 4.0.1 [collection source_span string_scanner typed_data]
- image 3.2.0 [archive meta xml]
- image_picker_android 0.8.5+2 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- image_picker_for_web 2.1.8 [flutter flutter_web_plugins image_picker_platform_interface]
- image_picker_ios 0.8.6 [flutter image_picker_platform_interface]
- image_picker_platform_interface 2.6.1 [cross_file flutter http plugin_platform_interface]
- infinite_listview 1.1.0 [flutter]
- intersperse 2.0.0
- intl 0.17.0 [clock path]
- io 1.0.3 [meta path string_scanner]
- js 0.6.4
- lints 1.0.1
- logging 1.0.2
- macos_ui 1.7.5 [flutter]
- mapbox_gl_dart 0.2.1 [js]
- mapbox_gl_platform_interface 0.16.0 [flutter meta]
- mapbox_gl_web 0.16.0 [flutter flutter_web_plugins meta mapbox_gl_platform_interface mapbox_gl_dart image]
- matcher 0.12.12 [stack_trace]
- material_color_utilities 0.1.5
- meta 1.8.0
- nested 1.0.0 [flutter]
- numberpicker 2.1.1 [flutter infinite_listview]
- numerus 1.1.1
- octo_image 1.0.2 [flutter flutter_blurhash]
- package_config 2.1.0 [path]
- package_info_plus 1.4.2 [flutter package_info_plus_platform_interface package_info_plus_linux package_info_plus_macos package_info_plus_windows package_info_plus_web]
- package_info_plus_linux 1.0.5 [package_info_plus_platform_interface flutter path]
- package_info_plus_macos 1.3.0 [flutter]
- package_info_plus_platform_interface 1.0.2 [flutter meta plugin_platform_interface]
- package_info_plus_web 1.0.6 [flutter flutter_web_plugins http meta package_info_plus_platform_interface]
- package_info_plus_windows 1.0.5 [package_info_plus_platform_interface ffi flutter win32]
- path 1.8.2
- path_drawing 1.0.1 [vector_math meta path_parsing flutter]
- path_parsing 1.0.1 [vector_math meta]
- path_provider_android 2.0.20 [flutter path_provider_platform_interface]
- path_provider_ios 2.0.11 [flutter path_provider_platform_interface]
- path_provider_linux 2.1.7 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_macos 2.0.6 [flutter path_provider_platform_interface]
- path_provider_platform_interface 2.0.4 [flutter platform plugin_platform_interface]
- path_provider_windows 2.0.7 [ffi flutter path path_provider_platform_interface win32]
- pedantic 1.11.1
- petitparser 5.0.0 [meta]
- platform 3.1.0
- plugin_platform_interface 2.1.3 [meta]
- pool 1.5.1 [async stack_trace]
- process 4.2.4 [file path platform]
- pub_semver 2.1.1 [collection meta]
- pubspec_parse 1.2.1 [checked_yaml collection json_annotation pub_semver yaml]
- qr 3.0.1 [meta]
- quiver 3.1.0 [matcher]
- sentry 6.11.2 [http meta stack_trace uuid intl]
- shared_preferences_android 2.0.12 [flutter shared_preferences_platform_interface]
- shared_preferences_ios 2.1.1 [flutter shared_preferences_platform_interface]
- shared_preferences_linux 2.1.1 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface]
- shared_preferences_macos 2.0.4 [flutter shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.1.0 [flutter plugin_platform_interface]
- shared_preferences_web 2.0.4 [flutter flutter_web_plugins shared_preferences_platform_interface]
- shared_preferences_windows 2.1.1 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- shelf 1.3.2 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 1.0.2 [shelf stream_channel web_socket_channel]
- signature 5.2.1 [flutter flutter_svg image]
- sky_engine 0.0.99
- source_gen 1.2.2 [analyzer async build dart_style glob meta path source_span yaml]
- source_helper 1.3.2 [analyzer collection source_gen]
- source_span 1.9.0 [collection path term_glyph]
- sqflite 2.0.3+1 [flutter sqflite_common path]
- sqflite_common 2.2.1+1 [synchronized path meta]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- stream_transform 2.0.0
- string_scanner 1.1.1 [source_span]
- stripe_android 2.5.0 [flutter]
- stripe_ios 2.5.0 [flutter]
- stripe_platform_interface 2.5.0+1 [flutter freezed_annotation json_annotation meta plugin_platform_interface]
- supercharged 2.1.1 [supercharged_dart flutter]
- supercharged_dart 2.1.1
- syncfusion_flutter_core 20.2.49 [vector_math flutter]
- syncfusion_pdfviewer_macos 20.2.48-beta [flutter syncfusion_pdfviewer_platform_interface]
- syncfusion_pdfviewer_platform_interface 20.2.48-beta [flutter plugin_platform_interface]
- syncfusion_pdfviewer_web 20.2.48-beta [flutter flutter_web_plugins js meta syncfusion_pdfviewer_platform_interface]
- syncfusion_pdfviewer_windows 20.2.48-beta [flutter]
- synchronized 3.0.0+3
- term_glyph 1.2.1
- test_api 0.4.12 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timing 1.0.0 [json_annotation]
- typed_data 1.3.1 [collection]
- universal_file 1.0.0 [meta]
- universal_io 2.0.4 [collection crypto meta typed_data]
- universal_platform 1.0.0+1
- url_launcher_android 6.0.17 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.0.17 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.0.1 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.0.1 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.1.0 [flutter plugin_platform_interface]
- url_launcher_web 2.0.13 [flutter flutter_web_plugins url_launcher_platform_interface]
- url_launcher_windows 3.0.1 [flutter url_launcher_platform_interface]
- uuid 3.0.6 [crypto]
- vector_math 2.1.2
- video_player_android 2.3.9 [flutter video_player_platform_interface]
- video_player_avfoundation 2.3.5 [flutter video_player_platform_interface]
- video_player_platform_interface 5.1.4 [flutter plugin_platform_interface]
- video_player_web 2.0.12 [flutter flutter_web_plugins video_player_platform_interface]
- visibility_detector 0.3.3 [flutter]
- wakelock 0.6.2 [flutter meta wakelock_macos wakelock_platform_interface wakelock_web wakelock_windows]
- wakelock_macos 0.4.0 [flutter flutter_web_plugins wakelock_platform_interface]
- wakelock_platform_interface 0.3.0 [flutter meta]
- wakelock_web 0.4.0 [flutter flutter_web_plugins js wakelock_platform_interface]
- wakelock_windows 0.2.0 [flutter wakelock_platform_interface win32]
- watcher 1.0.1 [async path]
- web_socket_channel 2.2.0 [async crypto stream_channel]
- webview_flutter 2.8.0 [flutter webview_flutter_android webview_flutter_platform_interface webview_flutter_wkwebview]
- webview_flutter_android 2.10.0 [flutter webview_flutter_platform_interface]
- webview_flutter_platform_interface 1.9.3 [flutter meta plugin_platform_interface]
- webview_flutter_wkwebview 2.9.3 [flutter path webview_flutter_platform_interface]
- win32 2.6.1 [ffi]
- xdg_directories 0.2.0+2 [meta path process]
- xml 6.1.0 [collection meta petitparser]
- yaml 3.1.1 [collection source_span string_scanner]

I can reproduce the issue using the plugin example modified to add the code from above.
iOS logs (truncated)
flutter: aggregatedQuerySnapshot: 1

Web log (truncated)
aggregatedQuerySnapshot: 3

In my database, I have 3 items/movies.
I filtered by the fantasy (there's only one fantasy entry) and iOS provided the correct result, whereas web returned the total items as stated above.
Labeling for further investigation

complete sample
// Copyright 2020, the Chromium project authors.  Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'package:triage/firebase_options.dart';
import 'package:triage/movie.dart';
import 'package:flutter/material.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:cloud_firestore/cloud_firestore.dart';

/// Requires that a Firestore emulator is running locally.
/// See https://firebase.flutter.dev/docs/firestore/usage#emulator-usage
bool USE_FIRESTORE_EMULATOR = false;

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);
  if (USE_FIRESTORE_EMULATOR) {
    FirebaseFirestore.instance.useFirestoreEmulator('localhost', 8080);
  }
  runApp(FirestoreExampleApp());
}

/// A reference to the list of movies.
/// We are using `withConverter` to ensure that interactions with the collection
/// are type-safe.
final moviesRef = FirebaseFirestore.instance.collection('firestore-example-app').withConverter<Movie>(
      fromFirestore: (snapshots, _) => Movie.fromJson(snapshots.data()!),
      toFirestore: (movie, _) => movie.toJson(),
    );

/// The different ways that we can filter/sort movies.
enum MovieQuery {
  year,
  likesAsc,
  likesDesc,
  score,
  sciFi,
  fantasy,
}

extension on Query<Movie> {
  /// Create a firebase query from a [MovieQuery]
  Query<Movie> queryBy(MovieQuery query) {
    switch (query) {
      case MovieQuery.fantasy:
        return where('genre', arrayContainsAny: ['Fantasy']);

      case MovieQuery.sciFi:
        return where('genre', arrayContainsAny: ['Sci-Fi']);

      case MovieQuery.likesAsc:
      case MovieQuery.likesDesc:
        return orderBy('likes', descending: query == MovieQuery.likesDesc);

      case MovieQuery.year:
        return orderBy('year', descending: true);

      case MovieQuery.score:
        return orderBy('score', descending: true);
    }
  }
}

/// The entry point of the application.
///
/// Returns a [MaterialApp].
class FirestoreExampleApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Firestore Example App',
      theme: ThemeData.dark(),
      home: Scaffold(
        body: Center(child: FilmList()),
        floatingActionButton: FloatingActionButton(onPressed: () async {
          // Query<Movie> query = moviesRef;
          AggregateQuerySnapshot aggregateQuerySnapshot = await moviesRef.queryBy(MovieQuery.fantasy).count().get();
          print(aggregateQuerySnapshot.count);
        }),
      ),
    );
  }
}

/// Holds all example app films
class FilmList extends StatefulWidget {
  const FilmList({Key? key}) : super(key: key);

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

class _FilmListState extends State<FilmList> {
  MovieQuery query = MovieQuery.year;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Column(
          mainAxisSize: MainAxisSize.min,
          crossAxisAlignment: CrossAxisAlignment.stretch,
          children: [
            const Text('Firestore Example: Movies'),

            // This is a example use for 'snapshots in sync'.
            // The view reflects the time of the last Firestore sync; which happens any time a field is updated.
            StreamBuilder(
              stream: FirebaseFirestore.instance.snapshotsInSync(),
              builder: (context, _) {
                return Text(
                  'Latest Snapshot: ${DateTime.now()}',
                  style: Theme.of(context).textTheme.caption,
                );
              },
            )
          ],
        ),
        actions: <Widget>[
          PopupMenuButton<MovieQuery>(
            onSelected: (value) => setState(() => query = value),
            icon: const Icon(Icons.sort),
            itemBuilder: (BuildContext context) {
              return [
                const PopupMenuItem(
                  value: MovieQuery.year,
                  child: Text('Sort by Year'),
                ),
                const PopupMenuItem(
                  value: MovieQuery.score,
                  child: Text('Sort by Score'),
                ),
                const PopupMenuItem(
                  value: MovieQuery.likesAsc,
                  child: Text('Sort by Likes ascending'),
                ),
                const PopupMenuItem(
                  value: MovieQuery.likesDesc,
                  child: Text('Sort by Likes descending'),
                ),
                const PopupMenuItem(
                  value: MovieQuery.fantasy,
                  child: Text('Filter genre Fantasy'),
                ),
                const PopupMenuItem(
                  value: MovieQuery.sciFi,
                  child: Text('Filter genre Sci-Fi'),
                ),
              ];
            },
          ),
          PopupMenuButton<String>(
            onSelected: (_) => _resetLikes(),
            itemBuilder: (BuildContext context) {
              return [
                const PopupMenuItem(
                  value: 'reset_likes',
                  child: Text('Reset like counts (WriteBatch)'),
                ),
              ];
            },
          ),
        ],
      ),
      body: StreamBuilder<QuerySnapshot<Movie>>(
        stream: moviesRef.queryBy(query).snapshots(),
        builder: (context, snapshot) {
          if (snapshot.hasError) {
            return Center(
              child: Text(snapshot.error.toString()),
            );
          }

          if (!snapshot.hasData) {
            return const Center(child: CircularProgressIndicator());
          }

          final data = snapshot.requireData;

          return ListView.builder(
            itemCount: data.size,
            itemBuilder: (context, index) {
              return _MovieItem(
                data.docs[index].data(),
                data.docs[index].reference,
              );
            },
          );
        },
      ),
    );
  }

  Future<void> _resetLikes() async {
    final movies = await moviesRef.get();
    WriteBatch batch = FirebaseFirestore.instance.batch();

    for (final movie in movies.docs) {
      batch.update(movie.reference, {'likes': 0});
    }
    await batch.commit();
  }
}

/// A single movie row.
class _MovieItem extends StatelessWidget {
  _MovieItem(this.movie, this.reference);

  final Movie movie;
  final DocumentReference<Movie> reference;

  /// Returns the movie poster.
  Widget get poster {
    return SizedBox(
      width: 100,
      child: Center(
        child: Image.network(movie.poster),
      ),
    );
  }

  /// Returns movie details.
  Widget get details {
    return Padding(
      padding: const EdgeInsets.only(left: 8, right: 8),
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          title,
          metadata,
          genres,
          Likes(
            reference: reference,
            currentLikes: movie.likes,
          )
        ],
      ),
    );
  }

  /// Return the movie title.
  Widget get title {
    return Text(
      '${movie.title} (${movie.year})',
      style: const TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
    );
  }

  /// Returns metadata about the movie.
  Widget get metadata {
    return Padding(
      padding: const EdgeInsets.only(top: 8),
      child: Row(
        children: [
          Padding(
            padding: const EdgeInsets.only(right: 8),
            child: Text('Rated: ${movie.rated}'),
          ),
          Text('Runtime: ${movie.runtime}'),
        ],
      ),
    );
  }

  /// Returns a list of genre movie tags.
  List<Widget> get genreItems {
    return [
      for (final genre in movie.genre)
        Padding(
          padding: const EdgeInsets.only(right: 2),
          child: Chip(
            backgroundColor: Colors.lightBlue,
            label: Text(
              genre,
              style: const TextStyle(color: Colors.white),
            ),
          ),
        )
    ];
  }

  /// Returns all genres.
  Widget get genres {
    return Padding(
      padding: const EdgeInsets.only(top: 8),
      child: Wrap(
        children: genreItems,
      ),
    );
  }

  @override
  Widget build(BuildContext context) {
    return Padding(
      padding: const EdgeInsets.only(bottom: 4, top: 4),
      child: Row(
        children: [
          poster,
          Flexible(child: details),
        ],
      ),
    );
  }
}

/// Displays and manages the movie 'like' count.
class Likes extends StatefulWidget {
  /// Constructs a new [Likes] instance with a given [DocumentReference] and
  /// current like count.
  Likes({
    Key? key,
    required this.reference,
    required this.currentLikes,
  }) : super(key: key);

  /// The reference relating to the counter.
  final DocumentReference<Movie> reference;

  /// The number of current likes (before manipulation).
  final int currentLikes;

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

class _LikesState extends State<Likes> {
  /// A local cache of the current likes, used to immediately render the updated
  /// likes count after an update, even while the request isn't completed yet.
  late int _likes = widget.currentLikes;

  Future<void> _onLike() async {
    final currentLikes = _likes;

    // Increment the 'like' count straight away to show feedback to the user.
    setState(() {
      _likes = currentLikes + 1;
    });

    try {
      // Update the likes using a transaction.
      // We use a transaction because multiple users could update the likes count
      // simultaneously. As such, our likes count may be different from the likes
      // count on the server.
      int newLikes = await FirebaseFirestore.instance.runTransaction<int>((transaction) async {
        DocumentSnapshot<Movie> movie = await transaction.get<Movie>(widget.reference);

        if (!movie.exists) {
          throw Exception('Document does not exist!');
        }

        int updatedLikes = movie.data()!.likes + 1;
        transaction.update(widget.reference, {'likes': updatedLikes});
        return updatedLikes;
      });

      // Update with the real count once the transaction has completed.
      setState(() => _likes = newLikes);
    } catch (e, s) {
      print(s);
      print('Failed to update likes for document! $e');

      // If the transaction fails, revert back to the old count
      setState(() => _likes = currentLikes);
    }
  }

  @override
  void didUpdateWidget(Likes oldWidget) {
    super.didUpdateWidget(oldWidget);
    // The likes on the server changed, so we need to update our local cache to
    // keep things in sync. Otherwise if another user updates the likes,
    // we won't see the update.
    if (widget.currentLikes != oldWidget.currentLikes) {
      _likes = widget.currentLikes;
    }
  }

  @override
  Widget build(BuildContext context) {
    return Row(
      children: [
        IconButton(
          iconSize: 20,
          onPressed: _onLike,
          icon: const Icon(Icons.favorite),
        ),
        Text('$_likes likes'),
      ],
    );
  }
}

Hello, thanks for the report, I'm looking into it


Compiler error on latest nightly rust

Do other people get this? Downloaded latest nightly before testing.
diesel_codegen-0.6.1/src/insertable.rs:86:46: 86:54 error: no associated item named `empty` found for type `syntax::ptr::P<_>` in the current scope
/home/rdodd/.multirust/toolchains/nightly/cargo/registry/src/github.com-88ac128001ac3a9a/diesel_codegen-0.6.1/src/insertable.rs:86         cx.typaram(span, str_to_ident("DB"), P::empty(), None),

I'm pretty sure that's fixed by #312, but it's not on crates.io yet.
Also, you should always use the nightly version that diesel_codegen uses (e.g., multirust update nightly-2016-04-08 && rustup override add nightly-2016-04-08).

Yes this was the reason for #312, I should have stated that was the error. Either work off of diesel master or use a nighty prior to 2016-04-25.

Thanksyou :+1:


"Number" field arrows are not visible and page reload or field save is not triggered on change

Wordpress 4.4, Kirki 2.0.4

Did you download the plugin from wordpress.org, or from github?
If you downloaded it from wordpress.org could you please try the version from github?
If it works with the github version and not the w.org version then perhaps there's something wrong with the SVN repository so I'll have to re-upload it there...

I just tried both, no difference.

Are you using Kirki as a plugin, or embedded in a theme?
If in a theme,could you please post your config (Kirki::add_config()) call here so that I may try to replicate this?

It is installed as a plugin,  but i'm using it for a theme that i'm working
on.
Here's the code
\Kirki::add_config('my_theme', [
'capability' => 'edit_theme_options',
'option_type' => 'theme_mod',
]);
\Kirki::add_section('testimonials', [
'title' => 'Testimonials list',
'priority' => 160,
'active_callback' => function () {
return is_post_type_archive('testimonial');
}
]);
\Kirki::add_field('my_theme', [
'type' => 'number',
'settings' => 'testimonials_per_page',
'label' => 'Number of testimonials per page',
'section' => 'testimonials',
'default' => 10
]);
On Sun, Dec 20, 2015, 20:11 Aristeides Stathopoulos <
<EMAIL_ADDRESS>wrote:

Are you using Kirki as a plugin, or embedded in a theme?
If in a theme,could you please post your config (Kirki::add_config())
call here so that I may try to replicate this?
—
Reply to this email directly or view it on GitHub
https://github.com/aristath/kirki/issues/534#issuecomment-166141916.

I think this was just fixed in the "develop" branch.
Can you please download it from https://github.com/aristath/kirki/tree/develop and let me know if that fixes it for you?

Good enough! Just minor styling issue with arrows.

Thanks you!

Yeah, I'm having some difficulty with those styles....
If you can help out with those I'd appreciate it, otherwise I'll keep trying to pretify them a bit. :+1:


updated add_ids to ensure unique ids and idx check

This pull request updates the add_ids() function to enhance its functionality by:

Ensuring that each generated ID starts with a non-zero digit.
Adding a check to verify that the DataFrame index is unique.
Printing a warning message if duplicate index entries are found.

These changes improve the robustness of the function, ensuring that the IDs generated are always unique and valid, and provide necessary feedback when the DataFrame index is not unique.
Changes Made
Check for Unique Indices:

Before generating IDs, the function now checks if the DataFrame index is unique.
If duplicates are found, a warning is printed along with the list of duplicate index entries.

Generate Non-Zero Starting IDs:

The ID generation process is updated to ensure that the first digit of each ID is always non-zero.

Ensure Unique IDs:

A set is used to store the generated IDs, ensuring all IDs are unique before adding them to the DataFrame.

Incredible work!


GSM (inside the mbed core) and GSM (standalone) have same library name

Describe the problem
User can access two libraries named GSM that are accessible from the IDE.

arduino/ArduinoCore-mbed/tree/main/libraries/GSM (inside the mbed core)
arduino-libraries/GSM (standalone)

This raises several concerns:

The name of both libraries (inside the core as well as the standalone) is the same, according to the first line of their respective library.properties files. -> name=GSM

The external library is retired, yet there is no indication this is so in any of the fields. The GSM standalone library has been archived, with the last release in August 2018 (over 5 years ago) yet is shows up as the first result when searching for GSM in the library manager

The internal GSM library in the mbed core, has no description apart from sentence=GSM wrapper.

If a non-mbed board is selected and both libraries are loaded, then #include "GSM.h" will select the standalone library. However, the standalone library only supports the avr platform.

To reproduce

Open the Arduino IDE
With a mbed board selected, click on File -> Examples. Noticed the GSM library included there

Go to the Library manager in the IDE. Search for GSM. This is the retired GSM library yet this is not mentioned

Expected behavior

The external library is marked as [RETIRED] or similar
There is a clear description of the scope (sentence and paragraph fields filled in) for the internal arduino/ArduinoCore-mbed/tree/main/libraries/GSM library
A alternative library is provided instead of the standalone GSM library for non mbed boards

Additional context
No response
Issue checklist

[X] I searched for previous reports in the issue tracker
[X] My report contains all necessary details

Hi @aliphys.

The external library is retired, yet there is no indication

This will be resolved by https://github.com/arduino/library-registry/pull/4556

The internal GSM library in the mbed core, has no description apart from sentence=GSM wrapper.

That is off topic for this repository. You can submit a pull request to the repository where that library is hosted:
https://github.com/arduino/ArduinoCore-mbed

If a non-mbed board is selected and both libraries are loaded, then #include "GSM.h" will select the standalone library.

This is off topic for this repository, it is also exactly how the Arduino sketch build system is designed to work. "Platform bundled" library are only discoverable by the sketch build system when a board of that platform is selected.

A alternative library is provided instead of the standalone GSM library for non mbed boards

Of course registration of such a library will be welcome, but the subject of creation of the library is off topic here.

That is off topic for this repository. You can submit a pull request to the repository where that library is hosted:
https://github.com/arduino/ArduinoCore-mbed

Thanks! Documented issue here -> https://github.com/arduino/ArduinoCore-mbed/issues/886

Done:
2024/05/23 14:47:52 Loaded 6939 libraries from DB
Success!


Modsecurity with LiteSpeed

I see the Modsec configuration works for apache and nginx.
https://github.com/crowdsecurity/hub/blob/master/parsers/s01-parse/crowdsecurity/modsecurity.yaml
It would be great if it could work with litespeed as well. Perhaps the easiest way to get this to work is to install the CyberPanel control panel which sets up modsec with just a button-click.
https://community.cyberpanel.net/docs?topic=82
https://community.cyberpanel.net/tag/modsecurity

Link to #719


format all date as UTC, with millisecond precision

fixes #588

@nicolasfranck weird that there are helper methods for second and nano, but not for milli


Mass distribution over different segments

Hi,
how do you calculate the distribution of the mass over the different segments? Did you use any reference from the literature?
The only thing the paper mentions is the total weight of the body, but no info about how you divided the total over the different segments

The masses of the different body parts are mainly ad hoc. We just looked up what the average mass of different body parts in the human body typically is and used those ballpark figures.

I see, thanks! I did the same but I found that some of that were a bit different so I wanted to double check.
What about the joint limits? Did you use a reference for those as well?

Sorry, I meant the max forces/effort applicable to each joint and the term kp for the PID controller when I said joint limits. Are they related in some way to the mass of the body parts?


MRG: Make inv["noise_cov"] a Covariance

Some refactoring to clean up Covariance instantiation and allow inv['noise_cov'] to be a Covariance instance. cc @nfoti
Ready for review/merge from my end.

that's it
thanks for cleaning up my mess :)

Thanks Eric!


chore(master): release 1.0.2

:robot: I have created a release beep boop
1.0.2 (2024-12-14)
Maintenance

add artifact upload to release (ed196ee)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Clasyc/notidock/releases/tag/v1.0.2 :sunflower:


Create test-project to test all use cases

Should perhaps have integration tests to test tool parameters... Might be solved using actions or part of build process? Cake Build?


Branding playbooks need to be grouped under a soluition.

@Jooho could you update the two Branding playbooks to be under a directory called branding?

This issue is solved @etsauer could you close it?

@Jooho I would like to get you added to the Contributors team (sent you an invite) so that I can assign you to this issue and give you credit. #ninja-points!

@Eric Thanks
2018-02-23 0:17 GMT-05:00 Eric Sauer<EMAIL_ADDRESS>
@Jooho https://github.com/jooho I would like to get you added to the
Contributors team (sent you an invite) so that I can assign you to this
issue and give you credit. #ninja-points!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/redhat-cop/openshift-toolkit/issues/30#issuecomment-367912515,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACQ-Db6LhkfwI1LWBBGwdig9h84OGs3qks5tXkn5gaJpZM4Qnea5
.


Migration to GDScript 2

Initial conversion

@angoo Thanks for submitted this PR. I hate to ask but can you do a little writeup on what this is for exactly, and any testing that you may have done. I can see this is for the Godot 4.X conversion.


Unclear what exactly is unsafe to call on the quill instance and what to do in that case

In the instance methods documentation it says:

getEditor() : Returns the Quill instance that backs the editor. While you can freely use this to access methods such as getText(), please avoid from imperatively manipulating the instance, to avoid getting ReactQuill and Quill out-of-sync. A much-safer unprivileged editor is available as replacement.

It is unclear to me from that documentation exactly what is safe and what is not. And for the cases that are not safe, I don't understand if those things cannot be done or if there is another way to get them done. For example, I'd like to have a button external to my editor that causes the contents of the editor to change. To keep the example simple, let's just say I want to insert some text. I need a quill instance to call quill.insertText on, but that method is not available on the unprivileged editor. Is there an alternate way to accomplish this?

wondering the same as @dmcquayps


feat: add request with proxy support for chatgpt

Hi, @transitive-bullshit
Thanks for mentioning the compatibility issue, I will take into consideration the different runtime environments and find the best solution for compatibility
Since this will take some time, I would like to close this pull request temporarily.


Block diagram for writing to Codec

Estimated time of completion : (3-4)h

Needs to add FSM diagram for future implementation


feat: Reduce the deviation generated by the qps Limiter.updateToken()…

针对#24 的PR

try to use above code to run  qps_limiter_test.go, it will display the following content
=== RUN    TestConLimiter --- PASS: TestConLimiter (1.35s) === RUN   TestLimiterWrapper --- PASS: TestLimiterWrapper (0.00s) === RUN   TestQpsLimiter --- FAIL: TestQpsLimiter (3.56s)     qps_limiter_test.go:70: 10000     qps_limiter_test.go:76: assertion failed === RUN   Test_calOnce --- PASS: Test_calOnce (0.00s) FAIL


Remove: Knex Cli as Global Deep

I was talking with @ErisDS today, and talk about create a script for db init to use knex-migrator as local deep! Here a little solution :metal:

This doesn't reflect the full range of options provided by knex-migrator. I'm happy to hear more opinions, but I think it's perfectly acceptable to require a global dependency here as it is for core contributors ONLY. People installing Ghost will need a different global dependency - ghost-cli.
We get complaints that the app is too monolithic, and now we've started splitting Ghost up we get complaints about global deps. We're literally never going to make everyone happy.

If we are back into engineering stuff, everyone know about how evil can be Global state hahaha I still thinking that are not a good ideia put many deeps on root machines. In python we have virtualenvs to wrap our environments. Django, for a example, not have a cli but a manege.py with all cli stuff inside. In node our closest approach for isolate development environments is use power of package.json to organizate scripts or use Docker as well :)
But is nice to discuss a little about this, how you say, knex have many options. This can be provide using yarn dbinit -- --flag.
Thx for attention :metal: