Change new concat

This is a proposed change to the new topi x86 concat implementation in #11341. It uses simple lists of int instead of te.tensor.Tensor for the array offsets and loop variable extents. I have only looked at the generated C code and made sure that the relevant unit tests pass.
New version:
 for (int32_t j = 0; j < 4; ++j) {
    concatenate_ext[j] = placeholder[j];
  }
  for (int32_t j1 = 0; j1 < 4; ++j1) {
    concatenate_ext[(j1 + 4)] = placeholder1[j1];
  }
  return 0;

Old version:
  void* const_vector_let = (&(global_workspace_6_var[64]));
  void* cumsum_let = (&(global_workspace_6_var[48]));
  for (int32_t i = 0; i < 2; ++i) {
    ((int64_t*)const_vector_let)[i] = ((i == 1) ? (int64_t)4 : ((i == 0) ? (int64_t)4 : (int64_t)0));
  }
  for (int32_t i1 = 0; i1 < 2; ++i1) {
    ((int64_t*)cumsum_let)[i1] = ((i1 == 1) ? (int64_t)4 : (int64_t)0);
  }

  int64_t cumsum_let[2] = {0, 4};

  for (int64_t j = 0; j < ((int64_t*)const_vector_let)[0]; ++j) {
    concatenate_ext[(((int64_t*)cumsum_let)[0] + j)] = placeholder[j];
  }
  for (int64_t j1 = 0; j1 < ((int64_t*)const_vector_let)[1]; ++j1) {
    concatenate_ext[(((int64_t*)cumsum_let)[1] + j1)] = placeholder1[j1];
  }
  return 0;

@DzAvril @shtinsa @MichaelJKlaiber @UlrikHjort-Bosch @vdkhoi @masahi

