TypeError: Cannot read properties of undefined (reading 'reduce') at Generator.next ()

I just discovered your fork and needed the .hygen.cjs support but when executing hypergen ... inside my project it fails with the error from the title.
TypeError: Cannot read properties of undefined (reading 'reduce')
TypeError: Cannot read properties of undefined (reading 'reduce')
    at /home/pascal/.nvm/versions/node/v20.11.1/lib/node_modules/hypergen/dist/params.js:74:52
    at Generator.next (<anonymous>)
    at fulfilled (/home/pascal/.nvm/versions/node/v20.11.1/lib/node_modules/hypergen/dist/params.js:5:58)

@lewebsimple maaaan! Not sure how I missed the notification for this. So sorry for never getting back to you!
Looks like I messed up something there, but the issue seems to be in the findGenerators function returning undefined. Which should never happen.
I'll take a look at this soon.
And if you by any chance still remember any details on how to reproduce it,  let me know!
But I'm guessing install, add config and no generators, right?

I just figured out what the issue is. It happens when the project was not initialized yet and you try to generate a generator.
Until a fix is up, the workaround is:

Init  the project running hypergen init self at the root
Remove the init generator (sorry, another bug :/) rm -rf ./_templates/init
Generate your first generator with hypergen generator new MyGenerator


Export total count

Hi!
Can you export the total count as part of PageNumberPaginationMeta?
There's a working implementation for that in Sahid Miller's fork - here:
https://github.com/SahidMiller/prisma-extension-pagination/tree/feat/total-counts - I believe you can just merge it with main...
Thanks!

Thanks for suggestion! Added in 0.3.0

Thanks for suggestion! Added in 0.3.1

Thanks!


Test codejail on Python 3.11

This repository is a depedency of edx-platform and needs to be upgraded to Python 3.11 before
the Readwood release is cut (mid-April).

[ ] Requirements are compiled with Python 3.8
[ ] Tests are run on Python 3.8 and 3.11
[ ] (Optional) Tests are also run with 3.12 and passing or 3.12 issues are ticketed.
[ ] Classifiers in setup.py setup.cfg or pyproject.toml indicate Python 3.11 support
[ ] A new version is release to PyPI
[ ] A PR is merged to edx-platform to use the new version

This ticket will handle upgrading codejail itself to 3.11. As a follow-up, we will need to upgrade edx-platform's codejail execution environment (a.k.a. edx-sandbox) to Python 3.11/3.12: https://github.com/openedx/edx-platform/issues/34469

assign me

Hi @feanil, I would like to help on the 3.11 upgrade. If you are lacking on bandwidth I can take on this issue. Or if you need help somewhere else I can give a hand.

I was focusing on this one because I was recently appointed as maintainer for the codejail repo, so I would really like to one something related to it to get more familiar (even if it's not this specific task).
I do have a bit of experience running codejail (mostly k8s) so I would like to hear any recommendation on where I can help. (I can still check the credentials one, but literally have 0 experience with that service).

Ah, gotcha, @MoisesGSalas take a look at https://github.com/openedx/codejail/pull/167  please review.


Following sprite example getting errors

use bevy::prelude::*;

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .add_startup_system(setup)
        .run();
}

fn setup(mut commands: Commands) {
    commands.spawn(Camera2dBundle::default());
}

Error:
/Users/paspielka/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_ecs-0.8.1/src/system/commands/mod.rs:142:12
    |
142 |     pub fn spawn<'a>(&'a mut self) -> EntityCommands<'w, 's, 'a> {
    |            ^^^^^
help: remove the extra argument
    |
11  |     commands.spawn();
    |              ~~~~~~~

This is the example I'm following: https://github.com/bevyengine/bevy/blob/main/examples/2d/sprite.rs

You need to follow the example on latest. The main branch is ahead of 0.8 and has breaking changes.


Chatterbot Installation Error

