Replicate a simple version FLAN dataset

Created prepare_datasets.py to save all datasets in a json file to be utilized for finetuning and evaluation purposes

When I run the “prepare_datasets.py”, I came across a bug showed below (I have install all the packages according to the requirements.txt):
 python prepare_datasets.py  ['aeslc_10templates', 'ag_news_subset_10templates', 'anli_r1_10templates', 'anli_r2_10templates', 'anli_r3_10templates', 'arc_challenge_10templates', 'arc_easy_10templates', 'cnn_dailymail_10templates', 'cola_10templates', 'common_gen_10templates', 'coqa_10templates', 'cosmos_qa_10templates', 'definite_pronoun_resolution_10templates', 'e2e_nlg_10templates', 'fix_punct_10templates', 'gigaword_10templates', 'glue_mrpc_10templates', 'glue_qqp_10templates', 'hellaswag_10templates', 'imdb_reviews_10templates', 'math_dataset_10templates', 'mnli_matched_10templates', 'mnli_mismatched_10templates', 'natural_questions_10templates', 'newsroom_10templates', 'openbookqa_10templates', 'opinion_abstracts_idebate_10templates', 'opinion_abstracts_rotten_tomatoes_10templates', 'para_crawl_enes_10templates', 'paws_wiki_10templates', 'piqa_10templates', 'qnli_10templates', 'quac_10templates', 'samsum_10templates', 'sentiment140_10templates', 'snli_10templates', 'squad_v1_10templates', 'squad_v2_10templates', 'sst2_10templates', 'story_cloze_10templates', 'trec_10templates', 'trivia_qa_10templates', 'true_case_10templates', 'web_nlg_en_10templates', 'wiki_lingua_english_en_10templates', 'winogrande_10templates', 'wmt14_enfr_10templates', 'wmt16_translate_csen_10templates', 'wmt16_translate_deen_10templates', 'wmt16_translate_fien_10templates', 'wmt16_translate_roen_10templates', 'wmt16_translate_ruen_10templates', 'wmt16_translate_tren_10templates', 'wnli_10templates', 'xsum_10templates', 'bool_q_10templates', 'cb_10templates', 'copa_10templates', 'multirc_10templates', 'record_10templates', 'rte_10templates', 'wic_10templates', 'wsc_10templates'] 2022-07-07 11:35:05.479945: W tensorflow/core/platform/cloud/google_auth_provider.cc:184] All attempts to get a Google authentication bearer token failed, returning an empty token. Retrieving token from files failed with "Not found: Could not locate the credentials file.". Retrieving token from GCE failed with "Failed precondition: Error executing an HTTP request: libcurl code 6 meaning 'Couldn't resolve host name', error details: Could not resolve host: metadata". 2022-07-07 11:35:05.479946: W tensorflow/core/platform/cloud/google_auth_provider.cc:184] All attempts to get a Google authentication bearer token failed, returning an empty token. Retrieving token from files failed with "Not found: Could not locate the credentials file.". Retrieving token from GCE failed with "Failed precondition: Error executing an HTTP request: libcurl code 6 meaning 'Couldn't resolve host name', error details: Could not resolve host: metadata". 2022-07-07 11:35:05.480022: W tensorflow/core/platform/cloud/google_auth_provider.cc:184] All attempts to get a Google authentication bearer token failed, returning an empty token. Retrieving token from files failed with "Not found: Could not locate the credentials file.". Retrieving token from GCE failed with "Failed precondition: Error executing an HTTP request: libcurl code 6 meaning 'Couldn't resolve host name', error details: Could not resolve host: metadata". 2022-07-07 11:35:05.480040: W tensorflow/core/platform/cloud/google_auth_provider.cc:184] All attempts to get a Google authentication bearer token failed, returning an empty token. Retrieving token from files failed with "Not found: Could not locate the credentials file.". Retrieving token from GCE failed with "Failed precondition: Error executing an HTTP request: libcurl code 6 meaning 'Couldn't resolve host name', error details: Could not resolve host: metadata". 2022-07-07 11:35:05.480046: W tensorflow/core/platform/cloud/google_auth_provider.cc:184] All attempts to get a Google authentication bearer token failed, returning an empty token. Retrieving token from files failed with "Not found: Could not locate the credentials file.". Retrieving token from GCE failed with "Failed precondition: Error executing an HTTP request: libcurl code 6 meaning 'Couldn't resolve host name', error details: Could not resolve host: metadata".