I got some promising improvements with this change (same setup as in https://github.com/apache/tvm/pull/11341#issuecomment-1159309108):

thanks for the PR!

@shtinsa I think const_vector things are intended to be unrolled during scheduling, which will probably end up in the same clean IR as the new version. That's what we do for winograd convolution, where we use const_matrix. Since the new concat is written in IR builder, I'm not sure if we can do the same unrolling for cumsum etc here.

Hello @masahi yes, I saw the const_matrix solution and it works on IR level, but IMHO it looks like as workaround. I suppose it is necessary to extend the codegen part to support const_vector with implementation of constexpr analogue from c++17, but for the provided concatenation case it is enough to have following code snippets:
static const int cumsum_###[2] = {...};
static const int const_vector_###[2] = {...};
where array sizes and and array internals should be formed during evaluation of const_vector tensors, And they are known in case of static planning, for the case with dynamic planning the concatenation code may have similar structure and cumsum_### and const_vector_### should be formed for the batch size 1,  but during the execution stage the values from these arrays  should be scaled by batch size value.
These arrays will be moved to data section within the output so file.

I watched the stream and it looks like the problem related incorrect fusing of GRU/Attention output. @SebastianBoblest could you please provide test scenario to reproduce the issue?

I watched the stream and it looks like the problem related incorrect fusing of GRU/Attention output. @SebastianBoblest could you please provide test scenario to reproduce the issue?

Hi, I will try to create a minimal script for this next week. Thanks for still looking into this!

I watched the stream and it looks like the problem related incorrect fusing of GRU/Attention output. @SebastianBoblest could you please provide test scenario to reproduce the issue?

Hi I created a minimal example for an lstm.
It includes the python script, the model and the C sources.
I used the TVM main branch of today.
concat_example.zip
.

Hello, thanks a lot!

Hello  @SebastianBoblest, sorry for the delayed answer, and I would like to clarify the issue from the sample above. According to the c codegen output I see that new functionality provides following code snippets:
TVM_DLL int32_t tvmgen_default_fused_squeeze_concatenate_1(float* placeholder, float* placeholder1, float* placeholder2, float* concatenate_ext, uint8_t* global_const_workspace_14_var, uint8_t* global_workspace_15_var) {
  void* T_squeeze_let = (&(global_workspace_15_var[32]));
  for (int32_t ax0_ax1_fused = 0; ax0_ax1_fused < 3; ++ax0_ax1_fused) {
    ((float*)T_squeeze_let)[ax0_ax1_fused] = placeholder1[ax0_ax1_fused];
  }
  for (int32_t j = 0; j < 3; ++j) {
    concatenate_ext[j] = ((float*)T_squeeze_let)[j];
  }
  for (int32_t j1 = 0; j1 < 2; ++j1) {
    concatenate_ext[(j1 + 3)] = placeholder2[j1];
  }
  return 0;
}

Where squeeze operation is not fused with concatenation code and I suppose you would like to see something like this:
TVM_DLL int32_t tvmgen_default_fused_squeeze_concatenate_1(float* placeholder, float* placeholder1, float* placeholder2, float* concatenate_ext, uint8_t* global_const_workspace_14_var, uint8_t* global_workspace_15_var) {
  for (int32_t j = 0; j < 3; ++j) {
    concatenate_ext[j] = placeholder1[j];
  }
  for (int32_t j1 = 0; j1 < 2; ++j1) {
    concatenate_ext[(j1 + 3)] = placeholder2[j1];
  }
  return 0;
}

where the first and second loops are fused and the T_squeeze_let buffer removed from the global space?

Hello @SebastianBoblest, sorry for the delayed answer, and I would like to clarify the issue from the sample above. According to the c codegen output I see that new functionality provides following code snippets:
TVM_DLL int32_t tvmgen_default_fused_squeeze_concatenate_1(float* placeholder, float* placeholder1, float* placeholder2, float* concatenate_ext, uint8_t* global_const_workspace_14_var, uint8_t* global_workspace_15_var) {
  void* T_squeeze_let = (&(global_workspace_15_var[32]));
  for (int32_t ax0_ax1_fused = 0; ax0_ax1_fused < 3; ++ax0_ax1_fused) {
    ((float*)T_squeeze_let)[ax0_ax1_fused] = placeholder1[ax0_ax1_fused];
  }
  for (int32_t j = 0; j < 3; ++j) {
    concatenate_ext[j] = ((float*)T_squeeze_let)[j];
  }
  for (int32_t j1 = 0; j1 < 2; ++j1) {
    concatenate_ext[(j1 + 3)] = placeholder2[j1];
  }
  return 0;
}

Where squeeze operation is not fused with concatenation code and I suppose you would like to see something like this:
TVM_DLL int32_t tvmgen_default_fused_squeeze_concatenate_1(float* placeholder, float* placeholder1, float* placeholder2, float* concatenate_ext, uint8_t* global_const_workspace_14_var, uint8_t* global_workspace_15_var) {
  for (int32_t j = 0; j < 3; ++j) {
    concatenate_ext[j] = placeholder1[j];
  }
  for (int32_t j1 = 0; j1 < 2; ++j1) {
    concatenate_ext[(j1 + 3)] = placeholder2[j1];
  }
  return 0;
}

where the first and second loops are fused and the T_squeeze_let buffer removed from the global space?

Hi @shtinsa,
thanks for taking the time to look into this. Yes I would like exactly the result you describe.


Consider: "Use Android Test Orchestrator" for Scenario App

See https://developer.android.com/training/testing/instrumented-tests/androidx-test-libraries/runner#use-android:

Android Test Orchestrator offers the following benefits for your testing environment:
Minimal shared state: Each test runs in its own Instrumentation instance. Therefore, if your tests share app state, most of that shared state is removed from your device's CPU or memory after each test. To remove all shared state from your device's CPU and memory after each test, use the clearPackageData flag. See the Enable from Gradle section for an example.
Crashes are isolated: Even if one test crashes, it takes down only its own instance of Instrumentation. This means that the other tests in your suite still run, providing complete test results.

Apparently we might be able to enable it from the command-line?
/cc @reidbaker If you have any experience with this?

Nope this came out after I became a full time android developer.


Support text ids (not just int64)

Hi guys,
I've got a few experimental postgis tables that I'd like to expose via tegola and I've got an issue with type of the id field. In my case it is text, because I don't care much about the performance and in fact believe that it's not that different these days. As a result, the tile server logs show the following:
Error Getting MVTLayer: Unable to convert geometry ID field(id) into a uint64 for layer my_map

What would you suggest as a workaround? What do you think of supporting character ids as well?
PS: Perhaps this "lazy ass" scenario which I'm representing is not the only one when character ids might be needed. I can easily imagine a data provider where object ids are like NW:121212:121212, d131dd02c5e6eec4693d9a0698aff95c or similar. ATM developers would have to create another artificial id column next to the given proper id to work with tegola. So do I now as my ids are text already.

Tried id_fieldname = "md5(id)::unit64 as id" but it did not work. Tegola wrapped this into "", so I got this:
Error Getting MVTLayer: Got the following error (ERROR: column "md5(id)::unit64 as id" does not exist (SQLSTATE 42703)) running this sql (SELECT ... , ST_AsBinary("my_geom") AS "my_geom", "md5(id)::unit64 as id" FROM ...

Finally got this working:
    [[providers.layers]]
    name = "my_layer"
    geometry_fieldname = "my_geom"
    id_fieldname = "tegola_id"
    srid = 4326
    sql = """
      SELECT
        ('x'||substr(md5(id),1,16))::bit(64)::bigint as tegola_id,
        ST_AsBinary(my_geom) AS my_geom,
        other_field_1, other_field_2
      FROM my_table
      WHERE my_geom && !BBOX!
      """

The idea for getting a numeric key from a string is from StackOverflow. Although the workaround allows to achieve the result, it'd be still better to have text ids natively (if there are no serious consequences for this, of course).

@kachkaev seems like a reasonable request. I think we can add support here. I will try to address it in our v0.4.0 branch so it will be part of an upcoming release.

Awesome! Glad that the current internal architecture allows for a potentially easy fix!
It'd be great if you considered docker integration as well - the current image available on Docker Hub is not official and is actually two forks away. I've been using tegola inside a Docker container bundled with my custom config and it has been so convenient to carry this stuff around between the servers!

sorry to hijack this issue, but @timlinux has a working docker setup. Tim, can you send a PR?

@kachkaev we did some research on why we were specifically requiring int64 for feature ids and it's because the protocol buffer definition provided alongside the MVT spec requires uint64 for feature id. I opened an issue on the spec repo here and got a response from one of the spec authors. it looks like best practice right now is to encode text ids into a tag (i.e. feature_id) which support text types.
Let me know if this is unclear or if you need help with the config file. We may need to relax our requirements for Feature IDs since it's not required.


Tile ID is strange

tmx file
let file = File::open(&Path::new(&fname)).unwrap();
let reader = BufReader::new(file);
let mp =  parse(reader).unwrap();

info!("{:?}", mp);

Output
I am going to look through the code to see if I can locate the issue.

Similar problem here - IDs are all as expected on 0.7, but on 0.8 they're all either 0 or 1. Very strange. I couldn't see anything obvious on the git blame, though.

I just switched to master and the problem went away.

I'm also having this issue. The IDs have little correlation to the ones that appear in tilemap.tmx.

Can confirm that master fixes this, sorry about the spam 👍
[dependencies]
tiled = { git = "https://github.com/mattyhall/rs-tiled" }

Since this issue was reported fixed on master back in January 2020 and the current 0.9.5 release is from May 2021, I'm going to assume this can be closed. :-)


refactor: don't register clients to message bridge

Issue #, if available:
Description of changes:
Major refactor of message bridge, to remove source topic type where possible, and to remove registration/de-registration of clients from message bridge.
:warning: WIP: need to clean up tests & rebase
Why is this change necessary:
How was this change tested:
Any additional information or context required to review the change:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

replaced with https://github.com/aws-greengrass/aws-greengrass-mqtt-bridge/pull/157


✨ handling e2e testing with dockertest

WIP to add testing of database.
@kandros @davideimola what do you think? This is just a test but works.

Probably for e2e I will suggest to use ginkgo, because executes the test concurrently.

Probably for e2e I will suggest to use ginkgo, because executes the test concurrently.

Also with standart test libs we can handle tests in parallel :D


add the staging folder for candidate workloads into WSF

Signed-off-by: Owen Zhang<EMAIL_ADDRESS>

@xwu2intel  Could you help to review this patch for the staging folder, we will put the following workload next.


Faithfullness returns always Nan with a local LLM

[ x] I have checked the documentation and related resources and couldn't resolve my bug.
Describe the bug
Faithfullness is not working returning always Nan, sometimes also the context precision
Python version: 3.11.9
Ragas version: 0.1.15
Code to Reproduce
data_samples_2 = {
'question': ["What are the dimensions of twist?"],
'answer': ["The limits for the mechanical characteristics of twist shall be ≤ 1.5% for board thickness < 1.6 mm and ≤ 1.1% for board thickness ≥ 1.6 mm."],
'contexts': [
["Twist shall be measured in conformance with the test method 2.4.22c from IPC-TM-650.",
"The PCB shall be placed on a horizontal surface so that it rests on three corners.",
"The distance between the horizontal surface and the fourth corner of the PCB shall be measured as specified in Figure 9-3.",
"The length of the diagonal of the PCB shall be measured.",
"The twist shall be expressed in percentage terms.",
"Twist shall be calculated as follows: Twist [%] = max distance [mm] / (2 x length of PCB diagonal [mm]) x 100",
"The maximum twist shall be ≤ 1,5 %.",
"The procurement authority may specify a more stringent requirement for twist in the PCB definition dossier."]
],
'ground_truth': ["""Based on the information provided in the document, the key dimensions related to twist in PCBs are:

The twist is measured as the distance between the horizontal surface and the fourth corner of the PCB when it rests on three corners.
The length of the diagonal of the PCB is measured.
The twist is expressed as a percentage and calculated using the following formula:
Twist [%] = max distance [mm] / (2 x length of PCB diagonal [mm]) x 100
The maximum allowable twist is specified as ≤ 1.5%.
The document mentions that the procurement authority may specify a more stringent requirement for twist in the PCB definition dossier, with a typical stringent twist requirement being ≤ 0.75%.
So the key dimensions are:

The maximum distance between the fourth corner and the horizontal surface
The length of the PCB diagonal
The calculated percentage of twist
The maximum allowable percentage (1.5% or potentially lower)
The document also includes a diagram illustrating how twist is measured on a PCB."""]
}

from langchain_community.vectorstores import FAISS
from langchain_community.vectorstores import Chroma
from langchain.text_splitter import CharacterTextSplitter
from langchain_community.embeddings import OpenAIEmbeddings
from langchain_community.embeddings import HuggingFaceBgeEmbeddings
from langchain.chains import RetrievalQA
import os
import time
from langchain.llms import Ollama
from langchain.callbacks.manager import CallbackManagerForLLMRun
from langchain.embeddings import HuggingFaceEmbeddings
from typing import Any, List, Optional
os.environ["CUDA_VISIBLE_DEVICES"] = "6"
Initialize Ollama LLM
llm = Ollama(model="llama3.1:latest")
Initialize Sentence Transformers embedding model
embedding_model = HuggingFaceEmbeddings(
model_name="sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2",
model_kwargs={'device': 'cpu'},
encode_kwargs={'normalize_embeddings': True}  # set True to compute cosine similarity
)
from ragas.llms import LangchainLLMWrapper
from ragas.embeddings import LangchainEmbeddingsWrapper
llm = LangchainLLMWrapper(llm)
embedding_model = LangchainEmbeddingsWrapper(embedding_model)
from datasets import Dataset
from ragas.metrics import faithfulness, answer_relevancy, context_precision, context_recall
from ragas import evaluate
dataset = Dataset.from_dict(data_samples_2)
score = evaluate(dataset, metrics=[faithfulness, answer_relevancy, context_precision, context_recall], llm=llm, embeddings=embedding_model)
score.to_pandas()
print(score)
Error trace
RAGAS_FOSCO_06_09
Last Checkpoint: yesterday
[Python 3 (ipykernel)]
import sys
import ragas
print(f"Python version: {sys.version}")
Versione di Ragas
print(f"Ragas version: {ragas.version}")
Python version: 3.11.9 (main, Apr 24 2024, 09:31:52) [GCC 14.0.1 20240411 (Red Hat 14.0.1-0)]
Ragas version: 0.1.15
#ECSS-Q-ST-70-60-C
data_samples_2 = {
'question': ["What are the dimensions of twist?"],
'answer': ["The limits for the mechanical characteristics of twist shall be ≤ 1.5% for board thickness < 1.6 mm and ≤ 1.1% for board thickness ≥ 1.6 mm."],
'contexts': [
["Twist shall be measured in conformance with the test method 2.4.22c from IPC-TM-650.",
"The PCB shall be placed on a horizontal surface so that it rests on three corners.",
"The distance between the horizontal surface and the fourth corner of the PCB shall be measured as specified in Figure 9-3.",
"The length of the diagonal of the PCB shall be measured.",
"The twist shall be expressed in percentage terms.",
"Twist shall be calculated as follows: Twist [%] = max distance [mm] / (2 x length of PCB diagonal [mm]) x 100",
"The maximum twist shall be ≤ 1,5 %.",
"The procurement authority may specify a more stringent requirement for twist in the PCB definition dossier."]
],
'ground_truth': ["""Based on the information provided in the document, the key dimensions related to twist in PCBs are:

The twist is measured as the distance between the horizontal surface and the fourth corner of the PCB when it rests on three corners.
The length of the diagonal of the PCB is measured.
The twist is expressed as a percentage and calculated using the following formula:
Twist [%] = max distance [mm] / (2 x length of PCB diagonal [mm]) x 100
The maximum allowable twist is specified as ≤ 1.5%.
The document mentions that the procurement authority may specify a more stringent requirement for twist in the PCB definition dossier, with a typical stringent twist requirement being ≤ 0.75%.
So the key dimensions are:

The maximum distance between the fourth corner and the horizontal surface
The length of the PCB diagonal
The calculated percentage of twist
The maximum allowable percentage (1.5% or potentially lower)
The document also includes a diagram illustrating how twist is measured on a PCB."""]
}
from langchain_community.vectorstores import FAISS
from langchain_community.vectorstores import Chroma
from langchain.text_splitter import CharacterTextSplitter
from langchain_community.embeddings import OpenAIEmbeddings
from langchain_community.embeddings import HuggingFaceBgeEmbeddings
from langchain.chains import RetrievalQA
import os
import time
from langchain.llms import Ollama
from langchain.callbacks.manager import CallbackManagerForLLMRun
from langchain.embeddings import HuggingFaceEmbeddings
from typing import Any, List, Optional

os.environ["CUDA_VISIBLE_DEVICES"] = "6"
Initialize Ollama LLM
llm = Ollama(model="llama3.1:latest")
Initialize Sentence Transformers embedding model
embedding_model = HuggingFaceEmbeddings(
model_name="sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2",
model_kwargs={'device': 'cpu'},
encode_kwargs={'normalize_embeddings': True}  # set True to compute cosine similarity
)
from ragas.llms import LangchainLLMWrapper
from ragas.embeddings import LangchainEmbeddingsWrapper
llm = LangchainLLMWrapper(llm)
embedding_model = LangchainEmbeddingsWrapper(embedding_model)
from datasets import Dataset
from ragas.metrics import faithfulness, answer_relevancy, context_precision, context_recall
from ragas import evaluate
dataset = Dataset.from_dict(data_samples_2)
score = evaluate(dataset, metrics=[faithfulness, answer_relevancy, context_precision, context_recall], llm=llm, embeddings=embedding_model)
score.to_pandas()
print(score)
/home/user/.pyenv/versions/3.11.9/lib/python3.11/site-packages/huggingface_hub/file_download.py:1132: FutureWarning: resume_download is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use force_download=True.
warnings.warn(
Evaluating: 100%
 4/4 [01:29<00:00, 20.72s/it]
Failed to parse output. Returning None.
{'faithfulness': nan, 'answer_relevancy': 0.8362, 'context_precision': 1.0000, 'context_recall': 0.4000}
Expected behavior
i want to give to faithfullness a value

@dosu may you give the expected JSON file ?
HERE AN EXAMPLE OF WHAT I AM USING
data_samples_2 = {
'question': ["What are the dimensions of twist?"],
'answer': ["The limits for the mechanical characteristics of twist shall be ≤ 1.5% for board thickness < 1.6 mm and ≤ 1.1% for board thickness ≥ 1.6 mm."],
'contexts': [
["Twist shall be measured in conformance with the test method 2.4.22c from IPC-TM-650.",
"The PCB shall be placed on a horizontal surface so that it rests on three corners.",
"The distance between the horizontal surface and the fourth corner of the PCB shall be measured as specified in Figure 9-3.",
"The length of the diagonal of the PCB shall be measured.",
"The twist shall be expressed in percentage terms.",
"Twist shall be calculated as follows: Twist [%] = max distance [mm] / (2 x length of PCB diagonal [mm]) x 100",
"The maximum twist shall be ≤ 1,5 %.",
"The procurement authority may specify a more stringent requirement for twist in the PCB definition dossier."]
],
'ground_truth': ["""Based on the information provided in the document, the key dimensions related to twist in PCBs are:
The twist is measured as the distance between the horizontal surface and the fourth corner of the PCB when it rests on three corners.
The length of the diagonal of the PCB is measured.
The twist is expressed as a percentage and calculated using the following formula:
Twist [%] = max distance [mm] / (2 x length of PCB diagonal [mm]) x 100
The maximum allowable twist is specified as ≤ 1.5%.
The document mentions that the procurement authority may specify a more stringent requirement for twist in the PCB definition dossier, with a typical stringent twist requirement being ≤ 0.75%.
So the key dimensions are:

The maximum distance between the fourth corner and the horizontal surface
The length of the PCB diagonal
The calculated percentage of twist
The maximum allowable percentage (1.5% or potentially lower)
The document also includes a diagram illustrating how twist is measured on a PCB."""]
}

i don't understand why it is s not able to  parse the answer and contexts

import torch
print(torch.cuda.is_available())
print(torch.cuda.device_count())
print(torch.cuda.get_device_name(0))
True
1
Quadro P4000
result = evaluate(amnesty_subset,
metrics=[
context_precision,
faithfulness,
answer_relevancy,
context_recall], llm=langchain_llm,embeddings=embeddings,raise_exceptions=False)
Error displaying widget: model not found
Exception raised in Job[4]: TimeoutError()
Exception raised in Job[0]: TimeoutError()
Exception raised in Job[5]: TimeoutError()
Exception raised in Job[2]: TimeoutError()
Exception raised in Job[3]: TimeoutError()
Exception raised in Job[7]: TimeoutError()
Exception raised in Job[1]: TimeoutError()
data_samples_2 = {
"response": "The limits for the mechanical characteristics of twist shall be ≤ 1.5% for board thickness < 1.6 mm and ≤ 1.1% for board thickness ≥ 1.6 mm.",
"user_input": "What are the dimensions of twist?",
"retrieved_contexts": [
"Twist shall be measured in conformance with the test method 2.4.22c from IPC-TM-650.",
"The PCB shall be placed on a horizontal surface so that it rests on three corners.",
"The distance between the horizontal surface and the fourth corner of the PCB shall be measured as specified in Figure 9-3.",
"The length of the diagonal of the PCB shall be measured.",
"The twist shall be expressed in percentage terms.",
"Twist shall be calculated as follows: Twist [%] = max distance [mm] / (2 x length of PCB diagonal [mm]) x 100",
"The maximum twist shall be ≤ 1,5 %.",
"The procurement authority may specify a more stringent requirement for twist in the PCB definition dossier."
]
}
from langchain_community.vectorstores import FAISS
from langchain_community.vectorstores import Chroma
from langchain.text_splitter import CharacterTextSplitter
from langchain_community.embeddings import OpenAIEmbeddings
from langchain_community.embeddings import HuggingFaceBgeEmbeddings
from langchain.chains import RetrievalQA
import os
import time
from langchain.llms import Ollama
from langchain.callbacks.manager import CallbackManagerForLLMRun
from langchain.embeddings import HuggingFaceEmbeddings
from typing import Any, List, Optional
os.environ["CUDA_VISIBLE_DEVICES"] = "6"
Initialize Ollama LLM
llm = Ollama(model="llama3.1:latest")
Initialize Sentence Transformers embedding model
embedding_model = HuggingFaceEmbeddings(
model_name="sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2",
model_kwargs={'device': 'cpu'},
encode_kwargs={'normalize_embeddings': True}  # set True to compute cosine similarity
)
from ragas.llms import LangchainLLMWrapper
from ragas.embeddings import LangchainEmbeddingsWrapper
llm = LangchainLLMWrapper(llm)
embedding_model = LangchainEmbeddingsWrapper(embedding_model)
from datasets import Dataset
from ragas.metrics import faithfulness, answer_relevancy, context_precision, context_recall
from ragas import evaluate
dataset = Dataset.from_dict(data_samples_2)
score = evaluate(dataset, metrics=[faithfulness, answer_relevancy, context_precision, context_recall], llm=llm, embeddings=embedding_model)
score.to_pandas()
print(score)
/home/user/.pyenv/versions/3.11.9/lib/python3.11/site-packages/huggingface_hub/file_download.py:1132: FutureWarning: resume_download is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use force_download=True.
warnings.warn(

ArrowInvalid                              Traceback (most recent call last)
/tmp/ipykernel_1468528/3475142547.py in <cell line: 0>()
36
37
---> 38 dataset = Dataset.from_dict(data_samples_2)
39
40 score = evaluate(dataset, metrics=[faithfulness, answer_relevancy, context_precision, context_recall], llm=llm, embeddings=embedding_model)
~/.pyenv/versions/3.11.9/lib/python3.11/site-packages/datasets/arrow_dataset.py in from_dict(cls, mapping, features, info, split)
966             arrow_typed_mapping[col] = data
967         mapping = arrow_typed_mapping
--> 968         pa_table = InMemoryTable.from_pydict(mapping=mapping)
969         if info is None:
970             info = DatasetInfo()
~/.pyenv/versions/3.11.9/lib/python3.11/site-packages/datasets/table.py in from_pydict(cls, *args, **kwargs)
756             datasets.table.Table
757         """
--> 758         return cls(pa.Table.from_pydict(*args, **kwargs))
759
760     @classmethod
~/.pyenv/versions/3.11.9/lib/python3.11/site-packages/pyarrow/table.pxi in pyarrow.lib._Tabular.from_pydict()
~/.pyenv/versions/3.11.9/lib/python3.11/site-packages/pyarrow/table.pxi in pyarrow.lib._from_pydict()
~/.pyenv/versions/3.11.9/lib/python3.11/site-packages/pyarrow/table.pxi in pyarrow.lib.Table.from_arrays()
~/.pyenv/versions/3.11.9/lib/python3.11/site-packages/pyarrow/table.pxi in pyarrow.lib.Table.validate()
~/.pyenv/versions/3.11.9/lib/python3.11/site-packages/pyarrow/error.pxi in pyarrow.lib.check_status()
ArrowInvalid: Column 1 named user_input expected length 140 but got length 33
with your correction i have this error

@dosu

@dosu
/home/user/.pyenv/versions/3.11.9/lib/python3.11/site-packages/huggingface_hub/file_download.py:1132: FutureWarning: resume_download is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use force_download=True.
warnings.warn(
Evaluating: 100%
 4/4 [01:54<00:00, 38.62s/it]
Failed to parse output. Returning None.
{'faithfulness': nan, 'answer_relevancy': 0.8362, 'context_precision': 1.0000, 'context_recall': 0.8333}

@dosu
This can happen if the statements variable is None or empty after parsing the generated statements.

@dosu
This can happen if the statements variable is None or empty after parsing the generated statements.
Explain me better this part.
i have created data_samples_1 by copyng for answer the answer of my personal llm.Is this correct?

@dosu
give me the code for the troubleshooting

@dosu
how do i solve this error?
Exception raised in Job[7]: TimeoutError()
Exception raised in Job[4]: TimeoutError()
Exception raised in Job[3]: TimeoutError()
Exception raised in Job[5]: TimeoutError()
Exception raised in Job[1]: TimeoutError()
Exception raised in Job[0]: TimeoutError()


Refactored for compatibility with Bokeh 3.2.0

Fixes #6

Confirmed working on Ubuntu 22.04, with python 3.10, and Boken 3.2.0

I don't know how to signoff a commit that's already been pushed without doing a force push to overwrite it, which I assume would screw up this PR

It wouldn't screw the PR. I do it all the time :stuck_out_tongue:


Fix filtering of public partitions

This PR changes elements of output collection of DPEngine._drop_not_public_partitions in order to make it consistent with the rest of DPEngine.aggregate, namely _drop_not_public_partitions now returns collection of data instead of (key, data).
Along the way
PipelineOperation.filter_by_key was slightly refactored

Remove any mentions of public partition in filter_by_key, since this function is more generic.
Remove data_extractors from filter_by_key arguments (since they are used in _drop_not_public_partitions)

Should we test what the behaviour is if a collection has duplicate keys, or is that not even possible?
LGTM 👍


Decouple HTTP outbound authentication mechanisms

Description:
The current design of HTTP outbound authentication is not extensible. Also, it creates cyclic dependencies, in future (ex: When adding JWKs support).
Need to decouple the HTTP outbound authentication mechanisms in a similar approach done with https://github.com/ballerina-platform/ballerina-lang/issues/14823

Fixed with https://github.com/ballerina-platform/ballerina-lang/pull/15696


Use NIO's whenAll for Collection.flatten now.

Benchmark results compared to Core 3.8.1:

I.e. another 3x improvement, as promised. (cc @weissi)
We could also delete FutureType entirely now. Technically, this is part of Core's public API, but as far as I can tell, its only purpose was to allow implementing flatten, which now seems to be possible without that workaround.

Benchmark for TemplateKit's testEncodingPerformanceExampleModel, with 5000 instead of 500 model entries (to improve the statistical significance of the test):

Impact on Leaf's testRenderPerformance:

CC: @tanner0101

Friendly ping @tanner0101 :-)1

Hey @MrMage, you just merged a pull request, have a coin!
You now have 25 coins.


Update for dcbor-11

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

Project coverage is 100.00%. Comparing base (79b5eba) to head (ad35e4a).
Report is 18 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #40   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           16        16
  Lines         3260      3346   +86
  Branches       564       525   -39
=========================================
+ Hits          3260      3346   +86

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


Could not find Sub Graph asset with GUID xx (How to Solve)

There is a some bug while exporting and importing subgraphs (because unity gets info from .metadata and it isn't same at each pc) , you can solve it just by creating new sh_Spherize subgraph for each missing sh_Spherize then you should connect it right ports
https://forum.unity.com/threads/could-not-find-subgraph-asset-with-guid.937898/ (that's the error)
you should make similar steps like there :https://github.com/SnutiHQ/Toon-Shader#troubleshoot

Oh you are right, I didn't thought of that! Thanks for the heads up!
Killing the subgraph node and putting it in again should indeed do the trick.


Fail to detect similar object

Hello guys i already trained my model using Faster R-CNN up to 200k iteration but it looks like when i test my object it give detection to similar object that didn't exist in my dataset can you tell me how can i make this detection accuracy better ?
-Thank you

what i mean is let's just say the object that i was trained is a lemon but when i insert orange picture it give label to my orange pic as a lemon


exclude  data: urls

fixes #45

Thanks for the pull request, @officerNordberg .
To indicate that you agree to publish your work under the license of this project,
please sign your commit(s).
See https://github.com/CycloneDX/cyclonedx-webpack-plugin/pull/46/checks?check_run_id=6088607933

@officerNordberg  i see that this project is lacking integration tests.
Could you help and provide a small example project/setup, that uses yclonedx-webpack-plugin  ?
I would create an integration test from that example, then.


Add option to Tests() to skip [extras]

Even if you configure Tests(project=true), PkgTemplates inserts the tests dependencies in the old way too.
[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]

I see that this is wanted as a default for backwards compatibility, however someones like me rather prefer to have the cleaner style and break with backwards compatibility for the sake of simplicity.
It would be great, if an option could be added to skip these

Are you sure about this? I can't reproduce.
julia> using PkgTemplates

julia> t = Template(; julia=v"1.4", plugins=[Tests(; project=true)]);

julia> t("Hello")
[ Info: Running prehooks
[ Info: Running hooks
 Activating new environment at `~/code/Hello/test/Project.toml`
   Updating registry at `~/.local/share/julia/registries/General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Resolving package versions...
   Updating `~/code/Hello/test/Project.toml`
  [8dfed614] + Test
   Updating `~/code/Hello/test/Manifest.toml`
  [2a0f44e3] + Base64
  [8ba89e20] + Distributed
  [b77e0a4c] + InteractiveUtils
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [9a3f8284] + Random
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [8dfed614] + Test
 Activating environment at `~/.local/share/julia/environments/v1.4/Project.toml`
[ Info: Running posthooks
[ Info: New package is at /home/degraafc/code/Hello

shell> cat ~/code/Hello/Project.toml
name = "Hello"
uuid = "7ee7a956-86f9-4d77-b172-54829c3bb4a9"
authors = ["Chris de Graaf<EMAIL_ADDRESS>and contributors"]
version = "0.1.0"

[compat]
julia = "1.4"

thank you very much for trying it on your side! I guess it has something to do with me not providing [compat], i.e. as soon as I support 1.0 the [extras] kick in, at least that would be my guess...
I will write as soon as I tried it out and know for sure what is going on

cannot replicate it again on my side. Don't know what it was.
Thanks a lot for pointing out that this should already be supported!


Wiki: Design of Homepage and Sidebar

To do: First page of our wiki section should be created with necessary subtitles. Sidebar should be customized.
Subtitles will include (but may not be limited to) the sections below:

About Us
Project Description
Group Members
Communication Plan
Personal Efforts
Meeting Notes
Research

Content of the titles will be filled throughout the semester. Sidebar customization will be done as it is shown in the upcoming weeks.

General layout of the wiki page is determined. Subsections are created.


refactor: rename to yx or yaml

yx as jx or yaml as default name
also update README with new imports

or just don't
who cares


Merge Swift Sockets implementation into master

I'm opening the PR in case you have something to say about it before I merge.
Right now GCDAsyncSocket is maintained in order to allow it to work with other platforms (iOS only right now), which is something I'm not sure it makes sense maintaining in the future.
I think this is the natural step preparing for Swift getting open source.

👍


mocha.setup('bdd'),where does it from?

I've download a demo form the internet,and I found that there is a line mocha.setup('bdd');.
Why?
Does it belong to API of mocha?

It's documented twice over, here and here.
The short version is that mocha.setup('bdd') activates the BDD API (that is, puts the describe, it, before, beforeEach, after and afterEach functions into the global scope).
Closing this for now, but feel free to let us know if there's anything else unclear about it based on the documentation.


Greater Than and Less Than but no equal to?

In your guidelines, you have conditions for "Greater Than" and "Less Than", but you have no guidance for when your processor count is the boundary value. What would be the recommendation for SQL 2016 with 16 Logical Processors or SQL 2014 with 8 Logical Processors?

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

ID: 5e3528c6-06d5-aaef-58ac-a4426ca2a433
Version Independent ID: 6264cc46-28bb-c4d6-067d-67c9c417f4b1
Content: Configure the max degree of parallelism Server Configuration Option - SQL Server
Content Source: docs/database-engine/configure-windows/configure-the-max-degree-of-parallelism-server-configuration-option.md
Product: sql
Technology: configuration
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

@garyhampson Hello Gary, This in-depth question about your specific scenario is beyond the scope of what we can address here in a documentation Issue.
Here are some links that some people use to pursue their questions in other forums:

UserVoice - Suggestion to improve SQL Server?
Setup and Upgrade -  MSDN Forum
SQL Server Data Tools - MSDN forum
Transact-SQL - MSDN forum
SQL Server Security -  MSDN Forum
DBA Stack Exchange (tag sql-server) - ask SQL Server questions
Stack Overflow (tag sql-server) - also has some answers about SQL development
Reddit - general discussion about SQL Server
Microsoft SQL Server License Terms and Information
Support options for business users
Contact Microsoft
All the ways to get help

Thank you.
I am Closing this Issue 2216 now. However, the @ notification mechanism will still work, if further communication is needed.


Angular2 Submenu double click bug and solution.

When I click on an item in a submenu and then click on an item from a normal menu, then I try to expand the same submenu that was automatically closed I have to double-click it to reopen.
The solution I found is.
in file src/app/shared/sidebar.directive.ts on directive add a host
'(document:click)': 'toggleClick($event)',
it will like this
@Directive({
  selector: '[nav-dropdown]',
  host: {
    '[class.open]': '_open',
    '(document:click)': 'toggleClick($event)',
  }
})

and add this method on class
  toggleClick($event:any) {
    $event.preventDefault();
    let hasClassOpen = this.el.nativeElement.classList.value.split(' ').indexOf('open') > -1;
    this._open = hasClassOpen ;
  }

and this worked fine with me.
I hope I have helped other people with the same problem or until it gets into the main project as a fix. : D

Can you share your src/app/shared/sidebar.directive.ts with this changes, I'm going to add it project

I not changed  src/app/shared/sidebar.directive.ts i change  app/shared/directives/nav-dropdown.directive.ts here is link to changed file https://github.com/luciancaetano/laravel-ng2/blob/master/resources/admin/src/app/shared/directives/nav-dropdown.directive.ts

Fixed in latest version

I'm kinda new to angular 2. I get what this is doing  but is there a way you can post code with a menu with a sub menu using angular 2 and your directive having some trouble implementing this thanks


Possibility of deploying Trey Research reference twice in the same tenant

Hi,
I have a question about the possibility of deploying the Trey Research reference (https://github.com/Azure/Enterprise-Scale/blob/main/docs/reference/treyresearch/README.md) twice in the same Azure tenant.
Currently, I have one Trey Research implementation with specific customizations (three subscriptions: mgmt, connectivity, and identity). I would like to know if it is possible to perform a second deployment of this same reference in the same tenant without affecting tenant-level components.
Additionally, I have attached a diagram where the crossed-out components were not deployed

I would appreciate any guidance or additional documentation you can provide on this topic.
Thanks in advance.

To the best of my knowledge, nothing is Tenant Level, or "Tenant Root Group" level, everything is that the "Intermediate root management group", in your scenario "Contoso".
So if you built "Contoso-New" under "Tenant Root Group", applied the new ESLZ to this, nothing would be impacted at the "Contoso" level.

Thank you very much for your response. I understand that everything is managed at the intermediate root management group level, in this case, “Contoso”.

Given that everything is managed at the intermediate root management group level (in this case, “Contoso”), I would like to understand at a high level how roles might be affected when deploying ESLZ. Specifically:
Roles: Are there any predefined roles that ESLZ deploys, and how do they interact with existing roles in the tenant? Could there be any potential conflicts or overlaps?

As long as you chose a different root ID prefix, which im sure you will, you can deploy multiple times in the same tenant.
Everything from an ALZ perspective is stored at the intermediate root management group level, even our custom roles.


temporal: 1.25.2 -> 1.26.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/temporalio/temporal/releases.
meta.description for temporal is: Microservice orchestration platform which enables developers to build scalable applications without sacrificing productivity or reliability
meta.homepage for temporal is: https://temporal.io
meta.changelog for temporal is: https://github.com/temporalio/temporal/releases/tag/v1.26.2
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.26.2 with grep in /nix/store/83wakanwqrajy2zdy1isxqp35x8xrhfc-temporal-1.26.2
found 1.26.2 in filename of file in /nix/store/83wakanwqrajy2zdy1isxqp35x8xrhfc-temporal-1.26.2

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

temporal

Instructions to test this update (click to expand)

Either download from the cache:
nix-store -r /nix/store/83wakanwqrajy2zdy1isxqp35x8xrhfc-temporal-1.26.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \
  --option trusted-public-keys '
  nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/32855dee65a3a7d9792ac09234a972721a6e5741#temporal

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/83wakanwqrajy2zdy1isxqp35x8xrhfc-temporal-1.26.2
ls -la /nix/store/83wakanwqrajy2zdy1isxqp35x8xrhfc-temporal-1.26.2/bin

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

x86_64-linux

:white_check_mark: 1 package built:

temporal

Maintainer pings
cc @jpds for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@NixOS/nixpkgs-merge-bot merge


Add productlistitem Adobe Analytics extension fields

What are the schemas that are affected by the issue
https://ns.adobe.com/experience/analytics-experienceevent
What are examples of products that are impacted by the issue
Adobe Analytics and other Adobe solutions using Analytics produced ExperienceEvents.

Making progress - https://github.com/cluby-adobe/xdm/commit/09bec1672316c8da9fe07899b9dbd9c0dce21c85


Adjust batched element rect padding and some small cleanups/optimizations

While working to fix https://github.com/fusetools/fuselibs/issues/4213 (fixed proper in https://github.com/fusetools/fuselibs/issues/4213), @kusma and I found a bunch of code that could use some clarification/small optimizations.
Particularly we renamed a _rect to AtlasRect on Fuse.Elements.ElementBatchEntry for clarity, introduced the DrawingOffset field, and moved some duplicated calculation out of ElementBatch, as we already had done these calculations when placing elements inside their atlases, and could just pass the data along with these fields.
We also realized that we had an extra half-pixel more padding around all of the batched elements than we needed, so I went ahead and choked up on that. This is both a minor speed optimization and an additional safety net in case we run into issues of elements drawing outside of their allocated area in the batch atlas in the future.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@yupferris: You're supposed to actually fill out that PR-template ;)

@kusma: I went ahead and filled in the info portion of the template. As for the checkboxes, I'm not sure what our threshold is for putting things in the changelog - are these changes something that should go in there? If so, what might I write there in this case, as an example? Re documentation I don't think there's anything public-facing that changes, so that doesn't make much sense. And I'm just not sure how to test this smaller perimeter.

@yupferris: As for the checkboxes, I usually remove those who doesn't apply, and check those who does (and is fixed). It's meant as a reminder to consider these things, really. In your case, I think none of these apply.

@kusma: sounds good. Removed them in this case.


choco list will become local only

Per choco#158, choco list may default to local only in the future. choco search should be used instead to list all packages, including those not installed.

I fail to understand the purpose of this issue - https://github.com/chocolatey/chocolatey-cookbook/blob/master/providers/default.rb#L87 is where this is used and it wants to know ONLY about locally installed packages. Same with the puppet provider.

Closing as invalid.

Sorry, overly broad search parameters!


Fileclass fields tab - show inherited fields

I find it rather inconvenient when I need to edit fields and can't see what fields are already handled at higher level of classes hierarchy.
Note properties dialog is aware of this hierarchy.
But the fileclass page is not, only showing own fields.
I suggest adding inherited fields to fileclass fields tab.
They should probably be read-only, with clickable headers leading to fileclass fields tab of respective fileclasses, for each level of hierarchy.
Mockup:
... | Fileclass fields | ...

<Ancestor1>🔗
<field> <type>                             <values>
<field> <type>                             <values>

<Ancestor2>🔗
<field> <type>                             <values>
<field> <type>                             <values>

<This fileclass>
<field> <type> <edit> <delete> <up> <down> <values>
<field> <type> <edit> <delete> <up> <down> <values>
<field> <type> <edit> <delete> <up> <down> <values>
<add>

good idea!

Possible extra: being able to move a field between ancestors and descendants.


🐛 BUG: Failed to start worker dev

Which Cloudflare product(s) does this pertain to?
Wrangler
What version of Wrangler are you using?
2.8.0
What operating system are you using?
Linux
Describe the Bug
Error:
/workspace/node_modules/.pnpm/@cloudflare+workerd-linux-64@1.20230115.0/node_modules/@cloudflare/workerd-linux-64/bin/workerd: error while loading shared libraries: libc++.so.1: cannot open shared object file: No such file or directory

 [b] open a browser, [d] open Devtools, [l] turn off local mode, [c] clear console, [x] to exit                                                                                │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
/workspace/node_modules/.pnpm/wrangler@2.8.0/node_modules/wrangler/wrangler-dist/cli.js:26719
            throw a;
            ^

Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:917:11)
    at Socket._write (node:net:929:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Writable.write (node:internal/streams/writable:337:10)
    at NativeRuntime.updateConfig (/workspace/pool-army-worker/node_modules/.pnpm/@miniflare+tre@3.0.0-next.8/node_modules/@miniflare/tre/dist/src/index.js:2426:26)
    at async #init (/workspace/pool-army-worker/node_modules/.pnpm/@miniflare+tre@3.0.0-next.8/node_modules/@miniflare/tre/dist/src/index.js:6073:5)
    at async Mutex.runWith (/workspace/pool-army-worker/node_modules/.pnpm/@miniflare+tre@3.0.0-next.8/node_modules/@miniflare/tre/dist/src/index.js:2296:16)
Emitted 'error' event on Socket instance at:
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}

Node.js v18.12.1
 ELIFECYCLE  Command failed with exit code 7.

Run with command:
wrangler dev --experimental-local --persist

Looks like you're missing some workerd dependencies - take a look at this:
https://github.com/cloudflare/workerd#building-workerd

I might have run into something similar when I push my SvelteKit to Cloudflare Pages. It works when I run the local command: "npx wrangler pages dev --experimental-local --persist --compatibility-date=2023-04-03 -- npm run dev:vite"
2023-04-04T02:21:43.907342Z	npm ERR! code 1 2023-04-04T02:21:43.90764Z	npm ERR! path /opt/buildhome/repo/node_modules/workerd 2023-04-04T02:21:43.909174Z	npm ERR! command failed 2023-04-04T02:21:43.909421Z	npm ERR! command sh -c -- node install.js 2023-04-04T02:21:43.909812Z	npm ERR! node:internal/errors:857 2023-04-04T02:21:43.910057Z	npm ERR!   const err = new Error(message); 2023-04-04T02:21:43.910244Z	npm ERR!               ^ 2023-04-04T02:21:43.910374Z	npm ERR!  2023-04-04T02:21:43.910597Z	npm ERR! Error: Command failed: /opt/buildhome/repo/node_modules/workerd/bin/workerd --version 2023-04-04T02:21:43.910733Z	npm ERR! /opt/buildhome/repo/node_modules/workerd/bin/workerd: error while loading shared libraries: libc++.so.1: cannot open shared object file: No such file or directory 2023-04-04T02:21:43.910879Z	npm ERR!  2023-04-04T02:21:43.91101Z	npm ERR!     at checkExecSyncError (node:child_process:861:11) 2023-04-04T02:21:43.911119Z	npm ERR!     at Object.execFileSync (node:child_process:896:15) 2023-04-04T02:21:43.91124Z	npm ERR!     at validateBinaryVersion (/opt/buildhome/repo/node_modules/workerd/install.js:61:47) 2023-04-04T02:21:43.911364Z	npm ERR!     at /opt/buildhome/repo/node_modules/workerd/install.js:231:7 { 2023-04-04T02:21:43.911472Z	npm ERR!   status: 127, 2023-04-04T02:21:43.911585Z	npm ERR!   signal: null,

I'm having the same error, also on Linux and pnpm, with all workerd dependencies installed and also wrangler reinstalled...

Using<EMAIL_ADDRESS>with node:latest docker image (Node.js v20.1.0, Debian Bullseye) with libc++-dev libc++abi-dev ca-certificates libunwind-dev installed (apt update and apt upgrade were ran prior to installing). I get the same error as above:
2023-05-17T14:09:35.179824633Z 🚧 'wrangler pages <command>' is a beta command. Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose
2023-05-17T14:09:35.179958488Z No functions. Shimming...
2023-05-17T14:09:35.191949617Z  ⛅ wrangler 3.0.0
2023-05-17T14:09:35.191967980Z ------------------
2023-05-17T14:09:35.192102476Z wrangler dev now uses local mode by default, powered by 🔥 Miniflare and 👷 workerd.
2023-05-17T14:09:35.192112839Z To run an edge preview session for your Worker, use wrangler dev --remote
2023-05-17T14:09:35.204047030Z Metrics dispatcher: Dispatching disabled - would have sent {"type":"event","name":"run dev","properties":{"local":true,"usesTypeScript":true}}.
2023-05-17T14:09:35.204423442Z Using vars defined in .dev.vars
2023-05-17T14:09:35.231671437Z ⎔ Starting local server...
2023-05-17T14:09:35.231687180Z
2023-05-17T14:09:35.260726764Z /srv/node_modules/wrangler/wrangler-dist/cli.js:30632
2023-05-17T14:09:35.260746671Z             throw a;
2023-05-17T14:09:35.260748208Z             ^
2023-05-17T14:09:35.260749574Z
2023-05-17T14:09:35.260750706Z Error: write EPIPE
2023-05-17T14:09:35.260751887Z     at afterWriteDispatched (node:internal/stream_base_commons:160:15)
2023-05-17T14:09:35.260753033Z     at writeGeneric (node:internal/stream_base_commons:151:3)
2023-05-17T14:09:35.260754154Z     at Socket._writeGeneric (node:net:946:11)
2023-05-17T14:09:35.260755272Z     at Socket._write (node:net:958:8)
2023-05-17T14:09:35.260756379Z     at writeOrBuffer (node:internal/streams/writable:399:12)
2023-05-17T14:09:35.260757468Z     at _write (node:internal/streams/writable:340:10)
2023-05-17T14:09:35.260758570Z     at Writable.write (node:internal/streams/writable:344:10)
2023-05-17T14:09:35.260759793Z     at Runtime.updateConfig (/srv/node_modules/miniflare/dist/src/index.js:5120:26)
2023-05-17T14:09:35.260761034Z     at async #assembleAndUpdateConfig (/srv/node_modules/miniflare/dist/src/index.js:9130:23)
2023-05-17T14:09:35.260762162Z     at async #init (/srv/node_modules/miniflare/dist/src/index.js:8894:5)
2023-05-17T14:09:35.260763296Z Emitted 'error' event on Socket instance at:
2023-05-17T14:09:35.260764411Z     at emitErrorNT (node:internal/streams/destroy:151:8)
2023-05-17T14:09:35.260765493Z     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
2023-05-17T14:09:35.260766856Z     at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
2023-05-17T14:09:35.260768327Z   errno: -32,
2023-05-17T14:09:35.260769560Z   code: 'EPIPE',
2023-05-17T14:09:35.260770654Z   syscall: 'write'
2023-05-17T14:09:35.260771776Z }
2023-05-17T14:09:35.260772850Z
2023-05-17T14:09:35.260773895Z Node.js v20.1.0

This may be an issue with node. This issue seems related. I can reproduce basically the same error by running the example from epipebomb.

Same here, using 3.0.0 inside a plain node:18-bullseye container. I don't see any missing deps like the original issue (I went ahead and installed libc++-dev to no avail). This blocks our CI tests when using the new Wrangler.

I have the same error in Fedora 38. Fedora doesn't have the libc++ but uses libstdc++ as the standard library instead.

running into the same issue running locally on arch

Same issue, debian 11, node 18.
The apt install ... solution isn't working for me

To make it less cryptic and more general for different linux distros. Try:

ldd node_modules/workerd/bin/workerd to see missing .so libs
Look for the packages in your distro that provides them.

In my case, Fedora 38 needed dnf install libcxx llvm-libunwind
ldd node_modules/workerd/bin/workerd
  linux-vdso.so.1 (0x00007fff2c9b3000)
  libc++.so.1 => not found
  libunwind.so.1 => not found
  libc++abi.so.1 => not found
  libm.so.6 => /lib64/libm.so.6 (0x00007fb3f6b1f000)
  libc.so.6 => /lib64/libc.so.6 (0x00007fb3f6941000)
  /lib64/ld-linux-x86-64.so.2 (0x00007fb3fa5ab000)

It would be great if wrangler was better at displaying errors from workerd. Running wokrerd directly is way more understandable than the wrangler stack trace.
./workerd: error while loading shared libraries: libunwind.so.1: cannot open shared object file: No such file or directory

I am using image mcr.microsoft.com/devcontainers/javascript-node:16 (Debian 11).
After installing apt install -y libc++-dev libc++abi-dev libunwind-dev
and running ldd node_modules/workerd/bin/workerd
I get:
"
node_modules/workerd/bin/workerd: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.32' not found (required by node_modules/workerd/bin/workerd)
node_modules/workerd/bin/workerd: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.33' not found (required by node_modules/workerd/bin/workerd)
node_modules/workerd/bin/workerd: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.34' not found (required by node_modules/workerd/bin/workerd)
linux-vdso.so.1 (0x00007ffc56ce6000)
libc++.so.1 => /usr/lib/x86_64-linux-gnu/libc++.so.1 (0x00007f5e5bff2000)
libunwind.so.1 => not found
libc++abi.so.1 => /usr/lib/x86_64-linux-gnu/libc++abi.so.1 (0x00007f5e5bfba000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5e584bc000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5e582e8000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5e5c0c7000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5e5bf98000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f5e5bf8c000)
libatomic.so.1 => /usr/lib/x86_64-linux-gnu/libatomic.so.1 (0x00007f5e5bf82000)
"
So, I get the OP's when running wrangler dev.

SAME ISSUE WITH THIS
`FROM node:18.16.0
WORKDIR /mydir
RUN apt-get update && apt-get install -y clang libc++-dev libc++abi-dev libunwind-dev
RUN npm install -g wrangler
RUN git clone "your repository"
WORKDIR /web
RUN yarn
CMD wrangler dev`


[0.7.19r] Can't Place Modem on Back of Sideways Motor

Describe
I've noticed that I cannot place (non-block) modems on the back of motors when they are sideways... Simillarly, I cannot place modems on the sides of vertical motors.

Steps to reproduce
Place a motor sideways and attempt to place a non-block modem from Computercraft on its rear.
Multiplayer?
Yes
Version
1.18.2-0.7.19r (Latest 1.18)
Minecraft, Forge and maybe other related mods versions
Forge 40.1.60
Screenshots or Videos
No response
Crashlog/log
No response

Can you place a full block modem on the side of the motor?
I also don't think that this is an issue with AP since we don't manage the placements of the blocks. We just add peripherals to these blocks.

Oh, heck... Don't know why I thought this was an AP thing... This belongs in Create Crafts & Additions...


Fixed doesn't work on MudDrawer

Things to check

[X] I have searched the existing issues for this bug
[X] To rule out a caching problem I made sure the bug also happens in an incognito tab

Bug type
Component
Component name
MudDrawer
What happened?
In a scrollable page the drawer will always start on top of page finishing on the end instead of filling the space on the screen.
Fixed property seems to be useless, the only way i found to fix is to put @Style="position: fixed"
Expected behavior
Expected to work with fixed
Reproduction link
https://try.mudblazor.com/snippet/wuGSkDwVQrRPMrGC
Reproduction steps
see the reproduction link
Relevant log output
No response
Version (bug)
7.8.0
Version (working)
No response
What browsers are you seeing the problem on?
Edge
On which operating systems are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

So the way the code works is Fixed defaults to true. You have to manually set it False.
When it goes to apply Fixed it looks if it's container is a MudLayout. If it's not Fixed is ignored. Put your drawers inside a mudlayout they are fixed (by default) *you only need one mudlayout for the entire area and I'm not sure if just having one in your mainlayout.razor page satisfies the condition on any page you navigate to or if there's more to it.
I'm not sure why a mudlayout is required but that's what's in the code.


hardcoded scala-library doesn't respect scala_version

With
scala_config(scala_version = "2.13.9")

in WORKSPACE there is still 2.13.6 scala-library dependency
$ bazel query --output build //external:io_bazel_rules_scala_scala_library

jvm_import_external(
  name = "io_bazel_rules_scala_scala_library",
  generator_name = "io_bazel_rules_scala_scala_library",
  generator_function = "scala_repositories",
  rule_name = "scala_import",
  licenses = ["notice"],
  jar_urls = ["https://repo.maven.apache.org/maven2/org/scala-lang/scala-library/2.13.6/scala-library-2.13.6.jar", "https://maven-central.storage-download.googleapis.com/maven2/org/scala-lang/scala-library/2.13.6/scala-library-2.13.6.jar", "https://mirror.bazel.build/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.6/scala-library-2.13.6.jar", "https://jcenter.bintray.com/org/scala-lang/scala-library/2.13.6/scala-library-2.13.6.jar"],
  artifact_sha256 = "f19ed732e150d3537794fd3fe42ee18470a3f707efd499ecd05a99e727ff6c8a",
  rule_load = "load(\"@io_bazel_rules_scala//scala:scala_import.bzl\", \"scala_import\")",
  deps = [],
  runtime_deps = [],
  testonly_ = False,
)

and it ends up being present in the container images (along with scala-library pulled in via rules_jvm_external dependency in this case)
-r-xr-xr-x 0/0         5939419 1970-01-01 01:00 ./app/maven/v1/https/repo.maven.apache/maven2/org/org/scala-lang/scala-library/2.13.9/scala-library-2.13.9.jar
-r-xr-xr-x 0/0         5955737 1970-01-01 01:00 ./app/io_bazel_rules_scala_scala_library/scala-library-2.13.6.jar

We got around this by doing an override
scala_version = "2.13.11"

scala_repositories(overriden_artifacts={
    "io_bazel_rules_scala_scala_library": {
        "artifact": "org.scala-lang:scala-library:%s" % scala_version,
        "sha256": "e6ca607c3fce03e8fa38af3374ce1f8bb098e316e8bf6f6d27331360feddb1c1",
    },
    "io_bazel_rules_scala_scala_compiler": {
        "artifact": "org.scala-lang:scala-compiler:%s" % scala_version,
        "sha256": "2cd4a964ea48e78c91a2a7b19c4fc67a9868728ace5ee966b1d498270b3c3aa7",
    },
    "io_bazel_rules_scala_scala_reflect": {
        "artifact": "org.scala-lang:scala-reflect:%s" % scala_version,
        "sha256": "62bd7a7198193c5373a992c122990279e413af3307162472a5d3cbb8ecadb35e",
    }
})


Force write of vanilla onnx model with ORTQuantizer.export()

Feature request
Force write of the non-quantized onnx model with ORTQuantizer.export(), or add an option to force write.
Motivation
Currently, if the onnx_model_path already exists, we don't write the non-quantized model in to the indicated path.
https://github.com/huggingface/optimum/blob/04a2a6d290ca6ea6949844d1ae9a208ca95a79da/optimum/onnxruntime/quantization.py#L313-L315
Meanwhile, the quantized model is always written, even if there is already a model at the onnx_quantized_model_output_path (see https://github.com/onnx/onnx/blob/60d29c10c53ef7aa580291cb2b6360813b4328a3/onnx/init.py#L170).
Is there any reason for this different behavior? It led me to unexpected behaviors, where the non-quantized / quantized models don't correspond if I change the model in my script. In this case, the export() reuses the old non-quantized model to generate the quantized model, and all the quantizer attributes are ignored!
Your contribution
I can do this if approved

I agree with @fxmarty here, I got similar unexpected behaviors because of this.

Thanks for pointing it out, the ORTQuantizer class is currently being refactorized in #270 and this behavior was removed.


Refactor surface flux calculation

PULL REQUEST
Purpose and Content
(Clearly and concisely state the purpose of this PR)
Benefits and Risks
(State concisely the benefits to be derived from and the risks associated with this PR)
Linked Issues
(Provide references to any link issues. Use closes #issuenum to automatically close an open issue)

Fixes #
Closes #

PR Checklist

[ ] This PR has a corresponding issue OR is linked to an SDI.
[ ] I have followed CliMA's codebase contribution and style guidelines OR N/A.
[ ] I have followed CliMA's documentation policy.
[ ] I have checked all issues and PRs and I certify that this PR does not duplicate an open PR.
[ ] I linted my code on my local machine prior to submission OR N/A.
[ ] Unit tests are included OR N/A.
[ ] Code used in an integration test OR N/A.
[ ] All tests ran successfully on my local machine OR N/A.
[ ] All classes, modules, and function contain docstrings OR N/A.
[ ] Documentation has been added/updated OR N/A.

bors try

I will also remove sphere_held_suarez_rhoe_int_equilmoist from the buildkite as well unless we have to keep it, because after this PR we won't support surface fluxes for internal energy anymore.

I will also remove sphere_held_suarez_rhoe_int_equilmoist from the buildkite as well unless we want to keep it, because after this PR we won't support surface fluxes for internal energy anymore.

Fine by me.

bors r+


Update Composer dependencies (2022-04-16-00-07)

Visual regression test passed!
View the visual regression test report


Change to the new artifactory domain

Related to INFRA-3106

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @chaima-mnsr ,
thanks for this PR. Did that for almost all my customer projects, but forgot to change it here... So this is very welcome 👍


Documentation for the input

This was long due. @g-bauer, do you have some time to give it a quick look?

Sure. I will have a look at it.

Merged, further work will happen on follow-up PRs.


[Dependency Scanning] Treat '-embed-tbd-for-module' modules as implicit import dependencies.

Otherwise the scanning action will not look for them as dependencies, and the compilation it is used to inform will not specify these moduels as explicit inpouts.
Resolves rdar://104761392

@swift-ci test

@swift-ci test Windows platform

@swift-ci test macOS platform


Updates to support Atomic

So weird because I rebased before hand.  I need to test more anyway.

This should be good to go.  Tested OPT_PLATFORM_TYPE:

rhel
atomic


Changed the layout to post

Changed the layout of the about and code of conduct pages to post.

Looks good, unrelated test failures.


Trying to get rid of risky tests

Referencing #50.
As ob_clean() does not close the buffer, there is no need for another ob_start().

You're right.  Thanks.


Draft revised fleets page on gov.bc.ca

When [Situation]?
Reducing duplication between gov and wordpress
I want to [Motivation]
make sure important content is still findable
So I can [Expected Outcome]
connect people with the info they need!
Context
Add info about fleets for Indigenous communities to the fleets gov page / plain lang pass couldnt hurt.

sent to audrey for review -- over to Christina monday


JDK22 Installer Spec Files

The creation of the installer spec files for the March 2024 JDK22 release.

Basing this change set on the changes made for jdk21, plus the subsequent change sets that appear relevant.
https://github.com/adoptium/installer/commit/0ca368e31d17850808f7a1b717d140dd85d0a0c9
Also added a few changes to code that tests for jdk21, as it seems the supporting reasoning applies to subsequent JDK versions as well.

Expected to fail many checks, as the hashes and build numbers are placeholders only, and don't match against anything.

/merge

/approve

/approve


New version: Arc.Arc version <IP_ADDRESS>67

Pull request has been created with komac v2.1.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

Shouldn't the identifier be TheBrowserCompany.Arc?

Automatic Validation ended with:

2024-03-13T00:21:11.9897028Z ##[error] Manifest Error: Schema Error. [Schema validation failed. Error context: [Installers][1] Description: Missing required property 'InstallerSha256'. Error context: [Installers] Description: Failed to validate item #1 in array. Error context:  Description: Failed to validate against schema associated with property name 'Installers'. ] File: Arc.Arc.installer.yaml Manifest Error: Required field missing. [InstallerSha256]

(Automated response - build 870.)

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

The identifier could be renamed to TheBrowserCompany.Arc according to the msix manifest. @Exorcism0666

I will do this when this version is published

Automatic Validation ended with:

Signature Update Failed.
Failure to parse win 10, attempting win 11
2024-03-14 06:32:16.857 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(722)\WindowsPackageManager.dll!00007FF8BF0FF3CF: (caller: 00007FF8BEE884FF) LogHr(1) tid(1ce4) 8A15005E     Msg:[C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(30)\WindowsPackageManager.dll!00007FF8BF004DD8: (caller: 00007FF8BF0AF820) Exception(1) tid(1ce4) 8A15005E ]
2024-03-14 06:32:16.857 [REPO] Failed to open available source: msstore
2024-03-14 06:32:19.149 [CLI ] Caught wil::ResultException: C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(30)\WindowsPackageManager.dll!00007FF8BF004DD8: (caller: 00007FF8BF0AF820) Exception(1) tid(1ce4) 8A15005E
2024-03-14 06:32:20.854 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(722)\WindowsPackageManager.dll!00007FF8BF0FF3CF: (caller: 00007FF8BEE884FF) LogHr(1) tid(dd8) 8A15005E     Msg:[C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(30)\WindowsPackageManager.dll!00007FF8BF004DD8: (caller: 00007FF8BF0AF820) Exception(1) tid(dd8) 8A15005E ]
2024-03-14 06:32:20.854 [REPO] Failed to open available source: msstore
2024-03-14 06:32:21.821 [CLI ] Caught wil::ResultException: C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(30)\WindowsPackageManager.dll!00007FF8BF004DD8: (caller: 00007FF8BF0AF820) Exception(1) tid(dd8) 8A15005E
2024-03-14 06:32:30.395 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(722)\WindowsPackageManager.dll!00007FF8C35FF3CF: (caller: 00007FF8C33884FF) LogHr(1) tid(23e0) 8A15005E     Msg:[C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(30)\WindowsPackageManager.dll!00007FF8C3504DD8: (caller: 00007FF8C35AF820) Exception(1) tid(23e0) 8A15005E ]
2024-03-14 06:32:30.395 [REPO] Failed to open available source: msstore
2024-03-14 06:34:02.716 [CORE] Deployment operation #2: Windows cannot install package TheBrowserCompany.Arc_<IP_ADDRESS>67_x64__ttt1ap7aakyb4 because this package depends on a framework that could not be found. Provide the framework "Microsoft.WindowsAppRuntime.1.4" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 4000.1082.2259.0, along with this package to install. The frameworks with name "Microsoft.WindowsAppRuntime.1.4" currently installed are: {Microsoft.WindowsAppRuntime.1.4_4000.1010.1349.0_x64__8wekyb3d8bbwe Microsoft.WindowsAppRuntime.1.4_4000.1049.117.0_x64__8wekyb3d8bbwe Microsoft.WindowsAppRuntime.1.4_4000.1049.117.0_x86__8wekyb3d8bbwe}
2024-03-14 06:34:02.716 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(161)\WindowsPackageManager.dll!00007FF8C3481A8F: (caller: 00007FF8C33D947D) Exception(2) tid(23e0) 80073CF3 Package failed updates, dependency or conflict validation.
2024-03-14 06:34:02.805 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!00007FF8C3480840: (caller: 00007FF8C3481E4C) Exception(3) tid(23e0) 80073CF1 Package was not found.
2024-03-14 06:34:02.805 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(126)\WindowsPackageManager.dll!00007FF8C35FBBE1: (caller: 00007FF8C3483363) LogHr(2) tid(23e0) 80073CF1 Package was not found.
Msg:[C:__w\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!00007FF8C3480840: (caller: 00007FF8C3481E4C) Exception(3) tid(23e0) 80073CF1 Package was not found.
2024-03-14 06:34:02.847 [CLI ] MSIX installer failed:<PHONE_NUMBER>

(Automated response - build 870.)

Automatic Validation ended with:

Signature Update Failed.
Failure to parse win 10, attempting win 11
Installation failed with exit code -1978334960
2024-03-16 10:30:43.418 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(722)\WindowsPackageManager.dll!00007FFD7D2EF3CF: (caller: 00007FFD7D0784FF) LogHr(1) tid(1b34) 8A15005E     Msg:[C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(30)\WindowsPackageManager.dll!00007FFD7D1F4DD8: (caller: 00007FFD7D29F820) Exception(1) tid(1b34) 8A15005E ]
2024-03-16 10:30:43.418 [REPO] Failed to open available source: msstore
2024-03-16 10:30:45.742 [CLI ] Caught wil::ResultException: C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(30)\WindowsPackageManager.dll!00007FFD7D1F4DD8: (caller: 00007FFD7D29F820) Exception(1) tid(1b34) 8A15005E
2024-03-16 10:30:47.211 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(722)\WindowsPackageManager.dll!00007FFD7D2EF3CF: (caller: 00007FFD7D0784FF) LogHr(1) tid(1e90) 8A15005E     Msg:[C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(30)\WindowsPackageManager.dll!00007FFD7D1F4DD8: (caller: 00007FFD7D29F820) Exception(1) tid(1e90) 8A15005E ]
2024-03-16 10:30:47.211 [REPO] Failed to open available source: msstore
2024-03-16 10:30:47.951 [CLI ] Caught wil::ResultException: C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(30)\WindowsPackageManager.dll!00007FFD7D1F4DD8: (caller: 00007FFD7D29F820) Exception(1) tid(1e90) 8A15005E
2024-03-16 10:30:53.851 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(722)\WindowsPackageManager.dll!00007FFD7A6BF3CF: (caller: 00007FFD7A4484FF) LogHr(1) tid(9b4) 8A15005E     Msg:[C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(30)\WindowsPackageManager.dll!00007FFD7A5C4DD8: (caller: 00007FFD7A66F820) Exception(1) tid(9b4) 8A15005E ]
2024-03-16 10:30:53.851 [REPO] Failed to open available source: msstore
2024-03-16 10:31:41.460 [CLI ] ShellExecute installer failed:<PHONE_NUMBER>

(Automated response - build 870.)


Webcomponent-Support

This lib is listed on customelements.io (https://customelements.io/RubaXa/Sortable/), but the specified method to import this as a web-component is not available in the bower-component-folder (sortable-js.html is missing)

@gutenye ?

@flash1293
import Sortable.html file, I'll fix documentation shortly.


Integrate logging into library

First choice is serilog.

Created Serilog sink.  Sends messages to the subscription queue.


Allow parsing of '+' topic into fields

My use case is I have a bunch of sensors that publish temperature (example) to
sensors/inside/temperature
sensors/outside/temperature
sensors/thing1/temperature
sensors/thing2/temperature
which is easy to subscribe using syntax 'sensors/+/temperature', but then I'd like to extract the sensorname somehow, and couldn't see how to do this in the existing (OSS 9.5.2) transform options
Could this be done by adding a transform to split on '/' so I could at least use '$2' or allow me to set up my own variable name by letting me set a match such as
sensors/[[devicename]]/temperature and i could then use $devicename as labels.
(not sure if this is the same sort of thing the author of issue #39 was looking for too)

Checkout #91


Make it easier to reuse kubelet server code

Ensure that RunKubelet() returns errors consistently, and make info output
match Kube conventions.
Allows OpenShift to more easily reuse the Kubelet.
Also sets FakeDocker to emulate Docker 1.6, and ensures DefaultHealthz can't
stomp on itself.

@smarterclayton Openshift defines its own kubelet command? What does it need to do differently?

LGTM, will merge on green.

@bgrant0607 we simply launch the Kubelet with all our security settings preapplied (as part of a unified binary), but originally (pre hyperkube) we couldn't reuse any code.  This was some cleanup I hit while trying to make RunKubelet fit a bit more into the style of being called from external code.


Feature request: Code block highlighting on init

Hey! Love Animotion, and have started using it for all my YouTube videos.
I'd love to be able to highlight lines <Code> element on render, rather than having to call an action myself. Sometimes I want a specific line highlighted when I get to a slide, without the animation playing. I was thinking something like this:
<Code
  {...props}
  highlighted="1"
/>

It could take the same format as selectLines currently does, but just ensure they're highlighted by default.
Thanks!

I like your idea, but it requires more thought, since it would also make sense that you could highlight tokens — unfortunately, I don't see myself using it, so I lack the motivation, but I might reconsider it.


added generate code button in query url bar to increase its visibility

Description

A new button has been added to the query URL bar, positioned alongside the existing “Save” button. This button provides quick access to the code generation feature, allowing users to easily generate code snippets for their requests without navigating through additional menus.
Solves #3083
https://github.com/user-attachments/assets/b718837a-9e61-4555-8d5c-12ee88de49ce
Contribution Checklist:

[x] The pull request only addresses one issue or adds one feature.
[x] The pull request does not introduce any breaking changes
[x] I have added screenshots or gifs to help explain the change if applicable.
[x] I have read the contribution guidelines.
[x] Create an issue and link to the pull request.

@pietrygamat @helloanoop can you please review this PR. Can't wait to see it going in release 😅
Thanks

Merged! Thanks @srrathi !


cpufetch: 1.03 -> 1.04

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Dr-Noob/cpufetch/releases.
meta.description for cpufetch is: Simplistic yet fancy CPU architecture fetching tool
meta.homepage for cpufetch is: https://github.com/Dr-Noob/cpufetch
meta.changelog for cpufetch is: https://github.com/Dr-Noob/cpufetch/releases/tag/v1.04
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.04 with grep in /nix/store/n4bjmvixhgkzpzgk7g5gipmw2djl2pm3-cpufetch-1.04
found 1.04 in filename of file in /nix/store/n4bjmvixhgkzpzgk7g5gipmw2djl2pm3-cpufetch-1.04

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
cpufetch

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/n4bjmvixhgkzpzgk7g5gipmw2djl2pm3-cpufetch-1.04 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/n4bjmvixhgkzpzgk7g5gipmw2djl2pm3-cpufetch-1.04
ls -la /nix/store/n4bjmvixhgkzpzgk7g5gipmw2djl2pm3-cpufetch-1.04/bin

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

1 package built:

cpufetch

Maintainer pings
cc @devhell for testing.

Result of nixpkgs-review pr 230460 run on x86_64-linux 1

1 package built:

cpufetch


Document annotations

We need documentation on all of the current annotations in use in Chaise. It should cover:

key
value
a description of it, what it does, etc.
where to apply it, on table, on column, etc.

It should give the reader enough understanding about what and how to use the annotation.

Created the annotation.md file under the "doc" directory.


ThreadBlocked checking ancestorIsValidTerminalProofOfWork

Description
When fast syncing a post-merge network (fast, snap, or checkpoint) , there is a brief window where there is no finalized block.  During this time besu behaves the same way it does at merge transition, verifying newPayloads and forkchoice calls by ensuring the blocks descend from a valid terminal block.
This is a problem for post-merge networks, because following the chain back to TTD is more and more time consuming the further the chain is from the TTD block.  Besu will log lots of thread blocked warnings during this time while it follows the chain back to TTD:
{"@timestamp":"2022-07-16T08:43:06,287","level":"WARN","thread":"vertx-blocked-thread-checker","class":"BlockedThreadChecker","message":"Thread Thread[vert.x-worker-thread-1,5,main] has been blocked for 101820 ms, time limit is 60000 ms","throwable":" io.vertx.core.VertxException: Thread blocked\n\tat java.base@11.0.15/jdk.internal.misc.Unsafe.park(Native Method)\n\tat java.base@11.0.15/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)\n\tat java.base@11.0.15/java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1796)\n\tat java.base@11.0.15/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3128)\n\tat java.base@11.0.15/java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1823)\n\tat java.base@11.0.15/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1998)\n\tat app//org.hyperledger.besu.ethereum.api.jsonrpc.internal.methods.ExecutionEngineJsonRpcMethod.response(ExecutionEngineJsonRpcMethod.java:78)\n\tat app//org.hyperledger.besu.ethereum.api.jsonrpc.execution.BaseJsonRpcProcessor.process(BaseJsonRpcProcessor.java:42)\n\tat app//org.hyperledger.besu.ethereum.api.jsonrpc.execution.TracedJsonRpcProcessor.process(TracedJsonRpcProcessor.java:41)\n\tat app//org.hyperledger.besu.ethereum.api.jsonrpc.execution.TimedJsonRpcProcessor.process(TimedJsonRpcProcessor.java:45)\n\tat app//org.hyperledger.besu.ethereum.api.jsonrpc.execution.AuthenticatedJsonRpcProcessor.process(AuthenticatedJsonRpcProcessor.java:51)\n\tat app//org.hyperledger.besu.ethereum.api.jsonrpc.execution.JsonRpcExecutor.execute(JsonRpcExecutor.java:91)\n\tat app//org.hyperledger.besu.ethereum.api.handlers.JsonRpcExecutorHandler.lambda$handler$6(JsonRpcExecutorHandler.java:76)\n\tat app//org.hyperledger.besu.ethereum.api.handlers.JsonRpcExecutorHandler$$Lambda$1150/0x00000008006f1c40.handle(Unknown Source)\n\tat app//io.vertx.ext.web.impl.BlockingHandlerDecorator.lambda$handle$0(BlockingHandlerDecorator.java:48)\n\tat app//io.vertx.ext.web.impl.BlockingHandlerDecorator$$Lambda$1481/0x000000080081a840.handle(Unknown Source)\n\tat app//io.vertx.core.impl.ContextImpl.lambda$null$0(ContextImpl.java:159)\n\tat app//io.vertx.core.impl.ContextImpl$$Lambda$1357/0x00000008007a1c40.handle(Unknown Source)\n\tat app//io.vertx.core.impl.AbstractContext.dispatch(AbstractContext.java:100)\n\tat app//io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:157)\n\tat app//io.vertx.core.impl.ContextImpl$$Lambda$1349/0x00000008007a3c40.run(Unknown Source)\n\tat app//io.vertx.core.impl.TaskQueue.run(TaskQueue.java:76)\n\tat app//io.vertx.core.impl.TaskQueue$$Lambda$726/0x0000000800594c40.run(Unknown Source)\n\tat java.base@11.0.15/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base@11.0.15/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat app//io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat java.base@11.0.15/java.lang.Thread.run(Thread.java:829)\n"}

Acceptance Criteria

besu should be able to quickly determine that a fast sync pivot descends from a valid TTD block
besu should not log excessive thread blocked errors

Steps to Reproduce (Bug)

snap, fast or checkpoint sync ropsten

Expected behavior: [What you expect to happen]
fast sync completes, backward sync completes, and besu is immediately ready to serve CL requests
Actual behavior: [What actually happens]
On ropsten, besu will emit blocked thread exceptions for ~ 2 minutes while it walks the chain back to TTD
Frequency: [What percentage of the time does it occur?]
Versions (Add all that apply)

Software version: 22.7.0-RC2-SNAPSHOT

closed as stale, fast sync post merge has been reworked since this issue was filed


Use tagstack

I like to use <c-i> and <c-o> to navigate back from where I jumped. Sadly trouble.nvim doesn't seem to add an entry to the tagstack when jumping to a location. The nvim-lsp-client does this to enable that functionality.
I might get around implementing this on my own, just wanted to leave this here in the meantime.

Same here.
Currently <c-i> and <c-o> behaviors make the goto useless.
@Saecki Have you solved this problem?

@meijieru Not yet.

I add this code in my config as the temporary solution:
local util = require("trouble.util")
local util_jump_to_item = util.jump_to_item
util.jump_to_item = function(win, precmd, item)
  -- add mark to jump back
  vim.cmd("normal! m'")
  util_jump_to_item(win, precmd, item)
end

I think this was fixed by https://github.com/folke/trouble.nvim/commit/f0477b0e78d9a16ff326e356235876ff3f87882d.


Template copy issue (workaround)

The init() calling event static:app.load is fired after templates:compiled, hence hooking in init() has no effect.
I ain't got the time to dig into it thouroughly; but since this is done at startup, only once, I think working around it like this should be fine, for now.
Tested ok with 3 simultaneous routes/pages locally and once confirmed in #10

:+1:

Duplicate of #18 now. :smile:

Hmm, my bad for not merging this haha. Should be good now though

I feel so left out, right now. :sob: :stuck_out_tongue_closed_eyes:


Added integration tests for validating JMX_PORT config

Added two integration tests for validating:

the default JMX_PORT being set to 7199 (test_jmx_default)
the ability to configure JMX_PORT (test_jmx_override)

Note: The test automation will report test_jmx_default as PASSING and test_jmx_override as FAILED. test_jmx_override will fail for this PR because we have not updated the https://downloads.mesosphere.com/cassandra/assets/apache-cassandra-3.0.8-bin-dcos.tar.gz yet, which is used by default in the stub universe package. We intend to do that when we'll release our next version.

Would it make sense to just mark the expected-to-fail test as disabled for now?

@nickbp Let me mark that test as disabled, and add a task to remind that we need to enable this test.

@mesosphere-ci retest this please

@mesosphere-ci retest this please

@mesosphere-ci  retest this please

@mesosphere-ci retest this please

@mesosphere-ci retest this please

@mohitsoni:  The needed change in binary dependency has been made.  All tests have passed.  Can you get this PR across the line if it is still needed?

retest this please


Is Data the correct type for properties with the format: byte modifier?

The type of properties with the format: byte modifier has been changed to Data in PR #25.
However, according to the Swagger documentation, they are defined as Base64-encoded characters.
So it would be correct to treat it as a String, wouldn't it?
https://swagger.io/docs/specification/data-models/data-types/#format

An optional format modifier serves as a hint at the contents and format of the string. OpenAPI defines the following built-in string formats:
...
byte – base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==

Yes, I think you are right. I'm going to revert this change.

I was just about to revert this, but after checking, it seems that Data can decoded and encoded from a json string containing base64-encoded characters as described by the documentation:

It doesn't seem like a necessarily bad default behaviour, it's similar to how we handle date-time as Date?
@simorgh3196: Was this breaking something in particular for you? Maybe I missed some more details so please let me know if I did 🙏

@liamnichols
Thank you for your feedback.

It doesn't seem like a necessarily bad default behaviour, it's similar to how we handle date-time as Date?

I thought that was certainly true.
I will close this Issue, thank you very much! :pray:


[Grab 100M DOT] Show the unlocked crowdloan contribution

Describe the task
Show the unlocked crowdloan contribution on the Check crowdloan contribution screen

Version test: https://110fd9c6.subwallet-webapp.pages.dev/
Validation passed


Add HTTPS

Free certificates from https://letsencrypt.org/ and http://www.startssl.com/ might do the trick.

Let's Encrypt rocks! https://playtermin.al/


Dependency systemd not found on Ubuntu 23+

It appears that as of Ubuntu 23 (mantic), they've split the systemd package into "systemd" and "systemd-dev". Without systemd-dev installed on newer versions of Ubuntu, meson will fail to build. Thought this might be worth updating in the build instructions.
pi@raspberrypi:~/mavlink-router$ lsb_release -d
Description:    Ubuntu 24.10

pi@raspberrypi:~/mavlink-router$ sudo apt install systemd
systemd is already the newest version (256.5-2ubuntu3).
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0

pi@raspberrypi:~/mavlink-router$ meson setup build .
The Meson build system
Version: 1.5.1
Source dir: /home/pi/mavlink-router
Build dir: /home/pi/mavlink-router/build
Build type: native build
Project name: mavlink-router
Project version: 3
C compiler for the host machine: cc (gcc 14.2.0 "cc (Ubuntu 14.2.0-4ubuntu2) 14.2.0")
C linker for the host machine: cc ld.bfd 2.43.1
C++ compiler for the host machine: c++ (gcc 14.2.0 "c++ (Ubuntu 14.2.0-4ubuntu2) 14.2.0")
C++ linker for the host machine: c++ ld.bfd 2.43.1
Host machine cpu family: aarch64
Host machine cpu: aarch64
Library m found: YES
Library rt found: YES
Run-time dependency threads found: YES
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
Found CMake: /usr/bin/cmake (3.30.3)
Run-time dependency systemd found: NO (tried pkgconfig and cmake)

meson.build:33:16: ERROR: Dependency "systemd" not found, tried pkgconfig and cmake

A full log can be found at /home/pi/mavlink-router/build/meson-logs/meson-log.txt

After an sudo apt install systemd-dev I was able to complete the build.

Sure that it's systemd-dev and not libsystemd-dev? The latter one should have always been the right package to install, but it might have been that older ubuntu version already had that preinstalled, so it never failed before.
Could you be so kind to open a PR to the readme?


Upgrade to php 8.2 as default version for tests and static-analysis

Description
Upgrade to php 8.2

Codecov Report
Patch and project coverage have no change.

Comparison is base (b984df8) 90.58% compared to head (5272730) 90.58%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##             master      #50   +/-   ##
=========================================
  Coverage     90.58%   90.58%
  Complexity      172      172
=========================================
  Files            23       23
  Lines           584      584
=========================================
  Hits            529      529
  Misses           55       55

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


Why does basetag only work as dependency but not devDependency?

Hi, I have just tried out this awesome package, and it works great!  However one thing I notice is that I doesn't work when I install it as devDependency.
Why is that? If I am correct, postinstall script would execute regardless a package being dependency or devDependency.

I wasn't aware of this. But thanks for the report.
We are working on an improved version of basetag, that should resolve this and some other problems. Will be ready in a few weeks.

What's the command you're using when you install?
This should work:
pushd ~/my-project
npm ci

However, I'd recommend that you NOT install it as a devDependency - unless you're "debase"ing your files for each commit.
Otherwise when you run npm ci --only=production, your requires will break in production.


Config web ui

There needs to be a user-friendly web ui for horizon app configuration. Anything in the config file ( #153 ) should be possible to modify through the ui.
We talked about having the ui served with --dev on a different port, but we should probably mount it at /horizon/admin or something. It would modify the config file on disk directly. I don't know how we want the endpoint to work. It should be out of band from the horizon client, so maybe a rest endpoint.
pinging @Tryneus and @dalanmiller for any stuff I've forgotten. Also pinging @mglukhovsky since he'll probably be building the frontend for this

This looks fantastic.
Any updates on this?

Is it possible to use the regular rethinkdb web ui in the meantime while this is in progress?

yes, when you do 'hz serve' it will show you the port number for your
rethinkdb admin ui
On Sun, Jul 17, 2016, 11:19 Dan Imal<EMAIL_ADDRESS>wrote:

Is it possible to use the regular rethinkdb web ui in the meantime while
this is in progress?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rethinkdb/horizon/issues/154#issuecomment-233195799,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAFVlQzkbSh_qOJlOZcCjKtFz8yGvPlks5qWnI0gaJpZM4Hl_9u
.

@casoetan: This is still a work in progress. I got past the major architectural hurdles that I described earlier in the thread. My current implementation now actively tracks each horizon instance and can automatically cull records from instances that are no longer sending a heartbeat to the database. I'm currently working on adding support for managing permissions and groups. I don't have any realistic timeline for when this will be available, but it's moving forward.
@mrdanimal: yes, you can use RethinkDB's standard admin UI to manage the underlying tables that Horizon uses. The data explorer, sharding/replication, table management, etc all work exactly as expected.

Any update

@segphault are you working on a branch? or a separate project? Can I help? Is there a list of outstanding tasks?

I'm not actively working on this feature at the moment. Due to all of the code churn in Horizon, I've had to rewrite the dashboard's backend integration code three times now. I've been waiting for Horizon plugins to land, because I believe that the plugin system will make it dramatically easier to build and maintain the instrumentation and custom queries that are needed to support this kind of dashboard.
You can find the current proof-of-concept implementation in the ryan_dashboard branch. It's very rough right now and will definitely not be adaptable to current or future versions of Horizon.
I'm currently prioritizing my work on Basejump, but I might revisit the Horizon dashboard at some point after plugins land.

@segphault Thanks thats a vary helpful update.
On a side note I saw your presentation on basejump. I am super interested in it. But I looks like you have only made the router public. Is the UI not public for the same reasons you mentioned above? specifically... the churn? I would also be interested in pitching in on that ui.
Sorry everyone for kinda veering off topic.

is this dead?


Sitemaps

This is a pretty simple sitemap generator. I elected to put the functionality inside of the cms_content controller rather than creating a cms_sitemap controller.

A bit of the fancyness in the routes and whatnot is to make sure it works properly with sites with :paths and if multiple sites and paths are all on the same host.

Thanks! We'll still need a way to inject custom urls into the sitemap, but this is a great start.


Migrate webqa 116

part of #116
To test it, please use
python app.py -t index
python app.py -t query

this still have a bug says 'Error -3 while decompressing data: invalid block type', as shown below. But this bug does not affect producing search result. Could you please give it a look? @bwanglzu

@YueLiu-jina Are we ready to merge?

@nan-wang This one is not ready. I'll continue working on this today.

I think this PR is ready to merge, I can't reproduce the problem I met last time. Now everything works well except that chunks[0].