C:\Windows\System32>pip install chatterbot
Collecting chatterbot
Using cached ChatterBot-1.0.5-py2.py3-none-any.whl (67 kB)
Collecting mathparse<0.2,>=0.1 (from chatterbot)
Using cached mathparse-0.1.2-py3-none-any.whl (7.2 kB)
Collecting nltk<4.0,>=3.2 (from chatterbot)
Using cached nltk-3.8.1-py3-none-any.whl.metadata (2.8 kB)
Collecting pint>=0.8.1 (from chatterbot)
Using cached Pint-0.23-py3-none-any.whl.metadata (8.1 kB)
Collecting pymongo<4.0,>=3.3 (from chatterbot)
Using cached pymongo-3.13.0.tar.gz (804 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 14, in
File "C:\Users\hp\AppData\Local\Programs\Python\Python312\Lib\site-packages\setuptools_init_.py", line 16, in
import setuptools.version
File "C:\Users\hp\AppData\Local\Programs\Python\Python312\Lib\site-packages\setuptools\version.py", line 1, in
import pkg_resources
File "C:\Users\hp\AppData\Local\Programs\Python\Python312\Lib\site-packages\pkg_resources_init_.py", line 2191, in
register_finder(pkgutil.ImpImporter, find_on_path)
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Getting this while installing Chatterbot, can anyone help me with this?

Looks like the python it used is older than what you have in your system.
I tried to install it today and when I did through github, it said that python 3.10 isn't in the supported range 3.4 till 3.8. To be honest I don't remember the lower limit, but it shows 3.8 as the max version supported

I've tried to use python version 3.6 but now it shows the following:
Traceback (most recent call last):
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\confection_init_.py", line 38, in
from pydantic.v1 import BaseModel, Extra, ValidationError, create_model
File "pydantic_init_.py", line 2, in init pydantic.init
File "pydantic\dataclasses.py", line 4, in init pydantic.dataclasses
import types
File "pydantic\error_wrappers.py", line 4, in init pydantic.error_wrappers
File "pydantic\json.py", line 12, in init pydantic.json
File "pydantic\types.py", line 28, in init pydantic.types
yield
File "pydantic\validators.py", line 9, in init pydantic.validators
ImportError: cannot import name Deque
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:/Users/billy/Chatbot.py", line 1, in
from chatterbot import ChatBot
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\chatterbot_init_.py", line 4, in
from .chatterbot import ChatBot
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\chatterbot\chatterbot.py", line 2, in
from chatterbot.storage import StorageAdapter
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\chatterbot\storage_init_.py", line 1, in
from chatterbot.storage.storage_adapter import StorageAdapter
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\chatterbot\storage\storage_adapter.py", line 3, in
from chatterbot.tagging import PosLemmaTagger
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\chatterbot\tagging.py", line 3, in
import spacy
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\spacy_init_.py", line 6, in
from .errors import setup_default_warnings
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\spacy\errors.py", line 3, in
from .compat import Literal
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\spacy\compat.py", line 4, in
from thinc.util import copy_array
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\thinc_init_.py", line 5, in
from .config import registry
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\thinc\config.py", line 2, in
import confection
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\confection_init_.py", line 42, in
from pydantic import BaseModel, create_model, ValidationError, Extra  # type: ignore
File "pydantic_init_.py", line 2, in init pydantic.init
File "pydantic\dataclasses.py", line 4, in init pydantic.dataclasses
import types
File "pydantic\error_wrappers.py", line 4, in init pydantic.error_wrappers
File "pydantic\json.py", line 12, in init pydantic.json
File "pydantic\types.py", line 26, in init pydantic.types
ImportError: cannot import name errors

Python 3.7.9 is the only functional version for this library now

I've successfully used it with Python 3.10 after making some modifications for compatibility. To get started, clone my forked repository, create a virtual environment, and then install the package using pip install ..


Get helm charts working from GitHub

Create a new GitHub repo for managing helm charts.
Suggest creating malariagen/jupyterhub-helm-chart repo, copying the pangeo/helm-chart setup (using travis and chartpress to build the charts, and using github pages to host the chart repository).

You need to include the version number of the helm chart you are installing
helm --debug install malariagen/malariagen  --version=v0.0.0-1  --name=jupyter -f secret-config.yaml

Discussed today, @slejdops has the helm charts working from his own repo, via a manual build process. Next step to migrate the helm charts into a malariagen repo, and get the CI set up to build and deploy the charts.

Malariagen helm charts are here https://malariagen.github.io/helm-charts/
and built by travis

Awesome!
On Wed, 20 Jun 2018, 08:35 slejdops<EMAIL_ADDRESS>wrote:

Malariagen helm charts are here https://malariagen.github.io/helm-charts/
and built by travis
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/malariagen/jupyterhub/issues/12#issuecomment-398733003,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAq8QtU0z2vY9Suq5rVYKBpTmPLIi-w3ks5t-kGFgaJpZM4UGybu
.


[Bug] IRpcClient not work

Describe the bug
IRpcClient rpcClient = ClientFactory.GetClient(Cluster.TestNet);
***not work
var balance = rpcClient.GetBalance(wallet.Account.PublicKey);
To Reproduce
Steps to reproduce the behavior:
var wallet = new Wallet(WordCount.TwentyFour, WordList.English);
    Console.WriteLine("Hello World!");
    Console.WriteLine($"Mnemonic: {wallet.Mnemonic}");
    Console.WriteLine($"PubKey: {wallet.Account.PublicKey.Key}");
    Console.WriteLine($"PrivateKey: {wallet.Account.PrivateKey.Key}");

    IRpcClient rpcClient = ClientFactory.GetClient(Cluster.TestNet);

*****not work
var balance = rpcClient.GetBalance(wallet.Account.PublicKey);

Can you be more specific about the error?

I have create new project to vs2022. Net 6.0 and I have copy the code. When I set debuf on line to get a balance the system go to the loop. Inviato dal mio telefono HONOR-------- Messaggio originale --------Da: hoak @.>Data: lun 27 dic 2021, 19:51A: bmresearch/Solnet @.>Cc: Intekai @.>, Author @.>Oggetto: Re: [bmresearch/Solnet] [Bug] IRpcClient not work (Issue #278)
Can you be more specific about the error?
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.***>

view this image when i debug this line the system go to loop

With Blazor you need to use the *Async functions, the non-asyncs won't work.
var balance = await rpcClient.GetBalanceAsync(wallet.Account.PublicKey);


Update context and related text

Also updates examples to be closer to the current version of the spec

I'm going to go ahead and merge this as we're moving forward fast right now (and while it should be double-checked, that'll be true even if checked before merging, so there's low value in waiting)


Two Links in HTTP/Webhook binding documentation navigate to 404 not found

Environment URL: functions-next.azure.com
Please refer to below snapshot:

This issue was moved to Azure/azure-webjobs-sdk-templates#422


Schema is incorrect

Hello, the schema https://docs.microsoft.com/en-us/azure/azure-stack/media/azure-stack-integrate-dns/integrate-dns-01.png is incorrect :

Name servers are azs-ns01/ns02 and not azs-Dns01/Dns02 (the D should be removed)
forwarded zone should be the same as in the text (east.cloud.fabrikam.com and not sea.azurestack.external)
another zone should be included in the ns01/ns02 servers : east.cloudapp.cloud.fabrikam.com)

Please update it to match the rest of the doc.

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

ID: 4cf7c779-041d-a232-b441-b769be1aaa67
Version Independent ID: 620aa3f3-4351-5ad3-996e-38140d50f108
Content: Azure Stack datacenter integration - DNS
Content Source: articles/azure-stack/azure-stack-integrate-dns.md
Service: azure-stack
GitHub Login: @jeffgilb
Microsoft Alias: jeffgilb

@jbpaux Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.


Realm: scalable machine config broadcast

Realm currently uses an all-to-all communication pattern to implement the announcements which share the machine config between nodes. This is (a) potentially a startup performance issue, and (b) causes freezes on certain networks such as Slingshot 11 that struggle with "nonscalable" communications.
Point (b) is currently resulting in a freeze on Frontier at 600+ nodes, which leaves multiple ranks stuck at this line:
https://github.com/StanfordLegion/legion/blob/d4cef06c68574f1089e5cb7d1eebe4a6b16b9bac/runtime/realm/runtime_impl.cc#L1910
I will pursue other ways to work around this on the network side, but it would be best if we can simultaneously work on improving this in Realm.

This potentially can overlap with us working on a "scalable" barrier tree broadcast now

Yeah, our current mechanism for doing the announcements within realm is to issue a message for each memory, affinity, and processor to each rank for the application.  This can easily be O(n^2) messages pending before we get around to receiving them from the receive buffer.  I'm not sure how gasnetex handles this.  One easy solution is to forego the use of active messages entirely in the announcement stage of Realm's initialization and instead just batch up the information and let the network backend do an all_gather on the data, or just do N broadcasts for this data.  This would greatly simplify the announcement code.  We could regain any overlap by using the asynchronous paths for allgather/broadcast.
I'll try prototyping this locally and see what happens.  I could use any pointers on how to perform an all_gather in gasnet1 and gasnetex though.

I could use any pointers on how to perform an all_gather in gasnet1 and gasnetex though.

There's definitely no all-gather in gasnet1. Parts of the extended API probably have what you want for doing bulk puts/gets, but you'll need to do the "butterfly" yourself with those point-to-point operations. The new GASNetEx API has the concepts of teams for doing collective operations. I don't think they have an all-gather primitive for teams though yet, although I could have just missed it.

Looks like all network modules have the implementation of bcast and gather https://gitlab.com/StanfordLegion/legion/-/blob/master/runtime/realm/gasnet1/gasnet1_module.cc#L746-758. If they are optimized, maybe we can simply do:
gather(root=0, value)
bcast(root=0, value)

Hm, the issue is that each rank could have a very different number of things to broadcast to all the other ranks (the size of 'value' is not fixed across all ranks), so a simple "gather(root=0, value); bcast(root=0, value);" wouldn't be enough.
Maybe instead, we could send direct messages to the root and have the root collect them and broadcast the entire bundle out to everyone (likely in several pieces at a time probably since MPI limits the buffer to 2^31 bytes)?  That would reduce the number of messages from O(n^2) to O(n*k) where k is the number of pieces at least?  This would be idea #1.
The other idea is to do 2*N bcasts() of the size and then data for each node, but I worry the extra synchronization for each broadcast for each node will be prohibitively slow.  This would be idea #2
The last idea is to try to pick a part the various ActiveMessage::commit implementations and provide a way to recognize when all peers in the target network module are being sent to and do an broadcast here.  The issue with that is the ActiveMessage::commit functions are pretty complex for gasnet1 and gasnetex, it would take a fairly large effort to even understand what's going on here, let alone try to modify it for this optimization I think.  Even if we decided to do it, this optimization path would only really be triggered for the announcement during initialization, where we have to wait for all the data anyway (we currently spin wait for it), so hte asynchronous nature of the ActiveMessage is somewhat lost.  This would be idea #3.
Right now, I'm kind of leaning on idea #1, just accumulate all the active messages that we already have to Realm's node 0, then broadcast the accumulated active message out to everyone.  It modifies the fewest code paths I think, since I can reuse the active message paths we already have.

I admit I don't appreciate the complexities here, but I thought the hypercube algorithm for all-gather is well understood. What's the roadblock to implementing it?
There's a set of lecture slides that describe it, starting at slide 21 (though it refers back to other material introduced in the slides): https://cseweb.ucsd.edu/classes/fa12/cse260-b/Lectures/Lec14.pdf

Here's a paper that describes two common algorithms for all-gather (see Section 4.1): https://web.cels.anl.gov/~thakur/papers/ijhpca-coll.pdf

@elliottslaughter like I mentioned, the items for each node are not necessarily of uniform size, which I think makes this a little more complex since you need to first send the total size to the receiver before sending the buffer for each step of whatever algorithm we do, and we can't just send a fixed very large sized buffer because we don't know how big is "big enough" without even more communication between nodes and we could also be sending a lot more than we need.  I was trying to leverage the networking module's bcast and gather functions as much as possible in order to rely on their implementation to "do the right thing" instead of having to implement the algorithm ourselves, since some algorithms are more suited to specific topologies over others (for example, shared memory vs. NIC messages).

@muraj I feel like #1 might be better. Assuming the bottleneck of Frontier is 1-to-N, then as long as the bcast from network is not using the flat tree algorithm, we won't hit the case of 1-to-N.
BTW, gatherv is able to handle uniform size buffer, but not sure if gasnet/gasnetex has a gatherv implementation.

Yeah, I was thinking about using all_gatherv, but I didn't see anything similar, and since we had to implement our own gather using broadcast for gasnetex, and because this is specifically a gasnetex reported issue, I wanted to make sure I had an algorithm in place for it.

This has been implemented and is available today, with proper fallbacks in place.  Moving this to closed, please re-open if there are additional items necessacary.


Github action release

multiarch release

for x86_64-unknown-linux-musl kn builds but fails when run on linux. Also it's not statically linked.
[home@home knkx]$ kn
Segmentation fault (core dumped)

[home@home knkx]$ ldd /usr/local/bin/kn
        linux-vdso.so.1 (0x00007f0659ca3000)
        libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007f0659882000)
        libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007f0659594000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f065938a000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f0659370000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f0659ca5000)

CI created https://github.com/koolwithk/kx-kn-rust/blob/main/.github/workflows/release.yml but id does not support all arch.


updated link to Docker Cloud and surrounding text

Proposed changes
Updated the link the Docker Cloud dashboard because the one on the docs site was giving me a 404 (see https://docs.docker.com/docker-cloud/getting-started/connect-infra/#/link-to-a-cloud-service-provider).
I also re-worded the text in that paragraph to better match what I'm seeing on the Cloud login page and my dashboard.  (If you don't like any of this feel free to reject it :-) I've been going through the Cloud docs to learn about Cloud and follow along with the tutorials, so these copyedits are incidental to that. The docs look great really .. quite beautiful.)
Please take a look
@sanscontext
Signed-off-by: Victoria Bialas<EMAIL_ADDRESS>

Deploy preview processing.
Built with commit 746e820cbcc49b5db94274b39877984cad5f1dc1
https://app.netlify.com/sites/docker-docs/deploys/5825301fd6865d56cbeef3a9

Deploy preview processing.
Built with commit 746e820cbcc49b5db94274b39877984cad5f1dc1
https://app.netlify.com/sites/docker-docs/deploys/5825301f71e20a307ce0db20

@sanscontext cool! I deleted that second sentence re: logging on. As soon as you approve, I can merge, or you can :-)


poc(ktable): data caching and useSwrvState fixes

Summary
Properly determine and load data from swrv's cache when possible to prevent unnecessary loading states.
Also resolves issues with useSwrvStates data and logic
PR Checklist

[ ] Does not introduce dependencies
[ ] Functional: all changes do not break existing APIs and if so, bump major version.
[ ] Tests pass: check the output of yarn test
[ ] Naming: the files and the method and prop variables use the same naming conventions as other Kongponents
[ ] Framework style: abides by the essential rules in Vue's style guide
[ ] Cleanliness: does not have formatting issues, unused code (e.g., console.logs, debugger), or leftover comments
[ ] Docs: includes a technically accurate README, uses JSDOC where appropriate

This PR was the result of a POC/pairing session; implemented in https://github.com/Kong/kongponents/pull/1338


Add clang tidy

Implement #83
Point to discuss:
[ ] Are you ok to deactivate some cheks as the magic numbers for the tests ?

@Klaim it's about using or not magic number: number not associated with a variable


Quasar QInput and slot classified as none JSX Components

I guess I have a similar problem, at least in some cases. With Quasar.
'__VLS_39' cannot be used as a JSX component.
  Its instance type 'QInput' is not a valid JSX element.ts(2786)
(property) 'q-input': ComponentConstructor<QInput, any, any, any, ComputedOptions, MethodOptions>

Originally posted by @sschneider-ihre-pvs in https://github.com/johnsoncodehk/volar/issues/552#issuecomment-933256898

simple slot tag
JSX element type '__VLS_23' does not have any construct or call signatures.ts(2604)