I find that it was caused by this code:
dataset = seqio.get_mixture_or_task(task).get_dataset(         sequence_length={'inputs':4096,'targets':4096} # Extranous length to capture all data )
I have tried to reduced the version of this package as the guideline in the web, howereve, I will come across another bug:
`"""
Traceback (most recent call last):
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "prepare_datasets.py", line 32, in prepare_task
dataset = seqio.get_mixture_or_task(task).get_dataset(
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/site-packages/seqio/dataset_providers.py", line 1041, in get_dataset
ds = source.get_dataset(split=split, shuffle=shuffle, seed=seed)
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/site-packages/seqio/dataset_providers.py", line 371, in get_dataset
return self.tfds_dataset.load(
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/site-packages/seqio/utils.py", line 137, in load
read_config=tfds.ReadConfig(
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/site-packages/tensorflow_datasets/core/utils/read_config.py", line 112, in init
super(ReadConfig, self).init(**kwargs)
TypeError: init() got an unexpected keyword argument 'skip_prefetch'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "prepare_datasets.py", line 60, in
p.map(prepare_task,all_tasks)
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/multiprocessing/pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/multiprocessing/pool.py", line 771, in get
raise self._value
TypeError: init() got an unexpected keyword argument 'skip_prefetch'`
Please can you tell me my problem and how to fix it?

When I run the “prepare_datasets.py”, I came across a bug showed below (I have install all the packages according to the requirements.txt):
python prepare_datasets.py ['aeslc_10templates', 'ag_news_subset_10templates', 'anli_r1_10templates', 'anli_r2_10templates', 'anli_r3_10templates', 'arc_challenge_10templates', 'arc_easy_10templates', 'cnn_dailymail_10templates', 'cola_10templates', 'common_gen_10templates', 'coqa_10templates', 'cosmos_qa_10templates', 'definite_pronoun_resolution_10templates', 'e2e_nlg_10templates', 'fix_punct_10templates', 'gigaword_10templates', 'glue_mrpc_10templates', 'glue_qqp_10templates', 'hellaswag_10templates', 'imdb_reviews_10templates', 'math_dataset_10templates', 'mnli_matched_10templates', 'mnli_mismatched_10templates', 'natural_questions_10templates', 'newsroom_10templates', 'openbookqa_10templates', 'opinion_abstracts_idebate_10templates', 'opinion_abstracts_rotten_tomatoes_10templates', 'para_crawl_enes_10templates', 'paws_wiki_10templates', 'piqa_10templates', 'qnli_10templates', 'quac_10templates', 'samsum_10templates', 'sentiment140_10templates', 'snli_10templates', 'squad_v1_10templates', 'squad_v2_10templates', 'sst2_10templates', 'story_cloze_10templates', 'trec_10templates', 'trivia_qa_10templates', 'true_case_10templates', 'web_nlg_en_10templates', 'wiki_lingua_english_en_10templates', 'winogrande_10templates', 'wmt14_enfr_10templates', 'wmt16_translate_csen_10templates', 'wmt16_translate_deen_10templates', 'wmt16_translate_fien_10templates', 'wmt16_translate_roen_10templates', 'wmt16_translate_ruen_10templates', 'wmt16_translate_tren_10templates', 'wnli_10templates', 'xsum_10templates', 'bool_q_10templates', 'cb_10templates', 'copa_10templates', 'multirc_10templates', 'record_10templates', 'rte_10templates', 'wic_10templates', 'wsc_10templates'] 2022-07-07 11:35:05.479945: W tensorflow/core/platform/cloud/google_auth_provider.cc:184] All attempts to get a Google authentication bearer token failed, returning an empty token. Retrieving token from files failed with "Not found: Could not locate the credentials file.". Retrieving token from GCE failed with "Failed precondition: Error executing an HTTP request: libcurl code 6 meaning 'Couldn't resolve host name', error details: Could not resolve host: metadata". 2022-07-07 11:35:05.479946: W tensorflow/core/platform/cloud/google_auth_provider.cc:184] All attempts to get a Google authentication bearer token failed, returning an empty token. Retrieving token from files failed with "Not found: Could not locate the credentials file.". Retrieving token from GCE failed with "Failed precondition: Error executing an HTTP request: libcurl code 6 meaning 'Couldn't resolve host name', error details: Could not resolve host: metadata". 2022-07-07 11:35:05.480022: W tensorflow/core/platform/cloud/google_auth_provider.cc:184] All attempts to get a Google authentication bearer token failed, returning an empty token. Retrieving token from files failed with "Not found: Could not locate the credentials file.". Retrieving token from GCE failed with "Failed precondition: Error executing an HTTP request: libcurl code 6 meaning 'Couldn't resolve host name', error details: Could not resolve host: metadata". 2022-07-07 11:35:05.480040: W tensorflow/core/platform/cloud/google_auth_provider.cc:184] All attempts to get a Google authentication bearer token failed, returning an empty token. Retrieving token from files failed with "Not found: Could not locate the credentials file.". Retrieving token from GCE failed with "Failed precondition: Error executing an HTTP request: libcurl code 6 meaning 'Couldn't resolve host name', error details: Could not resolve host: metadata". 2022-07-07 11:35:05.480046: W tensorflow/core/platform/cloud/google_auth_provider.cc:184] All attempts to get a Google authentication bearer token failed, returning an empty token. Retrieving token from files failed with "Not found: Could not locate the credentials file.". Retrieving token from GCE failed with "Failed precondition: Error executing an HTTP request: libcurl code 6 meaning 'Couldn't resolve host name', error details: Could not resolve host: metadata".
I find that it was caused by this code:
dataset = seqio.get_mixture_or_task(task).get_dataset( sequence_length={'inputs':4096,'targets':4096} # Extranous length to capture all data )
I have tried to reduced the version of the package "tensorflow-datasets" as the guideline in the web, howereve, I will come across another bug:
`
Traceback (most recent call last):
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "prepare_datasets.py", line 32, in prepare_task
dataset = seqio.get_mixture_or_task(task).get_dataset(
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/site-packages/seqio/dataset_providers.py", line 1041, in get_dataset
ds = source.get_dataset(split=split, shuffle=shuffle, seed=seed)
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/site-packages/seqio/dataset_providers.py", line 371, in get_dataset
return self.tfds_dataset.load(
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/site-packages/seqio/utils.py", line 137, in load
read_config=tfds.ReadConfig(
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/site-packages/tensorflow_datasets/core/utils/read_config.py", line 112, in init
super(ReadConfig, self).init(**kwargs)
TypeError: init() got an unexpected keyword argument 'skip_prefetch'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "prepare_datasets.py", line 60, in
p.map(prepare_task,all_tasks)
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/multiprocessing/pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/multiprocessing/pool.py", line 771, in get
raise self._value
TypeError: init() got an unexpected keyword argument 'skip_prefetch'
Please can you tell me my problem and how to fix it?

When I run the “prepare_datasets.py”, I came across a bug showed below (I have install all the packages according to the requirements.txt):
python prepare_datasets.py ['aeslc_10templates', 'ag_news_subset_10templates', 'anli_r1_10templates', 'anli_r2_10templates', 'anli_r3_10templates', 'arc_challenge_10templates', 'arc_easy_10templates', 'cnn_dailymail_10templates', 'cola_10templates', 'common_gen_10templates', 'coqa_10templates', 'cosmos_qa_10templates', 'definite_pronoun_resolution_10templates', 'e2e_nlg_10templates', 'fix_punct_10templates', 'gigaword_10templates', 'glue_mrpc_10templates', 'glue_qqp_10templates', 'hellaswag_10templates', 'imdb_reviews_10templates', 'math_dataset_10templates', 'mnli_matched_10templates', 'mnli_mismatched_10templates', 'natural_questions_10templates', 'newsroom_10templates', 'openbookqa_10templates', 'opinion_abstracts_idebate_10templates', 'opinion_abstracts_rotten_tomatoes_10templates', 'para_crawl_enes_10templates', 'paws_wiki_10templates', 'piqa_10templates', 'qnli_10templates', 'quac_10templates', 'samsum_10templates', 'sentiment140_10templates', 'snli_10templates', 'squad_v1_10templates', 'squad_v2_10templates', 'sst2_10templates', 'story_cloze_10templates', 'trec_10templates', 'trivia_qa_10templates', 'true_case_10templates', 'web_nlg_en_10templates', 'wiki_lingua_english_en_10templates', 'winogrande_10templates', 'wmt14_enfr_10templates', 'wmt16_translate_csen_10templates', 'wmt16_translate_deen_10templates', 'wmt16_translate_fien_10templates', 'wmt16_translate_roen_10templates', 'wmt16_translate_ruen_10templates', 'wmt16_translate_tren_10templates', 'wnli_10templates', 'xsum_10templates', 'bool_q_10templates', 'cb_10templates', 'copa_10templates', 'multirc_10templates', 'record_10templates', 'rte_10templates', 'wic_10templates', 'wsc_10templates'] 2022-07-07 11:35:05.479945: W tensorflow/core/platform/cloud/google_auth_provider.cc:184] All attempts to get a Google authentication bearer token failed, returning an empty token. Retrieving token from files failed with "Not found: Could not locate the credentials file.". Retrieving token from GCE failed with "Failed precondition: Error executing an HTTP request: libcurl code 6 meaning 'Couldn't resolve host name', error details: Could not resolve host: metadata". 2022-07-07 11:35:05.479946: W tensorflow/core/platform/cloud/google_auth_provider.cc:184] All attempts to get a Google authentication bearer token failed, returning an empty token. Retrieving token from files failed with "Not found: Could not locate the credentials file.". Retrieving token from GCE failed with "Failed precondition: Error executing an HTTP request: libcurl code 6 meaning 'Couldn't resolve host name', error details: Could not resolve host: metadata". 2022-07-07 11:35:05.480022: W tensorflow/core/platform/cloud/google_auth_provider.cc:184] All attempts to get a Google authentication bearer token failed, returning an empty token. Retrieving token from files failed with "Not found: Could not locate the credentials file.". Retrieving token from GCE failed with "Failed precondition: Error executing an HTTP request: libcurl code 6 meaning 'Couldn't resolve host name', error details: Could not resolve host: metadata". 2022-07-07 11:35:05.480040: W tensorflow/core/platform/cloud/google_auth_provider.cc:184] All attempts to get a Google authentication bearer token failed, returning an empty token. Retrieving token from files failed with "Not found: Could not locate the credentials file.". Retrieving token from GCE failed with "Failed precondition: Error executing an HTTP request: libcurl code 6 meaning 'Couldn't resolve host name', error details: Could not resolve host: metadata". 2022-07-07 11:35:05.480046: W tensorflow/core/platform/cloud/google_auth_provider.cc:184] All attempts to get a Google authentication bearer token failed, returning an empty token. Retrieving token from files failed with "Not found: Could not locate the credentials file.". Retrieving token from GCE failed with "Failed precondition: Error executing an HTTP request: libcurl code 6 meaning 'Couldn't resolve host name', error details: Could not resolve host: metadata".
I find that it was caused by this code:
dataset = seqio.get_mixture_or_task(task).get_dataset( sequence_length={'inputs':4096,'targets':4096} # Extranous length to capture all data )
I have tried to reduced the version of the package "tensorflow-datasets" as the guideline in the web, howereve, I will come across another bug:
`Traceback (most recent call last):
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "prepare_datasets.py", line 32, in prepare_task
dataset = seqio.get_mixture_or_task(task).get_dataset(
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/site-packages/seqio/dataset_providers.py", line 1041, in get_dataset
ds = source.get_dataset(split=split, shuffle=shuffle, seed=seed)
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/site-packages/seqio/dataset_providers.py", line 371, in get_dataset
return self.tfds_dataset.load(
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/site-packages/seqio/utils.py", line 137, in load
read_config=tfds.ReadConfig(
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/site-packages/tensorflow_datasets/core/utils/read_config.py", line 112, in init
super(ReadConfig, self).init(**kwargs)
TypeError: init() got an unexpected keyword argument 'skip_prefetch'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "prepare_datasets.py", line 60, in
p.map(prepare_task,all_tasks)
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/multiprocessing/pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/data/users/zhouzhanchao/.miniconda/envs/iopt/lib/python3.8/multiprocessing/pool.py", line 771, in get
raise self._value
TypeError: init() got an unexpected keyword argument 'skip_prefetch'`
Please can you tell me my problem and how to fix it?

Did you figure this out?

Is there an version of the flan dataset we can download?

Hello, I saw the data set you compiled on huggingface. Has your data set added the maximum cap?


Crash on the crafting interface in 1.6.6

Ok so, when going up inside where there's brush, flint and steel, it literally just crashes the game... idk why
crash-2024-05-25_12.09.40-client.txt

Ok, so it seems like it happens on loom interface as well
crash-2024-05-25_12.22.05-client.txt
, basically when going into a certain slot.

Happens on d-pad, but not scroll wheel
https://github.com/Wilyicaro/Legacy-Minecraft/assets/39870226/6bee6f0d-4004-470d-9d48-485b3ddb8952
https://mclo.gs/MK3512x

Fixed in version 1.6.7, thanks for reporting!


✨ Add SkipJsonSchema annotation

This PR solves #6647 on Pydantic side, in the sense that it allows the user to not generate the JSON schema on a type.
Although this is nice to have on Pydantic, it's not ideal for FastAPI users to do T | SkipJsonSchema[None], mainly because of dev experience. That said, @dmontagu proposed that FastAPI would use a FastAPIGeneratorJsonSchema on their side which would skip nullable fields if is not a Body. - I'm going to push a PR in FastAPI to help on this.
Selected Reviewer: @lig

please review

I had a look and I think this will cause problems besides

It is RECOMMENDED that a default value be valid against the associated schema.

It creates a difference in the serialization done and communicated (to the consumers of the json document).
The test only work due to the use of None as default value
https://github.com/pydantic/pydantic/blob/070546862c1a693be272bd91c50de38b080436fd/tests/test_json_schema.py#L4840-L4843
https://github.com/pydantic/pydantic/blob/070546862c1a693be272bd91c50de38b080436fd/tests/test_json_schema.py#L4848-L4852
For consumers of the json description document, the resulting difference may be a real problem to overcome, as the description document does not match the protocol.
    class A(BaseModel):
        x: int | SkipJsonSchema[None] = None

    class B(BaseModel):
        x: int | SkipJsonSchema[None] = 5

    class C(BaseModel):
        x: int | SkipJsonSchema[None]

For consumers of the json description document:

A(x=None) is invalid

{"x":None} is invalid

A() will result in x being None anyway.
for B it is not possible to set x to None, neither via assignment or constructor due to type mismatch

{"x":None} is invalid

for C it is not possible to set x to None

{"x":None} is invalid

The proposal does not improve anything to the consumers of the description document created by pydantic, but makes the document even incompatible to the datamodel used by pydantic itself.
This degradation of the correctness of the description document is not limited to the consumers which fail at the v3.1 features used by pydantic, but even for clients which can do v3.1 perfectly, all consumers.
I'd prefer to have this compatibility gap bridged otherwise - using type:[…, none], as it does not harm the correctness of the description document used by consumers.
That said - I consider even just waiting for the ecosystem to catch up better.

please review

I'm going to approve and merge this, because with https://github.com/pydantic/pydantic/pull/6798 you'll be able to do:
from typing import Annotated

from pydantic import BaseModel, Field
from pydantic.json_schema import SkipJsonSchema

class Model(BaseModel):
    x: Annotated[int | SkipJsonSchema[None], Field(json_schema_extra=lambda x: x.pop('default'))] = None

print(Model.model_json_schema())
#> {'properties': {'x': {'title': 'X', 'type': 'integer'}}, 'title': 'Model', 'type': 'object'}

which gives a way to have a reusable annotation that removes the default, which I hope gives you a way to address your point.
That said, I think everyone currently agrees the better solution to https://github.com/pydantic/pydantic/issues/6647 for FastAPI is on the FastAPI side, with the custom GenerateJsonSchema for non-body parameters that handles optional schemas differently. (I believe @Kludex has opened a PR for that.)
@commonism if you still have issues with this decision, please create a new issue about it and @-mention me, and we can try to make other improvements.


Make the Snap package build part of the beta and stable release processes

The snap package - which is the primary installation method for Linux - got extremely outdated, see https://github.com/flutter/flutter/issues/93495
To avoid such issue in the future there could be an extra task / step which could build the artifacts needed to refresh the snap package. Not necessarily with every commit, but possibly at beta and stable channel releases? Preferably even automatically upgrading the snap package if that's possible?

Or maybe there's such task already but something is broken in the pipeline? (I don't know though why in the middle of August the latest snap update featured 2.2.1 which is a May version of the SDK.)

\cc @csells is this something we need to sync up with Canonical?

If 2.2.1 is the newest stable build, then the reason may be that snap builds are triggered by the old, now deprecated release manifest file: https://storage.googleapis.com/flutter_infra/releases/releases_linux.json
The new, current manifest file is at:
https://storage.googleapis.com/flutter_infra_release/releases/releases_linux.json
See https://github.com/flutter/flutter/issues/75363 for context.
In doing some looking around, I can't see find the code for how snap builds are generated.

@robert-ancell can you take a look?

@kenvandine will know this better than me.

There's been a version in the edge channel for testing since Oct 30th, it was promoted to stable yesterday (Nov 15) which includes this fix.


Identify string length

Hi! I'm just wondering if this package can count the string length??
->if('field->length > 0')
Like so..

Hey no, it if in your case the field->length resolves to a string instead of number it won't work as expected,... in javascript, it will be compared like this: string > 0 which won't work obviously, however, if you cast field->length to a number yeah it will work as expected


[network] propagate noise pubkey in addr everywhere

For the main validator and full node network use cases, the noise and
handshake protocols should both be present in the NetworkAddresses
throughout the system.

The only discrepancy is that NetworkConfig currently contains the
"base" network address (e.g., "/ip6/::1/tcp/6180") for both listen and
advertised addresses, which are then rendered into the "prod" address
(e.g., "/ip6/::1/tcp/6180/ln-noise-ik/<pubkey>/ln-handshake/<version>")
just before they're handed to NetworkBuilder.

It would be cleaner and easier to specify protocol upgrades if the
addresses in configs were always fully rendered. Some future steps in
this direction include (1) modify ops code to always fully render
addresses, (2) configs and network should store a Vec<NetworkAddress>
for listen and advertisement, (3) support listening on multiple addrs.

With this change, we're now much closer to full noise ik integration,
since the noise pubkey is pushed down all the way to the transport when
dialing.

All on-chain network addrs are fully rendered.

There are some hacky bits since this PR is an intermediate step in the
overall Transport refactor. Specifically, the current Transport API
is not amenable to incrementally parsing the NetworkAddress.
Consequently, the parsing in this PR is pretty loose though this should
change soon when monolithic Transports are introduced. By "loose parsing"
I mean dialing on a Memory transport with
/memory/123/ip4/<IP_ADDRESS>/dns/foo.example which is clearly non-sensical
will actually succeed as the Memory transport is only parsing out the
/memory/123 prefix while the suffix is ignored.

not letting me reply inline 😭

Yes, this is totally orthogonal to the PR, but I feel like we should explore merging RawNetworkAddress concepts directly into NetworkAddress, it isn't clear to me why we want both? For example in other code, you convert from NetworkAddress to RawNetworkAddress using a try_from... but that should be infallible afaiu. if it were all self-contained this would be more self-evident.

yeah the only reason NetworkAddress => RawNetworkAddress is b/c lcs::to_bytes is apparently (?) fallible :'(
i would love it if it weren't haha
as for why even have RawNetworkAddress in the first place, here is an example of ignoring RawNetworkAddresses that fail to deserialize:
https://github.com/libra/libra/blob/master/network/onchain-discovery/src/types.rs#L144
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct DiscoverySetInternal(pub HashMap<PeerId, DiscoveryInfoInternal>);

impl DiscoverySetInternal {
    pub fn from_validator_set(role_filter: RoleType, validator_set: ValidatorSet) -> Self {
        Self(
            validator_set
                .into_iter()
                .filter_map(|validator_info| {
                    let peer_id = *validator_info.account_address();
                    let res_info =
                        DiscoveryInfoInternal::try_from_validator_info(role_filter, validator_info);

                    // ignore network addresses that fail to deserialize
                    res_info
                        .map_err(|err| {
                            debug!(
                                "failed to deserialize addresses from validator: {}, err: {}",
                                peer_id.short_str(),
                                err
                            )
                        })
                        .map(|info| (peer_id, info))
                        .ok()
                })
                .collect::<HashMap<_, _>>(),
        )
    }
}

:umbrella: The latest upstream changes (presumably 286088c0f2048c59a4475417efb12b3f8e23a8b6) made this pull request unmergeable. Please resolve the merge conflicts.

changes with these fixups:

listen_address is just the base address (e.g., "/ip6/::1/tcp/1234") inside network. though we return the fully rendered address to the caller in NetworkBuilder::build().
reworked TransportType => AuthMode so that listen_address + AuthMode fully specifies the transport. for example "/memory/0" + AuthMode::Mutual(key) => build_memory_noise_transport() + listen_address = "/memory/0/ln-noise-ik/<key.pubkey()>/ln-handshake/0".
i initially tried to enforce that all dial addrs must include "/ln-noise-ik/<pubkey>/ln-handshake/0" but it seems i actually need to convert seed_peers so they're always fully rendered first, since the network_peers field i was relying on for the pubkey is usually empty in validator configs.

Thanks for pushing that out! Make sure to look at my comments, and I guess squash all these fix commits :o
@bors-libra delegate+

:v: @phlip9 can now approve this pull request

@bors-libra r=mimoo

:pushpin: Commit e05b4f5 has been approved by mimoo

:hourglass: Testing commit e05b4f541d84697f750662a1fbb53c7800fa5538 with merge 615f1f83d9cb443b15861fbc9356cedcd949f160...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: mimoo
Pushing 615f1f83d9cb443b15861fbc9356cedcd949f160 to master...


Make configurable fees for the ibc transactions

In ibcclient.ts I created a prebuilt fee table with hardcoded values
// TODO: replace this with buildFees in IbcClient constructor to take custom gasPrice, override gas needed
const fees = {
  initClient: {
    amount: coins(2500, 'ucosm'),
    gas: '100000',
  },
  // ...
};

We should:

Allow these to be configurable in IbcClient, like the other options on SigningStargateClient. They can be a separate member of Options for just the ibc-related default gas if that is easier way to extend the options.
Provide sensible default gas for each transaction - take the current values and see if you can lower them a bit
Store the values in IbcClient and use them (remove the global fees object)

Closed in #32


Places you must visit cards and check now box

Hovering over the cards of **places you must visit the background **is becoming a lot shadowy along in the background with a little bluey at  border also the text inside it is very shinny that becomes little blurry  when the cursor is over the card.
The checknow and other two location boxes should be aligned properly since it just looking like the images are pasted over the banner .

Go ahead @Mysterious786
Show your love by stargazing the repo 🤩

I will do my best.

@Mysterious786 Plz finish the task early


Retain the original order of preserved text. Fixes #255.

Issue
Per https://github.com/Automattic/juice/issues/255, since utils.getPreservedText iterates over the rules in reverse order and pushes preserved items onto an array, the order of those preserved items is flipped. This causes CSS precedence issues in the final output.
Proposed Solution
We move from Array.push to Array.unshift for the preserved text, retaining the source order.

Change looks good. Would you mind adding a test to cover the change? I consider this mildly breaking but no test was added or changed to show that, a test should have previously failed on the old code but should now work. I can merge and release after that is added. Thank you!

@jrit thanks for the comment! I've added a test. Let me know if you need anything else.

Thanks @giles-v 👍


Not working

I try to run this on my code and nothing changes please help

what is the output on terminal after running shittier??

this tool can struggle with projects that already contain a lot of shit code, you may need to clean your code up a bit manually before attempting to run this tool on your project


how to create a topic with more partitions or replicas

If I need to create a topic with 3 partitions, how can I use the create topic method ?
I can only find the createTopics(topics, async, cb)  in the index page example.
It means I can only create topic with 1 partition?

createTopic as it's currently implemented relies on the default topic creation settings specified in your broker config. If this is set to three partitions it will create three I believe default is 1 partition.
The latest protocol has a more robust create topic API if someone is willing to take a stab at implementing it.

After reading the code of this project and Kafka Documentation, it shows that this project uses the Kafka protocol to retrieve metadata for specified topics and if the topic is not there, the Kafka cluster will generate it automatically. This automatic creation based on the server properties of Kafka cluster. If the cluster disable this behaviour in the configuration (The configuration name is "auto.create.topics.enable"),   I think the topic creation method fails.  In order to solve this problem and create the topic with more partitions, replication factors and even more configurations, there are two possibilities.

Directly modify the zookeeper of Kafka Cluster.

Copy the Kafka.Clients.Admin[1] Class behaviour
Advantages:
1. Support all Kafka versions
2. Flexible you can do all the stuff like Java client
Disadvantages:
1. Dangerous, you need to make sure all the stuff that you do are safe. One mistake may damage the topic or the Cluster.
2. A lot of work. This project will take all the jobs of Java Kafka Client.

Sending specified new message to create topics

Based on the Kafka Protocol [2], you can create a specified message to create a topic and specified the topic configurations.
Advantages:

Easy to implemented
It seems that Kafka community encourages others to use this protocol.
Safe

Disadvantages:

Only Kafka above 1.0 support this.
Only do what the protocol allows you to do.

In a word, I prefer the second approach. Because it is easy,  you needn't to reimplement all the Java code and the first approach is dangerous.
Hope it will help someone to implement this feature, if nobody wants and the project owner confirms this approach. I will try to implement this.
[1] : https://github.com/apache/kafka/tree/trunk/clients/src/main/java/org/apache/kafka/clients/admin
[2]: https://kafka.apache.org/protocol

I think you should add more Admin APIs to support for more configurations.


Datenkrake Scraper

Adds a scraper that tries to parse as much information as possible from the HPI page. See https://github.com/hpi-swt2/compass-portal-red/wiki/Scraper

nice


Task portlet missing entry for "My resources that which have gone live"

So we better add it

Fixed


[Task]: Refine changing of unit on send form

Task description
This task addresses the enhancement request in https://github.com/iotaledger/firefly/discussions/651. Basically, it is weird that the amount changes when the unit changes on the send transaction form, and it would be better for UX if the amount remained the same.
Q: Should this also be the case when we switch to a fiat unit? We should check existing apps like coinmarketcap etc to see what they do and follow the industry standard.
Requirements

[ ] Amount to remain the same when unit of IOTA changes in send form
[ ] Decide if we should do the same for Fiat units.

Acceptance criteria
The PR meets the above requirements, and is bug free.
Creation checklist

[x] I have assigned this task to the correct people
[X] I have added the most appropriate labels
[X] I have linked the correct milestone and/or project

I checked atomic and exodus. They both have a two input fields. One for crypto and one for fiat.


Generated cache failed with "Ninja".

The cache generation failed when I used the "Ninja" generator  in VS to generate a cache for a CMake Folder, VS language I use the CSY. Please see as below:
CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/Preview/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake:51 (message):
1> The C compiler "C:/Program Files (x86)/Microsoft Visual
1> Studio/Preview/Enterprise/VC/Tools/MSVC/14.11.25503/bin/Hostx86/x86/cl.exe"
1> is not able to compile a simple test program.
1>
1> It fails with the following output:
1>
1> Change Dir: C:/Users/mdTestAU/CMakeBuilds/8f040025-9a15-ab3e-8889-d02267d3b2e5/build/x86-Release/CMakeFiles/CMakeTmp
1>
1>
1>
1> Run Build
1> Command:"C:/PROGRA~2/MICROS~2/Preview/ENTERP~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe"
1> "cmTC_3e975"
1>
1> ninja: error: build.ninja:30: loading 'rules.ninja': SystÚm nem¨×e
1> nalÚzt uvedenř soubor.
1>
1>
1>
1>
1> include rules.ninja
1>
1>
1> ^ near here
1>
1>
1>
1>
1>
1> CMake will not be able to correctly generate this project.
1> Call Stack (most recent call first):
1> CMakeLists.txt(4): (project)
1>
1>
1> -- Configuring incomplete, errors occurred!
1> See also "C:/Users/mdTestAU/CMakeBuilds/8f040025-9a15-ab3e-8889-d02267d3b2e5/build/x86-Release/CMakeFiles/CMakeOutput.log".
1> See also "C:/Users/mdTestAU/CMakeBuilds/8f040025-9a15-ab3e-8889-d02267d3b2e5/build/x86-Release/CMakeFiles/CMakeError.log".
1> C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\PREVIEW\ENTERPRISE\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe -G "Ninja" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\mdTestAU\CMakeBuilds\8f040025-9a15-ab3e-8889-d02267d3b2e5\install\x86-Release" -DCMAKE_BUILD_TYPE="RelWithDebInfo" -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\PREVIEW\ENTERPRISE\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "C:\Users\mdTestAU\Desktop\zlib1211\zlib-1.2.11" – vráceno s ukončovacím kódem: 1
Přepínač konfigurace na x86-Release je hotový.

This is a CMake error, not a Ninja error. Something went wrong in the configure step of the project. Looking for that error would be the way to fix it (it isn't in your provided output). If you're still having issues, please email the CMake mailing list.
@nico Feel free to close this.


Update dependency @balena/lint to v6.2.2

This PR contains the following updates:

Package
Type
Update
Change

@balena/lint
devDependencies
patch
6.2.0 -> 6.2.2

Release Notes

balena-io-modules/node-balena-lint (@balena/lint)
v6.2.2
Compare Source
(2023-03-17)

Update TypeScript to 5.0.2 [Thodoris Greasidis]

v6.2.1
Compare Source
(2022-11-07)

Switch to flowzone [fisehara]

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


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/64119

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

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


Update to Comet v6

Breaking Changes:

Now requires >= v6.0.0 for @comet packages

API:

All GraphQL resolvers now require the brevo-newsletter permission.
BrevoContactResolver#subscribeBrevoContact mutation: The scope argument was moved outside input to enable an automatic scope check
BrevoContactsService#createDoubleOptInContact: scope was moved outside data and is now the second argument
TargetGroupsService#findNonMainTargetGroups: data was replaced with scope

COM-708

@thomasdax98 should I review this PR or @raphaelblum?


In Options, why are omitFields and omitCases String -> ... and not List -> ...

Ask max t. He should be able to search chat logs with me for why this was decided upon.

For reference, these issues and PRs are mostly for me to keep track off. No worries if you want to turn off notifications :)

I'm interested in seeing improvements to the library, so want to keep notifications on.
I think a new major release should be made after typescript is supported. There have been a number of bugfixes and improvements.

Nice, and I agree. I think tomorrow afternoon I'll try it with Mercury and see what goes wrong from the TS side.

Actually this issue makes no sense. omitFields is a function which describes what fields to keep or discard


Attribute within range (pillar 2)

An implementation of "attribute within range" method as part of the PCAPI filter chain using the same architecture and syntax as the PiP filter.
Example syntax:
filter=rangecheck&rangecheck_name=height&rangecheck_min=1&rangecheck_max=2
Clarifications:

rangechange_name, rangecheck_min and rangecheck_max are all cast to floats. If casting fails the returned value is { error:1, msg: "Cannot convert X to float" }
Any parameter can be omitted but not both
filters should be tested to be chainable without any extra development effort. For example the pip and rangecheck (or any other pcapi filter) should be chain-able with this syntax:

filter=pip,rangecheck&pip_point=[1,1]&pip_polygon=[[0,0],[0,2],[2,2],[2,0]],rangecheck_name=height&rangecheck_min=1&rangecheck_max=2
which should only return values within the specified polygon and range

@xmichael  couple of clarifications.
If rangecheck_min or rangecheck_max parameter is omitted, do you want the omitted value to be the same as the defined value, so it would be a test for equality?  Alternatively you could make rangecheck_max mandatory and give rangecheck_min a default value of 0.
Does rangechange_name match the id of a property field? i.e:
{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [
      -2.236263725924374,
      53.43324078909734
    ]
  },
  "properties": {
    "editor": "a42049ec-89b8-431d-a2e2-e0fd50739a77.json",
    "fields": [
      {
        "id": "text-1",  <<==================
        "type": "text",
        "val": "test",
        "label": "Group name"
      },
      ...

The rangecheck_name should be the id of the field
We should probably avoid any complicated solutions regarding parametres. If rangecheck_min is omitted then we just check that value < rangecheck_max -- any value below that would pass the filter including negative floats. Similarly for when rangecheck_max is omitted.


[ilp-core] Fix Javadoc warnings

 Issue by sappenin
Sunday Oct 15, 2017 at 17:15 GMT
Originally opened as https://github.com/interledger/java-ilp-core/issues/96

There are > 70 javadoc warnings that should be cleaned up.

@sappenin  This one can also be closed.


The logo in the CODON\README is far too big

Also what's with all the emojis?

Hi Paul,
The emojis have been removed with later commits. Furthermore, the logo has been removed for now.
Thank you for your feedback.


Which moment the datanodes of a projectTree are loaded?

I'm trying to expand the first node of the tree. I've tried it on ngAfterViewInit and ngAfterViewChecked but the dataNode array is empty.
ngAfterViewChecked() {     this.treeControl.expand(this.treeControl.dataNodes[0]);   }

This issue doesn't have enough information for the team to investigate. Please include:

A reproduction of the issue (preferably via StackBlitz)
Any relevant errors and stack traces
Any relevant details about your build environment

(this is a canned response)


grid showed sum value(expression too long)

i solve issue similar to #3007 but my expression is too much complex
[Expression("(SELECT SUM(h.[PointForSales]) "
            + "FROM [dbo].[CustomerCreditContract] AS c "
            + "LEFT JOIN [dbo].[HomeReview] AS h "
            + "ON c.[ContractId] = h.[ContractId] "
            + "WHERE c.[Status] = 7 "
            + "AND c.[SalesId] = T0.[SalesId] "
            + "AND c.[ContractCreatedDate] >= DATEFROMPARTS(YEAR(GETDATE()),MONTH(GETDATE()),1))")]

anyone have an idea for better solution, thanks

Why not creating an SQL view with same query and use a simple SELECT ... FROM view + filter with = T0.[SalesId]

@khanh7495 what is your row, CustomerCreditContract or HomeReview.
Did you try to use INNERJOIN / LEFTJOIN attribute on your ROW,  for example:
    [InnerJoin("oh", "dbo.ExampleDetail", "t0.Id= oh.Id")]
    [LeftJoin("cc", "dbo.ExampleConfig", "cc.Id= T0.Id")]
    public sealed class ExampleRow : Row, IIdRow, INameRow
    {
        [Expression("oh.SampleFieldId")]
        public String SampleFieldId
        {
            get { return Fields.SampleFieldId[this]; }
            set { Fields.SampleFieldId[this] = value; }
        }
        ....


footer needs to be added in pages

mention the footer in the pages.tsx

#147 pages have been inked to footer


Template Processing Failed:(4,47): error CS0234:

There was an error running the selected code generator: ‘There was an error running the template C:\User\xsqian.nuget\packages\microsoft.visualstudio.web.codegenerators.mvc\2.1.1\Templates\ControlerGenerator\MvcControllerWithContext.cshtml: Template Processing Failed:(4,47): error CS0234: The type of namespace name ‘Hosting’ does not exist in the namespace ‘Microsoft.AspNetCore.Razor’ (are you missing an assembly reference?) (20,41): error CS0234: The type or namespace name ‘Hosting’ does not exist in the namespace ‘Microsoft.AspNetCore.Razor’ (are you missing an assembly reference?)’

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

ID: 998197fe-077b-acee-c91c-12f074359e9e
Version Independent ID: 7542e87e-8f99-9b91-6df1-6983776ad1d2
Content: Getting Started on ASP.NET Core - Existing Database - EF Core
Content Source: entity-framework/core/get-started/aspnetcore/existing-db.md
Product: entity-framework
GitHub Login: @rowanmiller
Microsoft Alias: divega

@Rick-Anderson Any ideas on this?

@xsqian  Where exactly in the tutorial did you get that error?
we've had this reported several times but I haven't been able to reproduce the problem.
What has helped in the past:

Update VS to the latest version (if you're using VS)
Make sure you have the .NET Core SDK 2.1 installed (run dotnet --version and output should be >= 2.1.300
If that fails repair .NET SDK and VS

@seancpeters  we've seen this error a few times.
@xsqian  can you try the following:
dotnet new webapp -o ContosoUniversity
cd ContosoUniversity
dotnet run
Add Student class
using System;
using System.Collections.Generic;

namespace ContosoUniversity.Models
{
    public class Student
    {
        public int ID { get; set; }
        public string LastName { get; set; }
        public string FirstMidName { get; set; }
        public DateTime EnrollmentDate { get; set; }
    }
}

Scaffold the student model
dotnet add package Microsoft.VisualStudio.Web.CodeGeneration.Design --version 2.1.0
dotnet aspnet-codegenerator razorpage -m Student -dc ContosoUniversity.Models.SchoolContext -udl -outDir Pages\Students --referenceScriptLibraries

I receive this same exact error when performing the "Create a Controller" step:
https://docs.microsoft.com/en-us/ef/core/get-started/aspnetcore/existing-db#create-a-controller
After performing these steps:
Right-clicking on the controller folder
Selecting the MVC Controller with views, using Entity Framework option
Selecting the model class and Data context class
After clicking the "Add" button, the above-mentioned error is produced.

@yamazaroon  can you try the steps I've outlined above  - starting with dotnet new webapp -o ContosoUniversity

I met this problem today,and I changed the version of Microsoft.AspNetCore.All in .csproj file then it worked in asp.net core 2.1.

netcoreapp2.1

@zackshine  using M.A.All is discouraged. See https://docs.microsoft.com/en-us/aspnet/core/fundamentals/metapackage?view=aspnetcore-2.1

I encountered the same error at the Create a Controller step (see @yamazaroon 's comment above) and tried the steps @Rick-Anderson suggested:

Checked that .NET Core SDK 2.1 is 2.1.3
Ran a Repair on VS
Checked that my ContosoUniversity app worked properly (I already had this project, created from a different tutorial)
None of these solved the issue, so I deleted the project and re-ran this tutorial using ASP.NET Core Templates 2.1 instead of  ASP.NET Core Templates 2.0 as directed in the Create a new project section. With this change I was able to complete the tutorial successfully and add new URLs to the Blog table.

The comment system my csproj as html. Here it is with the angle brackets converted to curly braces...
{Project Sdk="Microsoft.NET.Sdk.Web"}
{PropertyGroup}
{TargetFramework}netcoreapp2.1{/TargetFramework}
{/PropertyGroup}
{ItemGroup}
{PackageReference Include="Microsoft.AspNetCore.App" /}
{PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="2.1.0" /}
{PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.1.0" /}
{PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.1.0" /}
{/ItemGroup}
{/Project}

@joelbenford add version to M.A.App
{PackageReference Include="Microsoft.AspNetCore.App"  Version="2.1.0" /}
but 2.1.1

Closing. You get this error when you don't have the current .NET Core SDK installed.


Getting syntax error while bashit reload

I have added some youtube-dl aliases to the bashrc file, but now I have deleted them. Since then i am getting this syntax error. Could you help me identify the cause?

Does the same happen when you open a new Terminal window? Or only when you reload?

Only on reload and yesterday I tried updating bashit via bashit update, the same happened at that time also

Does the error happen in this scenario?

Open a new Terminal window
In this new Terminal window, run bash-it reload

@nwinkler  yes

No, in new terminal it does not happens.

could you tell me why it happens in the same terminal?

It probably happens because your existing Terminal session still contains a definition of the alias in the current session. We don't include automatic unaliasing for things that are no longer there.
Fix: Open a new Terminal window and work there, or run unalias foo (replace foo with the name of the deleted alias) before running bash-it reload.

oh cool

Sorry to bump in here, but I get the same error and did not understand the explanation. I do define custom aliases, and the error involves one of those aliases (not the first one I define, though). Rather, it seems to be the first recursively defined alias. For example:
alias long-command="bla bla bla"
alias short="long-command"

Then it complains about short.
Detailed error message:
bash: /tmp/alias_completion-1175bpCQE5: line 706: syntax error near unexpected token `;'
bash: /tmp/alias_completion-1175bpCQE5: line 706: `                        COMP_WORDS=(sbf; stack install --fast --dump-logs --work-dir .stack-work ${COMP_WORDS[@]:1})'
bash: sbf;: command not found
bash: /tmp/alias_completion-1175bpCQE5: line 711: syntax error near unexpected token `}'
bash: /tmp/alias_completion-1175bpCQE5: line 711: `

Interesting one. Can you show the actual definitions of your aliases? Would like to see where the sbf (and the added semicolon) come from...

The definitions are:
alias sbfast="stack build --fast --dump-logs --work-dir .stack-work"
alias sbf="sbfast"

They are in aliases.bash, in the custom folder.


Correct typo in docstring of fenrir_nll

Codecov Report

Merging #18 (6c37ee3) into main (9aa316b) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main      #18   +/-   ##
=======================================
  Coverage   63.80%   63.80%
=======================================
  Files           1        1
  Lines         105      105
=======================================
  Hits           67       67
  Misses         38       38

Impacted Files
Coverage Δ

src/likelihood.jl
63.80% <ø> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[Event Hubs Client] Preparation for Event Processor Implementation

Summary
The focus of these changes is to set the groundwork for implementation of the Event Processor base class by renaming members, shifting namespaces,
and flipping some internal types to public.
Last Upstream Rebase
Monday, February 25, 4:44pm (EST)
References and Related Issues

.NET Event Hubs Client: Event Processor Proposal
Implement the Event Processor Base (#9324)

//cc: @christothes


Imputer

I'll wait for Sebastian to have a look at the changes and verify he's happy with them and merge.
Beyond the imputer, this PR also adds fixes for the utilsmigration saga (#66 #68 #69)


Configuration in Zookeeper (/config/brokers/{id}) isn't refreshed after changes made to KafkaCluster.spec.listenersConfig.externalListeners

Hello.
I have recently had problems with a cluster - it stopped working. I guess it was caused by invalid configuration.
With fixing configuration I also changed  KafkaCluster.spec.listenersConfig.externalListeners from
listenersConfig:
externalListeners:
- ...
containerPort: 9094
To
listenersConfig:
externalListeners:
- ...
containerPort: 9095
And number of brokers to 2.
After the change my cluster was in Running state, but I could not access it:

envoy had correct (updated) configuration in the configmap
brokers exposed correct (updated) container port
BUT zookeeper. get /config/brokers/0 had advertised.listeners still pointing to port 9094
BUT zookeeper. get /config/brokers/1 did not exist

Did it happen to you? Do you know maybe how to force refresh? In my case I replaced /config/brokers/0 with empty value to make the cluster operable.

@play-io Can you provide detailed steps for reproducing this issue?
Based on the given information, I can only tell that the new broker never gets registered to ZooKeeper, but can't tell what causes this without seeing the detailed steps and some logs

Dear @play-io !
Are you sure about you wanted to change the containerPort for the external listener?
Kafka listens on the specified containerPort in the pod but it is not the same as the exposed port which is available outside of the Kubernetes cluster through envoy. You have to configure the  externalStartingPort to modify the  advertised.listener port number. Currently the exposed port will be the externalStartingPort + brokerID.
More details: https://github.com/banzaicloud/koperator/blob/08b2a9f2197f1f9528a17966e47da5763a88532d/config/samples/banzaicloud_v1beta1_kafkacluster.yaml#L279
and here: https://smm-docs.eticloud.io/sdm/koperator/external-listener/

Hi @panyuenlau

but can't tell what causes this without seeing the detailed steps and some logs
Makes sense. Steps to reproduce:

Put incorrect (config options start with -) configuraiton into brokers template config
brokerConfigGroups:
default:
config: |-

"auto.create.topics.enable=false"
"cruise.control.metrics.topic.auto.create=true"
"cruise.control.metrics.topic.num.partitions=1"
"cruise.control.metrics.topic.replication.factor=1"

Assign the template to all brokers
brokers:

id: 0
brokerConfigGroup: "default"
...

Apply the new config to a cluster
If after the new config is applied and brokers accessible then make a change to containerPort in externalListeners configuration.
Given you have
externalStartingPort: 19090
containerPort: 9095
Then change to
externalStartingPort: 19090
containerPort: 9096

Observations:

Incorrect configuration somehow hasn't broken cluster from the beginning
Just after making changes in externalListener ports.

Troubleshooting:
After the change my cluster was in Running state, but I could not access it:
envoy had correct (updated) configuration in the configmap
brokers exposed correct (updated) container port
BUT zookeeper. get /config/brokers/0 had advertised.listeners still pointing to port 9094
BUT zookeeper. get /config/brokers/1 did not exist

H @bartam1

Are you sure about you wanted to change the containerPort for the external listener?
Yes an I'm aware about its sense.


🤖 - Improve API page on for icon

Description
<EMAIL_ADDRESS>let's put the filled versions of the icons in the background, because now the exact same set is transmitted both to the icon and to the background?

Good idea, just got to make sure it works properly with proprietary icons. We can also use less icons as options, the list is very long currently.


A ghast blew our server up

Just kidding, a ghast fireball hit one of the plutonium ores and took the server down.
http://pastebin.ubuntu.com/15531208/
At least that's what we think happened.

Another pastebin for you maybe better detail, this time a nitro creeper in the nether blowing up, same issue I believe.
http://pastebin.ubuntu.com/15538226/

Fixed! Plutonium, Quartz and Lapis were given extra drops, and I forgot to check that a player was breaking the block.


Refine use navigation param

Introduces a useState like API for useNavigationParam as suggested in #19  and allows a fallback value as a second argument.
Theres also an updated and one added test as well as updated documentation and a new warning because of this breaking changes.
Currently the linter is failing because of a missing type for fallbackValue.
Since I'm not very fluent in typescript I'd couldn't find a solution that doesn't end in errors :/

Very neat! I'm not particularly well-versed in typescript either, so you probably tried this, but I would expect fallbackValue?: NavigationParams[T] (or something along those lines) to work.
Though, digging a bit to see what the type of getParam itself is, it seems the ts typings for it defines it as an overloaded function, with a single-argument case returning a nullable result, and with the two-argument case enforcing the result to be non-nullable.
Honestly, I wouldn't worry too much about the fallback value param--it does make sense I think to support it, since it matches what getParam does, but I think it's much less of a hassle to add later on compared to the "return pair of value and setter" change. Like, it's nice if we find a typing that works for it, but it's not the end of the world if we skip the fallback-value param for now.
Thanks a lot for writing up this PR btw! 😄

@satya164 Thank you for the review! I pushed some changes, that resolve most of the change requests :)

Thanks @benseitz , that looks fine to me
Can you rebase and resolve the conflicts?
I'm not going to merge it very soon because it's a breaking chance, will try to see what other breaking changes we can do for a v2

@satya164 do you plan to include such hook in react-navigation v5?
As mentionned here: https://github.com/react-navigation/hooks/issues/44
I think it's not a good idea to add hooks here that won't be in v5, will only make the migration more painful, and I currently don't see such a hook in v5 codebase)

@slorber we are not, in v5 the route object is a top level prop, so instead of navigation.state.params, user can do route.params which is shorter. For handling optional params and default value, the upcoming optional chaining and nullish coalescing operators work well:
- navigation.getParam('foo, 'defaultValue')
+ route.params?.foo ?? 'defaultValue'

so, @satya164 do you think we should merge it? I think it's not a big deal even if v5 does not have it, because we already have useNavigationParam() anyway. The other option would be to remove it and ask user to use optional chaining, but not sure many have enabled it on their babel setup (TS just merged the PR)

Regarding optional chaining, React Navigation v5 is still in alpha, so I'm not much worried about it not being available by default yet.
Regarding whether to merge the PR, it's upto you. Though a breaking change for this when upgrading to hooks v2 and again when upgrading to navigation v5 might not be best.

Hi,
I think we'd better not ship this feature if this is not in v5
Thanks


Add users to server

Like in Pterodactyl, you can add users to other servers so they can manage it, like console or smth..

would be really great

Heyhey. This feature is already in the Moonlight v2, which is in heavy Development by masu...


ci(build): query scorecard image tags with registry v2 api

Welcome to Cryostat! 👋
Before contributing, make sure you have:

[x] Read the contributing guidelines
[x] Linked a relevant issue which this PR resolves
[x] Linked any other relevant issues, PR's, or documentation, if any
[x] Resolved all conflicts, if any
[x] Rebased your branch PR on top of the latest upstream main branch
[x] Attached at least one of the following labels to the PR: [chore, ci, docs, feat, fix, test]
[x] Signed all commits: git commit -S -m "YOUR_COMMIT_MESSAGE"

Fixes: #914
Description of the change:

Replaced podman search with curl to registry v2 api (quay.io is compatible). References: https://docker-docs.uclv.cu/registry/spec/api/#existing-manifests
This sends HEAD request to /v2/<name>/manifests/<reference> to check if an image exists for the specified tag.

Motivation for the change:
See #914. I avoided fetching tags since the tag list can grow rather large with time. This method should basically query in constant time and also skip pulling the image layers.
How to manually test:
Check if a image for specified tag exists:
TAG=3.0.1-20240704162318
curl -ILs -o /dev/null https://quay.io/v2/cryostat/cryostat-operator-scorecard/manifests/$TAG -w "%{http_code}"

Sample run: https://github.com/tthvo/cryostat-operator/actions/runs/9884455121/job/27300862066

A bit late now, but I think skopeo inspect could have also been useful here. It would retrieve metadata about the image rather than simply checking that it exists so it would probably be a bit slower, but it it's nice and easy to read:
$ skopeo inspect --no-tags docker://quay.io/cryostat/cryostat:3.0.0 >/dev/null 2>&1
$ echo $?
0
$ time skopeo inspect --no-tags docker://quay.io/cryostat/cryostat:3.0.0 >/dev/null 2>&1

real	0m1.074s
user	0m0.020s
sys	0m0.026s

$ skopeo inspect --no-tags docker://quay.io/cryostat/cryostat:4.0.0 >/dev/null 2>&1
$ echo $?
1
$ time skopeo inspect --no-tags docker://quay.io/cryostat/cryostat:4.0.0 >/dev/null 2>&1

real	0m0.853s
user	0m0.020s
sys	0m0.019s

Oh nicee! Thanks @andrewazores, I didn't know skopeo is available. I guess its a bit nicer with curl to distinguish a 404 and other fails (i.e. 500, 401, or just the command error)?

If you leave off the >/dev/null 2>&1, skopeo will give you some nicer output about any errors it runs into:
$ skopeo inspect --no-tags docker://quay.io/cryostat/cryostat:4.0.0
FATA[0000] Error parsing image name "docker://quay.io/cryostat/cryostat:4.0.0": reading manifest 4.0.0 in quay.io/cryostat/cryostat: manifest unknown

$ skopeo inspect --no-tags --username notme --password incorrect docker://quay.io/cryostat/cryostat:4.0.0
FATA[0000] Error parsing image name "docker://quay.io/cryostat/cryostat:4.0.0": unable to retrieve auth token: invalid username/password: unauthorized: Invalid Username or Password

But in both of these cases, $? is just 1. So if the script somehow wants to take different actions depending on the failure mode then the curl is more useful.

Make sense thanks! I think we can note this for future refactoring of the ci yaml.


WIP: PoC for integration tests with testcontainers

I just wanted to show you a PoC for a possible integration test setup.
The tests start a Flipt container via testcontainers.
The individual tests import configurations to set up a known state before they run. After they are finished, they delete everything.
To import configurations, the files are copied into the container and then loaded using the flipt CLI.
What do you think?
Can you imagine using this general idea to test the SDK?

@markphelps I found some time to continue with the writing of the integrationtests.
I think I found a bug in the CLI-Tool and reported it in https://github.com/flipt-io/flipt/issues/2070. This issue kinda blocks the progress of this PR, although I can work around it for a while.
I would really appreciate a feedback in the raised issue.

Hey @Farbauti89 ! Thanks for reporting https://github.com/flipt-io/flipt/issues/2070! We have a fix merged and will create a patch release this weekend.
Also we have a way forward to add the extra testcontainers dependency in the fern generated java SDK: https://github.com/flipt-io/flipt-api/pull/94
Just waiting on some feedback from Fern as its not quite working as expected. But just wanted to post an update so you know we are still actively working on this and also that I appreciate your contributions!


fix error import modules

fix error import modules in index.js

Good catch! :/

Awesome! Just figured this out myself. @tleunen when do you expect to publish this to npm?

I was waiting to see if there were any other quick fixes to make


[WIP] Integrate Rust Fetcher

moved here https://github.com/CounterpartyXCP/counterparty-core/pull/1789


Built-in metrics refactor

Summary
Refactor built-in metrics.
Goals:

Make top of documentation more approachable. Large multi-level table was intimidating.
More information at the meter level, i.e. description, metrics list.
Improve look and feel. I didn't like Meter:  and Instrument:  repeated multiple times.
Remove some information and link to semantic conventions for complete information about a metric.

Changes:

Change top level list of meters and instruments to only meters.
Add description and metrics list to meter.
Removed Meter:  from meter headers. Unnecessary now that each meter has a description.
Changed Instrument:  to Metric:  on metric/instruments. While the implementation is of instruments grouped by meters, from the developer's point of view they care about the metric with that name. I think discussing metrics rather than instruments aligns with how people care about this feature.
Metric name links to Open Telemetry semantic conventions for that metric. e.g https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-http-metrics/#metric-httpclientrequestduration

[!NOTE]
These changes aren't complete. For example, lists of metrics have only been added to some meters. Once there is consensus about changes then they'll be applied everywhere.

Internal previews

📄 File
🔗 Preview link

docs/core/diagnostics/built-in-metrics-aspnetcore.md
ASP.NET Core metrics

Is it useful to have a list of meters at the top of the article? The In this article section already has a list of high-level headings that shows the same information:

I'd like to remove it.


JSON Schema validation for API calls not working as expected

Tried sending a request to an API with a request body containing an extra key-value pair and an invalid datatype for a key. The tryout menu returns '500: undocumented error' and the cURL command returns nothing.

It looks like schema validation does not happen as we don't build the message. Basically, it skips the schema validation.

This seems to be working in the latest pack.


Allow for more port configuration

It would be cool to:

be able to define the port name
make dynamic ports
use bridge with port mapping

PRs are welcome :)


High Memory Usage when processing HEIC file with high dimensions

I'm encountering a high memory usage issue when using sharp to process a HEIC file with the density set to 300. The memory consumption seems to be significantly higher than expected, especially with HEIC files of larger dimensions. The memory usage metrics observed are:
{
  "rss": "881.21 MB -> Resident Set Size - total memory allocated for the process execution",
  "heapTotal": "7.79 MB -> total size of the allocated heap",
  "heapUsed": "6.5 MB -> actual memory used during the execution",
  "external": "2.91 MB -> V8 external memory"
}

Below is the script which I'm running:
const sharp = require("sharp");
const fs = require("fs");

const inputFilePath = "test.heif";
const outputFilePath = "output.heif";
const inputBuffer = fs.readFileSync(inputFilePath);

const processImage = async () => {
    try {
        const outputBuffer = await sharp(inputBuffer)
            .heif({ compression: "hevc" })
            .withMetadata({ density: 300 })
            .toBuffer();
        fs.writeFileSync(outputFilePath, outputBuffer);
        console.log("Image processed successfully!");
    } catch (err) {
        console.log("err => ", err);
    }
};

processImage();

Steps to Reproduce:
Use the provided script to process the HEIC file with density set to 300.
Monitor the memory usage during the execution.
Expected Behavior:
The memory usage should be within reasonable limits for the given operation.
Actual Behavior:
The memory consumption is higher than expected, especially with HEIC files of larger dimensions, such as 8736px X 5856px.
Image Information:
Image Dimensions: 8736px X 5856px
Format: HEIC
Environment:
Sharp Node version: 0.32.6
Node.js version: 18.16.0
Operating System: Alpine Linux
Additional Information:
I have observed that the issue is more pronounced with larger HEIC files. When testing with images of lesser dimensions, the memory usage appears to be within acceptable limits. Attached the HEIC file (8736px X 5856px) which I've used.
test.heif.zip

Best guess would be that this relates to the not-yet-released https://github.com/strukturag/libheif/pull/1061

@lovell I'm trying to build libheif v1.17.6 from source in my dockerfile as I'm using alpine 3.17 and libheif v1.17.6 is not present in the alpine packages yet.
Here is how my dockerfile looks
RUN apk add libpng-dev libjpeg-turbo-dev libwebp-tools ffmpeg build-base libheif-dev vips-dev meson cmake

ENV LIBHEIF_VERSION=1.17.6
RUN wget https://github.com/strukturag/libheif/releases/download/v$LIBHEIF_VERSION/libheif-$LIBHEIF_VERSION.tar.gz && \
   tar -xzf libheif-$LIBHEIF_VERSION.tar.gz && \
   cd libheif-$LIBHEIF_VERSION && \
   mkdir build && \
   cd build && \
   cmake .. && \
   make && \
   make install && \
   make clean

# Download and extract the libvips source code
ENV LIBVIPS_VERSION=8.15.0
RUN wget https://github.com/libvips/libvips/releases/download/v$LIBVIPS_VERSION/vips-$LIBVIPS_VERSION.tar.xz && \
   tar xf vips-$LIBVIPS_VERSION.tar.xz && \
   cd vips-$LIBVIPS_VERSION && \
   meson setup build && \
   meson compile -C build && \
   meson install -C build

But I'm still facing the issue, can you please tell if I'm making any mistakes here?

v0.33.2 now available with prebuilt binaries that include libheif v1.17.6.

Hi @lovell , thanks for your help here, but for some reason, I'm seeing heifsave: Unsupported compression when I install v0.33.2. I have built libvips v8.15.1 and kept node v18.17.0, but I'm still facing this issue.
Anyways, I have managed to build libheif v1.17.6 from source in my Dockerfile, but it didn't help. The memory usage is still high, and I have temporarily fixed the issue by increasing the memory size.
Another issue I'm facing is that the time taken to process the images is significantly high. It takes around 3 minutes or more to process a 50MP heic image.
Can you please let me know if we can reduce the time taken for processing?

You'll need to provide a complete, standalone repo that includes things like a Dockerfile, package.json, sample images and minimal code that allows someone else to reproduce.

Hi @lovell , I have created this repo with all the necessary details, can you please check ?
https://github.com/adarsh-fynd/heic

Thanks, please can you first update all the dependencies to the latest, including Alpine, Node.js and libvips.
In addition, it looks like the sample code is decoding HEIC and encoding as AVIF. Is this intentional?

I tried updating to libvips v8.15.1 and sharp v0.33.2
I didn't update node js to the latest version, updated it to the v18.17.0
But I'm seeing the following error
Error: source: bad seek to 2503503
heifsave: Unsupported compression

I have updated the changes in my repo for reference.
Also, I was trying to encode as HEVC in my sample code, have updated the sample code in my repo.

I have same error with sharp 0.33.3 and libvips 8.15.2, nodejs 18.20.0 @adarsh-fynd


[WIP, PoC] Handle Highstate completion

Just tried and it worked fine here, we might want to improve a little bit this PR.


ML tutorials: use Path.Combine to generate file paths

Supported by dotnet/samples#130
Fixes #5970

As samples are merged, let's trigger a new build.

@JRAlexander I've made changes after your last comment. so please, review them as well.


Make scenario specific setting overwritable: Token address

Analysis
Introduction
Currently each scenario has some hardcoded settings specified. Some of these settings should be made overwritable through the CLI arguments of the scenario player when starting a scenario in order to make scenarios more dynamic in regards to which environment they are run in. This should be done as a solution to https://github.com/raiden-network/team/issues/682.
At the moment the address of the token used is hardcoded per scenario. In case we want to run the scenarios in different environments it will be convenient to be able to specify which token to use.
Solution
Make it possible to overwrite the
token:
  address: "0xADDRESS"

setting through an argument when starting the Scenario Player.

This can be handled using a jinja2 template - no changes required.


How to generate the multiple extent reports for different browsers with different report name?

Hi Team, @anshooarora @namilkimfree
I want to generate the multiple extent reports for different browsers. For example, in Azure pipeline if I run for Chrome then name of the report should be TestReport_Chrome.html and same fro different browsers.
I am also not able to change the name of the report. It is default to index.html
Can you please suggest me how we can change the name of the report to our customise name?

You can attach any number of reporters to ExtentReports:
var firefoxReport = new ExtentSparkReporter("firefox.html");
var chromeReport = new ExtentSparkReporter("chrome.html");
extent.AttachReporter(firefoxReport, chromeReport);

// somewhere in your hooks (pseudo-code)
if (test.hasTag("firefox")) {
  firefoxReport.log();
} else {
  chromeReport.log();
}

As you can see, if the number of conditions increase, it can become a little difficult to maintain this structure.  It's probably better to use tags and filter them on the UI:
_extent.CreateTest("Test").AssignCategory("firefox");
_extent.CreateTest("Test").AssignCategory("chrome");


Remove version: REALiX.HWiNFO version 7.70

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/hwinfo/files/Windows_Installer/hwi_770.exe/download
Status Code: 200
(Automated message - build 896)

Close with reason: Package still available.;

URL: https://sourceforge.net/projects/hwinfo/files/Windows_Installer/hwi_770.exe/download
Status Code: 200
(Automated message - build 896)


Update challenges base image

It is noticed that there are some challenges which are using latest version of operating systems or programming languages as base image which leads some problems if we ever need to re-deploy it to private registry. Therefore, it could be very useful to change all challenges base images to use fixed version rather than latest one. Otherwise, we might have some problems regarding to deploying and re-building images. For instance instead of calling ubuntu base image like this ;
FROM ubuntu

or
FROM ubuntu:latest

it could be nice to call it as ;
FROM ubuntu:16.04

It applies for programming languages as well, using explicit version will remove problems which are bound to base image.
It means, challenges should be developed with fixed version of base image instead latest one.
Use distroless base image, and prefer to have multi stage builds in order to decrease image size.
@Mikkelhost @gianmarcomennecozzi

mostly updated on gitlab.


corrected GitHub path on go-inovation

updated GitHub path typo on go-inovation in installation instruction

lgtm, thanks!


Changing the popup context doesn't work

Bug Report
Steps
I want the popup to be bound to a custom element with id - "main-wrapper", so I used the context prop as shown below, but the popup still gets bound to the body. I also tried using a ref instead but still didn't work.
<Popup
  basic
  content={content}
  context={document.getElementById('main-wrapper')}
  context={parentRef.current}    // Also tried using a ref
  trigger={<button>Click me</button>}
/>

Expected Result
The popup should get bound to the element with id - "main-wrapper"
Actual Result
The popup gets bound to the body.

Version
2.0.1

@biswa-plutoflume please provide a repro on CodeSandbox, you can fork our existing example that works, https://react.semantic-ui.com/modules/popup/#usage-context. I will reopen an issue once we will have a repro of the problem.
P.S. If you want to change a position in DOM (it's highlighted on a screenshot), you need to use mountNode prop.


Container vs actual

I'm not sure if this is an issue with my set-up, or if its a bug -
I've been editing my files in a container, and they all display fine.
When I exit the container, everything displays fine, however after I reboot the pi one screen is refusing to display correctly.
To get this screen working it appears that I can go back into the container, run pydpiper from there to check it displays fine, exit the container, start system pydpiper and the screen displays as I'd expect again.
I've pulled from master and v0.3-alpha (the latter I am then pulling the musicdata volumio2 file from master for the pause status).
I am editing pydpiper.service prior to installation with this additional -v so it can see my modified files (when pulling from master, the folder is simply pydPiper)
-v /home/volumio/pydPiper-0.3-alpha:/app:ro
My pages file has this (in addition to other things)widget:
'pausesymbol':{'type':'text', 'format':'|| PAUSED','font':'small','size':(45,8)},
Canvas:
'playpause':{'widgets':  [ ('artist',0,0), ('album',0,8), ('title',0,16),('pausesymbol', 0,24)], 'size':(100,32) },
This is my sequence:
{
	'name': 'seqPause',
	'canvases': [
		{ 'name':'playpause', 'duration':180, 'conditional':"not db['actPlayer']=='webradio'"},
		{ 'name':'stoptime', 'duration':3000, 'conditional':"db['outside_conditions']=='No data'" },
		{ 'name':'stoptimeweather', 'duration':3000, 'conditional':"not db['outside_conditions']=='No data'" },
	],
	'conditional': "db['state']=='pause'"
},

I am replacing the default pages file with this one, editing the permissions to 777 before doing so.  Everything except the pause sequence works on boot, the pause sequence will only work after I've gone into the container and exited again.
On boot, I only get the pause widget on the display for a moment, with no other information.  After exiting container, the whole canvas as defined is displaying and works as I'd expect it to until the next reboot of the pi.
I've done 4 clean installs now, all with the same result.  Am I missing something really glaringly obvious?

Where are you editing the file?  Within the docker container or within the host OS?  If the former, everytime you restart the container, the files are going to revert to their prior status.  You can either edit the files outside the container, or change your mount to read-write.
-v /home/volumio/pydPiper-0.3-alpha:/app:rw

Steps so far:
Clean install Volumio 2.296
sudo git clone https://github.com/dhrone/pydPiper.git
edit pydpiper.service, add to the execstart entry -v /home/volumio/pydPiper:/app:rw
enable SSH, chmod 777 pages file, upload full edited pages file.
install pydPiper
Display is working perfectly, except for the pause screen which displays only the pause widget, not the canvas..
sudo systemctl stop pydpiper
sudo docker run --network=host --privileged -ti -v /var/log:/var/log:rw -v pwd:/app:rw dhrone/pydpiper:v0.31-alpha /bin/bash
sudo python /app/pydPiper.py --volumio --driver hd44780_i2c --width 100 --height 32 --i2caddress 0x27 --timezone 'Europe/London' --temperature celsius --pages pages_lcd_20x4.py
Pause screen works perfectly - I've made no changes to any files other than prior to installing.
Exit container
sudo systemctl start pydpiper
Pause screen still works, shows full pause canvas.
Reboot the pi, and only the pause widget is displaying again.
Having written all that, it occurred to me to just stop and start pydPiper without going into the container to see what happens, and the pause canvas displays after restarting pydPiper until the pi is rebooted again wherein the pause widget only displays.

Given your last paragraph, I suspect the issue is the conditional evaluations, the state of the players variables on initial start-up and the length you've specified to display each of the pages during the seqPause sequence.  I'd focus on the specification of your conditionals and the length of the canvas displays.  FYI, you can get the system to show you every variable update by adding --showupdates to the command.

Great, I'll try that and see what happens! Thank you


add falcosecurity repo

This PR adds the official Helm Chart Repository of the Falco project which has recently moved from stable to https://github.com/falcosecurity/charts

@leogr The Artifact Hub is another place you can list your repos. To do that, you login (or create an account), create an organization, and list your repository. You can link it to a user or organization.


Don't ask to install webpack for using Styleguidist

See discussion in https://github.com/facebookincubator/create-react-app/pull/2044#discussion_r124516065.
@sapegin Looks good to you? I need to get this in before cutting a release today.

Looks good to me!

This seems to work fine with latest version.


Can't build hyprland

First i have installed all its dependencies, which are listed in docs.

yay -S gdb ninja gcc cmake meson libxcb xcb-proto xcb-util xcb-util-keysyms libxfixes libx11 libxcomposite xorg-xinput libxrender pixman wayland-protocols cairo pango seatd libxkbcommon xcb-util-wm xorg-xwayland libinput libliftoff libdisplay-info

I have tried yay -S hyprland and got this:

[5/79] Building CXX object CMakeFiles/Hyprland.dir/src/events/Devices.cpp.o
FAILED: CMakeFiles/Hyprland.dir/src/events/Devices.cpp.o
/usr/sbin/c++ -DGIT_BRANCH="main" -DGIT_COMMIT_HASH="2e28e88dfdca3d836c5dbedb916e0f629fc6a540" -DGIT_COMMIT_MESSAGE=""    flake.lock: update nixpkgs"" -DGIT_DIRTY="dirty" -DGIT_TAG="v0.24.1-141-g2e28e88d" -DHyprland_EXPORTS -DUSES_SYSTEMD -DWLR_USE_UNSTABLE -I/home/dqvid/Hyprland/. -I/home/dqvid/Hyprland/subprojects/wlroots/include -I/home/dqvid/Hyprland/subprojects/wlroots/build/include -I/home/dqvid/Hyprland/subprojects/udis86 -I/home/dqvid/Hyprland/protocols -isystem /usr/include/cairo -isystem /usr/include/libpng16 -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/pixman-1 -isystem /usr/include/libdrm -isystem /usr/include/pango-1.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/fribidi -O3 -DNDEBUG -std=gnu++23 -O3 -Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -pthread -MD -MT CMakeFiles/Hyprland.dir/src/events/Devices.cpp.o -MF CMakeFiles/Hyprland.dir/src/events/Devices.cpp.o.d -o CMakeFiles/Hyprland.dir/src/events/Devices.cpp.o -c /home/dqvid/Hyprland/src/events/Devices.cpp
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
[20/79] Building CXX object CMakeFiles/Hyprland.dir/src/config/ConfigManager.cpp.o
ninja: build stopped: subcommand failed.
make[1]: *** [Makefile:13: release] Error 1
make[1]: Leaving directory '/home/dqvid/Hyprland'
make: *** [Makefile:38: install] Error 2

Also have tried to build it from source (hyprwm/Hyprland) and got the same.
I use Arch WSL 2 by yuk7 btw.

something's wrong on your end, CI does not fail. Please do not report compilation errors.
Couple notes:

I have tried yay -S hyprland and got this:

hyprland is a package in community and thus does not compile. Something's very wrong on your end.


Draft | Addressing the issue with wrong exception when column decryption fails.

Should we close this PR since the fix in https://github.com/dotnet/SqlClient/pull/1948 address this issue as well?

Should we close this PR since the fix in #1948 address this issue as well?

I forgot. I should close this.


Compare .tex and .pdf files.

I can compare them. Ian - can you fetch and merge and re-build from commit 6f22ae8, currently the latest commit. Chris thought your .tex and .pdf were from an earlier build. Thanks...

Sorry, I should have thought of that earlier. Rebuilding now.

Files uploaded with appended name "_Ian_6f22ae8". Taking down old files. Thank you!

.tex files - all identical (I fixed a degree symbol), except timestamps on tables (as expected) and Aaron and Ian's R version is 3.3.1 compared to our 3.3.2 (doesn't matter), and Ian's table 16 (Time-series of median posterior estimates ...) didn't build. Thus, all numbers in text and tables are identical (i.e. we're all using the same output data, implying the figures should match also).
.pdf files - ['compare documents' in Adobe Acrobat Pro 8]
Andy v Chris's - (slight irrelevant font differences), Section 4.1 on Chris's TOC says page 53, but it should be page 54 (and you're always latex-ing twice aren't you. Strange... but don't worry about).
Andy v Aaron's - same TOC minor issue, plus Aaron's shows up more font differences and minor things on figures. Just to be sure I went through page by page (manually flicking between .pdf's) and all figures are identical (fonts occasionally are slightly different, no worries).
Andy v Ian's -  TOC is correct, Table 16 missing (as mentioned above), and also '1999' on Figure 36 (that you helpfully added yesterday!). Just delete knitr-caches I suspect.
Conclusion  all builds are essentially identical (once Ian's fixed his), and so provided we don't do major changes we don't really need to check this again tomorrow.

Excellent! So whose looks 'nicest' as a PDF for submission?

Great! Thanks for doing this check, Andy.
The failed table 16 was because I had an uncommitted, incomplete edit to add a column for total biomass that I've since deleted. Yet, freshtex or deleting knitr-cache should get you the 1999 label in figure h.
I'm OK with anyone's PDF being the official copy for submission, especially if somebody's fonts are prettier.

They look the same - the fonts for the .ss code appendices are very slightly different, and occasionally different in figure legends. So we're in our Happy Place that if three of us get sick the fourth can still submit! Aaron said he can submit it...
Ian - just to clarify, yours has the '1999' missing in Figure h. Amusing since you put it in!

:+1:


Cannot read property '0' of null

I am trying to render a simple line chart with multiple series. My data is formatted like this according to the example:
[
   {
      "label":"Respiratory Rate",
      "data":[
         {
            "x":108,
            "y":108
         }
      ]
   },
   {
      "label":"Blood Pressure",
      "data":[
         {
            "x":88,
            "y":88
         },
         {
            "x":116,
            "y":116
         }
      ]
   },
   {
      "label":"Heart Rate",
      "data":[
         {
            "x":72,
            "y":72
         }
      ]
   }
]

Whenever the data renders in the chart it throws the following error:
Cell.js:75 Uncaught TypeError: Cannot read property '0' of null
    at clipCells (Cell.js:75)
    at new Diagram (Diagram.js:57)
    at voronoi (voronoi.js:11)
    at Voronoi.js:136

Here is my component and how I am using the it:
function Dashboard(props) {
 const data = useMemo(
        () => [
           // Same data format listed above (and yes the data is set and not null/undefined)
            ...props.metrics
        ],
        [props.metrics]
    );

     const axes = useMemo(
        () => [
            { primary: true, type: 'linear', position: 'bottom' },
            { type: 'linear', position: 'left' }
        ],
        []
    );

    return (
                 <Chart
                        data={data}
                        axes={axes}
                        tooltip
                    />
    )
}

Oddly enough changing out the data with the example data seems to solve the issue. I just dont understand why its happening with my data because they are both formatted exactly the same.

this seems to be because you are misusing the tooltip prop. tooltip expects a memoized object that has align and anchor properties see this example.

@cbartram did @tylerthehaas 's example solve the issue for you?

It did thank you

question about this issue though,
because in this other example from the docs that I am using, there is no align or anchor properties, but I still get the cannot read 0 of null error
function CustomTooltip({ getStyle, primaryAxis, datum }) {
  const data = React.useMemo(
    () =>
      datum
        ? [
            {
              data: datum.group.map(d => ({
                primary: d.series.label,
                secondary: d.secondary,
                color: getStyle(d).fill
              }))
            }
          ]
        : [],
    [datum, getStyle]
  )

https://react-charts.js.org/examples/custom-tooltip

this seems to be because you are misusing the tooltip prop. tooltip expects a memoized object that has align and anchor properties see this example.

Does it though? Because As I was stepping through the code, if they are not there on the passed in tooltip, Charts will just add it on itself.

I think this issue also ties into this other issue https://github.com/tannerlinsley/react-charts/issues/129, because when my secondary data point is equal to 0, the chart does not show the point, I get no error, and the chart renders with missing points.  However, when I add .000001, to my secondary data points, the points all render and the line is drawn (if i leave out the tooltip)


Converter fails when analyzing supply zones

2017-04-20 17:42:30    [INFO] Importing supply zones
My log file ends so, with the converter having crashed. It seems it fails in importing/analyzing supply zones.

It seems it was just my fault, not converter's


No connection to IOBroker objects after update

I updated the beta version to 2.0.10 (update procedure according to https://forum.iobroker.net/topic/60398/test-adapter-vis-2-0-alpha/2). After the update I unfortunately had no connection to the IOBroker objects anymore, everything was null. In Vis 1 all worked just fine, all objects have values.
I tried deleting the vis 2 adapter in IOBroker and re-adding it, but got the same behaviour.
Is there anything I could do to undo this? I did notice that even after I deleted the adapter in IOBroker all changes I did in vis 2 still persisted. Is there some data located on the drive I could delete directly? Do you maybe want some dump or anything to prevent this for other people who update?
P.S.: You could answer in German as well if you preferred :).
Many thanks in advance,
Armin
To Reproduce
Update from probably v2.0.7 to v2.0.10
Expected behavior
continued connection to IOBroker objects
Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.
Vis 2 Objekte:

Vis 1 Objekte:

@fuk1tsunakishi Please check with vis 2.0.16

Bug auch bei mir mit 2.0.16

Bei mir auch das selbe Problem. Bei beiden Versionen

vis-2-beta 2.0.10 update auf 2.0.16
ioBroker Admin 6.3.3
History 2.2.0
socket.io 4.2.0
WS 1.3.0
web Server 4.3.0

Hi,
I tried two things:

Updating to 2.0.16 -> didn't work unfortunately, the error persisted
Deleting all instances and files in regards to vis-2 -> I deleted the instances and all folders in the Files header starting with vis-2. Then I tried to completely reinstall vis-2. But then I couldn't even open the editing website or the adapter settings as shown below. I had hoped resetting everything would do the trick but it seems it didn't. Is there anything more I have to reset in order to completely start anew?

Many thanks,
Armin

After then trying to update again I did manage to restore vis-2 to the state it was before. But I unfortunately still don't have a connection to any objects of iobroker.

@Feuer-sturm
Maybe it can help you to find the bug.
i have copied all from the iobroker-logfile that contains vis-2-beta.
greatings klaus
logfile-iobroker.txt
ps.:
this morning some adapter updates had to be installed in iobroker, including the admin and the javascript-adapter.
but the problem persists.

This issue is not fixed yet and Bluefox needs to analyze it.

I have same problem. After update to v1.4.15 "no connection".
Can't use VIS anymore.
Any suggestion?
Thanks in advance.

@Sansibari you Problem is different. This issue is for vis 2 and not vis 1.4.15
Do you have in your vis Editor the message "Verbindungsfehler"?
If yes, this is the solution: https://forum.iobroker.net/topic/55990/erledigt-keine-anzeige-der-projekte-in-visedit/3

Dear Feuer-sturm
Thank you for your quick and helpful reply.
You're right, with the switch to ws[ws.0] VIS works again.
Unfortunately flot doesn't work anymore.
Is there a solution to this?

@Sansibari

Is there a solution to this?
I am sorry I don't know. The best way is to write youre question in iobroker  forum.

I have the same Problem. Version 2.0.16


Disable cluster scope viewing on a namespace overview page

Describe the problem/challenge you have
Related to #141 .
Although the above issue has introduce to disable cluster overview page(disable-cluster-overview flag), the namespace overview request cluster scope access to several resources, not allowing to open correctly when using a strict kubeconfig file.
Namely we see that it tries to access secrets, roles, rolebindings from cluster scope. Especially we never would want to allow secrets cluster scope.
2021-07-27T06:59:20.554Z	WARN	objectstore/dynamic_cache.go:446	unable to start watcher %!(EXTRA string=failed to list *unstructured.Unstructured: secrets is forbidden: User "system:serviceaccount:octant:octant-sa" cannot list resource "secrets" in API group "" at the cluster scope)

2021-07-27T06:59:20.847Z	WARN	objectstore/dynamic_cache.go:446	unable to start watcher %!(EXTRA string=failed to list *unstructured.Unstructured: roles.rbac.authorization.k8s.io is forbidden: User "system:serviceaccount:octant:octant-sa" cannot list resource "roles" in API group "rbac.authorization.k8s.io" at the cluster scope)

2021-07-27T06:59:20.847Z	WARN	objectstore/dynamic_cache.go:446	unable to start watcher %!(EXTRA string=failed to list *unstructured.Unstructured: rolebindings.rbac.authorization.k8s.io is forbidden: User "system:serviceaccount:octant:octant-sa" cannot list resource "rolebindings" in API group "rbac.authorization.k8s.io" at the cluster scope)

Describe the solution you'd like
If disable-cluster-overview is enabled should never access cluster scope resources
Environment:

Octant version (use octant version): 0.21.0
Kubernetes version (use kubectl version): v1.20.7
OS (macOS 10.15, Windows 10, Ubuntu 19.10 etc): 18.04.5 LTS (Bionic Beaver)

Right now, Octant cannot infer the access level. It would have to perform SelfSubjectAccessReview checks before making requests. So we opt for making the request and letting if fail with a warning.
That said, the fact that the overview is not loading properly for you is a bug. Even if Octant fails to watch resources due to RBAC restrictions this should not prevent loading the reasons the service account does have access to.

I'm seeing this one too. Similar setup to the one described by OP.
I had a poke around the back end code to see if i could pin point where the issue was coming from (I couldn't). Then started to wonder if the WARNs about watchers were actually unrelated.
I noticed that from the front end we get the following from parseWebsocketMessage and thought it could be worth investigating:
{error: "action path \"action.octant.dev/setNamespace\" not found", requestType: "action.octant.dev/setNamespace"}

Does this seem legit or am I crossing wires?