QInput trace
[Trace - 10:24:05] Sending request 'textDocument/codeAction - (99)'.
Params: {
    "textDocument": {
        "uri": "file:///<path>.vue"
    },
    "range": {
        "start": {
            "line": 13,
            "character": 10
        },
        "end": {
            "line": 13,
            "character": 10
        }
    },
    "context": {
        "diagnostics": [
            {
                "range": {
                    "start": {
                        "line": 13,
                        "character": 8
                    },
                    "end": {
                        "line": 13,
                        "character": 15
                    }
                },
                "message": "'__VLS_39' cannot be used as a JSX component.\n  Its instance type 'QInput' is not a valid JSX element.",
                "code": 2786,
                "severity": 1,
                "source": "ts"
            }
        ]
    }

@ilcallo


Add pattern method for AST::InPatternNode

This PR adds pattern method for AST::InPatternNode.

Thanks! Release in 1.7.0 👍


in _parse_tables: ValueError: No tables found

Hi Dominik,
having a bit of trouble classifying ASVs in the following file:
COI_cluster_reps_lulu_curated.txt
Boldigger2 is running fine for a while until this error happens (shown are the last lines of the error output file, including the entire error part):
Downloading top 100 hits:  77%|███████▋  | 1321/1723 [5:10:45<3:08:34, 37.16s/it]
Down
Downloading top 100 hits
                             %|███████▋  | 1326/1723 [5:11:37<1:27:54, 13.29s/it]
Downloading top 100 hits:  77%|███████▋  | 1327/1723 [5:12:01<1:13:22, 11.12s/it]
Downloading top 100 hits:  77%|███████▋  | 1329/1723 [5:12:21<1:32:36, 14.10s/it]
Traceback (most recent call last):
  File "/home/naurasd/.local/bin/boldigger2", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/naurasd/.local/lib/python3.12/site-packages/boldigger2/__main__.py", line 87, in main
    id_engine_coi.main(
  File "/home/naurasd/.local/lib/python3.12/site-packages/boldigger2/id_engine_coi.py", line 544, in main
    asyncio.run(
  File "/sw/comp/python3/3.12.1/rackham/lib/python3.12/asyncio/runners.py", line 194, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/sw/comp/python3/3.12.1/rackham/lib/python3.12/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/sw/comp/python3/3.12.1/rackham/lib/python3.12/asyncio/base_events.py", line 684, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/home/naurasd/.local/lib/python3.12/site-packages/boldigger2/id_engine_coi.py", line 385, in as_session
    return await tqdm_asyncio.gather(*tasks, desc="Downloading top 100 hits")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/naurasd/.local/lib/python3.12/site-packages/tqdm/asyncio.py", line 79, in gather
    res = [await f for f in cls.as_completed(ifs, loop=loop, timeout=timeout,
           ^^^^^^^
  File "/sw/comp/python3/3.12.1/rackham/lib/python3.12/asyncio/tasks.py", line 631, in _wait_for_one
    return f.result()  # May raise f.exception().
           ^^^^^^^^^^
  File "/home/naurasd/.local/lib/python3.12/site-packages/tqdm/asyncio.py", line 76, in wrap_awaitable
    return i, await f
              ^^^^^^^
  File "/home/naurasd/.local/lib/python3.12/site-packages/boldigger2/id_engine_coi.py", line 351, in limit_concurrency
    return await as_request(
           ^^^^^^^^^^^^^^^^^
  File "/home/naurasd/.local/lib/python3.12/site-packages/boldigger2/id_engine_coi.py", line 226, in as_request
    response_table = pd.read_html(
                     ^^^^^^^^^^^^^
  File "/home/naurasd/.local/lib/python3.12/site-packages/pandas/io/html.py", line 1240, in read_html
    return _parse(
           ^^^^^^^
  File "/home/naurasd/.local/lib/python3.12/site-packages/pandas/io/html.py", line 1003, in _parse
    raise retained
  File "/home/naurasd/.local/lib/python3.12/site-packages/pandas/io/html.py", line 983, in _parse
    tables = p.parse_tables()
             ^^^^^^^^^^^^^^^^
  File "/home/naurasd/.local/lib/python3.12/site-packages/pandas/io/html.py", line 249, in parse_tables
    tables = self._parse_tables(self._build_doc(), self.match, self.attrs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/naurasd/.local/lib/python3.12/site-packages/pandas/io/html.py", line 598, in _parse_tables
    raise ValueError("No tables found")
ValueError: No tables found

Here are the last 4 line sof the output file:
07:22:38: Downloaded top 100 species level records for ASV3538
07:22:44: Downloaded top 100 species level records for ASV1775
07:23:01: Downloaded top 100 species level records for ASV1232
07:23:21: Downloaded top 100 species level records for ASV1099

I really have no clue what is going on here. Any help appreciated.
Thanks a salways for your hard work!
Nauras

Boldigger2 trys to fetch the top 100 table from the HTML that is returned
by bold. Sometimes there is (so far I don't get the reason) no table, even
though parsable HTML is returned. I will look into this, would love to know
for which sequence this happens, however since they are random it is kind
of hard to find out. I will have to write a temporary fix that just writes
the otu und HTML into a file to find out what is going on there. I think
restarting solve the issue, making it even stranger, since it does not seem
to be a problem on bolds end nor with the code, but just random
behavior.... Can you send me your download links file, so I have a starting
point?
naurasd @.***> schrieb am Do., 4. Juli 2024, 00:44:

Hi Dominik,
having a bit of trouble classifying ASVs in the following file:
COI_cluster_reps_lulu_curated.txt
https://github.com/user-attachments/files/16091371/COI_cluster_reps_lulu_curated.txt
Boldigger2 is running fine for a while until this error happens (shown are
the last lines of the error output file, including the entire error part):
Downloading top 100 hits:  77%|███████▋  | 1321/1723 [5:10:45<3:08:34, 37.16s/it]
Down
Downloading top 100 hits
%|███████▋  | 1326/1723 [5:11:37<1:27:54, 13.29s/it]
Downloading top 100 hits:  77%|███████▋  | 1327/1723 [5:12:01<1:13:22, 11.12s/it]
Downloading top 100 hits:  77%|███████▋  | 1329/1723 [5:12:21<1:32:36, 14.10s/it]
Traceback (most recent call last):
File "/home/naurasd/.local/bin/boldigger2", line 8, in
sys.exit(main())
^^^^^^
File "/home/naurasd/.local/lib/python3.12/site-packages/boldigger2/main.py", line 87, in main
id_engine_coi.main(
File "/home/naurasd/.local/lib/python3.12/site-packages/boldigger2/id_engine_coi.py", line 544, in main
asyncio.run(
File "/sw/comp/python3/3.12.1/rackham/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/sw/comp/python3/3.12.1/rackham/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/sw/comp/python3/3.12.1/rackham/lib/python3.12/asyncio/base_events.py", line 684, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/naurasd/.local/lib/python3.12/site-packages/boldigger2/id_engine_coi.py", line 385, in as_session
return await tqdm_asyncio.gather(*tasks, desc="Downloading top 100 hits")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/naurasd/.local/lib/python3.12/site-packages/tqdm/asyncio.py", line 79, in gather
res = [await f for f in cls.as_completed(ifs, loop=loop, timeout=timeout,
^^^^^^^
File "/sw/comp/python3/3.12.1/rackham/lib/python3.12/asyncio/tasks.py", line 631, in _wait_for_one
return f.result()  # May raise f.exception().
^^^^^^^^^^
File "/home/naurasd/.local/lib/python3.12/site-packages/tqdm/asyncio.py", line 76, in wrap_awaitable
return i, await f
^^^^^^^
File "/home/naurasd/.local/lib/python3.12/site-packages/boldigger2/id_engine_coi.py", line 351, in limit_concurrency
return await as_request(
^^^^^^^^^^^^^^^^^
File "/home/naurasd/.local/lib/python3.12/site-packages/boldigger2/id_engine_coi.py", line 226, in as_request
response_table = pd.read_html(
^^^^^^^^^^^^^
File "/home/naurasd/.local/lib/python3.12/site-packages/pandas/io/html.py", line 1240, in read_html
return _parse(
^^^^^^^
File "/home/naurasd/.local/lib/python3.12/site-packages/pandas/io/html.py", line 1003, in _parse
raise retained
File "/home/naurasd/.local/lib/python3.12/site-packages/pandas/io/html.py", line 983, in _parse
tables = p.parse_tables()
^^^^^^^^^^^^^^^^
File "/home/naurasd/.local/lib/python3.12/site-packages/pandas/io/html.py", line 249, in parse_tables
tables = self._parse_tables(self._build_doc(), self.match, self.attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/naurasd/.local/lib/python3.12/site-packages/pandas/io/html.py", line 598, in _parse_tables
raise ValueError("No tables found")
ValueError: No tables found
Here are the last 4 line sof the output file:
07:22:38: Downloaded top 100 species level records for ASV3538
07:22:44: Downloaded top 100 species level records for ASV1775
07:23:01: Downloaded top 100 species level records for ASV1232
07:23:21: Downloaded top 100 species level records for ASV1099
I really have no clue what is going on here. Any help appreciated.
Thanks a salways for your hard work!
Nauras
—
Reply to this email directly, view it on GitHub
https://github.com/DominikBuchner/BOLDigger2/issues/15, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJH6ILAFBJ2RFDRS4DMRZHDZKR5DDAVCNFSM6AAAAABKKNRUXWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4DSNRRGE3DMMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

To give a more concise answer, since I'm fully awake now: This is a tough nut to crack so this will take a bit more time for me.
It appears that there are different reasons for this no tables found error so I have a few options:

I could just retry if there is no table to be found --> might end up looping infinitely if there actually is no table, and this was sometimes the case for boldigger-cline, which you might remember. I'd like to avoid this infinite loops as best as possible.
I could skip the sequence --> if your internet connection / the BOLD server breaks down, this will lead to data loss

So: Both "quick and dirty" fixes are too dangerous to just be applied. I'll have to go search for the actual cause, to tailor a solution that just captures this exception and nothing else. Since the error seems to appear at random this naturally takes some time. But I'll get there with the help of the users :)
TLDR: For your data, simply restarting may very well fix the issue, while I'm looking for a solution.

thanks for the reply in the early morning hours ;-)
have sent you the download links files via email.
Nauras

Fixed with 2.0.0

Unfortunately, this is not fixed with 2.0.1 (and python/3.12.1).
All files attached as txt files for you to reproduce the issue:
Fasta file:
COI_cluster_reps_lulu_curated.txt
h5.lz file:
sent to you via wetransfer, file size too large
Job error and output files:
digger_error.txt
digger_output.txt

So it's still the additional data download that simply fails?
naurasd @.***> schrieb am Mi., 31. Juli 2024, 17:51:

Unfortunately, this is not fixed with 2.0.1 (and python/3.12.1).
All files attached as txt files for you to reproduce the issue:
Fasta file:
COI_cluster_reps_lulu_curated.txt
https://github.com/user-attachments/files/16444233/COI_cluster_reps_lulu_curated.txt
h5.lz file:
sent to you via wetransfer, file size too large
Job error and output files:
digger_error.txt
https://github.com/user-attachments/files/16444245/digger_error.txt
digger_output.txt
https://github.com/user-attachments/files/16444249/digger_output.txt
—
Reply to this email directly, view it on GitHub
https://github.com/DominikBuchner/BOLDigger2/issues/15#issuecomment-2260843080,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJH6ILBVNVRE4FZYER3V5NDZPEBZNAVCNFSM6AAAAABKKNRUXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRQHA2DGMBYGA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Fixed with 2.0.3

amazing, thanks!


TypeScript quick fix (import suggestion) isn't working

Issue Type: Bug

Add a reference that exists as an export of another file, without importing reference in the file.

Expected: Lightbulb pops on click that offers suggestions on where to import from.
Actual: Nothing.
VS Code version: Code - Insiders 1.24.0-insider (d29620f2ba89327f51bb6fb2f05dfdd65e2fcafe, 2018-05-07T08:55:27.483Z)
OS version: Windows_NT x64 10.0.16299

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (8 x 3600)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: enabledvideo_encode: enabledvpx_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
31.79GB (16.74GB free)

Process Argv
C:\Program Files\Microsoft VS Code Insiders\Code - Insiders.exe

Screen Reader
no

VM
0%

Extensions (12)

Extension
Author (truncated)
Version

snapshot-tools
asv
0.0.7

bracket-pair-colorizer
Coe
1.0.48

gitlens
eam
8.2.4

tslint
eg2
1.0.28

prettier-vscode
esb
1.3.1

sort-typescript-imports
mic
1.4.1

csharp
ms-
1.14.0

debugger-for-chrome
msj
4.4.3

polacode
pnp
0.2.2

project-snippets
reb
0.5.0

vscode-icons
rob
7.23.0

vscode-todo-highlight
way
0.5.12

(3 theme extensions excluded)

Please share some example code and a description of your project structure

It's the OWA code base. A simple example is 2 TS files that live in the same directory. 1 file has an exported const. I attempt to use that export in the other TS file. Before I updated today, clicking on the import name would pop the lightbulb and ask me if I want to import. Now it doesn't do anything.

Please create a small example project that demonstrates this problem. Sorry but I'm not  building owa

No, the example in the vscode code base was helpful but the original issue was not actionable as filed. In the future, please provide a list of steps that anyone can follow to reproduce the problem.  You can find some suggestions for filing good issues here: https://github.com/Microsoft/vscode/blob/master/CONTRIBUTING.md#writing-good-bug-reports-and-feature-requests
The issue with IUserFriendlyKeybinding is that it is an interface. You get the suggestion if you use implements instead:

We probably should show the import quick fix too. I've opened https://github.com/Microsoft/TypeScript/issues/23945 to track this. Does this sound like the same root cause as the problem you were seeing?

Is there a new setting that needs to be enabled for this to work? I went back to the example I provided (using your code) and it still doesn't work for me on the version I'm on.
Here are my settings that would have any affect on this (I think). The rest are defaults.

Same root cause as #49350. Will be fixed in the next insiders release

Yep. Thanks.


internetsube.qnbfi.com

@adguard-bot commented on Tue Jan 03 2023
Issue URL (Incorrect Blocking)
https://internetsube.qnbfi.com/#!/
Comment

DNS korumayı açtığımda site verilerini alamıyorum. Veri gelişi kesiliyor. Ekran donuyor.
I can't get site data when I turn on DNS protection. Data inbound is interrupted. Screen is freezing.

Screenshots

Screenshot 1

Screenshot 2

System configuration

Information
value

AdGuard product:
AdGuard for Windows v7.12+Beta+1

Browser:
Edge

AdGuard driver:
TDI

Stealth mode options:
Hide your search queries, Remove X-Client-Data header from HTTP requests, Self-destructing third-party cookies (180), Block Java

DNS filtering:
server: tls://1dot1dot1dot1.cloudflare-dns.comfilters: https://filters.adtidy.org/windows/filters/15.txt, User+rules

Filters:
Ad Blocking:AdGuard BasePrivacy:AdGuard Tracking ProtectionSocial Widgets:AdGuard Social MediaLanguage-specific:EasyList Italy, Liste AR, Hungarian, Official Polish filters for AdBlock, uBlock Origin & AdGuard, Polish Anti Adblock Filters, Dandelion Sprout's Nordic Filters, AdGuard Turkish, AdGuard French, AdGuard Russian, AdGuard German, AdGuard Japanese, AdGuard Dutch, AdGuard Spanish/Portuguese, EasyList Dutch

Custom filters:
EasyList Italy

Userscripts:
https://userscripts.adtidy.org/beta/popup-blocker/2.5/popupblocker.user.js

Referrer:
https://internetsube.qnbfi.com/

Other extensions used:
Norton Security,  Malwarebytes Premium

@AdamWr commented on Tue Jan 03 2023
Unfortunately, it cannot be checked out without account, so could you please create a test account and send it to<EMAIL_ADDRESS>
@mnazmi35 commented on Tue Jan 03 2023
Which account are you asking about? I already have a GitHub account.

@AdamWr commented on Tue Jan 03 2023
I mean account for this website - internetsube.qnbfi.com, without account it cannot be checked.

@mnazmi35 commented on Tue Jan 03 2023
I have my financial account and wallet on this site. Unfortunately, it is impossible for me to give you the password.
my problem is I can't get site data when I turn on DNS protection. Data inbound is interrupted. Screen is freezing.

@mnazmi35 commented on Tue Jan 03 2023
I have my financial account and wallet on this site. Unfortunately, it is impossible for me to give you the password.
my problem is I can't get site data when I turn on DNS protection. Data inbound is interrupted. Screen is freezing.
Sent: Tuesday, January 3, 2023 4:29 PM
To: AdguardTeam/AdguardFilters @.>
Cc: mnazmi35 @.>; Comment @.***>
Subject: Re: [AdguardTeam/AdguardFilters] internetsube.qnbfi.com (Issue #139067)
I mean account for this website - internetsube.qnbfi.com, without account it cannot be checked.
—
Reply to this email directly, view it on GitHubhttps://github.com/AdguardTeam/AdguardFilters/issues/139067#issuecomment-1369772011, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A5BV5EYFC7OY4DR6A3BNSYDWQQSQ7ANCNFSM6AAAAAATPNYDGY.
You are receiving this because you commented.Message ID<EMAIL_ADDRESS>
@AdamWr commented on Tue Jan 03 2023
Okay, I understand.
So, please try to open filtering log (to open it, please click right mouse button on the AdGuard icon in taskbar and choose Tools -> Filtering log), then try to unblock blocked DNS requests (by clicking on a blocked request in the filtering log, like on a screenshots below, it's just example).
Screenshots

@mnazmi35 commented on Tue Jan 03 2023
OK. I had DNS protection turned off. I'll try to turn on the protection and do what you said.

@mnazmi35 commented on Tue Jan 03 2023
I turned on DNS protection. Data retrieval from the site has stopped. The screen froze. Screenshot attached

@AdamWr commented on Tue Jan 03 2023
Please try to click on a blocked request (this marked on red - unagi.amazon.com.tr), then click on the Unblock button, then Add a rule button, wait a moment as rule will be applied, and check again if website is still broken.

@mnazmi35 commented on Tue Jan 03 2023
I closed all websites except qnb finance site and github and took a screenshot again. Please make an assessment based on this situation.

@mnazmi35 commented on Tue Jan 03 2023
I checked all of them Unblock button is not visible

@AdamWr commented on Tue Jan 03 2023
Unblock button is visible only for blocked requests, if there is no blocked request (blocked requests are marked on red in the filtering log) then there will be not Unblock button.

@mnazmi35 commented on Tue Jan 03 2023
Then why can't I get data from the site when I turn on DNS protection?

@AdamWr commented on Tue Jan 03 2023
Hard to answer, because I don't have access to this website.
You can try to:

Disable AdGuard DNS filter and then check if issue still occurs.
To do it please click right mouse button on the AdGuard icon in taskbar and choose Tools -> DNS filter editor, then uncheck AdGuard DNS filter and check if issue still occurs.

Screenshot

Change DNS server and check if issue still occurs.

Screenshot

@mnazmi35 commented on Wed Jan 04 2023

I already wrote to you in my first message. (I can't get site data when I turn on DNS protection)When I turn off DNA protection, my problem is solved, I can get data from the site. But when I turn on DNS protection, I can't get data from the site.
I will try other DNS providers and let you know the result.

@AdamWr commented on Wed Jan 04 2023

I already wrote to you in my first message. (I can't get site data when I turn on DNS protection)When I turn off DNA protection, my problem is solved, I can get data from the site. But when I turn on DNS protection, I can't get data from the site.

DNS protection and AdGuard DNS filter are two different options, you can disable AdGuard DNS filter and still have DNS protection option enabled.

@mnazmi35 commented on Wed Jan 04 2023
By the way, the site is open between 10:00 - 18:00 (GMT +3) and you can get data.
I can't test it because it's closed outside these hours

@mnazmi35 commented on Wed Jan 04 2023
Ok, got it, I'll try turning off the AdGuard DNS filter. I'm waiting for the opening time of the site.
May I ask what is the use of DNS protection when I turn off the DNS filter?

@AdamWr commented on Wed Jan 04 2023

May I ask what is the use of DNS protection when I turn off the DNS filter?

When DNS protection is enabled and DNS filter is disabled, you can still set a different DNS server (some of DNS servers blocks ads, trackers, malware/phishing websites, some doesn't).
I have asked to disable DNS filter, just for test purpose, to know if issue is caused by blocked request(s) or maybe there is a different reason.

@mnazmi35 commented on Wed Jan 04 2023
OK.  After about an hour, the data flow from the site stopped. I can't get site data. The problem still persists. I will try a different provider now

@mnazmi35 commented on Wed Jan 04 2023
Protocol DNS-over-HTPS and change it now as Regular

@mnazmi35 commented on Wed Jan 04 2023
I tried many dns servers when DNS protection was enable, but all of them blocked data from the site.
Continue receiving data from the site, First disable Adguard protection.
Then I enable Adguard protection with DNS protection disable and the data from the site continues to be received.
As a result, DNS protection have to disable in order to receive data from the site. (Disable DNS filters is not enough)

@AdamWr commented on Wed Jan 04 2023
Could you please also check if issue occurs if you change DNS server in system settings (with DNS protection disabled in AdGuard's settings)?
For example, by using Cloudflare DNS - https://developers.cloudflare.com/<IP_ADDRESS>/setup/windows/

@mnazmi35 commented on Wed Jan 04 2023
Do i need to restart my computer after settings

@AdamWr commented on Wed Jan 04 2023
Probably not, but just in case you can clear DNS cache, example instruction - https://www.tp-link.com/support/faq/667/

@mnazmi35 commented on Wed Jan 04 2023
Ok I did it. About 10 minutes everything seems OK. But I want to wait a while and see the result

@mnazmi35 commented on Wed Jan 04 2023
Everything seems fine so far. After this change, there was no interruption in the data flow from the Site.

@AdamWr commented on Wed Jan 04 2023
Okay, so as far as I understand, this issue is not caused by filters, but by DNS protection module only.
I will move it to another repository.
Thank you for checking it.

My problem persists. When I enable Adguard DNS protection (Even if  disable DNS filtering), I cannot get data from the relevant site. Data stream is interrupted

@mnazmi35 Hi. If I understand correctly, you are only having issues with one specific site when DNS protection is enabled? Try selecting the "System default" DNS server on the "DNS Protection" tab. Could be this particular site doesn't work with public DNS resolvers.
If that solves your problem, you can try to still use a public resolver for most queries, while using your system's default resolver for qnbfi.com. In order to do that, select a public resolver on the "DNS Protection" tab, then open General Settings -> Advanced Settings, search for "DNS exclusions" and add *.qnbfi.com to the list.

Hi. Thank you for your attention. I tried the solution you suggested before but it didn't work.
In order to receive data again, I first turn off Adguard protection, then turn off DNS protection then turn on Adguard protection.

@mnazmi35 Hello! Since we can't checked this problem on our side, because we don't have account for this resource, could you provide us TRACE log (https://kb.adguard.com/en/windows/solving-problems/adguard-logs) with reproducing this issue and send them to<EMAIL_ADDRESS>(please tag github issue number in your email) .
Please also note date and time, when the problem appears.

Hi. I've solved my problem by returning to the release (the most stable) version.Could be a problem with the beta version.
Now DNS protection is enable, (Cloudflare DNS -DNS-over-HTTPS) and I can get data from that site.
By the way add DNS exclusions for that site (As the ngorskikh suggested.)


Memory leaking or never deallocated

Hello! Been loving using this library -- makes everything much easier.
Quick thing I noticed though: I'm using a PictureOutput to write individual frames to the disk, but I notice my memory usage never decreases after writing...
Thanks for your help!
some code:
class ImageSaver: NSOperation {

    let imageData: NSData
    let url: NSURL

    init(imageData: NSData, url: NSURL) {
        self.imageData = imageData
        self.url = url
    }

    override func main() {
        if self.cancelled { return }

        if imageData.length > 0 {
            #if DEBUG
                print("Writing image to \(url)")
            #endif
            do {
                try imageData.writeToURL(url, options: .DataWritingAtomic)
            } catch {
                print("Error writing image: \(error)")
            }
        }
    }
}

// In my viewDidLoad() function
do {
    renderView.orientation = UIApplication.sharedApplication().statusBarOrientation.toImageOrientation()

    camera = try Camera(sessionPreset: AVCaptureSessionPreset640x480, cameraDevice: nil, location: .BackFacing, captureAsYUV: false)

    filter = MonochromeFilter()

    // Setup callback for picture data
    pictureOutput = PictureOutput()
    pictureOutput.encodedImageFormat = .JPEG
    pictureOutput.onlyCaptureNextFrame = false
    pictureOutput.encodedImageAvailableCallback = { imageData in
        let imageURL = self.folderURL.URLByAppendingPathComponent(String(format:"%19.0f.jpg", CFAbsoluteTimeGetCurrent() * 1e9))
        let imageSaver = ImageSaver(imageData: imageData, url: imageURL)
        self.imageQueue.addOperation(imageSaver)
    }

    camera --> filter --> renderView
    filter.addTarget(pictureOutput)

    camera.startCapture()
`

Is this a Release or Debug build? When you run this under the Allocations instrument and mark generations, where do you see the accumulation?

I get this in debug and release builds. When I profile under release, looks like a lot of the memory is of the category Malloc 1.17 MiB, last few calls in the stack trace are:
swift_slowAlloc
specialized static UnsafeMutablePointer.alloc(Int) -> UnsafeMutablePointer<A>
specialized PictureOutput.cgImageFromFramebuffer(Framebuffer) -> CGImage
specialized PictureOutput.newFramebufferAvailable(Framebuffer, fromSourceIndex : UInt) -> ()

So it looks to be happening when the PictureOutput creates the CGImage, the memory just never gets released?
Let me know if I can provide any more info!

It's possible that the data provider release callback isn't being triggered, for some reason. Try putting a print statement within the dataProviderReleaseCallback() function at the very bottom of PictureOutput.swift and see if that ever gets triggered. It did in my tests, but maybe there's something about the extraction of JPEG-encoded data that I didn't account for.

Just tried that, it is actually getting called.

Should I just switch to using .png's for now?

I have got the same problem!!!!!

I think I might have tracked down the source of this. Check out the latest commit, which should properly deallocate the memory being used by still images. The parameters were swapped in my C callback function and the correct memory was never being deallocated.

Yep, that fixed it. Thanks!

Hey Brad, I'm actually getting this exact same problem again with the latest updates. It seems that this time the dataProviderReleaseCallback(_:data:size:) isn't being called at all...
Still the same code as above, just writing the data to disk.
Thanks!

Did you fix this problem? @dgsmith

Unfortunately, I think it requires a bit more in depth knowledge than I can provide haha. Since this time, the callback doesn't seem to be getting called...leading me to think the data is not being freed properly somewhere down the line? Perhaps some change to the Swift handling of Unsafe stuff has messed with this?


Module 1.1 Assignment

Given what you have learned about Git, why would you want to use Git in your classroom?

Git simplifies the process of working with other people and makes it easy to collaborate on projects. Team members can work on files and easily merge their changes in with the master branch of the project. It also has version control.


feat: siblings in parser-zod for better AST manipulation

This is an alternative to #1341 and #1292
I like this implementation better, but it might differ from the "usual" way plugins are structured in @kubb atm

@stijnvanhulle I've made the refactor in this 😊  Feel free to either merge this or #1341 depending on your preference. The other should be closed afterwards 👌

@ChilloManiac This looks better, I would prefer this kind of structure for the parser.
We only need to move this to the other parsers(zod, ts and faker plugin) so we have the same way of getting siblings and the parent(like you have done here).

@stijnvanhulle will you do those changes? And will it be a part of this PR?

@ChilloManiac You can already merge this one and then when I find some time this or next week I can also do the same for the other plugins that uses parsers.

@ChilloManiac You can already merge this one and then when I find some time this or next week I can also do the same for the other plugins that uses parsers.

Sorry, but only those with write access to your repo can merge it, even if its approved 😅


Fixed minor typo in Chinese

Coverage remained the same at 62.136% when pulling 6bee7dcee5b28c5a6f5a62d4019c229280ba85ee on m4jing:patch-1 into b67b93ca03537ea7eb07b67b2590c1d2ebc1a419 on codecombat:master.

Hi @m4jing, can you please sign our CLA so I can merge this in? Thanks!

@nwinter Done with the signing, please check. Thanks.

Hi @m4jing, I think it maybe signed on another server? I don't see it. Are you in China? Can you possibly sign again here at https://contributors.codecombat.com/cla?
Sorry for the hassle, and thanks for your patience!

@nwinter Yes, I'm in China. I created another account. I think it will be OK now. 😄

Thanks @m4jing!

My pleasure.


Creating a new release?

Is there any plan to create a new release with some of the bugfixes that have been added? TrustKit is our biggest source of crashes so having an official release to fix some of them would be really appreciated.
I also noticed that the CI checks have been broken for a while, any plans on fixing those?

The fixes have been released as part of v2.0.0.


Response transformer plugin fails with encoded requests

Summary
When Kong receives a request with the Accept-Encoding header set which the eventual upstream honours and where the response transformer plugin processes the body of the response a failure to perform the translation is exhibited within the plugin.
This is as a result of the response being in compressed (or otherwise encoded) format as per the Accept-Encoding header and the plugin being unable to interpret it correctly.
The simplest solution would be to disable encoding (set the header - Accept-Encoding: identity) in the :access phase of the plugin allowing the response to be retrieved unencoded and manipulated as intended.
It could be worked around by using the request processing plugin to set the header but this feels like a bit of a "hack" and handles the issue in a non-atomic manner; the response processing plugin should be able to operate correctly without the required application of a second plugin.
Steps To Reproduce

enable the response transformer plugin with a json body manipulation
make a request without an Accept-Encoding header - observe the manipulation is successful
make a request with an Accept-Encoding: gzip - observe the manipulation fails (and the unprocessed response returned)

Additional Details & Logs

Kong version (1.0.3)

Here in my company, we face the same problem, but we understood the situation, the client request to the kong server with the header "Accept-Encoding: gzip, deflate, br" and the kong server responded with "Content-encoding: gizp", internally the request transform and request transform, do their jobs correctly removing the headers from both transactions, so the interaction between the kong and the target server works correctly.

Is this still an issue?


add property-validator

property-validator is a property validation library built on top of validator.js to help developers validate request, query, body params and request headers.

:+1: You sold me on:

Just some simple, stateless, javascript functions.

:)

@sindresorhus: that's my favorite part too :)
Thank you!


Revert "[stable/grafana] fix issue #15083"

Reverts helm/charts#15109

/retest

Please don't do that I'll will correct te last MR

I do the new PR for fix previous issues https://github.com/helm/charts/pull/15149

i'll close this. feel free to re-open if i misunderstood.


support for java8-runtime

The newer versions of marathon requires JAVA 8 which is missing in this repo.

If you need java8, you could specify the java version with :
class { '::marathon':
  ...
  install_java => true,
  java_version => 'java-1.8.0-openjdk',
}

Thanks

Hi,
I am not able to find exactly in which .pp file that it handles the installation of the java_version? Does it depend on external module to do the java installation?
Thanks,

puppet-marathon expects that the version you are specify is available with your package manager. On centos you could try include the epel repositories. The java installation is handled here https://github.com/meltwater/puppet-marathon/blob/master/manifests/install.pp
Thanks

Thanks for the response. Shouldn't that be a dependency or be specified in the Readme explicitly.
Also as per this: http://askubuntu.com/questions/464755/how-to-install-openjdk-8-on-14-04-lts
openjdk-8 package is still missing in the ubuntu 14.04 LTS packages.
Thanks

I would always love a pull request for this :)
Thanks


Getting Error - ModuleNotFoundError: No module named 'sklearn'

Nuitka version - 0.6.7/<IP_ADDRESS> (tried for both versions)
Platform - Ubuntu 18.04
Installed Nuitka via pip
Python - 3.6.5
For Reproducing the issue:-
Dependency - pip install profanity-check ==1.0.3
I'm compiling a test file check.py which looks like below
from profanity_check import predict_prob
print("Random test check")
I'm compiling like this:-
python -m nuitka --follow-imports --enable-plugin=numpy  --standalone  --show-progress check.py
Error i'm getting while running the binary
ModuleNotFoundError: No module named 'sklearn'
Am I missing anything?
NOTE: I have tried hinted compilation and dev copy of Nuitka also.

I think, the options used are having the wrong default. I guess, when I added them, I made a mistake in defaulting to false for --include-scipy and --include-matplotlib, so I think I need to change it to --no-include-scipy and no-include-matplotlib and then change hinted compilation accordingly.
Very bad. I guess I caused a lot of regressions there. @JorjMcKie

I am encouting a problem loading scipy.linalg._fblas.pyd not sure now, if that is because of the plugin not handling the DLLs, it doesn't find stuff where it scans for, and actually there are no DLLs for SciPy installed in my Windows and Python 3.7 now, so I wonder, what is it.
 And I think, I need to turn import tracing and dependency walker, into a combination, and detect loaded DLLs, at least ones at import time, automatically. We can fork a process that does all the ".pyd" imports, and use our run time DLL loading detection, to find the ones that are being used. Either all at once for a program, that's probably quick, although extension modules might be slow to load, or for each extension module separately, and in either case, we could do it cached.
So I think I am holding off for these kinds of issues. Any comments @Nuitka/nuitka-pushers on this? Even takers? We need to create an issue for that. The idea is old, but at the time, dependency walker was very slow (in the way we used it), but now it's very fast, so this might be practical.

Excuse me, is there any progress on this issue?

Excuse me, is there any progress on this issue?

This doesn't run for me at all now, but for what I can tell, sklearn is working well for a while now, for as long as joblib is not used with the loky backend, something which I am addressing separately.


Add EnsureAssetsCompiled feature

Looking good!

Reviewed 7 of 7 files at r1.
Review status: all files reviewed at latest revision, 5 unresolved discussions.

docs/additional_reading/rspec_configuration.md, line 2 [r1] (raw file):
If  you did use stale Webpack assets, you will get invalid test results as your tests do not use the very latest JavaScript code.

docs/additional_reading/rspec_configuration.md, line 4 [r1] (raw file):
@samnang Please review. I'm pretty sure we need to pass config.

docs/additional_reading/rspec_configuration.md, line 6 [r1] (raw file):
and only if you do not have the webpack -w processes that would build the generated  files.

docs/additional_reading/rspec_configuration.md, line 8 [r1] (raw file):
per my prior statement. I would not mention TDD workflow.
If you do not want to be slowed down by re-compiling webpack assets from scratch every test run, you can call ...

README.md, line 379 [r1] (raw file):
:thumbsup:

Comments from the review on Reviewable.io

Review status: all files reviewed at latest revision, 4 unresolved discussions.

docs/additional_reading/rspec_configuration.md, line 2 [r1] (raw file):
Done.

docs/additional_reading/rspec_configuration.md, line 6 [r1] (raw file):
see below I address that next

docs/additional_reading/rspec_configuration.md, line 8 [r1] (raw file):
what prior statement?

Comments from the review on Reviewable.io

 :tada: :clap:

Reviewed 2 of 2 files at r2.
Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

Comments from the review on Reviewable.io

docs/additional_reading/rspec_configuration.md, line 4 [r1] (raw file):
@justin808 @robwise Great stuff. I have few comments on this:

instead of doing before(:example), we should use before(:suite).
Instead letting users of our gem to know about the method and we need to expose that, we just have lib/react_on_rails/rspec file helper, so the user just require that file react_on_rails/rspec in their rails helper to have this integration helper.

Comments from the review on Reviewable.io

Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

docs/additional_reading/rspec_configuration.md, line 4 [r1] (raw file):
@samnang

If I do before suite, the thing will compile webpack bundles even if the user is just doing a quick unit test that has nothing to do with webpack.
We need access to the RSpec config, so we have to have the user pass it as a variable. Also, there was an issue where if we have auto-executing code on require, then this runs twice (once on requiring of the gem by Rails, once on requiring in the rails helper)

Comments from the review on Reviewable.io


Update Event Hubs service level readme

The page https://github.com/MicrosoftDocs/azure-docs-sdk-node/blob/c67e75cb905ec431387183157a82ca96fbedfa80/docs-ref-services/latest/event-hub.md powers the content in https://docs.microsoft.com/en-us/javascript/api/overview/azure/event-hub?view=azure-node-latest
This PR updates it to match with what is in the azure-sdk-for-js repo for Event Hubs i.e. https://github.com/azure/azure-sdk-for-js/blob/master/sdk/eventhub/README.md

Docs Build status updates of commit 41311e4:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/latest/event-hub.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/event-hub.md

Line 2, Column 1: [Warning-ms-prod-and-service] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 10, Column 16: [Warning-ms-prod-technology-invalid] Invalid value for 'ms.technology': 'azure' is not valid with 'ms.prod' value 'azure'.
Line 12, Column 13: [Warning-ms-service-subservice-invalid] Invalid value for 'ms.service': 'Event Hub'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


docs: Fix grammatical error in Verify that your message has been succ…

…esfully sent

Automated message from Dropbox CLA bot
@fazerlicourice7, it looks like you've already signed the Dropbox CLA. Thanks!

Merged, thanks for fixing this @fazerlicourice7!


provision: Handle VENV_CACHE_PATH not existing.

If VENV_CACHE_PATH does not exist (which can happen if you destroy
your vagrant environment), then do a short circuit return in
try_to_copy_venv().

Merged, thanks @showell!


Fix up product name & remove the c++ copied dir

The product name for the Open Enterprise product  was incorrect and would lead to confusion with the actual Open XL product.
Eliminate the copy of the header file from the c++ compiler.  The problem has been fixed.  Keeping the copy will lead to problems.

@gabylb Are there any other branches that I should update.  It seems zopen2 is the defacto main.  Should I update main too?

@gabylb Are there any other branches that I should update. It seems zopen2 is the defacto main. Should I update main too?

I'm not aware of any. @IgorTodorovskiIBM ?

@gabylb Are there any other branches that I should update. It seems zopen2 is the defacto main. Should I update main too?

I'm not aware of any. @IgorTodorovskiIBM ?

I would like to merge zopen2 once we stabilize it. Gaby, are you using the main branch for node?


del method behaves differently on arrays than delete operator

The delete operator does not splice from or otherwise modify the length of arrays. It removes that key, but the other elements retain their index.
object-path's del method instead uses splice (index.js#L124), which modifies the length of the array and changes the index of all elements after the deleted element.
For my use case, I would like to use the normal delete operator behavior. This would be a breaking change though, so I'm unsure what the best way of approaching this change would be.
Source: MDN Article on the delete operator

yes, having undefined in a sparse array, rather than an array full of items is not expected. it's because most people rarely delete items from an array using the delete operator, because it can break loops in unexpected ways.
var myArray = new Array(1000);
delete myArray[myArray.push({some: { obj: 'property' }})-1]; // silly isn't it? you have 1001 undefined items in a originally created 1000 indexes array

Understood. I have a workaround in my code, feel free to close this issue if it's not something you're interested in changing.

what you could do, for example, is return the 'parent' array, then delete it yourself, like:
var deep = objectPath.get(someObj, 'some.deep.array', []); // some.deep.array.10 would be some.deep.array[10]
delete deep[10];

Thanks! That's currently what I'm doing in my code.

What about having two different functions (or one function with an option) so that the user can choose to delete with or without re-indexing the array?


feat: scatter plot labeling options

Closes #180
Developer Checklist (Definition of Done)
Issue

[ ] All acceptance criteria from the issue are met
[ ] Tested in latest Chrome/Firefox

UI/UX/Vis

[ ] Requires UI/UX/Vis review

[ ] Reviewer(s) are notified (tag assignees)
[ ] Review has occurred (link to notes)
[ ] Feedback is included in this PR
[ ] Reviewer(s) approve of concept and design

Code

[ ] Branch is up-to-date with the branch to be merged with, i.e., develop
[ ] Code is cleaned up and formatted
[ ] Unit tests are written (frontend/backend if applicable)
[ ] Integration tests are written (if applicable)

PR

[ ] Descriptive title for this pull request is provided (will be used for release notes later)
[ ] Reviewer and assignees are defined
[ ] Add type label (e.g., bug, feature) to this pull request
[ ] Add release label (e.g., release: minor) to this PR following semver
[ ] The PR is connected to the corresponding issue (via Closes #...)
[ ] Summary of changes is written

Summary of changes

add labels to scatter plot and provide three modes (Show labels for selected points, show all, hide all)

Screenshots
Additional notes for the reviewer(s)

Thanks for creating this pull request 🤗

Thanks for your PR. Code-wise the PR looks good. However, I found that when having no selection, and having selected the option to only show labels for the selection, then all labels are showing.
In my opinion, this should be the opposite: If nothing is selected, do not show any labels.
Steps to reproduce:

Select Labels: 'Selected'
Do not select any points in the ranking/scatter plot

Expected result: No labels showing
Actual result: All labels showing

Thanks! Actualy it is the default selection state, in this component from vis perspective everything is selected by default, and the brush is to deselect some, (colors also following this)
Now I'm following the data state instead,  solved in 31fa76f


Renaming

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (247257b) 100.00% compared to head (9ce9896) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #296   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           94        94
  Lines         3196      3197    +1
  Branches       249       249
=========================================
+ Hits          3196      3197    +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Select value can not controlled

Current Behavior
Select's Value display is not updated after changing the value of select.
If native select, it will be updated.
Expected Behavior
Changing the value will also update the Select display
Tamagui Version
1.79.2

Platform (Web, iOS, Android)
Web

Reproduction
codesandbox

System Info
No response

if you want to change the selected value display box without opening the Selector bar then you need to render the selected value manually.
<Select.Value>{selected}</Select.Value>
the way Tamagui selects is working is that it clones the selected item and renders it inside <Select.Value />
but because you haven't opened that bar yet, then those components are not rendered yet.

let me know if that fixes your issue
I'll close this

I had created a wrapper component that could be used in this way.
<Select value={value} onValueChange={setValue}>
  {items.map((item, i) => {
       return (
         <Select.Item index={i} key={item.value} value={item.value}>
           <Select.ItemText>{item.name}</Select.ItemText>
         </Select.Item>
      )
   }
}
</Select>

Therefore, the above workaround could not be used because the value and the text actually rendered are different.
So my workaround is below.
  const items = React.Children.map(props.children, (child) => {
    if (!React.isValidElement(child)) {
      return null;
    }
    return child
  })

  const selectedItem = items?.find((item) => item.props.value === props.value)
  ///......
          <Select.Value>
             {selectedItem?.props.children}
          </Select.Value>

I don't think you need that much complexity, you have access to selected value. just render it inside <Select.Value>


Add google-style-rspec gem

This will allow projects to use only google-style without adding rspec as a dependency.

Can we mention/link-to on the root README that this repo contains both the google-style and google-style-rspec gems?

Oops, I meant to add that and it didn't happen. Fixed.

@TheRoyalTnetennba I like the separate gems, but can we have separate repos as well?

Closing due to monorepo prejudice.


Support various IO options in Decl'HDF5

In GitLab by @youldrouis on Mar 11, 2021, 14:09
It would be nice to support the following in Decl'HDF5:

[x] chunking (with specification of the chunk size)
[x] compression (with choice of the compression algorithm & compression level)
[x] checksum

In GitLab by @ksiero on Jul 20, 2021, 12:11
mentioned in commit 936db9a4be0702f5660709cfc3632b43fe66447c

marked the checklist item checksum as completed

In GitLab by @ksiero on Jul 20, 2021, 14:57
mentioned in commit ad7e97b543327428ec5d730e1897b05feec995f3

In GitLab by @ksiero on Jul 20, 2021, 14:09
mentioned in commit 22c996498dac5300cb74b12f8b3eae7b13ff73ac

In GitLab by @ksiero on Jul 20, 2021, 12:46
mentioned in commit b534302c57c345e87d7ffdc7cea072ac1418fff6

marked the checklist item chunking (with specification of the chunk size) as completed

In GitLab by @ksiero on Jul 20, 2021, 12:24
mentioned in commit 5526cc3b24dadda7cb45e8d51b8f7c15211f91e3

In GitLab by @ksiero on Jul 22, 2021, 11:31
mentioned in commit 22e9c45e6a8119524de29692c1efdc2e35a60d66

In GitLab by @ksiero on Jul 20, 2021, 12:42
mentioned in commit 3517661aa65d7a57f016d407388bc41253acbb4a


[LFH]: Real-world asset NFTs - Fractional ownership of tokenised real estate

Land Minis3 - Tokenized real estate investment platform
The Land Minis3 is an AI-augmented NFT marketplace for the fractional ownership of tokenized real estate.
Tokenized real estate enables the performance and scalability of a socially distributed wealth-building protocol, for which we are gathering the greatest real estate club reimagining the rental business to reach financial freedom and wealth through real estate & crypto, applying proven investment strategies.
Team
We are starting with a mixed team of 6 M/F folks all real-estate-blockchain enthusiasts with various skills in software development, digital marketing, product management, content writing, and real estate development.
Skills wanted
Still, some open positions to strengthen the developers' team.
We're looking for programmers in Clarity, Python Django, and HTML.

[ ] Core Blockchain Development (Go, C++, Rust)
[x] Smart Contracts (Solidity, Vyper)
[x] DApps, Web3.JS (JavaScript, CSS)
[ ] Blockchain Operations, Infrastructure
[ ] Game theory, Crypto-Economics
[ ] Design, User Experience
[ ] Project Management
[ ] Other: ...

Communication
https://www.linkedin.com/in/juliencarbonnell/
https://twitter.com/JCarbonnell

Hi Julien, your project looks pretty cool ! Let me know if I can be of any help.


Fix typo in TestEnvironment variable SYSTEM_ACCESSTOKEN

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

We may want to run one of the live pipelines in this PR just to validate


e2e: restructure self-etcd test.

This gives more granular logging and ensures the cluster is rescaled
back to 1 on failure.

This has uncovered some other failure modes. It's very important to put update operations in retry loops in the face of transient failures.

[247247.793174] golang[5]: --- FAIL: TestNetwork (92.84s)
[247247.796618] golang[5]: 	network_test.go:43: timed out waiting for nginx pod: pod not yet running: Pending

Codewise LGTM.

coreosbot run e2e

lgtm


[SR-2939] False/misleading diagnostic with incorrectly typed CGFloat expression

Previous ID
SR-2939

Radar
None

Original Reporter
@sharplet

Type
Bug

Attachment: Download

Environment
Xcode Version 8.1 beta (8T46g)
Apple Swift version 3.0.1 (swiftlang-800.0.56 clang-800.0.42)

Additional Detail from JIRA

Votes
0

Component/s
Compiler

Labels
Bug, DiagnosticsQoI, TypeChecker

Assignee
None

Priority
Medium

md5: 270e2410a3df22bcf0a8270509b0c5ca

Issue Description:
Given this program:
import struct QuartzCore.CGFloat

let foo: CGFloat = 1
let bar: CGFloat = 2
let foobar: Int = foo + bar
print(foobar)

We get the following diagnostic:
$ xcrun -sdk macosx swiftc sure_it_can.swift
sure_it_can.swift:5:23: error: binary operator '+' cannot be applied to two 'CGFloat' operands
let foobar: Int = foo + bar
                  ~~~ ^ ~~~
sure_it_can.swift:5:23: note: expected an argument list of type '(Int, Int)'
let foobar: Int = foo + bar
                      ^

I've attached an image of what it looks like in Xcode. In a more complicated expression like a closure, it's baffling, because the extra note that hints as to what is really going on is hidden unless you expand the diagnostic in the Issues navigator.
Even though the hint is useful in working out where the types are mismatched, ultimately the statement "Binary operator '+' cannot be applied to two 'CGFloat' operands" is still false.

Swift 5.10 much better diagnostic:
cgfloat.swift:5:23: error: cannot convert value of type 'CGFloat' to specified type 'Int'
let foobar: Int = foo + bar
                  ~~~~^~~~~
                  Int(     )


Refactor absolute imports and remove compat

coverage: 99.529% (-0.002%) from 99.531%
when pulling 1cf09ec3a64c7e9b1952ef9fb9f788177dcf24b0 on betaboon:refactor-absolute-imports-and-remove-compat
into 3bf9686ce9e55a4d43a3e6c38789a46dd04b1769 on mindflayer:main.

coverage: 99.529% (-0.002%) from 99.531%
when pulling 1cf09ec3a64c7e9b1952ef9fb9f788177dcf24b0 on betaboon:refactor-absolute-imports-and-remove-compat
into 3bf9686ce9e55a4d43a3e6c38789a46dd04b1769 on mindflayer:main.

coverage: 99.529% (-0.002%) from 99.531%
when pulling 1cf09ec3a64c7e9b1952ef9fb9f788177dcf24b0 on betaboon:refactor-absolute-imports-and-remove-compat
into 3bf9686ce9e55a4d43a3e6c38789a46dd04b1769 on mindflayer:main.

coverage: 99.529% (-0.002%) from 99.531%
when pulling 1cf09ec3a64c7e9b1952ef9fb9f788177dcf24b0 on betaboon:refactor-absolute-imports-and-remove-compat
into 3bf9686ce9e55a4d43a3e6c38789a46dd04b1769 on mindflayer:main.

coverage: 99.529% (-0.002%) from 99.531%
when pulling 1cf09ec3a64c7e9b1952ef9fb9f788177dcf24b0 on betaboon:refactor-absolute-imports-and-remove-compat
into 3bf9686ce9e55a4d43a3e6c38789a46dd04b1769 on mindflayer:main.

coverage: 99.529% (-0.002%) from 99.531%
when pulling 1cf09ec3a64c7e9b1952ef9fb9f788177dcf24b0 on betaboon:refactor-absolute-imports-and-remove-compat
into 3bf9686ce9e55a4d43a3e6c38789a46dd04b1769 on mindflayer:main.


Error?

{"error":{"name":"RequestError","message":"Error: read ECONNRESET","cause":{"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"},"error":{"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"},"options":{"uri":"https://graph.facebook.com/v2.5/?ids=127441017326962,150894624980689,194434307263554,180330992061245,389455701110636,1735548000045026,131742643881716,955638347847172,295737303787313,158145237539244,503611312991966,498934683458774,105812999462134,1728606427375534,375564855890791,1578606252429484,514986965366307,287295481368298,320483054816447,512648798895818,185383161511805,263252603757290,1606986779557850,363336153679909,284441741691,230765903606560,286328198124484,144802245616095,542226402594618,328383323863257,951866271553258,200566626701283,173851676302538,109181268358,1107600152605974,359852354058262,315320511889887,476420995745096,165481346992444,817137978384391,123752874332606,399135630131323,383016895171944,521386754626712,142481265822821,247358048775274,659832007439199,1050866878328898,191353874233477,129919440445879&fields=id,name,cover.fields(id,source),picture.type(large),location,events.fields(id,name,cover.fields(id,source),picture.type(large),description,start_time,attending_count,declined_count,maybe_count,noreply_count).since(1473787811)&access_token=THEACCESSTOKEN","method":"GET","simple":true,"resolveWithFullResponse":false}}}
Do you know what kind of error is this?
To reproduce it simply hit the IP that you host your service, about 3-4 times repeatedly with refresh button.

Does this happen all the time, or just sometimes? I guess Facebook is resetting the connection, probably because it took too long to send the response. Never occured for me though. Where do you run the service?

Ι run it on Digital Ocean droplet
http://<IP_ADDRESS>:3000/events?lat=40.710803&lng=-73.964040&distance=100&sort=venue&accessToken=YourAccessToken
We have tried with different access tokens but still we get the same error.
The droplet has these specs
1GB/1CPU
30GB SSD

I just tested the URL with one of my App Access Tokens, and it runs just fine. The same as your query above...
Also when I hit refresh >10 times, still working nicely.

The error goes out sometimes.
Try again by refreshing 3-4 times only.
Just had the error though
http://imgur.com/a/q3JpH

I don't see this error myself, even after refreshing a lot of times, nor has this ever been reported before. I'm quite sure that this is not a problem with the application itself.

So you think its an issue of our server? Any hint of what we should check out?

One idea would be to play around with the agent options/pool settings, see: https://www.npmjs.com/package/request#requestdefaultsoptions

When i get the error page, in the console it prints
GET /events?lat=40.9869273&lng=29.0282574&distance=5000&sort=time&access_token=AccessToken 500 544.789 ms - 1429

Do you know what is the limit for using graph api with your node app???
Because in my developers facebook panel i cant see how many graph api  requests i have.

Not sure what you mean... As written in the README rate limiting is a factor. This has nothing to do with the facebook-events-by-location app itself.


Validation Attribute errors on pipeline input cannot be caught

I have a function that accepts pipeline input and validates the input using validation attributes.  When the function receives invalid input passed by parameter, the validation attribute throws an error that can be caught using try/catch; however, when the function receives invalid input via the pipeline, the validation attribute throws an error that cannot be caught using try/catch.  This makes it impossible to write negative Pester tests on functions that validate pipeline input using validation attributes, because | Should -Throw will not catch the error, so the test will always fail.
Steps to reproduce

function repro {
  param(
    [Parameter(Mandatory, ValueFromPipeline)]
    [ValidateScript( { throw "uh oh" } )]
    [string] $param
  )
}

try {
  repro "arg"
} catch {
  Write-Host "This error is caught"
}

try {
  "arg" | repro
} catch {
  Write-Host "...so why isn't this error caught?"
}

Expected behavior
This error is caught
...so why isn't this error caught?

Actual behavior
This error is caught
repro : Cannot validate argument on parameter 'param'. uh oh
At line:28 char:11
+   "arg" | repro
+           ~~~~~
+ CategoryInfo          : InvalidData: (arg:String) [repro], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,repro

Environment data
Name                           Value
----                           -----
PSVersion                      6.2.0
PSEdition                      Core
GitCommitId                    6.2.0
OS                             Darwin 18.6.0 Darwin Kernel V…
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

@chriskuech Thanks for your contribution!
It is dup #3769. Please discuss there/

@iSazonov , can you elaborate more on why you believe this to be a duplicate?
The issue you linked is for attributes failing silently; however, mine seems to be the opposite--attributes failing so loudly that they cannot be caught.  Also, unlike in the issue you linked, there's nothing wrong with my attributes--they are valid attributes, as shown in the first try/catch of my repro.  My issue is exclusively when the parameter value is passed by pipeline input.
Yours seems to be about user error when defining invalid validation attributes.  Mine seems to be about an internal error when applying valid validation attributes.

Also I'm curious if there are two (interrelated issues):

Why is the attribute throwing an error when applied to pipeline input?
Why is the thrown error not being caught by try/catch?

@chriskuech Not to sidetrack from the original focus of this working with throw, but this is behaving differently yet still not working correctly when using $PSCmdlet.ThrowTerminatingError(). Hopefully this helps add to the original issue:
Updated repro function:
function repro {
    param(
        [Parameter(Mandatory, ValueFromPipeline)]
        [ValidateScript({
            $PSCmdlet.ThrowTerminatingError([System.Management.Automation.ErrorRecord]::new(
                ([System.IO.FileNotFoundException]"Uh oh!"),
                'Repro.Error',
                [System.Management.Automation.ErrorCategory]::InvalidArgument,
                $_
            ))
        })]
        [string] $param
    )
}

Using your sample triggers the catch block on both, but prints the error on the second as well as the catch block's Write-Host statement:
try {
    repro "arg"
}
catch {
    Write-Host "This error is caught"
}

try {
    "arg" | repro
} catch {
    Write-Host "...so why isn't this error caught?"
}
This error is caught
repro:
Line |
   9 |      "arg" | repro
     |              ~~~~~
     | Cannot validate argument on parameter 'param'. The pipeline has been stopped.
...so why isn't this error caught?

Wrapping it in a scriptblock and invoking it yields the expected response, but it's swallowing the errors in the scriptblock scope from what it seems:
{
    try {
        repro "arg"
    }
    catch {
        Write-Host "This error is caught"
    }
    try {
        "arg" | repro
    } catch {
        Write-Host "...so why isn't this error caught?"
    }
}.Invoke()
This error is caught
...so why isn't this error caught?

Which seems like a win, but trying to run those in a Pester test halts the pipeline before it can evaluate the result:
Import-Module Pester
{repro "arg"} | Should -Throw
{"arg" | repro} | Should -Throw
repro:
Line |
   3 |  {"arg" | repro} | Should -Throw
     |           ~~~~~
     | Cannot validate argument on parameter 'param'. The pipeline has been stopped.

Additional Info
It appears that ValidateRangeAttribute works correctly against each item in the pipeline, but does not fail the entire pipeline if an element of the array is out of range or an incorrect type.
And ValidateCountAttribute is not able to get a count because it requires the entire array.
function Test-MaxCount {
    [CmdletBinding()]
    param(
        [Parameter(Mandatory,Position = 0,ValueFromPipeline)]
        [ValidateRange(1,9)]
        [ValidateCount(1,10)]
        [int[]]$Value
    )
    begin {
        $Data = [System.Collections.ArrayList]::new()
    }
    process {
        [void]$Data.Add($Input)
    }
    end {
        if ($Data.Count -gt 10) {
            throw ("The parameter requires at least 1 value(s) and no more than 10 value(s) - {0} value(s) were provided. END BLOCK" -f $Data.Count)
        } else {
            'Count: {0}' -f $Data.Count
        }
    }
}

PS7.1.1 > 1,2,5,6,7,8,9,8,4,4,4,4,6,5 | Test-ValidateCount
Exception: D:\Test-ValidateCount.ps1:17
Line |
  17 |              throw ("The parameter requires at least 1 value(s) and no …
     |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The parameter requires at least 1 value(s) and no more than 10 value(s) - 14 value(s) were provided.
     | END BLOCK

PS7.1.1 > 1,2,5,6,7,8,9,8,4,4,4,4,6,5,'G' | Test-MaxCount
Test-MaxCount: The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its properties do not match any of the parameters that take pipeline input.
Exception: D:\GitHub\IronScripterSolutions\2021-02-09\2-Advanced.ps1:17
Line |
  17 |              throw ("The parameter requires at least 1 value(s) and no …
     |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The parameter requires at least 1 value(s) and no more than 10 value(s) - 14 value(s) were provided.
     | END BLOCK

PS7.1.1 > 1,2,5,6,7,8,9,8,4,4,4,4,6,5,10 | Test-MaxCount
Test-MaxCount: Cannot validate argument on parameter 'Value'. The 10 argument is greater than the maximum allowed range of 9. Supply an argument that is less than or equal to 9 and then try the command again.
Exception: D:\GitHub\IronScripterSolutions\2021-02-09\2-Advanced.ps1:17
Line |
  17 |              throw ("The parameter requires at least 1 value(s) and no …
     |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The parameter requires at least 1 value(s) and no more than 10 value(s) - 14 value(s) were provided.
     | END BLOCK

PS7.1.1 > 1,2,5,6,7,8,9,8,4,4 | Test-MaxCount
Count: 10

Updated Docs and Guidance
Pipeline support is a significant boon for PowerShell, as is the Validate* parameter decorators.
If this will not be resolved anytime soon, there should be verbiage included in the about_Functions_Advanced_Parameters validation section.
Additionally, guidance on possible workarounds, if any, would be well appreciated.
Thanks!

And ValidateCountAttribute is not able to get a count because it requires the entire array.

Pipeline enumerates inputs. You should send entire array as a single object if you want ValidateCount works on it.
I believe the behavior in a pipeline is by-design - I have no idea where we could insert "catch exception" into a pipeline.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/54823

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/59413

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/60094


Fix/scrap dialog select

Please check the following

[ ] Do the tests still pass? (see Run the Tests)
[ ] Is the code formatted properly? (see Linting (Formatting))
For New Features:

[ ] Have tests been added to cover any new features or fixes?
[ ] Has the documentation been updated accordingly?

Please describe additional details for testing this change
Fixes bug where scrap dialog showed 'object Object' in the select for sort mode

Fixes #303